arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.08099cs.LGcs.AIcs.CLcs.CR

用于时间序列预测的大语言模型中的对抗性漏洞

Adversarial Vulnerabilities in Large Language Models for Time Series Forecasting

McGill University(麦吉尔大学);University of Minnesota - Twin Cities(明尼苏达大学双城分校)

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

AI总结:

针对LLM时间序列预测,本文提出结合无梯度与黑盒优化的定向对抗攻击框架,用微小扰动在多模型和数据集上显著降低预测精度,揭示其安全脆弱性。

摘要:

大语言模型(LLM)最近在时间序列预测中展现出巨大潜力,在处理复杂时间数据方面具备出色能力。然而,它们在真实世界应用中的鲁棒性和可靠性仍未得到充分研究,尤其是在其易受对抗攻击影响这一点上。本文提出了一种针对基于LLM的时间序列预测的定向对抗攻击框架。通过同时采用无梯度和黑盒优化方法,我们生成了极小但非常有效的扰动,这些扰动会在多个数据集和多种LLM架构上显著降低预测准确性。我们的实验涵盖LLMTime(使用GPT-3.5、GPT-4、LLaMa和Mistral)、TimeGPT以及TimeLLM等模型,结果表明对抗攻击造成的性能下降远比随机噪声严重,并证明了我们的攻击在不同LLM上的广泛有效性。结果凸显了LLM在时间序列预测中的关键漏洞,强调需要鲁棒的防御机制以确保其在实际应用中的可靠部署。代码仓库可在https://github.com/JohnsonJiang1996/AdvAttack_LLM4TS获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑