Mapping the Probability Simplex to Euclidean Space

This direction is merged into another direction: compositional data constraints, isometric log-ratio transformation. Its last version stays readable and citable here.

Version 1 of 157 papers64 conceptsfrozen 2026-10-04

In fields ranging from genomics to generative AI, researchers often work with data that represents parts of a whole—proportions, percentages, or probability distributions. This data lives on a mathematical simplex, a constrained space where all components must be non-negative and sum to a constant (like 1 or 100%).

Standard statistical tools, from Pearson correlation to Gaussian Mixture Models, are designed for unconstrained Euclidean space. When applied directly to "relative" data, these tools fail, producing "spurious correlations" and mathematically invalid results. The solution, pioneered through Compositional Data Analysis (CoDA), is to map the simplex into Euclidean space using log-ratio transformations.

The Problem of Spurious Correlation

The fundamental flaw in analyzing relative data with standard tools is the "constant sum" constraint. If you have a three-part mixture and one part increases, the other two must decrease to maintain the total. This creates artificial dependencies that have nothing to do with the underlying biology or physics.

Vera Pawlowsky‐Glahn and Juan José Egozcue argue in Proportionality: A Valid Alternative to Correlation for Relative Data that the standard correlation coefficient is mathematically inappropriate for RNA-seq or microbial abundances. Because these measurements are relative, a change in a single dominant feature can make every other feature appear to change in the opposite direction, leading to false discoveries.

The Log-Ratio Bridge

To fix this, researchers use a family of transformations that shift the focus from absolute values to the ratios between components. Ratios are naturally "scale-invariant"—if you double every ingredient in a recipe, the ratios stay the same.

  1. Centered Log-Ratio (CLR): Each component is divided by the geometric mean of all components before taking the log. This is widely used in microbiome research by authors like Thomas P. Quinn to identify proportionally abundant features.
  2. Isometric Log-Ratio (ILR): This transformation maps the $D$-dimensional simplex to a $(D-1)$-dimensional Euclidean space. Unlike CLR, it removes the redundancy of the sum-to-one constraint entirely, providing a truly unconstrained coordinate system.

By moving data into this "Aitchison geometry," researchers can apply standard high-dimensional machinery. For example, Danning Li and Lingzhou Xue use CLR to enable two-sample mean tests for high-dimensional microbial communities, while Shawn Andrews uses ILR to perform convex image segmentation without needing complex projection steps to keep probabilities valid.

Enabling Continuous Models on Discrete Data

The power of this mapping is perhaps most visible in modern machine learning. Generative models like GANs and Flow Matching typically operate in continuous Euclidean space, making them difficult to use for categorical data (which is discrete and constrained).

In Simplex-to-Euclidean Bijections for Categorical Flow Matching, Bernardo Williams and Arto Klami demonstrate that by using smooth bijections rooted in Aitchison geometry, one can train continuous generative models on categorical distributions. The model "thinks" in unconstrained space, but the transformation ensures the output always lands perfectly back on the probability simplex.

Similarly, Stéphane Lhaut and Johan Segers developed WA-GAN, which uses Aitchison coordinates to help neural networks model "black swan" events in multivariate extremes. By removing the geometric hurdles of the simplex, the network can more easily learn the complex dependence structures of rare events.

Applications Across Scales

The intuition that "ratios matter more than counts" has proven robust across wildly different domains:

  • Astrophysics: Philipp Baumeister uses log-ratios to characterize exoplanet interior structures, ensuring that predicted mass fractions of core, mantle, and water always sum to 100%.
  • Speech Processing: Xin Wang applies CoDA to speaker verification, treating classifier posterior probabilities as compositional vectors to improve the fusion of different models.
  • Public Health: Researchers like Rongxuan Li use these transformations to study 24-hour movement behaviors. Because a day has exactly 24 hours, increasing exercise must decrease sleep or sedentary time; CoDA allows for "isotemporal substitution" analysis to see which swaps actually improve fitness.

By treating proportions as a unique geometry rather than just "normalized numbers," these researchers have turned a mathematical constraint into a source of statistical strength.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_mapping_the_probability_simplex_to_eucli_04166100,
  title = {Mapping the Probability Simplex to Euclidean Space},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/mapping-the-probability-simplex-to-euclidean-space/rdr_041661000adc4d1aa058cf83f6c01489},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_mapping_the_probability_simplex_to_eucli_04166100_v1,
  title = {Mapping the Probability Simplex to Euclidean Space},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/mapping-the-probability-simplex-to-euclidean-space/rdr_041661000adc4d1aa058cf83f6c01489/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}