Doubly Non-Central Beta Matrix Factorization for Stable Dimensionality Reduction of Bounded Support Matrix Data

Anjali Nagulpally, Patrick Flaherty, Aaron ScheinarXiv 2024 · DOI · arXiv

Abstract

Dimensionality reduction of data with bounded support, such as DNA methylation levels or grayscale images, presents unique challenges for standard matrix factorization techniques. We present Doubly Non-Central Beta (DNCB) Matrix Factorization and Tucker Decomposition, a probabilistic framework designed for stable and interpretable latent factor discovery. By utilizing the flexible DNCB distribution and decoupling sample and feature ranks through Tucker decomposition, our models achieve high predictive accuracy and superior stability compared to state-of-the-art methods. We demonstrate the effectiveness of these models on genomic and computer vision datasets, highlighting their ability to identify robust biological biomarkers and salient image features.

Introduction

In fields like computational biology and computer vision, researchers frequently encounter "bounded support" data—values strictly limited to a range, typically $[0, 1]$. A prime example is DNA methylation data, which measures the fraction of methylated sites at specific genetic loci. Standard dimensionality reduction techniques often struggle with such constraints. Principal Component Analysis (PCA) assumes Gaussian noise, which does not respect boundaries. Non-negative Matrix Factorization (NMF) handles zeros well but fails to account for the upper bound of 1. While the Beta distribution is a natural choice for $[0, 1]$ data, it can be numerically unstable at the boundaries and often fails to capture the multi-modal nature of real-world biological data. Furthermore, most matrix factorization methods force the number of sample clusters to equal the number of feature clusters, a constraint that rarely reflects biological reality.

Methods

The proposed framework introduces two models: DNCB-MF (Matrix Factorization) and DNCB-TD (Tucker Decomposition).

The DNCB Distribution

Unlike the standard Beta distribution, the Doubly Non-Central Beta distribution includes two "non-centrality" parameters. This makes it exceptionally flexible, allowing it to model highly dispersed, multi-modal data while remaining well-behaved (finite density) at the 0 and 1 boundaries. This prevents the numerical "blow-ups" often seen with standard Beta-likelihood models when data points sit exactly on the edge of the support.

Probability density functions of the Doubly Non-Central Beta distribution for various parameters.

Model Architecture and Inference

The authors move beyond standard CP decomposition (where factor matrices must have the same rank) by employing a Tucker decomposition architecture in DNCB-TD. This uses a "core matrix" to decouple the number of sample clusters ($C$) from the number of feature pathways ($K$). This allows a model to represent, for example, four cancer types using sixteen different genetic pathways, leading to much more interpretable mappings.

Probabilistic graphical models for DNCB-MF (left) and DNCB-TD (right).

To solve these models, a fast Markov-chain Monte Carlo (MCMC) sampling algorithm was developed using an "augment-and-marginalize" trick. This represents the complex DNCB distribution as a mixture of Poisson and Gamma distributions. A technical highlight is the implementation of a specialized sampler for the Bessel distribution, which arises during inference, released as an open-source Cython library.

Results

The models were evaluated on TCGA microarray methylation data (400 cancer samples), bisulfite sequencing methylation data (188 samples), and the Olivetti Faces dataset (60 grayscale images).

  • Superior Stability: Stability is critical for scientific hypothesis generation. DNCB-TD proved remarkably stable compared to existing methods like BG-NMF. As the number of clusters ($K$) increased, DNCB-TD maintained consistent cluster and pathway assignments, whereas competing methods saw sharp drops in stability.
  • Predictive Accuracy: DNCB-TD and DNCB-MF performed comparably to state-of-the-art methods in terms of held-out data prediction (Pointwise Predictive Density), proving that added flexibility does not compromise accuracy.
  • Biological and Visual Validation: In TCGA data, the model successfully identified known biomarkers, such as linking specific pathways (containing genes KCNQ5 and ZNF625) to colon cancer clusters. On the Olivetti Faces, the latent factors acted as "eigenfaces," identifying features like glasses, facial hair, and lighting glares.

Conclusion

The DNCB framework offers a robust solution for dimensionality reduction of bounded support data, providing both stability and interpretability. By decoupling sample and feature ranks and leveraging the flexible DNCB distribution, it overcomes significant limitations of traditional matrix factorization. Future work includes extending the framework to higher-order tensors and exploring variational inference techniques to scale for larger clinical genomics applications.

Summary updated

Abstract

We consider the problem of developing interpretable and computationally efficient matrix decomposition methods for matrices whose entries have bounded support. Such matrices are found in large-scale DNA methylation studies and many other settings. Our approach decomposes the data matrix into a Tucker representation wherein the number of columns in the constituent factor matrices is not constrained. We derive a computationally efficient sampling algorithm to solve for the Tucker decomposition. We evaluate the performance of our method using three criteria: predictability, computability, and stability. Empirical results show that our method has similar performance as other state-of-the-art approaches in terms of held-out prediction and computational complexity, but has significantly better performance in terms of stability to changes in hyper-parameters. The improved stability results in higher confidence in the results in applications where the constituent factors are used to generate and test scientific hypotheses such as DNA methylation analysis of cancer samples.
BibTeX
@misc{nagulpally2024doubly,
  author = {Anjali Nagulpally and Patrick Flaherty and Aaron Schein},
  title = {{Doubly Non-Central Beta Matrix Factorization for Stable Dimensionality Reduction of Bounded Support Matrix Data}},
  year = {2024},
  eprint = {2410.18425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.18425},
}
Figure