Abstract
Concept erasure aims to remove sensitive information from neural representations while preserving their utility for downstream tasks. While linear projection methods are widely used, they often fail to remove non-linear traces of the target concept. This paper explores a kernelized approach to concept erasure by operating in a Reproducing Kernel Hilbert Space (RKHS). We demonstrate that while specific non-linear adversaries can be neutralized, the erased information often persists in other feature spaces, making exhaustive erasure a significant challenge.
Introduction
Deep learning models represent data as high-dimensional vectors that often encode human-interpretable concepts, including problematic biases like gender. Concept erasure seeks to modify these representations so that a specific concept is no longer predictable. Previous work has largely focused on linear erasure, but neural networks' non-linear nature allows adversaries to recover "erased" information with high accuracy. This study investigates whether kernel methods can effectively identify and remove these non-linear concept encodings.
Methodology
The proposed approach utilizes a minimax framework where an adversary attempts to predict the concept while an erasure function tries to prevent it.
- Kernelization: By moving the problem into an RKHS using kernels such as RBF, Polynomial, or Laplace, non-linear relationships are treated as linear projections in a higher-dimensional space.
- Nyström Approximation: To handle the computational complexity of kernel methods on large datasets, the authors employ the Nyström method to provide a low-rank approximation of the kernel matrix.
- Pre-image Mapping: A Multi-Layer Perceptron (MLP) is trained to map the neutralized kernel features back to the original representation space, ensuring the resulting vectors remain usable.
Key Results
Success Against Specific Adversaries
The method is highly effective when the neutralizing kernel matches the adversarial kernel. In these cases, gender prediction accuracy can drop from near-certainty to near-random levels (~50%). This suggests that kernel-based projection can successfully hide information from probes operating within the same functional space.
Failure to Transfer and MLP Vulnerability
A critical finding is that erasure does not generalize across different types of non-linear probes. As shown in the transfer matrix, representations scrubbed using one kernel often remain vulnerable to others. Most notably, an MLP adversary can consistently recover gender labels with approximately 97% accuracy regardless of the kernel used for erasure, highlighting the "cat-and-mouse" nature of the problem.
Bias Association and Utility
Despite the lack of exhaustive erasure, the method successfully reduces gendered word associations. The Word Embedding Association Test (WEAT) results show a significant decrease in effect size ($d$) across all kernel types compared to the original embeddings, bringing the bias down to more neutral levels.
Furthermore, the impact on downstream utility is minimal. In the Bias-in-Bios task, profession prediction accuracy only decreased slightly (from 76.9% to 74.2%), indicating that non-target information is largely preserved during the erasure process.
Conclusion
The challenge of concept erasure highlights that information is not localized in a single feature space but is spread across the representation's geometry. While kernel methods offer a tool to neutralize specific non-linear traces, creating a representation that is robust against all possible non-linear adversaries remains an open problem. Future research should focus on multi-kernel or more adversarially robust erasure techniques that can withstand diverse probes simultaneously.
Summary updated