Google's DeepCrossAttention achieves comparable model quality up to 3x faster(research.google)
626 points by ComputedCamp995 2 days ago | 218 comments
tl;dr: Google's DeepCrossAttention (DCA) replaces standard transformer residual connections with a dynamic routing mechanism that uses depth-wise cross-attention to let each layer selectively weight outputs from all prior layers on a per-token basis. In experiments on C4 and LM1B, DCA matched standard transformer quality up to 5x faster and achieved lower perplexity with 29% fewer layers, while adding less than 0.2% parameter overhead. The approach can also be retrofitted onto pre-trained transformers without training from scratch.
HN Discussion:
  • ↑Gemini's speed and quality improvements may be attributable to this technique, implicitly validating the research
  • ↑Depth-wise cross-attention is promising and could solve longstanding transformer limitations
  • ↑Retrofitting DCA onto pre-trained models is an exciting research direction
  • ↑Low-level ML architecture changes still hold significant untapped potential
  • ~Questions novelty, suggesting DeepSeek may have done something similar