Large Language Models (LLMs) have demonstrated the ability to generate complex models, including Long Short-Term Memory (LSTM) networks for time-series forecasting. While prior research established that LLM-generated LSTMs can achieve performance comparable to manually optimized models, but their robustness against adversarial attacks remains unexamined. In this work, we investigate the susceptibility of LLM-generated LSTMs to data poisoning and adversarial perturbations, evaluating their impact on predictive accuracy. We implement three adversarial attacks and assess the effectiveness of corresponding defense strategies. Our findings reveal that while defenses can mitigate performance degradation, LLM-generated models exhibit vulnerabilities. This study underscores the need for integrating adversarial robustness evaluations into LLM-driven model generation pipelines, particularly in sensitive applications such as financial forecasting.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Evaluating and Defending Against Adversarial Attacks on LLM-Generated LSTM Models

  • Mani Ghahremani,
  • Arsenii Podshyvalin,
  • Rahim Taheri

摘要

Large Language Models (LLMs) have demonstrated the ability to generate complex models, including Long Short-Term Memory (LSTM) networks for time-series forecasting. While prior research established that LLM-generated LSTMs can achieve performance comparable to manually optimized models, but their robustness against adversarial attacks remains unexamined. In this work, we investigate the susceptibility of LLM-generated LSTMs to data poisoning and adversarial perturbations, evaluating their impact on predictive accuracy. We implement three adversarial attacks and assess the effectiveness of corresponding defense strategies. Our findings reveal that while defenses can mitigate performance degradation, LLM-generated models exhibit vulnerabilities. This study underscores the need for integrating adversarial robustness evaluations into LLM-driven model generation pipelines, particularly in sensitive applications such as financial forecasting.