通过多阶段生成 rollout 检测金融代理中的对话风险
Conversations Risk Detection LLMs in Financial Agents via Multi-Stage Generative Rollout
AI总结:
本文提出FinSec框架,通过多阶段生成rollout方法检测金融代理中的对话风险,提升高风险对话检测的鲁棒性,实验显示其在F1分数、ASR和AUPRC等方面均优于基线模型。
摘要:
随着大语言模型在金融服务场景中的快速应用,高监管风险下的对话安全检测面临显著挑战。现有方法主要依赖单一维度语义判断或固定规则,难以处理多轮语义演变和复杂监管条款;且缺乏专门针对金融安全检测的模型。为解决这些问题,本文提出FinSec,一种四层安全检测框架用于金融代理。FinSec实现了结构化、可解释且端到端的实际金融风险识别,整合了可疑行为模式分析、延迟风险和对抗推理、语义安全分析以及基于风险的决策制定。值得注意的是,FinSec显著增强了高风险对话检测的鲁棒性,同时保持了模型的实用性。实验结果表明FinSec的领先性能。在整体检测能力方面,FinSec达到90.13%的F1分数,比基线模型提高6-14个百分点;其ASR降低至9.09%,显著降低了不安全输出的概率;AUPRC增加到0.9189,比通用框架提高约9.7%。此外,在平衡实用性和安全性方面,FinSec获得0.9098的综合得分,为金融代理对话提供了稳健且高效的保护。
英文摘要:
With the rapid adoption of large language models (LLMs) in financial service scenarios, dialogue security detection under high regulatory risk presents significant challenges. Existing methods mainly rely on single-dimensional semantic judgments or fixed rules, making them inadequate for handling multi-turn semantic evolution and complex regulatory clauses; moreover, they lack models specifically designed for financial security detection. To address these issues, this paper proposes FinSec, a four-tier security detection framework for financial agent. FinSec enables structured, interpretable, and end-to-end identification of actual financial risks, incorporating suspicious behavior pattern analysis, delayed risk and adversarial inference, semantic security analysis, and integrated risk-based decision-making. Notably, FinSec significantly enhances the robustness of high-risk dialogue detection while maintaining model utility. Experimental results demonstrate FinSec's leading performance. In terms of overall detection capability, FinSec achieves an F1 score of 90.13%, improving upon baseline models by 6--14 percentage points; its ASR is reduced to 9.09%, markedly lowering the probability of unsafe outputs; and the AUPRC increases to 0.9189 -- an approximate 9.7% gain over general frameworks. Additionally, in balancing utility and safety, FinSec obtains a composite score of 0.9098, delivering robust and efficient protection for financial agent dialogues.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。