In the fast-evolving landscape of enterprise operations, the ability to accurately predict future trends is the cornerstone of success. Whether a firm is managing the complex fluctuations of an energy grid, optimizing global supply chains, scaling cloud infrastructure to meet sudden traffic spikes, or fine-tuning retail inventory, the quality of a forecast often dictates the difference between efficiency and costly waste. Historically, these projections have been tethered to the past. Traditional time-series foundation models (TSFMs) operate on the premise that historical patterns, seasonality, and variance are the best indicators of what lies ahead. However, as business environments become increasingly volatile, this retrospective approach is proving insufficient.

To bridge the gap between historical data and future-ready planning, Salesforce AI Research has introduced GIFT-Eval-CTX, a pioneering benchmark designed to measure how effectively Large Language Models (LLMs) and agentic AI systems can translate forward-looking context—such as upcoming promotional campaigns, scheduled software releases, or anticipated weather events—into precise numerical forecasts. By demonstrating that feeding structured operational context into agentic AI can drastically reduce error rates, this new framework marks a significant shift from static, reactive predictions toward reliable, proactive strategic planning.

Moving Beyond the Limitations of Historical Data

For decades, time-series forecasting has relied on a single fundamental assumption: that the past is a reliable map for the future. While TSFMs like Salesforce’s own Moirai-2 have made immense strides in forecasting across diverse domains without the need for additional training, they have largely remained constrained by their interfaces. These models are designed to ingest numerical history and predefined variables, leaving little room for the rich, open-ended intelligence that characterizes modern business decision-making.

In the real world, operations rarely run on autopilot. An energy grid operator, for instance, knows that a severe heatwave is imminent, potentially straining power capacity. A supply chain director is often aware of a road closure that will inevitably divert freight and delay shipments. An IT leader knows precisely when a major software deployment will trigger a massive spike in server load. These are not merely historical trends; they are forward-looking business realities. When these events occur, historical data often falls short because the critical insights required for an accurate forecast exist in documents, project plans, and expert human judgment rather than in a spreadsheet of past numbers.

Contextual forecasting aims to integrate this qualitative information into the quantitative prediction process. It requires a system that can understand the implications of a future event and translate that understanding into accurate numerical outputs. While LLMs show great promise in interpreting diverse, unstructured information, their ability to transform this contextual knowledge into precise numerical predictions has remained a subject of uncertainty. GIFT-Eval-CTX provides the necessary framework to evaluate this capability, asking a fundamental question: Given reliable information about future changes, can forecasting systems translate that knowledge into accurate, actionable numerical forecasts?

Introducing GIFT-Eval-CTX: An Open-Source Benchmark for Contextual Forecasting

The Architecture of GIFT-Eval-CTX

Building upon the foundations of Salesforce’s earlier GIFT-Eval benchmark, the new GIFT-Eval-CTX framework provides a rigorous testing environment. It evaluates models across 10,000 tasks spanning 20 real-world datasets, covering domains as varied as energy, logistics, weather, retail, and cloud operations. A key innovation of this benchmark is its departure from reliance on inconsistent, free-form text. Instead, it utilizes an automated pipeline that extracts future operational data into standardized "structured effects." This allows researchers to measure with high precision how effectively forecasting systems convert context into numerical predictions.

The benchmark categorizes future context into two distinct, actionable layers: macro trends and micro disruptions. Macro trends represent the broader, long-term environmental or operational shifts that set the stage for the forecast horizon. Micro disruptions, by contrast, are the localized, event-specific anomalies that require immediate adjustment to the numerical projection. By feeding these two layers into an AI system, the model is given both the shape of the future and the specific events that might alter its trajectory, leaving the model to fill in the granular, step-by-step numbers.

The construction of GIFT-Eval-CTX was an exercise in extreme rigor. The benchmark team specifically selected challenging test windows where traditional time-series models consistently failed when relying on past data alone. Following a process of automated critique and human spot-checking, the final benchmark includes 23,476 validated micro effects paired with corresponding macro horizon annotations. This pipeline ensures that the benchmark reflects the messy, complex reality of modern operations rather than an idealized, simplified environment.

Evaluating Performance: The Rise of Agentic Architectures

The results of the initial evaluations using the GIFT-Eval-CTX benchmark have yielded critical takeaways for the field of AI-driven forecasting. Most notably, the data confirms that incorporating structured future context yields significant error reductions across frontier LLMs. Among the various architectures tested, tool-augmented agentic architectures, such as MoiraiAgent, consistently achieved superior accuracy across all forecast horizons.

However, the evaluation also highlighted a major flaw in relying on pure LLMs for raw forecasting: these models frequently struggle with numerical precision and output length. Pure LLMs often fail to consistently generate the long sequences of accurate numerical data required for high-stakes operational planning. They may hallucinate numbers or falter when the output requires strict adherence to a specific time-series format.

Introducing GIFT-Eval-CTX: An Open-Source Benchmark for Contextual Forecasting

To address this, the MoiraiAgent architecture employs a two-step tool-based approach. First, the model uses its reasoning capabilities to interpret the structured future context and determine the likely impact of those events on the forecast. Second, it offloads the actual numerical generation to a specialized forecasting tool, ensuring that the final output is both contextually aware and mathematically precise. This division of labor allows the system to leverage the intelligence of an LLM while maintaining the reliability of a dedicated forecasting engine.

The Future of Intelligent Operational Planning

The introduction of GIFT-Eval-CTX represents a critical milestone in the advancement of enterprise planning. It provides a roadmap for researchers, developers, and enterprise teams to move beyond the limitations of historical data and embrace a more dynamic, context-aware approach to forecasting. By demonstrating that accuracy leaps dramatically when AI systems are fed structured future context, Salesforce AI Research has highlighted the path forward for the next generation of predictive models.

To facilitate widespread adoption and further innovation, Salesforce has made the GIFT-Eval-CTX benchmark, the full dataset, and the leaderboard available as open-source resources. By lowering the barrier to entry for evaluating context-aware forecasting systems, the research team hopes to foster a collaborative environment where practitioners can build more resilient, intelligent, and proactive operational tools. As businesses continue to navigate an increasingly uncertain global landscape, the ability to turn foresight into data-driven reality will be an essential competitive advantage. The work encapsulated in GIFT-Eval-CTX is a testament to the fact that the future of forecasting is not just about looking backward at what has happened, but about intelligently integrating what we know will happen tomorrow into the decisions we make today.