A new paper proposes a method called Dual Linear Scaling using Selective Structured Attention (SSA) to overcome key limitations in transformer architectures. Transformers, the backbone of modern AI models like GPT and BERT, suffer from a bottleneck where attention mechanisms scale quadratically with sequence length, making long-context processing expensive. The authors introduce SSA, which combines linear attention with a dual scaling approach to maintain efficiency while preserving expressiveness.
In experiments, SSA demonstrates competitive performance on language modeling and long-document tasks, using significantly less memory and compute compared to standard transformers. The method is particularly promising for applications requiring large context windows, such as legal document analysis or code generation.
This work contributes to the ongoing effort to make transformers more scalable without sacrificing quality, potentially enabling new capabilities in AI systems.