Non-negative Matrix Factorisation with Topological Regularisation

van Lier, Matias de Jong, Kaji, Shizuo, Kim, Keunsu

–arXiv.org Artificial Intelligence 

Non-negative matrix factorisation (NMF) learns additive representations from data, but non-negativity alone does not ensure interpretable basis functions. We introduce Top-NMF, which guides basis learning through general topological preferences without prescribing the detailed form of the components. Observations and basis vectors are treated as non-negative functions on structured domains. Discrete topological conditions are difficult to optimise directly. Our guiding viewpoint is that persistent homology provides a stable, continuous relaxation of ordinary homological invariants: it tracks connected components and loops across thresholds, allowing structural preferences to be expressed through continuous scores suitable for optimisation. We construct such scores for connected image parts, clique-like graph structure, and periodic time-series components, and incorporate them into a common NMF objective. For graph data, we derive an exact maximum-weight-spanning-tree formula and characterise all local minimisers of the score, showing that their positive-weight edges form disjoint cliques. We establish the regularity of the scores, describe their derivatives, and analyse projected first-order optimisation. Numerical studies on synthetic and real data demonstrate how these priors guide basis learning and examine the balance between structural agreement, atom recovery, and reconstruction accuracy. Keywords: non-negative matrix factorisation, persistent homology, topological regularisation, interpretable basis learning, cluster graph 1. Introduction Linear representations provide a common framework for dimensionality reduction and feature extraction. Classical Fourier and wavelet representations use prescribed basis functions, with coefficients that describe frequency content or localised variations at different scales [1]. In contrast, principal component analysis (PCA) [2], nonnegative matrix factorisation (NMF) [3], and dictionary learning [4] learn their components from data. This flexibility allows the representation to adapt to the observed patterns, but the learned components need not have an immediately recognisable meaning. Improving their interpretability is therefore an important consideration alongside reconstruction accuracy. Regularisation can guide this learning process by expressing general structural preferences without prescribing individual basis functions. Sparsity, for example, favours a small number of active entries while leaving their locations to be learned [5]. We consider topological simplicity as another such preference. An image component may be expected to form a connected region, even when its shape and location are unknown. Such a requirement concerns how active entries are arranged, which sparsity alone does not capture.