RePo: Language Models with Context Re-Positioning
Sakana AI ● Covered by 2 sources
Sakana AI built RePo, a language model tweak that lets the model rearrange its own context instead of reading it strictly in order. By pulling relevant info closer and pushing noise aside, it handles messy, long inputs way better than standard models.
Based on reporting by Sakana AI — read the original for the full story.
Summary, retelling and take written by AI under human oversight; images are AI-generated illustrations. How we work · Report an error
Every language model you've used so far treats text the same way: as a straight line of tokens, numbered in order, with position equaling meaning. That's fine when the important stuff sits right next to the question you're asking. It falls apart when the useful fact is buried on page 40 of a 60-page document and surrounded by filler. Sakana AI's new project, called RePo, argues that this rigid indexing is the real bottleneck, not model size or training data.
The idea borrows from Cognitive Load Theory, the psychology framework that explains why humans struggle to think clearly when key facts are scattered across noise. Sakana's team applied the same logic to transformers: if a model has to spend its limited attention capacity untangling disorganized input, it has less left over for actual reasoning. So instead of forcing the model to accept whatever order the text arrived in, RePo adds a module that learns to reassign token positions based on how relevant each piece of content actually is.
Practically, that means RePo can drag a distant but important sentence closer to where the model is focusing, and shove irrelevant filler further away, all without touching the underlying words. It's reshaping the geometry of attention on the fly, tailoring it to the specific problem rather than the raw layout of the input. Think of it as a model that can shuffle its own notes before answering, rather than reading them start to finish no matter what.
Sakana reports that this reshuffling pays off specifically in the messy scenarios that trip up standard models: noisy contexts, long-range dependencies, and structured data where relevance doesn't follow line order. And importantly, RePo isn't sacrificing baseline performance to get there, it stays competitive on general tasks while cleaning up in the harder cases. The framing Sakana uses, models that curate their own working memory instead of passively absorbing whatever order they're fed, is a small but real shift from treating context length as a brute-force scaling problem to treating it as an organization problem.
My take — AI-written commentary, not fact-checked reporting
This is one of those unglamorous architecture tweaks that matters more than another benchmark-topping giant model, because context handling is the actual wall most long-document and agentic use cases hit today. I'd rather see labs spend a research cycle on how models organize what they read than on squeezing out one more point of MMLU, and it's a good sign that Sakana, a smaller lab, is the one poking at this instead of following the scale-everything script everyone else is stuck on.
Read more about this at: Sakana AI
Related stories
Instant LLM Updates with Doc-to-LoRA and Text-to-LoRA
Sakana AI ·
4
GRPO Beyond English: A Large-Scale Study of GRPO in Non-English and Multilingual Settings
Apple Machine Learning Research · 2 weeks ago ·
30