2025-02-12 · 专家 · 自然语言处理

Expect the Unexpected: FailSafe Long Context QA for Finance

本文提出了一种新的金融领域长文本问答基准测试FailSafeQA,该基准测试评估了大型语言模型在各种人类交互变化下(例如拼写错误、上下文缺失等)的鲁棒性和上下文感知能力,并对24个模型进行了评估,揭示了高性能模型仍有改进空间,并强调了FailSafeQA在开发可靠金融应用LLM方面的作用。

更新于 2025-02-12。作者:Kiran Kamble、Melisa Russak、Dmytro Mozolevskyi、Muayad Ali、Mateusz Russak、Waseem AlShikh。

中文摘要

我们提出一个新的长上下文金融基准测试FailSafeQA,旨在测试大型语言模型 (LLM) 在金融领域基于LLM的问答系统中针对六种人机交互变化的鲁棒性和上下文感知能力。我们专注于两个案例研究:查询失败和上下文失败。在查询失败场景中,我们扰乱原始查询,使其在领域专业知识、完整性和语言准确性方面有所不同。在上下文失败案例中,我们模拟上传降级、无关和空文档。我们采用LLM作为评判者的方法,使用Qwen2.5-72B-Instruct,并使用细粒度的评分标准来定义和计算24个现成模型的鲁棒性、上下文基础和合规性分数。结果表明,尽管一些模型擅长减轻输入扰动,但它们必须在强大的回答能力和避免幻觉之间取得平衡。值得注意的是,被认为是最合规的模型Palmyra-Fin-128k-Instruct保持了强大的基线性能,但在17%的测试用例中难以维持强大的预测。另一方面,最强大的模型OpenAI o3-mini在41%的测试用例中编造了信息。结果表明,即使是高性能模型也有很大的改进空间,并突出了FailSafeQA作为开发针对金融应用的可靠性而优化的LLM的工具的作用。数据集可在以下网址获取:https://huggingface.co/datasets/Writer/FailSafeQA

英文摘要

We propose a new long-context financial benchmark, FailSafeQA, designed to test the robustness and context-awareness of LLMs against six variations in human-interface interactions in LLM-based query-answer systems within finance. We concentrate on two case studies: Query Failure and Context Failure. In the Query Failure scenario, we perturb the original query to vary in domain expertise, completeness, and linguistic accuracy. In the Context Failure case, we simulate the uploads of degraded, irrelevant, and empty documents. We employ the LLM-as-a-Judge methodology with Qwen2.5-72B-Instruct and use fine-grained rating criteria to define and calculate Robustness, Context Grounding, and Compliance scores for 24 off-the-shelf models. The results suggest that although some models excel at mitigating input perturbations, they must balance robust answering with the ability to refrain from hallucinating. Notably, Palmyra-Fin-128k-Instruct, recognized as the most compliant model, maintained strong baseline performance but encountered challenges in sustaining robust predictions in 17% of test cases. On the other hand, the most robust model, OpenAI o3-mini, fabricated information in 41% of tested cases. The results demonstrate that even high-performing models have significant room for improvement and highlight the role of FailSafeQA as a tool for developing LLMs optimized for dependability in financial applications. The dataset is available at: https://huggingface.co/datasets/Writer/FailSafeQA

解读

一句话总结

本文提出了一种新的金融领域长文本问答基准测试FailSafeQA,该基准测试评估了大型语言模型在各种人类交互变化下(例如拼写错误、上下文缺失等)的鲁棒性和上下文感知能力,并对24个模型进行了评估,揭示了高性能模型仍有改进空间,并强调了FailSafeQA在开发可靠金融应用LLM方面的作用。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt