# A Third of the Time, at Two-Thirds the Speed

> Source: <https://gautamparab.com/writing/a-third-of-the-time-at-two-thirds-the-speed/>
> Published: 2026-11-27 14:30:00+00:00

**Recommendation:** Price DCA's per-step throughput cost (5.39 vs 8.14 batches per second) against its step savings before adopting it, and measure inference latency against the plain transformer, which the paper does not report.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

On 23 November Google Research published a blog post called [“Supercharging transformer residual connections”](https://research.google/blog/supercharging-transformer-residual-connections/), by Kyriakos Axiotis and Thomas Fu. It describes DeepCrossAttention, or DCA, a change to how a transformer’s layers pass information to the layers after them. The summary line says it “allows models to achieve the same quality up to three times faster with a negligible increase in parameters.”

The work itself is older. The [paper](https://arxiv.org/abs/2502.06785), by Mike Heddes, Adel Javanmard, Kyriakos Axiotis, Gang Fu, MohammadHossein Bateni and Vahab Mirrokni, was first posted in February 2025 and appeared at ICML 2025. Its abstract carries the same claim: DCA “obtains the same model quality up to 3x faster while adding a negligible number of parameters.” I read the experiment section to find out what the three is a ratio of, and on which model.

## What DCA changes

A standard residual connection adds a layer’s output to its input. Stack enough layers and the input to layer 30 is the sum of everything before it, with every earlier layer weighted equally. The authors’ argument is that this sum dilutes whatever a few specific layers computed, so later layers have to compute it again. DCA replaces the fixed sum with learned, input-dependent weights over the outputs of earlier layers, and it builds the attention queries, keys and values from separate mixes of that layer history. Because the weights can start at the values that reproduce a plain residual sum, DCA can also be added to a model that has already been trained.

The parameter claim holds. In the paper’s 6-layer comparison the transformer has 49.65 million parameters and the DCA model 49.73 million, a difference of 0.16 percent. The blog’s “less than 0.2% of the total model size” is accurate.

## Where the three comes from

The three is in Table 1 of the paper. It is one experiment: a 24-layer model, 512-dimensional embeddings, trained on the LM1B benchmark with a sequence length of 128 and a batch size of 2,048 on 64 TPUs for 500,000 steps. The table gives three columns for the baseline transformer and for DCA variants that keep the first layer plus the last *k* layers in their history. The columns are training speed in batches per second, the time each method takes to reach the transformer’s final perplexity (normalized so the transformer is 1.00), and final perplexity.

The 0.33 for 1-DCA and 2-DCA is the “up to 3x”. It is a wall-clock measure, so it already includes DCA’s per-step overhead. The paper doesn’t hide that overhead either: the transformer runs 8.14 batches per second and 2-DCA runs 5.39, so each 2-DCA step takes about 1.51 times as long. The version that keeps all 24 earlier layers runs 3.72 batches per second, 54 percent slower per step. DCA wins on time because it reaches the target in far fewer steps.

My disagreement is with the blog post more than the paper. The post says DCA’s added parameters are small, “making it negligible in terms of compute and memory footprint.” Parameter count isn’t compute. The paper’s own table shows every DCA variant training at between 46 and 69 percent of the transformer’s throughput on the same hardware. I made a similar point about [a looped GLM model earlier this week](https://gautamparab.com/writing/twenty-eight-layers-run-twice/), where “identical parameter count” was the control and the extra layer work per token went unpriced. DCA’s paper reports the throughput, so anyone can read the cost off the table. The post calls it negligible anyway.

The inference picture is thinner than the training one. The paper reports that 2-DCA has “48% lower inference latency compared to k = 24,” which compares two DCA variants with each other. I didn’t find a latency comparison against the plain transformer.

## The target is the baseline’s finish line

“Same quality” in Table 1 means one specific number: 15.14, the perplexity the transformer reaches at the end of its 500,000-step run. DCA’s time ratio is how long it takes to cross that line. Choose a different line and you get a different ratio. Measure at 100,000 steps, or set the target at the perplexity DCA itself finishes on, and the ratio changes. The paper’s Figure 7 shows 2-DCA with “better perplexity for a given training time” across its runs, so I’d expect it to keep winning. The size of the win, though, is a function of where the line is drawn.

Time-to-target measures behave this way in general, whatever the architecture. Eduardo Cueto-Mendoza and John Kelleher built a framework for measuring the training efficiency of an architecture and ran it under four stopping rules. “Our results show that training efficiency decays as training progresses and varies across different stopping criteria for a given neural model and learning task,” they write. On MNIST, averaged across model sizes, their LeNet came out “approximately 3.22 times more efficient” under an accuracy-bound stopping rule than under a fixed 50-epoch rule. The network and the task were the same. Only the rule for when to stop measuring changed, and the efficiency figure moved by a factor of three. Their models are small image classifiers, a long way from a 24-layer language model. The point carries over anyway: a 3x efficiency ratio depends on the stopping rule as much as on the architecture, so it should come with the rule attached.

The paper states its rule, which counts for something. The blog post leaves it out.

## The gain shrinks as the model grows

The “up to” also hides scale. The paper runs two scaling sweeps, and in both of them DCA’s advantage gets smaller as the model gets bigger.

In the width sweep, a 12-layer model gains 2.82 perplexity points at width 64 and 0.39 at width 1024. In relative terms that drops from about 6.2 percent of the baseline’s perplexity to about 2.9 percent. On C4 the gain falls from 1.443 points at 75 million parameters to 0.402 at 449 million, or from about 5.2 percent to 2.3 percent. The authors expected this. Their theory says the benefit depends on “the ratio of collective layer ranks to the ambient dimension” falling below a threshold, and they write that “the benefit of DCA is reduced as the width of the model increases, which is consistent with our theoretical results.” They add that the gain holds up better with depth than with width.

The theory predicts the shrinkage and the data follow it. What none of these tables shows is a time-to-target ratio at any size other than the 24-layer, 512-wide model in Table 1. The three is measured once, at a small width. On the paper’s own theory, a small width is where the gain should be biggest.

## How much to trust a 2 percent gap

At 449 million parameters DCA’s advantage on C4 is 0.402 points on a baseline of 17.166. Architecture papers often report gaps that size. Alain Hadges and Srikar Bellur open their study of neural-net benchmarks with the observation that “claims of better, faster or more efficient neural-net designs often hinge on low single digit percentage improvements (or less) in accuracy or speed compared to others.” They find that hyperparameter settings alone can produce skewed and multimodal distributions of the benchmark metric, and they propose benchmarking on samples of at least 30 runs. Lawrence, Back, Tsoi and Giles made a related point in 1997: neural-network results are usually reported as a mean and standard deviation, but the underlying distribution across runs is often skewed or multimodal, and assuming it is Gaussian can change the outcome of a comparison.

DCA’s tables report a ± on the LM1B perplexities and on training speed. I couldn’t find how many runs sit behind those ranges. The C4 results in Tables 3 and 6, which are the paper’s largest models, have no ranges at all, and neither does the time column that produces the three. The LM1B ranges are tight, mostly under 0.1 points, and DCA’s LM1B gaps are much larger than that, so I don’t think the effect is noise at small scale. At 449 million parameters, with one number per cell, I can’t tell.

## What I’d want before reading “3x faster” at face value

I think DCA is a reasonable idea and the paper is careful. It reports throughput, it states its target, it predicts where its gain will shrink and shows that it does. The retrofit result is also useful. Adding DCA to an already-trained 6-layer model improved perplexity by 0.19 after 60,000 extra steps, against 0.02 from training the plain model for the same extra steps. The blog also says Moonshot AI’s attention residuals follow similar principles and that “the recent Inkling 2 model developed by Thinking Machines also adopted this design.” I haven’t checked that second claim. If it’s true, DCA ideas are running at a scale far above anything in the paper. Results from those models would tell us more than anything in the paper, and the post doesn’t include any.

What I’d want is the time-to-target ratio reported at more than one size, with the throughput cost beside it, and the target stated next to the number every time the number appears. A paper can report “3x” on a 24-layer, 512-wide model trained to the baseline’s 500,000-step perplexity and be accurate. A blog headline that drops all three of those conditions, and then calls a 34 percent throughput loss negligible compute, is a different claim.

**References**

1. Axiotis K, Fu T. “Supercharging transformer residual connections.” Google Research blog, 23 November 2026. [research.google/blog/supercharging-transformer-residual-connections](https://research.google/blog/supercharging-transformer-residual-connections/)
2. Heddes M, Javanmard A, Axiotis K, Fu G, Bateni M, Mirrokni V. “DeepCrossAttention: Supercharging Transformer Residual Connections.” *Proceedings of the 42nd International Conference on Machine Learning* (ICML 2025), PMLR 267. arXiv:2502.06785, first posted 10 February 2025, revised 23 July 2025. Tables 1–5 and Figure 7.[arxiv.org/abs/2502.06785](https://arxiv.org/abs/2502.06785)
3. Cueto-Mendoza E, Kelleher J. “A framework for measuring the training efficiency of a neural architecture.” *Artificial Intelligence Review* 57(12):349, 28 October 2024.[doi:10.1007/s10462-024-10943-8](https://doi.org/10.1007/s10462-024-10943-8)
4. Hadges A, Bellur S. “Statistical Validity of Neural-Net Benchmarks.” *IEEE Open Journal of the Computer Society* 6:211–222, 2025.[doi:10.1109/OJCS.2024.3523183](https://doi.org/10.1109/OJCS.2024.3523183)
5. Lawrence S, Back AD, Tsoi AC, Giles CL. “On the distribution of performance from multiple neural-network trials.” *IEEE Transactions on Neural Networks* 8(6):1507–1517, November 1997.[doi:10.1109/72.641472](https://doi.org/10.1109/72.641472)
