用金融监管条文构建合规检测模型,精准识别LLM对话中的违规行为。
FinGuard: Detecting Financial Regulatory Non-Compliance in LLM Interactions

- 基于监管文本自动生成合规风险分类,无需预设违规类别。
- 在首个金融合规基准上超越所有基线模型,包括大模型GPT-5.1。
- 可适配机构特有政策,适合金融AI安全与合规团队使用。
随着大语言模型在金融服务中广泛应用,单次不合规交互可能带来监管处罚与用户损失。现有防护模型依赖通用有害性分类,忽视具体金融法规约束。本文提出一种以法规驱动的流水线,直接处理监管文件,生成金融合规风险分类并合成基于法规的训练数据,无需预先定义违规类别。针对中国金融法规实例化该流程,发布首个金融合规检测基准FinGuard-Bench,包含专家标注的查询与响应级标签。进一步基于Qwen3-8B训练了FinGuard模型,采用监督微调与自对弈强化学习。在FinGuard-Bench上,FinGuard显著优于所有基线,包括专用防护模型及更大规模通用模型如Qwen3.5-397B-A17B和GPT-5.1。同时,模型保持通用安全性,并仅凭政策文档即可适应未见的机构特定规则。代码、提示与资源将开源于GitHub。
原文摘要 · Abstract (English)
As large language models (LLMs) are increasingly deployed in financial services, a single non-compliant interaction can expose institutions to regulatory penalties and direct consumer harm. Existing guard models are built around general harm taxonomies and overlook violations grounded in specific financial regulations. We address this gap with a regulation-driven pipeline that operates directly on regulatory documents, inducing a financial compliance risk taxonomy and synthesizing grounded training data without any predefined violation categories. Instantiating the pipeline on Chinese financial regulations, we release \textbf{FinGuard-Bench}, to our knowledge the first benchmark for financial regulatory compliance detection, with expert-annotated labels at both the query and response levels. We further train \textbf{FinGuard}, a financial compliance detection model built on Qwen3-8B and trained on the regulation-grounded data via supervised fine-tuning and self-play reinforcement learning. On FinGuard-Bench, FinGuard substantially outperforms all baselines, including dedicated guard models and much larger general-purpose LLMs such as Qwen3.5-397B-A17B and GPT-5.1. Furthermore, FinGuard also preserves general safety capabilities and adapts to unseen institution-specific policies using policy documents alone. We will publicly release the code, prompts, and resources used in this work on GitHub.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。