Generalization of RLVR Using Causal Reasoning as a Testbed
Brian Lu, Hongyu Zhao, Shuo Sun, Hao Peng, Rui Ding, Hongyuan Mei
TL;DR
The paper investigates how reinforcement learning with verifiable rewards (RLVR) generalizes for causal reasoning tasks by constructing a controlled causal-inference benchmark (RLCausal) with fully specified SCMs and three query levels.It compares RLVR to supervised fine-tuning (SFT) across model scales (3B, 7B, 32B) and training levels, showing RLVR provides stronger within- and across-level generalization only when the base model has sufficient initial reasoning competence, and when trained on higher-level or more complex queries.The analysis reveals RLVR improves marginalization strategy and reduces probability-derivation errors, with benefits scaling with model size and reasoning prior; counterfactual reasoning remains the hardest area and is not reliably solved in the tested settings.The work highlights the importance of initial reasoning ability and on-policy data collection for RLVR effectiveness, and proposes future work on execution vs strategy quality and broader causal-reasoning tasks.
Abstract
Reinforcement learning with verifiable rewards (RLVR) has emerged as a promising paradigm for post-training large language models (LLMs) on complex reasoning tasks. Yet, the conditions under which RLVR yields robust generalization remain poorly understood. This paper provides an empirical study of RLVR generalization in the setting of probabilistic inference over causal graphical models. This setting offers two natural axes along which to examine generalization: (i) the level of the probabilistic query -- associational, interventional, or counterfactual -- and (ii) the structural complexity of the query, measured by the size of its relevant subgraph. We construct datasets of causal graphs and queries spanning these difficulty axes and fine-tune Qwen-2.5-Instruct models using RLVR or supervised fine-tuning (SFT). We vary both the model scale (3B-32B) and the query level included in training. We find that RLVR yields stronger within-level and across-level generalization than SFT, but only for specific combinations of model size and training query level. Further analysis shows that RLVR's effectiveness depends on the model's initial reasoning competence. With sufficient initial competence, RLVR improves an LLM's marginalization strategy and reduces errors in intermediate probability calculations, producing substantial accuracy gains, particularly on more complex queries. These findings show that RLVR can improve specific causal reasoning subskills, with its benefits emerging only when the model has sufficient initial competence.
