From
f(x) and
g(x) to
f(g(x)): LLMs Learn New Skills in RL by Composing Old Ones
This paper provides evidence that reinforcement learning (RL) enables LLMs to acquire genuinely new skills by composing existing ones. The authors define a skill as the ability to infer the output of a string transformation function $f(x)$. Using a synthetic framework to control for confounding factors, they show that an LLM with prior knowledge of $f$ and $g$ can learn the composition $h(x)=g(f(x))$ through RL, and this ability generalizes to more complex compositions. Moreover, compositional skills transfer to a different target task. These findings demonstrate that RL can incentivize advanced, generalizable skills beyond reweighting existing reasoning strategies.