Gold-Guided Programmatic Distillation for Financial Reasoning over Hybrid Tables and Text
Abstract
Financial question answering over hybrid tabular and textual data may require multi-source reasoning and precise numerical computation. While large language models (LLMs) can generate intermediate reasoning steps, natural-language rationales remain prone to arithmetic errors, making them an unreliable supervision source for distillation. Building on programmatic distillation, we develop an approach that transfers reliable numerical reasoning from a large teacher model to a compact student using execution-verified Python programs instead of free-form textual rationales. It leverages gold derivations to guide teacher-side program synthesis and retains only programs that execute correctly and produce the gold answer, ensuring high-quality supervision. We further introduce an iterative recovery stage that revisits teacher-failed examples, enabling the student to recover and incorporate newly verified programs into training. Experiments on TAT-QA show that our framework is highly effective for hybrid financial reasoning. Our best 7B student achieves 87.00 EM / 87.18 F1 on the test set, substantially outperforming the 72B teacher (78.46 EM) as well as traditional and strong LLM-based baselines, including TAGOP and TAT-LLM. These results demonstrate that execution-verified programmatic distillation provides an effective and extensible framework for training smaller models to perform reliable numerical reasoning.
Create a lesson
Metadata
- Comments
- 12 pages, 7 figures
Related papers
Better Starts, Better Ends: Bootstrapped Iterative Self-Reasoning Distillation for Compressed Reasoning
Shared title terminologycs.CLLeichao Dong, Dongxu Zhang, Yiding Sun et al.
When Perplexity Lies: Generation-Focused Distillation of Hybrid Sequence Models
Shared title terminologycs.CLJuan Gabriel Kostelec, Qinghai Guo
Answer-Conditioned Chains of Thought Degrade Verifiable-Reasoning Distillation in Large Language Models
Shared title terminologycs.CLJungseob Lee, Seungyoon Lee, Suhyune Son et al.
FinResearchBench II: A Deep Research Benchmark with Consensus-Derived Gold Rubrics for Distinguishing Financial Report Quality
Shared title terminologycs.CLBeidi Luan, Rui Sun, Sinuo Wang et al.
Diverse Alternative Reasoning Traces for Hard Math Problems
Shared title terminologycs.CLLukas Aichberger, Adam Golinski, Arno Blaas et al.
Repairing the Trustworthiness of Distilled Language Models
Shared title terminologycs.CLKumar Shubham, Devendra Vyas, Vidushi Agarwal et al.