arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.09249cs.CLcs.AI
收藏

通过模型增强提升语言模型在金融领域的适应性

Enhancing Financial Domain Adaptation of Language Models via Model Augmentation

Preferred Networks, Inc.(Preferred Networks公司)

Kota Tanabe, Masanori Hirano, Kazuki Matoya, Kentaro Imajo, Hiroki Sakaji, Itsuki Noda

AI总结:

本研究通过组合增强语言模型(CALM)在金融领域进行模型增强,利用金融专业化LLM提升通用LLM的金融性能,实验证明该方法在日语金融基准上优于基线,且中间层连接效果最佳。

摘要:

语言模型(包括大型语言模型,LLM)的领域适应性随着此类模型应用的不断扩展而变得越来越重要。本研究展示了组合增强语言模型(CALM)在适应金融领域方面的有效性。CALM是一种通过在不同功能的两个LLM之间引入交叉注意力来扩展现有模型能力的模型。在我们的实验中,我们开发了一个CALM,通过利用一个金融专业化的LLM来增强一个具有强大响应能力的LLM的金融性能。值得注意的是,该CALM是使用一个不同于训练金融专业化LLM所用的金融数据集进行训练的,这证实了CALM适应各种数据集的能力。模型通过定量日语金融基准和定性响应比较进行评估,结果表明,CALM能够产生优于原始模型和基线的更高分数的响应。此外,关于连接点的对比实验显示,连接模型的中间层在促进金融领域适应性方面最为有效。这些发现证实,CALM是将LLM适应金融领域的一种实用方法。

英文摘要:

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分析而来,可能存在错误,请以论文正文为准。

↑