Skip to main navigation Skip to search Skip to main content

Adversarial Vulnerabilities in Large Language Models for Time Series Forecasting

  • Fuqiang Liu
  • , Sicong Jiang
  • , Luis Miranda-Moreno
  • , Seongjin Choi
  • , Lijun Sun

Research output: Contribution to journalConference articlepeer-review

Abstract

Large Language Models (LLMs) have recently demonstrated significant potential in time series forecasting, offering impressive capabilities in handling complex temporal data. However, their robustness and reliability in real-world applications remain under-explored, particularly concerning their susceptibility to adversarial attacks. In this paper, we introduce a targeted adversarial attack framework for LLM-based time series forecasting. By employing both gradient-free and black-box optimization methods, we generate minimal yet highly effective perturbations that significantly degrade the forecasting accuracy across multiple datasets and LLM architectures. Our experiments, which include models like LLMTime with GPT-3.5, GPT-4, LLaMa, and Mistral, TimeGPT, and TimeLLM show that adversarial attacks lead to much more severe performance degradation than random noise, and demonstrate the broad effectiveness of our attacks across different LLMs. The results underscore the critical vulnerabilities of LLMs in time series forecasting, highlighting the need for robust defense mechanisms to ensure their reliable deployment in practical applications. The code repository can be found at Johnson/AdvAttackLLM4TS.

Original languageEnglish (US)
Pages (from-to)4672-4680
Number of pages9
JournalProceedings of Machine Learning Research
Volume258
StatePublished - 2025
Event28th International Conference on Artificial Intelligence and Statistics, AISTATS 2025 - Mai Khao, Thailand
Duration: May 3 2025May 5 2025

Bibliographical note

Publisher Copyright:
Copyright 2025 by the author(s).

Fingerprint

Dive into the research topics of 'Adversarial Vulnerabilities in Large Language Models for Time Series Forecasting'. Together they form a unique fingerprint.

Cite this