TL;DR
This paper introduces Debiasing Global Workspace (DGW), a novel framework for training deep neural networks to overcome biases learned from data. Inspired by cognitive science's Global Workspace Theory, DGW uses specialized modules and a shared "workspace" to disentangle intrinsic and spurious features, leading to improved performance and interpretable decision-making via attention masks.
What Problem Does This Paper Address?
Deep Neural Networks (DNNs) are prone to learning spurious correlations between irrelevant features and target labels when trained on biased datasets. This "shortcut learning" leads to poor generalization on unseen data that doesn't exhibit the same biases. Existing debiasing methods often require explicit bias labels or introduce significant computational overhead. The authors aim to address this by proposing a more modular and interpretable debiasing approach inspired by cognitive theories of consciousness.
Methods
The core of the DGW framework is inspired by Global Workspace Theory (GWT). It comprises:
- Specialized Modules (Specialists): Two distinct modules are trained: one to identify "intrinsic" (relevant) attributes and another for "biased" (spurious) attributes.
- Shared Workspace (Global Latent Attention - GLA): This acts as a central hub where information from the specialists is integrated and broadcast. It uses an attention mechanism to allow different modules to compete for attention and synchronize their representations.
- Disentangled Representation Learning: The framework is designed to learn separate representations for intrinsic and biased features. This is achieved through carefully designed training objectives and a mechanism where only the intrinsic specialist's parameters are updated when learning intrinsic attributes, while the bias specialist is frozen.
- Interpretable Attention Masks: DGW generates attention masks that visualize which features the model focuses on for intrinsic and biased attributes, offering transparency into its decision-making process.
- Attribute Composition Phase: To further improve robustness, the framework employs a technique where intrinsic and bias features are randomly swapped within mini-batches, creating "bias-conflicting" samples to train the model to rely less on spurious correlations.
Datasets
The paper evaluates DGW on the following benchmark datasets:
- Colored MNIST (C-MNIST): A synthetic dataset where digit shape is the intrinsic attribute and color is the bias.
- Corrupted CIFAR10 (C-CIFAR-10): A synthetic dataset where true object features are corrupted, creating a bias.
- Bias FFHQ (BFFHQ): A real-world dataset of face images where age is the intrinsic attribute and gender is the bias, exhibiting a strong correlation in the original dataset.
The datasets were used with varying ratios of bias-conflicting samples to test the model's robustness.
Key Insights and Ideas
- Cognitive Inspiration for Debiasing: Applying principles from cognitive science (GWT) offers a novel and potentially more effective way to structure debiasing mechanisms, moving beyond purely algorithmic approaches.
- Modularity Enhances Interpretability: The separation into specialized modules and a shared workspace naturally leads to more interpretable outputs, particularly through the attention masks that highlight feature relevance.
- Attention as a Conscious Bottleneck: The attention mechanism in the "workspace" can be seen as analogous to conscious awareness, selectively broadcasting information from specialists for processing.
- Orthogonal Perspective to Existing Methods: DGW offers a distinct approach compared to methods that rely on explicit bias labels or complex auxiliary models, potentially simplifying the debiasing process.
Key Results
- Performance Gains: DGW, especially with its mixup strategy (DGW+M) and residual connection (DGW+R), demonstrates competitive or superior performance compared to several strong baselines (LfF, LFA) on unbiased test sets across C-MNIST, C-CIFAR-10, and BFFHQ.
- Robustness to Bias: The model shows improved generalization on biased data, outperforming many methods that do not require prior bias knowledge.
- Interpretability: Visualizations of attention masks clearly show that DGW's intrinsic specialists focus on relevant features (e.g., digit shape, uncorrupted image parts), while bias specialists focus on spurious correlations (e.g., color, corrupted image parts).
- Improved Model Reliability: DGW consistently achieves the lowest Expected Calibration Error (ECE) and Negative Log Likelihood (NLL) on C-CIFAR-10, indicating better calibration and probabilistic quality.
- Disentangled Representations: t-SNE plots show that DGW's intrinsic and bias features are more effectively separated and clustered compared to baselines.
Limitations and Future Work
- Increased Complexity: The authors acknowledge that the introduction of specialized modules and the workspace can increase training complexity and model size. This is presented as a trade-off for enhanced performance and transparency.
- Scalability: Future work could focus on reducing this complexity and exploring the scalability of DGW to larger and more diverse datasets.
- General-Purpose Layer: Extending the framework into a general-purpose drop-in layer for robust performance across a wider range of image recognition tasks is suggested.
Summary updated