Plan, divide, and conquer: How weak models excel at long context tasks
- Source
- together.ai
- Publisher
- Together AI
- Author
- Together AI
- Date

Context
Splitting a long input helps only if each worker returns what the final answer actually needs. Together AI's divide-and-conquer research illustrates this with finding the second-smallest number in a list. Asking each worker for its local second-smallest number can discard the global answer; returning each chunk's two smallest numbers preserves enough information to combine the results. The research explanation makes aggregation design central.
This approach balances shorter, easier inputs against information lost between chunks and mistakes when combining answers. The authors report gains on tested , question-answering and summarization tasks. Tasks requiring tightly connected evidence across distant passages can favor an unsplit input. The useful design question is therefore what information must survive each worker's response.
- Retrieval — Selecting evidence relevant to the current request.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Large language model — A model trained on large amounts of data to process and generate language.
“The Intuition: Don't ask one genius to read a library in an hour. Ask ten interns to read one book each.”
Together AI
“Model Noise (The "Brain Fog"): Models don't just forget linearly; they get overwhelmed. Our research shows that model confusion grows superlinearly with input length. It is mathematically better to split the task because you reset that confusion counter with every new chunk in a shorter length”
Together AI
“If you naively ask workers to "Find the 2nd smallest number" in their specific chunk, the final manager will fail because the global 2nd smallest number might be the smallest number in a specific chunk.”
Together AI
“We found that testing just 5 random samples is sufficient to find the optimal chunk size due to the predictability of the noise curve.”
Together AI
“If your task requires tracking a subtle clue from Page 1 that connects to Page 100 (like the "Dialogue Character Inference" task in our paper), the "Divide" step breaks the necessary context.”
Together AI
articleGeneralizing an LLM from 8k to 1M Context using Qwen-AgentQwen Team
videoRoad to 5 Million Tokens: Breaking Barriers in Long Context Training — Max Ryabinin, Together AIAI Engineer
articleMergeable Model-Side Aggregation States for Long-Context Language ModelsDachuan Song, Junyu Yin, Zechen Hu, Xuan Wang

