Module lessons (2/4)
Process Reward Models (PRMs) vs Outcome Reward Models (ORMs)
Step-level credit assignment, detecting intermediate logical errors, and Best-of-N trajectory scoring.
What you'll learn in this lesson
- Contrast Process Reward Models (PRMs) with traditional Outcome Reward Models (ORMs).
- Master step-level credit assignment to identify the exact step where reasoning fails.
- Calculate cumulative reasoning path likelihoods from individual step confidence scores.
- Implement Best-of-N path selection using PRM scoring in Python.
Overview
When evaluating language model reasoning, traditional reinforcement learning from human feedback (RLHF) employs an Outcome Reward Model (ORM): a discriminator that inspects only the final terminal answer and assigns a scalar score:
While ORMs work for general prose, they fail catastrophically in multi-step math, science, and coding tasks due to false positives from negative reasoning (getting the right answer for the completely wrong mathematical reasons) and credit assignment failure (knowing the proof failed, but having no idea which of the 15 intermediate steps was flawed).
Sections covered in this lesson
- 1Process Reward Models (PRMs) vs Outcome Reward Models (ORMs)
- 2Cumulative Path Likelihood & Search Guidance
- 3Check Your Understanding
- 4Practice: Step Scoring & Best-of-N Selection in Python
Unlock "Process Reward Models (PRMs) vs Outcome Reward Models (ORMs)" and the full AI Engineering & Production RAG curriculum
Step-level credit assignment, detecting intermediate logical errors, and Best-of-N trajectory scoring.
Unlock all 3 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.
- Instant access to all advanced modules in AI Engineering & Production RAG plus 17 more courses
- Hands-on browser exercises with automated test suites and solutions
- 14-day money-back guarantee processed via Paddle.com
14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.