AI RESEARCH

Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learning

arXiv CS.LG

ArXi:2605.17958v1 Announce Type: new Code reasoning refers to the task of predicting the output of a program given its source code and specific inputs. It can measure the reasoning capability of large language models (LLMs) and also benefit downstream tasks such as code generation and mathematical reasoning. Existing work has verified the effectiveness of reinforcement learning on the task. However, these methods design rewards solely based on final outputs or coarse-grained signals, and neglect the inherent consistency of the stepwise reasoning process in the task.