Abstract
Traditional operations research (OR) and operations management (OM) rely on hand-crafted algorithms designed under strict mathematical assumptions. These models often struggle with model misspecification and the "cold start" problem in sequential decision-making. This paper introduces OMGPT, a Generative Pre-trained Transformer architecture that frames operational decision-making as a sequence modeling task. By training on simulated optimal actions derived from prior knowledge, OMGPT learns to act as a Bayes-optimal decision maker. Experimental results across various tasks—including dynamic pricing and inventory management—demonstrate that OMGPT outperforms established benchmarks, particularly in short-horizon scenarios, while maintaining robustness against environment misspecification.
Introduction
Sequential decision-making is at the heart of operations management. Whether determining the optimal price for a product with an unknown demand curve or managing inventory levels for a newsvendor problem, decision-makers must constantly balance the need to learn about their environment (exploration) with the need to maximize immediate returns (exploitation).
Historically, these problems have been addressed using online learning or reinforcement learning (RL) algorithms like Upper Confidence Bound (UCB) or Thompson Sampling. However, these traditional approaches are often "rigid"; they are built on specific structural assumptions, such as linear demand. When real-world conditions deviate from these assumptions—a phenomenon known as model misspecification—the performance of these algorithms degrades significantly. Furthermore, they often suffer from a "cold start" period where they lack sufficient data to make informed decisions. OMGPT seeks to overcome these limitations by replacing hand-crafted logic with a universal, learning-based neural network.
Methodology: Sequence Modeling for Operations
The authors propose a supervised learning paradigm that leverages the power of transformer architectures. Instead of designing a specific algorithm for each task, OMGPT treats decision-making as a sequence prediction problem.
Architecture and Data Formulation
OMGPT is based on the GPT-2 architecture, modified to handle the heterogeneous data types found in OR. The model processes a chronological sequence of contexts, past actions, and observations. Contexts and observations are embedded into "feature" tokens, while past actions are embedded into "label" tokens.
To train the model, the authors utilize the decision-maker's prior knowledge to simulate thousands of potential environments. Because these environments are simulated, the parameters are known, allowing for the calculation of exact optimal actions. This allows OMGPT to learn from "perfect" data during the pre-training phase.
Addressing Distribution Shift
A common challenge in offline pre-training for online tasks is the distribution shift: the data the model sees during training (generated by a baseline policy) may differ from the data it generates during testing. To mitigate this, the authors introduced a novel two-phase pre-training algorithm. This approach mixes baseline-generated data with self-generated data, stabilizing the learning process and ensuring the model remains performant when it begins making its own autonomous decisions.
Key Insights: Implicit Bayesian Inference
One of the paper's most significant contributions is the theoretical and empirical demonstration of Implicit Bayesian Inference. Through linear probing, the researchers found that OMGPT’s early layers implicitly infer hidden environment parameters (such as demand elasticity), while the later layers use this inferred information to compute the optimal action.
Remarkably, OMGPT achieves sub-linear regret without an explicit mathematical exploration mechanism. The slight prediction errors inherent in finite pre-training data act as a natural, balanced exploration strategy. This allows the model to be "immune" to model misspecification; for example, a model trained on a mixture of linear and quadratic demand functions can seamlessly adapt to whichever environment it encounters at runtime, whereas traditional algorithms would fail if their hardcoded assumptions were violated.
Experimental Results
OMGPT was evaluated across a diverse suite of OR/OM tasks, including stochastic multi-armed bandits, linear bandits, dynamic pricing, the newsvendor problem, queuing control, and revenue management.
- Performance Dominance: OMGPT consistently outperformed established benchmarks like UCB, Thompson Sampling, and CILS.
- Short-Horizon Advantage: The model showed its greatest strength in short time horizons ($T \le 100$). By effectively leveraging the prior knowledge gained during pre-training, it bypasses the inefficient "cold start" phase that typically plagues online learning algorithms.
- Generalization and Robustness: The model successfully generalized to longer horizons ($T=200$) than it was trained on ($T=100$). It also proved robust against out-of-distribution shifts, such as variations in noise levels or parameter ranges not encountered during the training phase.
- Side Information: Beyond decision-making, OMGPT proved capable of predicting side information, such as forecasting actual demand, outperforming standard ridge regression in low-data regimes.
Conclusion and Future Work
OMGPT represents a shift toward data-driven, foundation-model approaches in operations research. While the framework relies on the ability to simulate environments and compute optimal actions—which may be computationally expensive for highly complex Markov Decision Processes (MDPs)—it offers a path toward more flexible and powerful decision-making tools. Future research will focus on extending theoretical regret analysis to more complex contexts and exploring how the internal logic of OMGPT can inform the design of better manual algorithms.
Summary updated