抵押贷款语言模型:带有残差指令、对齐微调和任务特定路由的领域自适应预训练
Mortgage Language Model: Domain-Adaptive Pretraining with Residual Instruction, Alignment Tuning, and Task-Specific Routing
AI总结:
MortgageLLM通过双专家架构和残差指令技术,在抵押贷款领域实现领域自适应预训练,提升对话问答和结构化任务性能。
摘要:
大型语言模型(LLMs)在通用领域展现出卓越的能力,但其在专门领域如抵押贷款金融中的应用需要领域特定的知识增强,同时保持指令遵循的保真度。我们提出了MortgageLLM,一种新的领域特定的大语言模型,旨在解决这一双重挑战。它通过从单个基础模型(LLaMA-3.1-8B)出发的双轨专业化框架进行开发。我们选择这种双专家方法,因为单一的多任务模型会面临性能权衡的问题,其中通过SFT优化结构任务会损害对话保真度(通过DPO)。我们的双轨方法通过创建两个专家,使每个专家都能为其独特的功能最优地进行训练。我们的方法应用残差指令技术,在无监督微调后恢复指令遵循能力。我们贡献:(1)将这种残差技术应用于高度专门化的抵押贷款金融领域;(2)一种结合对话问答模型和结构化任务模型的双专家架构,用于分类和摘要;(3)一种使用少量示例分类由其中一个专家模型本身执行的智能任务路由机制。我们在领域特定的基准上验证了我们的方法,其中最终模型(MLM v2)显著优于基础LLaMA-3.1-8B-Instruct,实现了LLM-as-a-Judge摘要评分4.58(vs. 3.99),问答评分4.09(vs. 4.0),分类评分2.6(vs. 1.2)。在语义相似度方面,我们的模型在摘要上实现了BERTScore 0.77(vs. 0.74),问答0.68(vs. 0.58),分类0.75(vs. 0.73),大幅优于基线方法。
英文摘要:
Large Language Models (LLMs) demonstrate exceptional capabilities across general domains, yet their application to specialized sectors such as mortgage finance requires domain-specific knowledge augmentation while preserving instruction-following fidelity. We present MortgageLLM, a novel domain-specific large language model that addresses this dual challenge. It is developed using a dual-track specialization framework from a single base model (LLaMA-3.1-8B). We opted for this dual-expert approach as a single multi-task model suffers from performance trade-offs, where optimizing for structured tasks (via SFT) degrades conversational fidelity (via DPO). Our dual-track method solves this by creating two specialists, allowing each to be optimally trained for its distinct capability. Our approach applies the instruction residual technique to restore instruction-following capabilities post-domain adaptation without supervised fine-tuning. We contribute: (1) application of this residual technique to the highly specialized mortgage finance domain; (2) a dual-expert architecture combining a conversational Q&A model and a structured task model for classification and summarization; and (3) an intelligent task routing mechanism using few-shot classification performed by one of the expert models itself. We validate our approach on domain-specific benchmarks, where our final model (MLM v2) significantly outperforms the base LLaMA-3.1-8B-Instruct, achieving an LLM-as-a-Judge summarization score of 4.58 (vs. 3.99), a Q&A score of 4.09 (vs. 4.0), and a classification score of 2.6 (vs. 1.2). On semantic similarity, our model achieved a BERTScore of 0.77 for summarization (vs. 0.74), 0.68 for Q&A (vs. 0.58), and 0.75 for classification (vs. 0.73), substantially outperforming baseline approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。