Adversarial Vulnerabilities in Large Language Models for Time Series Forecasting

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Fuqiang, Jiang, Sicong, Miranda-Moreno, Luis, Choi, Seongjin, Sun, Lijun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913733416058880
author Liu, Fuqiang
Jiang, Sicong
Miranda-Moreno, Luis
Choi, Seongjin
Sun, Lijun
author_facet Liu, Fuqiang
Jiang, Sicong
Miranda-Moreno, Luis
Choi, Seongjin
Sun, Lijun
contents 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 https://github.com/JohnsonJiang1996/AdvAttack_LLM4TS.
format Preprint
id arxiv_https___arxiv_org_abs_2412_08099
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adversarial Vulnerabilities in Large Language Models for Time Series Forecasting
Liu, Fuqiang
Jiang, Sicong
Miranda-Moreno, Luis
Choi, Seongjin
Sun, Lijun
Machine Learning
Artificial Intelligence
Computation and Language
Cryptography and Security
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 https://github.com/JohnsonJiang1996/AdvAttack_LLM4TS.
title Adversarial Vulnerabilities in Large Language Models for Time Series Forecasting
topic Machine Learning
Artificial Intelligence
Computation and Language
Cryptography and Security
url https://arxiv.org/abs/2412.08099