Abstract
Fresh retail faces a significant challenge in "censored demand," where stockouts lead to systematic underestimation of true consumer needs. This paper introduces FreshRetailNet-50K, a large-scale dataset featuring hourly sales and explicit stockout annotations. By employing a two-stage modeling framework—latent demand recovery followed by robust forecasting—researchers demonstrate a reduction in demand underestimation from over 7% to near-zero, significantly enhancing inventory management for perishable goods.
Introduction: The Challenge of Censored Demand
In the high-stakes environment of 30-minute grocery delivery, accurate stocking is critical. Overstocking leads to spoilage, while understocking results in lost revenue and "censored demand." Traditional models trained on raw sales data fail to distinguish between zero sales due to lack of interest and zero sales due to empty shelves. This creates a feedback loop where under-stocking leads to lower predicted demand, further exacerbating stockouts.
The FreshRetailNet-50K Dataset
To address this, researchers from Dingdong Ltd. and Sun Yat-Sen University released FreshRetailNet-50K. Unlike existing benchmarks like M5 or Favorita, this dataset provides:
- Scale and Scope: 50,000 time series across 898 stores in 18 cities.
- Hourly Resolution: Capturing intraday shopping peaks essential for fresh retail.
- Stockout Annotations: Explicit labels indicating when products were unavailable.
- Rich Covariates: Hyperlocal weather, promotions, and holiday data.
Methodology: A Two-Stage Framework
The proposed solution breaks the censoring cycle through two steps:
- Latent Demand Recovery: Stockout periods are treated as missing data. Advanced models like TimesNet and iTransformer impute the "latent" demand—what would have been sold if the product were in stock.
- Censoring-Robust Forecasting: The recovered demand is used to train a Temporal Fusion Transformer (TFT) for a 7-day forecast.
A new metric, the Decoupling Score ($\rho_{DS}$), measures how effectively the model separates true demand from supply constraints.
Key Insights and Results
The study reveals that stockouts peak at 26% by late evening, highlighting the necessity of hourly data. Furthermore, deep promotions were found to paradoxically increase data censoring by triggering stockouts.
Empirical results show:
- Accuracy Boost: Prediction accuracy (WAPE) improved by 2.73%.
- Bias Elimination: Systematic underestimation dropped from 7.37% to near-zero.
- High-Volume Performance: For top-selling items, underestimation was reduced from -11.46% to 0.87%.
Conclusion
FreshRetailNet-50K provides a vital resource for the retail AI community. By accounting for censored demand, the two-stage approach offers a path toward more efficient, less wasteful fresh retail operations. Future work will explore end-to-end models to further refine the joint optimization of recovery and forecasting.
Summary updated