Skip to article sections
Purpose

Multi-echelon inventory optimization (MEIO) under demand distribution shift remains an open challenge in supply chain management. Classical rule-based policies are effective when calibrated online but cannot exploit historical data structure. This paper investigates whether a Koopman operator world model, applied as a structured latent dynamics model within an offline reinforcement learning (RL) framework, can improve the out-of-distribution (OOD) robustness of learned inventory policies and reduce temporal difference (TD)-target variance during training.

Design/methodology/approach

We propose Koopman-enhanced Multi-Echelon Inventory Optimization (K-MEIO), a two-stage framework combining a Deep Koopman World Model (DKWM) with Implicit Q-Learning (IQL). The DKWM learns a finite-dimensional linear embedding of the multi-echelon inventory dynamics, enabling analytically tractable TD targets with 12.4% lower variance than direct next-state encoding. The Koopman-enhanced Implicit Q-Learning policy is trained entirely on simulated offline transitions calibrated from University of California, Irvine Online Retail and Rossmann Store Sales demand statistics. Ablation experiments across five expectile values, three training seeds, and three OOD stress scenarios are reported, together with full cost breakdowns.

Findings

Under standard evaluation, K-MEIO achieves service level 0.995 with zero capacity violations. Across three training seeds, K-MEIO achieves OOD robustness ratio 0.861 ± 0.039 under a 3× promotional demand spike and 0.882 ± 0.058 under a permanent demand mean shift, compared to 0.762 ± 0.153 and 0.842 ± 0.093 for vanilla IQL. K-MEIO shows consistently lower seed-to-seed variance, suggesting more stable training dynamics. A historically calibrated base-stock policy (Hist-BSP) outperforms all offline methods in both standard and stress evaluations. Cost breakdown confirms that K-MEIO's degradation under stress is driven entirely by stockout cost, not excess inventory.

Research limitations/implications

The offline dataset consists of simulated transitions calibrated using real retail demand statistics, not actual historical inventory records. The Koopman spectral radius constraint is a regularization device and does not constitute a formal stability guarantee for the true inventory system. The 12.4% variance reduction produces modest but consistent OOD robustness gains across seeds.

Practical implications

In supply chain contexts where promotional demand spikes or demand mean shifts are common and online policy recalibration is impractical, K-MEIO offers more stable policy behavior than vanilla IQL (seed std. ±0.039 vs. ± 0.153 in S1). A historically calibrated BSP remains a competitive offline benchmark and should be the primary comparison point.

Originality/value

This paper provides the first systematic evaluation of Koopman-structured TD targets for offline inventory RL under demand distribution shift, with direct measurement of TD-target variance reduction, a multi-seed robustness analysis, and a fair historically calibrated BSP baseline. The corrected mechanistic explanation clarifies that the Koopman advantage operates at training time through variance reduction, not at evaluation time through OOD encoding.

Coordinating inventory decisions across multiple tiers of a supply chain – from retail outlets through regional distribution centers to central warehouses – is one of the oldest problems in operations research. The classical result of Clark and Scarf (1960) established that echelon base-stock policies are optimal for serial systems under stationary demand and linear costs. In practice, real supply chains face non-stationary demand driven by promotions, product lifecycle transitions, and supply disruptions, while operational constraints (minimum order quantities, case-pack sizes, capacity ceilings) add complexity that linear theory cannot easily accommodate.

Two structural tensions make this problem difficult. Demand dynamics in multi-tier systems are nonlinearly amplified up the chain – the bullwhip effect (Lee et al., 1997) – meaning linear forecast models and linear model predictive control systematically underestimate demand shock severity. Simultaneously, managers typically have access to historical order and sales records but cannot experiment with the live system, the setting of offline reinforcement learning (RL) (Levine et al., 2020), where distributional shift is the central difficulty.

This paper proposes Koopman-enhanced Multi-Echelon Inventory Optimization (K-MEIO), which combines a Deep Koopman World Model (DKWM) with Implicit Q-Learning (IQL). The DKWM learns a globally linear embedding of inventory state dynamics, providing lower-variance temporal difference (TD) targets during training and an interpretable spectral diagnostic. The K-IQL policy is trained entirely from simulated historical data calibrated from two real retail datasets.

The principal claim is carefully scoped: among offline-learned policies, incorporating a Koopman world model reduces TD-target variance by 12.4% and produces more stable OOD robustness across seeds (±0.039 vs. ± 0.153 in S1). A historically calibrated base-stock policy outperforms all learned methods – a result reported honestly throughout.

Clark and Scarf (1960) proved that echelon base-stock policies are optimal for serial systems, which underpins most classical practice. MPC provides a dynamic alternative (Alessandri et al., 2011) but assumes linear demand dynamics that fail under non-stationary shocks (Lee et al., 1997). RL has been applied to inventory problems through OR-Gym (Hubbs et al., 2020), and the predict-then-optimize paradigm (Elmachtoub and Grigas, 2022) addresses forecast-optimization misalignment.

The Koopman operator (Koopman, 1931) is a linear infinite-dimensional operator governing the evolution of observables on a dynamical system. Williams et al. (2015) provided the first systematic data-driven approximation via Extended Dynamic Mode Decomposition. Lusch et al. (2018) demonstrated that deep autoencoders can discover Koopman eigenfunctions end-to-end. Our DKWM extends their architecture with a control input, domain-specific lifting features, and a spectral radius regularization constraint.

Offline RL learns from a fixed dataset without further environment interaction (Levine et al., 2020). Conservative Q-Learning (Kumar et al., 2020) penalizes Q-values for OOD actions. Implicit Q-Learning (IQL; Kostrikov et al., 2022) avoids querying OOD actions via expectile regression and advantage-weighted regression (Peng et al., 2019). World models (Ha and Schmidhuber, 2018) can provide deterministic TD targets to reduce value function variance (Yu et al., 2020), which is our primary motivation for the Koopman world model.

We model the three-echelon serial inventory system as a constrained Markov decision process (MDP). Let J = 5 denote the number of items and l ∈ {0,1,2} the echelon levels (Retailer, distribution center (DC), Warehouse). The state vector is:

(1)

Per-step dynamics follow exactly: (1) pipeline arrivals credited to inventory; (2) demand satisfied from retailer stock (lost sales); (3) orders placed upstream; (4) warehouse replenished from unlimited external supplier. The per-period reward is:

(2)

with α = 0.5 (holding), β = 5.0 (stockout), γ = 0.1 (ordering). Feasibility constraints: minimum order quantity (MOQ) (q_{l,j} ≥ 10 or q_{l,j} = 0), case-pack rounding (q_{l,j} mod 5 = 0), and capacity (∑_j(I_{l,j} + q_{l,j}) ≤ C_l). Parameters: C0 = 400, C1 = 800, C2 = 1,500, L = (1, 2, 3) days, T = 365.

The DKWM encoder Φ_θ: ℝˆ{n_s} → ℝˆk (k = 64) maps the inventory state to a Koopman feature vector z = Φ_θ(s). The linear dynamics in latent space are:

(3)

where A ∈ ℝˆ{k × k} and B ∈ ℝˆ{k × 2J}. The encoder is a three-layer multilayer perceptron (hidden_dim = 256) with LayerNorm and SiLU activations, augmented with cross-level inventory interaction features (capturing bullwhip coupling) and fixed seasonal lifting components. The DKWM training loss is:

(4)

with λ_ρ = λ_r = 0.1. The spectral penalty uses 10-step power iteration per batch. We emphasize that this constraint is a regularization device enforcing bounded latent predictions; it does not constitute a formal stability guarantee for the true nonlinear inventory system. The spectral radius ρ(A) = 0.968 in our experiment measures amplification in the linearized latent space – related to but distinct from the classical order-to-demand variance amplification of Lee et al. (1997).

Given the pretrained, frozen encoder Φ_θ, K-IQL learns: value network V_ψ(z), twin Q-networks (Q1_ω, Q2_ω) (z, ã), and policy π_ψ(z) with sigmoid output in [0,1]ˆ{2J}. Actions are normalized by q_max = max(a in D). The value function is fitted by expectile regression:

(5)

Here τ > 0.5 extracts an upper expectile of the in-dataset Q-value distribution, providing an optimistic value estimate of in-dataset actions. The term “conservative” in IQL refers to the structural avoidance of OOD actions (not evaluating any out-of-dataset actions during the update), not the magnitude of the value estimate. The peak at τ = 0.9 reflects the under-ordering tendency of the behavior policy.

The Q-network uses the Koopman linear prediction as the TD target:

(6)

This is the key modification distinguishing K-IQL from vanilla IQL. The linear prediction Az + Bã·q_max is deterministic and lower-variance during training than encoding the stochastic observed next state Φ_θ(s'). Critically, at evaluation time, neither K-IQL nor IQL performs any TD updates – both act deterministically. The Koopman advantage therefore operates entirely at training time, producing a smoother value function that generalizes more consistently under demand shift.

The policy is extracted via advantage-weighted regression (Peng et al., 2019):

(7)

Training: 200,000 gradient steps, batch 256, lr = 3 × 10–4, target-network τ = 0.005, primary seed 42. Hardware: NVIDIA GeForce RTX 2070.

Algorithm 1.

K-MEIO Training Procedure

  • Input:

  •  Offline dataset D = {(s,a,r,s')}; hyperparameters τ, γ, β, λ_ρ, λ_r

  • Output:

  •  DKWM parameters (Φ_θ, A, B, c, Ψ_φ); K-IQL parameters (V_ψ, Q_ω, π_ψ)

  • ──────────────────────────────────

  • Stage 1 – DKWM pretraining:

  • 1. Initialize encoder Φ_θ, dynamics (A, B, c), decoder Ψ_φ

  • 2. Normalize actions: ã = a/ q_max for all (s,a,r,s') ∈ D

  • 3. for epoch = 1, …, T_DKWM do

  • 4.  Sample sequence batch {(s_t, a_t, …, s_{t + T})} from D

  • 5.  Compute z_t = Φ_θ(s_t); predict ẑ_{t+1:} via (A, B, c)

  • 6.  Compute L_DKWM = L_pred + λ_ρ max(0, ρ(A)−1)2 + λ_r ‖Ψ(Φ(s))−s‖2

  • 7.  Update (Φ_θ, A, B, c, Ψ_φ) via AdamW

  • 8. end for

  • ──────────────────────────────────

  • Stage 2 – K-IQL Policy Training (frozen Φ_θ):

  • 9. Initialize V_ψ, Q1_ω, Q2_ω, π_ψ; copy Q_ω to target Q̄_ω

  • 10. for step = 1, …, T_IQL do

  • 11.  Sample mini-batch {(s, a, r, s')} from D

  • 12.   z ← Φ_θ(s); ẑ' ← Az + Bã·q_max ▷ Koopman TD target

  • 13.  Update V_ψ: minimize L_V = E[L2_τ(min(Q̄)(z,ã) − V_ψ(z))]

  • 14.  Update Q_ω: minimize L_Q = E[(Q(z,ã) − r − γV_ψ(ẑ'))2]

  • 15.  Update π_ψ: minimize L_π = −E[exp(β·A(z,ã)) log π_ψ(ã|z)]

  • 16.   Soft-update: Q̄_ω ← (1−η)Q̄_ω + η Q_ω

  • 17. end for

  • ──────────────────────────────────

  • Deployment:

  • 18. Given s: z ← Φ_θ(s); ã* ← π_ψ(z)

  • 19. a* ← Project(ã*·q_max) ▷ MOQ/ case-pack/ capacity feasibility

The simulation environment implements the MDP of Section 3.1 exactly. Parameters: J = 5 items, C0 = 400, C1 = 800, C2 = 1,500 units, lead times (1, 2, 3) days, cost parameters α = 0.5, β = 5.0, γ = 0.1, MOQ = 10, case-pack = 5, T = 365 steps per episode.

Rather than relying on purely synthetic demand parameters, we calibrate the demand model from two publicly available real retail datasets. The University of California, Irvine Online Retail dataset (Chen, 2015) comprises 541,909 transactions from a UK retailer in 2010–2011; we aggregate to daily item-level demand for five representative items and fit Negative Binomial distributions to capture overdispersion. The Rossmann Store Sales data (Rossmann GmbH, 2015) provides explicit promotional flags across 1,115 German pharmacy stores, from which we extract weekly seasonal factors and promotional multipliers (mean spike 3–5 × , frequency 5–15% of days). These real-data statistics drive the simulation demand model, preserving the key structural features absent from synthetic data. It is important to note that the offline dataset itself consists of simulated state-action-reward-next-state transitions generated by a mixed behavior policy (60% base-stock, 30% random, 10% greedy reorder-point); the inventory actions and costs are simulation outputs rather than actual historical inventory records. Training dataset: 109,500 transitions (300 episodes); validation: 10,950 transitions (30 episodes).

We compare K-MEIO against four baselines.

Tuned BSP. The order-up-to base-stock policy orders enough each step to bring inventory to a target fraction f of capacity C_l/J per item. The fraction f is selected by grid search over {0.3, 0.35, …, 0.90} (16 values), evaluated on 10 episodes from the evaluation environment (seed = 500). The best f is applied to the 20-episode test set. This baseline has access to evaluation-environment information not available to any offline-learned method and therefore represents an upper reference rather than a fair offline comparison.

Historically Calibrated BSP (Hist-BSP). To provide a fair offline baseline, we calibrate a second base-stock policy using only training-set demand statistics. Daily demand mean μ and standard deviation σ are estimated from the action data in D (mean nonzero order ÷ 1.6 as a proxy for demand, consistent with the 60% base-stock component of the behavior policy). The base-stock level follows the standard newsvendor safety-stock formula: S = (L+1)·μ + z0.95·σ·√(L+1), where L is the echelon lead time and z0.95 = 1.645 is the 95th-percentile Normal quantile. No evaluation data are used. This is the primary fair comparison for offline learned methods.

Linear MPC. At each step, demand is forecast using exponential smoothing (α = 0.1) and the controller orders to cover the H = 7-day cumulative forecast plus a safety stock of 1.28·σ·√H (90th-percentile coverage). Orders are clipped to available capacity. The MPC uses no offline dataset; it updates the demand estimate online from the demand observable at each step.

Vanilla IQL. An ablated version of K-IQL that is identical in all architecture and hyperparameter choices (τ = 0.7, γ = 0.99, β = 3.0, 200,000 steps, same encoder Φ_θ), except the Bellman update uses Φ_θ(s') as the next-feature estimate instead of the Koopman linear prediction Az + Bã·q_max. This isolates the contribution of the Koopman TD target from all other design choices. The checkpoint used for Vanilla IQL is produced by running the same training loop with the flag use_koopman_td = False. Note that IQL (direct encode) does NOT bypass the Koopman encoder: it encodes both the current state z = Φ_θ(s) and the next state z' = Φ_θ(s') through the same pretrained encoder. The sole difference from K-IQL is that Φ_θ(s') – a stochastic function of the observed next state – is used as the TD feature instead of the deterministic Koopman prediction Az + Bã·q_max.

An oracle policy with perfect demand foreknowledge (ordering exactly the next period's demand plus one period of safety stock) provides the performance upper bound. All RL-based policies use the same feasibility projector (MOQ rounding, case-pack, capacity clipping) applied post-hoc to the policy output.

Table 1 reports main evaluation results (seed = 1,000, n = 20 episodes). All methods achieve high service levels. The tuned BSP achieves the highest return (−122,551), benefiting from evaluation-environment tuning unavailable to offline methods. The historically calibrated Hist-BSP (−167,408) outperforms K-IQL (−187,850) and IQL (−153,310), showing that a simple offline rule-based policy is competitive under stationary demand. K-IQL achieves the lowest order volatility (0.114), relevant in contexts where order instability generates operational overhead (see Figure 1).

Table 2 and Figures 2 and 3 report the ablation. For the expectile parameter τ (Panel A), return peaks at τ = 0.9 (−132,261). Higher τ extracts a more optimistic upper expectile of the in-dataset Q-value distribution, appropriate when the behavior policy under-orders relative to optimal. Capacity violations are zero for τ ∈ {0.6, 0.7} and appear at extreme values. Panel B shows that Koopman TD achieves slightly lower return than direct IQL under standard evaluation; its advantage emerges in OOD stress scenarios (Section 4.7).

The small residual capacity violations at τ ∈ {0.5, 0.9} (≤0.4% of steps) arise from a timing mismatch between the feasibility projector and the step dynamics. The projector limits orders based on current on-hand inventory without accounting for in-transit pipeline quantities. When a large pipeline delivery arrives in a subsequent step, the combined inventory can momentarily exceed the capacity ceiling despite the projector having clipped that step's order. This effect is amplified at extreme τ values where the policy's order quantities are more variable.

We measured TD-target standard deviation at 200-step intervals during 20,000 training steps. The Koopman TD variant achieves a lower variance of TD targets than direct encoding, as quantified in the following equation:

(8)

Measured values: K-IQL mean TD-target std = 129.2 vs. 147.6 for direct encoding – a 12.4% reduction. Mean Bellman residuals: 231.4 vs. 229.1. Figure 4 shows the variance trajectories. The mechanism is at training time: the deterministic linear predictor Az + Ba produces structurally constrained, zero-noise next-feature estimates. At evaluation time, both policies act deterministically without any TD updates; the benefit is a smoother value function landscape.

Table 3 and Figures 5 and 6 report robustness ratios (Stress service level (SL)/Normal SL) for three demand-side scenarios: S1 – promotional spike (demand ×3, days 100–113); S2 – supply disruption (upstream shipments reduced to 20%, days 50–63); S3 – permanent demand shift (mean 10 → 25 units/day from day 180). Multi-seed results from three training seeds (42, 123, 2024) are shown in parentheses.

Across three training seeds, K-IQL shows lower standard deviation of robustness ratio than IQL in S1 (±0.039 vs ± 0.153). This stability advantage – rather than mean improvement – is the primary multi-seed finding. The mean improvement across seeds is 12.9% in S1 and 4.7% in S3. In S2, both methods perform similarly because supply disruptions affect pipeline dynamics rather than demand distribution.

Table 4 and Figure 7 present the full cost decomposition including IQL (direct encode), enabling direct comparison of the two offline-learned methods. Under S1 (promotion spike), K-IQL maintains higher on-hand inventory than IQL in both normal (992 vs 808 units) and stress periods (648 vs 244 units), consistent with K-IQL’s smoother ordering behavior (volatility 0.108 vs 0.144 in Table 1). Despite this buffer, K-IQL incurs higher per-step stockout during stress (153.2 vs 86.4) because IQL up-scales orders more aggressively (27.2 vs 19.1 per step), partially compensating for leaner inventory. Under S3, IQL likewise achieves lower stockout (22.4 vs 110.3) and higher stress SL (0.966 vs 0.839). This reactive advantage explains IQL higher single-seed robustness in Table 3 (0.890 vs 0.811 in S1). However, IQL’s reactive ordering is also the source of its higher cross-seed variance (Table 3: ± 0.153 vs ± 0.039): when a different training seed yields a policy that under-reacts to stress, IQL robustness falls substantially. K-IQL Koopman-structured value function – with 12.4% lower TD-target variance – produces consistently moderate ordering across seeds at the cost of single-seed peak performance. Cost decomposition confirms that SL degradation in both methods is driven by stockout cost, not excess inventory buffering.

The results prompt three observations. First, Hist-BSP outperforms K-IQL in absolute return and OOD robustness because reactive inventory policies respond to current inventory depletion regardless of demand level. K-IQL's order quantities reflect the training demand distribution and do not scale up sufficiently when demand increases 2.5-fold in S3. Second, the Koopman world model contributes a 12.4% TD-target variance reduction during training (not at evaluation time), producing more stable policy behavior across seeds (±0.039 vs ± 0.153 in S1). Third, cost decomposition confirms that K-IQL's OOD degradation is driven by stockout rather than holding cost, ruling out the excess-buffering explanation.

K-MEIO is likely to provide value over Hist-BSP under three conditions: (1) demand patterns exhibit non-stationary structure that a fixed base-stock level cannot track; (2) multiple items have correlated demand benefiting from joint optimization; (3) online recalibration is infeasible. Under stationary demand with feasible recalibration, Hist-BSP remains the simpler and more robust choice.

Three limitations are noted. The offline dataset is simulated, not from actual historical inventory records. The Hist-BSP uses a Normal approximation for safety stock; empirical quantile calibration might close the gap further. The Koopman spectral radius measures latent-space amplification in the linear approximation – not the classical bullwhip ratio of Lee et al. (1997); a rigorous connection requires additional theoretical development.

This paper introduced K-MEIO, a two-stage offline RL framework for multi-echelon inventory control. The Deep Koopman World Model provides a 12.4% reduction in TD-target variance during training (Equation 8), leading to more stable policy behavior across seeds. The K-IQL policy achieves SL 0.995 with zero capacity violations under standard evaluation, and OOD robustness ratios of 0.861 ± 0.039 and 0.882 ± 0.058 under promotional spikes and demand shifts, respectively,– versus 0.762 ± 0.153 and 0.842 ± 0.093 for vanilla IQL.

Three design guidelines emerge: the Koopman advantage is a training-time phenomenon (variance reduction), not an evaluation-time mechanism; τ = 0.9 outperforms τ = 0.7 in this domain due to the behavior policy's under-ordering tendency; and a historically calibrated BSP should be the primary offline benchmark in any future comparison.

Alessandri
,
A.
,
Baglietto
,
M.
,
Battistelli
,
G.
and
Zavala
,
V.
(
2011
), “
Moving-horizon state estimation for nonlinear discrete-time systems
”,
Automatica
, Vol. 
47
No. 
7
, pp. 
1557
-
1562
.
Chen
,
D.
(
2015
), “
UCI online retail dataset
”,
UCI Machine Learning Repository, available at:
 Link to the website (
accessed
 1 February 2025).
Clark
,
A.J.
and
Scarf
,
H.
(
1960
), “
Optimal policies for a multi-echelon inventory problem
”,
Management Science
, Vol. 
6
No. 
4
, pp. 
475
-
490
, doi: .
Elmachtoub
,
A.N.
and
Grigas
,
P.
(
2022
), “
Smart ‘predict, then optimize’
”,
Management Science
, Vol. 
68
No. 
1
, pp. 
9
-
26
, doi: .
Ha
,
D.
and
Schmidhuber
,
J.
(
2018
), “
World models
”, arXiv:.
Hubbs
,
C.D.
,
Perez
,
H.D.
,
Sartor
,
O.
,
Sahinidis
,
N.
,
Grossmann
,
I.E.
and
Wassick
,
C.M.
(
2020
), “
OR-gym: a reinforcement learning library for operations research problems
”, arXiv:.
Koopman
,
B.O.
(
1931
), “
Hamiltonian systems and transformation in Hilbert space
”,
Proceedings of the National Academy of Sciences
, Vol. 
17
No. 
5
, pp. 
315
-
318
, doi: .
Kostrikov
,
I.
,
Nair
,
A.
and
Levine
,
S.
(
2022
), “
Offline reinforcement learning with implicit Q-learning
”,
ICLR 2022
,
OpenReview
.
Kumar
,
A.
,
Zhou
,
A.
,
Tucker
,
G.
and
Levine
,
S.
(
2020
), “
Conservative Q-learning for offline reinforcement learning
”,
NeurIPS
, Vol. 
33
, pp. 
1179
-
1191
.
Lee
,
H.L.
,
Padmanabhan
,
V.
and
Whang
,
S.
(
1997
), “
Information distortion in a supply chain: the bullwhip effect
”,
Management Science
, Vol. 
43
No. 
4
, pp. 
546
-
558
, doi: .
Levine
,
S.
,
Kumar
,
A.
,
Tucker
,
G.
and
Fu
,
J.
(
2020
), “
Offline reinforcement learning: tutorial, review, and perspectives on open problems
”, arXiv:.
Lusch
,
B.
,
Kutz
,
J.N.
and
Brunton
,
S.L.
(
2018
), “
Deep learning for universal linear embeddings of nonlinear dynamics
”,
Nature Communications
, Vol. 
9
No. 
1
, p.
4950
, doi: .
Peng
,
X.B.
,
Kumar
,
A.
,
Zhang
,
G.
and
Levine
,
S.
(
2019
), “
Advantage-weighted regression
”, arXiv:.
Rossmann GmbH
(
2015
), “
Rossmann store sales
”,
Kaggle, available at:
 Link to the website
Williams
,
M.O.
,
Kevrekidis
,
I.G.
and
Rowley
,
C.W.
(
2015
), “
A data-driven approximation of the Koopman operator: extending dynamic mode decomposition
”,
Journal of Nonlinear Science
, Vol. 
25
No. 
6
, pp. 
1307
-
1346
, doi: .
Yu
,
T.
,
Kumar
,
A.
,
Rafailov
,
R.
,
Rajeswaran
,
A.
,
Levine
,
S.
and
Finn
,
C.
(
2020
), “
MOPO: model-based offline policy optimization
”,
NeurIPS
, Vol. 
33
, pp. 
14129
-
14142
.
Published in Modern Supply Chain Research and Applications. Published by Emerald Publishing Limited. This article is published under the Creative Commons Attribution (CC BY 4.0) licence. Anyone may reproduce, distribute, translate and create derivative works of this article (for both commercial and non-commercial purposes), subject to full attribution to the original publication and authors. The full terms of this licence may be seen at Link to the terms of the CC BY 4.0 licence.

Data & Figures

Figure 1
Three bar graphs comparing different methods on mean return, service level and order volatility.Panel a: A bar graph of mean return with the x-axis listing methods and the y-axis measuring return from −150,000 to 0. The tuned BSP achieves the highest return at −122,551. A red dashed line marks the oracle upper bound at −59,640. Panel b: A bar graph of service level with the x-axis listing methods and the y-axis measuring service level from 0.94 to 1.00. All methods achieve high service levels, with a target of 95 percent shown as a dashed line. Panel c: A bar graph of order volatility with the x-axis listing methods and the y-axis measuring order volatility from 0 to 0.4. K-IQL achieves the lowest order volatility at 0.114.

Main experimental results: (a) mean return with oracle upper bound (dashed), (b) service level with 95% target (dashed), (c) order volatility. K-IQL and both BSP variants achieve zero capacity violations

Figure 1
Three bar graphs comparing different methods on mean return, service level and order volatility.Panel a: A bar graph of mean return with the x-axis listing methods and the y-axis measuring return from −150,000 to 0. The tuned BSP achieves the highest return at −122,551. A red dashed line marks the oracle upper bound at −59,640. Panel b: A bar graph of service level with the x-axis listing methods and the y-axis measuring service level from 0.94 to 1.00. All methods achieve high service levels, with a target of 95 percent shown as a dashed line. Panel c: A bar graph of order volatility with the x-axis listing methods and the y-axis measuring order volatility from 0 to 0.4. K-IQL achieves the lowest order volatility at 0.114.

Main experimental results: (a) mean return with oracle upper bound (dashed), (b) service level with 95% target (dashed), (c) order volatility. K-IQL and both BSP variants achieve zero capacity violations

Close Figure 1
Figure 2
Three graphs showing the effect of the expectile parameter on return, service level, and order volatility.Panel A: A bar graph showing mean return for different values of the expectile parameter tau. The x-axis lists tau values from 0.5 to 0.9, and the y-axis measures return from −175,000 to 0. A red dashed line marks the oracle upper bound. The highest return is at tau = 0.7. Panel B: A line graph showing service level for different values of the expectile parameter tau. The x-axis lists tau values from 0.5 to 0.9, and the y-axis measures service level from 0.960 to 1.005. A dashed line marks the 95% target. The lowest service level is at tau = 0.8. Panel C: A line graph showing order volatility for different values of the expectile parameter tau. The x-axis lists tau values from 0.5 to 0.9, and the y-axis measures order volatility from 0.12 to 0.24. The highest order volatility is at tau = 0.7.

Ablation: effect of τ on (a) return, (b) service level, (c) order volatility. Peak return at τ = 0.9 reflects the under-ordering tendency of the behavior policy

Figure 2
Three graphs showing the effect of the expectile parameter on return, service level, and order volatility.Panel A: A bar graph showing mean return for different values of the expectile parameter tau. The x-axis lists tau values from 0.5 to 0.9, and the y-axis measures return from −175,000 to 0. A red dashed line marks the oracle upper bound. The highest return is at tau = 0.7. Panel B: A line graph showing service level for different values of the expectile parameter tau. The x-axis lists tau values from 0.5 to 0.9, and the y-axis measures service level from 0.960 to 1.005. A dashed line marks the 95% target. The lowest service level is at tau = 0.8. Panel C: A line graph showing order volatility for different values of the expectile parameter tau. The x-axis lists tau values from 0.5 to 0.9, and the y-axis measures order volatility from 0.12 to 0.24. The highest order volatility is at tau = 0.7.

Ablation: effect of τ on (a) return, (b) service level, (c) order volatility. Peak return at τ = 0.9 reflects the under-ordering tendency of the behavior policy

Close Figure 2
Figure 3
Three bar graphs comparing Koopman TD, direct encoding, and tuned BSP across mean return, service level, and order volatility.Panel A: A bar graph of mean return shows K-IQL (Koopman TD) at about −187,850, IQL (direct encode) at about −153,310, and BSP (tuned) at about −122,550. A red dashed line marks the oracle upper bound at −59,640. Panel B: A bar graph of service level shows all methods achieving near 1.0, with K-IQL at 0.995 and IQL and BSP at 1.000. A dashed line marks the 95% target. Panel C: A bar graph of order volatility shows K-IQL (Koopman TD) with the lowest volatility at about 0.1, IQL (direct encode) at about 0.14, and BSP (tuned) at about 0.4.

Ablation: Koopman TD vs. direct next-state encoding under standard evaluation. The Koopman advantage is absent here; it emerges under demand distribution shift (Figure 5)

Figure 3
Three bar graphs comparing Koopman TD, direct encoding, and tuned BSP across mean return, service level, and order volatility.Panel A: A bar graph of mean return shows K-IQL (Koopman TD) at about −187,850, IQL (direct encode) at about −153,310, and BSP (tuned) at about −122,550. A red dashed line marks the oracle upper bound at −59,640. Panel B: A bar graph of service level shows all methods achieving near 1.0, with K-IQL at 0.995 and IQL and BSP at 1.000. A dashed line marks the 95% target. Panel C: A bar graph of order volatility shows K-IQL (Koopman TD) with the lowest volatility at about 0.1, IQL (direct encode) at about 0.14, and BSP (tuned) at about 0.4.

Ablation: Koopman TD vs. direct next-state encoding under standard evaluation. The Koopman advantage is absent here; it emerges under demand distribution shift (Figure 5)

Close Figure 3
Figure 4
A line graph and a bar chart comparing TD-target variance during training and mean TD-target standard deviation.The left graph shows TD-target standard deviation during training over 20,000 steps. The x-axis measures training steps and the y-axis measures TD-target standard deviation. Two lines represent K-IQL and IQL, with K-IQL generally showing lower variance. The right bar chart compares mean TD-target standard deviation, with K-IQL at 129.2 and IQL direct encode at 147.6, a 12.4 percent reduction.

(a) TD-target standard deviation across 20,000 training steps. (b) Summary bar chart: Koopman TD achieves 12.4% lower mean variance than direct next-state encoding

Figure 4
A line graph and a bar chart comparing TD-target variance during training and mean TD-target standard deviation.The left graph shows TD-target standard deviation during training over 20,000 steps. The x-axis measures training steps and the y-axis measures TD-target standard deviation. Two lines represent K-IQL and IQL, with K-IQL generally showing lower variance. The right bar chart compares mean TD-target standard deviation, with K-IQL at 129.2 and IQL direct encode at 147.6, a 12.4 percent reduction.

(a) TD-target standard deviation across 20,000 training steps. (b) Summary bar chart: Koopman TD achieves 12.4% lower mean variance than direct next-state encoding

Close Figure 4
Figure 5
A heat map showing robustness ratios for three scenarios across three methods.The heat map measures robustness ratios for three scenarios: Promotion, Supply Disruption, and Demand Shift. The x-axis lists three methods: K-IQL, IQL, and BSP. The y-axis lists the three scenarios. The color scale ranges from 0.4 to 1.0, with green indicating higher robustness. For Promotion, K-IQL shows 0.811 plus or minus 0.039, IQL shows 0.890 plus or minus 0.153, and BSP shows 0.994. For Supply Disruption, K-IQL shows 0.843, IQL shows 1.000, and BSP shows 1.000. For Demand Shift, K-IQL shows 0.846 plus or minus 0.058, IQL shows 0.966 plus or minus 0.093, and BSP shows 1.000.

OOD robustness heatmap. Green cells indicate a high robustness ratio. Values for K-IQL and IQL in S1 and S3 include multi-seed standard deviations in parentheses. K-IQL shows lower seed variance than IQL in demand-side shifts

Figure 5
A heat map showing robustness ratios for three scenarios across three methods.The heat map measures robustness ratios for three scenarios: Promotion, Supply Disruption, and Demand Shift. The x-axis lists three methods: K-IQL, IQL, and BSP. The y-axis lists the three scenarios. The color scale ranges from 0.4 to 1.0, with green indicating higher robustness. For Promotion, K-IQL shows 0.811 plus or minus 0.039, IQL shows 0.890 plus or minus 0.153, and BSP shows 0.994. For Supply Disruption, K-IQL shows 0.843, IQL shows 1.000, and BSP shows 1.000. For Demand Shift, K-IQL shows 0.846 plus or minus 0.058, IQL shows 0.966 plus or minus 0.093, and BSP shows 1.000.

OOD robustness heatmap. Green cells indicate a high robustness ratio. Values for K-IQL and IQL in S1 and S3 include multi-seed standard deviations in parentheses. K-IQL shows lower seed variance than IQL in demand-side shifts

Close Figure 5
Figure 6
Three bar graphs showing service levels during normal and stress periods for promotion, supply disruption, and demand shift scenarios.Solid bars represent normal period performance; cross-hatched bars represent stress period performance. A dashed line marks the 90% service level target. Panel S1 (Promotion): K-IQL normal ≈1.0, stress ≈0.8; IQL normal ≈1.0, stress ≈0.88; BSP normal and stress both ≈1.0. Panel S2 (Supply Disruption): K-IQL normal ≈1.0, stress ≈0.8; IQL normal ≈1.0, stress ≈0.8; BSP normal and stress both ≈1.0. Panel S3 (Demand Shift): K-IQL normal ≈1.0, stress ≈0.88; IQL normal ≈1.0, stress ≈0.75; BSP normal and stress both ≈1.0. In S1 and S3, IQL degrades more than K-IQL under stress.

Service level during normal (solid bars) vs stress (cross-hatched) periods for S1 (promotion), S2 (disruption), and S3 (demand shift). BSP is near-unaffected; K-IQL degrades more gracefully than IQL on average in S1 and S3

Figure 6
Three bar graphs showing service levels during normal and stress periods for promotion, supply disruption, and demand shift scenarios.Solid bars represent normal period performance; cross-hatched bars represent stress period performance. A dashed line marks the 90% service level target. Panel S1 (Promotion): K-IQL normal ≈1.0, stress ≈0.8; IQL normal ≈1.0, stress ≈0.88; BSP normal and stress both ≈1.0. Panel S2 (Supply Disruption): K-IQL normal ≈1.0, stress ≈0.8; IQL normal ≈1.0, stress ≈0.8; BSP normal and stress both ≈1.0. Panel S3 (Demand Shift): K-IQL normal ≈1.0, stress ≈0.88; IQL normal ≈1.0, stress ≈0.75; BSP normal and stress both ≈1.0. In S1 and S3, IQL degrades more than K-IQL under stress.

Service level during normal (solid bars) vs stress (cross-hatched) periods for S1 (promotion), S2 (disruption), and S3 (demand shift). BSP is near-unaffected; K-IQL degrades more gracefully than IQL on average in S1 and S3

Close Figure 6
Figure 7
Four bar graphs comparing holding and stockout costs during normal and stress periods for S1 and S3.The image contains four bar graphs comparing holding cost (blue) and stockout cost (red) during normal and stress periods for S1 (Promotion) and S3 (Demand Shift). The x-axis lists K-IQL and BSP; the y-axis measures cost per step. For S1 normal period: K-IQL holding ≈490, BSP holding ≈420, no stockout for either. For S1 stress period: K-IQL holding ≈300 and stockout cost 153; BSP holding ≈300 with no stockout cost. For S3 normal period: K-IQL holding ≈490, BSP holding ≈420, no stockout for either. For S3 stress period: K-IQL holding ≈300 and stockout cost 110; BSP holding ≈310 with no stockout cost. Stockout cost drives K-IQL’s degradation under stress; BSP maintains zero stockout in both scenarios.

Cost breakdown during normal and stress periods for S1 (promotion) and S3 (demand shift). Holding cost (blue) and stockout cost (red) per step. K-IQL's service level degradation is driven entirely by stockout cost increase, not holding cost; inventory levels decrease during stress

Figure 7
Four bar graphs comparing holding and stockout costs during normal and stress periods for S1 and S3.The image contains four bar graphs comparing holding cost (blue) and stockout cost (red) during normal and stress periods for S1 (Promotion) and S3 (Demand Shift). The x-axis lists K-IQL and BSP; the y-axis measures cost per step. For S1 normal period: K-IQL holding ≈490, BSP holding ≈420, no stockout for either. For S1 stress period: K-IQL holding ≈300 and stockout cost 153; BSP holding ≈300 with no stockout cost. For S3 normal period: K-IQL holding ≈490, BSP holding ≈420, no stockout for either. For S3 stress period: K-IQL holding ≈300 and stockout cost 110; BSP holding ≈310 with no stockout cost. Stockout cost drives K-IQL’s degradation under stress; BSP maintains zero stockout in both scenarios.

Cost breakdown during normal and stress periods for S1 (promotion) and S3 (demand shift). Holding cost (blue) and stockout cost (red) per step. K-IQL's service level degradation is driven entirely by stockout cost increase, not holding cost; inventory levels decrease during stress

Close Figure 7
Table 1

Main experimental results (seed = 1,000, n = 20). Oracle mean return: −59,640. All methods evaluated with identical seed and episode count

MethodReturnStdServ. levelCap. viol.Ord. volat.
BSP (tuned)−122,5514371.0000.00000.471
Hist-BSP (offline)−167,4082511.0000.0000–
Linear MPC−138,5864971.0000.00000.317
K-IQL (ours, τ = 0.7)−187,8501,6310.9950.00000.114
IQL (direct, τ = 0.7)−153,3107651.0000.00000.144
Table 2

Ablation results (seed = 1,000, n = 20). (A) Expectile parameter. (B) Koopman TD vs. direct encoding

VariantReturnServ. levelCap. viol.Volatility
(A) τ = 0.5−155,7541.0000.00360.201
(A) τ = 0.6−160,3930.9990.00000.131
(A) τ = 0.7−183,7821.0000.00000.108
(A) τ = 0.8−148,7230.9830.00000.242
(A) τ = 0.9−132,2610.9900.00180.166
(B) K-IQL (Koopman TD)−183,7821.0000.00000.108
(B) IQL (direct encode)−153,3101.0000.00070.144
Table 3

OOD robustness ratios (Stress SL/Normal SL). Multi-seed results (3 seeds) shown in parentheses where available

MethodS1: PromotionS2: DisruptionS3: Demand shift
K-IQL (Koopman TD)0.811 (0.861 ± 0.039)0.8430.846 (0.882 ± 0.058)
IQL (direct encode)0.890 (0.762 ± 0.153)1.0000.966 (0.842 ± 0.093)
Hist-BSP (offline)0.9991.0001.000
BSP (tuned)0.9941.0001.000
Table 4

Cost breakdown: normal vs stress periods for S1 and S3. Values are per-step averages. K-IQL SL degradation is driven by stockout, not excess inventory

MethodPeriodHoldingStockoutAvg invSL
K-IQL (Koopman TD)S1 Normal495.92.3991.70.994
IQL (direct encode)S1 Normal404.20.8808.50.999
Hist-BSPS1 Normal443.00.01886.01.000
K-IQL (Koopman TD)S1 Stress324.1153.2648.20.806
IQL (direct encode)S1 Stress121.886.4243.70.889
Hist-BSPS1 Stress301.01.1602.00.999
K-IQL (Koopman TD)S3 Normal494.02.3987.90.991
IQL (direct encode)S3 Normal447.30.0894.61.000
Hist-BSPS3 Normal441.60.0883.11.000
K-IQL (Koopman TD)S3 Stress291.9110.3583.70.839
IQL (direct encode)S3 Stress155.622.4311.20.966
Hist-BSPS3 Stress350.40.0700.91.000

Supplements

References

Alessandri
,
A.
,
Baglietto
,
M.
,
Battistelli
,
G.
and
Zavala
,
V.
(
2011
), “
Moving-horizon state estimation for nonlinear discrete-time systems
”,
Automatica
, Vol. 
47
No. 
7
, pp. 
1557
-
1562
.
Chen
,
D.
(
2015
), “
UCI online retail dataset
”,
UCI Machine Learning Repository, available at:
 Link to the website (
accessed
 1 February 2025).
Clark
,
A.J.
and
Scarf
,
H.
(
1960
), “
Optimal policies for a multi-echelon inventory problem
”,
Management Science
, Vol. 
6
No. 
4
, pp. 
475
-
490
, doi: .
Elmachtoub
,
A.N.
and
Grigas
,
P.
(
2022
), “
Smart ‘predict, then optimize’
”,
Management Science
, Vol. 
68
No. 
1
, pp. 
9
-
26
, doi: .
Ha
,
D.
and
Schmidhuber
,
J.
(
2018
), “
World models
”, arXiv:.
Hubbs
,
C.D.
,
Perez
,
H.D.
,
Sartor
,
O.
,
Sahinidis
,
N.
,
Grossmann
,
I.E.
and
Wassick
,
C.M.
(
2020
), “
OR-gym: a reinforcement learning library for operations research problems
”, arXiv:.
Koopman
,
B.O.
(
1931
), “
Hamiltonian systems and transformation in Hilbert space
”,
Proceedings of the National Academy of Sciences
, Vol. 
17
No. 
5
, pp. 
315
-
318
, doi: .
Kostrikov
,
I.
,
Nair
,
A.
and
Levine
,
S.
(
2022
), “
Offline reinforcement learning with implicit Q-learning
”,
ICLR 2022
,
OpenReview
.
Kumar
,
A.
,
Zhou
,
A.
,
Tucker
,
G.
and
Levine
,
S.
(
2020
), “
Conservative Q-learning for offline reinforcement learning
”,
NeurIPS
, Vol. 
33
, pp. 
1179
-
1191
.
Lee
,
H.L.
,
Padmanabhan
,
V.
and
Whang
,
S.
(
1997
), “
Information distortion in a supply chain: the bullwhip effect
”,
Management Science
, Vol. 
43
No. 
4
, pp. 
546
-
558
, doi: .
Levine
,
S.
,
Kumar
,
A.
,
Tucker
,
G.
and
Fu
,
J.
(
2020
), “
Offline reinforcement learning: tutorial, review, and perspectives on open problems
”, arXiv:.
Lusch
,
B.
,
Kutz
,
J.N.
and
Brunton
,
S.L.
(
2018
), “
Deep learning for universal linear embeddings of nonlinear dynamics
”,
Nature Communications
, Vol. 
9
No. 
1
, p.
4950
, doi: .
Peng
,
X.B.
,
Kumar
,
A.
,
Zhang
,
G.
and
Levine
,
S.
(
2019
), “
Advantage-weighted regression
”, arXiv:.
Rossmann GmbH
(
2015
), “
Rossmann store sales
”,
Kaggle, available at:
 Link to the website
Williams
,
M.O.
,
Kevrekidis
,
I.G.
and
Rowley
,
C.W.
(
2015
), “
A data-driven approximation of the Koopman operator: extending dynamic mode decomposition
”,
Journal of Nonlinear Science
, Vol. 
25
No. 
6
, pp. 
1307
-
1346
, doi: .
Yu
,
T.
,
Kumar
,
A.
,
Rafailov
,
R.
,
Rajeswaran
,
A.
,
Levine
,
S.
and
Finn
,
C.
(
2020
), “
MOPO: model-based offline policy optimization
”,
NeurIPS
, Vol. 
33
, pp. 
14129
-
14142
.

Languages

or Create an Account

Close subscription notice
Close access options