NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Compositional Reasoning in Language Models under Reinforcement Learning Post-Training

Yu He, Yingxi Li, Yifei Wang, Ellen Vitercik

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Post-Training: RL & Distillation › Reasoning-Centric Reinforcement Learning · Type: new method · Keywords: compositional reasoning, language model transfer, dependency graph, skill composition, reinforcement learning post-training

Areas: LLM Reasoning › Reasoning Strategies › Reasoning in Language Models; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Rubric Rewards

Summary

The dependency-graph framework formalizes compositional reasoning in language models and reveals a decomposed-to-composed asymmetry in transfer learning.

Explained to a 5-year-old

A computer program called a language model can read many words and learn how to do things with language. When it sees a new problem, it can try to use old tricks it already knows. Sometimes the tricks are simple, like counting, and sometimes they are more complicated, like following steps. The researchers wanted to know if the model could combine these tricks in new ways, especially when it learned them separately versus together. They found that learning tricks together helps the model use them better later.

Explained to a 5-year-old, longer

A computer program called a language model can read many words and learn how to do things with language. When it sees a new problem, it can try to use old tricks it already knows. Sometimes the tricks are simple, like counting, and sometimes they are more complicated, like following steps. The researchers wanted to know if the model could combine these tricks in new ways, especially when it learned them separately versus together. They built a special way to think about how tricks connect, like a picture of how ideas depend on each other. Using this picture, they tested the model on puzzles that required putting tricks together. They discovered that when the model learned the tricks together, it could use them better later on. When it learned them separately, it often struggled to combine them. This pattern held even when the puzzles were longer or looked different. They also checked if the same idea worked on real-world tasks like asking a computer to do something using tools. The results suggest that teaching models to combine skills at the same time helps them solve harder problems.

For a technical reader

The paper introduces a dependency-graph framework that defines multiple levels of compositionality for language models. It empirically shows that training on composed tasks transfers better to decomposed tasks than the reverse, and provides a theoretical explanation for this asymmetry. The framework is evaluated on data-structure tasks, length extrapolation, distribution shift, and unseen-skill transfer, with a pilot study on tool-calling benchmarks.

Problem

Language models must generalize by composing learned skills when training data is limited, but it is unclear how post-training methods like reinforcement learning affect this compositional reasoning and transfer between decomposed and composed tasks.

Method

The authors formalize compositional reasoning using a dependency-graph structure that defines three levels of compositionality, and they instantiate this framework on deterministic data-structure tasks to study skill transfer. They evaluate the approach under various conditions such as length extrapolation, distribution shift, and transfer to unseen skills, and they provide a theoretical analysis of the observed asymmetry.

Results

The approach reveals a decomposed-to-composed asymmetry where composed-task training transfers better to decomposed tasks than vice versa, and this pattern persists under length extrapolation, distribution shift, and unseen-skill transfer, with preliminary evidence on tool-calling benchmarks.

Contributions

A formal dependency-graph framework that defines multiple levels of compositionality, an empirical study of skill transfer asymmetry across decomposed and composed tasks, and theoretical analysis explaining the observed behavior, along with extensions to real-world tool-calling benchmarks.

Practical relevance

The findings guide the design of post-training methods for language models to better compose skills, potentially improving reliability in real-world applications that require multi-step reasoning.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction