Post-Hoc Concept Disentanglement: From Correlated to Isolated Concept Representations
Eren Erogullari, Sebastian Lapuschkin, Wojciech Samek, Frederik Pahde
TL;DR
This work tackles entanglement among multiple Concept Activation Vectors (CAVs) by introducing a post-hoc orthogonalization framework that adds a non-orthogonality penalty to the standard CAV objective. The proposed $\mathcal{L}_{\text{orth}}$, optionally weighted as $\mathcal{L}_{\text{orth}}^{\beta}$, promotes orthogonality among concept directions while preserving directional correctness, enabling isolated concept manipulation in activation steering. Across CelebA and the synthetic FunnyBirds dataset with VGG16 and ResNet18, the method yields near-perfect disentanglement (high $\bar O$) with minimal AUROC loss, and qualitative heatmaps confirm improved concept isolation. Applications include precise concept insertion and targeted removal in diffusion-based generative models, reducing collateral damage compared to baseline CAVs, with implications for interpretable and robust concept-based explanations.
Abstract
Concept Activation Vectors (CAVs) are widely used to model human-understandable concepts as directions within the latent space of neural networks. They are trained by identifying directions from the activations of concept samples to those of non-concept samples. However, this method often produces similar, non-orthogonal directions for correlated concepts, such as "beard" and "necktie" within the CelebA dataset, which frequently co-occur in images of men. This entanglement complicates the interpretation of concepts in isolation and can lead to undesired effects in CAV applications, such as activation steering. To address this issue, we introduce a post-hoc concept disentanglement method that employs a non-orthogonality loss, facilitating the identification of orthogonal concept directions while preserving directional correctness. We evaluate our approach with real-world and controlled correlated concepts in CelebA and a synthetic FunnyBirds dataset with VGG16 and ResNet18 architectures. We further demonstrate the superiority of orthogonalized concept representations in activation steering tasks, allowing (1) the insertion of isolated concepts into input images through generative models and (2) the removal of concepts for effective shortcut suppression with reduced impact on correlated concepts in comparison to baseline CAVs.
