End-to-end probabilistic hierarchical forecasting of large hierarchies via probabilistic top-down
The paper introduces e2eTD, a fast and scalable method for generating coherent probabilistic forecasts of large hierarchical time series by directly predicting a small subset of aggregate series and propagating them to the bottom level via a novel probabilistic top-down sampling algorithm, achieving state-of-the-art performance on major retail datasets with minimal computational cost.
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
Imagine you are the manager of a massive chain of grocery stores. You need to know how much milk, bread, and cereal to order for every single store, every single day.
This is a nightmare of numbers. You have thousands of products (SKUs) in hundreds of stores. If you try to predict the sales for every individual item in every store, the data is messy. Some days a specific item sells 100 units; other days, it sells zero. It's like trying to predict the exact path of a single raindrop in a storm. It's too noisy, too "intermittent," and too hard to get right.
However, if you look at the big picture—say, the total milk sales for the entire country—that number is much smoother and easier to predict. It's like looking at the storm from space; you can see the pattern even if you can't track every drop.
The Problem: The "Conflicting Maps" Dilemma
Retailers usually try to solve this in two ways, but both have flaws:
- The "Bottom-Up" approach: Predict every single item first, then add them up. This is slow, expensive, and because the individual items are so messy, the final total is often wrong.
- The "Top-Down" approach: Predict the big total first, then guess how to split it up. This is fast, but the "splitting" is often done with rigid, old rules that don't account for uncertainty.
The result? You end up with a plan where the total for the country says "1 million units," but the sum of all your store plans says "900,000 units." This is a coherence problem. It's like having a map where the distance from New York to Boston is 200 miles, but the distance from New York to Philadelphia plus Philadelphia to Boston is 300 miles. You can't make good business decisions with a broken map.
The Solution: e2eTD (The "Smart Middle-Man")
The paper introduces a new method called e2eTD. Think of it as a smart, probabilistic middle-man that bridges the gap between the smooth big picture and the messy small details.
Here is how it works, step-by-step:
- Pick the "Easy" Targets: Instead of trying to predict the messy individual items (the bottom), e2eTD only predicts a tiny, manageable slice of the "smooth" middle layers (about 0.3% of the data). It's like a weather forecaster who only predicts the general storm front, not every single raindrop.
- Make a "Group Plan": It creates a probabilistic forecast for these smooth layers. This means it doesn't just say "We will sell 1,000 units"; it says "We are 90% sure we will sell between 900 and 1,100 units."
- The "Smart Split" (Probabilistic Top-Down): This is the paper's secret sauce. Usually, when you split a big number down to small numbers, you use a fixed ratio (e.g., "Store A always gets 10%"). e2eTD is smarter. It looks at history and says, "When the total was 1,000, Store A usually got between 9% and 11%, and Store B got the rest, and they tend to move together."
- It uses a mathematical tool called a Copula (think of it as a "glue" that holds the relationships between stores together) to simulate thousands of possible scenarios.
- It randomly splits the big forecast into small pieces, but it respects the historical "dance" between the stores. If Store A usually spikes when Store B dips, the simulation knows that.
- The "Check" (Reconciliation): Finally, it sums all the small pieces back up. Because it started with a coherent big number and split it carefully, the small pieces automatically add up to the big number. No conflicts. No broken maps.
Why is this a big deal?
- Speed: The paper claims this method is incredibly fast. On a standard laptop, it can process a dataset with 300,000 time series (like the Favorita dataset) in about 20 minutes. Other methods that try to do this with complex neural networks might need supercomputers or take hours.
- Accuracy: When tested against real-world data (the M5 and Favorita datasets), e2eTD beat almost every other method. If this method had been entered into the famous M5 forecasting competition, it would have ranked 11th out of 892 teams.
- Risk Management: Because it produces "probabilistic" forecasts (ranges of possibilities), retailers can make safer decisions. They can say, "We need enough stock to cover the 95% worst-case scenario," rather than just guessing the average.
In a Nutshell
e2eTD is a fast, efficient way to predict demand for massive retail chains. It avoids the messiness of predicting every single item by focusing on the smooth, predictable totals first. Then, it uses a clever, history-based "splitting" algorithm to distribute those totals down to the individual items, ensuring that the small numbers always add up perfectly to the big numbers. It's like building a house by first laying a perfect foundation and then carefully placing the bricks, rather than trying to guess where every brick goes and hoping the roof fits.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.