KatInterview

Choosing an LLM Alignment Recipe for a Support Assistant

Machine LearningModel answer

Last updated

Weigh PPO-based RLHF against DPO, use AI-generated feedback when labels are scarce, and diagnose and fix a model that over-refuses harmless requests after alignment.

Context

Your team is preparing a pre-trained large language model for deployment as a customer support assistant. The base model is fluent and capable, but it occasionally invents facts (hallucination) and does not reliably follow the company's tone rules. You must choose and justify a post-training strategy that improves instruction following and keeps the model safe.

Questions

  1. PPO-based RLHF vs. DPO. Compare the two approaches. Cover how each one uses preference data, and discuss the practical trade-offs in compute cost, training stability, and final quality. Which would you pick for this assistant, and why?

  2. Scarce preference labels. Human comparisons are expensive and you have few of them. Describe how AI-generated feedback (RLAIF, Constitutional AI) can help. How would you detect and limit the biases introduced when one LLM acts as the grader for another?

  3. Over-refusal. After alignment the model is very helpful, but it now declines harmless requests. How would you diagnose the cause, and what would you change to reduce the refusals without making the model less safe?

What a strong answer covers

  • The difference between learning an explicit reward model and optimizing the policy directly on preferences.
  • Ways to measure alignment that go beyond subjective human ratings, such as automated benchmarks, programmatic checks, and model-based judges.
  • How to manage the tension between being helpful and being harmless.

Hints

Hint 1

For question 1, start from the KL-regularized reward objective. Ask what happens if you solve for the optimal policy in closed form and substitute it back into the pairwise preference loss.

Hint 2

For question 2, list the known systematic errors of LLM judges (order, length, self-preference, style over substance) and pair each with a specific countermeasure. Keep a small human-labeled set to calibrate the judge.

Hint 3

For question 3, measure both failure directions at once: the refusal rate on harmless-but-edgy prompts and the compliance rate on truly harmful ones. Then check whether your preference data or judge implicitly treats refusal as the safe, high-scoring answer.