Forecasting from Counterfactual Simulator Rollouts: A Sim2Real Evaluation

Angel Wang, Dominique Perrault-Joncas, Alvaro Maggiar, Dean Foster, Carson EisenacharXiv 2026

TL;DR

When a company deploys a new decision-making algorithm (like a new inventory replenishment policy), existing forecasting models often break because they were trained on data from the old system—a classic "cold-start" problem. This paper demonstrates that training forecasters on synthetic data from counterfactual simulator rollouts significantly outperforms models trained on historical real-world data. By combining these simulator-trained models with lightweight online calibration, researchers achieved substantial error reductions in large-scale retail deployments.

What Problem Does This Paper Address?

In complex systems like supply chains, your actions change the environment. If you change your replenishment policy, the distribution of inventory and inbound shipments changes. This creates a "cold-start" problem for forecasting: you need to predict the system's response to a new policy, but you have zero real-world observations of that policy in action.

Traditionally, engineers might try to use historical data, but this data is "off-policy"—it reflects how the system responded to old rules. The authors explore whether a simulator can bridge this gap. Specifically, they look at Sim2Real transfer for forecasting: can a model trained entirely on simulated "what-if" scenarios (counterfactuals) accurately predict what will happen when a new policy hits the real world?

Methods

The authors utilize an Exogenous Interactive Decision Process (Exo-IDP) framework. The core idea is to separate the world into two parts:

  1. Exogenous Processes: Things the policy can't control (e.g., customer demand, vendor lead times).
  2. Endogenous States: Things the policy does influence (e.g., current inventory levels, order quantities).

By replaying historical exogenous data while simulating the endogenous response to a new policy, they generate "counterfactual rollouts."

The Forecaster Architecture: They trained an aggregate response forecaster using a stacked dilated causal CNN encoder and an MLP decoder. The model takes in historical state trajectories and a proposed "coordination signal" (a cost $\lambda$ that discourages or encourages ordering) to predict future aggregate inbound volume.

Online Calibration: Once the policy is live, real data starts trickling in. The authors use a simple expanding-window linear regression to "nudge" the simulator-trained forecast toward reality, correcting for systematic biases in the simulator.

Datasets

The approach was evaluated using two massive, real-world production deployments at a major retailer (Amazon):

  • Study 1: A year-long randomized deployment of a Reinforcement Learning (RL) ordering policy covering ~20,000 products.
  • Study 2: A three-month deployment of a different policy covering ~100,000 products.

These datasets are unique because they contain ground-truth realized outcomes under the new policies, allowing for a rigorous retrospective backtest of the simulator-trained models.

Key Insights and Ideas

  • Fidelity vs. Utility: A simulator doesn't have to be perfect to be useful. The authors found measurable gaps in simulator fidelity (see Table 1 below), particularly in predicting exact order quantities. However, the patterns learned from these imperfect simulations still transferred to reality better than real data from the wrong policy.
  • Coverage Matters: Historical data is limited to what actually happened. Simulation allows the model to see how the policy responds to a wide range of "what-if" control signals, providing much better coverage of the state-action space.
  • Policy-Conditional Fidelity: The simulator's accuracy is higher for products actually running the target policy than for those on a baseline. This suggests that Sim2Real evaluation must be done "on-policy" to be meaningful.
Table 1: Component-level trajectory calibration (Study 1): realized values regressed on simulated values at the product–week level, with slope 1 indicating perfect calibration. Order and inbound exhibit larger calibration gaps; inventory and sales drain are better calibrated.

Key Results

The simulator-trained forecaster consistently beat the historical "off-policy" baseline across different time horizons.

  • Zero-Shot Performance: In Study 1, the simulator-trained model reduced Mean Absolute Percentage Error (MAPE) by 1.2–3.1 percentage points. In Study 2, where the policy shift was more dramatic, the gains were even larger: a reduction of 12.5–18.7 percentage points (a 45–67% relative improvement).
Table 2: Zero-shot transfer: MAPE (mean ± 95% CI) on realized deployment outcomes for the same forecaster architecture trained on simulator rollouts under the deployed policy versus historical real data from prior policies (off-policy), by forecast horizon. CIs are 95% normal-approximation intervals across weekly forecast origins, with one error observation per origin and horizon.
  • Calibration Boost: Adding lightweight online calibration after the first four weeks of deployment further reduced error by up to 2.5 percentage points, especially at shorter horizons.
Table 3: Calibration with early real observations: MAPE (mean ± 95% CI) for the simulator-trained forecaster, zero-shot versus after regression calibration on early deployment observations, by forecast horizon. Zero-shot and calibrated variants are evaluated on the same forecast origins as Table 2, whose interval definition applies. Calibrated historical-data baselines are reported in Appendix D.

Limitations and Future Work

The authors acknowledge that their findings are currently application-specific to supply chain management. While the simulator was effective, it still showed significant "reality gaps" in specific components like order quantities ($R^2$ of 0.24).

Future research could investigate which specific fidelity properties are most critical for successful transfer. Additionally, extending this evaluation to other domains—like robotics or traffic management—would help determine if the "simulation as a training-data generator" approach is a universal solution to the forecasting cold-start problem.

Summary updated

BibTeX
@misc{wang2026forecasting,
  author = {Angel Wang and Dominique Perrault-Joncas and Alvaro Maggiar and Dean Foster and Carson Eisenach},
  title = {{Forecasting from Counterfactual Simulator Rollouts: A Sim2Real Evaluation}},
  year = {2026},
  eprint = {2610.03662},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.03662},
}
Figure