检索增强分类用于保密文件
Retrieval Augmented Classification for Confidential Documents
AI总结:
本文提出基于检索增强分类(RAC)的方法,用于在真实环境中持续更新保密文件分类,通过对比RAC与监督微调(FT)在WikiLeaks数据集上的表现,证明RAC在数据不平衡时更稳定且具有更高的准确性和F1分数,同时提供保密部署的指导。
摘要:
未经授权披露保密文件需要稳健且低泄露的分类。在真实工作环境中,文档的流入和流出很多。为了持续更新知识,我们提出了一种使用检索增强分类(RAC)对保密文件进行分类的方法。为了验证有效性,我们在现实中的序列长度限制下,将RAC与监督微调(FT)在WikiLeaks US Diplomacy语料库上进行比较。在平衡数据上,RAC与FT相当。在不平衡数据上,RAC更稳定,同时提供可比的性能--在原始(不平衡)和增强(平衡)数据集上约为96%的准确率,以及通过适当提示达到94%的F1分数--而FT在增强平衡数据集上达到90%的F1分数,但在原始不平衡数据集上下降到88%的F1分数。当鲁棒增强不可行时,RAC提供了一种实用且安全的强分类路径,通过将敏感内容排除在模型权重之外并保持在您的控制之下,并且在现实世界条件变化时仍保持稳健。由于RAC基于外部向量存储进行相似性匹配,因此对标签偏斜不敏感,减少了参数级泄露,并且可以通过重新索引立即整合新数据--这是FT难以做到的,因为FT通常需要重新训练。本文的贡献有三:首先,一个基于RAC的分类管道和评估配方;其次,一个受控研究,隔离FT与RAC在保密文件分级中的类别不平衡和上下文长度效应;第三,关于受监管部署中RAC设计模式的可操作指导。
英文摘要:
Unauthorized disclosure of confidential documents demands robust, low-leakage classification. In real work environments, there is a lot of inflow and outflow of documents. To continuously update knowledge, we propose a methodology for classifying confidential documents using Retrieval Augmented Classification (RAC). To confirm this effectiveness, we compare RAC and supervised fine tuning (FT) on the WikiLeaks US Diplomacy corpus under realistic sequence-length constraints. On balanced data, RAC matches FT. On unbalanced data, RAC is more stable while delivering comparable performance--about 96% Accuracy on both the original (unbalanced) and augmented (balanced) sets, and up to 94% F1 with proper prompting--whereas FT attains 90% F1 trained on the augmented, balanced set but drops to 88% F1 trained on the original, unbalanced set. When robust augmentation is infeasible, RAC provides a practical, security-preserving path to strong classification by keeping sensitive content out of model weights and under your control, and it remains robust as real-world conditions change in class balance, data, context length, or governance requirements. Because RAC grounds decisions in an external vector store with similarity matching, it is less sensitive to label skew, reduces parameter-level leakage, and can incorporate new data immediately via reindexing--a difficult step for FT, which typically requires retraining. The contributions of this paper are threefold: first, a RAC-based classification pipeline and evaluation recipe; second, a controlled study that isolates class imbalance and context-length effects for FT versus RAC in confidential-document grading; and third, actionable guidance on RAC design patterns for governed deployments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。