Zero Labs
Industry News / AI

What Happens When Demand Forecasting Becomes Too Big for Traditional Models?

Source · Towards AI By Satyajit Chaudhuri

From the publisher’s feed, collected in the ZeroLabs newsroom.

When forecasting reaches tens of thousands of products, the biggest challenge may no longer be building a better model. It may be building a forecasting capability that can learn, scale and operate efficiently.Photo by Craig Lovelidge on UnsplashThe Forecasting Problem Gets Bigger Than the ModelImagine being responsible for forecasting demand every week for tens of thousands of products across more than 80 sports and multiple geographies.Sounds like a modelling problem?It is. But only partly.A running shoe, a bicycle, a surfboard and a winter jacket can have completely different demand patterns. Some products are highly seasonal, some are relatively stable, some are affected by promotions and pricing, and new products may have very little history to learn from. Now add different countries, different supply environments and different product lifecycles.This is the environment Decathlon operates in.Its forecasting process supports two very different planning horizons: a 12-week horizon for replenishment and purchasing decisions and a 52-week horizon for longer-term inventory projection and capacity planning. Across supply zones including Europe, India, China, Southeast Asia and Latin America, the forecasting process can cover up to approximately 25,000 products in each zone.At that scale, forecast accuracy is obviously important.But there is another question that becomes increasingly important as the forecasting organization grows:How much effort does it take to continuously operate the forecasting system?That question is at the heart of Decathlon’s move toward Time Series Foundation Models.Decathlon Wasn’t Starting With a Bad Forecasting SystemThis is an important distinction.The story is not that Decathlon had an outdated forecasting model and replaced it with AI.It had already gone through several generations of sophisticated forecasting technology.Earlier, Decathlon used DeepAR for shorter-term forecasting and Holt-Winters exponential smoothing for the longer horizon. DeepAR was retrained weekly to adapt to recent demand changes.Later, the company introduced Temporal Fusion Transformers (TFT) with covariates to improve longer-horizon forecasting.These are serious forecasting techniques.But sophisticated models bring sophisticated operating requirements. Weekly retraining means continuous data processing, model training, validation and infrastructure management. And when you start expanding a forecasting capability into new regions, you have to reproduce that entire operating environment.So the question starts to change.Instead of asking, “Can we build a better forecasting model?”, the organization begins asking, “Can we build a forecasting capability that can learn efficiently without requiring us to continuously rebuild the modelling layer?”That is a much more interesting problem.Enter the Time Series Foundation ModelThis is where Time Series Foundation Models, or TSFMs, change the starting point.Traditional forecasting development generally starts with the company’s own data. We take historical demand, engineer features, select a model, train it, validate it and deploy it. When the demand environment changes sufficiently, we retrain.A foundation model starts from a different place.The model is pretrained on large collections of time series and learns general temporal patterns before it ever sees the company’s specific demand environment. The organization can then adapt that pretrained capability to its own data.Chronos-2 follows this approach.Chronos-2 architecture for native multivariate forecasting with covariates [Source]Technically, it is an encoder-only Transformer based on the T5 encoder architecture. The base model contains approximately 120 million parameters, while a smaller version contains around 28 million parameters.But parameter count is not the most interesting part.The more important question is how the model represents demand.Chronos-2 applies robust scaling to individual time series, divides them into non-overlapping patches and maps those patches into real-valued embeddings using a residual network. It then produces forecasts as continuous quantiles.That matters because demand is uncertain.A traditional point forecast might tell you that expected demand next week is 1,000 units. A probabilistic forecast can tell you where the distribution of possible demand lies around that estimate.For a supply-chain organization, that distinction matters because the forecast eventually feeds decisions about safety stock, service levels, inventory and capacity. The cost of over-forecasting and under-forecasting is rarely symmetrical.Demand Does Not Exist in IsolationThere is another technical characteristic of Chronos-2 that is particularly relevant to retail forecasting.A product’s historical demand is only part of the story.Price matters. Store footprint matters. Seasonality matters. Other known future variables can matter as well.Chronos-2 is designed to incorporate these known covariates directly and uses an alternating attention architecture that combines time attention and group attention.Time attention allows the model to learn temporal behaviour within an individual series. Group attention allows information to move across related series at the same point in time.That gives Chronos-2 native multivariate forecasting capabilities and allows it to learn relationships across series while incorporating known covariates.From a demand-forecasting perspective, that is significant.High-level architecture of Decathlon’s demand forecasting pipeline on AWS [Source]Infrastruture and Deployment Pattern [Source]The model is no longer restricted to asking, “What happened to this SKU before?”It can also ask, in effect, “How does this demand signal relate to other signals, and what do the known drivers tell us about the future?”That is much closer to the structure of a real retail demand problem.But Does the Foundation Model Actually Beat the Existing System?This is where Decathlon’s approach becomes particularly interesting.They did not simply adopt a foundation model because it was the latest technology.They benchmarked it against their existing production system.The evaluation used 101 rolling forecast cut-offs, covering almost two years, from week 48 of 2022 through week 44 of 2024. Each cut-off represented approximately 25,000 products, with around 39,000 unique product time series represented across the complete evaluation.Both the 12-week and 52-week forecasting horizons were evaluated.The primary metric was WAPE, but the evaluation also included RMSE, forecast bias and pairwise winning rates.That is an important detail.In forecasting, a model should not be judged simply because it performs well on a generic benchmark. The real question is whether it performs better on the company’s own demand, across the horizons and conditions that actually matter to the business.And in Decathlon’s case, Chronos-2 performed very strongly.The Accuracy Improvement Was MaterialFor the 12-week horizon, WAPE improved from 39% to 28% in Southeast Asia and from 53% to 38% in Latin America.At the 52-week horizon, SEA improved from 44% to 38%, while LATAM improved from 55% to 46%.Those are substantial changes in forecast accuracy.But WAPE itself is not the end objective.If you are presenting a forecasting improvement to a supply-chain leader, the obvious next question should be: “So what?”What does the reduction in forecast error mean for inventory?What does it mean for availability?What does it mean for sales?According to Decathlon’s analysis, each percentage-point improvement in 12-week WAPE corresponds approximately to 0.3 days of inventory savings, 0.3 percentage points of product availability, and around 0.12 percentage points of sales through the relationship between availability and sales.Decathlon’s deployment of Chronos-2 fine-tuned has delivered significant accuracy gains across both regions and horizons, in comparison with the previously used legacy forecasting tool [Source]This is where a forecasting metric becomes a business metric.A reduction in WAPE is interesting to a data scientist.A reduction in WAPE that can potentially reduce inventory while improving availability is interesting to a supply-chain executive.That distinction matters.The Number I Find Most Interesting Isn’t WAPEThere is another result in the Decathlon case that, from an operating perspective, may be even more important than the accuracy improvement.The fine-tuning cadence moved from weekly to approximately every six months.Think about the difference.Under the earlier architecture, models were continuously retrained to adapt to changing demand.With Chronos-2, Decathlon can separate model adaptation from weekly forecast generation.The company uses Low-Rank Adaptation (LoRA) through AutoGluon to fine-tune Chronos-2 rather than retraining the entire foundation model. The adapted models are versioned by supply zone and tracked through MLflow.Between fine-tuning cycles, the registered model can generate weekly forecasts using the latest demand data.This may sound like an implementation detail.It isn’t.It changes the operating model of forecasting.You no longer need the entire modelling process to relearn everything every time you need a new forecast.The model is periodically adapted, while forecasting becomes a much lighter recurring operation.That distinction becomes extremely valuable when you have thousands of products and multiple markets.Forecasting Economics Matter TooThere is another part of the Decathlon case that is easy to overlook because it doesn’t sound as exciting as “foundation model.”Infrastructure.The previous TFT system reportedly required approximately 10 minutes for 10,000 series and 15 minutes for 25,000 series, including retraining.Chronos-2 inference was reported at approximately 40 seconds for 7,000 series in LATAM and 75 seconds for 15,000 series in SEA.The production inference workload runs on CPU infrastructure, while GPU infrastructure is used for fine-tuning.The AWS case study reports an inference cost of approximately $0.03 per weekly inference run under the described configuration.Decathlon also reports that deploying forecasting capabilities into a new region went from approximately six months with three people to around two to three months with a data scientist, ML engineer and data analyst.Now we are looking at something broader than model accuracy.We are looking at the economics of operating forecasting.A model that is marginally more accurate but enormously expensive to maintain may not be commercially attractive. Conversely, a model that improves accuracy while reducing retraining frequency, infrastructure requirements and deployment effort can create value in several different places simultaneously.That is a much more compelling technology story.So Is One Foundation Model Going to Replace Every Forecasting Model?I don’t think so.And interestingly, Decathlon’s own findings point in the same direction.Their benchmarking showed that an ensemble of multiple Time Series Foundation Models consistently outperformed the single best model, with other models still winning on roughly 40% of products.That tells us something important.There may not be one model that is universally best for every demand signal.The forecasting problem still depends on the characteristics of the demand being forecast.A mature product with stable demand creates a different modelling environment from a highly intermittent product. A highly seasonal product can depend heavily on external signals. A promotional product can respond very differently to price and promotion intensity. A new product creates the cold-start problem because there may be very little historical demand available.The answer may therefore not be to find one model that replaces everything.It may be to build an architecture that can use different forecasting capabilities where they create the most value.Decathlon is already exploring this direction through a Mixture-of-Experts (MoE) ensemble, additional external variables such as price and weather, and cross-learning approaches for cold-start products.That is, in my view, where the next chapter becomes particularly interesting.What Does This Mean for the Demand Forecaster?There is a tendency to talk about foundation models as if they make forecasting expertise less important.I think the opposite could happen.When the modelling layer becomes easier to scale, the value of understanding the demand problem may increase.Someone still needs to understand whether a fall in sales represents genuine demand deterioration or simply an out-of-stock situation. Someone needs to understand how promotions distort historical demand. Someone needs to determine whether a weather variable is actually predictive or merely correlated with historical demand. Someone needs to understand how forecast uncertainty should translate into safety stock.And someone needs to connect the forecast to the economics of the supply chain.This is where the technical and commercial sides of forecasting meet.A data scientist may look at Chronos-2 and see an encoder-only Transformer, patch embeddings, attention mechanisms, quantile forecasting and LoRA fine-tuning.A supply-chain leader may look at the same system and ask: How much inventory can I remove without hurting service? How much availability can I gain? How quickly can I deploy this into another market? What does it cost to operate? And can I trust it when the demand environment changes?The forecasting organization needs to be able to answer both sets of questions.The Bigger Shift: From Models to CapabilitiesFor decades, demand forecasting has gone through a fairly clear technological progression: exponential smoothing and ARIMA, followed by machine learning, deep learning and Transformers.Time Series Foundation Models may represent the next stage.But I don’t think the real transformation is simply another algorithm replacing the previous algorithm.The bigger change is architectural.We may be moving from a world where companies build and maintain individual forecasting models toward a world where they build a forecasting capability around foundation models.That capability could combine pretrained time-series models, company-specific fine-tuning, external demand drivers, probabilistic forecasts, classical statistical methods, machine-learning models and domain expertise.And the objective remains the same.Not the lowest WAPE for its own sake.Not the most sophisticated Transformer.Not the biggest model.The objective is to make better decisions about what to buy, where to position inventory, how much capacity to secure and what level of availability the business can economically support.That is why the Decathlon case is important.The interesting story is not simply that Chronos-2 produced a better forecast.It is that a foundation model appears to be changing both the technical architecture and the operating economics of forecasting at scale.And if that continues, the next competitive advantage in demand forecasting may not come from finding the single best forecasting model.It may come from building the best forecasting system.What Happens When Demand Forecasting Becomes Too Big for Traditional Models? was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.