Inventory Management with Transformer: Automated Decision Making for Order Timing and Quantity

Mo Liu et al.

Service Science2026https://doi.org/10.1287/serv.2024.0236article
AJG 1
Weight
0.50

What the paper says

We design an automated decision-making system for inventory management using a Transformer-based neural network. Leveraging contextual information and historical data, the system makes two key decisions: (1) order timing and (2) order quantity. To accommodate random vendor lead times, we develop an imitation-learning framework, in which the Transformer imitates ex post optimal decisions computed from historical data to directly output inventory actions. The model adopts the GPT-2 architecture—an off-the-shelf large language model—for efficient fine-tuning under the inventory context. Our framework, InventoryGPT, addresses challenges faced by large e-commerce platforms that manage millions of stock-keeping units while serving customers with stochastic and nonstationary demand and lead-time patterns. By incorporating rich contextual data, the model learns to improve service levels and reduce costs. Empirical results using real-world data from a leading e-commerce platform show that InventoryGPT outperforms traditional and state-of-the-art benchmarks. Moreover, by carefully designing the Transformer’s input and output structures, the proposed InventoryGPT model achieves good interpretability. Our study highlights the potential of Transformer-based neural networks for large-scale decision making in service operations. History: This paper has been accepted for the Service Science Special Issue on the Impact of AI on Service Design and Delivery. Funding: This research was supported by the National Key Research and Development Program [Grant 2024YFB3311500] and the Research, Academic and Industry Sectors One-Plus Scheme [Grants RAISe+ and RAI-24-1-096A]. Supplemental Material: The online appendix is available at https://doi.org/10.1287/serv.2024.0236 .

Open paper page →

Cite this paper

https://doi.org/https://doi.org/10.1287/serv.2024.0236

Or copy a formatted citation

@article{mo2026,
  title        = {{Inventory Management with Transformer: Automated Decision Making for Order Timing and Quantity}},
  author       = {Mo Liu et al.},
  journal      = {Service Science},
  year         = {2026},
  doi          = {https://doi.org/https://doi.org/10.1287/serv.2024.0236},
}

Paste directly into BibTeX, Zotero, or your reference manager.

Flag this paper

Inventory Management with Transformer: Automated Decision Making for Order Timing and Quantity

Flags are reviewed by the Arbiter methodology team within 5 business days.


Evidence weight

0.50

Balanced mode · F 0.40 / M 0.15 / V 0.05 / R 0.40

F · citation impact0.50 × 0.4 = 0.20
M · momentum0.50 × 0.15 = 0.07
V · venue signal0.50 × 0.05 = 0.03
R · text relevance †0.50 × 0.4 = 0.20

† Text relevance is estimated at 0.50 on the detail page — for your query’s actual relevance score, open this paper from a search result.