AVQ-Attention-2 cuts attention training costs in transformer tests
In an arXiv preprint, Winfried van den Dool and colleagues introduce AVQ-Attention-2, a transformer layer that computes exact attention over nearby tokens and uses averages of groups of keys to approximate attention farther away. The authors report that, for a fixed number of groups, the training cost of the attention layer grows linearly with sequence length. Across the sequence lengths they tested, they report faster performance than FlashAttention with little or no quality loss. They also report replacing an attention layer in a pretrained transformer without fine-tuning.
Why it matters
The reported results suggest the layer could reduce the computational cost of processing long sequences. The replacement test also shows a way to evaluate it on an existing transformer without an extra fine-tuning step.
Sources
- Google DeepMind adds mass spectrometry skills to Antigravity
- GitHub shifts default Copilot code review billing to repository owners
- AWS adds live communication profiling to SageMaker HyperPod training jobs
- AWS previews Amazon Transcribe Turbo with new tools for voice agents
- Amazon CloudWatch Omni alerts can now open PagerDuty incidents