Teaching Language Models to Critique via Reinforcement Learning

Zhihui Xie, Jie chen, Liyu Chen, Weichao Mao, Jingjing Xu +1 more
2/14/2026

No official code found. Best implementation: HKUNLP/critic-rl (126 stars, Apache-2.0, last commit 2025-05-06).

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 $\texttt{CTRL}$, a framework for $\texttt{C}$ritic $\texttt{T}$raining via $\texttt{R}$einforcement $\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 $\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 arXivView PDF

Code Implementations(1)

HKUNLP/critic-rlCommunity69%
Apache-2.0

[ICML 2025] Teaching Language Models to Critique via Reinforcement Learning

1267PythonFeb 2, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{xie2026teaching,
  title  = {Teaching Language Models to Critique via Reinforcement Learning},
  author = {Zhihui Xie and Jie chen and Liyu Chen and Weichao Mao and Jingjing Xu and Lingpeng Kong},
  year   = {2026},
  eprint = {2502.03492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.03492},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.03492.svg)](https://codeofpaper.com/paper/2502.03492)

Discussion