TL;DR
TimeID introduces a novel framework for source-free time series forecasting, allowing models to adapt to data-scarce target domains without accessing private source data. By combining dual-branch invariant feature learning with a parameter-free proxy denoising mechanism that corrects LLM hallucinations, it achieves state-of-the-art forecasting accuracy while remaining highly computationally efficient.
What Problem Does This Paper Address?
Accurate time series forecasting is vital for real-world applications ranging from smart grids to traffic management. However, collecting sufficient data in a new domain can be incredibly expensive or restricted by strict data privacy regulations.
While transfer learning can help bridge the gap by shifting knowledge from a data-rich "source" domain to a data-scarce "target" domain, traditional methods require simultaneous access to both datasets. This is a dealbreaker for privacy-sensitive applications. Furthermore, while Large Language Models (LLMs) have emerged as powerful zero-shot forecasters, they are computationally heavy and prone to "hallucinations"—producing systematic biases when applied to specific, unfamiliar domains.
This paper tackles Source-Free Time Series Forecasting (SF-TSF). The goal is to adapt a pretrained source model to a sparse target domain using only the source model's parameters, ensuring data protection while mitigating cross-domain distribution shifts and LLM noise.
Methods
The authors propose TimeID (Invariant feature disentanglement and proxy Denoising), which consists of three main pillars:
- Invariant Disentangled Feature Learning (IDFL): TimeID uses a dual-branch architecture to explicitly decompose time series inputs into seasonal and trend components. To prevent the model from overfitting to domain-specific quirks, it enforces invariance at both the representation and gradient levels using stochastic dropout and Fourier transforms.
- LLM-Centric Proxy Denoising: Instead of fine-tuning a massive LLM, TimeID treats a frozen, pre-trained LLM as a knowledgeable but potentially biased "proxy forecaster." It dynamically estimates the LLM's error by calculating the disagreement (signed residual) between the frozen source model and the actively adapting target model. This estimated bias is then subtracted from the LLM's predictions to purify the signal.
- Knowledge Distillation: A bidirectional loop is established where the purified, denoised LLM forecasts serve as a supervisory signal to train a lightweight target model via Mean Squared Error (MSE) loss. Crucially, the LLM remains frozen, meaning the target model reaps the benefits of high-level temporal knowledge without the massive computational overhead.
Datasets
The framework was evaluated across 10 widely recognized real-world benchmarks to simulate diverse cross-domain transfer scenarios:
- ETT (ETTh1, ETTh2, ETTm1, ETTm2): Electricity transformer temperature datasets.
- Weather: 21 meteorological indicators recorded in Germany.
- Electricity: Hourly consumption data from 321 clients.
- Traffic: Hourly road occupancy rates from San Francisco freeways.
- Exchange, Solar, and PEMS03: Used for extended validation.
To rigorously test the "sparse data" constraint, the baselines and TimeID were fine-tuned using only 30% of the target domain data.
Key Insights and Ideas
- LLMs as Flawed Advisors: Rather than trying to eliminate LLM hallucinations through expensive prompt engineering or fine-tuning, TimeID accepts that LLMs will bias under domain shifts and uses a smaller, localized consensus to mathematically subtract that bias.
- The Power of Disagreement: The core "aha moment" for the denoising module is that the delta between a model that knows the source domain ($\theta_s$) and a model learning the target domain ($\theta_t$) provides an empirical error signal perfectly suited to calibrate the LLM.
- Gradient-Level Alignment: Simply aligning feature representations isn't enough for complex time series. Aligning the trajectories of gradients ensures that the model discards component-specific cues and retains truly domain-invariant temporal patterns.
Key Results
TimeID was compared against a battery of competitive baselines (including PatchTST, DLinear, and Time-LLM) and achieved dominant results:
- Substantial Error Reductions: TimeID achieved an average reduction of 10.7% in MSE and 9.3% in MAE across 18 distinct forecasting tasks.
- Beating Foundation Models: In few-shot settings, TimeID outperformed specialized time series foundation models like Chronos and MOIRAI. For instance, on the ETTh2 and Weather datasets, it surpassed the best foundation model by 3.4% and 11.1% in MSE, respectively.
- High Efficiency: The trainable target model is exceptionally lightweight, containing only 1.842M parameters, making it highly practical for real-world deployment compared to deploying raw LLMs.
Limitations and Future Work
The primary limitation of TimeID is its reliance on the adaptation phase; its performance drops significantly in strict zero-shot inference scenarios. Because the proxy denoising and knowledge distillation mechanisms are designed to operate during adaptation training, the model struggles if it cannot look at a small mini-batch of target data first.
As a next step, the authors suggest extending this source-free, LLM-centric framework to other critical time series tasks, such as anomaly detection and classification.
Summary updated