arXiv:2511.14342cs.CL2025-11AAAI被引 5

测试大模型在指令冲突下的识别与解决能力,发现多数模型能识别冲突但很少提醒用户。

ConInstruct: Evaluating Large Language Models on Conflict Detection and Resolution in Instructions

  • 构建专门评估指令冲突检测与解决的基准ConInstruct
  • DeepSeek-R1和Claude-4.5-Sonnet冲突检测F1最高达91.5%和87.3%
  • 模型虽能发现冲突却极少主动提示用户或请求澄清

指令遵循是大语言模型(LLMs)的关键能力。现有研究多关注模型对用户指令的遵守程度,却常忽略指令本身存在冲突约束——这在复杂提示中很常见。当前对模型在冲突条件下的行为仍缺乏深入探索。为此,我们提出ConInstruct,一个专门评估LLMs在指令中检测并解决冲突能力的基准数据集。基于该数据集,我们评估了模型的冲突检测性能,并分析其冲突解决行为。实验发现:(1)大多数专有模型具备强冲突检测能力,开源模型中仅DeepSeek-R1表现相当;DeepSeek-R1和Claude-4.5-Sonnet的平均F1得分分别达到91.5%和87.3%,位居第一、第二;(2)尽管具备强检测能力,模型极少明确告知用户冲突或请求澄清。这些结果揭示了当前大模型在指令遵循中的关键短板,指明未来改进方向。

原文摘要 · Abstract (English)

Instruction-following is a critical capability of Large Language Models (LLMs). While existing works primarily focus on assessing how well LLMs adhere to user instructions, they often overlook scenarios where instructions contain conflicting constraints-a common occurrence in complex prompts. The behavior of LLMs under such conditions remains under-explored. To bridge this gap, we introduce ConInstruct, a benchmark specifically designed to assess LLMs' ability to detect and resolve conflicts within user instructions. Using this dataset, we evaluate LLMs' conflict detection performance and analyze their conflict resolution behavior. Our experiments reveal two key findings: (1) Most proprietary LLMs exhibit strong conflict detection capabilities, whereas among open-source models, only DeepSeek-R1 demonstrates similarly strong performance. DeepSeek-R1 and Claude-4.5-Sonnet achieve the highest average F1-scores at 91.5% and 87.3%, respectively, ranking first and second overall. (2) Despite their strong conflict detection abilities, LLMs rarely explicitly notify users about the conflicts or request clarification when faced with conflicting constraints. These results underscore a critical shortcoming in current LLMs and highlight an important area for future improvement when designing instruction-following LLMs.

指令遵循冲突检测大模型评估LLM安全

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