atlas

Research map / Large language models / Agents, code and math

Open-Book Neural Algorithmic Reasoning

NeurIPS 2024 · Large language models › Agents, code and math · approach: Inductive and abstract reasoning evaluation · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes open-book neural algorithmic reasoning, where a NAR network attends over encoded training instances (via cross-attention) during training and testing, improving CLRS-30 performance and enabling interpretable multi-task analysis via attention weights.

Problem

Neural algorithmic reasoning models predict algorithm executions only from their parameters and a single input instance, ignoring the training set; the paper asks whether giving networks access to training examples at reasoning time improves CLRS-30 performance.

Approach

An open-book framework adds a dataset encoder that maps each training data point (state pairs) to a latent vector, and an open-book processor that cross-attends from the current hidden states to these training representations before decoding; attention weights between tasks are then used to interpret multi-task relationships.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the open-book framework to the best of PGN, MPNN, or Triplet-GMPNNCLRS single-task models · CLRS Overall Averageaccuracy: 75.98% -> 82.91%Helped
Add the open-book frameworkTriplet-GMPNN · CLRS tasksaccuracyMixed
Use auxiliary data from all CLRS tasks instead of only the target task's datasetTriplet-GMPNN open-book framework · CLRS tasksaccuracyMixed
Pair the target task with its highest-attention auxiliary task rather than using single-task trainingTriplet-GMPNN · Insertion Sortaccuracy: 78.14%±4.64 -> 95.78%±0.80Helped
Pair the target task with its highest-attention auxiliary task rather than using single-task trainingTriplet-GMPNN · Knuth-Morris-Prattaccuracy: 19.51%±4.57 -> 65.67%±12.36Helped
Pair the target task with its highest-attention auxiliary task rather than using single-task trainingTriplet-GMPNN · Jarvis’ Marchaccuracy: 91.01%±1.30 -> 94.44%±0.63Helped
Pair the target task with its highest-attention auxiliary task rather than using single-task trainingTriplet-GMPNN · Dijkstraaccuracy: 96.05%±0.60 -> 97.44%±0.50Helped
Increase the number of auxiliary data points across the tested range (ablation)Open-book framework · CLRS single-task augmentingaccuracyNo clear effect
Increase training graph size across the tested range (ablation)Open-book framework · CLRS single-task augmentingaccuracyNo clear effect
Increase test graph size across the tested range (ablation)Open-book framework · CLRS single-task augmentingaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CLRS Algorithmic Reasoning Benchmark

Benchmarks: CLRS-30

Metrics: F1 score accuracy

Baselines: PGN MPNN Triplet-GMPNN Memnet NPQ

Builds on: Encode-Processor-Decode Triplet-GMPNN PGN MPNN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy