[论文解读] Enhancing Large Language Models Against Inductive Instructions with Dual-critique Prompting
本文提出了 INDust,一个包含 15K 个归纳指令的基准,旨在评估大语言模型(LLMs)对虚假或误导性用户输入的抵抗能力。通过双重视察提示法(dual-critique prompting)——即 LLMs 同时批判自身输出和用户前提——模型在拒绝欺骗性指令方面表现出显著改进,尤其在零样本设置下,针对创造性虚假前提提示的性能从 5.29% 提升至 69.70%。
Numerous works are proposed to align large language models (LLMs) with human intents to better fulfill instructions, ensuring they are trustful and helpful. Nevertheless, some human instructions are often malicious or misleading and following them will lead to untruthful and unsafe responses. Previous work rarely focused on understanding how LLMs manage instructions based on counterfactual premises, referred to here as extit{inductive instructions}, which may stem from users' false beliefs or malicious intents. In this paper, we aim to reveal the behaviors of LLMs towards extit{inductive instructions} and enhance their truthfulness and helpfulness accordingly. Specifically, we first introduce a benchmark of \underline{ extbf{Indu}}ctive {In\underline{ extbf{st}}ruct}ions ( extsc{ extbf{INDust}}), where the false knowledge is incorporated into instructions in multiple different styles. After extensive human and automatic evaluations, we uncovered a universal vulnerability among LLMs in processing inductive instructions. Additionally, we identified that different inductive styles affect the models' ability to identify the same underlying errors, and the complexity of the underlying assumptions also influences the model's performance. Motivated by these results, we propose extsc{Dual-critique} prompting to improve LLM robustness against inductive instructions. Our experiments demonstrate that extsc{Dual-critique} prompting significantly bolsters the robustness of a diverse array of LLMs, even when confronted with varying degrees of inductive instruction complexity and differing inductive styles.
研究动机与目标
- 为填补评估 LLMs 检测并抵抗归纳指令(基于虚假前提的用户输入,可能误导模型)能力的空白。
- 设计一个基准(INDust),涵盖三种不同的归纳风格:事实核查、基于虚假前提的问题提问,以及基于虚假前提的创造性任务。
- 探究是否可将自我批判提示法扩展至包含对用户前提的批判,从而增强模型对欺骗性输入的鲁棒性。
- 评估双重视察提示法在多种强 LLM 上的零样本和 few-shot 设置下的有效性。
- 开发一种与人工标注对齐的自动评估方法,实现高评分者间一致性(Cohen’s Kappa: 0.6923)。
提出的方法
- 提出 INDust,一个包含 15K 个归纳指令的基准,涵盖三类:事实核查指令(FCI)、基于虚假前提的问题(QFP)和基于虚假前提的创造性指令(CIFP)。
- 设计双重视察提示法,即 LLMs 被提示同时批判自身回应和用户前提,采用两步推理过程。
- 实现 O-Critique(仅模型自我批判)和 M-Critique(模型同时批判自身和用户),并比较其有效性。
- 通过 OpenAI API 使用贪婪解码,以确保响应一致性并减少评估中的随机性。
- 应用自动评估方法,采用与人工标注对齐的评分(准确率:0.8462,Cohen’s Kappa: 0.6923),以验证模型输出。
- 开展零样本和 few-shot 实验,few-shot 设置使用数据集中的一次演示样本以提升性能。
实验结果
研究问题
- RQ1LLMs 是否能可靠地检测并拒绝基于虚假前提的归纳指令?
- RQ2当使用相同虚假事实时,不同归纳风格(事实核查、问题提问、创造性任务)如何影响模型行为?
- RQ3与标准自我批判相比,包含用户前提审查的双重视察提示法是否能提升 LLMs 对归纳指令的抵抗能力?
- RQ4LLMs 对批判提示措辞的变化有多敏感,尤其是在 QFP 和 CIFP 等复杂归纳风格中?
- RQ5few-shot 学习在多大程度上能提升模型在归纳指令抵抗能力上的表现?
主要发现
- 在零样本设置下,ChatGPT 对 QFP 指令的拒绝率从 32.35% 提升至 72.50%(O-Critique 提示法),对 CIFP 指令的拒绝率从 5.29% 提升至 69.70%。
- O-Critique 提示策略在所有模型和指令类型中均一致提升了性能,其中在最具欺骗性的 CIFP 类别中提升最大。
- M-Critique 提示法并未一致提升性能,甚至导致部分模型(如 ChatGPT 和 Davinci-003)准确率下降,表明其增加了计算成本但未带来成比例的收益。
- 尽管使用相同的虚假事实,FCI 与更具欺骗性的 QFP/CIFP 类别之间仍存在显著性能差距,表明归纳风格强烈影响模型行为。
- few-shot 学习提升了性能,但仍存在改进空间,ChatGPT 在 QFP 和 CIFP 上分别仅达到 75.33% 和 74.96% 的准确率,表明泛化能力仍面临持续挑战。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。