arXiv:2512.08088cs.CL2025-12

用大模型蒸馏法,让金融文本检索更准更快。

Adaptation of Embedding Models to Financial Filings via LLM Distillation

  • 用大模型判断相关性,蒸馏知识训练专用检索器
  • 金融文件检索的MRR@5提升27.7%,DCG@5提升44.6%
  • 无需人工标注,适合金融、法律等专业领域应用

尽管生成式大模型取得进展,但专用对话AI代理在实际应用中仍受限于计算成本、延迟要求及领域相关性精度。现有嵌入模型虽缓解前两者问题,但在金融等专业领域的信息检索上表现不佳。本文提出一种可扩展的训练流程,基于通用检索嵌入模型,在无标注语料上训练专用模型。方法在21,800个查询-文档对上,使14类金融文件的MRR@5平均提升27.7%,均值DCG@5提升44.6%,FinanceBench中3类文档的NDCG得分改善。通过使用大模型评判的相关性,将领域知识蒸馏至紧凑的双编码器检索器中,而非用于生成。与以往合成查询+真实段落直接微调不同,本方法引入师生模型交互:检索迭代中,学生模型从无标签语料中挖掘越来越难的正负样本,并用于重训自身权重,实现逐步优化。该方法在不依赖人工标注的前提下,有效弥合通用模型与专业领域间的差距。

原文摘要 · Abstract (English)

Despite advances in generative large language models (LLMs), practical application of specialized conversational AI agents remains constrained by computation costs, latency requirements, and the need for precise domain-specific relevance measures. While existing embedding models address the first two constraints, they underperform on information retrieval in specialized domains like finance. This paper introduces a scalable pipeline that trains specialized models from an unlabeled corpus using a general purpose retrieval embedding model as foundation. Our method yields an average of 27.7% improvement in MRR$\texttt{@}$5, 44.6% improvement in mean DCG$\texttt{@}$5 across 14 financial filing types measured over 21,800 query-document pairs, and improved NDCG on 3 of 4 document classes in FinanceBench. We adapt retrieval embeddings (bi-encoder) for RAG, not LLM generators, using LLM-judged relevance to distill domain knowledge into a compact retriever. There are prior works which pair synthetically generated queries with real passages to directly fine-tune the retrieval model. Our pipeline differs from these by introducing interaction between student and teacher models that interleaves retrieval-based mining of hard positive/negative examples from the unlabeled corpus with iterative retraining of the student model's weights using these examples. Each retrieval iteration uses the refined student model to mine the corpus for progressively harder training examples for the subsequent training iteration. The methodology provides a cost-effective solution to bridging the gap between general-purpose models and specialized domains without requiring labor-intensive human annotation.

金融AI检索增强知识蒸馏

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