arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.11237cs.AIcs.CLcs.CVcs.LG
收藏

基于注意力头掩蔽的分布外检测用于多模态文档分类

Out-of-Distribution Detection with Attention Head Masking for Multimodal Document Classification

University of Bristol(布里斯托尔大学);Amazon GenAI(亚马逊生成式人工智能部门);James Silberrad Brown Center for Artificial Intelligence(詹姆斯·西尔伯拉德·布朗人工智能中心);Carnegie Mellon University(卡内基梅隆大学);Stanford University(斯坦福大学)

Christos Constantinou, Georgios Ioannides, Aman Chadha, Aaron Elkins, Edwin Simpson

AI总结:

针对多模态文档分类中的分布外检测,提出注意力头掩蔽方法,显著降低假阳性率最高7.5%,并发布新数据集FinanceDocs。

摘要:

检测分布外(OOD)数据在机器学习应用中至关重要,以降低模型过度自信的风险,从而增强部署系统的可靠性和安全性。现有的大多数OOD检测方法主要处理单模态输入,如图像或文本。在多模态文档的背景下,对这些主要针对计算机视觉任务开发的方法的性能缺乏广泛研究。我们提出了一种新颖的方法,称为注意力头掩蔽(AHM),用于文档分类系统中的多模态OOD任务。我们的实证结果表明,所提出的AHM方法优于所有最先进的方法,并且与现有解决方案相比,显著降低了假阳性率(FPR),最高可达7.5%。该方法很好地泛化到多模态数据,如文档,其中视觉和文本信息在同一Transformer架构下建模。为了解决高质量公开可用文档数据集的稀缺性并鼓励对文档OOD检测的进一步研究,我们引入了FinanceDocs,一个新的文档AI数据集。我们的代码和数据集公开可用。

英文摘要:

Detecting out-of-distribution (OOD) data is crucial in machine learning applications to mitigate the risk of model overconfidence, thereby enhancing the reliability and safety of deployed systems. The majority of existing OOD detection methods predominantly address uni-modal inputs, such as images or texts. In the context of multi-modal documents, there is a notable lack of extensive research on the performance of these methods, which have primarily been developed with a focus on computer vision tasks. We propose a novel methodology termed as attention head masking (AHM) for multi-modal OOD tasks in document classification systems. Our empirical results demonstrate that the proposed AHM method outperforms all state-of-the-art approaches and significantly decreases the false positive rate (FPR) compared to existing solutions up to 7.5\%. This methodology generalizes well to multi-modal data, such as documents, where visual and textual information are modeled under the same Transformer architecture. To address the scarcity of high-quality publicly available document datasets and encourage further research on OOD detection for documents, we introduce FinanceDocs, a new document AI dataset. Our code and dataset are publicly available.

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

↑