Combating the Bullwhip Effect in Rival Online Food Delivery Platforms Using Deep Learning

Tisha Ghosh · 2025

Read Combating the Bullwhip Effect in Rival Online Food Delivery Platforms Using Deep Learning by Tisha Ghosh (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-22753.txt.

Introduction

Tisha Ghose fights the bullwhip effect in online food delivery, where small order swings become big inventory chaos upstream. Perishable stock, fickle demand, and rival apps ordering in bursts leave restaurants alternately stocked out and drowning. Her supply chain model links restaurants, platforms, and customers through a third-party logistics frame.

A two-phase memory network forecasts demand: within-day ripples first, then the daily totals. Two years of order data from India's two big platforms trained it, tuned by simulation and grid search. Daily forecasts explained about ninety percent of variance. A newsvendor rule then sizes each day's stock to the forecast, damping the swings the paper set out to kill.

Catalog record

CREATORTisha Ghosh
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE71 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-22753

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Combating the Bullwhip Effect in Rival Online Food Delivery Platforms Using Deep Learning Tisha Ghosh Abstract The wastage of perishable items has caused significant health and economic crises, leading to uncertainty in the business environment and fluctuating customer demand. In modern times, this issue has intensified with the rise of online food delivery services, where frequent and unpredictable orders contribute to inefficiencies in supply chain management. These fluctuations contribute to the bullwhip effect, a major supply chain issue that results in stockouts, excess inventory, and inefficiencies. Accurate demand forecasting and predictive analysis help stabilize inventory, optimize supplier orders, and reduce resource wastage. This paper proposes a Third-Party Logistics (3PL) supply chain model involving key stakeholders— restaurants, online food apps, and customers—alongside a deep learning-based demand forecasting model using a two-phase Long Short-Term Memory (LSTM) network. Phase 1 (Intra-day demand forecasting) captures short-term variations within a day, while Phase 2 (Daily demand forecasting) predicts overall daily demand. A two-year historical dataset (January 2023 – January 2025) with daily sales data from Swiggy and Zomato is used to capture nonlinear demand trends through discrete event simulation. The grid search method is employed to select optimal LSTM hyperparameters, ensuring precise forecasting. The proposed method is evaluated and compared using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and R² score, along with optimized training time, among which R² serves as the primary measure of forecasting accuracy. Phase 1 achieves an R² score of 0.69 for Zomato and 0.71 for Swiggy with a training time of 12 minutes, while phase 2 shows substantial improvement, with R² values of 0.88 (Zomato) and 0.90 (Swiggy), achieving a training time of 8 minutes, demonstrating strong predictive performance in demand forecasting. To mitigate demand fluctuations, restaurant inventory is dynamically managed using the newsvendor model, adjusted based on forecasted demand. The proposed framework significantly reduces the bullwhip effect, enhancing forecasting accuracy and supply chain efficiency. For Phase 1, the overall supply chain instability decreases from 2.61 to 0.96, while for Phase 2, it reduces from 2.19 to 0.80, demonstrating the model’s effectiveness in minimizing food waste and maintaining optimal inventory levels of restaurants. Keywords: Time series forecasting, Demand forecasting, Supply chain, Deep learning, LSTM, Discrete event simulation, Bullwhip effect. 1 Introduction Supply Chain Management (SCM) has been a critical area of research for a long time, with a particular focus on the management of perishable goods ( Blackburn and Scudder, 2009 ) . The food supply chain, in particular, faces numerous challenges, including stockouts, overstocking, ingredient waste, bottlenecks, and the bullwhip effect ( Li et al., 2014 ; Folkerts and Koehorst, 1997 ) . In today’s fast-paced world, the younger generation has embraced the convenience of online food delivery apps, making them an essential part of daily life. However, this growing reliance on food delivery services has led to unpredictable demand patterns, resulting in frequent stockouts and inventory fluctuations. To compensate, restaurants and suppliers often overstock to avoid shortages, which results in excessive wastage of perishable items. This issue is a manifestation of the bullwhip effect, where minor changes in consumer demand lead to increasingly significant fluctuations in orders and stock levels as the supply chain moves upstream ( Lee et al., 1997a ) . Usually, it is caused by factors like inaccurate demand forecasting, order batching, pricing changes, and information flow delays. To ensure smoother supply chain operations, managing the bullwhip effect requires improved supply chain coordination, demand forecasting techniques and accurate information sharing. Demand is one of the most crucial data points that must be communicated among supply chain participants ( Abolghasemi et al., 2020 ) , and effective demand forecasting play a crucial role in addressing these challenges ( Haberleitner et al., 2010 ; Kumar et al., 2020 ) , ensuring customer satisfaction while preventing supply chain disruptions. Traditional forecasting models, such as ARIMA (AutoRegressive Integrated Moving Average), Holt-Winters moving average, and exponential smoothing, have been widely used for demand prediction ( Moroff et al., 2021 ; Abbasimehr et al., 2020 ) . However, these methods are primarily linear and often fail to accurately capture real-world demand patterns, which tend to be non-linear. To address these limitations, non-linear statistical models like ARCH (Autoregressive Conditional Heteroskedasticity) and GARCH (Generalized Autoregressive Conditional Heteroskedasticity) have been introduced ( Khashei and Bijari, 2011 ) . While these models offer improvements over purely linear approaches, they still struggle to fully capture complex non-linear dependencies in demand fluctuations. As a result, companies are seeking more advanced methods to closely align with customers’ needs. In response to these challenges, businesses have increasingly turned to machine learning (ML) techniques, which have demonstrated superior predictive capabilities across various industries ( Min, 2010 ) . ML-based forecasting models have been successfully applied to demand prediction in sectors such as furniture ( Abbasimehr et al., 2020 ) , energy ( Szul et al., 2020 ) , cash flow at ATMs ( Catal et al., 2015 ) , tourism ( Shahrabi et al., 2013 ) , and natural gas supply chains ( Potočnik et al., 2019 ) . Some of the most widely used ML techniques for time series forecasting include Artificial Neural Networks (ANNs), Support Vector Machines (SVMs), K-Nearest Neighbors (KNNs), and Adaptive Neuro-Fuzzy Inference Systems (ANFIS) ( Abbasimehr et al., 2020 ) . Among these, Recurrent Neural Networks (RNNs) have gained significant attention due to their ability to recognize sequential dependencies in time-series data and predict future trends based on past observations ( Amirkolaii et al., 2017 ) . Recurrent Neural Networks (RNNs) are widely applied across various areas of the supply chain. For instance, ( Aktepe et al., 2021 ) demonstrated the superiority of RNNs in forecasting spare parts demand. Similarly, Rahman et al. (2018) showcased their effectiveness in medium- and long-term electricity consumption predictions. Additionally, Potočnik et al. (2019) compared RNNs with linear regression and extreme machine learning algorithms for forecasting natural gas demand, incorporating factors such as historical temperatures and time-based variables, including holidays and other seasonal events. Their findings highlighted the superiority of RNNs. However, research also indicates that RNNs are not always the optimal choice for supply chain applications ( Amirkolaii et al., 2017 ) . Their limitations stem from short memory retention and the vanishing gradient problem, which complicates training and reduces their effectiveness in certain scenarios. Unlike traditional ANNs, RNNs incorporate feedback loops, allowing information to persist across time steps, making them particularly effective for time-dependent forecasting tasks. However, RNNs suffer from short-term memory limitations ( Hochreiter and Schmidhuber, 1997 ) and the vanishing gradient problem, which reduces their effectiveness for long-term forecasting applications. To overcome these drawbacks, Long Short-Term Memory (LSTM) networks were developed. LSTMs are specifically designed to retain relevant information over extended periods by distinguishing between short-term and long-term dependencies. This characteristic makes them highly effective for time series forecasting, as they can learn patterns in demand fluctuations over both short and long durations ( Wu et al., 2018 ; Siami-Namini et al., 2019 ) . After successfully capturing demand patterns, companies stabilize their inventory. In this study, a two-phase multilayer LSTM model is developed and optimized using the grid search technique, which systematically explores different hyperparameter configurations to enhance forecasting accuracy. The proposed model

Read the complete text