Saved in:
Bibliographic Details
Main Authors: Hundal, Rajdeep Singh, Xiao, Yan, Dong, Jin Song, Rigger, Manuel
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.08325
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915995493335040
author Hundal, Rajdeep Singh
Xiao, Yan
Dong, Jin Song
Rigger, Manuel
author_facet Hundal, Rajdeep Singh
Xiao, Yan
Dong, Jin Song
Rigger, Manuel
contents Many vision datasets now provide segmentation masks in addition to annotated images to support a wide range of tasks. In this work, we propose Class Activation Map Attention Learning (CAMAL), an efficient and scalable method that utilizes segmentation masks to improve attention alignment and faithfulness in vision models. Specifically, attention alignment refers to the degree to which a model's attention aligns with ground-truth discriminative regions, while attention faithfulness refers to the degree to which a model's attention influences its decision. Improving both attention alignment and faithfulness is essential for ensuring that model attention is both spatially accurate and causally meaningful. To improve attention alignment and faithfulness in vision models, CAMAL first extracts the model's attention for each image during training and then compares the attention to ground-truth discriminative regions obtained from the corresponding segmentation masks. CAMAL then acts as an auxiliary regularizer, encouraging attention that aligns with ground-truth discriminative regions, while suppressing attention elsewhere. We evaluated CAMAL across two learning paradigms -- Deep Learning (DL) and Deep Reinforcement Learning (DRL) -- and observed consistent, significant improvements in both attention alignment and faithfulness. In particular, CAMAL yields statistically significant gains in attention alignment across all settings, and improves attention faithfulness by over 35% compared to recent work. Moreover, we show that improved attention alignment and faithfulness enhance explainability, while yielding improved or comparable generalization performance without increasing inference cost. These findings demonstrate that the spatial information contained within segmentation masks can be effectively leveraged to guide model attention across learning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2605_08325
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CAMAL: Improving Attention Alignment and Faithfulness with Segmentation Masks
Hundal, Rajdeep Singh
Xiao, Yan
Dong, Jin Song
Rigger, Manuel
Image and Video Processing
Artificial Intelligence
Machine Learning
I.2.6; I.4.0
Many vision datasets now provide segmentation masks in addition to annotated images to support a wide range of tasks. In this work, we propose Class Activation Map Attention Learning (CAMAL), an efficient and scalable method that utilizes segmentation masks to improve attention alignment and faithfulness in vision models. Specifically, attention alignment refers to the degree to which a model's attention aligns with ground-truth discriminative regions, while attention faithfulness refers to the degree to which a model's attention influences its decision. Improving both attention alignment and faithfulness is essential for ensuring that model attention is both spatially accurate and causally meaningful. To improve attention alignment and faithfulness in vision models, CAMAL first extracts the model's attention for each image during training and then compares the attention to ground-truth discriminative regions obtained from the corresponding segmentation masks. CAMAL then acts as an auxiliary regularizer, encouraging attention that aligns with ground-truth discriminative regions, while suppressing attention elsewhere. We evaluated CAMAL across two learning paradigms -- Deep Learning (DL) and Deep Reinforcement Learning (DRL) -- and observed consistent, significant improvements in both attention alignment and faithfulness. In particular, CAMAL yields statistically significant gains in attention alignment across all settings, and improves attention faithfulness by over 35% compared to recent work. Moreover, we show that improved attention alignment and faithfulness enhance explainability, while yielding improved or comparable generalization performance without increasing inference cost. These findings demonstrate that the spatial information contained within segmentation masks can be effectively leveraged to guide model attention across learning tasks.
title CAMAL: Improving Attention Alignment and Faithfulness with Segmentation Masks
topic Image and Video Processing
Artificial Intelligence
Machine Learning
I.2.6; I.4.0
url https://arxiv.org/abs/2605.08325