arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.20664cs.AIcs.LO
收藏

Eidoku:一种通过结构约束满足的神经符号验证门用于LLM推理

Eidoku: A Neuro-Symbolic Verification Gate for LLM Reasoning via Structural Constraint Satisfaction

Independent Researcher(独立研究者)

Shinobu Miya

AI总结:

Eidoku通过结构约束满足方法有效检测LLM推理中的结构不一致幻觉,提供神经符号验证机制。

摘要:

大型语言模型(LLMs)经常生成被模型自身赋予高概率的幻觉陈述,暴露了基于概率的验证的根本限制。这表明幻觉往往不是低置信度现象,而是结构不一致的失败。在本工作中,我们将LLM推理的验证重新表述为一个独立于生成概率的约束满足问题(CSP)。与其优化统计合理性,我们模型验证为基于结构违反成本的可行性检查——将候选推理步骤嵌入上下文图结构所需的计算成本。我们定义了一个由三个代理组成的总成本函数:(i)图连通性(结构),(ii)特征空间一致性(几何),(iii)逻辑蕴含(符号)。关键的是,验证通过轻量级的System-2门Eidoku进行,该门拒绝超过上下文校准成本阈值的候选。该阈值不是通过学习得到,而是从上下文的内在统计中推导出来,避免了随意的启发式方法。我们证明这种方法成功地拒绝了“平滑的假话”——那些高度可能但结构上不连通的陈述,这些概率验证器根本无法检测到。我们在受控的诊断数据集上的实验表明,显式强制结构约束可以确定性地拒绝此类特定的幻觉,作为生成推理的神经符号合理性检查。

英文摘要:

Large Language Models (LLMs) frequently produce hallucinated statements that are assigned high likelihood by the model itself, exposing a fundamental limitation of probability-based verification. This suggests that hallucination is often not a low-confidence phenomenon, but a failure of structural consistency. In this work, we reformulate the verification of LLM reasoning as a Constraint Satisfaction Problem (CSP) operating independently of the generation likelihood. Rather than optimizing for statistical plausibility, we model verification as a feasibility check based on structural violation cost -- the computational cost required to embed a candidate reasoning step into the contextual graph structure. We define a total cost function composed of three proxies: (i) graph connectivity (structural), (ii) feature space consistency (geometric), and (iii) logical entailment (symbolic). Crucially, verification is performed via a lightweight System-2 gate, Eidoku, which rejects candidates exceeding a context-calibrated cost threshold. The threshold is not learned but is derived from the intrinsic statistics of the context, avoiding ad hoc heuristics. We demonstrate that this approach successfully rejects ``smooth falsehoods'' -- statements that are highly probable yet structurally disconnected -- that probability-based verifiers are principally incapable of detecting. Our experiments on a controlled diagnostic dataset show that explicitly enforcing structural constraints allows for the deterministic rejection of this specific class of hallucinations, serving as a neuro-symbolic sanity check for generative reasoning.

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

↑