Demystifying Domain-adaptive Post-training for Financial LLMs
Zixuan Ke, Yifei Ming, Xuan-Phi Nguyen, Caiming Xiong, Shafiq Joty
TL;DR
This work presents FinDaP, a finance-focused framework for domain-adaptive post-training of LLMs, composed of four components: FinCap (target capabilities), FinRec (joint CPT+IT with novel PA signals), FinTrain (curated data), and FinEval (broad evaluation). By applying FinDaP to the Llama3-8B-instruct base, the authors train Llama-Fin, achieving state-of-the-art results on unseen finance tasks and competitive performance on novel challenges, while providing deep analysis of each post-training stage. A key innovation is the Stepwise Corrective Preference and Final Answer Preference used within a GenRM-guided PA pipeline to improve reasoning without excessive data or compute. The framework emphasizes explicit capability definitions, balanced data strategies, and comprehensive evaluation, offering actionable guidance for domain adaptation of finance LLMs and highlighting directions for scaling and multi-modality.
Abstract
Domain-adaptive post-training of large language models (LLMs) has emerged as a promising approach for specialized domains such as medicine and finance. However, significant challenges remain in identifying optimal adaptation criteria and training strategies across varying data and model configurations. To address these challenges, we introduce FINDAP, a systematic and fine-grained investigation into domain-adaptive post-training of LLMs for the finance domain. Our approach consists of four key components: FinCap, which defines the core capabilities required for the target domain; FinRec, an effective training recipe that jointly optimizes continual pre-training and instruction-following, along with a novel preference data distillation method leveraging process signals from a generative reward model; FinTrain, a curated set of training datasets supporting FinRec; and FinEval, a comprehensive evaluation suite aligned with FinCap. The resulting model, Llama-Fin, achieves state-of-the-art performance across a wide range of financial tasks. Our analysis also highlights how each post-training stage contributes to distinct capabilities, uncovering specific challenges and effective solutions, providing valuable insights for domain adaptation of LLMs
