Offline Dynamic Inventory and Pricing Strategy: Addressing Censored and Dependent Demand

Korel Gundem, Zhengling QiarXiv 2025 · DOI

Introduction

In retail and e-commerce management, the dual levers of pricing and inventory control are fundamental to profitability. However, optimizing these levers simultaneously is notoriously difficult due to the nature of real-world data. Traditional models often rely on two simplifying assumptions: that demand is independent and identically distributed (i.i.d.) and that it is fully observable. In practice, demand is frequently censored—when a stockout occurs, the true potential demand remains unknown—and dependent on historical context, such as previous sales trends or economic shifts.

This research introduces a novel data-driven framework for joint pricing and inventory control. By leveraging offline reinforcement learning (RL), the authors provide a method to derive optimal strategies from historical data without the need for costly or risky real-world experimentation.

The Problem: Censoring and Dependency

The authors identify three primary hurdles in modern inventory management:

  1. The Censoring Trap: When inventory hits zero, sales data only reflects the stock on hand, not the actual consumer appetite. Treating these sales figures as true demand leads to biased policies that consistently under-order, creating a cycle of lost revenue.
  2. The Dependency Loop: Demand is rarely a series of isolated events. It is often influenced by past demand, price changes, and external economic factors. This dependency breaks the "Markov property"—the mathematical assumption that the current state provides all necessary information for future prediction.
  3. The Offline Constraint: While companies possess vast historical datasets, they cannot afford to let an AI agent "explore" by setting arbitrary prices or order quantities in a live environment. The challenge lies in learning effectively from "blinded" and "connected" historical logs.

Methodology: C-FQI and PC-FQI

To address these challenges, the study proposes two main algorithms: Censored Fitted Q-Iteration (C-FQI) and Pessimistic Censored Fitted Q-Iteration (PC-FQI). The framework operates through a three-step process:

1. Reward Imputation via Survival Analysis

Since true demand is unknown during stockouts, the actual profit (or stockout cost) is also unknown. The authors utilize survival analysis—specifically the Kaplan-Meier estimator—to "impute" or estimate the missing demand. This allows the model to fill in the gaps in the profit data more accurately than simple heuristics.

2. High-Order MDP Approximation

To handle the dependency of demand, the authors treat the problem as a high-order Markov Decision Process (MDP). By tracking the number of consecutive censoring instances, the model gains a better understanding of how much information has been lost over time, allowing it to adjust its strategy based on the reliability of recent data.

3. The Principle of Pessimism

In the PC-FQI variant, the algorithm incorporates a "pessimistic" penalty for state-action pairs that are underrepresented in the historical data. This prevents the model from making over-confident decisions in unfamiliar scenarios, a critical safeguard in offline learning where the model cannot verify its assumptions through live testing.

Experimental Insights

The authors tested their approach using a synthetic simulation environment that mirrors complex retail dynamics, including covariates like interest rates and economic cycles. They compared their algorithms against an "Oracle" policy—a theoretical benchmark that has perfect knowledge of hidden demand.

Key Findings

  • The Cost of Silence: The performance gap between the Oracle and the proposed policies quantifies the "information cost" of censoring. Even with advanced modeling, the lack of true demand data imposes a ceiling on potential profit, highlighting the value of accurate data collection.
  • Situational Pessimism: A significant finding was that PC-FQI (Pessimistic) outperforms standard methods when the training data is derived from a near-optimal policy. Conversely, C-FQI (Standard) is more effective when the training data is noisy or random. This suggests that if a company's current manual policy is already strong, a pessimistic approach is safer for refinement.
  • Convergence and Guarantees: The authors provided mathematical "finite sample regret bounds," proving that the algorithms are guaranteed to approach the optimal strategy as more data is provided. In simulations, the models showed robust convergence within 5 to 50 training episodes.

Conclusion and Future Work

This research provides a robust mathematical foundation for retailers to optimize their operations using existing data. By accounting for the hidden nature of demand and its temporal dependencies, the C-FQI and PC-FQI frameworks offer a path toward more resilient supply chains.

Future research directions include expanding the model to account for competitive pricing in multi-firm environments, exploring "responsive pricing" (adjusting prices within a single period), and extending the framework to multi-tier supply chains involving manufacturers and wholesalers.

Summary updated

BibTeX
@misc{gundem2025offline,
  author = {Korel Gundem and Zhengling Qi},
  title = {{Offline Dynamic Inventory and Pricing Strategy: Addressing Censored and Dependent Demand}},
  year = {2025},
  eprint = {2504.09831},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09831},
}
Figure