| 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:
| |