NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Nonnegative Matrix Factorization Requires Irrationality

Dmitry Chistikov, Stefan Kiefer, Ines Marusic, Mahsa Shirmohammadi, James Worrell

In the world of data science and machine learning, Nonnegative Matrix Factorization (NMF) is a workhorse. We use it to find latent patterns in everything from text documents to gene expression data. Usually, we assume that if we start with "clean" data—like a matrix of rational numbers—the underlying parts we discover should be just as clean.

However, a landmark paper titled "Nonnegative Matrix Factorization Requires Irrationality" proves that this intuition is fundamentally wrong. The authors settle a 24-year-old open question by showing that some rational matrices can only be factored using irrational numbers.

TL;DR

The authors prove that a matrix containing only rational numbers does not always have a rational Nonnegative Matrix Factorization (NMF) of minimal rank. By constructing a specific $6 \times 11$ rational matrix, they demonstrate that while a factorization of rank 5 exists over the real numbers, any factorization over the rationals requires a rank of at least 6.

What Problem Does This Paper Address?

NMF is the task of taking a nonnegative matrix $M$ and decomposing it into two smaller nonnegative matrices, $W$ and $H$, such that $M \approx WH$. The "inner dimension" (the number of columns in $W$) is the rank of the factorization.

In 1993, researchers Cohen and Rothblum posed a deceptively simple question: If $M$ consists entirely of rational numbers, does its "nonnegative rank" (the smallest possible inner dimension) stay the same whether we allow $W$ and $H$ to have irrational entries or restrict them to rational ones?

For decades, many assumed the answer was "yes." After all, in standard linear algebra, the rank of a rational matrix is the same over the rationals as it is over the reals. This paper provides the definitive "no," proving that NMF is a much stranger beast than standard matrix factorization.

Methods

The authors use a sophisticated blend of geometry and "constraint propagation" to build their proof.

  1. The Geometric Interpretation: They lean on the fact that NMF can be viewed as a "nested polytope" problem. Factoring a matrix is equivalent to finding a simple shape (a polytope $Q$) that fits between two other shapes ($R$ and $P$).
  2. Restricted NMF: They first construct a "restricted" case where the factors $W$ and $H$ are forced to span the same vector space as the original matrix $M$. In this restricted setting, they find a rational matrix $M'$ that has a unique factorization involving $\sqrt{2}$.
  3. Generalization via Extension: The core challenge was moving from the "restricted" case to the "general" case. To do this, they added specific columns to their matrix (forming a $6 \times 11$ matrix $M$) that effectively "trap" any possible 5-dimensional factorization.
  4. Constraint Propagation: They used a rigorous bounding technique to show that any 5-dimensional factorization of their specific matrix $M$ must be the irrational one they discovered. If you try to use only rational numbers, you simply cannot fit the "shape" of the factorization into 5 dimensions.

Datasets

As a theoretical mathematics and computer science paper, there are no external datasets like ImageNet or GLUE. Instead, the "dataset" is the Theorem 2 Matrix: a specific, hand-constructed $6 \times 11$ matrix $M$ with rational entries.

The authors provide the exact values for this matrix (e.g., entries like $5/44$ and $85/121$) and provide a Maple worksheet to allow other researchers to verify the calculations.

Key Insights and Ideas

  • The "Irrationality Trap": The authors didn't just find a matrix that could use irrational numbers; they found one that must. By setting up geometric constraints that mirror quadratic equations, they forced the solution to land on $\sqrt{2}$.
  • Geometry over Algebra: The paper highlights that NMF is more about the geometry of convex cones than the algebraic properties of fields. This is why the "rational vs. real" distinction matters here when it doesn't for standard rank.
  • Complexity Implications: This result has huge implications for computational complexity. If NMF requires irrationality, it means we can't always provide a "simple" rational certificate to prove that a matrix has a certain nonnegative rank. This complicates the quest to place NMF precisely within complexity classes like NP.

Key Results

  • The Counterexample: The authors successfully exhibited a rational matrix $M$ where:
  • Nonnegative rank over $\mathbb{R}$ = 5
    • Nonnegative rank over $\mathbb{Q}$ = 6
  • Resolution of the Cohen-Rothblum Problem: This settles the 1993 problem negatively.
  • Universality: The proof shows that this gap between real and rational rank can exist for any matrix of rank 4 or greater. (Previous work had already shown the ranks coincide for rank 2 and 3).

Limitations and Future Work

While the paper settles the existence of the gap, it leaves a few doors open:

  • The Rank 3 Boundary: The authors note that for matrices with a nonnegative rank of 3, the real and rational ranks are known to coincide. Their example starts at rank 4/5. Is their example "optimal," or could a smaller, simpler matrix show the same behavior?
  • Computational Decidability: While we know NMF over the reals is decidable (via the existential theory of the reals), the decidability of NMF over the rationals remains a "long-standing and very prominent open question." This paper suggests the rational version might be significantly harder to solve.
  • Approximate NMF: In practice, we rarely need an exact factorization. Does this "irrationality requirement" still hold if we only need $M \approx WH$ within a tiny error margin? The authors touch on this via "upper semi-continuity," but the practical implications for ML algorithms remain to be explored.

Summary updated

BibTeX
@article{chistikov2017nonnegative,
  author = {Dmitry Chistikov and Stefan Kiefer and Ines Marusic and Mahsa Shirmohammadi and James Worrell},
  title = {{Nonnegative Matrix Factorization Requires Irrationality}},
  journal = {SIAM J. Appl. Algebra Geom.},
  year = {2017},
  doi = {10.1137/16m1078835},
}
Figure