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

大语言模型编码问题的难度信息

LLMs Encode How Difficult Problems Are

University of Oxford(牛津大学)

William Lugoloobi, Chris Russell

AI总结:

该研究探究大语言模型是否内部编码符合人类判断的问题难度,通过在60个模型上训练线性探针并在Easy2HardBench子集评估,发现人类标注难度可强线性解码且有规模缩放规律,还揭示了强化训练中难度表征与性能的关联及引导难度方向的效果。

摘要:

大语言模型存在一个令人困惑的不一致性:它们能解决复杂问题,却经常在看似更简单的问题上失败。我们探究大语言模型是否在内部以与人类判断一致的方式编码问题难度,以及这种表征是否能追踪强化学习后训练阶段的泛化能力。我们在60个模型的不同层和token位置上训练线性探针,在Easy2HardBench的数学和编码子集上开展评估。我们发现,人类标注的难度可被强线性解码(AMC:$ρ\approx 0.88$),且呈现出清晰的模型规模缩放规律,而大语言模型衍生的难度信号则弱得多,缩放表现也很差。沿难度方向进行引导的实验显示,将模型推向“更简单”的表征可减少幻觉并提升准确率。在Qwen2.5-Math-1.5B的GRPO训练过程中,人类难度探针的信号会增强,且在各训练步中与测试准确率呈正相关,而大语言模型难度探针的信号会退化,且与性能呈负相关。这些结果表明,人类标注提供了稳定的难度信号,且会被强化学习放大,而源自模型性能的自动难度估计恰恰会随着模型提升而出现对齐偏差。我们发布了探针代码和评估脚本以促进复现。

英文摘要:

Large language models exhibit a puzzling inconsistency: they solve complex problems yet frequently fail on seemingly simpler ones. We investigate whether LLMs internally encode problem difficulty in a way that aligns with human judgment, and whether this representation tracks generalization during reinforcement learning post-training. We train linear probes across layers and token positions on 60 models, evaluating on mathematical and coding subsets of Easy2HardBench. We find that human-labeled difficulty is strongly linearly decodable (AMC: $ρ\approx 0.88$) and exhibits clear model-size scaling, whereas LLM-derived difficulty is substantially weaker and scales poorly. Steering along the difficulty direction reveals that pushing models toward "easier" representations reduces hallucination and improves accuracy. During GRPO training on Qwen2.5-Math-1.5B, the human-difficulty probe strengthens and positively correlates with test accuracy across training steps, while the LLM-difficulty probe degrades and negatively correlates with performance. These results suggest that human annotations provide a stable difficulty signal that RL amplifies, while automated difficulty estimates derived from model performance become misaligned precisely as models improve. We release probe code and evaluation scripts to facilitate replication.

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

↑