arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.03932cs.LGcs.AI
收藏

MPSelectTune:微调中的提示类型选择可提高大语言模型中的概念遗忘能力

MPSelectTune: Prompt-type Selection for Fine-tuning improves Concept Unlearning in LLMs

IIT Kharagpur(印度理工学院卡拉格布尔分校);MPI-SWS(马克斯·普朗克软件系统研究所);HPE Labs(慧与实验室)

Shubhadip Nag, Srinjoy Das, Agniva Saha, Anushree Ghosh, Soumi Das, Tarun Kumar, Suparna Bhattacharya, Sourangshu Bhattacharya

AI总结:

研究大语言模型中去除有害概念难题,提出对抗方法用联合提示预测主任务和概念任务,MPSelectTune两阶段方法可提升平均遗忘性能,实验显示能提高主任务精度并降低概念精度。

摘要:

大语言模型可通过适当提示适应多样任务,但预训练模型中的偏见或有害概念会导致不良响应。现有方法难跨不同提示类型去除这些概念。本文探索新对抗方法,用联合提示预测主任务和概念任务。实验表明所提MPSelectTune方法可提升性能。

英文摘要:

LLMs can be conveniently adapted to a diverse set of tasks, e.g, prediction, question-answering tasks, etc, using appropriate prompts with few-shot examples. Biased or harmful concepts, e.g. gender or bio-weapons, present in pre-trained LLMs can lead to unsafe or unethical responses for many such prompts. Removing such undesirable concepts robustly across different prompt types remains a challenging problem, since existing unlearning methods typically ignore the impact of prompt variation. In this paper, we explore a novel adversarial approach to use a joint prompt for the main task and concept task prediction. We show that fine-tuning using the ``worst prompt type'' for concept prediction (with the highest concept accuracy) improves the average unlearning performance over a fine-tuning method that uses a combination of all prompt types. Our proposed method, MPSelectTune, is a two-stage approach that minimizes the concept accuracy of the highest accuracy-prompt type, after fine-tuning using a novel multi-task loss using multiple prompt types. Experimental results on four benchmarks show $2 - 15\%$ main task accuracy improvements over recent baselines and while reducing the worst-case concept accuracy by up to $17\%$ compared to recent baselines.

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

↑