PANDUAN AI Bahasa

Penyeliaan Proses untuk Penaakulan Matematik

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

Dengar panduan iniAI-diceritakan · ~7 min

Pada halaman ini8 min read
  1. Gambaran keseluruhan
  2. Pengambilan utama
  3. Menyelam dalam
  4. Scoring two solutions with step-level probabilities
  5. Pelaksanaan Dunia Sebenar
  6. Masa Depan Penyeliaan Proses untuk Penaakulan Matematik
  7. Mempraktikkannya
  8. Sumber dan bacaan lanjut
  9. Teruskan Meneroka
  10. Soalan lazim

Gambaran keseluruhan

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.

Pengambilan utama

  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.

Menyelam dalam

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.

04Contoh yang dikerjakan

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.

Apa yang ditunjukkan

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.

Pelaksanaan Dunia Sebenar

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.

Masa Depan Penyeliaan Proses untuk Penaakulan Matematik

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.

Mempraktikkannya

Mengapa ia penting

  • Kelajuan dan skala. Aliran kerja bahasa boleh bergerak lebih pantas tanpa mengorbankan konsistensi.
  • Akses dan capai. Ia meluaskan akses merentas bahasa dan gaya komunikasi.
  • Keputusan yang lebih jelas. Pasukan boleh menghabiskan lebih banyak masa untuk membuat pertimbangan manakala automasi mengendalikan pengulangan.

Berhati-hati untuk

  • Fakta halusinasi boleh memasukkan laporan, aliran sokongan atau hasil penyelidikan secara senyap-senyap.
  • Sensitiviti segera boleh mencipta hasil yang tidak konsisten merentas permintaan yang serupa.
  • Data teks sensitif mungkin terdedah jika kawalan akses lemah.

Langkah seterusnya

  1. Tentukan format output, nada dan standard kualiti sebelum pelancaran.
  2. Respons asas dengan sumber yang dipercayai apabila ketepatan penting.
  3. Simpan pusat pemeriksaan semakan manusia untuk output berkepentingan tinggi.
  4. Jejaki corak kegagalan dan latih semula gesaan atau aliran kerja dengan kerap.

Sumber dan bacaan lanjut

  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

Teruskan Meneroka

Newsletter percuma

Dapatkan taklimat AI harian

Tiga cerita AI yang disahkan setiap pagi hari bekerja, ditulis dalam Bahasa Inggeris biasa. Percuma selamanya, tiada iklan.

Satu e-mel setiap hari bekerja. Berhenti melanggan dalam satu klik. Kami tidak pernah menjual atau berkongsi alamat anda.

Uji diri anda

Take the Process Supervision for Math Reasoning quiz

Maklum balas segera pada setiap jawapan, dan sijil yang boleh dikongsi dengan ID yang boleh disahkan sebaik sahaja anda lulus kursus.

Mulakan kuiz

Sokong pendidikan AI percuma. AI Understanding ialah pertubuhan bukan keuntungan 501(c)(3) — tiada iklan, tiada bayaran dinding, selamanya. Buat derma

Soalan lazim

Apakah itu Penyeliaan Proses untuk Penaakulan Matematik?

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.

Mengapakah penyeliaan hasil sahaja boleh mengelirukan untuk masalah matematik?

Memberi ganjaran hanya jawapan akhir mengkreditkan penyelesaian 'bertuah' di mana langkah perantaraan yang salah secara kebetulan menghasilkan keputusan yang betul.

Apakah yang OpenAI keluarkan bersama 'Mari Sahkan Langkah demi Langkah' berfungsi?

PRM800K mengandungi kira-kira 800,000 anotasi manusia yang menandakan langkah penaakulan individu sebagai betul atau salah.

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.

Apakah pendekatan yang mengurangkan keperluan untuk label langkah manusia yang mahal?

Math-Shepherd menganggarkan ketepatan langkah dengan melancarkan penyelesaian dan mengukur kekerapan mereka mencapai jawapan yang betul, mengelakkan pelabelan manual.