atlas

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

Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?

ICLR 2025 · 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.

Introduces the synthetic FTCT task, where Transformers train on fragmented causal chains and must chain them at test time, showing few-shot CoT enables compositional reasoning and attributing it to an underlying in-context-learning and parent-retrieval program.

Problem

Whether Transformers can compose knowledge fragments seen separately in training into complete causal reasoning chains at test time, and what mechanisms enable this.

Approach

Train small GPT-2-style Transformers on synthetic causal-graph child chains (fragmented, with noise vertices) and test on full-length chains using few-shot CoT prompts; explain success via a learned program combining induction heads (in-context learning of vertex order) and attention-based parent retrieval, with a constructive expressivity proof.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add few-shot CoT examples at test timeTransformers trained on FTCT · FTCT chained testingwhole chain accuracyHelped
increase relative knowledge ratio to at least 0.3Transformers trained on FTCT · FTCT compositional reasoningoptimal few-shot testing performanceHelped
add a second Transformer layer and use at least 2 heads (ablation)FTCT Transformer · FTCT testing (N=5, M≤3)whole chain accuracy: 0.022 -> 1.000Helped
reduce the architecture to 2 layers and 1 head (ablation)3L3H FTCT Transformer · FTCT testing (N=5, M≤3)whole chain accuracy: 0.996 -> 0.766Hurt
reduce the architecture to 1 layer and 2 heads (ablation)3L3H FTCT Transformer · FTCT testing (N=5, M≤3)whole chain accuracy: 0.996 -> 0.776Hurt
reduce the architecture to 1 layer and 1 head (ablation)3L3H FTCT Transformer · FTCT testing (N=5, M≤3)whole chain accuracy: 0.996 -> 0.022Hurt
replace Transformer attention with an MLP (ablation)FTCT model · FTCT testing (N=5, M≤3)values accuracy: 1.000 -> 0.346Hurt
use more than one CoT exampleFTCT Transformers at test time · FTCT chained testingwhole chain accuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: FTCT synthetic dataset (fragmented training chains, chained testing chains)

Benchmarks: FTCT

Metrics: whole chain accuracy vertices accuracy values accuracy validation loss probing accuracy

Baselines: MLP single-layer Transformer (1L1H, 1L2H, 2L1H)

Builds on: chain-of-thought prompting induction heads in-context learning

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