arXiv:2511.21101cs.CLcs.LG2025-11被引 1

为房贷领域定制大模型,兼顾问答与任务处理能力。

Mortgage Language Model: Domain-Adaptive Pretraining with Residual Instruction, Alignment Tuning, and Task-Specific Routing

  • 分设对话与结构化任务两个专家模型,避免性能互损。
  • 用残差指令恢复微调后指令遵循能力,无需额外标注。
  • 自动路由任务类型,适合金融场景落地应用。

大型语言模型在通用领域表现优异,但在房贷金融等专业领域需增强领域知识并保持指令遵循能力。本文提出MortgageLLM,基于单一基座模型(LLaMA-3.1-8B)采用双轨专业化框架构建。为避免多任务训练中结构化任务优化损害对话质量,设计双专家架构:一个用于对话问答,一个专攻分类与摘要。通过残差指令技术在领域适配后恢复指令遵循能力,无需监督微调。引入由专家模型自执行的少量样本分类任务路由机制。在领域基准测试中,最终模型(MLM v2)显著优于基础模型:摘要得分4.58(基线3.99),问答得分4.09(基线4.0),分类得分2.6(基线1.2);语义相似度方面,摘要BERTScore达0.77(基线0.74),问答0.68(基线0.58),分类0.75(基线0.73),全面领先。

原文摘要 · Abstract (English)

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大模型任务路由领域适配

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。