Enhancing Zero-Shot Time Series Forecasting in Off-the-Shelf LLMs via Noise Injection
Xingyou Yin, Ceyao Zhang, Min Hu, Kai Chen
TL;DR
This work tackles the brittleness of zero-shot time series forecasting with off-the-shelf LLMs by introducing NLTS, an inference-time noise-injection approach that perturbs raw TS inputs before textualization and tokenization. The method leverages a fully frozen LLM, relying on robust temporal structure rather than numerical artifacts, and employs sampling with median aggregation to produce forecasts with quantified uncertainty. The authors provide a theoretical foundation showing perturbation stability and favorable Hessian properties for well-trained models, and validate NLTS across diverse benchmarks, including contamination-free synthetic and stock datasets, where it consistently improves forecasting accuracy without memorization. The results suggest NLTS as a practical, low-cost enhancement for deploying off-the-shelf LLMs in real-world TS tasks, with implications for robust, data-efficient forecasting in resource-constrained settings.
Abstract
Large Language Models (LLMs) have demonstrated effectiveness as zero-shot time series (TS) forecasters. The key challenge lies in tokenizing TS data into textual representations that align with LLMs' pre-trained knowledge. While existing work often relies on fine-tuning specialized modules to bridge this gap, a distinct, yet challenging, paradigm aims to leverage truly off-the-shelf LLMs without any fine-tuning whatsoever, relying solely on strategic tokenization of numerical sequences. The performance of these fully frozen models is acutely sensitive to the textual representation of the input data, as their parameters cannot adapt to distribution shifts. In this paper, we introduce a simple yet highly effective strategy to overcome this brittleness: injecting noise into the raw time series before tokenization. This non-invasive intervention acts as a form of inference-time augmentation, compelling the frozen LLM to extrapolate based on robust underlying temporal patterns rather than superficial numerical artifacts. We theoretically analyze this phenomenon and empirically validate its effectiveness across diverse benchmarks. Notably, to fully eliminate potential biases from data contamination during LLM pre-training, we introduce two novel TS datasets that fall outside all utilized LLMs' pre-training scopes, and consistently observe improved performance. This study provides a further step in directly leveraging off-the-shelf LLMs for time series forecasting.
