Learning to Solve Hard Problems in RL for LLMs by Never Giving Up

Michael Noukhovitch, Hamish Ivison, Nathan Lambert, Aaron Courville

Mila · Université de Montréal · Allen Institute for AI · University of Washington · Trillium Labs

Published September 11, 2026 · on the feed September 15, 2026 · ▲ 13 · arXiv 2609.13443

LLM training & RL No code arXiv ↗Hugging Face ↗

The abstract

We demonstrate that training LLMs with RL does not improve performance equally across a dataset. RL shows large improvements on easy problems that an LLM is already good at solving, but small improvements on hard problems. We call this the Matthew Effect in RL for LLMs, after the phenomenon of cumulative advantage from economics and network science summarized as "the rich get richer". The naive explanation is that hard problems require more compute to find a solution. We argue that modern RL methods are exacerbating the issue by wasting too much compute on easy problems and instead should dynamically reallocate how they use compute. We introduce Never Give Up (NGU), a simple adaptive sampling method that keeps generating samples for a problem until one is correct. By leveraging asynchronous RL, this naturally uses fewer samples to filter out easy problems and allocates more compute to solving harder problems. We investigate the design choices that affect NGU, such as off-policy robustness, and develop a set of best practices. On the math benchmark Deepscaler, NGU improves performance per compute, especially on harder problems. On a recent coding task, Manufactoria, standard GRPO with a per-test reward fails to fully solve problems that have a range of easy and difficult tests. NGU iteratively improves, solving harder and harder tests, until it learns to fully solve coding problems.

The Brief

2:38

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Learning to Solve Hard Problems in RL for LLMs by Never Giving Up. By Michael Noukhovitch and three others, from Mila, the Université de Montréal, and three other institutions. Published on the eleventh of September. No code repository is linked to it.

Training language models with reinforcement learning does not improve performance equally across a dataset. The gains are large on easy problems that the model is already good at solving, and small on the hard ones. The authors call this the Matthew Effect in RL for LLMs, after the phenomenon of cumulative advantage from economics and network science, usually summarized as the rich get richer. Problems the model can already solve get better; problems it cannot solve stay out of reach.

The naive explanation is that hard problems simply require more compute to find a solution. The authors argue for something more pointed. Modern RL methods, they say, make the problem worse by wasting too much compute on easy problems, and they should instead reallocate their compute dynamically. The issue is not only how much is spent in total, but where it goes.

Never Give Up, or NGU, is a simple adaptive sampling method. For each problem, it keeps generating samples until one of them is correct. A problem is not dropped after a fixed number of failed attempts; it keeps being sampled until it yields a success. Difficulty never has to be estimated in advance. A problem reveals how hard it is by how long it takes to produce a correct sample, and the compute it receives follows from that.

The method leans on asynchronous RL, and the reallocation follows naturally from that. An easy problem produces a correct sample quickly, so it is filtered out using few samples. The compute it would otherwise have taken goes instead to solving harder problems, which keep drawing samples for longer. The authors also investigate the design choices that affect NGU, off-policy robustness among them, and develop a set of best practices for using it.

On the math benchmark Deepscaler, NGU improves performance per unit of compute, especially on the harder problems, which is where the Matthew Effect said gains were missing.

The second test is a recent coding task, Manufactoria, whose problems carry a range of easy and difficult tests. There, standard GRPO with a per-test reward fails to fully solve problems of that kind. NGU improves step by step, solving harder and harder tests, until it learns to fully solve the coding problems.

The diagnosis and the fix share one idea: compute should follow difficulty. Spending the same effort on every problem spends too much where success is cheap and too little where it is rare. Sampling until success lets the easy problems leave early and lets the hard ones stay as long as they need, which is how a method this simple is meant to push against the rich getting richer.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Training made the easy problems easier and left the hard ones behind. Why?

You are training a language model with reinforcement learning on maths problems. After training, the easy problems it could already solve got much better, but the hard ones barely moved.

The road ahead

  1. 1 · The problem ~7 min Reinforcement learning makes a language model much better at problems it already solves, while the hard problems barely improve.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~8 min Keep sampling each problem until one answer is correct, so easy problems leave fast and the saved compute goes to hard ones.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min NGU samples a small group per problem, resamples unsolved ones, drops solved ones early, and lets freed compute flow to harder problems.
  6. 6 · The experiment ~6 min You’ll guess: On Manufactoria coding problems that mix easy and difficult tests, could standard GRPO with a per-test reward fully solve them?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.