arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.18871cs.LGcs.AI
收藏

基于不确定性感知的结构LLM推理的分布能量模型

Distributional Energy-Based Models for Uncertainty-Aware Structured LLM Reasoning

Oxford Dynamics Harwell Science and Innovation Campus(牛津动力学哈威尔科学与创新校园)

Shireen Kudukkil Manchingal, Abhey Kalia, Fernanda Gonçalves, Shebin Rawther

AI总结:

本文提出了一种分解的能量函数,结合了学习的质量评分器和确定性分析约束惩罚,用于验证结构LLM输出。该方法通过两步推理循环触发目标再生或 abstention,能够在多个基准测试中超越单次Qwen-72B,并减少约束违反。

摘要:

当大型语言模型生成结构化输出如旅行计划、代码解决方案或多步证明时,个别推理步骤可能正确,但整体输出可能违反预算、失败测试用例或与先前推论矛盾。我们提出了一种分解的能量函数,结合了学习的质量评分器和确定性分析约束惩罚,用于验证结构LLM输出。质量评分器是单个冻结编码器上的异构集合,包含低秩适配器(3%可训练参数);集合均值对候选者进行排名,标准差量化epistemic不确定性,驱动一个两步推理循环,触发目标再生或 abstention。在五个基准测试(GSM8K、MuSR、TravelPlanner、TACO、Knights & Knaves)中,我们的149M参数验证器协调一个7-26B开放生成器池,在每个基准测试中均优于单次Qwen-72B,与Claude Sonnet 4.6在MuSR上匹配(67.7% vs. 68.0%),并且在TravelPlanner上将约束违反减少53%(相对于Opus 4.6,oracle 0.028,随机 0.231)。两种方法是互补的:结构验证在约束可检查时获胜(验证器捕捉信号前沿模型无法自我检测),而预训练规模先验在不可检查时获胜(叙述推理、代码语义)。跨数据集的混淆分析确认在四个推理任务上确实存在质量区分,并识别出代码中的模型身份捷径,通过最后一层重新训练得以缓解。评分器在困难数据上训练后可实现零样本转移:一个MuSR训练的评分器在没有看到数学问题的情况下在GSM8K上达到93.9%。

英文摘要:

When Large Language Models produce structured outputs such as travel plans, code solutions, or multi-step proofs, individual reasoning steps may appear correct while the output as a whole violates budgets, fails test cases, or contradicts earlier deductions. We propose a decomposed energy function that combines a learned quality scorer with deterministic analytical constraint penalties for verifying structured LLM outputs. The quality scorer is a heterogeneous ensemble of low-rank adapters on a single frozen encoder (3% trainable parameters); the ensemble mean ranks candidates while the standard deviation quantifies epistemic uncertainty, driving a two-pass inference loop that triggers targeted regeneration or abstention. Across five benchmarks (GSM8K, MuSR, TravelPlanner, TACO, Knights & Knaves), our 149M-parameter verifier orchestrating a pool of 7-26B open generators outperforms single-shot Qwen-72B on every benchmark, matches Claude Sonnet 4.6 on MuSR (67.7% vs. 68.0%), and reduces constraint violations by 53% relative to Opus 4.6 on TravelPlanner (oracle 0.028, random 0.231). The two routes are complementary: structural verification wins when constraints are checkable (the verifier captures signal frontier models cannot self-detect), while pretraining-scale priors win where they are not (narrative inference, code semantics). A cross-dataset confounding analysis confirms genuine quality discrimination on four reasoning tasks and identifies a model-identity shortcut on code, mitigated via last-layer retraining. Scorers trained on difficult data transfer zero-shot: a MuSR-trained scorer achieves 93.9% on GSM8K without seeing a math problem.

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

↑