[论文解读] Logic-Parametric Neuro-Symbolic NLI: Controlling Logical Formalisms for Verifiable LLM Reasoning
本文提出一种将逻辑参数化的神经符号NLI框架,将逻辑视为可配置组件,通过LogiKEy嵌入多种逻辑以提升可验证推理能力,并新增BENR数据集用于规范性解释。
Large language models (LLMs) and theorem provers (TPs) can be effectively combined for verifiable natural language inference (NLI). However, existing approaches rely on a fixed logical formalism, a feature that limits robustness and adaptability. We propose a logic-parametric framework for neuro-symbolic NLI that treats the underlying logic not as a static background, but as a controllable component. Using the LogiKEy methodology, we embed a range of classical and non-classical formalisms into higher-order logic (HOL), enabling a systematic comparison of inference quality, explanation refinement, and proof behavior. We focus on normative reasoning, where the choice of logic has significant implications. In particular, we compare logic-external approaches, where normative requirements are encoded via axioms, with logic-internal approaches, where normative patterns emerge from the logic's built-in structure. Extensive experiments demonstrate that logic-internal strategies can consistently improve performance and produce more efficient hybrid proofs for NLI. In addition, we show that the effectiveness of a logic is domain-dependent, with first-order logic favouring commonsense reasoning, while deontic and modal logics excel in ethical domains. Our results highlight the value of making logic a first-class, parametric element in neuro-symbolic architectures for more robust, modular, and adaptable reasoning.
研究动机与目标
- 将逻辑视为神经符号NLI中可控设计维度以进行规范性推理的动机。
- 将经典和非经典逻辑嵌入到高阶逻辑中,以实现推理、解释和证明行为的模块化比较。
- 研究逻辑内部推理与逻辑外部方法对鲁棒性、效率和解释质量的影响。
- 提供在NLI任务中不同逻辑的领域相关有效性的实证证据。
提出的方法
- 在LogiKEy框架下,将Faithful-Refiner式NL到形式化的流程扩展为逻辑参数化管线。
- 通过语义嵌入,将多种逻辑(FOL、KD、DDLE、DDL_CJ)嵌入Isabelle/HOL。
- 使用四阶段管线:自动形式化、句法/一致性检查、定理证明和带迭代反馈的解释改进。
- 构建BENR,一个聚焦于生物伦理规范性推理以探测内部规范结构的数据集。
- 在两个大型语言模型(GPT-4o和DeepSeek-V1)上对不同逻辑进行评估,最多进行三轮改进迭代。
实验结果
研究问题
- RQ1逻辑形式主义的选择如何影响基于LLM的NLI定理证明?
- RQ2逻辑内部推理策略与逻辑外部方法有何不同?
- RQ3逻辑参数化体系结构是否能提升证明经济性、解释改进和验证?
主要发现
- KD在GPT-4o下在各逻辑中的解释成功率最高(77.67%)。
- KD在达到有效解释方面通常需要的改进步骤少于其他逻辑。
- 一阶逻辑(FOL)在语法鲁棒性上强,但产生的有效解释较少,显示鲁棒性与表达覆盖之间的权衡。
- 领域效应:FOL更利于常识推理,而规范性/模态逻辑在伦理与规范性领域表现出色。
- 逻辑内部方法(如DDL_CJ)在建立更强的规范结构、收敛性和降低推理成本方面优于逻辑外部方法。
- 某一逻辑的有效性具有领域依赖性,不同逻辑在实践推理的不同阶段具有不同的优势。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。