提示有多重要?金融推理中事后自蒸馏的范围条件
研究论文 · 2026/10/29
在数据驻留限制下,金融机构只能使用可本地部署的小型开放权重模型,这些模型在多步定量推理上落后于前沿系统。在线策略蒸馏(OPD)通过在自身轨迹上监督学生模型来缩小差距,但传统OPD需要强外部教师,而在线策略自蒸馏(OPSD)则依赖完整参考解。我们探究这种信号的必要性,提出Fin-SD——一种用于多步推理的本地化事后自蒸馏方法。给定学生失败的问题,学生自行识别首个错误推理步骤并撰写简短批评。我们在错误前截断轨迹(旨在获得正确前缀),将学生模型的冻结副本以相同前缀加提示为条件,并在反向KL下通过短轨迹将该提示条件教师蒸馏给学生。无外部模型贡献梯度。我们将Fin-SD应用于GPT-OSS-20B,在自定义多步金融推理基准上测试(需通过会计惯例从现实场景推导公式输入)。发现:(i) 用通用反馈控制替代批评,在FinanceReasoning Hard子集上匹配Fin-SD相对于基模型的全部3.03个百分点准确率提升,表明增益来自监督应用的位置而非提示内容;(ii) 写提示的模型无需强于接收提示的模型:来自同家族GPT-OSS-120B(约6倍参数)的提示并未比自写提示带来显著更大收益;(iii) Fin-SD在准确率上匹配来自完整参考解的在线策略自蒸馏,同时生成token少9.5%。使用Fin-SD,在MMLU-Pro上的通用推理和FinTrust上的十四指标合规审计均无实质退化。
该研究挑战了自蒸馏中提示内容必要性的假设,揭示了监督位置的关键作用,为资源受限场景下的高效模型改进提供了简单有效的方案,且实验证明其不会损害通用能力和合规性。
Financial institutions operating under data-residency constraints are restricted to open-weight models small enough to locally host, which trail frontier systems on multi-step quantitative reasoning. On-policy distillation narrows such gaps by supervising a student on its own rollouts, but traditional OPD requires a strong external teacher, and on-policy self-distillation (OPSD) conditions on a full reference solution. We ask how much of that signal is necessary. We present Fin-SD, a localized hindsight self-distillation recipe for multi-step reasoning. Given a problem the student fails, the student itself identifies the first incorrect reasoning step and writes a short critique of that step. We truncate the student's trajectory immediately before the error (aiming to obtain a correct prefix), condition a frozen copy of the student on the same prefix plus the hint, and distill that hint-conditioned teacher into the student over a short rollout under reverse KL. No external model contributes a gradient. We apply Fin-SD to GPT-OSS-20B on a custom multi-step financial reasoning benchmark that requires deriving formula inputs from realistic scenarios via accounting conventions. We find: (i) replacing the critique with a generic-feedback control matches Fin-SD's entire 3.03 pp accuracy gain over the base model on the FinanceReasoning Hard subset, suggesting the gain comes from where supervision is applied, not hint content; (ii) the model writing the hint does not need to be stronger than the model receiving it: hints from same-family GPT-OSS-120B, at roughly 6x the parameters, yield no materially greater benefits than self-written hints; and (iii) Fin-SD matches on-policy self-distillation from full reference solutions on accuracy while generating 9.5% fewer tokens. With Fin-SD, general reasoning on MMLU-Pro and a fourteen-metric compliance audit on FinTrust show no material regression.