Introduction
TimeID is a novel framework designed for "source-free" time series forecasting (SF-TSF). It allows models to adapt to new, data-scarce domains without requiring access to the original training data. By combining invariant feature learning with a unique "proxy denoising" strategy that corrects Large Language Model (LLM) hallucinations, TimeID achieves a significant ~10% performance boost over current state-of-the-art methods.
The Challenge of Source-Free Forecasting
In the era of IoT and ubiquitous sensors, data is abundant but often siloed. High acquisition costs, strict privacy regulations (such as GDPR), and proprietary concerns frequently prevent the sharing of raw data. Consequently, researchers may possess a pre-trained model from a "source" domain (e.g., power grid data from City A) but cannot access the raw data to train a model for a "target" domain (e.g., City B).
This scenario creates the Source-Free Time Series Forecasting (SF-TSF) challenge. Standard transfer learning typically requires both datasets to align distributions. Furthermore, target domains often suffer from data sparsity, making it difficult to capture complex temporal patterns. While LLMs have demonstrated promise in "zero-shot" forecasting, they are susceptible to "hallucinations"—generating plausible but statistically incorrect values—especially when encountering unseen domain-specific nuances.
The TimeID Framework
To address these challenges, the authors propose TimeID, a framework built on three core pillars:
1. Invariant Disentangled Feature Learning (IDFL)
Time series data is inherently complex, often containing intertwined trends and seasonal patterns. TimeID decomposes the data into "trend" and "seasonal" components using a dual-branch architecture. This ensures the learned features are "invariant"—for instance, a trend feature remains stable even if the seasonality shifts. This invariance is enforced at both the representation level (latent space structure) and the gradient level (model updates), making the model highly robust to distribution shifts between the source and target domains.
2. LLM-Centric Proxy Denoising
TimeID leverages a pre-trained LLM as a powerful but potentially noisy consultant. To mitigate LLM hallucinations, the framework calculates a "proxy error" based on the disagreement between the original source model and the adapting target model. If the two smaller models agree but the LLM deviates, the LLM’s output is dynamically "denoised" (corrected) before being utilized. This parameter-free calibration effectively nudges the LLM's prediction back toward empirical reality without the prohibitive cost of retraining the LLM.
3. Bidirectional Knowledge Distillation
Once the LLM's forecast is denoised, it acts as a teacher. The lightweight target model is trained to match these denoised predictions through bidirectional knowledge distillation. This process allows the target model to inherit the LLM's broad reasoning and generalization capabilities without the massive computational overhead of running an LLM during inference. Ablation studies reveal that this teacher-student dynamic is the primary engine of the framework's success.
Experimental Validation
The researchers evaluated TimeID across a comprehensive suite of real-world datasets:
- ETT (Electricity Transformer Temperature): Four subsets (ETTh1, ETTh2, ETTm1, ETTm2) covering various sampling frequencies.
- Weather: 21 meteorological indicators recorded in Germany.
- Electricity: Hourly consumption data for 321 clients.
- Traffic: Hourly road occupancy rates from San Francisco freeways.
- Additional Benchmarks: Solar, Exchange, and PEMS datasets further validated the model's versatility.
Key Results
TimeID consistently outperformed state-of-the-art baselines, including Time-LLM, OFA, and PatchTST.
- Accuracy: On average, TimeID improved Mean Squared Error (MSE) by 10.7% and Mean Absolute Error (MAE) by 9.3%.
- Efficiency: Because the LLM and source models remain frozen during the adaptation phase, the process is highly resource-efficient compared to the full fine-tuning of foundation models.
- Foundation Model Comparison: Even when benchmarked against massive time-series foundation models like Chronos and MOIRAI, TimeID demonstrated superior performance in specialized source-free scenarios where domain-specific adaptation is critical.
Limitations and Future Directions
While highly effective for few-shot adaptation, TimeID has limitations. In purely zero-shot settings (where no target data is available for adaptation), performance declines because the denoising and distillation modules lack data to calibrate against. Additionally, although the LLM is frozen, loading it alongside the source and target models requires significant GPU memory (32–45 GB), which may be prohibitive for edge devices.
Future work aims to extend the "denoised proxy" logic to other time-series tasks beyond forecasting, such as classification and anomaly detection, potentially broadening the impact of this innovative framework.
Reference: Yan, K., et al. (2026). Invariant Representation Learning for Source-Free Time Series Forecasting with LLM-Centric Proxy Denoising. Proceedings of the 43rd International Conference on Machine Learning (ICML).
Summary updated