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

逻辑正则化的验证器激发大语言模型的推理

Logic-Regularized Verifier Elicits Reasoning from LLMs

Department of Computer Science and Technology, East China Normal University(东华大学计算机科学与技术系);Institute of Artificial Intelligence (TeleAI), China Telecom(中国电信人工智能研究院(TeleAI))

Xinyu Wang, Changzhi Sun, Lian Cheng, Yuanbin Wu, Dell Zhang, Xiaoling Wang, Xuelong Li

AI总结:

本文提出LOVER,一种基于逻辑规则的无监督验证器,通过内在激活和三个逻辑约束提升LLM推理能力,实验表明其性能优于无监督基线,接近监督验证器水平。

摘要:

验证器是增强现代大语言模型(LLM)推理能力的关键组件。典型验证器需要资源密集的监督数据集构建,成本高且数据多样性受限。本文提出LOVER,一种由逻辑规则正则化的无监督验证器。LOVER将验证器视为二元潜在变量,利用内部激活并施加三个逻辑约束于多个推理路径:否定一致性、组内一致性和组间一致性(按最终答案分组)。通过将逻辑规则作为先验,LOVER可利用未标记示例,并直接兼容任何现成的LLM。在10个数据集上的实验表明,LOVER显著优于无监督基线,达到与监督验证器相当的性能(平均达到95%水平)。源代码可在https://github.com/wangxinyufighting/llm-lover公开获取。

英文摘要:

Verifiers are crucial components for enhancing modern LLMs' reasoning capability. Typicalverifiers require resource-intensive superviseddataset construction, which is costly and faceslimitations in data diversity. In this paper, wepropose LOVER, an unsupervised verifier regularized by logical rules. LOVER treats theverifier as a binary latent variable, utilizinginternal activations and enforcing three logical constraints on multiple reasoning paths:negation consistency, intra-group consistency,and inter-group consistency (grouped by thefinal answer). By incorporating logical rulesas priors, LOVER can leverage unlabeled examples and is directly compatible with any offthe-shelf LLMs. Experiments on 10 datasetsdemonstrate that LOVER significantly outperforms unsupervised baselines, achieving performance comparable to the supervised verifier(reaching its 95% level on average). The sourcecode is publicly available at https://github.com/wangxinyufighting/llm-lover.

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

↑