arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.09924cs.CLcs.AIcs.LG
收藏

LLMs编码其失败:从预生成激活中预测成功

LLMs Encode Their Failures: Predicting Success from Pre-Generation Activations

Oxford Internet Institute, University of Oxford(牛津大学牛津互联网研究所);FLAIR, University of Oxford(牛津大学FLAIR);Department of Computer Science, University College London(伦敦大学学院计算机科学系)

William Lugoloobi, Thomas Foster, William Bankes, Chris Russell

AI总结:

研究通过预生成激活预测LLM在数学和编程任务中的成功率,发现模型内部表示能有效指导更高效的推理,且在MATH任务中通过模型池路由可提升性能并降低70%的推理成本。

摘要:

运行LLM进行扩展推理每道题都很昂贵,但确定哪些输入需要额外计算仍具挑战性。我们探讨是否能从生成前的内部表示中恢复LLM的成功概率,并利用该信号指导更高效的推理。我们训练线性探针以预测数学和编程任务中的策略特定成功率,显著优于表面特征如问题长度和TF-IDF。使用E2H-AMC,我们显示模型编码了与人类难度不同的特定难度概念,且该差异随扩展推理增加。利用这些探针,我们证明在模型池中路由查询可超越最佳模型,同时在MATH任务中将推理成本降低高达70%,表明即使内部表示与人类对难度的直觉不同,仍能实现实用的效率提升。我们的代码可在:https://github.com/KabakaWilliam/llms_know_difficulty

英文摘要:

Running LLMs with extended reasoning on every problem is expensive, but determining which inputs actually require additional compute remains challenging. We investigate whether their own likelihood of success is recoverable from their internal representations before generation, and if this signal can guide more efficient inference. We train linear probes on pre-generation activations to predict policy-specific success on math and coding tasks, substantially outperforming surface features such as question length and TF-IDF. Using E2H-AMC, which provides both human and model performance on identical problems, we show that models encode a model-specific notion of difficulty that is distinct from human difficulty, and that this distinction increases with extended reasoning. Leveraging these probes, we demonstrate that routing queries across a pool of models can exceed the best-performing model whilst reducing inference cost by up to 70\% on MATH, showing that internal representations enable practical efficiency gains even when they diverge from human intuitions about difficulty. Our code is available at: https://github.com/KabakaWilliam/llms_know_difficulty

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

↑