Papers
Topics
Authors
Recent
Search
2000 character limit reached

Causal Manifold Fairness (CMF)

Updated 13 January 2026
  • Causal Manifold Fairness (CMF) is a framework that defines fairness as invariant manifold geometry in latent space using causal interventions.
  • It employs autoencoder models with metric tensor and curvature constraints to align representations across sensitive attribute interventions.
  • The approach optimizes task performance while penalizing geometric discrepancies, clearly quantifying the fairness-utility trade-off.

Causal Manifold Fairness (CMF) is a framework for representation learning in which fairness is defined and enforced at the level of manifold geometry in latent space, taking explicit account of the causal effects of sensitive attributes on the data-generating process. Rather than treating group membership as a simple shift or perturbation of data distributions, CMF posits and operationalizes the causal warping of the data manifold itself. By constraining the local Riemannian geometry—quantified via metric tensors and curvature—of autoencoder representations to remain invariant across counterfactual interventions on sensitive attributes, CMF enables geometric invariance that translates into downstream counterfactual fairness, while also explicitly quantifying the fairness-utility trade-off via geometric metrics (Rathore, 6 Jan 2026).

1. Latent Manifolds and Riemannian Geometry in Representation Learning

CMF is fundamentally built upon autoencoder-style models, with encoder fθf_\theta mapping input data xx to a latent variable zz and decoder (generator) gθg_\theta reconstructing the input from zz. Given the decoder gg, which is assumed to be a smooth map from latent space ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z} to data space XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}, its image forms a differentiable manifold MRdx\mathcal{M} \subset \mathbb{R}^{d_x}.

The geometry of this manifold is determined by how gg transforms local neighborhoods in xx0: the metric tensor xx1 at xx2 is defined as the pullback of the Euclidean metric from xx3:

xx4

where xx5 is the decoder Jacobian. The squared length in the data space for an infinitesimal tangent vector xx6 in latent space is then approximated by xx7.

Curvature information, encoding second-order geometric structure, is given by the output-wise Hessians xx8 for xx9. This decomposition provides a means to capture "bending" and "twisting" of the manifold under variations in zz0, and is essential for the geometric invariances targeted by CMF.

2. Causal Modeling and Counterfactual Structure

CMF introduces a structural causal model (SCM) with the tuple zz1, where zz2 denotes latent intrinsic variables, zz3 is the sensitive attribute (e.g., gender), zz4 denotes observed features, and zz5 denotes the target. The essential postulate is that the sensitive attribute zz6 causally "warps" the generative process zz7, thereby affecting the geometry of the observed manifold.

Counterfactual interventions, zz8, correspond to replacing zz9's value in the generative process and obtaining a counterfactual sample gθg_\theta0. Passing gθg_\theta1 through the encoder yields counterfactual latent variables gθg_\theta2. The local geometry at gθg_\theta3, as captured by metric gθg_\theta4 and Hessians gθg_\theta5, is required to match the geometry at gθg_\theta6 under the original attribute value, for all gθg_\theta7:

gθg_\theta8

for gθg_\theta9. This enforces invariance of geometric structure to counterfactual manipulations of zz0.

3. Objective Functions and Geometric Regularization

CMF integrates geometric fairness directly into the training objective by imposing penalties on both metric and curvature discrepancies induced by zz1. The total objective is:

zz2

where:

  • zz3 comprises utility-driven losses: reconstruction loss zz4 and prediction loss zz5 (cross-entropy or regression on zz6 from zz7).
  • zz8 is the Jacobian (metric) penalty:

zz9

aligning first-order geometry.

  • gg0 is the Hessian (curvature) penalty:

gg1

enforcing invariance of second-order structure.

Hyperparameters gg2 determine the trade-off: increasing these reduces geometric bias (fairness violation) at the potential cost of utility (higher reconstruction/prediction loss). The fairness-utility trade-off is quantifiable via geometric errors and task metrics (Rathore, 6 Jan 2026).

4. Theoretical Guarantees and Interpretations

The central theoretical proposition of CMF is a geometric isometry guarantee under perfect alignment: if, for all gg3 and gg4,

gg5

then the decoder gg6 is locally an isometry between the manifolds parameterized by the intervention on gg7. Consequently, data points that differ only in gg8 are mapped to regions of latent space exhibiting identical local metric and curvature, enabling any predictor on gg9 to inherit counterfactual fairness.

A Taylor-expansion argument further bounds the disparity in predicted outcomes under ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}0 versus ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}1 by the residual task loss and higher-order terms in ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}2's derivatives, conditional on the fairness penalties being minimized. In practice, the framework yields a continuous fairness-utility trade-off curve as geometric regularization is increased.

5. Empirical Evaluation and Results

The CMF approach is validated on a synthetic SCM comprising a “warped Swiss roll,” where ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}3, ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}4, ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}5, and ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}6. This construction yields a data manifold whose tightness or twist varies with ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}7, exemplifying geometric warping due to the sensitive attribute.

Autoencoder architectures comprise 3-layer MLP encoders and decoders with ELU activations, implemented with smoothness sufficient for metric and curvature computations. Jacobians and Hessians are obtained via PyTorch autograd. The following metrics are used:

  • Utility: classification accuracy on ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}8, reconstruction MSE,
  • Fairness: ZRdz\mathcal{Z} \subseteq \mathbb{R}^{d_z}9, XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}0.

Representative results for XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}1 are:

Model Acc (↑) MSE (↓) MetricErr (↓) CurvErr (↓)
Baseline AE 1.000 0.070 16.39 4.32
CMF (ours) 0.995 0.754 0.018 0.046

The baseline achieves perfect reconstruction but at the expense of high geometric error, effectively learning separate manifolds for each group. CMF, by contrast, produces nearly perfect task performance while dramatically reducing metric and curvature error, signifying near-perfect geometric invariance. As the regularization coefficients increase, geometric errors tend toward zero while MSE increases, quantifying the fairness-utility trade-off. Ablation experiments confirm that setting XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}2 enforces only first-order fairness (small MetricErr but large CurvErr), while increasing XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}3 reduces both errors at the cost of greater reconstruction error.

6. Illustrative Example and Algorithmic Workflow

A canonical toy example involves a scalar latent XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}4 and a scalar output XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}5, with group-specific decoders: XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}6 for XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}7, XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}8 for XRdx\mathcal{X} \subseteq \mathbb{R}^{d_x}9. Jacobians and Hessians differ between groups (e.g., MRdx\mathcal{M} \subset \mathbb{R}^{d_x}0, MRdx\mathcal{M} \subset \mathbb{R}^{d_x}1; MRdx\mathcal{M} \subset \mathbb{R}^{d_x}2, MRdx\mathcal{M} \subset \mathbb{R}^{d_x}3), yielding nonzero metric and curvature errors. CMF optimizes for a common decoder MRdx\mathcal{M} \subset \mathbb{R}^{d_x}4 with MRdx\mathcal{M} \subset \mathbb{R}^{d_x}5 chosen to jointly minimize geometric penalties, balancing the two worlds according to the regularization parameters. In higher dimensions, this optimization is performed via gradient descent.

A representative training loop is as follows:

MRdx\mathcal{M} \subset \mathbb{R}^{d_x}6

This workflow realizes the end-to-end enforcement of geometric invariance under causal interventions, establishing the local isometry required for counterfactual fairness in learned representations (Rathore, 6 Jan 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Causal Manifold Fairness (CMF).