arXiv:2604.02350cs.LGcs.AI2026-04

让神经网络学会精准判断方案是否合法,突破传统模型在约束推理上的瓶颈。

Differentiable Symbolic Planning: A Neural Architecture for Constraint Reasoning with Learned Feasibility

  • 构建可微的符号规划架构,用可行性通道跟踪约束满足证据
  • 在规划任务上实现97.4%准确率,远超基线模型的59.7%
  • 无需监督即可生成可解释的可行性数值,适合需要可靠推理的场景

神经网络擅长模式识别,但在判断配置是否满足逻辑或物理约束方面表现不佳。我们提出可微符号规划(DSP),一种能进行离散符号推理且全程可微的神经架构。DSP维护一个可行性通道(phi),在每个节点追踪约束满足的证据,并通过学习的规则加权组合生成全局可行性信号(Phi)。采用sparsemax注意力机制实现精确零值的离散规则选择。将DSP集成到通用认知核(UCK)中,结合图注意力与迭代约束传播。在三个约束推理基准测试中——图可达性、布尔可满足性、规划可行性——UCK+DSP在规划任务上实现4倍规模泛化下97.4%的准确率(基线仅59.7%),在SAT任务上2倍泛化下达96.4%,且正负样本性能均衡,而传统神经方法会崩溃。消融实验表明全局phi聚合至关重要:移除后准确率从98%降至64%。学习到的phi信号具有可解释语义,未受监督即出现可行情况+18、不可行情况-13的数值特征。

原文摘要 · Abstract (English)

Neural networks excel at pattern recognition but struggle with constraint reasoning -- determining whether configurations satisfy logical or physical constraints. We introduce Differentiable Symbolic Planning (DSP), a neural architecture that performs discrete symbolic reasoning while remaining fully differentiable. DSP maintains a feasibility channel (phi) that tracks constraint satisfaction evidence at each node, aggregates this into a global feasibility signal (Phi) through learned rule-weighted combination, and uses sparsemax attention to achieve exact-zero discrete rule selection. We integrate DSP into a Universal Cognitive Kernel (UCK) that combines graph attention with iterative constraint propagation. Evaluated on three constraint reasoning benchmarks -- graph reachability, Boolean satisfiability, and planning feasibility -- UCK+DSP achieves 97.4% accuracy on planning under 4x size generalization (vs. 59.7% for ablated baselines), 96.4% on SAT under 2x generalization, and maintains balanced performance on both positive and negative classes where standard neural approaches collapse. Ablation studies reveal that global phi aggregation is critical: removing it causes accuracy to drop from 98% to 64%. The learned phi signal exhibits interpretable semantics, with values of +18 for feasible cases and -13 for infeasible cases emerging without supervision.

符号推理可微架构约束满足神经符号

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。