---
title: "Learning from explanations"
description: "The post investigates whether training a risk assessment model on explanations, in addition to labels, improves decision performance. Standard supervised fine-tuning (SFT) on both labels and explanations together degrades performance because the loss is dominated by the longer explanation tokens. The authors propose two-stage SFT: first train on labels and explanations (knowledge distillation), then train on labels alone (decision calibration), with the label placed before the explanation to avoid conditioning on generated reasoning. This approach achieves 39% higher recall at human-review precision on fraud review compared to label-only SFT, and the gains scale with the amount of explanation data across multiple risk assessment tasks. On-policy distillation (OPD) is used to restore explanation quality lost during the second stage, while preserving the decision gains, by having the student generate responses and the frozen teacher score each token to provide a token-level reward."
---

# Learning from explanations

[Stripe](https://yomu.fyi/company/stripe) · Hangzhi Guo · Nov 19, 2026

**Type:** Problem & solution

## Summary

The post investigates whether training a risk assessment model on explanations, in addition to labels, improves decision performance. Standard supervised fine-tuning (SFT) on both labels and explanations together degrades performance because the loss is dominated by the longer explanation tokens. The authors propose two-stage SFT: first train on labels and explanations (knowledge distillation), then train on labels alone (decision calibration), with the label placed before the explanation to avoid conditioning on generated reasoning. This approach achieves 39% higher recall at human-review precision on fraud review compared to label-only SFT, and the gains scale with the amount of explanation data across multiple risk assessment tasks. On-policy distillation (OPD) is used to restore explanation quality lost during the second stage, while preserving the decision gains, by having the student generate responses and the frozen teacher score each token to provide a token-level reward.

## Context

The post addresses the challenge of improving risk assessment models by incorporating explanations. Standard supervised fine-tuning on both labels and explanations together degrades decision performance because the loss is dominated by the longer explanation tokens. The authors propose two-stage SFT to separate the objectives, and on-policy distillation to recover explanation quality.

## Approach / What changed

Two-stage supervised fine-tuning: first train on labels and explanations (knowledge distillation), then train on labels alone (decision calibration). On-policy distillation (OPD) is used to restore explanation quality lost during the second stage, by having the student generate responses and the frozen teacher score each token to provide a token-level reward.

## Takeaways

- Two-stage SFT (knowledge distillation followed by label-only training) improves decision performance over label-only SFT, achieving 39% higher recall at human-review precision on fraud review.
- Joint training on labels and explanations together degrades performance because the loss is dominated by the longer explanation tokens, diluting the decision signal.
- On-policy distillation (OPD) restores explanation quality lost during label-only training while preserving the decision gains, and even improves explanation scores beyond the teacher.

## FAQ

### Why does joint training on labels and explanations hurt performance?

Because standard SFT loss weights each target token equally, so the gradient is dominated by the much longer explanation rather than the decision label, diluting the decision signal.

### How does two-stage SFT improve decision performance?

It first trains on labels and explanations to build useful internal representations, then trains on labels alone to focus on decision accuracy without explanation tokens dominating the objective.

### How does on-policy distillation recover explanation quality?

OPD uses the student's own generated responses and the frozen teacher scores each token, minimizing reverse KL divergence, which discourages the student from assigning high probability to responses the teacher considers unlikely, and reduces exposure bias.

**Tags:** [Distillation](https://yomu.fyi/topic/distillation), [Fine-Tuning](https://yomu.fyi/topic/fine-tuning), [Fraud Detection](https://yomu.fyi/topic/fraud-detection), [Machine Learning](https://yomu.fyi/topic/machine-learning)

- Source: [Stripe](https://stripe.dev/blog/learning-from-explanations)
- Source URL: https://stripe.dev/blog/learning-from-explanations
- Ingested by Yomu: 2026-11-19T21:00:12.351Z

[Read original post](https://stripe.dev/blog/learning-from-explanations)
