Time Series Foundation Models - Google TimesFM (Part 2): Synthetic Retail Experiments and Forecast Analysis

Table of Contents
In Time Series Foundation Models - Google TimesFM (Part 1): Model, Algorithms, and Engineering Practice, we compared the asymmetric patch decoder of TimesFM 1.0–2.5 with TimesFM 3.0’s Contiguous Patch Masking (CPM), native multivariate attention, and covariate interfaces. Once the internal mechanics are clear, production adoption raises three practical questions: when the same model runs across seasons and demand regimes, how stable is its zero-shot accuracy? How much do known promotional and operating schedules help? And does a longer training history always improve forecasts?
Inspecting a single forecast origin and one 28-day horizon cannot separate genuine model stability from a lucky month. We therefore generate five-year daily synthetic series across four representative retail scenarios, slice the 2026 retail year into 13 non-overlapping 28-day forecast windows, and repeat every experiment under both expanding history and a fixed 104-week rolling window.
All results below come from a single fixed random seed and compare pre-frozen model configurations; they do not claim statistical significance across live retail markets.
1. Four Synthetic Demand Mechanisms #
The dataset spans July 4, 2022, through June 27, 2027. Each scenario is a daily series of 1,820 days (260 complete weeks), generated deterministically from a fixed specification with recorded metadata and file hashes. At any forecast origin, participating models can access only valid historical sales prior to that origin, alongside calendar, store-open, and promotional schedules already fixed at that time; data-generation fields such as conditional_mean, latent_demand, realized future sales y, and realized future stockout flags are strictly excluded from model inputs.
| Scenario | Core Demand Mechanism | Known Business Inputs | Typical Failure Risk |
|---|---|---|---|
| Grocery | Continuous demand, dual cycles, promos & stockouts | discount, holidays, open calendar | Mistaking stockout zeros for falling demand |
| Wine | Poisson counts, case-buy promos & event spikes | Case-buy promo, party events, Dec peak | Systematically under-predicting promo peaks |
| Garden | Strong annual sinusoid, long weekends & clearance | Long-weekend DIY, autumn clearance | Misestimating annual amplitude or turns |
| Luxury | Extreme zero inflation, VIP events & brief discounts | Weekends, Dec peak, VIP, discount | Achieving low WAPE via all-zero forecasts |

The scatter plot above illustrates the distribution of the four scenarios across Average Demand Interval (ADI, the mean number of days between positive-demand occurrences) and the squared coefficient of variation of positive demand (\(\mathrm{CV}_+^2\), the relative variability of non-zero sales sizes), along with a linear SVM decision boundary separating continuous from intermittent demand (\(\mathrm{CV}_+^2 = -0.0557\,\mathrm{ADI} + 1.0353\)). Grounded in the Syntetos–Boylan demand classification framework, reference thresholds at \(\mathrm{ADI}=1.32\) and \(\mathrm{CV}_+^2=0.49\) categorize series into smooth, intermittent, erratic, and lumpy regimes[1]. This taxonomy separates continuous series (Grocery, Garden, Wine) from sparse series (Luxury) visually, though it does not replace the rolling forecast error and event-recall metrics evaluated below.
The four data-generating equations match generation_spec.json in the experiment repository. Here, \(t\) denotes the day offset relative to 2023-01-01 (ranging from \(-181\) to \(1638\) across the five-year sample), and \(O_t\in\{0,1\}\) indicates whether the store is open on day \(t\); conditional means and latent demand are used solely for simulation and ex-post diagnostics, never as model features.
1.1 Grocery: Continuous Demand, Promotions, and Stockout Censoring #
In the Grocery scenario, the open-day conditional mean combines a linear trend, weekend traffic, an annual sinusoidal cycle, Victorian public holidays, and a biweekly promotional discount. Latent demand adds Gaussian noise; on roughly 3% of open days, an inventory cap of \(V_t=20\) (stockout censorship) truncates observed sales below true latent demand:
\[ \begin{aligned} \mu_t^{\mathrm{open}} &= 85 + 0.015t + 16W_t {}+ 14\sin\!\left(\frac{2\pi(t-15)}{365.25}\right) {}+ 28H_t + 130d_t, \\[4pt] D_t^{\mathrm{sim}} &= \max\!\left(0,\mu_t^{\mathrm{open}}+\epsilon_t\right), \qquad \epsilon_t\sim\mathcal{N}(0,6^2), \\[4pt] V_t &= \begin{cases} 20, & \text{stockout-censored day},\\ \mathord{+}\infty, & \text{adequate-supply day}, \end{cases} \\[4pt] y_t^{\mathrm{sales}} &= O_t\,\operatorname{round}\!\left[\min\!\left(D_t^{\mathrm{sim}},V_t\right)\right]. \end{aligned} \]Here \(W_t\) is the weekend indicator, \(H_t\) is the Victorian public-holiday indicator, and \(d_t\in\{0,0.20\}\) is the 20% promotional discount rate recurring for 7 days every 14 days (matching the discount notation \(d_t\) in Part 1, Chapter 3). The upper panel below plots five years of observed sales alongside closure and stockout markers; the lower panel zooms in on a promotional transition and a stockout-censored day.

1.2 Wine: Poisson Counts and Scheduled Demand Pulses #
Rather than continuous Gaussian noise, the Wine scenario draws daily bottle sales from a Poisson distribution. Day-of-week traffic, an annual cosine cycle, the December holiday season, party events, and a 3-day case-buy promotion at the start of every 28-day cycle jointly determine the Poisson intensity \(\lambda_t\):
\[ \begin{aligned} \lambda_t &= \max\!\Biggl(10^{-6},\;4.5+0.002t {}+2.8I_{\mathrm{Thu},t} {}+7.5I_{\mathrm{FriSat},t} {}+2I_{\mathrm{Sun},t} \\ &\qquad {}+3.5\cos\!\left(\frac{2\pi(t-190)}{365.25}\right) {}+6I_{\mathrm{Dec},t} {}+12I_{\mathrm{party},t} {}+15C_t\Biggr), \\[4pt] D_t^{\mathrm{wine}} &\sim \operatorname{Poisson}(\lambda_t), \\[4pt] y_t^{\mathrm{sales}} &= O_tD_t^{\mathrm{wine}}. \end{aligned} \]Here \(C_t\) marks the case-buy promotion, \(I_{\mathrm{Dec},t}\) marks the December 15–24 peak window, and \(I_{\mathrm{party},t}\) marks scheduled sporting and festive events. Because all three schedules are fixed at the forecast origin, Wine directly tests whether supplying future business plans improves TimesFM’s ability to capture demand spikes.

1.3 Garden: Strong Annual Seasonality and Weekend DIY Demand #
The Garden scenario represents continuous demand dominated by wide annual seasonal swings, combined with planned lifts from weekends, long-weekend DIY projects, and late-autumn clearance sales:
\[ \begin{aligned} \mu_t^{\mathrm{garden}} &= 50+0.01t {}+35I_{\mathrm{Sat},t} {}+25I_{\mathrm{Sun},t} {}+38\sin\!\left(\frac{2\pi(t-10)}{365.25}\right) {}+30L_t+12A_t, \\[4pt] D_t^{\mathrm{garden}} &= \max\!\left(0,\mu_t^{\mathrm{garden}}+\eta_t\right), \qquad \eta_t\sim\mathcal{N}(0,7^2), \\[4pt] y_t^{\mathrm{sales}} &= O_t\,\operatorname{round}\!\left(D_t^{\mathrm{garden}}\right). \end{aligned} \]Here \(L_t\) marks Labour Day and Easter long-weekend DIY dates, and \(A_t\) marks the annual late-autumn clearance from May 25 through month end (Southern Hemisphere autumn). Because a fixed 104-week (two-year) history already spans two complete annual cycles, this scenario tests whether feeding even earlier historical years adds any marginal benefit.

1.4 Luxury: A Two-Stage Occurrence and Positive-Size Mechanism #
The Luxury scenario generates highly zero-inflated intermittent demand via a two-stage hurdle process: Stage 1 uses a logistic function to determine whether a transaction occurs on day \(t\), and Stage 2 draws the purchase quantity from a discrete categorical distribution only when a transaction occurs (\(Z_t=1\)):
\[ \begin{aligned} \operatorname{logit}(p_t) &= -3.2 {}+0.5I_{\mathrm{Sat},t} {}+0.3I_{\mathrm{Sun},t} {}+1.1I_{\mathrm{Dec},t} {}+1.4I_{\mathrm{VIP},t} {}+0.8d_t, \\[4pt] p_t &= \frac{1}{1+e^{-\operatorname{logit}(p_t)}}, \\[4pt] Z_t &\sim \operatorname{Bernoulli}(p_t), \\[4pt] S_t &\sim \operatorname{Categorical}\!\left(\{1,2,5,10\},[0.75,0.15,0.08,0.02]\right), \\[4pt] y_t^{\mathrm{sales}} &= O_t\,(Z_tS_t). \end{aligned} \]Here \(I_{\mathrm{VIP},t}\) marks VIP events on the first weekend of each quarter, and the discount rate \(d_t=0.20\) applies only from June 20 through June 26 each year. Even when these schedules are known in advance, a forecaster must address both when a purchase happens and how many units are bought; consequently, Luxury cannot be evaluated solely by aggregate percentage error or zero-day interval coverage.

Because the four series differ sharply in unit scale, noise distribution, and event dynamics, we do not compute cross-scenario average scores or declare an overall “universal champion.” Grocery, Wine, and Garden can be judged primarily through continuous error metrics; Luxury, by contrast, requires simultaneously checking purchase-event recall, Event F1, and positive-demand error—otherwise, a model that outputs 0 on every day achieves a seemingly respectable ~100% WAPE while providing zero operational alerting value.
2. Rolling Evaluation Protocol and Metrics #
2.1 Common Forecast Dates and Two Training Windows #
Formal evaluation covers December 29, 2025, through December 27, 2026—364 days across 52 complete weeks. The protocol partitions this retail year into 13 non-overlapping 28-day forecast windows (folds): P01 starts on December 29, 2025, and P13 ends on December 27, 2026. Within each fold, every model fits or ingests history once at the forecast origin and emits all 28 future days in one shot; when predicting weeks 2 through 4, models cannot access realized sales from earlier days inside the active 28-day window.
We run two protocols in parallel. They share the exact same scenario series, evaluation dates, forecast horizon, model hyperparameters, and valid-label rules, differing only in the historical window exposed to each model:
| Protocol | Context Window | Core Question Tested |
|---|---|---|
expanding-v4 (expanding) | All history from 2022-07-04 to origin | Whether deeper history adds marginal value |
104w-rolling-v4 (fixed 104w) | Most recent 104 weeks (728 days) | Whether a fixed 2-year rolling window stays stable |
Here 104 weeks represent two complete 52-week retail years (728 days), slightly shorter than two calendar years. Leaderboards for the two protocols are published separately, and paired differences isolate the impact of history truncation on each model.
2.2 Valid Labels and Metric Definitions #
Formal accuracy rankings evaluate only valid open days (denoted \(\mathcal{T}_{\mathrm{eval}}\)) that simultaneously satisfy all three conditions:
is_open and not stockout and y is not null
In other words, the primary leaderboard measures forecast accuracy against observed sales on open, uncensored days—neither diluted by deterministic zeros on closed days nor scored directly against unobserved latent_demand. Consistent with the leakage-prevention and boundary rules in Part 1, Section 5.3, the adapter masks closed days and confirmed stockout-censored days in Grocery’s historical context and imputes them via forward and backward fill on the regular daily grid before model ingestion (note: this study does not run a separate training ablation comparing raw censored history against imputed history).
Annual Pooled WAPE pools all valid daily predictions and realizations across all 13 folds before taking the ratio:
\[ \begin{aligned} \mathrm{WAPE}_{\mathrm{pooled}} &= \frac{\sum_{t \in \mathcal{T}_{\mathrm{eval}}}|y_t-\hat y_t|} {\sum_{t \in \mathcal{T}_{\mathrm{eval}}}y_t} \times 100\%. \end{aligned} \]Note that \(\mathrm{WAPE}_{\mathrm{pooled}}\) is not the simple arithmetic mean of the 13 fold WAPEs. An unweighted average weights low-season folds and peak-season folds equally, so we report “13-Fold WAPE Mean ± SD” in a separate column specifically to measure cross-season stability. Alongside WAPE, the result tables report four complementary metrics:
- Bias (relative bias): \(\sum_{t \in \mathcal{T}_{\mathrm{eval}}}(\hat{y}_t - y_t) / \sum_{t \in \mathcal{T}_{\mathrm{eval}}} y_t \times 100\%\), where negative values indicate systematic under-prediction (approaching
-100%when a model predicts all zeros); - Coverage80 and Mean Interval Width: the empirical fraction of valid days where actual sales fall inside the P10–P90 interval (nominal target: 80%) and the average width \((\hat{y}^{(0.9)}_t - \hat{y}^{(0.1)}_t)\);
- Pinball80 (mean pinball loss): the average of the P10 and P90 pinball losses (defined in Part 1, Section 4.2), where lower values indicate tighter, better-calibrated quantile fits;
- Event F1 (demand-event F1): the harmonic mean of precision and recall for positive demand events (realized \(y_t > 0\) vs. predicted \(\hat{y}_t \ge 0.5\)), designed to test event detection on sparse series such as Luxury.
3. TimesFM 3.0 Input Contract and Controlled Ablation Design #
The benchmark runs the local TimesFM 3.0 Python checkpoint directly (interface specifications and licensing terms follow the official technical blog and repository[2][3]) with the runtime configuration pinned as follows:
checkpoint: google/timesfm-3.0-pytorch
revision: 43046b85ec22d584a13f8098c2ed39c889e129c2
device: cpu
batch size: 1
Each evaluation process loads the roughly 1.2 GB checkpoint once and keeps it in memory: calling fit() updates no neural network weights, merely validating and caching the current fold’s history; calling predict() invokes native TimesFM3Forecaster.predict() for zero-shot inference. Before inspecting any 2026 evaluation sales, we froze two configurations:
timesfm-3-0-univariate(univariate zero-shot): reads only valid historical sales prior to the forecast origin and serves as TimesFM’s sole representative on the cross-toolkit multi-model leaderboard (the “breadth leaderboard”);timesfm-3-0-known-covariates(known-covariate zero-shot): in addition to historical sales, receives store-open status, linear time trend, weekly/annual Fourier terms, 18 Victorian public-holiday indicators, and the scenario’s origin-known business schedule matrix. This configuration is used exclusively for the controlled covariate ablation inside TimesFM and does not occupy a second slot on the breadth leaderboard.
The covariate matrix passed to past_future_covariates has shape num_features × (history_length + 28 days), containing 37 to 41 feature channels depending on the scenario. In a single forward pass, the model emits point forecasts and nine quantiles (P10–P90); the adapter extracts the point forecast, P10, and P90, clips negative values to 0, and multiplies by 0 on known store-closure days (matching the physical boundary post-processing in Part 1, Section 5.3). In unit tests, we explicitly perturb future realized sales y, realized stockout flags, and diagnostic truth columns during the test window to verify that model inputs and predictions remain completely invariant.
Because both TimesFM configurations share the exact same checkpoint revision, forecast origins, historical imputation rules, and post-processing contract—differing only in whether the origin-known covariate matrix is provided—any accuracy change between them can be attributed directly to the covariates. That said, this ablation tests only the current synthetic business schedules and TimesFM 3.0 interface; it does not imply that passing dozens of arbitrary noisy columns from an enterprise wide table will automatically yield the same zero-shot gain.
4. Impact of Covariates and History Length #
4.1 Covariate Ablation Under Expanding History #
| Scenario | Mode | Pooled WAPE | Fold Mean±SD | Bias | Cov80 | Width | Pinball |
|---|---|---|---|---|---|---|---|
| Grocery | Covariates | 4.54% | 4.55±0.50% | -1.06% | 81.45% | 18.15 | 1.278 |
| Grocery | Univariate | 4.91% | 4.91±0.69% | -0.65% | 83.19% | 19.92 | 1.491 |
| Wine | Covariates | 22.69% | 22.67±2.90% | -3.11% | 77.07% | 8.05 | 0.590 |
| Wine | Univariate | 24.29% | 24.78±5.24% | -2.51% | 75.69% | 8.26 | 0.625 |
| Garden | Covariates | 8.17% | 9.32±3.32% | -0.23% | 79.56% | 18.75 | 1.261 |
| Garden | Univariate | 8.86% | 9.79±3.07% | -0.58% | 74.03% | 18.38 | 1.451 |
| Luxury | Covariates | 100.41% | 100.32±0.32% | -99.45% | 91.44% | 0.02 | 0.040 |
| Luxury | Univariate | 100.35% | 100.42±0.75% | -99.61% | 93.65% | 0.08 | 0.041 |
Note: In the table above, “Covariates” denotes timesfm-3-0-known-covariates and “Univariate” denotes timesfm-3-0-univariate. For the demand-event metric Event F1, because Grocery, Wine, and Garden have positive sales on virtually every valid open day, both modes record 100% Event F1 across all three scenarios; on the extreme zero-inflated Luxury scenario, both modes record 0% Event F1 (neither Luxury row is bolded because a few hundredths of a percentage point in WAPE is operationally meaningless when Event F1 is 0%).
As Table 4.1 shows, adding known covariates reduces Pooled WAPE by 0.37, 1.60, and 0.69 percentage points in Grocery, Wine, and Garden, respectively, while simultaneously lowering cross-fold standard deviation and quantile pinball loss (Pinball80). Wine sees the largest improvement (mean fold WAPE drops from 24.78% to 22.67%, and fold SD narrows from 5.24% to 2.90%), which aligns directly with case-buy promotions, party events, and the December peak driving its demand spikes. This result supports a clear engineering conclusion: under the current synthetic protocol, TimesFM 3.0’s native multivariate attention effectively absorbs future-known business schedules that match the underlying demand mechanism.
Luxury, however, illustrates the opposite boundary: whether VIP events and discount schedules are supplied or not, both configurations post a relative Bias near -100% and an Event F1 of 0%, with Pooled WAPE edging up by 0.06 percentage points when covariates are added. On extreme zero-inflated series, continuous patch loss pulls the model toward conservative near-zero predictions—where a ~100% WAPE and >91% Coverage80 must never be misread as strong performance.
4.2 Fixed 104-Week Protocol and History Window Comparison #
| Scenario | Mode | Pooled WAPE | Fold Mean±SD | Bias | Cov80 | Width | Pinball |
|---|---|---|---|---|---|---|---|
| Grocery | Covariates | 4.93% | 4.93±0.59% | -1.70% | 83.48% | 20.21 | 1.417 |
| Grocery | Univariate | 5.19% | 5.19±0.83% | -1.39% | 85.22% | 21.48 | 1.556 |
| Wine | Covariates | 23.98% | 24.31±4.93% | -4.97% | 77.90% | 8.31 | 0.624 |
| Wine | Univariate | 25.19% | 25.80±5.76% | -2.52% | 76.24% | 8.42 | 0.666 |
| Garden | Covariates | 8.55% | 9.68±3.31% | -1.24% | 78.45% | 18.77 | 1.294 |
| Garden | Univariate | 8.86% | 9.84±3.23% | -1.61% | 78.73% | 19.24 | 1.454 |
| Luxury | Covariates | 100.47% | 100.56±0.59% | -99.44% | 88.67% | 0.004 | 0.040 |
| Luxury | Univariate | 100.87% | 101.22±1.59% | -99.06% | 87.57% | 0.33 | 0.044 |
Note: Consistent with the expanding-history protocol, under the fixed 104-week window both modes record 100% Event F1 on Grocery, Wine, and Garden, and 0% Event F1 on Luxury.
When the historical context is truncated to the most recent 104 weeks (728 days), known covariates still reduce Pooled WAPE by 0.26, 1.21, and 0.31 percentage points in Grocery, Wine, and Garden. Repeating the exact same directional gain across both history protocols confirms that the covariate benefit is not an artifact of a longer context window.

Comparing the two history protocols across models (figure above): for univariate TimesFM, truncating roughly 3.5–4 years of expanding history down to a fixed 104 weeks raises Pooled WAPE by 0.28, 0.90, and 0.52 percentage points in Grocery, Wine, and Luxury, while Garden remains unchanged (8.86% in both protocols). This aligns closely with Garden’s underlying data-generating mechanism driven predominantly by a stationary annual sinusoid, suggesting that 104 weeks of history provide sufficient context under this model configuration. However, this single experiment does not definitively prove the model relied solely on two annual cycles, nor does it rule out other context-utilization dynamics, instance normalization quirks, or marginal noise in extended history; meanwhile, in Grocery and Wine with biweekly promotions and rare pulses, earlier historical examples still offer modest marginal gains. “Longer history is always better” is not an iron law, but truncating history should not be treated as a free optimization without paired backtesting either.
4.3 Interval Coverage Does Not Equal Event Detection #
Across the probabilistic evaluations, empirical P10–P90 coverage (Coverage80) in Grocery, Wine, and Garden ranges roughly from 74% to 85%. While the pre-trained quantile head provides a sensible uncertainty corridor, mild under- or over-coverage on individual series means nominal quantiles should be calibrated out-of-sample before driving safety-stock formulas (as noted in Part 1, Section 2.3, realized in-stock service levels also depend on replenishment lead times, on-hand inventory, and stockout-to-holding cost ratios).
Luxury highlights the danger of inspecting interval coverage in isolation: under expanding history, univariate TimesFM achieves 93.65% Coverage80 and a 0.041 Pinball80—numbers that look superior to all three regular scenarios on paper—yet its mean interval width is just 0.08 and its Event F1 is 0%. Because actual sales equal 0 on more than 90% of days in Luxury, a razor-thin band around 0 automatically covers every non-event day while missing every revenue-generating purchase day. Evaluating probabilistic forecasts on intermittent demand therefore requires pairing interval coverage with event recall, positive-demand error, and asymmetric stockout loss.
5. Multi-Model Breadth Benchmark: No Single Winner Across Regimes #
In evaluating cross-family performance, it is vital to distinguish two evaluation benchmarks:
- Operational Benchmark: Each toolkit runs under its standard, pre-declared practical configuration (e.g., statistical and tree models incorporate known business covariates, while TimesFM runs in zero-shot univariate inference) to measure the practical performance-to-effort trade-off in production.
- Information-Matched Benchmark: Models are strictly restricted to identical future information to isolate architectural capacity and algorithmic inductive bias.
This breadth leaderboard focuses on the former (the information-matched effect of adding known covariates to TimesFM was examined in the Chapter 4 ablation). To keep comparisons transparent and operationally representative, each standard modeling toolkit contributes a single representative configuration: TimesFM enters only its univariate zero-shot configuration (timesfm-3-0-univariate), leaving AutoGluon—which trains 15 component models and multi-layer ensembles—in a separate AutoML tier so a 240-second search-and-ensemble run is not conflated with zero-shot inference from a frozen checkpoint.

Across the expanding-history breadth leaderboard, the four scenarios separate clearly:
- Grocery: Top three are Prophet (
4.16%), Regression + ARIMA (4.17%), and LSTM (4.44%); TimesFM univariate zero-shot records4.91%(dropping to4.54%with known covariates in Chapter 4). - Wine: Top three are Regression + ARIMA (
22.10%), Prophet (22.78%), and LSTM (23.20%); TimesFM univariate zero-shot records24.29%(dropping to22.69%with known covariates, virtually matching Prophet). - Garden: Led by Regression + ARIMA (
7.80%) and Prophet (7.81%), both of which explicitly model Fourier annual cycles and event indicators; TimesFM univariate zero-shot records8.86%(8.17%with known covariates). - Luxury: CatBoost default records
100.25%Pooled WAPE and9.09%Event F1; TimesFM univariate records100.35%Pooled WAPE and0%Event F1. No single-stage model in the benchmark reaches production readiness on this regime.
These results support neither “foundation models render statistical models obsolete” nor “foundation models lose to classical methods.” A more accurate engineering assessment is that without scenario-specific training or hand-crafted lag pipelines, TimesFM 3.0 zero-shot closely approaches well-specified statistical and deep-learning baselines on regular and pulse-driven series, making it a highly effective zero-shot shadow challenger; when origin-known promotional and calendar schedules are passed in, its error narrows further toward the top statistical models. At the same time, when the data-generating seasonality and regressors are transparent and stationary, ARIMA and Prophet with explicit exogenous terms retain a slight accuracy edge—and on extreme zero-inflated series like Luxury, no single-stage continuous or patched model replaces a dedicated two-stage hurdle formulation.
Furthermore, under a fixed 240-second search budget, AutoGluon did not beat the best single representative model in Grocery, Wine, or Garden. On medium-length daily retail series with clear structural drivers, blindly stacking model complexity, AutoML search time, or history length matters far less than aligning the model structure with the demand mechanism and future-known covariate boundary.
6. Production Implications and Reproducibility Boundaries #
6.1 Four Engineering Recommendations for Retail Forecasting #
- Deploy TimesFM as a Zero-Shot Shadow Challenger Rather Than a Drop-In Replacement: On regular and promotion-driven categories such as Grocery, Wine, and Garden, run Regression + ARIMA / Prophet in parallel with covariate-enabled TimesFM, weighing daily inference cost, interval calibration, and multi-origin stability before routing primary replenishment decisions.
- Version-Control Business Schedules Known at the Forecast Origin: Planned promotions, party events, long weekends, and operating calendars consistently reduced TimesFM 3.0 error across both history protocols. In production, the feature store must snapshot marketing schedules as of each forecast origin timestamp, preventing ex-post schedule revisions or realized stockouts from leaking into backtests.
- Switch High-Zero Slow Movers (Luxury) to Two-Stage Event Modeling: For intermittent or lumpy series with high ADI and \(\mathrm{CV}_+^2\), stop using WAPE-driven single-stage continuous predictors that collapse to all-zero forecasts. Instead, adopt a two-stage hurdle model (“transaction occurrence classification + positive demand size regression”) or Croston/SBA variants, evaluating candidates on Event F1, positive-demand error, and asymmetric stockout costs.
- Calibrate Quantile Intervals Separately Before Replenishment Optimization: Whether using P10/P90 outputs from TimesFM or intervals from statistical models, calibrate empirical coverage across rolling origins against replenishment lead times, on-order inventory, and target service levels rather than treating nominal quantiles as guaranteed safety-stock bounds.
6.2 Reproducibility Boundaries and Next Steps #
To ensure every reported metric can be independently audited, this benchmark locks down the following data and runtime boundaries:
- Dataset Scale: Four deterministic five-year daily series generated from fixed mathematical specifications, with 1,820 days per scenario;
- Evaluation Protocols: 13 non-overlapping 28-day rolling windows across the 2026 retail year, published separately for expanding history and fixed 104-week history;
- Model Version: Python package
timesfm==3.0.2, pinning repositorygoogle/timesfm-3.0-pytorchat revision43046b85ec22d584a13f8098c2ed39c889e129c2; - Hardware Environment: 16 GB Apple M4 Mac mini running serial CPU inference (
batch_size=1), loading the model checkpoint once per evaluation process; - Immutable Release Archive: All daily forecasts, 13-fold metrics, pooled metrics, configuration files, and SHA-256 manifests are archived under release tag
20261106-timesfm-v1; - Licensing Boundary: Public TimesFM 3.0 weights are governed by
timesfm-non-commercial-license-v1.0[2][3], so our local Python evaluation is strictly for research and educational comparison; teams deploying self-hosted models in commercial production should evaluateApache-2.0licensed TimesFM 2.5 or Google Cloud BigQueryAI.FORECASTas detailed in Part 1, Section 5.5.
Crucially, while the 13 rolling forecast windows do not overlap, all 13 originate from four specific series generated under a single random seed; the windows share the same underlying data-generating mechanisms and overlapping historical context. Consequently, these 13 windows test rolling temporal robustness across different forecast origins, rather than 13 independent replications across distinct data-generating realizations. Furthermore, synthetic series cannot fully capture cross-store and cross-SKU cannibalization, sudden promotional cancellations, concept drift, or high-concurrency GPU batch throughput in live enterprise systems. Rather than simply adding more model names to a leaderboard, the most valuable subsequent research directions are multi-seed independent replications with paired difference distributions, granular covariate ablations (separating calendar effects from promotional elasticity), two-stage hurdle modeling for Luxury, and horizon decay curves across weeks 1 through 4.
Code, Data, and Evidence #
The complete implementation, synthetic data generators, and immutable evaluation artifacts (20261106-timesfm-v1) are open-sourced in the retail-demand-forecast repository[4].
References #
[1] A. A. Syntetos, J. E. Boylan, J. D. Croston. On the categorization of demand patterns. Journal of the Operational Research Society, 56(5), pp. 495–503, 2005. https://doi.org/10.1057/palgrave.jors.2601841
[2] A. Jain, R. Sen. TimesFM-3: A zero-shot foundation model for multivariate forecasting. Google Research Blog, 2026. https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/
[3] Google Research. TimesFM: Time Series Foundation Model Repository. GitHub, 2026. https://github.com/google-research/timesfm
[4] C. Cui. retail-demand-forecast: Synthetic Retail Forecasting Benchmark Repository. GitHub, 2026. https://github.com/cuicaihao/retail-demand-forecast