RePo: Language Models with Context Re-Positioning
Abstract
Lay Summary
When we read a long document, we naturally group related ideas together in our minds, even if they are physically pages apart. However, Large Language Models traditionally process text in a strict, sequential order—one word right after another. This rigid approach limits their performance on long or messy texts, as they waste processing power trying to bridge the gap between distant pieces of related information. To solve this, we developed a method called Context Re-Positioning (RePo). Instead of forcing the AI to maintain a strict reading order, RePo allows the model to dynamically reorganize its "working memory." It automatically evaluates the text and pulls highly related but distant clues closer together, while pushing irrelevant noise out of the way. This approach allows language models to organically reorganize their context to focus on what truly matters. By adopting RePo, AI models become significantly better at understanding extremely long, noisy, and complex documents, all while maintaining their high performance on standard, everyday tasks.