Logo image
Discovering session-level demand patterns for reinforcement learning-based dynamic inventory allocation in live-streaming e-commerce
Journal article   Peer reviewed   PUBLISHED

Discovering session-level demand patterns for reinforcement learning-based dynamic inventory allocation in live-streaming e-commerce

Thi-Linh Ho, Hiep Pham, Quan Dinh Hoang, An Duong Thi Binh, Thanh-Phong Lam, Dinh-Thi Ngo and Thanh Thi Nguyen
Knowledge and Information Systems, Vol.68, pp.1-41
2026

Abstract

Live-streaming commerce Session-based forecasting Demand prediction Inventory optimization Machine learning Behavioral analytics
Live-streaming e-commerce is rapidly reshaping retail supply chains, creating an environment where traditional inventory planning methods fall short. The primary challenge is the high-stakes nature of pre-session inventory allocation; misjudging the demand for a single, hours-long event can lead to significant lost sales from stockouts or capital waste from overstocking. Historical forecasting is often unreliable as the demand is heavily influenced by session-specific factors, including the session hosts, the product assortment, and expected user engagement. This study develops an integrated framework that begins with session-based demand forecasting, utilizing a rich blend of historical data and engagement-proxy features to accurately predict total demand for products within a given live-streaming event. Building on this framework, we propose a dynamic inventory orchestration mechanism. This mechanism uses session-specific forecasting to automate and optimize the crucial pre-session task of allocating inventory from a central supply to the live-streaming event, ensuring the right amount of stock is in the right place at the right time. The model's core forecasting engine was empirically validated on a synthetic dataset of 500 live-streaming sessions derived from public Taobao and Twitch sources. The arithmetic-mean ensemble of 10 independently trained Gradient Boosting Machines achieved the highest accuracy, with a mean R-squared of 0.9364 and the lowest standard deviation across 20 independent runs. Furthermore, we enhance the inventory orchestration stage with a tabular Q-learning agent that learns optimal ordering policies directly from demand sequences, converging within approximately 900 episodes and achieving a 93.3% fill rate while dynamically balancing holding, stockout, and ordering costs. The methodological contribution is an integrated, session-aware framework that couples ensemble forecasting with reinforcement learning-driven orchestration in a live-streaming-specific supply chain context. This research contributes a practical, data-driven solution that enhances supply chain agility by enabling dynamic, intelligent, and automated inventory decisions in the fast-paced world of live-streaming e-commerce sessions.

Details

Metrics

1 Record Views
Logo image