arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.15328cs.CL
收藏

为语言模型配备工具使用能力以用于金融领域表格数据分析

Equipping Language Models with Tool Use Capability for Tabular Data Analysis in Finance

Monash University(莫纳什大学)

Adrian Theuma, Ehsan Shareghi

AI总结:

针对大语言模型在金融领域的错误传播、幻觉问题,提出对LLaMA-2 13B Chat模型做有监督微调,使其兼具任务路由与求解能力,可调用外部工具处理表格数据分析,模型Raven性能显著优于基线,比肩GPT-3.5效果。

摘要:

大语言模型(LLM)已展现出一系列推理能力,但存在错误传播、幻觉等挑战,在数据异构且精度至关重要的金融等专业领域尤为突出。我们探索了用外部工具增强语言模型的潜力,以此缓解上述局限,并将部分推理步骤卸载给更适配任务的外部工具,而非完全依赖LLM的固有能力。更具体地,我们利用金融领域问答数据集,对LLaMA-2 13B Chat模型进行有监督微调(SFT),使其同时充当“任务路由者”和“任务求解者”。“任务路由者”会动态引导问题,要么由LLM内部解答,要么通过工具集中合适的工具外部解答。我们的配备工具的SFT模型Raven,相比基础模型和仅SFT基线分别提升了35.2%和5.06%,且与GPT-3.5的强劲结果极具竞争力。据我们所知,本研究是首个针对金融领域探索语言模型工具增强的工作。

英文摘要:

Large language models (LLMs) have exhibited an array of reasoning capabilities but face challenges like error propagation and hallucination, particularly in specialised areas like finance, where data is heterogeneous, and precision is paramount. We explore the potential of language model augmentation with external tools to mitigate these limitations and offload certain reasoning steps to external tools that are more suited for the task, instead of solely depending on the LLM's inherent abilities. More concretely, using financial domain question-answering datasets, we apply supervised fine-tuning on a LLaMA-2 13B Chat model to act both as a 'task router' and 'task solver'. The 'task router' dynamically directs a question to either be answered internally by the LLM or externally via the right tool from the tool set. Our tool-equipped SFT model, Raven, demonstrates an improvement of 35.2% and 5.06% over the base model and SFT-only baselines, respectively, and is highly competitive with strong GPT-3.5 results. To the best of our knowledge, our work is the first that investigates tool augmentation of language models for the finance domain.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑