|国家预印本平台
首页|Primal-Dual Neural Algorithmic Reasoning

Primal-Dual Neural Algorithmic Reasoning

Primal-Dual Neural Algorithmic Reasoning

来源:Arxiv_logoArxiv
英文摘要

Neural Algorithmic Reasoning (NAR) trains neural networks to simulate classical algorithms, enabling structured and interpretable reasoning over complex data. While prior research has predominantly focused on learning exact algorithms for polynomial-time-solvable problems, extending NAR to harder problems remains an open challenge. In this work, we introduce a general NAR framework grounded in the primal-dual paradigm, a classical method for designing efficient approximation algorithms. By leveraging a bipartite representation between primal and dual variables, we establish an alignment between primal-dual algorithms and Graph Neural Networks. Furthermore, we incorporate optimal solutions from small instances to greatly enhance the model's reasoning capabilities. Our empirical results demonstrate that our model not only simulates but also outperforms approximation algorithms for multiple tasks, exhibiting robust generalization to larger and out-of-distribution graphs. Moreover, we highlight the framework's practical utility by integrating it with commercial solvers and applying it to real-world datasets.

Yu He、Ellen Vitercik

计算技术、计算机技术

Yu He,Ellen Vitercik.Primal-Dual Neural Algorithmic Reasoning[EB/OL].(2025-05-29)[2025-08-02].https://arxiv.org/abs/2505.24067.点此复制

评论