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

期待意外:面向金融领域的FailSafe长上下文问答

Expect the Unexpected: FailSafe Long Context QA for Finance

Writer, Inc(Writer公司)

Kiran Kamble, Melisa Russak, Dmytro Mozolevskyi, Muayad Ali, Mateusz Russak, Waseem AlShikh

AI总结:

该研究提出金融长上下文基准FailSafeQA,测试LLMs在查询和上下文失败场景下的鲁棒性等,发现高性能模型仍需平衡稳健性与合规性,为金融LLMs优化提供工具。

摘要:

我们提出了一个新的长上下文金融基准FailSafeQA,旨在测试大型语言模型(LLMs)在金融领域基于LLM的问答系统中,对人机交互的六种变体的鲁棒性和上下文感知能力。我们聚焦于两个案例研究:查询失败和上下文失败。在查询失败场景中,我们通过改变领域专业度、完整性和语言准确性来扰动原始查询;在上下文失败案例中,我们模拟上传降级、无关和空文档的情况。我们采用LLM-as-a-Judge方法,使用Qwen2.5-72B-Instruct模型,并通过细粒度评分标准定义和计算24个现成模型的鲁棒性、上下文接地性和合规性得分。结果表明,尽管部分模型在缓解输入扰动方面表现出色,但它们必须在稳健回答与避免幻觉之间取得平衡。值得注意的是,被认为最合规的模型Palmyra-Fin-128k-Instruct保持了较强的基线性能,但在17%的测试案例中难以维持稳健预测;而最稳健的模型OpenAI o3-mini在41%的测试案例中编造了信息。研究结果表明,即使是高性能模型也有显著的改进空间,并强调FailSafeQA作为开发针对金融应用优化的可靠LLMs的工具的作用。该数据集可在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

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

↑