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
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.
KH-FUNSD: A Hierarchical and Fine-Grained Layout Analysis Dataset for Low-Resource Khmer Business Document
National Engineering Research Center of Speech and Language Information Processing (NERC-SLIP) University of Science and Technology of China(国家语信息处理语音工程研究中心(NERC-SLIP)大学科学技术大学)
Multi-Head RAG: Solving Multi-Aspect Problems with LLMs
Department of Computer Science, ETH Zurich(苏黎世联邦理工学院计算机科学系);IDEAS Research Institute(IDEAS研究 institute);NASK National Research Institute(国家研究 institute)
MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents
University of Utah(犹他大学);Bosch Research(博世研究院);Indian Institute of Technology Kharagpur(印度克勒格布尔理工学院);Indian Institute of Science Education and Research Kolkata(印度加尔各答科学教育与研究学院)
Information retrieval for label noise document ranking by bag sampling and group-wise loss
tongji university(同济大学);Edinburgh university(爱丁堡大学);University College London(伦敦大学学院)
长文档检索一直是阅读理解和信息检索面临的巨大挑战。该预训练模型近年来在检索阶段和长文档排序方面取得了较好的效果。然而,在长文档排序中仍然存在一些关键问题,如数据标签噪声,长文档表示,负数据不平衡采样等。为了消除标签数据的噪声,并能够在搜索中对长文档进行合理的负采样,我们提出了袋采样方法和分组局部对比估计(LCE)方法。对长文档采用头中尾通道编码,在检索阶段采用稠密检索生成候选数据。在排序阶段将检索数据分成多个袋子,在每个袋子中选择阴性样本。采样后,两个损失合并。第一个损失是LCE。为了更好地适应Bag采样,在对查询和文档进行编码后,通过卷积层和最大池化提取每组的全局特征,提高模型对标签噪声影响的抵抗能力,最后计算LCE分组损失。值得注意的是,我们的模型在MS MARCO Long文档排序排行榜上显示出出色的性能。