Extending Fair Null-Space Projections for Continuous Attributes to Kernel Methods

Felix Störck, Fabian Hinder, Barbara Hammer

Introduction

As machine learning systems become deeply integrated into everyday life, ensuring algorithmic fairness is a critical priority. Historically, fairness research has heavily focused on categorical protected attributes—such as binary gender labels or discrete racial groups—particularly within classification tasks. However, real-world sensitive attributes like age or neighborhood demographic percentages are inherently continuous. This paper addresses the scarce literature on "continuous fairness" in regression tasks by extending iterative null-space projections to non-linear kernel methods, offering a robust way to "scrub" sensitive continuous information from data while maintaining predictive accuracy.

The Challenge of Continuous Fairness

When continuous sensitive values are forced into discrete bins (e.g., categorizing age into "under 25" and "over 25"), models lose valuable granular information and risk introducing new, artificial biases. Furthermore, existing techniques for continuous fairness are largely restricted to linear models or highly specific neural network architectures.

A critical realization in this domain is that simply removing linear correlations between the data and a protected attribute is insufficient. Non-linear models can easily capture deeper, hidden biases that linear scrubbing misses. The challenge lies in applying sophisticated fairness interventions to non-linear kernel methods—such as Support Vector Regression (SVR)—without destroying the model's utility.

Methodology: Fair Kernel Decomposition (FKD)

To bridge this gap, the authors build upon Iterative Null-Space Projection (INLP). The core intuition of INLP is to identify the direction in a feature space most predictive of a sensitive attribute, and then project the data into the "null space" of that direction, rendering the sensitive information invisible to the model.

Adapting INLP for non-linear kernels introduces mathematical complexities, which the authors solve through Fair Kernel Decomposition (FKD). Key technical innovations include:

  • Empirical Feature Space: Rather than operating in the potentially infinite-dimensional space induced by a kernel, the method utilizes the eigendecomposition of the kernel matrix to create a finite, mathematically tractable representation.
  • Direct Kernel Transformation: The authors derive a mechanism to express the null-space projection as a single transformation matrix applied directly to the kernel matrix.
  • Model Agnosticism: Because FKD modifies the underlying kernel matrix itself, it acts as a preprocessing step that can be seamlessly integrated with any kernel-based algorithm, including Kernel Ridge Regression (KRR) and SVR.
  • Scalability via Nystroem Approximation: Inverting large matrices is computationally expensive ($O(n^3)$). By incorporating the Nystroem approximation, the method scales to larger datasets efficiently without suffering a significant loss in fairness or predictive accuracy.

Experimental Setup

The researchers evaluated FKD on three real-world datasets where continuous fairness is practically and ethically relevant:

  1. Communities & Crimes: Predicting community crime rates, with the continuous protected attribute being the percentage of the Black population.
  2. ACSIncome (Montana): Predicting individual income based on social characteristics, protecting continuous "age."
  3. ACSTravelTime (Montana): Predicting commute times, again protecting "age."

These datasets reflect the actual continuous nature of variables used by social scientists, avoiding arbitrary categorization.

Key Findings

  • Superior Performance and the Pareto Trade-off: Fairness interventions inherently involve a Pareto trade-off between predictive error (e.g., Mean Absolute Error) and fairness. The proposed SVR-FKD method consistently found a superior balance—achieving lower error for the same level of fairness—compared to contemporary baselines like HGR-penalized neural networks (NN-HGR) and fair kernel ridge regression (KRR-FKL).
  • Robustness to Multiple Attributes: The method successfully protected against multiple continuous attributes simultaneously (e.g., scrubbing both "white population percentage" and "black population percentage" in the Crimes dataset).
  • Approximation Efficiency: Utilizing the Nystroem approximation with only 25% to 50% of the data components yielded results qualitatively identical to the full computation, demonstrating practical scalability.
  • Metric Sensitivity: The authors evaluated fairness using multiple metrics (HGR, GDP, and Pairwise Fairness). While SVR-FKD remained highly competitive across the board, the results highlighted that the "best" method can vary depending on the specific fairness metric and task at hand.

Limitations and Future Directions

While FKD represents a significant step forward for continuous fairness, it is not without limitations. Despite the Nystroem approximation improving computational speed, the kernel matrix still requires $O(n^2)$ memory storage, posing a bottleneck for truly massive datasets. Additionally, the method's regularization parameter requires dataset-specific tuning to determine the optimal granularity of information removal.

Future work will look to expand this framework beyond regression, potentially adapting it for classification tasks or integrating it with other kernel-based frameworks like Gaussian Processes.

Summary updated

BibTeX
@inproceedings{storck2026extending,
  author = {Felix Störck and Fabian Hinder and Barbara Hammer},
  title = {{Extending Fair Null-Space Projections for Continuous Attributes to Kernel Methods}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=2Z7ZvoRN8Z},
}
Figure