New Research Proposes Context Scaling as a Third AI Frontier
Xipeng Qiu introduces context scaling to address AI failures caused by poor data access. Learn how this third budget changes AI development.
Source: Grafy Research LabAI performance failures often stem from a mismatch between the task requirements and the information available to the model at the moment of decision. This gap, known as the context bottleneck, suggests that simply increasing model size or reasoning time may not be enough to solve deployment issues.
In a new position paper, researcher Xipeng Qiu from the Shanghai Innovation Institute and Fudan University argues that the industry needs to move beyond two traditional scaling paradigms—pretraining and decision-time compute—to embrace a third: context scaling. According to the paper, many real-world AI errors occur not because the model is incapable of reasoning, but because critical information, such as user history, repository revisions, or sensor readings, is unavailable, distorted, or poorly selected.
What is context scaling?
Context scaling refers to the systematic effort to improve a system's ability to acquire, represent, deliver, evaluate, and persist the state of the world for a model to use. While traditional scaling focuses on the model's internal parameters or the compute used during a single inference step, context scaling focuses on the infrastructure that prepares the input.
Qiu frames the AI system through a mathematical lens, describing a model as , where is the decision, is the visible context, and represents the model parameters. The research introduces three distinct budgets that govern this process:
- Pretraining scaling (): Investing in the model's parameters.
- Decision-time scaling (): Investing in compute to search, refine, or verify decisions.
- Context-infrastructure scaling (): Investing in the capacity to manage the deployment state.
By identifying as a unique budget, the paper suggests that improvements in how information is fed to a model can yield significant utility gains even without changing the underlying model size.
How does context infrastructure work?
Context infrastructure acts as the bridge between the "deployment state" (the actual, messy reality of the task) and the "model-visible context" (the specific text or data actually sent to the model). The paper outlines a five-operation lifecycle that this infrastructure must manage to be effective:
- Acquire: Reaching the candidate state from the environment.
- Represent: Preserving the fidelity of the information so it is not distorted during encoding or summarization.
- Deliver: Ensuring the state is actually made available to the model's input buffer.
- Evaluate: Closing the feedback loop to ensure the context was useful.
- Persist: Maintaining state across different points in time.
When these operations fail, the system suffers from availability, fidelity, selection, or utilization failures. For example, a fidelity failure might occur if a summarization tool loses critical technical details, while a selection failure might occur if a retrieval system pulls irrelevant documents that crowd out important ones.
Why is this different from increasing context windows?
A common misconception is that increasing the number of tokens a model can process (the context window) is the same as context scaling. However, Qiu argues that context scaling is about more than just lengthening a text buffer. It involves the intelligent management of information.
Even with a massive context window, a system can fail if it cannot effectively select the right information or if the information it acquires is inaccurate. Context scaling targets the "effective-context value," which is the actual utility a model derives from the provided information. The goal is to optimize the infrastructure so that the information reaching the model is highly relevant and high-fidelity, rather than just voluminous.
What are the implications for AI agents?
For AI agents performing complex tasks like coding or navigating software, context scaling is critical. An agent operating in a software repository must understand recent code changes, tool execution traces, and environment variables. If the infrastructure fails to provide these, the agent will fail regardless of how much reasoning compute is applied to the prompt.
The paper suggests that the "model-infrastructure pair" should be viewed as the primary unit of analysis for deployed AI. This means that developers cannot look at the model in isolation; they must also evaluate the quality of the data pipelines, retrieval mechanisms, and state-management tools that surround the model.
How can researchers measure context scaling?
One of the challenges identified in the paper is the lack of standardized metrics for context utility. Traditional metrics often focus on raw token length or the cost of retrieval, which do not necessarily correlate with how much a model actually benefits from the data.
The research proposes using "effective-context value"—a task-conditional attribution that measures the utility added by a specific context intervention compared to a baseline. This would allow researchers to create utility-cost curves to determine the optimal investment in relative to and .
For those looking to explore how large volumes of information are processed and queried by AI, tools like Reader allow users to engage in research over dense PDFs and papers. While the research focuses on the underlying infrastructure, the practical experience of interacting with complex documents highlights the importance of how information is retrieved and presented to the model.
Frequently asked questions
What is the context bottleneck?
The context bottleneck is a failure mode where an AI system performs poorly because the information required to complete a task is missing, distorted, or incorrectly selected. Even if a model has high reasoning capabilities, it cannot succeed if the relevant deployment state is not effectively converted into usable context for the model.
How does context scaling differ from pretraining scaling?
Pretraining scaling focuses on increasing the model's internal knowledge and capabilities by investing in more parameters and training data (). In contrast, context scaling focuses on the infrastructure () that manages the external information provided to the model at the moment of a specific task or decision.
What are the four types of context failures?
According to the research, there are four primary failures: availability failure, where relevant state is unreachable; fidelity failure, where information is distorted during representation; selection failure, where the wrong information is chosen for the context; and utilization failure, where the model fails to correctly use the information that was provided.
Source: Xipeng Qiu, "Context Scaling: A New Frontier of AI Scaling"
Source: Grafy Research Lab — Context Scaling: A New Frontier of AI Scaling


