atlas

Research map / Architectures and efficiency / Attention and transformers

Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilities

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 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.

Tests whether length-generalization limits predicted by C-RASP[pos] theory for retrieval and copying tasks persist in pretrained LLMs, finding a directional (right/forward over left/backward) bias from pretraining that fine-tuning can remove but the uniqueness bias persists.

Problem

Whether theoretical length-generalization limits of transformers on retrieval and copying tasks still matter for large-scale pretrained LLMs, or whether pretraining and scale overcome them.

Approach

Derives C-RASP[pos] expressibility predictions for unique/non-unique retrieval and copying tasks in left/right and forward/backward variants, then tests pretrained LLMs in-context, finds a directional asymmetry attributed to induction vs anti-induction circuit strength, and shows task-specific fine-tuning of GPT-2 1.5B removes the directional bias but not the uniqueness bias.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Retrieve to the right rather than to the left of the queryPretrained Llama 3 and Qwen2.5 · Synthetic retrievalaccuracyHelped
Copy forward rather than backwardPretrained Llama 3 and Qwen2.5 · Synthetic copyingaccuracyHelped
Use unique-token rather than non-unique retrieval tasksPretrained Llama 3 and Qwen2.5 · Synthetic retrievalaccuracyHelped
Copy repeated tokens forward rather than retrieve repeated-token answersPretrained Llama 3 and Qwen2.5 · Synthetic non-unique tasksaccuracyHelped
Fine-tune on the target retrieval or unique-copying taskGPT-2 1.5B · Out-of-distribution length generalizationaccuracy: 100%Helped
Fine-tune on non-length-generalizable NLLast, NRLast, NF, or NBGPT-2 1.5B · Out-of-distribution length generalizationaccuracyHurt
Fine-tune pretrained models on the taskGPT-2 1.5B · Directional bias across retrieval and copyingaccuracyHelped
Copy Lorem Ipsum paragraphs containing ambiguous transitionsPretrained model variants · Lorem Ipsum copyingtransition-index ambiguityHurt
Reverse the required commit orderLlama 3 · Git commit history manipulationaccuracyHurt
Remove induction heads (ablation)Pretrained and fine-tuned models · UF forward copyingaccuracy: zeroHurt
Remove anti-induction heads (ablation)Pretrained and fine-tuned models · UB backward copyingaccuracy: zeroHurt
Remove anti-induction heads (ablation)Pretrained and fine-tuned models · UF forward copyingaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic retrieval and copying strings Lorem Ipsum paragraphs git commit histories

Benchmarks: synthetic retrieval and copying tasks (UL, UR, NLFirst, NRFirst, NLLast, NRLast, UF, UB, NF, NB) Lorem Ipsum copying git revert/cherry-pick task

Metrics: accuracy transition-index ambiguity analysis

Baselines: transformers trained from scratch

Builds on: C-RASP[pos] Huang et al. length generalization framework induction heads retrieval heads

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