arXiv:2512.03882cs.LG2025-12

用大模型自动发现攻击少样本增量学习的新方法。

Automatic Attack Discovery for Few-Shot Class-Incremental Learning via Large Language Models

  • 利用大模型自动生成针对少样本增量学习的攻击策略。
  • 在主流基准上显著降低先进FSCIL方法性能,且成本最低。
  • 通过强化学习优化大模型生成能力,实现持续进化。

少样本类增量学习(FSCIL)是一种更贴近现实且更具挑战性的持续学习范式,旨在仅用少量样本增量学习新类别,同时克服对基础类别的灾难性遗忘。以往研究主要聚焦于设计更有效的FSCIL方法,而对安全问题关注较少。本文首次系统研究攻击对FSCIL的影响。我们发现,人工设计的攻击方法(如PGD、FGSM)或无法有效攻击基础类别,或依赖大量专家知识导致高昂成本。为此,本文提出一种名为ACraft的自动化攻击方法,利用大语言模型(LLM)无需人工干预即可发现最优攻击策略。为进一步提升LLM与FSCIL之间的推理协同,引入基于近端策略优化(PPO)的强化学习机制,建立正向反馈以优化下一代攻击生成。实验表明,ACraft在主流基准上显著劣化现有先进FSCIL方法性能,且远超人工设计攻击,同时保持最低攻击成本。

原文摘要 · Abstract (English)

Few-shot class incremental learning (FSCIL) is a more realistic and challenging paradigm in continual learning to incrementally learn unseen classes and overcome catastrophic forgetting on base classes with only a few training examples. Previous efforts have primarily centered around studying more effective FSCIL approaches. By contrast, less attention was devoted to thinking the security issues in contributing to FSCIL. This paper aims to provide a holistic study of the impact of attacks on FSCIL. We first derive insights by systematically exploring how human expert-designed attack methods (i.e., PGD, FGSM) affect FSCIL. We find that those methods either fail to attack base classes, or suffer from huge labor costs due to relying on huge expert knowledge. This highlights the need to craft a specialized attack method for FSCIL. Grounded in these insights, in this paper, we propose a simple yet effective ACraft method to automatically steer and discover optimal attack methods targeted at FSCIL by leveraging Large Language Models (LLMs) without human experts. Moreover, to improve the reasoning between LLMs and FSCIL, we introduce a novel Proximal Policy Optimization (PPO) based reinforcement learning to optimize learning, making LLMs generate better attack methods in the next generation by establishing positive feedback. Experiments on mainstream benchmarks show that our ACraft significantly degrades the performance of state-of-the-art FSCIL methods and dramatically beyond human expert-designed attack methods while maintaining the lowest costs of attack.

增量学习大模型攻击发现强化学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。