Constructive Disintegration and Conditional Modes

Nathaël Da Costa, Marvin Pförtner, Jon CockaynearXiv 2025

TL;DR

In machine learning, conditioning a distribution on a submanifold (e.g., an exact constraint or observation) is often incorrectly treated as simply restricting its probability density function to that subspace. This paper provides a rigorous, constructive mathematical framework for disintegration on differentiable manifolds, proving that simple restriction violates the law of total probability and can lead to radically incorrect conditional densities and maximum a posteriori (MAP) estimates.

What Problem Does This Paper Address?

When dealing with continuous random variables, conditioning on an exact observation (like $h(x) = y$) means conditioning on an event with a probability of zero. In rigorous probability theory, this is handled via disintegration of measures.

However, a common piece of "folklore" in machine learning conflates disintegration with restriction. Practitioners frequently take a joint density, restrict it to the submanifold defined by the observation, and renormalize it. The authors point out that this shortcut ignores the underlying geometry of how the conditioning fields (or "fibers") pack together. This paper aims to bridge the gap by providing explicit mathematical tools to construct true disintegration densities on differentiable manifolds and correctly identify their modes (MAP estimates).

Methods

The authors establish a step-by-step framework using "disintegration building blocks" (proving how disintegration behaves under identity maps, product measures, pushforwards, and restrictions).

By combining these blocks with tools from Riemannian geometry, they derive an explicit formula for the density of a disintegration on a differentiable manifold (Theorem 2.14). Crucially, they show that the true conditional density requires a corrective Jacobian factor based on the derivative of the observation operator, $Dh(x)$.

To study the points of maximal probability (modes), they utilize Onsager-Machlup (OM) functionals, which generalize the notion of a negative log-density to arbitrary metric spaces by looking at the limiting probability of infinitesimally small balls.

Datasets

Not discussed in the paper. This work is purely theoretical and uses synthetic mathematical examples for illustration.

Key Insights and Ideas

  • Fibers Have "Thickness": True conditioning depends not just on the surface where $h(x) = y$, but on how $h$ behaves in an infinitesimal neighborhood around it. If the gradient $\|\nabla h(x)\|$ is small, the surrounding fibers are less dense, meaning more predictive probability mass must concentrate there to satisfy the law of total probability. Simple restriction completely misses this effect.
  • The "Conditional Mode" Misnomer: Recent machine learning literature has defined "conditional modes" by minimizing the negative log-density strictly on the constraint submanifold. The authors prove that this optimization actually computes the mode of the restricted measure, not the true disintegrated conditional measure.
  • Norm Dependence: Surprisingly, while the modes of an unconditioned prior distribution do not depend on the choice of the space's norm, the weak modes of both disintegrations and restricted measures do depend heavily on the norm (e.g., switching between $\ell_1$, $\ell_2$, or $\ell_\infty$ norms shifts the locations and numbers of local maxima).

Key Results

  • The Corrected Density Formula: For a measure $\mu$ with density $\frac{d\mu}{d\lambda}$ on $\mathbb{R}^d$ conditioned on $h(x)=y$, the true disintegration density satisfies: $$\frac{d\mu^h(\cdot \mid y)}{d\lambda_{h^{-1}(\{y\})}}(x) \propto \frac{d\mu}{d\lambda}(x) \cdot \left| \det \left(Dh(x)|_{\ker(Dh(x))^\perp}\right) \right|^{-1}$$
  • The Corrected MAP Objective: Finding the true weak mode of a conditional distribution requires solving a constrained optimization problem that includes the log-determinant of the Jacobian: $$\arg\min_{x \in \mathbb{R}^d} -\log \frac{d\mu}{d\lambda}(x) + \log \left| \det \left(Dh(x)|_{\ker(Dh(x))^\perp}\right) \right| \quad \text{s.t.} \quad h(x)=y$$
  • Catastrophic Disagreement Example: The authors demonstrate this discrepancy using a standard 2D Gaussian prior conditioned on an ellipse ($h(x) = \frac{x_1^2}{a^2} + \frac{x_2^2}{b^2} = y$). As shown in the paper's illustrations, the restricted density and the true disintegration density yield maximally distant modes—the restriction places the highest density at one pair of poles, while the true conditional distribution places it at the exact opposite poles.
Visualizing the stark contrast between prior density, restricted density, and true disintegration density on elliptical fibers.

Limitations and Future Work

The constructive results in this paper are primarily developed for finite-dimensional differentiable manifolds. However, many modern machine learning applications—such as physics-informed neural networks, non-linear inverse problems, and Gaussian processes—operate in infinite-dimensional Banach or Hilbert spaces. Extending these explicit disintegration formulas and mode characterizations to infinite dimensions remains an open and challenging problem.

Additionally, the authors note that disintegration is not always the desired operation; in specific engineering contexts (like evaluating deterministic ODE/PDE residuals where only a residual of exactly 0 is semantically meaningful), restriction might actually be the preferred paradigm over disintegration. Defining when to use which approach remains an important practical consideration.

Summary updated

BibTeX
@misc{costa2025constructive,
  author = {Nathaël Da Costa and Marvin Pförtner and Jon Cockayne},
  title = {{Constructive Disintegration and Conditional Modes}},
  year = {2025},
  eprint = {2508.00617},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.00617},
}
Figure