Audit Before You Distill: A Controlled Workflow for Reasoning Transfer into Compact Medical Language Models
Organizations: Einstein Global Advanced Technologies for Equity (E-GATE), Hospital Israelita Albert Einstein, São Paulo, Brazil · Institute of Science and Technology Itaú (ICTi), Itaú Unibanco, São Paulo, SP, Brazil · School of Sciences, São Paulo State University, São Paulo, Brazil
Abstract
Teacher rationales can help a smaller model answer health professions questions, but they can also reinforce errors. We examined when they help and how this evidence can guide training using Brazilian Portuguese questions from medical and multiprofessional residency examinations. First, we measured how a teacher rationale changed the student's probability of selecting the correct answer and compared this effect with rationales drawn from other questions. The complete rationale increased this probability by 21p.p. when the teacher was correct and decreased it by 14p.p. when the teacher was wrong. By intervening on the reasoning content, we showed that shuffled rationales did not produce the same pattern. Guided by this result, we trained only with rationales attached to correct teacher answers and compared answer-only training, step-by-step distillation, and our proposed Distill-SFT method. Distill-SFT showed a modest advantage over step-by-step distillation on previously missed questions under reasoning, while using fewer training instances by combining the answer and rationale into a single target. We also investigated catastrophic forgetting using the out-of-domain ENEM dataset. Answer-only training reduced reasoning accuracy by 12p.p. relative to baseline, compared with approximately 4p.p. for either rationale-based training method. Together, these findings support a workflow that audits rationale content before distillation, verifies teacher answers before supervision, and trains compact models efficiently for health professions question answering.
Figures & tables
| Technique | Steps | B dir. | B reas. | D dir. | D reas. | |
|---|---|---|---|---|---|---|
| Pure SFT | 1.0 | 382 | 0.30 | – | 0.19 | – |
| distill-SFT | 1.0 | 382 | 0.27 | 0.43 | 0.15 | 0.24 |
| distill-SFT | 0.3 | 382 | 0.28 | 0.40 | 0.18 | 0.22 |
| distill-SFT | 0.1 | 382 | 0.29 | 0.41 | 0.18 | 0.24 |
| Step-by-step | 1.0 | 678 | 0.31 | 0.40 | 0.19 | 0.23 |
| Step-by-step | 0.3 | 678 | 0.33 | 0.39 | 0.21 | 0.23 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Contrast | Set | Inference | Difference, p.p. (95% CI) | - | Wilcoxon |
| Technique and inference regime at , unless specified | |||||
| distill-SFT minus step-by-step | B | reasoning | [ , ] | 0.025 | 0.035 |
| distill-SFT minus step-by-step | B | direct | [ , ] | 0.002 | |
| distill-SFT minus step-by-step | ABC | reasoning | [ , ] | 0.137 | 0.221 |
| distill-SFT minus step-by-step | D | reasoning | [ , ] | 0.553 | 0.711 |
| Technique-by-inference interaction | B | both | [ , ] | 0.001 | 0.004 |
| Sensitivity set | Records | Stem groups | (95% CI) | ||
|---|---|---|---|---|---|
| All records | 4,260 | 3,792 | [ , ] | ||
| Exclude exact option wording | 3,145 | 2,850 | [ , ] | ||
| Exclude high overlap margin | 3,825 | 3,432 | [ , ] | ||
| Exclude both types of cue | 2,920 | 2,661 | [ , ] |
| Set | Generator outcomes | Distill | Step | Difference (95% CI) | - | Wilcoxon | |
|---|---|---|---|---|---|---|---|
| B | All | 1,430 | [ , ] | 0.183 | 0.232 | ||
| B | Both correct | 417 | [ , ] | 0.120 | 0.193 | ||
| B | Both wrong | 658 | [ , ] | 0.101 | 0.065 | ||
| D | All | 2,020 | [ , ] | 0.630 | 0.770 | ||
| D | Both correct | 259 | [ , ] | 0.553 | 0.322 | ||
| D | Both wrong | 1,333 | [ , ] | 0.132 | 0.049 |
| Sub. | Regime | Step | Distill | (p.p.) | - | |
|---|---|---|---|---|---|---|
| A | direct | 1.0 | 93.1 | 93.9 | 0.20 | |
| A | direct | 0.3 | 93.4 | 93.4 | 0.95 | |
| A | direct | 0.1 | 92.7 | 93.1 | 0.46 | |
| A | reasoning | 1.0 | 82.0 | 82.7 | 0.40 | |
| A | reasoning | 0.3 | 80.0 | 82.2 | 0.02 | |
| A | reasoning | 0.1 | 81.9 | 82.5 | 0.55 |
| Set | Offline policy | Acc. | Latency (%) |
|---|---|---|---|
| ABC | answer all directly | 0.72 | 1 |
| ABC | route subset B to reasoning | 0.77 | 31 |
| ABC | reason on all items | 0.68 | 100 |
| ABC | per-question oracle | 0.81 | 10 |
| D | answer all directly | 0.15 | 1 |
| D | reason on all items | 0.24 | 100 |