Lune

Abstract

Neural Algorithmic Reasoning is an emerging area of machine learning which seeks to infuse algorithmic computation in neural networks, typically by training neural models to approximate steps of classical algorithms. In this context, much of the current work has focused on learning reachability and shortest path graph algorithms, showing that joint learning on similar algorithms is beneficial for generalisation. However, when targeting more complex problems, such "similar" algorithms become more difficult to find. Here, we propose to learn algorithms by exploiting duality of the underlying algorithmic problem. Many algorithms solve optimisation problems. We demonstrate that simultaneously learning the dual definition of these optimisation problems in algorithmic learning allows for better learning and qualitatively better solutions. Specifically, we exploit the max-flow min-cut theorem to simultaneously learn these two algorithms over synthetically generated graphs, demonstrating the effectiveness of the proposed approach. We then validate the real-world utility of our dual algorithmic reasoner by deploying it on a challenging brain vessel classification task, which likely depends on the vessels' flow properties. We demonstrate a clear performance gain when using our model within such a context, and empirically show that learning the max-flow and min-cut algorithms together is critical for achieving such a result.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Are Graph Neural Networks Optimal Approximation Algorithms? cites The CLRS Algorithmic Reasoning Benchmark
  • Are Graph Neural Networks Optimal Approximation Algorithms? cites Neural Execution of Graph Algorithms
  • The CLRS Algorithmic Reasoning Benchmark cites How to transfer algorithmic reasoning knowledge to learn new algorithms?
  • The CLRS Algorithmic Reasoning Benchmark cites Neural Algorithmic Reasoners are Implicit Planners
  • The CLRS Algorithmic Reasoning Benchmark cites Neural Execution of Graph Algorithms
  • How to transfer algorithmic reasoning knowledge to learn new algorithms? cites What Can Neural Networks Reason About?
  • How to transfer algorithmic reasoning knowledge to learn new algorithms? cites Neural Execution of Graph Algorithms
  • Neural Algorithmic Reasoners are Implicit Planners cites Neural Execution of Graph Algorithms
  • Simulation of Graph Algorithms with Looped Transformers cites The CLRS Algorithmic Reasoning Benchmark
  • Simulation of Graph Algorithms with Looped Transformers cites What Can Neural Networks Reason About?
  • Simulation of Graph Algorithms with Looped Transformers cites Neural Algorithmic Reasoning Without Intermediate Supervision
  • Simulation of Graph Algorithms with Looped Transformers cites Neural Execution of Graph Algorithms
  • Neural Algorithmic Reasoning Without Intermediate Supervision cites The CLRS Algorithmic Reasoning Benchmark
  • Neural Algorithmic Reasoning Without Intermediate Supervision cites How to transfer algorithmic reasoning knowledge to learn new algorithms?
  • Neural Algorithmic Reasoning Without Intermediate Supervision cites What Can Neural Networks Reason About?
  • Neural Algorithmic Reasoning Without Intermediate Supervision cites Neural Execution of Graph Algorithms
  • On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods cites The CLRS Algorithmic Reasoning Benchmark
  • On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods cites How to transfer algorithmic reasoning knowledge to learn new algorithms?
  • On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods cites Neural Algorithmic Reasoners are Implicit Planners
  • On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods cites What Can Neural Networks Reason About?
  • On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods cites Neural Execution of Graph Algorithms
  • Open-Book Neural Algorithmic Reasoning cites The CLRS Algorithmic Reasoning Benchmark
  • Open-Book Neural Algorithmic Reasoning cites How to transfer algorithmic reasoning knowledge to learn new algorithms?
  • Open-Book Neural Algorithmic Reasoning cites Neural Algorithmic Reasoners are Implicit Planners
  • Open-Book Neural Algorithmic Reasoning cites Neural Algorithmic Reasoning Without Intermediate Supervision
  • Open-Book Neural Algorithmic Reasoning cites Neural Execution of Graph Algorithms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Simulation of Graph Algorithms with Looped TransformersArtur Back de Luca, Kimon FountoulakisICML 2024 · 31 citations
  2. Are Graph Neural Networks Optimal Approximation Algorithms?Morris Yau, Nikolaos Karalias, Eric Lu, Jessica Xu et al.NeurIPS 2024 · 23 citations
  3. Neural Algorithmic Reasoning Without Intermediate SupervisionGleb Rodionov, Liudmila ProkhorenkovaNeurIPS 2023 · 20 citations
  4. On the Markov Property of Neural Algorithmic Reasoning: Analyses and MethodsMontgomery Bohde, Meng Liu, Alexandra Saxton, Shuiwang JiICLR 2024 · 16 citations
  5. Open-Book Neural Algorithmic ReasoningHefei Li, Chao Peng, Chenyang Xu, Zhengfeng YangNeurIPS 2024 · 4 citations

Builds on5

  1. What Can Neural Networks Reason About?Keyulu Xu, Jingling Li, Mozhi Zhang, Simon S. Du et al.ICLR 2020 · 281 citations
  2. Neural Execution of Graph AlgorithmsPetar Velickovic, Rex Ying, Matilde Padovano, Raia Hadsell et al.ICLR 2020 · 192 citations
  3. The CLRS Algorithmic Reasoning BenchmarkPetar Velickovic, Adrià Puigdomènech Badia, David Budden, Razvan Pascanu et al.ICML 2022 · 118 citations
  4. How to transfer algorithmic reasoning knowledge to learn new algorithms?Louis-Pascal A. C. Xhonneux, Andreea Deac, Petar Velickovic, Jian TangNeurIPS 2021 · 32 citations
  5. Neural Algorithmic Reasoners are Implicit PlannersAndreea Deac, Petar Velickovic, Ognjen Milinkovic, Pierre-Luc Bacon et al.NeurIPS 2021 · 27 citations

Related papers

  1. Primal-Dual Neural Algorithmic ReasoningYu He, Ellen VitercikICML 2025
  2. Graph Neural Networks are Dynamic ProgrammersAndrew Joseph Dudzik, Petar VelickovicNeurIPS 2022 · 82 citations
  3. Which Algorithms Can Graph Neural Networks Learn?Solveig Wittig, Antonis Vasileiou, Robert R. Nerem, Timo Stoll et al.ICML 2026
  4. Learning Iterative Reasoning through Energy MinimizationYilun Du, Shuang Li, Joshua B. Tenenbaum, Igor MordatchICML 2022 · 37 citations
  5. Discrete Neural Algorithmic ReasoningGleb Rodionov, Liudmila ProkhorenkovaICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines