Traditional time series forecasting is treated as a numerical regression problem. We build specialized architectures—LSTMs, Transformers, or State Space Models—and train them on specific datasets like electricity usage or stock prices. However, a new wave of research suggests that Large Language Models (LLMs), despite being trained on text, are remarkably effective at analyzing temporal data without any domain-specific training.
The core intuition is that LLMs are not just "language" models; they are general-purpose sequence modeling engines. By treating a sequence of numbers as a string of tokens, these models can leverage the complex pattern-recognition capabilities they developed during pre-training to perform zero-shot forecasting and classification.
Numbers as a Foreign Language
The first hurdle in using an LLM for time series is the "modality gap"—the difference between continuous numerical values and discrete text tokens. Researchers have found that the simplest solution is often the most effective: treating numbers as text.
In Prompt-Based Time Series Forecasting: A New Task and Dataset, Hao Xue and Flora D. Salim introduced PromptCast, which reformulates forecasting as a natural language generation task. Instead of feeding a model a tensor of values, they provide a prompt like "The temperature was 20, 21, 22. What is next?" and let the model predict the next "word."
Building on this, Nate Gruver and Andrew Gordon Wilson developed LLMTIME (Large Language Models Are Zero-Shot Time Series Forecasters). They discovered that by representing time series as strings of digits separated by spaces, off-the-shelf models like GPT-3 and LLaMA-2 can match or exceed the performance of supervised, specialized models. The LLM treats the digits as a pattern to be completed, effectively performing "likelihood estimation" on the numerical sequence.
Why Generalization Beats Specialization
Specialized numerical models often struggle with "Out-of-Distribution" (OOD) data—situations where the test data looks different from the training data. In contrast, LLMs exhibit superior zero-shot generalization.
Ming Jin and Qingsong Wen argue in their survey (Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlook) that because LLMs are trained on massive, diverse datasets, they capture a "universal sequence logic." This logic allows them to recognize rhythmic patterns, trends, and seasonalities across entirely different domains—from finance to healthcare—without needing to be retrained.
This capability is further explored in the Tri-Level Navigator (TTSO) framework by Chengtao Jian and Yang Jiao. Their work (Tri-Level Navigator: LLM-Empowered Tri-Level Learning for Time Series OOD Generalization) demonstrates that the self-attention mechanisms in pre-trained LLMs are inherently better at capturing complex sequential dependencies than architectures initialized from scratch, especially when the data distribution shifts.
Bridging the Gap with Symbolization
While treating numbers as raw text works, it can be computationally expensive and noisy. Recent work focuses on "translating" time series into more efficient representations.
Jianyang Qin and Qing Liao proposed $S^2TS-LLM$ (Bridging Time and Linguistics: LLMs as Time Series Analyzer through Symbolization and Segmentation). This framework converts continuous signals into frequency-based symbols and groups them into "semantic blocks." By turning a jagged line of data into a structured "sentence" of symbols, the model can more easily apply its linguistic reasoning to identify spikes or cycles.
Similarly, Yueyang Yao and Fei-Yue Wang 0001 introduced CAPTime (Context-Aware Probabilistic Modeling with LLM for Multimodal Time Series Forecasting). CAPTime leverages the LLM's ability to handle multimodal data, integrating exogenous text—like news reports or financial statements—directly into the numerical forecasting process. This allows the model to understand why a trend might change, not just that it is changing.
From Forecasting to Reasoning
The utility of LLMs extends beyond simple prediction into classification and complex reasoning. Yakun Chen and Xianzhi Wang 0001 showed in LLMFew (Large language models are few-shot multivariate time series classifiers) that LLMs can classify heart conditions or sensor data with very few labeled examples, outperforming traditional deep learning models by up to 125% in few-shot scenarios.
Furthermore, frameworks like FETA, developed by Songyuan Sui and Xia Hu 0001, use LLM agents to perform "in-context reasoning" (Training-Free Time Series Classification via In-Context Reasoning with LLM Agents). Instead of calculating a mathematical distance between two curves, the model qualitatively compares the structural characteristics—like "this sequence has a sharp peak similar to the example"—to make a classification.
This shift suggests that the future of time series analysis lies in "universal analytical intelligence" (Ming Jin), where a single model can act as a zero-shot predictor, a data enhancer, and a reasoning agent across any temporal domain.