mlsanityData to 14 Oct 2026

KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems

arXiv 2509.15239 ↗First posted 17 Sep 2025cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Neural algorithmic reasoning (NAR) is a growing field that aims to embed algorithmic logic into neural networks by imitating classical algorithms. In this extended abstract, we detail our attempt to build a neural algorithmic reasoner that can solve Knapsack, a pseudo-polynomial problem bridging classical algorithms and combinatorial optimisation, but omitted in standard NAR benchmarks. Our neural algorithmic reasoner is designed to closely follow the two-phase pipeline for the Knapsack problem, which involves first constructing the dynamic programming table and then reconstructing the solution from it. The approach, which models intermediate states through dynamic programming supervision, achieves better generalization to larger problem instances than a direct-prediction baseline that attempts to select the optimal subset only from the problem inputs.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 33 of its 40 references that are in the map. First posted on arXiv 17 Sep 2025.

Builds on

33 of 40 references.

References · 33

  1. 2016Layer Normalizationcited by 5,669
  2. 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
  3. 2020POMO: Policy Optimization with Multiple Optima for Reinforcement Learningcited by 348
  4. 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 222
  5. 2019What Can Neural Networks Reason About?cited by 159
  6. 2019Neural Execution of Graph Algorithmscited by 121
  7. 2022The CLRS Algorithmic Reasoning Benchmarkcited by 106
  8. 2021Neural Algorithmic Reasoningcited by 94
  9. 2023Everything is Connected: Graph Neural Networkscited by 85
  10. 2023BQ-NCO: Bisimulation Quotienting for Efficient Neural Combinatorial Optimizationcited by 82
  11. 2022A Generalist Neural Algorithmic Learnercited by 59
  12. 2022Graph Neural Networks are Dynamic Programmerscited by 55
21 more
  1. 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
  2. 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 31
  3. 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 30
  4. 2020It's Not What Machines Can Learn, It's What We Cannot Teachcited by 29
  5. 2023Neural Algorithmic Reasoning for Combinatorial Optimisationcited by 19
  6. 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 17
  7. 2020Provably Good Solutions to the Knapsack Problem via Neural Networks of Bounded Sizecited by 16
  8. 2021Persistent Message Passingcited by 13
  9. 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoningcited by 12
  10. 2025Tropical Attention: Neural Algorithmic Reasoning for Combinatorial Algorithmscited by 12
  11. 2023Recursive Algorithmic Reasoningcited by 9
  12. 2024Discrete Neural Algorithmic Reasoningcited by 9
  13. 2025Primal-Dual Neural Algorithmic Reasoningcited by 9
  14. 2023Latent Space Representations of Neural Algorithmic Reasonerscited by 7
  15. 2023Neural Priority Queues for Graph Neural Networkscited by 7
  16. 2024Positional Attention: Expressivity and Learnability of Algorithmic Computationcited by 7
  17. 2024Recurrent Aggregators in Neural Algorithmic Reasoningcited by 6
  18. 2024Deep Equilibrium Algorithmic Reasoningcited by 6
  19. 2020A State Aggregation Approach for Solving Knapsack Problem with Deep Reinforcement Learningcited by 5
  20. 2018On Strong NP-Completeness of Rational Problemscited by 3
  21. 2024Open-Book Neural Algorithmic Reasoningcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.