SPOT Workshop, ICLR 2026Compositional reasoning

From Atomic to Composite: Reinforcement Learning Enables Generalization in Complementary Reasoning

Sitao Cheng1, Xunjian Yin2, Ruiwen Zhou3, Yuxuan Li1, Xinyi Wang4, Liangming Pan5, William Yang Wang6, Victor Zhong1

1 University of Waterloo · 2 Duke University · 3 National University of Singapore · 4 Princeton University · 5 Peking University · 6 University of California, Santa Barbara

In a controlled reasoning setting, RL helps models combine internal knowledge with new context when supervised training has first established both component skills.

Result
Structural zero-shot exact match: 50.87% for atomic SFT followed by composite RL vs 43.25% for SFT on all atomic and composite data (Qwen2.5-1.5B).
New vs prior
Prior studies debate whether RL composes new skills (Yuan et al., 2025) or only amplifies existing ones (Yue et al., 2025); this work shows it composes them only after atomic SFT.
Limitation
The recipe trails SFT on all data on familiar paths (I.I.D. 73.11% vs 80.14%), and all evidence comes from synthetic biography question answering.
The study's setup: worked examples of parametric, contextual, and complementary reasoning (a), training paths and the three test levels of I.I.D., composition, and zero-shot (b), and which training recipes generalize to each level (c). Original Figure 1 from the paper.
The study's setup: worked examples of parametric, contextual, and complementary reasoning (a), training paths and the three test levels of I.I.D., composition, and zero-shot (b), and which training recipes generalize to each level (c). Original Figure 1 from the paper. Full size ↗

A high score can hide the missing skill

Suppose a document names a magazine’s new chief editor, while the editor’s business partner and that partner’s occupation are stored in the model. Answering requires crossing between context and memory. Ordinary QA benchmarks cannot isolate this step, because a model may already know the full answer from pretraining.

The study therefore builds synthetic biographies, controls which relations are learned in parameters and which arrive in context, and asks questions along paths of two to five relations. Because every required fact has a known location, a failure to combine sources can be told apart from missing information.

Closest prior work

Studies of post-training report that SFT tends to memorize the training distribution while RL generalizes (Chu et al., 2025), and they disagree on whether RL composes new skills (Yuan et al., 2025; Liu et al., 2025) or only amplifies what the model already produces (Yue et al., 2025; Wu and Choi, 2025). Open-domain multi-hop benchmarks cannot settle this, because pretraining contamination blurs which knowledge is new. This work uses controlled synthetic biographies to show that RL composes parametric and contextual reasoning only after SFT has taught both atomic skills.

Control what is new at test time

The test splits differ in novelty. I.I.D. questions reuse a practiced relational path with new entities; Composition questions recombine relations seen in other training paths; structural zero-shot questions contain a relation absent from all training questions, although its facts remain available in the biographies or the context.

Published example · Figure 1(a)

One question, two sources of knowledge

Choose a task type to see every fact the question needs and where each one comes from. Play follows the path one hop at a time: only the complementary task has to cross from the supplied document into the model’s stored facts.

Complementary reasoning: the path crosses from the document into memory

What is the occupation of the business partner of Global View’s new Chief Editor?

Supplied document

‘Global View’ magazine announces the appointment of Amina Khan as its editor-in-chief.

Stored in the model’s parameters

Ben Carter is a business partner with Amina Khan. Ben Carter’s job is as a Research Analyst.

Required path
  1. ContextGlobal View chief editor → Amina Khan
  2. MemoryAmina Khan business partner → Ben Carter
  3. MemoryBen Carter occupation → Research Analyst

Answer Research Analyst

Three hops: the document supplies the first, parametric memory the other two.

Questions, facts and answers from Figure 1(a); hop labels follow the paper’s split into parametric (Mem) and contextual (Ctx) relations. Play follows the path one hop at a time and marks the fact each hop reads. This is the paper’s worked example, not a model output.

The key variable is the preparation before RL. One model receives supervised fine-tuning (SFT) on parametric and contextual reasoning separately (Mem and Ctx in the tables), another on complete complementary questions (Comp). Both then get the same composite RL examples, trained with GRPO (Group Relative Policy Optimization) on a final-answer reward. A further comparison equalizes SFT sample counts and hop distributions.

  1. 01

    Separate the skills

    Synthetic biographies distinguish facts learned in model parameters from facts supplied in context.

  2. 02

    Train, then combine

    Teach both atomic skills with SFT, then reward correct answers on questions requiring their combination.

  3. 03

    Test new relations

    Evaluate familiar paths, new combinations, and relations absent from training questions.

Atomic skills, not a higher starting score, let RL generalize

Measured · Tables 1(b) and 2

What each preparation generalizes to, and where the remaining errors occur

SFT results for all three test splits side by side, then the first wrong step of answers that stay wrong after composite RL.

Measured · Table 1(b)

SFT alone: accuracy on complementary questions, by what is new at test time

Atomic SFT trains on parametric and contextual questions separately (88,031 + 2,651); composite SFT trains on complementary questions directly (180,919). Training-set sizes from Table 1(a).

I.I.D. Seen path, new people Business_Partner → Occupation

Atomic SFT35.18
Composite SFT90.30

Composite SFT leads by 55.12 points

Composition Seen relations, new path Spouse → Job

Atomic SFT28.20
Composite SFT76.25

Composite SFT leads by 48.05 points

Zero-shot A relation never asked about in training Advisor → Spouse

Atomic SFT24.07
Composite SFT18.41

Order reverses: atomic SFT leads by 5.66 points

Exact-match accuracy (%), Qwen2.5-1.5B, from Table 1(b); bars span 0–100 and gaps are differences of the table values. Example paths from Figure 1(b). Composite SFT’s advantage disappears only when a relation is absent from training questions. What RL adds to each preparation is measured in Figure 3 and the results table below.

Measured · Table 2

Where do wrong answers first go wrong, before and after composite RL?

Error cases that the model answers incorrectly both before and after RL; the first wrong step is found by aligning the generated reasoning with the gold path.

First error at a context hop (share of errors)
Composite SFT 90% → 86%
Atomic SFT 86% → 30%
Position of the first error along the path
Composite SFT 54.5% → 45.0%
Atomic SFT 18.5% → 71.8%

Values from Table 2 (Section 6.3). After atomic SFT, RL moves most remaining errors to parametric hops late in the path; the paper reports that most occur at the final hop and hypothesizes that final relations are sparse in the training data. After composite SFT the pattern barely changes. Position is the first wrong step’s place in the path, normalized from start (0%) to end (100%) and averaged over error cases.

Starting scores do not explain the effect: models with similar initial complementary-task accuracy respond differently to the same 12,800 RL examples, and only the model that learned both atomic skills generalizes well. From that model, further SFT, LoRA and RL all help, but SFT is strongest on familiar paths and RL on the zero-shot split.

In pass@k, the RL advantage after atomic preparation persists up to 512 samples, while after composite preparation the curves converge; the paper reads this as RL synthesizing new strategies rather than amplifying existing ones. Finite sampling cannot prove that a solution had zero probability before RL, and the internal mechanism remains open.

Table 7 (appendix, all rows). Exact-match accuracy (%) on the complementary-reasoning test set by generalization level, higher is better; Qwen2.5-1.5B backbone. Mem, Ctx, and Comp denote parametric, contextual, and complementary training data; every RL(Comp) stage uses the same 12.8k Comp samples, and SFT(Mem+Ctx) → RL(Mem+Ctx) uses 80% of the atomic data for SFT and the remaining 20% for RL. SFT on the mixed Mem+Ctx+Comp data scores highest on I.I.D. and Composition, while the proposed SFT(Mem+Ctx) → RL(Comp) recipe scores highest on Zero-shot (50.87), narrowly ahead of the three-stage variant (49.56). Source ↗

SettingI.I.DCompositionZero-shot
SFT(Mem+Ctx)35.1828.2024.07
SFT(Mem+Ctx) → RL(Mem+Ctx)28.4328.3427.89
SFT(Mem+Ctx) → RL(Mem+Ctx) → RL(Comp)74.0062.4749.56
SFT(Mem+Ctx+Comp)80.1462.9043.25
SFT(Mem+Ctx) → RL(Comp)73.1160.8550.87

Method proposed in the paper

Scope. These results isolate a training mechanism in synthetic biography tasks; they do not establish that RL universally creates new reasoning abilities across domains. Read the study ↗

Further reading in the paperTask definitions and controlled dataset · Sections 3–4 ↗Training comparisons and pass@k · Sections 5–6 ↗
Research summary

Reinforcement Learning (RL) following Supervised Fine-Tuning (SFT) has become the standard paradigm for post-training Large Language Models (LLMs). However, the mechanism by which RL contributes to reasoning capabilities—whether it incentivizes the synthesis of new skills or merely amplifies existing behaviors—remains a subject of intense debate. In this work, we investigate this question through the lens of Complementary Reasoning, a complex task that requires integrating internal parametric knowledge with external contextual information. Using a controlled synthetic dataset of human biographies, we strictly decouple this ability into two atomic skills: Parametric Reasoning (relying on internal knowledge encoded in model parameters) and Contextual Reasoning (depending on novel information provided in the context window). To rigorously assess capability boundaries, we evaluate generalization across three distinct levels of difficulty: I.I.D., Composition, and Zero-shot settings. We find that while SFT is sufficient for in-distribution performance, it struggles with out-of-distribution generalization, particularly in Zero-shot settings where relational combinations are novel. Crucially, we identify the SFT Generalization Paradox: Models supervised solely on the composite task achieve near-perfect in-distribution accuracy (90%) but collapse on out-of-distribution generalization (18%), indicating their reliance on rote memorization of path shortcuts. In contrast, we find that RL acts as a reasoning synthesizer rather than a probability amplifier. However, we uncover a strict atomic prerequisite: RL can only synthesize these complex strategies if the base model has first mastered the independent atomic skills (Parametric and Contextual) via SFT. These findings challenge the view of RL as a mere amplifier, suggesting that given sufficient atomic foundations, RL can actively synthesize complex reasoning strategies from learned primitives without explicit supervision on such complex strategies. This indicates that decoupled atomic training followed by RL offers a scalable path to generalization for complex reasoning tasks. Code and data will be at https://github.com/sitaocheng/from_atomic_to_composite.

Full paper ↗
Citation BibTeX
@misc{cheng2025atomiccompositereinforcementlearning,
    title={From Atomic to Composite: Reinforcement Learning Enables Generalization in Complementary Reasoning},
    author={Sitao Cheng and Xunjian Yin and Ruiwen Zhou and Yuxuan Li and Xinyi Wang and Liangming Pan and William Yang Wang and Victor Zhong},
    year={2025},
    eprint={2512.01970},
    archivePrefix={arXiv},
    primaryClass={cs.AI},
    url={https://arxiv.org/abs/2512.01970}
}