[论文解读] Improving Coherence and Consistency in Neural Sequence Models with Dual-System, Neuro-Symbolic Reasoning
本文提出一种轻量级的双系统方法,将神经序列生成(系统1)与符号化的系统2世界模型耦合,以对候选项进行修剪和重新采样,从而在不进行额外训练的情况下改善故事生成与指令执行的连贯性与逻辑一致性。
Human reasoning can often be understood as an interplay between two systems: the intuitive and associative ("System 1") and the deliberative and logical ("System 2"). Neural sequence models -- which have been increasingly successful at performing complex, structured tasks -- exhibit the advantages and failure modes of System 1: they are fast and learn patterns from data, but are often inconsistent and incoherent. In this work, we seek a lightweight, training-free means of improving existing System 1-like sequence models by adding System 2-inspired logical reasoning. We explore several variations on this theme in which candidate generations from a neural sequence model are examined for logical consistency by a symbolic reasoning module, which can either accept or reject the generations. Our approach uses neural inference to mediate between the neural System 1 and the logical System 2. Results in robust story generation and grounded instruction-following show that this approach can increase the coherence and accuracy of neurally-based generations.
研究动机与目标
- 通过受系统1/系统2理论启发的双过程推理,推动神经序列模型在连贯性和一致性方面的改进。
- 开发一个轻量、无需训练的系统2模块,通过最小的世界模型对系统1生成的内容进行修剪或重路由。
- 在合成(bAbI)故事生成、自然语言(clutrr)故事生成以及有据指令执行(gSCAN)上验证该方法。
提出的方法
- 系统1 使用神经序列模型(如GPT-3、BART)提出候选生成。
- 系统2 通过解析提取事实并维护最小的世界模型或逻辑约束集合。
- 符号检查器(世界模型)在约束下对系统1的候选项进行验证;不一致的候选项被拒绝并重新采样。
- 通过对大型语言模型进行少量示例提示对候选话轮进行解析(不进行微调)。
- 通过搜索过程从系统1重新采样提案,直到系统2接受一个候选项,形成猜测并检查的策略。
- 应用于bAbI的问答与故事生成、clutrr的自然语言连贯性,以及gSCAN的有据指令执行。
实验结果
研究问题
- RQ1一个轻量级的系统2符号模块是否可以在不重新训练的情况下提升系统1神经生成的连贯性与一致性?
- RQ2将最小世界模型整合到合成与自然语言领域对生成质量有何影响?
- RQ3在低数据条件下,双系统修剪对有据指令执行的影响如何?
- RQ4少量示解析如何桥接系统1提案与系统2世界模型的检查?
主要发现
- 基于GPT-3 的解析结合最小世界模型,在 bAbI 任务上实现了较高的问答准确率,优于仅使用 GPT-3 和神经NLI 基线。
- 在 bAbI 的故事生成中,大约一半的系统1句子最初不一致,但通过最多10次重新采样并经系统2筛选后,故事正确率提升至约93.5%,行数正确率提升至96.3%。
- 在 clutrr 自然语言故事中,与单系统基线相比,双系统模型在人类评估中获得更高的连贯性与一致性感知(在大多数条件下,参与者偏好双系统的续写)。
- 在 clutrr 与 bAbI 中使用最小世界模型能够检测并修剪在纯神经生成中本会出现的逻辑不一致。
- 在 gSCAN 的有据指令执行中,双系统方法通过确保动作序列与预测目标位置的一致性,在低数据条件下提升了准确性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。