atlas

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

On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods

ICLR 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 ForgetNet, which removes historical hidden-state embeddings from the CLRS-30 encoder-processor-decoder to match the Markov nature of algorithmic execution, and G-ForgetNet, which adds a learned sigmoid gate on historical embeddings with an L2 penalty to ease early training.

Problem

Neural algorithmic reasoning models on CLRS-30 feed historical processor embeddings into each execution step, which conflicts with the Markov nature of algorithmic execution and can hurt out-of-distribution generalization.

Approach

Remove the recurrent use of previous-step hidden states so the processor sees only the current encoded state (ForgetNet), then use a learnable, L2-penalized gate on historical embeddings (G-ForgetNet) to keep useful pathways early in training while converging toward Markov behavior.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace Triplet-GMPNN with G-ForgetNetCLRS-30 OOD evaluation across all 30 algorithms · CLRS-30 OOD overall averagemicro-F1: 75.98% to 82.89%Helped
Remove historical embeddingsBaseline neural algorithm learner · CLRS-30 OOD across algorithm tasksmicro-F1Mixed
Add gated historical embeddings with gate-magnitude regularizationForgetNet-style neural algorithm learner · CLRS-30 OOD across algorithm tasksmicro-F1: 78.98% to 82.89%Helped
Add gated historical embeddings with gate-magnitude regularizationBaseline neural algorithm learner · CLRS-30 OOD across algorithm tasksmicro-F1Helped
Remove historical embeddingsBaseline neural algorithm learner · CLRS-30 OOD: Floyd-Warshallmicro-F1: 53.00% to 38.14%Hurt
Add gated historical embeddings with gate-magnitude regularizationBaseline neural algorithm learner · CLRS-30 OOD: Floyd-Warshallmicro-F1: 53.00% to 56.32%Helped
Add gated historical embeddings with gate-magnitude regularizationBaseline neural algorithm learner · CLRS-30 OOD: Naïve String Matchermicro-F1: 80.32% to 97.02%Helped
Remove the gate-magnitude loss penalty (ablation)G-ForgetNet · CLRS-30 OOD overall averagemicro-F1: 82.88% to 79.31%Hurt
Remove the gate-magnitude loss penalty (ablation)G-ForgetNet · CLRS-30 OOD across algorithm tasksmicro-F1: 28/30 algorithmsMixed
Remove historical embeddingsBaseline learner in the multi-task setup · CLRS-30 multi-task OODmicro-F1: 20/30 algorithmsMixed
Add the gate-magnitude penalty (ablation)G-ForgetNet · CLRS-30 OOD: Activity Selectormicro-F1: 96.76% to 99.03%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CLRS-30

Benchmarks: CLRS-30

Metrics: micro-F1 (OOD test)

Baselines: Memnet MPNN PGN Triplet-GMPNN ForgetNet (baseline encoder-processor-decoder)

Builds on: CLRS-30 Triplet-GMPNN Hint-ReLIC

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