Time-LLM: Time Series Forecasting by Reprogramming Large Language Models
Authors: Ming Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu, James Y. Zhang, Xiaoming Shi, Pin-Yu Chen, Yuxuan Liang, Yuan-Fang Li, Shirui Pan, Qingsong Wen
Abstract
Time series forecasting holds significant importance in many real-world dynamic systems and has been extensively studied. Unlike natural language process (NLP) and computer vision (CV), where a single large model can tackle multiple tasks, models for time series forecasting are often specialized, necessitating distinct designs for different tasks and applications. While pre-trained foundation models have made impressive strides in NLP and CV, their development in time series domains has been constrained by data sparsity. Recent studies have revealed that large language models (LLMs) possess robust pattern recognition and reasoning abilities over complex sequences of tokens. However, the challenge remains in effectively aligning the modalities of time series data and natural language to leverage these capabilities. In this work, we present Time-LLM, a reprogramming framework to repurpose LLMs for general time series forecasting with the backbone language models kept intact. We begin by reprogramming the input time series with text prototypes before feeding it into the frozen LLM to align the two modalities. To augment the LLM's ability to reason with time series data, we propose Prompt-as-Prefix (PaP), which enriches the input context and directs the transformation of reprogrammed input patches. The transformed time series patches from the LLM are finally projected to obtain the forecasts. Our comprehensive evaluations demonstrate that Time-LLM is a powerful time series learner that outperforms state-of-the-art, specialized forecasting models. Moreover, Time-LLM excels in both few-shot and zero-shot learning scenarios.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Time Series Forecasting with LLMs: Understanding and Enhancing Model CapabilitiesMingyu Jin, Hua Tang, Chong Zhang et al. · 2024 · Computation and Language · cited 103 times · AI summary available
Abstract
Large language models (LLMs) have been applied in many fields with rapid development in recent years. As a classic machine learning task, time series forecasting has recently received a boost from LLMs. However, there is a research gap in the LLMs' preferences in this field. In this paper, by comparing LLMs with traditional models, many properties of LLMs in time series prediction are found. For example, our study shows that LLMs excel in predicting time series with clear patterns and trends but face challenges with datasets lacking periodicity. We explain our findings through designing prompts to require LLMs to tell the period of the datasets. In addition, the input strategy is investigate…
-
T-LLM: Teaching Large Language Models to Forecast Time Series via Temporal DistillationSu-Han Guo, Bingxu Wang, Shaodan Zhang et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 3 times · Not summarized yet
Abstract
Time series forecasting plays a critical role in decision-making across many real-world applications. Unlike data in vision and language domains, time series data is inherently tied to the evolution of underlying processes and can only accumulate as real-world time progresses, limiting the effectiveness of scale-driven pretraining alone. This time-bound constraint poses a challenge for enabling large language models (LLMs) to acquire forecasting capability, as existing approaches primarily rely on representation-level alignment or inference-time temporal modules rather than explicitly teaching forecasting behavior to the LLM. We propose T-LLM, a temporal distillation framework that equips ge…
-
TF-LLM: Enhanced time series analysis with time-frequency large language modelsYuhan Zhang, Zi-Tong Yu, Ming-Tong Dai et al. · 2026 · Neural Networks · cited 6 times · Not summarized yet
Abstract
In recent years, pre-trained large language models (LLMs) are gradually introduced into time series analysis, and researchers have observed their significant potential for multi-task reasoning, particularly in handling complex symbolic sequences. However, how to effectively and deeply leverage the contextual reasoning capabilities of LLMs in time series data remains a key challenge. To address this challenge, this study proposes the TF-LLM framework to handle various tasks in time series, such as forecasting, classification, imputation, and anomaly detection. We innovatively integrate the strengths of both time and frequency domains: frequency representations simplify data complexity and enh…
-
LLM-PS: Empowering Large Language Models for Time Series Forecasting with Temporal Patterns and SemanticsJialiang Tang, Shuo Chen, Chen Gong et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 7 times · Not summarized yet
Abstract
Time Series Forecasting (TSF) is critical in many real-world domains like financial planning and health monitoring. Recent studies have revealed that Large Language Models (LLMs), with their powerful in-contextual modeling capabilities, hold significant potential for TSF. However, existing LLM-based methods usually perform suboptimally because they neglect the inherent characteristics of time series data. Unlike the textual data used in LLM pre-training, the time series data is semantically sparse and comprises distinctive temporal patterns. To address this problem, we propose LLM-PS to empower the LLM for TSF by learning the fundamental \textit{Patterns} and meaningful \textit{Semantics} fr…
-
LLM4TS: Aligning Pre-Trained LLMs as Data-Efficient Time-Series ForecastersChing Chang, Wei-Yao Wang, Wen-Chih Peng et al. · 2023 · ACM Transactions on Intelligent Systems and Technology · cited 255 times · Not summarized yet
Abstract
Multivariate time-series forecasting is vital in various domains, e.g., economic planning and weather prediction. Deep train-from-scratch models have exhibited effective performance yet require large amounts of data, which limits real-world applicability. Recently, researchers have leveraged the representation learning transferability of pre-trained Large Language Models (LLMs) to handle limited non-linguistic datasets effectively. However, incorporating LLMs with time-series data presents challenges of limited adaptation due to different compositions between time-series and linguistic data, and the inability to process multi-scale temporal information. To tackle these challenges, we propose…
-
Time-LlaMA: Adapting Large Language Models for Time Series Modeling via Dynamic Low-rank AdaptationJu-Yuan Zhang, Jiechao Gao, Wen-Wen Ouyang et al. · 2025 · Annual Meeting of the Association for Computational Linguistics · cited 25 times · Not summarized yet
Abstract
Time series modeling holds significant importance in many industrial applications and has been extensively studied. A series of recent studies have demonstrated that large language models (LLMs) possess robust pattern recognition and semantic understanding capabilities over time series data. However, the current literature have yet striked a high-quality balance between (a) effectively aligning the time series and natural language modalities and (b) keeping the inference efficiency for industrial deployment. To address the above issues, we now propose the Time-LlaMA framework. Time-LlaMA first converts the time series input into token embeddings through a linear tokenization mechanism. Secon…
-
Towards Time Series Reasoning with LLMsWinnie Chow, Lauren Gardiner, Haraldur T. Hallgr'imsson et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 46 times · Not summarized yet
Abstract
Multi-modal large language models (MLLMs) have enabled numerous advances in understanding and reasoning in domains like vision, but we have not yet seen this broad success for time-series. Although prior works on time-series MLLMs have shown promising performance in time-series forecasting, very few works show how an LLM could be used for time-series reasoning in natural language. We propose a novel multi-modal time-series LLM approach that learns generalizable information across various domains with powerful zero-shot performance. First, we train a lightweight time-series encoder on top of an LLM to directly extract time-series information. Then, we fine-tune our model with chain-of-thought…
-
Fusing Large Language Models with Temporal Transformers for Time Series ForecastingChen Su, Yuanhe Tian, Qinyu Liu et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 6 times · Not summarized yet
Abstract
Recently, large language models (LLMs) have demonstrated powerful capabilities in performing various tasks and thus are applied by recent studies to time series forecasting (TSF) tasks, which predict future values with the given historical time series. Existing LLM-based approaches transfer knowledge learned from text data to time series prediction using prompting or fine-tuning strategies. However, LLMs are proficient at reasoning over discrete tokens and semantic patterns but are not initially designed to model continuous numerical time series data. The gaps between text and time series data lead LLMs to achieve inferior performance to a vanilla Transformer model that is directly trained o…
Prior work it builds on
-
LLM4TS: Two-Stage Fine-Tuning for Time-Series Forecasting with Pre-Trained LLMsChing Chang, Wen-Chih Peng, Tien-Fu Chen · 2023 · arXiv.org · preprint, not peer reviewed · cited 214 times · Not summarized yet
-
LLaMA: Open and Efficient Foundation Language ModelsHugo Touvron, Thibaut Lavril, Gautier Izacard et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 22,494 times · AI summary available
Abstract
We introduce LLaMA, a collection of foundation language models ranging from 7B to 65B parameters. We train our models on trillions of tokens, and show that it is possible to train state-of-the-art models using publicly available datasets exclusively, without resorting to proprietary and inaccessible datasets. In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks, and LLaMA-65B is competitive with the best models, Chinchilla-70B and PaLM-540B. We release all our models to the research community.
-
Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid et al. · 2022 · Computation and Language · cited 8,430 times · AI summary available
Abstract
Pretrained large language models (LLMs) are widely used in many sub-fields of natural language processing (NLP) and generally known as excellent few-shot learners with task-specific exemplars. Notably, chain of thought (CoT) prompting, a recent technique for eliciting complex multi-step reasoning through step-by-step answer examples, achieved the state-of-the-art performances in arithmetics and symbolic reasoning, difficult system-2 tasks that do not follow the standard scaling laws for LLMs. While these successes are often attributed to LLMs' ability for few-shot learning, we show that LLMs are decent zero-shot reasoners by simply adding "Let's think step by step" before each answer. Experi…
-
One Fits All: Power General Time Series Analysis by Pretrained LMTian Zhou, Pei-Song Niu, Xue Wang et al. · 2023 · Neural Information Processing Systems · cited 1,246 times · Not summarized yet
Abstract
Although we have witnessed great success of pre-trained models in natural language processing (NLP) and computer vision (CV), limited progress has been made for general time series analysis. Unlike NLP and CV where a unified model can be used to perform different tasks, specially designed approach still dominates in each time series analysis task such as classification, anomaly detection, forecasting, and few-shot learning. The main challenge that blocks the development of pre-trained model for time series analysis is the lack of a large amount of data for training. In this work, we address this challenge by leveraging language or CV models, pre-trained from billions of tokens, for time seri…
-
A Time Series is Worth 64 Words: Long-term Forecasting with TransformersYu-Qi Nie, Nam H. Nguyen, Phanwadee Sinthong et al. · 2022 · International Conference on Learning Representations · cited 5,261 times · AI summary available
Abstract
We propose an efficient design of Transformer-based models for multivariate time series forecasting and self-supervised representation learning. It is based on two key components: (i) segmentation of time series into subseries-level patches which are served as input tokens to Transformer; (ii) channel-independence where each channel contains a single univariate time series that shares the same embedding and Transformer weights across all the series. Patching design naturally has three-fold benefit: local semantic information is retained in the embedding; computation and memory usage of the attention maps are quadratically reduced given the same look-back window; and the model can attend long…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 3 November 2026.