CEDAR: Controlled and Event-Driven Demand Forecasting via Residual Decomposition
CEDAR is a two-stage framework that enhances demand forecasting for e-commerce planning by combining an Action-Interleaved Transformer for simulating policy-driven state transitions with a Residual Correction Module that leverages LLMs and event signals to address the limitations of passive time series models, thereby enabling robust counterfactual analysis and improved budget planning.
Original paper licensed under CC BY 4.0 (http://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 vast, humming digital marketplace of modern e-commerce, a fundamental question has long puzzled planners: how do we know what will happen next? For decades, the standard answer relied on a passive form of prediction. Computers would study the past, looking at how sales moved in response to prices, holidays, and advertising, and then simply extend those lines forward. It was a method of extrapolation, assuming that the future would look much like the past, just slightly shifted. This approach worked well enough when the world was stable and merchants merely reacted to trends. But in the dynamic, high-stakes environment of global trade, merchants are not passive observers; they are active drivers. They constantly change their strategies, adjusting budgets, launching promotions, and altering prices to reshape demand before it even happens. The old way of forecasting, which treated these human decisions as mere background noise, began to fail. It could not answer the most critical question a business leader needs to ask: "If I change my plan today, what will the market look like tomorrow?"
This is the challenge that a team of researchers from the University of Science and Technology of China and Alibaba Group set out to solve. They recognized that to predict the future of a marketplace, one must stop treating the future as a fixed destination and start treating it as a path that can be steered. Their work, presented at a major data science conference, introduces a new system called CEDAR. Unlike traditional models that simply watch history unfold, CEDAR is designed to simulate what would happen if a merchant took specific actions. It does not just guess the next number; it calculates the outcome of a choice. By separating the natural flow of the market from the specific effects of human intervention, and by accounting for sudden, unpredictable external events, the researchers created a tool that can reliably test different budget strategies before a single dollar is spent.
The core of this new approach lies in a two-part architecture that mimics the way a merchant actually thinks and acts. The first part is a specialized engine that learns the direct link between a decision and its immediate result. In the past, models would mix a merchant's actions, like a discount or an ad spend, with the sales data, treating them as a single, jumbled stream of information. This caused the model to get confused, often assuming that a sales spike was caused by a natural trend when it was actually the result of a specific promotion. The new system, however, treats the merchant's action as a distinct, primary force. It learns a specific pattern where a past state leads to a decision, and that decision directly drives the next state. This allows the system to understand that if a merchant stops spending on ads, sales will likely drop, even if the general market trend is rising. It learns the mechanics of cause and effect rather than just the correlation of events.
The second part of the system addresses the chaos of the real world. Even with a perfect understanding of how a merchant's actions influence sales, the future is never entirely predictable. Sudden news events, viral social media trends, or unexpected holidays can cause demand to surge or crash in ways that have nothing to do with the merchant's budget. To handle this, the researchers added a correction module that acts like a fine-tuning mechanism. This module looks at external signals, such as news headlines and trending search topics, and uses advanced language processing to understand their meaning. It then calculates the difference between what the first part of the system predicted and what actually happened, attributing that difference to these external shocks. By doing this, the system can correct its own predictions, adding a layer of realism that accounts for the unpredictable nature of the world.
The researchers tested this system on a massive dataset from Alibaba's 1688 platform, which includes the sales trajectories of roughly 32 million products over a period of time. They compared their new method against several of the most powerful existing forecasting models. The results were clear and consistent. In simulations where the system was asked to predict sales under new, unseen budget plans, the traditional models struggled. They tended to stick to historical patterns, failing to react when the merchant's strategy changed. In contrast, the new system accurately followed the new path, correctly predicting how sales would rise or fall in response to the specific interventions. When the forecast horizon was extended to ten weeks, the new system reduced the error rate by more than half compared to the best-performing traditional models. It proved particularly adept at handling long-term planning, where small errors in prediction can compound into massive miscalculations.
To ensure this was not just a theoretical exercise, the team deployed the system in a live environment on the Alibaba 1688 platform. They ran a large-scale test involving hundreds of merchants who used the system to plan their advertising budgets. The merchants who used the new simulation tool saw a significant improvement in their business outcomes. On average, their return on investment increased by 15 percent, and their overall lifetime value grew by 13 percent. These gains came from the ability to allocate money more effectively, avoiding spending on campaigns that would not work and doubling down on strategies that the simulation showed would succeed. The system allowed them to see the consequences of their choices before making them, turning the planning process from a game of chance into a calculated strategy.
The success of this work suggests a shift in how we think about forecasting in complex systems. It moves the focus from simply observing the past to understanding the levers that control the future. By explicitly modeling the relationship between human decisions and market outcomes, and by separating those decisions from the noise of external events, the researchers have built a tool that is both more accurate and more useful. It demonstrates that in a world where actions constantly reshape reality, the best way to predict the future is to understand how our own choices will build it. The findings offer a new path for businesses to navigate uncertainty, providing a way to test strategies in a safe, simulated environment before committing real resources to the volatile marketplace.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.