GUIDE IA du langage

Supervision des processus pour le raisonnement mathématique

Process supervision trains a reward model to judge each step of a worked solution, instead of only checking the final answer.

Écoutez ce guideNarré par l'IA · ~7 min

Sur cette page8 minutes de lecture
  1. Aperçu
  2. Points clés à retenir
  3. Plongée profonde
  4. Scoring two solutions with step-level probabilities
  5. Mise en œuvre dans le monde réel
  6. L'avenir de la supervision des processus pour le raisonnement mathématique
  7. Le mettre en pratique
  8. Sources et lectures complémentaires
  9. Continuez à explorer
  10. Questions fréquemment posées

Aperçu

In OpenAI's 2023 study 'Let's Verify Step by Step', a step-level verifier picked correct answers to 78.2% of held-out MATH problems versus 72.4% for an answer-only verifier, making process reward models a central idea in how language models are trained and steered to reason.

Points clés à retenir

  1. Process supervision labels each reasoning step, while outcome supervision labels only whether the final answer is correct.
  2. In Let's Verify Step by Step, a process reward model solved 78.2% of 500 held-out MATH problems via best-of-1860 selection, versus 72.4% for an outcome model.
  3. PRM800K contains about 800,000 human step labels across 75,000 solutions to 12,000 MATH problems.
  4. A 2022 GSM8K study by Uesato and colleagues found outcome feedback matched final-answer accuracy, but process feedback cut reasoning errors from 14.0% to 3.4%.
  5. Math-Shepherd generates step labels automatically by completing partial solutions many times and checking how often they reach the correct answer.
  6. DeepSeek-R1's authors reported that process reward models invited reward hacking and added too much overhead for their large-scale reinforcement learning.

Plongée profonde

When a language model solves a math problem, it usually writes a chain of steps before giving an answer. There are two ways to give feedback on such a solution. Outcome supervision checks only the final answer: right or wrong. Process supervision checks each intermediate step: is this line correct, and does it move toward a solution? The feedback is used to train a reward model, a separate network that scores solutions. A reward model trained on step labels is called a process reward model (PRM); one trained on final-answer labels is an outcome reward model (ORM). Reward models can then be used to pick the best of several candidate answers, a verifier role, or to provide training signals for reinforcement learning.

The motivation is easy to see with an example. A model can reach the correct number through a wrong argument, such as two errors that cancel, or a lucky guess. Outcome supervision rewards that solution anyway. It also gives only one bit of information for a long solution, so the learner cannot tell which step went wrong, a problem known as credit assignment. Process supervision points to the exact step that failed.

An early large comparison came from Jonathan Uesato, Geoffrey Irving, Irina Higgins and colleagues in a paper posted November 25, 2022, using GSM8K, a set of grade-school word problems. They found that outcome-based supervision gave similar final-answer error rates with fewer labels. However, getting the reasoning itself right needed process-based feedback or reward models that imitate it. Their best setup cut final-answer error from 16.8% to 12.7%, and cut reasoning errors among solutions with correct final answers from 14.0% to 3.4%.

OpenAI's 'Let's Verify Step by Step', by Hunter Lightman and colleagues and posted May 31, 2023, scaled the question up. The team fine-tuned models from base GPT-4, trained a generator to write solutions one step per line, and had human labelers rate each step of solutions to problems from MATH, a benchmark of competition mathematics. A step was positive if correct and reasonable, negative if incorrect or unreasonable, and neutral if ambiguous. Labeling stopped at the first mistake, so for a wrong solution the process label adds one fact the outcome label lacks: where the error is. The resulting dataset, PRM800K, contains about 800,000 step labels across 75,000 solutions to 12,000 problems.

The headline result comes from best-of-N search. For each of 500 held-out MATH test problems, the generator produced up to 1,860 solutions; each reward model picked its top-ranked solution, which was graded on its final answer. The PRM chose a correct solution 78.2% of the time, the ORM 72.4%, and majority voting, which picks the most common final answer, 69.6%. The gap grew as more candidates were sampled. On 224 newer AP Calculus, Chemistry, Physics and AMC questions released after the pretraining data was gathered, the PRM scored 72.9% in aggregate versus 63.8% for the ORM and 61.3% for majority voting. The authors also reported that active learning, showing labelers convincing wrong-answer solutions that fooled the current PRM, was about 2.6 times more data-efficient than labeling solutions at random.

Human labels are expensive, so later work tried to generate step labels automatically. Math-Shepherd, posted December 14, 2023 by Peiyi Wang and colleagues, labels a step by letting a model, called a completer, finish the solution from that step several times. A step that often leads to the right answer is treated as good. Trained this way without human annotation, Math-Shepherd raised Mistral-7B from 28.6% to 33.0% on MATH through step-level reinforcement learning, and to 43.5% when also used to verify candidate answers.

Process supervision has clear limitations. The DeepSeek-R1 paper, posted January 22, 2025, lists PRMs among its unsuccessful attempts and names three problems: it is hard to define what counts as a step in general reasoning, hard to judge whether an intermediate step is correct, and a learned reward model invites reward hacking, where the policy learns to please the verifier rather than be right. The authors concluded that PRMs work well for reranking and guided search but did not justify their added compute in large-scale reinforcement learning, and they trained with rule-based answer checks instead. Lightman and colleagues also note open issues: they could not rule out some test-set contamination, they studied only math, and their PRM is itself a model that can be wrong. Automatic labels like Math-Shepherd's contain noise, and the paper lists the cost of the completion process as a limitation.

In practice, process supervision needs three things: problems with checkable answers, solutions split into clear steps, and a labeling budget, human or computational. Using a PRM at inference time also costs compute, since best-of-N requires generating and scoring many candidates. Lightman and colleagues argued the method carries a negative alignment tax: it improved accuracy while rewarding reasoning that humans endorse, which they view as a safety benefit. Whether that holds outside math is, in their words, unknown.

04Exemple travaillé

Scoring two solutions with step-level probabilities

  1. Take a problem with a known answer, such as solving 3x + 5 = 20 for x, and write two four-step solutions: one correct, one that divides wrongly in step 3 but still states x = 5.

  2. Assign each step a probability of being correct, as a PRM would: for the correct solution use 0.98, 0.97, 0.96 and 0.99.

  3. For the flawed solution, use 0.98, 0.97, 0.20 and 0.95 so the bad step gets a low score.

  4. Compute each solution score as the product of its step probabilities: about 0.90 for the correct solution and about 0.18 for the flawed one.

  5. Note what an outcome-only check would do: both solutions state x = 5, so both would be marked correct.

  6. Compare with how PRM800K would label the flawed solution: positive labels for steps 1 and 2, a negative label at step 3, and no labels after it.

Ce que ça montre

The step-level scores separate a sound solution from a lucky one that outcome checking cannot tell apart. Check the arithmetic by multiplying the four probabilities yourself, and confirm that changing only the weakest step has the biggest effect on the product.

Mise en œuvre dans le monde réel

Best-of-N reranking: a model writes many candidate solutions, and a process reward model picks the one whose steps all look correct, the evaluation setup used in Let's Verify Step by Step.

Studying human step labels in PRM800K, OpenAI's MIT-licensed release of 800,000 step-level ratings marking each solution step as positive, negative or neutral.

Generating step labels without people, as Math-Shepherd (2023) does by letting a model finish each partial solution several times and checking how often it reaches the right answer.

Reinforcement learning with step rewards: Math-Shepherd reported step-by-step PPO raising Mistral-7B from 77.9% to 84.1% on the GSM8K grade-school math benchmark.

Auditing tutoring or homework-help systems by flagging the first incorrect line of a worked solution, rather than only marking the final answer wrong.

L'avenir de la supervision des processus pour le raisonnement mathématique

The research direction has split. One line, represented by Lightman and colleagues in 2023 and Math-Shepherd in 2023 to 2024, keeps improving step-level verifiers and cheaper ways to label them. Another, represented by DeepSeek-R1 in January 2025, trains reasoning models with simple rule-based rewards on final answers and reports that PRMs were not worth their overhead at scale, while still useful for reranking and guided search. Open questions include how to define steps in domains without line-by-line structure, such as proofs, code or scientific argument; how to keep a learned verifier from being gamed during long reinforcement learning runs; and how to get reliable step labels without paying for expert annotators. Lightman and colleagues explicitly called for testing process supervision outside mathematics. Another open issue is evaluation itself: results on MATH may be affected by contamination, which is why the 2023 study added newly released exam questions. Process supervision remains relevant to safety research, because rewarding an inspectable reasoning process rather than just results is one proposed way to keep model behavior aligned with human judgment, but how far that benefit extends is not settled.

Le mettre en pratique

Pourquoi c'est important

  • Vitesse et échelle. Les flux de travail linguistiques peuvent évoluer plus rapidement sans sacrifier la cohérence.
  • Accès et portée. Il étend l’accès à toutes les langues et styles de communication.
  • Décisions plus claires. Les équipes peuvent consacrer plus de temps au jugement tandis que l’automatisation gère les répétitions.

Attention à

  • Les faits hallucinés peuvent discrètement entrer dans des rapports, des flux de support ou des résultats de recherche.
  • La sensibilité des invites peut créer des résultats incohérents pour des demandes similaires.
  • Les données textuelles sensibles peuvent être exposées si les contrôles d’accès sont faibles.

Prochaines étapes

  1. Définissez le format de sortie, le ton et les normes de qualité avant le déploiement.
  2. Établissez des réponses auprès de sources fiables chaque fois que la précision est importante.
  3. Gardez un point de contrôle d’examen humain pour les résultats à enjeux élevés.
  4. Suivez les modèles de défaillance et recyclez régulièrement les invites ou les flux de travail.

Sources et lectures complémentaires

  1. arXiv (OpenAI)Let's Verify Step by Step
  2. OpenAI (GitHub)PRM800K: A Process Supervision Dataset
  3. arXivSolving math word problems with process- and outcome-based feedback
  4. arXivMath-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations
  5. arXiv (DeepSeek-AI)DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning

Continuez à explorer

Newsletter gratuite

Recevez le briefing quotidien sur l'IA

Trois histoires d'IA vérifiées chaque matin de la semaine, écrites dans un anglais simple. Gratuit pour toujours, sans publicité.

Un e-mail chaque jour de la semaine. Désabonnez-vous en un clic. Nous ne vendons ni ne partageons jamais votre adresse.

Testez-vous

Take the Process Supervision for Math Reasoning quiz

Commentaires instantanés sur chaque réponse et un certificat partageable avec une pièce d'identité vérifiable une fois que vous avez réussi un cours.

Démarrer le quiz

Soutenez l’enseignement gratuit de l’IA. AI Understanding est une organisation à but non lucratif 501(c)(3) : pas de publicité, pas de paywall, jamais. Faire un don

Questions fréquemment posées

Qu’est-ce que la supervision des processus pour le raisonnement mathématique ?

Process supervision trains a reward model to judge each step of a worked solution, instead of only checking the final answer. In OpenAI's 2023 study 'Let's Verify Step by Step', a step-level verifier picked correct answers to 78.2% of held-out MATH problems versus 72.4% for an answer-only verifier, making process reward models a central idea in how language models are trained and steered to reason.

Where does process supervision provide feedback compared with outcome supervision?

The distinction is the location of feedback; neither approach guarantees perfect judgments.

Pourquoi la supervision axée uniquement sur les résultats peut-elle être trompeuse pour les problèmes de mathématiques ?

Récompenser uniquement la réponse finale crédite les solutions « chanceuses » où des étapes intermédiaires incorrectes produisent par coïncidence le résultat correct.

Qu'est-ce que OpenAI a publié parallèlement au travail « Vérifions étape par étape » ?

Le PRM800K contient environ 800 000 annotations humaines marquant les étapes de raisonnement individuelles comme correctes ou incorrectes.

In best-of-N math selection with a process reward model, what does the verifier do?

It selects among available candidates; verifier errors and candidate coverage still matter.

Quelle approche réduit le besoin d’étiquettes coûteuses relatives aux étapes humaines ?

Math-Shepherd estime l'exactitude des étapes en déployant les complétions et en mesurant la fréquence à laquelle elles atteignent la bonne réponse, évitant ainsi l'étiquetage manuel.