对应原始 Instruction-Following Evaluation 的可验证约束,以及严格/宽松、提示级/指令级四种指标;不作为通用回答质量评分。
程序能够检查的约束
论文定义 25 种指令类型,构造约 500 条提示,每条含一项或多项要求。例如,回答可能需要同时满足字数条件和指定结尾。
Instruction-Following Evaluation for Large Language Models · Metrics and limitations
用检查器核对要求
官方评测器调用每条指令对应的检查函数,保存逐项是否通过以及是否全部通过。空白输出不会被视为符合要求,而会检查失败。
Google Research · IFEval strict and loose checking implementation
提示级与指令级
提示级正确率要求一条提示中的所有约束都通过;指令级正确率分别统计每项约束。模型可能逐项表现改善,却仍有许多整条提示未通过,因此必须注明统计分母。
Instruction-Following Evaluation for Large Language Models · Metrics and limitations · Google Research · IFEval strict and loose checking implementation
严格与宽松并非同一个判定
严格判定检查原始回答;宽松判定还尝试移除格式或开头说明等预设变换。它可能纠正误拒,也可能引入误收,适合与严格结果一起阅读,而不是替代后者。
Instruction-Following Evaluation for Large Language Models · Metrics and limitations · Google Research · IFEval strict and loose checking implementation
遵循约束不等于回答全面合格
满足长度或关键词要求,不能证明事实正确、内容相关或推理可靠。作者也把指令多样性与真实应用贴合度列为扩展方向。选择模型时,应与具体任务评测结合。
Instruction-Following Evaluation for Large Language Models · Metrics and limitations