AbstRaL: Augmenting LLMs' Reasoning by Reinforcing Abstract Thinking
Silin Gao, Antoine Bosselut, Samy Bengio, Emmanuel Abbe
TL;DR
AbstRaL addresses GSM reasoning robustness by learning abstract reasoning patterns $A$ through reinforcement learning on Granularly-decomposed Abstract Reasoning (GranulAR) data. The framework first abstracts problems into $X^{\mathcal{A}}$, $\mathcal{C}$ and $Y^{\mathcal{A}}$, retrieves the de-contextualized abstraction $\mathcal{A}$, and uses a symbolic solver to derive the final answer, guided by model-free rewards $r_{correct}$ and $r_{symbolic}$ within GRPO. Empirically, AbstRaL improves GSM reasoning robustness against instantiation and distractor perturbations across multiple seeds and models, and shows zero-shot improvements on a wide range of OOD mathematical and general reasoning tasks, suggesting that abstract thinking can broadly enhance generalizability. The work introduces GranulAR data and a fine-grained RL-based learning regime that links abstract reasoning with symbolic tools, offering a scalable path to more robust and transferable reasoning in LLMs.
Abstract
Recent studies have shown that large language models (LLMs), especially smaller ones, often lack robustness in grade school math (GSM) reasoning. In particular, they tend to experience performance drops when faced with distribution shifts, such as changes to numerical or nominal variables, or insertions of distracting clauses. A possible strategy to address this involves generating synthetic data to further "instantiate" reasoning problems on potential variations. In this work, we instead focuses on the strategy of "abstracting" reasoning problems. This not only helps counteract distribution shifts but also facilitates the connection to symbolic tools for deriving solutions. Focusing on GSM, we find that this abstraction process is better acquired through reinforcement learning (RL) than just supervised fine-tuning, which often fails to produce faithful abstractions. Our method, AbstRaL -- which promotes abstract reasoning in LLMs using RL on granular abstraction data -- significantly mitigates performance degradation on recent GSM perturbation benchmarks. Besides, improving GSM robustness via AbstRaL is shown to also implicitly benefit LLMs' capabilities on OOD mathematical and general reasoning tasks, indicating that abstract thinking broadly enables better generalizability.
