Interpretable dimension reduction for compositional data

Junyoung Park, Cheolwoo Park, Jeongyoun AhnarXiv 2025 · DOI

Abstract

High-dimensional compositional data, such as those from human microbiome studies, pose unique statistical challenges due to the simplex constraint and excess zeros. While dimension reduction is indispensable for analyzing such data, conventional approaches often rely on log-ratio transformations that compromise interpretability and distort the data through ad hoc zero replacements. We introduce a novel framework for interpretable dimension reduction of compositional data that avoids extra transformations and zero imputations. Our approach generalizes the concept of amalgamation by softening its operation, mapping high-dimensional compositions directly to a lower-dimensional simplex, which can be visualized in ternary plots. The framework further provides joint visualization of the reduction matrix, enabling intuitive, at-a-glance interpretation. To achieve optimal reduction within our framework, we incorporate sufficient dimension reduction, which defines a new identifiable objective: the central compositional subspace. For estimation, we propose a compositional kernel dimension reduction (CKDR) method. The estimator is provably consistent, exhibits sparsity that reveals underlying amalgamation structures, and comes with an intrinsic predictive model for downstream analyses. Applications to real microbiome datasets demonstrate that our approach provides a powerful graphical exploration tool for uncovering meaningful biological patterns, opening a new pathway for analyzing high-dimensional compositional data.

The Challenge of Compositional Data

Compositional data consists of parts of a whole—such as relative abundances of bacteria—that must sum to 100%. This dependency creates a "simplex constraint" where standard statistical tools often fail because variables are not independent. Furthermore, microbiome data is notoriously sparse; many species are absent in most samples. Traditional methods handle these issues using log-ratio transformations, but these require "imputing" zeros with arbitrary small numbers, which can distort biological signals. Moreover, reducing thousands of species into abstract principal components often obscures which specific bacteria are driving observed patterns.

Methodology: Soft Amalgamation and CKDR

To address these limitations, we introduce Compositional Dimension Reduction (CDR) and an estimation method called Compositional Kernel Dimension Reduction (CKDR).

Instead of log-ratio transformations, we utilize the concept of "amalgamation"—grouping variables together. We generalize this into "soft amalgamation," allowing a single variable to contribute partially to multiple groups via a column-stochastic matrix. This process maps high-dimensional data directly onto a lower-dimensional simplex (e.g., a triangle for 3D compositions) without requiring zero-replacement.

Soft Amalgamation: The framework maps high-dimensional input (x) to a lower-dimensional output (z) by allowing variables to contribute to multiple groups, generalizing traditional hard amalgamation.

By adapting the Sufficient Dimension Reduction (SDR) framework, we identify the "Central Compositional Subspace"—the smallest combination of original variables that retains all predictive information for a given response (e.g., health status). CKDR uses kernel functions to find this subspace efficiently and consistently.

Interpretation through Dual Visualization

A primary advantage of this framework is its "dual visualization" capability. Because the reduction matrix itself is compositional, we can plot both the samples and the original variables on the same ternary plot. This allows researchers to see at a glance which specific taxa are pulling samples toward different regions of the simplex.

Dual Visualization: Ternary plots showing HMP samples by body site (left) and the corresponding variable allocation (right), identifying which taxa drive the separation.

Key Insights and Results

  • Sparsity by Design: The geometry of the simplex naturally encourages sparsity. The algorithm often sets weights of irrelevant variables to exactly zero without needing additional penalty terms like Lasso.
  • Biological Discovery: In real-world applications, such as Crohn’s disease studies, the Variable Allocation Plot clearly separates bacteria. It has successfully identified Haemophilus and Fusobacterium as disease-associated, while short-chain fatty acid producers like Roseburia cluster in healthy zones—aligning with established medical literature.
  • Intrinsic Prediction: Unlike many visualization-only tools, CKDR includes a built-in predictive model (kernel ridge regression), allowing it to predict outcomes for new samples directly from the reduced representation.

Conclusion

CKDR provides a mathematically rigorous yet biologically intuitive way to navigate high-dimensional microbiome data. While currently a supervised method that faces some non-convex optimization challenges, it represents a significant step forward in making complex compositional datasets accessible and interpretable for clinical and biological research.

Summary updated

BibTeX
@misc{park2025interpretable,
  author = {Junyoung Park and Cheolwoo Park and Jeongyoun Ahn},
  title = {{Interpretable dimension reduction for compositional data}},
  year = {2025},
  eprint = {2509.05563},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.05563},
  howpublished = {arXiv},
}
Figure