Back to projects

Production-Plan Forecasting at Plejd

2026 — ongoing

Plejd plans production 12 months ahead by hand, for 64 articles across 26 product families. My job was to find a method that beat the existing per-article baseline on a genuinely rolling forecast, and to explain why the forecasts that looked good in a notebook did not survive contact with the data.

  • Python
  • LightGBM
  • Chronos-2
  • Time series forecasting
  • Poisson loss
  • Temporal hierarchies
  • Paired bootstrap
  • Built the evaluation harness: rolling-origin backtesting over eight quarter-end cuts, 327 article-origin pairs, MASE, WAPE and bias against per-article AutoETS, with paired bootstrap confidence intervals.
  • Benchmarked ETS, global LightGBM with Poisson loss, zero-shot Chronos-2 with covariates, temporal hierarchies, the Croston family and seasonal indices.
  • Best method — gradient boosting combined with Chronos-2 — beat per-article ETS by about 7% on all eight origins.
  • Found that short history, not zero demand, is the binding constraint: every real gain came from borrowing information across articles or from a pretrained model.

The problem


Plejd builds smart-home hardware, and production is planned by hand a year out. That plan has to cover 64 articles across 26 product families, most of which have short histories, intermittent demand and planned zeros. The existing baseline forecasts each article on its own with ETS, which is sensible but cannot borrow strength from an article that has more history or a similar shape.

The question I was given was not 'can a bigger model fit this data'. It was whether a different method could beat per-article ETS on a forecast that is actually made the way the business makes it: repeatedly, from whatever history exists at that moment.

How it works


  • Everything is evaluated by rolling-origin backtesting, not a single train/test split. Eight quarter-end cuts, each training only on data available at that cut, produce 327 article-origin pairs.
  • Errors are reported relative to per-article AutoETS, the baseline the business already trusts, using MASE and WAPE alongside bias so a method cannot win by systematically under- or over-forecasting.
  • Differences are tested with a paired bootstrap rather than read off a table, because a 2% gap on 327 pairs is not obviously a real gap.
  • The global model is LightGBM with a Poisson objective, trained across articles and given article-level features, so short-history items inherit structure from the rest of the catalogue.
  • Chronos-2 is used zero-shot with covariates, which is the opposite bet: a pretrained model that has seen other time series does not need this article's history to say something useful.
  • Temporal hierarchies (via `thief`) reconcile article forecasts up to product family and back down, so the sum of the parts agrees with the total.
  • Croston and TSB cover the intermittent-demand case, and seasonal indices provide a transparent, low-variance reference point alongside ETS.

Results


The best combination — gradient boosting and Chronos-2 — beat per-article ETS by about 7% across all eight origins, which matters more than the headline number: a method that wins on average but loses on some cuts is not one you can hand over.

The ablations were where the useful answer was. Short history, not the zeros, is the binding constraint. Every gain that held up came from either borrowing information across articles or from a pretrained model, which is the same idea arrived at two ways.

  • A scaling bug made the first global model 46% worse than ETS. Fixing it turned the result around; the lesson was that a global model's errors compound through the scaler before they reach the metric.
  • Global gradient boosting helps most where an article's own history is too short for ETS to estimate seasonality.
  • Chronos-2 adds value on top of the global model rather than replacing it: the two make different mistakes.

What I learned


The harness mattered more than any single model. Once every method was scored on the same origins, against the same baseline, with an interval around the difference, the ranking stopped moving. Before that, results changed depending on which cut you looked at.

The other lesson is about what 'forecasting' means inside a company. A method that is 7% better on paper still has to be explainable to the people who own the plan, and the honest finding — that the data's limitation is history length, not model choice — is more useful to them than a leaderboard.