mlsanityData to 14 Oct 2026

NeST: Neighborhood-aware semantic alignment and temporal modulation for LLM based time series forecasting

arXiv 2412.04806 ↗First posted 6 Dec 2024cs.LG cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Adapting Large Language Models (LLMs) trained on discrete text data, to forecast continuous time series signals is challenging. While finetuning the LLMs enables such adaptation, effectively integrating both textual and time series information in the prompt is critical. Current LLM-based time series forecasting methods combine the two modalities through simple concatenation or parameter heavy cross-attention. Moreover, existing methods embed time series data using decomposition techniques that may inadequately capture complex temporal dynamics. To address these limitations, we propose neighborhood-aware semantic alignment and temporal modulation based framework (NEST) to formulate a new text-integrated time series prompt to finetune the LLM. First, we generate neighborhood-aware text prototypes that are optimized to represent local neighborhoods of pretrained word token embeddings of the LLM. Second, we align them with temporal representations of the time series input using a nearest-neighbor contrastive objective, after which the top-k most relevant text prototypes are retrieved. Third, we introduce text prototype conditioned temporal modulation that uses the retrieved text prototypes to adaptively scale and shift time series features. Extensive experiments demonstrate that NeST consistently outperforms state-of-the-art methods across eight benchmarks, achieving an average 1.2% reduction in MSE for long-term forecasting. In addition, it demonstrates strong generalization, yielding an average 4.9% reduction in MSE in zero-shot forecasting. Beyond benchmark datasets, NeST also delivers robust performance on a real-world distributed photovoltaic power forecasting task across nine datasets, improving the average R2 score by 3.3%. These findings demonstrate the effectiveness and generalizability of NeST for adapting LLMs to diverse time series forecasting tasks.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 42 references that are in the map. First posted on arXiv 6 Dec 2024.

Builds on

16 of 42 references.

References · 16

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  4. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  5. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  6. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  7. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,058
  8. 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 632
  9. 2020Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networkscited by 566
  10. 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 500
  11. 2022TabLLM: Few-shot Classification of Tabular Data with Large Language Modelscited by 277
  12. 2023TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecastingcited by 174
4 more
  1. 2024MiniGPT4-Video: Advancing Multimodal LLMs for Video Understanding with Interleaved Visual-Textual Tokenscited by 118
  2. 2023Tuning LayerNorm in Attention: Towards Efficient Multi-Modal LLM Finetuningcited by 64
  3. 2024Empowering Time Series Analysis with Large Language Models: A Surveycited by 60
  4. 2018RobustSTL: A Robust Seasonal-Trend Decomposition Algorithm for Long Time Seriescited by 54

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Adapting LLMs to Time Series Forecasting via Temporal Heterogeneity Modeling and Representation Alignment
  2. 2025Enhancing Time Series Forecasting via Multi-Level Text Alignment with LLMs
  3. 2025Semantic-Enhanced Time-Series Forecasting via Large Language Models
  4. 2023Time-LLM: Time Series Forecasting by Reprogramming Large Language Models
  5. 2025Enhancing LLMs for Time Series Forecasting via Structure-Guided Cross-Modal Alignment
  6. 2025Small but Mighty: Enhancing Time Series Forecasting with Lightweight LLMs
  7. 2025Fusing Large Language Models with Temporal Transformers for Time Series Forecasting
  8. 2024TimeCMA: Towards LLM-Empowered Multivariate Time Series Forecasting via Cross-Modality Alignment