Walk through RLHF and write the PPO and DPO losses

HardConcept25 minRSREMLEPro outline

The question

Describe the RLHF pipeline from SFT to the final policy. Then write the PPO clipped objective and the DPO loss on the whiteboard and explain each term.

What the interviewer is looking for

  • Describes SFT, reward model training and RL with a KL anchor
  • Writes the PPO clipped surrogate with advantages
  • Writes the DPO loss with beta and the reference model
  • Explains what DPO removes and what it costs
  • Notes common failure modes

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Alibaba Qwen (Tongyi Lab) question type: RLHF pipeline and the PPO and DPO loss formulas; reducing hallucination.

Reported in: nowcoder.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Alibaba Qwen (Tongyi Lab) question.