Compressed sequences speed up language models in preprint tests
The authors of an arXiv preprint tested a way to train decoder-only language models that process shorter internal sequences, including during text generation. Their approach adds a module between the embedding layer and the existing transformer. In controlled experiments with models ranging from 79 million to 537 million parameters, the 537 million-parameter model came close to the uncompressed baseline in quality when its sequence length was halved. The authors report faster training, prompt processing, and generation. They measured throughput on models up to 7 billion parameters, while the reported quality comparisons covered the smaller models.
Why it matters
The method sped up both prompt processing and generation without requiring new inference kernels. In the authors’ tests, the speed gains also combined with those from grouped-query attention.
Sources
- OpenAI expands ChatGPT dots to Plus users worldwide
- OpenAI adds Salesforce marketing and quoting workflows to ChatGPT beta
- GitHub adds per-model Copilot token counts to its billing API
- GitHub adds account IDs to AI usage and premium request reports
- Hugging Face adds Voice Code Bench to its speech recognition leaderboard