arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.20760cs.LGcs.AIcs.CL
收藏

使用因果推理作为测试平台的RLVR泛化

Generalization of RLVR Using Causal Reasoning as a Testbed

Johns Hopkins University(约翰霍普金斯大学);University of Maryland, College Park(马里兰大学学院公园分校);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Microsoft Research Asia(微软亚洲研究院);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Brian Lu, Hongyu Zhao, Shuo Sun, Hao Peng, Rui Ding, Hongyuan Mei

AI总结:

本文通过实验证明,RLVR在特定模型规模和训练查询层次下能提升因果推理能力,尤其在复杂查询中表现更优。

摘要:

可验证奖励的强化学习(RLVR)已作为一种有前景的范式,用于在复杂推理任务上对大语言模型(LLMs)进行训练后优化。然而,RLVR在何种条件下能够产生稳健的泛化能力仍缺乏深入研究。本文对RLVR在概率推理因果图模型中的泛化能力进行了实证研究。该设定提供了两个自然的轴向来考察泛化:(i)概率查询的层次——关联性、干预性或反事实性;(ii)查询的结构复杂性,通过其相关子图的大小来衡量。我们构建了一个涵盖这些难度轴向的因果图和查询数据集,并使用RLVR或监督微调(SFT)对Qwen-2.5-Instruct模型进行微调。我们同时调整了模型规模(3B-32B)和训练中包含的查询层次。我们发现,RLVR在同层和跨层泛化方面比SFT更强,但仅在特定的模型规模和训练查询层次组合下成立。进一步分析显示,RLVR的有效性取决于模型的初始推理能力。当模型具有足够的初始能力时,RLVR可以改进LLM的边缘化策略,减少中间概率计算中的错误,从而产生显著的准确性提升,尤其是在更复杂的查询上。这些结果表明,RLVR可以提高特定的因果推理子技能,其益处仅在模型具有足够的初始能力时才会显现。我们的代码和数据可在https://github.com/zhichul/rlcausal上获取。

英文摘要:

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 underexplored. 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 a dataset 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 results show that RLVR can improve specific causal reasoning subskills, with its benefits emerging only when the model has sufficient initial competence. Our code and data is available at https://github.com/zhichul/rlcausal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑