Generalizing Orthogonalization for Models with Non-Linearities
David Rügamer, Chris Kolb, Tobias Weber, Lucas Kook, Thomas Nagler
TL;DR
This work generalizes orthogonalization to non-linear models, enabling removal of linear information from protected features in GLMs, neural networks, and tensor-valued predictions. By introducing a correction mechanism that cleanly orthogonalizes pre-activation signals (and, where appropriate, post-activation outputs) against protected attributes, the authors demonstrate zeroing of the linear influence $\hat{\bm{\beta}}^c = \bm{0}$ across diverse settings. Key contributions include a GLM-specific correction with a constrained optimization solved via MDMM, a ReLU-compatible theory ensuring $\hat{\bm{\beta}}^c = \bm{0}$, and tensor- and online-orthogonalization variants validated on tabular data, embeddings, and image/text representations. The findings suggest practical pathways to debias and safeguard information in complex models with manageable trade-offs in predictive performance.
Abstract
The complexity of black-box algorithms can lead to various challenges, including the introduction of biases. These biases present immediate risks in the algorithms' application. It was, for instance, shown that neural networks can deduce racial information solely from a patient's X-ray scan, a task beyond the capability of medical experts. If this fact is not known to the medical expert, automatic decision-making based on this algorithm could lead to prescribing a treatment (purely) based on racial information. While current methodologies allow for the "orthogonalization" or "normalization" of neural networks with respect to such information, existing approaches are grounded in linear models. Our paper advances the discourse by introducing corrections for non-linearities such as ReLU activations. Our approach also encompasses scalar and tensor-valued predictions, facilitating its integration into neural network architectures. Through extensive experiments, we validate our method's effectiveness in safeguarding sensitive data in generalized linear models, normalizing convolutional neural networks for metadata, and rectifying pre-existing embeddings for undesired attributes.
