Google's DeepCrossAttention achieves comparable model quality up to 3x faster
Web page · https://research.google/blog/supercharging-transformer-residual-connections
Algorithms & Theory
First seen by Oriel on .
AI summary
DeepCrossAttention (DCA) turns transformer residual connections into per-token, attention-based routing across prior layers, improving convergence and model quality while reducing required depth and parameters by up to 30–40%.
- Dynamic routing combines a learnable base with input-dependent projections, while split Q/K/V depth-wise cross-attention lets each token query intact representations from all previous layers.
- On C4 and LM1B, DCA matched standard transformers in up to five times fewer training steps and achieved lower perplexity with equal training budgets.
- On LM1B, DCA beat perplexity 14 with 30 layers, while a fixed-width standard transformer needed 42 layers, reducing depth and parameter count by 29%.
- DCA adds under 0.2% to model size but increases memory bandwidth; retrofitting a pretrained transformer reduced LM1B perplexity by 0.19, versus 0.02 from continued standard training.
#transformers #residual connections #deepcrossattention #dynamic routing
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 622, latest observation ; +609 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 218, latest observation ; +217 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Google Research Blog | https://research.google/blog/supercharging-transformer-residual-connections/ | https://research.google/blog/supercharging-transformer-residual-connections/ Read discussion |
| Hacker News | 50672565 | https://research.google/blog/supercharging-transformer-residual-connections/ Read discussion |