TGViewer
Graph Machine Learning Graph Machine Learning @graphml · 6.6K subscribers
Post #864 4.39K
Discrete Neural Algorithmic Reasoning

Guest post by Gleb Rodionov

Paper: https://www.arxiv.org/abs/2402.11628
Blog: https://research.yandex.com/blog/discrete-neural-algorithmic-reasoning
Code: https://github.com/yandex-research/dnar

In this paper, we focus on generalizable and interpretable neural algorithmic reasoners. Starting with attention-based GNN, we inspect the reasons for generalization errors and propose several architectural modifications: feature discretization, hard attention and separating discrete and continuous data flows. All of these blocks are important for generalization:

⁃ State discretization prevents the model to use complex and redundant dependencies in the data;

⁃ Hard attention ensures that attention weights are not annealed for larger graphs. Also, hard attention limits the set of possible messages that each node can receive;

⁃ Separating discrete and continuous flows is needed to ensure that state discretization does not lose information about continuous data.

As a result, we achieve a model that provably imitates the execution of several algorithms for any test data when trained with hints. Practically, on SALSA-CLRS, trained on problem sizes of 16 nodes, the model demonstrates perfect graph- and node-level scores generalizing to problems of up to 1600 nodes.

For future work, it would be interesting to enhance the expressivity of the proposed model to a broader set of algorithms and investigate whether it is possible to train these models without hints.
More from @graphml
  1. Mar 18, 2026🚀 LOGML 2026 — Mentor Applications Open (Deadline extended!) The LOGML (London Geometry a…
  2. Feb 28, 2026PhD Position in Graph Learning at the University of Vienna, Austria A PhD student position…
  3. Feb 16, 2026Uni Leipzig looking for a motivated student for a PhD position in Graph Machine Learning a…
  4. Oct 2, 2025Tired of evaluating your graph ML models on Cora, CiteSeer, and PubMed? We have a better b…
  5. Oct 2, 2025How can we create general-purpose graph foundation models? (by Dmitry Eremeev) For a long…
  6. Sep 21, 2025GraphML News (September 2025) - Stanford Graph Learning WS, MoML, RF Diffusion 3 While the…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →