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

开卷式神经算法推理

Open-Book Neural Algorithmic Reasoning

East China Normal University(华东师范大学)

Hefei Li, Chao Peng, Chenyang Xu, Zhengfeng Yang

AI总结:

本文提出开卷学习框架,使网络在推理时可访问全部训练实例,并在CLRS基准上验证其显著提升推理能力,同时利用开卷注意力机制揭示不同算法任务间的内在联系,支持可解释的多任务训练。

摘要:

神经算法推理是机器学习的一个新兴领域,专注于构建能够解决复杂算法任务的神经网络。近期进展主要遵循标准的监督学习范式——每次将单个问题实例输入网络,并训练网络逼近经典算法的执行步骤。我们挑战这一模式,并提出一种新颖的开卷学习框架。在该框架中,无论是在训练还是测试阶段,网络在为给定实例进行推理时,都可以访问并利用训练数据集中的所有实例。我们在具有挑战性的CLRS算法推理基准上进行了实证评估,该基准包含30个不同的算法任务。我们的开卷学习框架在神经推理能力上表现出显著提升。此外,我们注意到近期有文献表明,在CLRS上进行多任务训练可以提高某些任务的推理准确率,这暗示了不同算法任务之间存在内在联系。我们通过开卷框架深入探索了这一方向。当网络为特定任务进行推理时,我们使其能够以基于注意力的方式聚合来自其他任务训练实例的信息。我们表明,这种开卷注意力机制为理解基准中各种任务之间的内在关系提供了洞见,并为可解释的多任务训练提供了一种稳健的工具。

英文摘要:

Neural algorithmic reasoning is an emerging area of machine learning that focuses on building neural networks capable of solving complex algorithmic tasks. Recent advancements predominantly follow the standard supervised learning paradigm -- feeding an individual problem instance into the network each time and training it to approximate the execution steps of a classical algorithm. We challenge this mode and propose a novel open-book learning framework. In this framework, whether during training or testing, the network can access and utilize all instances in the training dataset when reasoning for a given instance. Empirical evaluation is conducted on the challenging CLRS Algorithmic Reasoning Benchmark, which consists of 30 diverse algorithmic tasks. Our open-book learning framework exhibits a significant enhancement in neural reasoning capabilities. Further, we notice that there is recent literature suggesting that multi-task training on CLRS can improve the reasoning accuracy of certain tasks, implying intrinsic connections between different algorithmic tasks. We delve into this direction via the open-book framework. When the network reasons for a specific task, we enable it to aggregate information from training instances of other tasks in an attention-based manner. We show that this open-book attention mechanism offers insights into the inherent relationships among various tasks in the benchmark and provides a robust tool for interpretable multi-task training.

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

↑