Two recent arXiv papers delve into the challenges of training transformers with long contexts. The first paper identifies a fundamental pathology called rank-collapse, where attention scores become uniform as context length increases, and proposes "attention scaling" with a critical factor of \log n to maintain adaptive attention. The second paper attributes training instability in long-sequence transformers, particularly with low-precision arithmetic, to dense local dependencies. This paper suggests that these dependencies lead to an "attention-logit explosion" which can be mitigated by increasing the attention dimension or explicitly modeling local dependencies. AI
IMPACT These papers offer theoretical insights into improving the stability and efficiency of long-context transformer models, potentially leading to more capable LLMs.
RANK_REASON Two academic papers published on arXiv detailing theoretical and empirical findings on transformer architecture limitations.
- alphaXiv
- arXiv
- CatalyzeX
- DagsHub
- Gotit.pub
- Hugging Face
- IArxiv
- ScienceCast
- Suvadeep Hajra
- Transformer++
- Zhengjiang Lin
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →