Reproduce “Block-Recurrent Transformers” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
DeLesley Hutchins, Imanol Schlag, Yuhuai Wu, Ethan Dyer, Behnam Neyshabur
Researchers from Google Research and The Swiss AI Lab IDSIA developed the Block-Recurrent Transformer, an architecture that integrates a block-wise recurrent mechanism into Transformers for unbounded context processing. This model achieved a new state-of-the-art word-level perplexity of 26.50 on the PG19 dataset while maintaining linear computational complexity and outperforming Transformer-XL baselines at twice the speed for comparable performance.
Key insights
- A remarkably simple recurrent cell configuration (fixed gate, no MLP, termed `fixed:skip`) proved to be the most efficient and effective, suggesting that excessive complexity is not always beneficial for long-range recurrence.
- The recurrent state primarily focuses on tracking long-range entities such as proper names, chapter titles, and unique terms, acting as a dynamic summary of distant context.
- Block-wise recurrence offers a cost-effective method to extend context, delivering significant perplexity improvements at a computational cost similar to adding just one more conventional Transformer layer.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.