Abstract
Deep Neural Networks (DNNs) frequently exploit spurious correlations in training data, a phenomenon known as "shortcut learning," which compromises their performance on out-of-distribution (OOD) data. We introduce the Debiasing Global Workspace (DGW), a framework that leverages attention-based information bottlenecks to automatically disentangle robust intrinsic features from misleading biases. By employing an Attribute-Slot-Attention (ASA) module and a dual-encoder architecture, DGW achieves state-of-the-art performance on biased benchmarks like Colored MNIST and Biased FFHQ. Furthermore, the framework provides inherent interpretability through attention-based visualizations of learned attributes.
Introduction
The tendency of DNNs to rely on "shortcuts"—such as identifying a bird by the blue sky in the background rather than its morphological features—poses a significant challenge for real-world deployment. These spurious correlations are often easier for models to learn than the complex, invariant features of the target class. Existing debiasing methods often require prior knowledge of the bias type or rely on complex generative models. There is a critical need for an automated, explainable approach to representation debiasing that can autonomously identify and separate robust attributes from misleading ones.
Methodology: Debiasing Global Workspace
The DGW framework is inspired by the "Global Workspace Theory" from cognitive science, implementing a centralized mechanism for information integration and competition.
Attribute-Slot-Attention (ASA)
The core of DGW is the ASA module. It employs a competitive attention mechanism that maps input features into a discrete set of "concept slots." This creates an information bottleneck that prevents the model from memorizing low-level pixel data, instead encouraging the emergence of high-level semantic attributes.
Dual-Encoder and Sample Re-weighting
The architecture consists of two parallel paths: an intrinsic encoder for robust features and a bias encoder for shortcuts. To ensure effective separation, DGW uses a "relative difficulty score" to re-weight training samples, prioritizing "bias-conflicting" examples (e.g., a bird in a forest) for the intrinsic encoder. Additionally, a bias augmentation strategy swaps bias features between samples during training, forcing the intrinsic classifier to remain invariant to spurious cues.
Experimental Evaluation
The authors evaluated DGW on several challenging benchmarks, including Colored MNIST (C-MNIST), Corrupted CIFAR-10, and Biased FFHQ (BFFHQ). DGW consistently achieved state-of-the-art results across these datasets. Notably, on the real-world BFFHQ dataset, DGW reached 63.7% accuracy, a significant improvement over the LFA baseline (59.5%). The model's advantage was most pronounced in high-bias regimes (e.g., 0.5% bias-conflicting samples), demonstrating its ability to extract robust features even when shortcuts are overwhelmingly prevalent. Furthermore, the model demonstrated lower Expected Calibration Error (ECE), indicating that its confidence scores are more reliable and it generalizes better to unseen data.
Interpretability and Feature Analysis
A key advantage of the DGW framework is its inherent transparency. By visualizing the attention masks generated by the ASA module, we can verify that the model focuses on the correct attributes rather than environmental noise.
As shown in the figures, the intrinsic module successfully attends to the shape and defining characteristics of the objects. This focus on shape over texture or background is key to the model's robustness against out-of-distribution distortions, as confirmed by performance on specialized OOD benchmarks like Stylized-ImageNet and Silhouettes.
Conclusion
The Debiasing Global Workspace provides a robust and interpretable solution to the problem of shortcut learning. By leveraging attribute-centric information bottlenecks, DGW separates intrinsic features from spurious biases without requiring manual bias specification. While the dual-workspace architecture increases training complexity, the gains in transparency and OOD performance are substantial. Future work aims to unify the architecture into a single module and explore its application as a general-purpose layer for diverse recognition tasks.
Summary updated