Explainable Machine Learning for Omnichannel Demand Forecasting and Inventory Decision Support in Synthetic Experiments
This study utilizes a synthetic experimental framework to demonstrate that in omnichannel demand forecasting, the model with the highest predictive accuracy (HistGradientBoosting) does not necessarily yield the best inventory outcomes (achieved by Random Forest), thereby highlighting the necessity of evaluating models based on downstream decision consequences and using explainability as a decision-support tool rather than a substitute for planner judgment.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the modern world of retail, a single product often travels through many different doors before reaching a customer. A shopper might browse an item on a phone, buy it in a physical store, or pick up an online order at a local branch. This interconnected system, known as omnichannel retail, creates a complex puzzle for store managers. They must guess how many items will be needed next week, balancing the risk of having too much stock, which costs money to store, against the risk of having too little, which leaves customers empty-handed. For decades, the standard way to solve this puzzle has been to look at past sales patterns and project them forward. However, as computers have become more powerful, retailers have begun using sophisticated machine learning to make these guesses. These systems can spot subtle, non-linear connections between holidays, weather, prices, and sales that older methods miss. Yet, a critical question remains: does a computer model that makes the most accurate statistical guess also lead to the best business decisions?
A recent study set out to answer this question by building a controlled experiment that links three distinct steps: predicting future demand, understanding how the computer makes those predictions, and simulating the financial results of acting on those predictions. The researchers did not use real-world sales data from a specific company. Instead, they created a synthetic environment, a digital sandbox containing fifty different products across ten simulated stores over two years. This allowed them to test four different forecasting methods under identical conditions. The goal was to see if the model that made the fewest prediction errors would also result in the lowest costs and the happiest customers, or if these two goals might actually pull in different directions.
The experiment compared a simple, traditional method that assumes next week will look exactly like the same week from a year ago against three advanced machine learning models. These advanced models, which use decision trees to learn from data, were tasked with predicting the total demand for the following week. When the researchers measured pure prediction accuracy, one of the machine learning models, called HistGradientBoosting, emerged as the clear winner. It produced the smallest average difference between its guess and the actual demand, with an error rate of roughly twelve units. The other machine learning models performed similarly well, while the simple traditional method lagged significantly behind with an error rate of over twenty units. By the standard metric of "how close was the guess," the advanced computer models were undeniably superior.
However, the story changed when the researchers asked a different question: which model led to the best financial outcome? They fed the predictions from each model into a simplified simulation of a store's inventory system. This simulation calculated the total cost, which included the money spent on holding unsold items and the penalty for running out of stock. In this operational test, a different model took the lead. The Random Forest model, which had slightly higher prediction errors than the winner, actually generated the lowest total cost. This result was surprising because the Random Forest model also produced the highest rate of stockouts, meaning it left customers without products more often than the other models. The model with the most accurate numbers did not produce the most efficient business result, and the model with the best business result was the one that left the most customers waiting.
To understand why this happened, the researchers looked inside the "black box" of the most accurate model to see which factors influenced its decisions the most. They used a technique that measures how much the model's performance drops if a specific piece of information is scrambled. They found that the model relied most heavily on a feature representing the average demand over the last thirteen weeks. This long-term history was more important to the model than shorter-term trends, holiday dates, or current prices. This finding highlights that the model was driven by deep historical patterns rather than immediate commercial signals. Yet, the researchers were careful to note that this does not prove that changing the thirteen-week history would change the demand; it simply shows that the model used that information to make its best guesses.
The study concludes that in the complex world of retail, being the most accurate predictor is not the same as being the best decision-maker. A model can be statistically precise and still lead to expensive inventory mistakes if its specific pattern of errors clashes with the store's cost structure. Conversely, a model that is slightly less precise might align better with the financial realities of holding stock versus losing sales. The researchers emphasize that explainability, or the ability to see why a model made a choice, is a useful tool for human planners to understand the data, but it is not a magic switch that automatically solves the problem. The final decision on which model to use depends on what the business values most: minimizing the number of wrong guesses or minimizing the total cost of running the store.
This research serves as a reminder that data science is not just about finding the smallest error number. It is about understanding how those errors translate into real-world consequences. The study was conducted in a simulated environment with simplified rules, so its findings are a controlled demonstration rather than a guaranteed rule for every store. Nevertheless, it offers a clear lesson for anyone managing complex supply chains: the best tool for the job is not always the one that predicts the future most perfectly, but the one that fits the specific goals and costs of the business.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.