arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.20732cs.CV
收藏

深度注意力重加权:CNN中的后处理注意力特征聚合以解纠缠核心与伪相关特征

Deep Attention Reweighting: Post-Hoc Attention-Based Feature Aggregation in CNNs for Disentangling Core and Spurious Features under Spurious Correlations

National University of Singapore(新加坡国立大学)

Kin Whye Chew, Jingxian Wang

AI总结:

本文提出了一种基于注意力的后处理特征聚合方法DAR,通过替换全局平均池化层来减少CNN中因伪相关特征引起的纠缠,从而提升模型的泛化能力和公平性。

摘要:

卷积神经网络(CNNs)经常利用数据集中的伪相关性,学习出表面预测但因果无关的特征,导致泛化能力差和公平性问题。深度特征重加权(DFR)是一种后处理技术,通过在目标数据集上重新训练分类头来减少模型对伪相关性的依赖。然而,我们发现DFR受限于在纠缠特征上操作,限制了其增强核心特征同时抑制伪特征的能力。我们追溯这种纠缠到普遍存在的全局平均池化(GAP)层,该层 indiscriminately 将空间上不同的核心和伪特征压缩成单一表示。为了解决这个问题,我们提出了深度注意力重加权(DAR),一种基于注意力的后处理特征聚合模块,它替换了GAP层并与分类头一起重新训练。DAR在特征图上计算空间位置的自适应加权,使在压缩成纠缠特征前能选择性地抑制伪特征。在各种数据集、指标和消融实验中,DAR始终优于DFR,证明了我们的基于注意力的聚合方法减轻了GAP引起的纠缠并减少了对伪相关性的依赖。

英文摘要:

Convolutional Neural Networks (CNNs) often exploit spurious correlations in datasets, learning superficially predictive yet causally irrelevant features, leading to poor generalization and fairness issues. Deep Feature Reweighting (DFR) is a post-hoc technique that reduces a trained model's reliance on spurious correlations by retraining its classification head on a target dataset. However, we show that DFR is fundamentally constrained by operating on entangled features, limiting its ability to amplify the core features while simultaneously suppressing the spurious ones. We trace this entanglement to the ubiquitous Global Average Pooling (GAP) layer, which indiscriminately collapses spatially distinct core and spurious features into a single representation. To address this, we propose Deep Attention Reweighting (DAR), a post-hoc attention-based aggregation module that replaces GAP and is retrained jointly with the classification head. DAR computes an adaptive weighting of spatial locations across feature maps, enabling selective suppression of spurious features before the collapse into entangled features. Across various datasets, metrics, and ablations, DAR consistently outperforms DFR, demonstrating that our attention-based aggregation mitigates GAP-induced entanglement and reduces spurious reliance.

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

↑