Pith. sign in

REVIEW 2 cited by

Transformers meet Neural Algorithmic Reasoners

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2406.09308 v1 pith:M4FAIGRY submitted 2024-06-13 cs.CL cs.LG

classification cs.CLcs.LG
keywords algorithmiclanguageneuraltransformersarchitectureeffectiveembeddingsgraph
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Transformers have revolutionized machine learning with their simple yet effective architecture. Pre-training Transformers on massive text datasets from the Internet has led to unmatched generalization for natural language understanding (NLU) tasks. However, such language models remain fragile when tasked with algorithmic forms of reasoning, where computations must be precise and robust. To address this limitation, we propose a novel approach that combines the Transformer's language understanding with the robustness of graph neural network (GNN)-based neural algorithmic reasoners (NARs). Such NARs proved effective as generic solvers for algorithmic tasks, when specified in graph form. To make their embeddings accessible to a Transformer, we propose a hybrid architecture with a two-phase training procedure, allowing the tokens in the language model to cross-attend to the node embeddings from the NAR. We evaluate our resulting TransNAR model on CLRS-Text, the text-based version of the CLRS-30 benchmark, and demonstrate significant gains over Transformer-only models for algorithmic reasoning, both in and out of distribution.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Primal-Dual Neural Algorithmic Reasoning

    cs.LG 2025-05 conditional novelty 7.0 of 10

    A GNN framework that simulates primal-dual approximation algorithms for NP-hard problems and, with small-instance optimal labels, can beat the algorithm it learns.

  2. Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning

    cs.LG 2025-11 conditional novelty 5.0 of 10

    AutoBRANE learns tree-structured branching networks for multitask algorithmic reasoning via gradient-based task affinities and convex relaxation.

Pith tools