arXiv:2411.09249cs.CLcs.AI2024-11被引 3

用双模型交叉注意力提升大模型金融领域表现

Enhancing Financial Domain Adaptation of Language Models via Model Augmentation

  • 让两个不同功能的模型通过交叉注意力协作增强
  • 在日文金融评测中得分高于原模型和基线
  • 连接中间层最有效,适配多种金融数据集

语言模型(包括大语言模型)在金融领域的适应性日益重要。本研究展示了通过组合式模型增强(CALM)方法在金融领域适应中的有效性。CALM通过引入两个功能不同的大语言模型之间的交叉注意力,扩展现有模型能力。实验中,我们构建了基于强响应能力模型与金融专用模型的CALM,使用不同于金融专用模型训练数据的金融数据进行训练,验证了其对多类金融数据集的适应能力。模型通过定量日文金融基准测试和定性响应对比评估,结果表明CALM生成的回答显著优于原始模型和基线模型。此外,连接点对比实验显示,连接模型中间层最有利于金融领域适应。这些发现证实了CALM是一种实用的金融领域大模型适应方法。

原文摘要 · Abstract (English)

The domain adaptation of language models, including large language models (LLMs), has become increasingly important as the use of such models continues to expand. This study demonstrates the effectiveness of Composition to Augment Language Models (CALM) in adapting to the financial domain. CALM is a model to extend the capabilities of existing models by introducing cross-attention between two LLMs with different functions. In our experiments, we developed a CALM to enhance the financial performance of an LLM with strong response capabilities by leveraging a financial-specialized LLM. Notably, the CALM was trained using a financial dataset different from the one used to train the financial-specialized LLM, confirming CALM's ability to adapt to various datasets. The models were evaluated through quantitative Japanese financial benchmarks and qualitative response comparisons, demonstrating that CALM enables superior responses with higher scores than the original models and baselines. Additionally, comparative experiments on connection points revealed that connecting the middle layers of the models is most effective in facilitating adaptation to the financial domain. These findings confirm that CALM is a practical approach for adapting LLMs to the financial domain.

领域适应大模型金融AI模型融合

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