确定性模糊分诊用于法律合规分类和证据检索
Deterministic Fuzzy Triage for Legal Compliance Classification and Evidence Retrieval
AI总结:
本文提出了一种确定性双编码器和透明模糊分诊方法,用于法律合规分类和证据检索,实现了高精度和可解释性。
摘要:
法律团队越来越多地使用机器学习来筛选大量合同证据,但许多模型是不透明的、非确定性的,并且难以与HIPAA或NERC-CIP等框架对齐。我们研究了一种简单、可重复的替代方法,基于确定性双编码器和透明的模糊分诊带。我们训练了一个RoBERTa-base双编码器,具有512维投影和余弦相似度,在ACORD基准上进行分级子句检索,然后在CUAD衍生的二元合规数据集上进行微调。在五个随机种子(40-44)单个NVIDIA A100 GPU上,该模型在测试分割上实现了ACORD风格的检索性能:NDCG@5 0.38-0.42,NDCG@10 0.45-0.50,以及4星Precision@5约0.37。在CUAD衍生的二元标签上,它实现了AUC 0.98-0.99和F1 0.22-0.30,取决于正类加权,优于多数和随机基线,在高度不平衡的设置中正率约为0.6%。然后,我们将标量合规分数映射到三个区域:自动非合规、自动合规和人工审查。阈值在验证数据上进行调整,以在经验误差率约束不超过2%的情况下最大化自动决策覆盖。结果是一个由少量标量参数总结的种子稳定系统。我们认为,确定性编码器、校准的模糊带和明确的误差约束在手工规则和不透明的大语言模型之间提供了实用的中间解决方案,支持可解释的证据分诊、可重复的审计跟踪和具体的法律审查概念映射。
英文摘要:
Legal teams increasingly use machine learning to triage large volumes of contractual evidence, but many models are opaque, non-deterministic, and difficult to align with frameworks such as HIPAA or NERC-CIP. We study a simple, reproducible alternative based on deterministic dual encoders and transparent fuzzy triage bands. We train a RoBERTa-base dual encoder with a 512-dimensional projection and cosine similarity on the ACORD benchmark for graded clause retrieval, then fine-tune it on a CUAD-derived binary compliance dataset. Across five random seeds (40-44) on a single NVIDIA A100 GPU, the model achieves ACORD-style retrieval performance of NDCG@5 0.38-0.42, NDCG@10 0.45-0.50, and 4-star Precision@5 about 0.37 on the test split. On CUAD-derived binary labels, it achieves AUC 0.98-0.99 and F1 0.22-0.30 depending on positive-class weighting, outperforming majority and random baselines in a highly imbalanced setting with a positive rate of about 0.6%. We then map scalar compliance scores into three regions: auto-noncompliant, auto-compliant, and human-review. Thresholds are tuned on validation data to maximize automatic decision coverage subject to an empirical error-rate constraint of at most 2% over auto-decided examples. The result is a seed-stable system summarized by a small number of scalar parameters. We argue that deterministic encoders, calibrated fuzzy bands, and explicit error constraints provide a practical middle ground between hand-crafted rules and opaque large language models, supporting explainable evidence triage, reproducible audit trails, and concrete mappings to legal review concepts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。