Supply Chain Optimization via Generative Simulation and Iterative Decision Policies

Haoyue Bai, Haoyu Wang, Nanxu Gong, Xinyuan Wang, Wangyang Ying, Haifeng Chen, Yanjie FuOpenReview 2025

Abstract

Modern supply chain management requires a delicate balance between shipping costs and delivery timeliness. Traditional simulation and decision-making tools often suffer from rigidity, failing to capture the complex, interdependent dynamics of global logistics. This paper introduces Sim-to-Dec, a framework that bridges the gap between simulation and strategy. By coupling a generative, autoregressive simulator with a "history-future dual-aware" decision policy, the framework allows for iterative refinement of shipping decisions in a risk-free virtual environment. Experimental results across three real-world datasets demonstrate that Sim-to-Dec significantly improves simulation accuracy and decision quality, outperforming reinforcement learning and large language model baselines.

Introduction

In the logistics industry, selecting the optimal shipping mode—whether air, rail, maritime, or ground—is a high-stakes decision. Faster modes ensure customer satisfaction through responsiveness but significantly reduce profit margins. Conversely, slower, cost-effective modes risk delays that can disrupt downstream operations.

Existing solutions for this optimization problem face four primary hurdles:

  1. Rigidity: Rule-based simulators lack the flexibility to generalize across diverse scenarios.
  2. Coarse Dynamics: Many models fail to capture how a minor delay in one stage ripples through the entire supply chain.
  3. Passive Evaluation: Simulators are typically used to evaluate decisions after the fact, rather than serving as active training environments.
  4. Information Gaps: Decision models often focus exclusively on historical trends or future predictions, rarely integrating both into a cohesive strategy.

To address these challenges, we present the Sim-to-Dec framework, which treats simulation as a generative task and decision-making as an iterative, dual-aware process.

Methodology

The Sim-to-Dec framework is comprised of two tightly integrated modules: a Generative Simulator and a Dual-Aware Decision Maker.

Generative Simulator

Moving away from hard-coded logic, the framework utilizes a Deep Generative AI approach. Specifically, an LSTM-based encoder-decoder architecture learns transportation dynamics directly from historical data. By processing order attributes (such as product type and destination) alongside a "global" context that captures system-wide variables, the simulator autoregressively predicts order status changes. This allows the model to capture fine-grained state transitions and delay risks that traditional discrete-event simulations often miss.

Dual-Aware Decision Maker

The policy network selects shipping modes by synthesizing two distinct signals:

  • Historical Experience: The model calculates the expected utility of a shipping mode based on its past performance in similar contexts.
  • Future Estimation: Treating the task as a contextual bandit problem, the policy uses the generative simulator to "look ahead," estimating the potential reward and risk of a specific decision before it is finalized.

End-to-End Optimization

The decision-maker is refined through iterative interactions with the simulator. To ensure the entire pipeline remains differentiable for standard neural network training, the framework employs the Gumbel-Softmax reparameterization trick. This allows the policy to explore counterfactual "what-if" scenarios—observing how an order would have behaved under different shipping modes—without real-world risk.

Experimental Evaluation

The framework was evaluated on three diverse, real-world logistics datasets:

  • DataCo: A large-scale dataset featuring over 165,000 instances and 43 features.
  • Global-Store: A dataset covering international logistics with 51,000 instances.
  • OAS (Supply Chain Analysis Dataset): A dataset focused on e-commerce logistics with 28,000 instances.

Simulation Accuracy

Sim-to-Dec demonstrated superior fidelity in predicting order statuses. It outperformed the strongest baselines by 50.3% on the DataCo dataset and 7.3% on the Global-Store dataset. Notably, the simulator remained robust even when the test data distribution shifted, proving more adaptable than Markov-based models that rely on static transition probabilities.

Decision Quality and Efficiency

When balancing profit against on-time delivery rates, Sim-to-Dec outperformed Reinforcement Learning (RL), Linear Programming (LP), and Zero-shot LLM-based approaches (GPT-3.5).

Beyond accuracy, the framework proved highly efficient for real-time application. While the initial training of the generative simulator is computationally intensive, the inference phase is rapid. On the DataCo dataset, Sim-to-Dec reached a decision in just 1.2 seconds, whereas the LLM-based approach required 1856 seconds to process the same data.

Discussion and Limitations

The primary strength of Sim-to-Dec lies in the coupling of the simulator and the policy; the simulator acts as a "coach," providing the decision-maker with the feedback necessary to adapt to evolving conditions. However, the framework is not without limitations. The generative simulator requires substantial historical data to achieve high fidelity, and the model is sensitive to the hyperparameter ($\lambda$) used to balance historical and future insights. If this balance is not tuned correctly for a specific dataset, performance can degrade.

Conclusion

Sim-to-Dec represents a significant step toward more intelligent, adaptive supply chain management. By reframing simulation as a generative task, the framework provides a high-fidelity environment for policy optimization. Future work will explore extending this framework to other supply chain domains, such as inventory management and warehouse allocation, and investigating Transformer-based architectures to further enhance simulation capabilities.

Summary updated

BibTeX
@misc{bai2025supply,
  author = {Haoyue Bai and Haoyu Wang and Nanxu Gong and Xinyuan Wang and Wangyang Ying and Haifeng Chen and Yanjie Fu},
  title = {{Supply Chain Optimization via Generative Simulation and Iterative Decision Policies}},
  year = {2025},
  eprint = {2507.07355},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.07355},
}
Figure