Related Experiment Video
Updated: Jan 7, 2026

06:37
Author Spotlight: Addressing Technical and Subjective Challenges in Measuring Classroom Attention
Published on: December 15, 2023
5.2K
Out of distribution detection with attention head masking for multimodal document classification
Christos Constantinou1,2,3, Georgios Ioannides4,5,6, Aman Chadha4,7,8
1University of Bristol, Bristol, England. christos.constantinou@bristol.ac.uk.
Scientific Reports
|January 3, 2026
Summary
Attention Head Masking (AHM) improves out-of-distribution (OOD) detection in machine learning by enhancing data embeddings. This novel technique boosts model reliability and reduces errors, especially for multi-modal documents.
Area of Science:
- Computer Science
- Artificial Intelligence
- Machine Learning
Background:
- Detecting out-of-distribution (OOD) data is crucial for reliable AI systems.
- Current OOD detection methods often struggle with multi-modal data and prioritize decision rules over embedding quality.
Purpose of the Study:
- To introduce Attention Head Masking (AHM) for improved OOD detection in both uni-modal and multi-modal settings.
- To enhance the quality of dense embedding representations for better in-distribution and OOD data separation.
Main Methods:
- Applied Attention Head Masking (AHM) to Transformer-based models.
- Evaluated AHM on uni-modal and multi-modal document data.
- Introduced the FinanceDocs dataset for OOD detection research.
Main Results:
- AHM significantly improves embedding quality and data separation.
- Reduced the false positive rate (FPR) by up to 10% compared to state-of-the-art methods.
- Demonstrated effective generalization to multi-modal document data.
Conclusions:
- AHM is an effective technique for enhancing OOD detection in Transformer models.
- The method shows strong performance, particularly for complex multi-modal document analysis.
- The release of FinanceDocs aims to foster further research in document AI and OOD detection.
Related Concept Videos
Masking and Demasking Agents
3.4K
EDTA titrations may necessitate masking and demasking agents to temporarily protect a particular metal ion in a mixture from the EDTA reaction. These agents facilitate the sequential analysis of the metal ions by forming stable complexes with some—but not all—metal ions during certain steps.
There are many masking agents, such as cyanide, fluoride, triethanolamine, thiourea, and 2,3-bis(sulfanyl)propan-1-ol (formerly 2,3-dimercapto-1-propanol), with the masking agent chosen based on...
There are many masking agents, such as cyanide, fluoride, triethanolamine, thiourea, and 2,3-bis(sulfanyl)propan-1-ol (formerly 2,3-dimercapto-1-propanol), with the masking agent chosen based on...
3.4K
Difference from Background: Limit of Detection
8.0K
The limit of detection (LOD) is the smallest amount of analyte that can be distinguished from the background noise. The LOD value corresponds to the concentration at which the analyte signal is three times larger than the standard deviation of the blank signal. Below this value, the analyte signal cannot be differentiated from the background noise. It is calculated by dividing the calibration slope by 3 times the standard deviation of the blank signals.
The LOD indicates the presence or absence...
The LOD indicates the presence or absence...
8.0K
