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

更加关注用于指令数据挖掘的提示鲁棒性

Pay More Attention to the Robustness of Prompt for Instruction Data Mining

National University of Defense Technology(国防科技大学)

Qiang Wang, Dawei Feng, Xu Zhang, Ao Shen, Yang Xu, Bo Ding, Huaimin Wang

AI总结:

本文提出一个高质量在线指令数据挖掘框架,通过攻击提示生成对抗性指令数据,并引入对抗性指令遵循难度指标与对抗性指令输出嵌入一致性方法筛选数据,实验证明该方法有效且突显了提示鲁棒性的重要性。

摘要:

指令微调已成为定制LLMs行为的最重要方法。近期的研究揭示了LLMs通过少量高质量指令数据进行微调即可实现高性能的潜力。基于此方法,我们进一步探讨了提示的鲁棒性对高质量指令数据选择的影响。本文提出了一个用于指令微调的高质量在线指令数据挖掘的开创性框架,重点关注提示的鲁棒性对数据挖掘过程的影响。我们的显著创新在于通过对在线指令数据的提示进行攻击来生成对抗性指令数据。随后,我们引入了Adversarial Instruction-Following Difficulty(对抗性指令遵循难度)指标,以衡量对抗性指令数据对生成相应响应能提供多大帮助。此外,我们提出了一种新颖的Adversarial Instruction Output Embedding Consistency(对抗性指令输出嵌入一致性)方法来选择高质量的在线指令数据。我们在两个基准数据集上进行了广泛实验以评估性能。实验结果突显了我们提出的两种方法的有效性。此外,结果强调了考虑提示鲁棒性的关键实际意义。

英文摘要:

Instruction tuning has emerged as a paramount method for tailoring the behaviors of LLMs. Recent work has unveiled the potential for LLMs to achieve high performance through fine-tuning with a limited quantity of high-quality instruction data. Building upon this approach, we further explore the impact of prompt's robustness on the selection of high-quality instruction data. This paper proposes a pioneering framework of high-quality online instruction data mining for instruction tuning, focusing on the impact of prompt's robustness on the data mining process. Our notable innovation, is to generate the adversarial instruction data by conducting the attack for the prompt of online instruction data. Then, we introduce an Adversarial Instruction-Following Difficulty metric to measure how much help the adversarial instruction data can provide to the generation of the corresponding response. Apart from it, we propose a novel Adversarial Instruction Output Embedding Consistency approach to select high-quality online instruction data. We conduct extensive experiments on two benchmark datasets to assess the performance. The experimental results serve to underscore the effectiveness of our proposed two methods. Moreover, the results underscore the critical practical significance of considering prompt's robustness.

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

↑