514
v1v2 (latest)

Teaching Language Models to Critique via Reinforcement Learning

International Conference on Machine Learning (ICML), 2025
Main:8 Pages
10 Figures
Bibliography:3 Pages
13 Tables
Appendix:8 Pages
Abstract

Teaching large language models (LLMs) to critique and refine their outputs is crucial for building systems that can iteratively improve, yet it is fundamentally limited by the ability to provide accurate judgments and actionable suggestions. In this work, we study LLM critics for code generation and propose CTRL\texttt{CTRL}, a framework for C\texttt{C}ritic T\texttt{T}raining via R\texttt{R}einforcement L\texttt{L}earning, which trains a critic model to generate feedback that maximizes correction performance for a fixed generator model without human supervision. Our results demonstrate that critics trained with CTRL\texttt{CTRL} significantly enhance pass rates and mitigate compounding errors across both base and stronger generator models. Furthermore, we show that these critic models act as accurate generative reward models and enable test-time scaling through iterative critique-revision, achieving up to 106.1% relative improvements across challenging code generation benchmarks.

View on arXiv
Comments on this paper