arxiv-2305-18654 · paperFaith and Fate: Limits of Transformers on Compositionality
Nouha Dziri, Ximing Lu, Melanie Sclar, et al.
Created: 2023 · Ingested: 2026-09-02
This source: Faith and Fate: Limits of Transformers on CompositionalityHow much the field cites it — very heavily cited in the last 12 months229 in the last 12 months · 690 totalpublished 2023checked 2026-09-04229 citations in the last 12 months · 690 total · checked 2026-09-04
https://arxiv.org/abs/2305.18654(opens in a new tab)In brief
Transformers appear to solve compositional problems by matching linearized subgraphs seen in training rather than executing the underlying algorithm, and accuracy collapses as compositional complexity grows even when the reasoning steps are handed to them explicitly.
The setup formalizes 3 tasks as computation graphs: multi-digit multiplication (up to 5x5 digits), Einstein's logic grid puzzles (K houses x M attributes), and a dynamic programming relaxation of Maximum Weighted Independent Set. GPT3 (text-davinci-003), ChatGPT and GPT4 were tested zero-shot and few-shot; GPT3 was finetuned exhaustively on ~1.8M multiplication pairs, ~142K DP pairs, and ~41K puzzle pairs, with question-answer and question-scratchpad formats.
Off-the-shelf ChatGPT and GPT4 reach 55% and 59% on 3-digit by 3-digit multiplication. Finetuned GPT3 is near-perfect in-distribution and drops toward zero on graphs of greater depth or width, with or without scratchpads. Training past overfitting (420K steps question-answer, 30K steps scratchpad) produced no grokking. Full computation subgraphs appear more frequently in training data for correctly predicted test items than incorrect ones. 82.3% of correct 4-digit by 2-digit answers had at least 1 error in the computation graph.
Evidence is measured, with train/test splits disjoint by graph depth and width, error typing into local, propagation and restoration categories, and matched question-answer versus scratchpad conditions. Finetuning is 1 model family (GPT3) at modest scale, budget-limited, and the theoretical error-propagation propositions are argued on stylized abstractions, not proven about transformers specifically.
Treat high scores on multi-step benchmarks as possible evidence of pattern coverage rather than acquired procedure.
Written from the abstract by claude-opus-5 on 2026-09-05, with every figure checked against it. Not a substitute for the paper.
Referenced by
Claims in this catalog that draw on this source, and whether as support or counterpoint.
- supportsWriting out reasoning steps improves how a problem is decomposed but does not fix the arithmetic inside a step — the model can decompose correctly and still get the calculation wrong, at the same confident register as when it is right. For exact arithmetic the fix is to move the computation out of the text, not to add more steps.
- supportsMulti-digit multiplication accuracy falls to near zero as problem size grows, and models rely on pattern matching rather than a learned algorithm.