Pith. sign in

REVIEW 1 cited by

Can Transformers Learn to Solve Problems Recursively?

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 2305.14699 v2 pith:GT5RNMXG submitted 2023-05-24 cs.LG cs.AIcs.LOcs.PL

classification cs.LGcs.AIcs.LOcs.PL
keywords neuralbehavioralgorithmsfunctionsmodelsnetworksinformationlearn
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Neural networks have in recent years shown promise for helping software engineers write programs and even formally verify them. While semantic information plays a crucial part in these processes, it remains unclear to what degree popular neural architectures like transformers are capable of modeling that information. This paper examines the behavior of neural networks learning algorithms relevant to programs and formal verification proofs through the lens of mechanistic interpretability, focusing in particular on structural recursion. Structural recursion is at the heart of tasks on which symbolic tools currently outperform neural models, like inferring semantic relations between datatypes and emulating program behavior. We evaluate the ability of transformer models to learn to emulate the behavior of structurally recursive functions from input-output examples. Our evaluation includes empirical and conceptual analyses of the limitations and capabilities of transformer models in approximating these functions, as well as reconstructions of the ``shortcut" algorithms the model learns. By reconstructing these algorithms, we are able to correctly predict 91 percent of failure cases for one of the approximated functions. Our work provides a new foundation for understanding the behavior of neural networks that fail to solve the very tasks they are trained for.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 5 citations worldwide. Full citation record

  1. Higher Embedding Dimension Creates a Stronger World Model for a Simple Sorting Task

    cs.LG 2025-10 conditional novelty 5.0 of 10

    In an RL-trained transformer solving adjacent-swap sorting, larger embedding dimensions improve the monotonicity of an internal order-encoding in attention weights and the match to a largest-adjacent-difference swap r...

Pith tools