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

从自然语言到可执行的Narsese:一种神经符号基准和管道用于基于NARS的推理

From Natural Language to Executable Narsese: A Neuro-Symbolic Benchmark and Pipeline for Reasoning with NARS

Temple University(特拉华大学)

Mina Gabriel, Pei Wang

AI总结:

本文提出神经符号框架,将自然语言推理问题转换为可执行的形式化表示,结合FOL和Narsese,并引入NARS-Reasoning-v0.1基准,支持符号生成与执行验证,展示可监督适应的潜力。

摘要:

大型语言模型(LLMs)在语言生成方面能力强大,但在需要显式符号结构、多步推理和可解释不确定性时仍不可靠。本文提出一种神经符号框架,将自然语言推理问题转换为可执行的形式化表示,使用一阶逻辑(FOL)和NARS的Narsese语言。为支持此方向,我们引入NARS-Reasoning-v0.1基准,包含自然语言推理问题及其对应的FOL形式、可执行Narsese程序和三个黄金标签:True、False和Uncertain。我们开发了一个从FOL到可执行Narsese的确定性编译管道,并通过在OpenNARS for Applications(ONA)中的运行验证保留的示例,确保符号目标不仅在语法上正确,而且在行为上与预期答案一致。我们进一步提出Language-Structured Perception(LSP),一种训练LLM生成与推理相关的符号结构而非仅最终口头回应的方案。作为初步概念验证,我们还训练并发布了Phi-2 LoRA适配器,用于NARS-Reasoning-v0.1的三标签推理分类,展示该基准可以支持监督适应以及可执行评估。总体而言,本文将可执行符号生成和基于执行的验证定位为更可靠神经符号推理系统的发展路径。

英文摘要:

Large language models (LLMs) are highly capable at language generation, but they remain unreliable when reasoning requires explicit symbolic structure, multi-step inference, and interpretable uncertainty. This paper presents a neuro-symbolic framework for translating natural-language reasoning problems into executable formal representations using first-order logic (FOL) and Narsese, the language of the Non-Axiomatic Reasoning System (NARS). To support this direction, we introduce NARS-Reasoning-v0.1, a benchmark of natural-language reasoning problems paired with FOL forms, executable Narsese programs, and three gold labels: True, False, and Uncertain. We develop a deterministic compilation pipeline from FOL to executable Narsese and validate retained examples through runtime execution in OpenNARS for Applications (ONA), ensuring that the symbolic targets are not only syntactically well formed but also behaviorally aligned with the intended answer. We further present Language-Structured Perception (LSP), a formulation in which an LLM is trained to produce reasoning-relevant symbolic structure rather than only a final verbal response. As an initial proof of concept, we also train and release a Phi-2 LoRA adapter on NARS-Reasoning-v0.1 for three-label reasoning classification, showing that the benchmark can support supervised adaptation in addition to executable evaluation. Overall, the paper positions executable symbolic generation and execution-based validation as a practical path toward more reliable neuro-symbolic reasoning systems.

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

↑