GITCO: Gated Inference-Time Context Optimization in TSFMs
Summary
GITCO (Gated Inference-Time Context Optimization) is a lightweight three-component framework designed to improve the accuracy of patch-based Time Series Foundation Models (TSFMs) like TimesFM 2.5 at inference time. It addresses "context poisoning," where structurally anomalous input patches degrade zero-shot forecast quality. GITCO's Gate, Router, and Critic components selectively identify and suppress harmful patches without modifying model weights. Evaluated on TimesFM 2.5 across 53 GIFT-Eval datasets using K-fold cross-validation, GITCO achieved an average +1.95% MASE reduction, capturing 89.9% of the potential improvement upper bound. The framework also introduces "context sensitivity profiles" as a new characterizable property of TSFMs, mapping time series meta-features to expected accuracy improvements under context intervention.
Key takeaway
For Machine Learning Engineers deploying frozen Time Series Foundation Models, you should consider implementing inference-time context optimization to enhance forecasting reliability. GITCO's precision-first gating mechanism can prevent significant errors from "context poisoning" without retraining, offering a +1.95% MASE reduction on models like TimesFM 2.5. Evaluate your model's context sensitivity profile to determine if a similar meta-feature-driven intervention strategy is viable for your specific architecture and data.
Key insights
GITCO improves TSFM accuracy by optimizing input context at inference time, mitigating "context poisoning" without model weight updates.
Principles
- Prioritize precision over recall in intervention gating.
- Context improvability is a joint property of data and architecture.
- Gating primacy: a safe gate is essential for system utility.
Method
GITCO uses a Gate to decide intervention, a Router to select an expert Critic, and a Critic to identify and soft-denoise the most disruptive patch via SMA(w=5) within a 512-step context window.
In practice
- Use meta-features like seasonality and spectral entropy for gating.
- Apply a 5-point Simple Moving Average for patch denoising.
- Design gates with asymmetric loss to avoid degrading clean series.
Topics
- Time Series Foundation Models
- Context Poisoning
- Inference-Time Optimization
- GITCO Framework
- MASE Reduction
- TimesFM 2.5
- Context Sensitivity Profiles
Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.