Intermittent time series forecasting: local vs global models
This study presents the first comprehensive comparison of state-of-the-art probabilistic local and global models for intermittent time series forecasting, demonstrating that the simple neural network architecture TiDE outperforms both complex global models and traditional local approaches in accuracy and computational efficiency while the Tweedie distribution head yields the best estimates for high quantiles.
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 running a warehouse. Most days, you sell a steady stream of items. But for some products—like a specific spare part for a vintage car or a rare holiday decoration—you might sell zero units for weeks, then suddenly sell ten in one day. These are called intermittent time series. They are full of zeros and unpredictable spikes.
To keep your warehouse running, you need to guess how much stock to keep. If you guess wrong, you either lose money holding too much inventory or lose sales because you're out of stock. To do this safely, you don't just need a single number guess (like "we'll sell 5"); you need a probability forecast (like "there's a 90% chance we sell between 0 and 10, but a small chance we sell 50").
This paper is a massive "taste test" to figure out the best way to make these guesses. The researchers compared two main schools of thought: Local Models and Global Models.
The Two Schools of Thought
1. Local Models: The "Specialist" Approach
Imagine hiring a different expert for every single product in your warehouse.
- How it works: You train one model specifically for "Widget A," another for "Widget B," and so on. Each model only looks at the history of that one item.
- The Paper's Findings: These specialists are good, but they are slow to hire (computationally expensive) and sometimes miss the big picture. The best "specialists" in this study were a Bayesian model called TweedieGP and a method called iETS. However, TweedieGP takes a long time to train, like a PhD student writing a thesis for every single item.
2. Global Models: The "Generalist" Approach
Imagine hiring one super-smart AI that looks at all the products in your warehouse at once.
- How it works: You feed the AI data from 40,000 different items. It learns patterns that apply across the board (e.g., "when demand is zero, it usually stays zero for a while") and then applies that knowledge to every single item.
- The Paper's Findings: This approach is generally faster and more accurate. The researchers tested many different types of "Generalists," from simple neural networks to massive, complex AI architectures (like Transformers).
The Race: Who Won?
The researchers pitted these models against each other on real-world data (sales from Walmart, car parts, airline spare parts, etc.). Here is what they discovered:
The "Heavyweights" Lost
In the world of AI, there is a belief that "bigger is better." The researchers tested massive, complex models (like Autoformer and PatchTST) that are famous for handling smooth, predictable data.
- The Result: For these "spiky" intermittent products, the heavyweights were slow and unstable. They took a long time to train and often gave worse answers than simpler models. It's like using a supercomputer to solve a Sudoku puzzle; it's overkill and doesn't necessarily help.
- Gradient Boosted Trees (LightGBM): These are popular in data science competitions. While they are great at predicting a single number, the paper found they struggle when asked to predict the whole range of possibilities (probabilities) for intermittent data.
The "Lightweights" Won
The winner was a simple, lightweight neural network architecture called TiDE (Time-series Dense Encoder).
- Why it won: It was fast, stable, and surprisingly accurate. It consistently beat the local specialists and the heavy AI models. It's like a nimble sports car that gets you to the destination faster and more reliably than a heavy tank.
- Runner Up: Another simple model called DLinear also performed very well, especially when paired with a specific type of math.
The Secret Sauce: The "Distribution Head"
Once you have a model (the engine), you need to decide what kind of "map" it uses to predict the future. Since these products have lots of zeros and sudden spikes, a standard map doesn't work. The researchers tested three different "maps" (distribution heads):
- Negative Binomial: A standard map for count data.
- Hurdle-Shifted Negative Binomial (HSNB): A map that specifically handles the "zero vs. non-zero" split.
- Tweedie: A flexible map that can handle both the zeros and the long, heavy tails of big spikes.
The Verdict:
- For the highest safety levels (predicting the rare, massive spikes), the Tweedie map was the clear winner. It gave the most accurate warnings for those "what if we sell 50 instead of 5?" scenarios.
- For lower levels, the maps were mostly similar, but Tweedie still held its own.
The Final Takeaway for Practitioners
If you are a supply chain manager trying to manage inventory for items that sell sporadically:
- Don't overcomplicate it: You don't need the most expensive, massive AI models. They are slow and don't perform better for this specific job.
- Go Global: Train one model on all your data rather than building a separate model for every single item. It's faster and often more accurate.
- Use the Right Tool: The paper recommends using the TiDE model (a lightweight neural network) paired with the Tweedie distribution.
- This combination is like having a fast, reliable sports car with a GPS that is specifically tuned to handle sudden traffic jams and detours.
- It beats the "specialist" local models in speed and accuracy, especially when you need to plan for the worst-case scenarios (high quantiles).
In short: For predicting the unpredictable, a simple, global approach using the right math (Tweedie) beats complex, local, or overly heavy AI solutions.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.