Introduction
Deep neural networks often rely on "spurious correlations"—features that are predictive in the training set but irrelevant to the actual task. A classic example is a model identifying a "waterbird" based on the presence of water rather than the bird's features. Furthermore, models may inadvertently encode sensitive attributes like race or gender, leading to biased outcomes. Deep Concept Removal is a novel framework designed to "scrub" these unwanted concepts from a network's internal representations, enhancing both fairness and robustness.
The Deep Concept Removal Framework
Unlike traditional adversarial removal that targets only the final hidden layer, Deep Concept Removal operates across multiple layers using three core innovations:
- Adversarial CAV Penalty: Instead of a standard min-max game, the method penalizes the norm of the Concept Activation Vector (CAV), effectively "squashing" the direction in latent space associated with the unwanted concept.
- Implicit Differentiation: To stabilize training and avoid vanishing gradients, the authors use an implicit gradient-based technique. This allows the main network to "see" how its weights influence the concept classifier's optimization.
- Multi-Layer Targeting: The penalty is applied to multiple deep layers simultaneously, preventing the concept from becoming "baked in" early in the network.
Strategic Layer Targeting: The Contraction Rule
A key insight of this work is the "Contraction Rule." The authors found that concept removal is most effective when applied to "wide" layers—those with high dimensionality—immediately preceding a reduction in dimensionality (contraction). Once a network compresses information, unwanted concepts become inextricably entangled with useful features.
Experimental Evaluation
The researchers evaluated the framework on several benchmarks, including Striped MNIST (digits with background stripes), Waterbirds, and Celeb-A. Notably, the method does not require sensitive labels for the primary training data; a separate, smaller "concept dataset" (like EMNIST) can be used to define the feature to be removed.
On the Striped MNIST task, targeting wide intermediate layers allowed the model to maintain ~98% accuracy on clean digits, whereas targeting only the final layer led to significant performance degradation (dropping to 84%). In fairness tests, the model successfully reduced gender-predictability to chance levels while maintaining high accuracy in classifying professions.
Conclusion and Future Work
Deep Concept Removal provides a more stable and effective way to ensure models rely on the right features. While highly effective for CNNs and ResNets, future work is needed to scale the implicit gradient steps for massive architectures like Vision Transformers (ViTs) and to extend the methodology to natural language processing.
Summary updated