Quantum Divide-and-Conquer Anchoring for Separable Non-negative Matrix Factorization

Yuxuan Du, Tongliang Liu, Yinan Li, Runyao Duan, Dacheng Tao

Abstract

It is NP-complete to find non-negative factors $W$ and $H$ with fixed rank $r$ from a non-negative matrix $X$ by minimizing $\|X-WH^\top\|_F^2$. Although the separability assumption (all data points are in the conical hull of the extreme rows) enables polynomial-time algorithms, the computational cost is not affordable for big data. This paper investigates how the power of quantum computation can be capitalized to solve the non-negative matrix factorization with the separability assumption (SNMF) by devising a quantum algorithm based on the divide-and-conquer anchoring (DCA) scheme. The design of quantum DCA (QDCA) is challenging. In the divide step, the random projections in DCA is completed by a quantum algorithm for linear operations, which achieves the exponential speedup. We then devise a heuristic post-selection procedure which extracts the information of anchors stored in the quantum states efficiently. Under a plausible assumption, QDCA performs efficiently, achieves the quantum speedup, and is beneficial for high dimensional problems.

Introduction

Non-negative Matrix Factorization (NMF) is a cornerstone of machine learning, used to find "parts-based" representations of data, such as identifying individual topics in a collection of documents. However, standard NMF is NP-complete—computationally "hard." To make it practical, researchers often use the separability assumption (SNMF), which posits that all data points exist within a "cone" formed by a few "anchor" rows.

Geometric interpretation of the separability assumption and the projection-based anchor identification.

While SNMF is solvable in polynomial time classically, even "polynomial" is too slow when dealing with modern "Big Data" involving millions of dimensions. The challenge is twofold: how to use quantum mechanics to speed up the heavy linear algebra involved, and how to actually "read out" the results from a quantum state without losing the speedup to the "measurement bottleneck."

Methodology

The authors introduce Quantum Divide-and-Conquer Anchoring (QDCA), a hybrid algorithm that achieves an exponential speedup for SNMF. The algorithm adapts the classical Divide-and-Conquer Anchoring (DCA) scheme into a quantum framework.

Overview of the QDCA algorithm workflow, highlighting the hybrid quantum-classical architecture.

The QDCA framework consists of three main steps:

  1. Quantum Divide Step: The algorithm encodes the input matrix and random projection vectors into quantum states. It uses Quantum Principal Component Analysis (QPCA) and Phase Estimation to perform random projections ($X\beta$). Classically, this is the most time-consuming part; quantumly, it happens exponentially faster.
  2. Heuristic Post-Selection: This is the paper's most clever contribution. Normally, reading a vector from a quantum state (tomography) is slow. Instead, the authors treat the quantum state as a probability distribution. They prove that by taking a relatively small number of samples—$O(\text{poly } \log(n + m))$—they can identify the "anchor" index (the one with the highest probability) with high confidence.
  3. Classical Conquer Step: The indices gathered from the quantum steps are sent back to a classical computer. A simple sorting algorithm then identifies the most frequently occurring anchors to finalize the factorization.

Theoretical Analysis and Results

The "aha moment" of this research is realizing that one does not need to know the entire resulting vector of a projection. One only needs to know which index is the "largest." By sampling the quantum state, the anchor index naturally emerges as the most frequent outcome, allowing the algorithm to stay in the logarithmic time domain.

The total runtime complexity is reduced to $O(\text{poly } \log(n + m))$. For a matrix with a billion entries, a classical algorithm might take time proportional to a billion, while this quantum approach would take time proportional to the logarithm of a billion. The authors provide Theorem 1, which uses the Breteganolle-Huber-Carol inequality to prove that the number of quantum measurements needed to find an anchor does not grow explosively with the size of the data. This efficiency relies on a "plausible assumption" that there is a detectable gap between the probability of the best anchor and the second-best.

Conclusion and Future Work

QDCA provides a blueprint for "seamless integration" between quantum and classical systems. It uses the quantum machine for what it does best (high-dimensional linear algebra) and the classical machine for what it does best (sorting and bookkeeping).

While the "plausible assumption" regarding the probability gap works in practice and for separable data, the authors acknowledge they haven't provided a rigorous proof for the absolute "worst-case" scenario where two points are nearly identical. Furthermore, like many quantum machine learning algorithms, this requires Quantum RAM (QRAM) or an efficient "oracle" to load classical data into quantum states. Future directions include applying this "heuristic post-selection" logic to other quantum machine learning tasks to see if the measurement bottleneck can be bypassed in fields like support vector machines or clustering.

Summary updated

BibTeX
@inproceedings{du2018quantum,
  author = {Yuxuan Du and Tongliang Liu and Yinan Li and Runyao Duan and Dacheng Tao},
  title = {{Quantum Divide-and-Conquer Anchoring for Separable Non-negative Matrix Factorization}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/289},
}
Figure