cs.CVMar 26, 2026

Learning domain-invariant features through channel-level sparsification for Out-Of Distribution Generalization

Authors: Haoran Pei, Yuguang Yang, Kexin Liu, Juan Zhang, Baochang Zhang

Organizations: School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, P. R. China · School of Electronic Information Engineering, Beihang University, Beijing 100191, P. R. China · School of Artificial Intelligence, Beihang University, Beijing 100191, P. R. China

Abstract

Out-of-Distribution (OOD) generalization has become a primary metric for evaluating image analysis systems. Since deep learning models tend to capture domain-specific context, they often develop shortcut dependencies on these non-causal features, leading to inconsistent performance across different data sources. Current techniques, such as invariance learning, attempt to mitigate this. However, they struggle to isolate highly mixed features within deep latent spaces. This limitation prevents them from fully resolving the shortcut learning problem.In this paper, we propose Hierarchical Causal Dropout (HCD), a method that uses channel-level causal masks to enforce feature sparsity. This approach allows the model to separate causal features from spurious ones, effectively performing a causal intervention at the representation level. The training is guided by a Matrix-based Mutual Information (MMI) objective to minimize the mutual information between latent features and domain labels, while simultaneously maximizing the information shared with class labels.To ensure stability, we incorporate a StyleMix-driven VICReg module, which prevents the masks from accidentally filtering out essential causal data. Experimental results on OOD benchmarks show that HCD performs better than existing top-tier methods.

Figures & tables

Explore similar work

CardsList
  1. Sparse Autoencoders for Interpretable Out-of-Distribution Detection

    Jul 13, 2026Ayush Karmacharya, Luke Luschwitz, Lucia Romero +2OOD Detection

  2. Sparsity and Out-of-Distribution Generalization

    Mar 8, 2026Scott Aaronson, Lin Lin Lee, Jiawei LiOOD GeneralizationGeneralization Bounds

  3. Does Your Neural Network Extrapolate? Feature Engineering as Identifiability Bias for OOD Generalization

    May 8, 2026Leonel Aguilar, Jan Nagler, Christoph Hoelscher +1OOD GeneralizationInductive Bias