学习神经符号收敛项重写系统
Learning neuro-symbolic convergent term rewriting systems
AI总结:
本文提出受重写算法启发的神经符号框架及 NRS、FastNRS,用于学习收敛项重写系统,并在公式化简和多领域任务中展现强分布外泛化,性能优于强神经基线并追平或超过 o1-preview。
摘要:
构建能够学习执行符号算法的神经系统是人工智能中一个具有挑战性的开放问题,尤其是在追求强泛化能力和分布外性能时。在本工作中,我们引入了一个通用框架,利用受重写算法本身启发的神经符号架构来学习收敛项重写系统。我们提出了该架构的两种模块化实现:Neural Rewriting System(NRS,神经重写系统)和 Fast Neural Rewriting System(FastNRS,快速神经重写系统)。得益于受算法启发的设计和关键架构元素,两个模型都能够泛化到分布外实例,其中 FastNRS 在内存效率、训练速度和推理时间方面提供了显著提升。我们在涉及数学公式化简的四项任务上评估了这两种架构,并进一步在多领域学习场景中展示了它们的多功能性:在该场景中,单个模型经过训练可同时解决多种类型的问题。所提出的系统显著优于两个强大的神经基线:Neural Data Router(一种专为解决算法问题设计的近期 transformer 变体),以及 GPT-4o(最强大的通用大型语言模型之一)。此外,我们的系统在表现上追平或优于 OpenAI 最新推出、擅长推理基准的 o1-preview 模型。
英文摘要:
Building neural systems that can learn to execute symbolic algorithms is a challenging open problem in artificial intelligence, especially when aiming for strong generalization and out-of-distribution performance. In this work, we introduce a general framework for learning convergent term rewriting systems using a neuro-symbolic architecture inspired by the rewriting algorithm itself. We present two modular implementations of such architecture: the Neural Rewriting System (NRS) and the Fast Neural Rewriting System (FastNRS). As a result of algorithmic-inspired design and key architectural elements, both models can generalize to out-of-distribution instances, with FastNRS offering significant improvements in terms of memory efficiency, training speed, and inference time. We evaluate both architectures on four tasks involving the simplification of mathematical formulas and further demonstrate their versatility in a multi-domain learning scenario, where a single model is trained to solve multiple types of problems simultaneously. The proposed system significantly outperforms two strong neural baselines: the Neural Data Router, a recent transformer variant specifically designed to solve algorithmic problems, and GPT-4o, one of the most powerful general-purpose large-language models. Moreover, our system matches or outperforms the latest o1-preview model from OpenAI that excels in reasoning benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。