arXiv:2608.22681cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22681

Maximum-distance nonnegative matrix factorization for unmixing highly mixed grain-size distribution data: A generalization of AnalySize

Qianqian Qi, Zhongming Chen, Peter G. M. van der Heijden

Abstract

Nonnegative matrix factorization (NMF) decomposes a nonnegative matrix into the product of two nonnegative matrices. This property makes NMF well suited for unmixing grain-size distribution data, which are inherently nonnegative and have row sums equal to one. Previous studies have shown that AnalySize, an NMF-based method, performs well on poorly mixed grain-size distribution data but struggles when the data is highly mixed, where no observed samples are close to the true end members. To overcome this limitation, we introduce a maximum-distance NMF that encourages the estimated end members to be as distinct as possible and develop a hierarchical alternating least squares algorithm for optimization. The proposed formulation can be regarded as a generalization of AnalySize, where AnalySize minimizes the distance among end members while the proposed method maximizes it. Experimental results demonstrate that the method effectively decomposes highly mixed grain-size distribution data.

Keywords: Nonnegative matrix factorization, Highly mixed data, Maximum distance; Grain-size distribution data.

1 Introduction

Since the seminal work of Lee and Seung (1999) in Nature, nonnegative matrix factorization (NMF) has been widely applied in fields such as image processing, blind hyperspectral unmixing, and sedimentary geology (Gillis, 2020; Guo, Li, & Liang, 2024; Saberi-Movahed et al., 2025; Van Hateren, Prins, & Van Balen, 2018). Given a nonnegative observed matrix X∈R+m×n\mathbf{X} \in \mathbb{R}_{+}^{m \times n} and a rank K≤min⁡{m,n}K \leq \min\{m, n\}, NMF approximates X\mathbf{X} by the product of two nonnegative matrices M∈R+m×KM \in \mathbb{R}_{+}^{m \times K} and H∈R+K×n\mathbf{H} \in \mathbb{R}_{+}^{K \times n}, i.e.,

X≈MHsubjecttoM∈R+m×K,H∈R+K×n.(1)\begin{aligned}X&\approx MH\\ subject to\quad&M\in\mathbb{R}_{+}^{m\times K},H\in\mathbb{R}_{+}^{K\times n}.\end{aligned} \tag{1}

In sedimentary geology, the observed matrix P∈ℜ+m×nP \in \Re_{+}^{m \times n} typically represents grain-size distribution data, where each row corresponds to a specimen, is nonnegative, and adds up to one (Dietze, Schulte, & Dietze, 2022; Lin et al., 2025; Paterson & Heslop, 2015; Renner, 1993, 1995; Van Hateren et al., 2018; Weltje, 1997; Weltje & Prins, 2007). P is approximated by the product of A and S, where the rows of S represent the end-members and the rows of A represent the corresponding abundances of specimens. In addition to nonnegativity, both A and S satisfy row-sum-to-one constraints, reflecting the compositional nature of the data. Specifically, given P∈R+m×nP \in \mathbb{R}_{+}^{m \times n} with row-sum-to-one constraints and a rank K≤min⁡{m,n}K \leq \min\{m, n\}, the grain-size distribution data unmixing problem is formulated as

P≈ASsubjecttoA∈R+m×K,S∈R+K×n,A1=1,S1=1.(2)\begin{aligned}P&\approx A S\\ subject to\quad A&\in\mathbb{R}_{+}^{m\times K},S\in\mathbb{R}_{+}^{K\times n},A\mathbf{1}=\mathbf{1},S\mathbf{1}=\mathbf{1}.\end{aligned} \tag{2}

NMF has been an appealing approach to solving grain-size distribution data unmixing problem because both M and H in (1) satisfy the end-member and abundance nonnegativity constraints in (2) (Heslop, Von Dobeneck, & Höcker, 2007; Paterson & Heslop, 2015; Qi, Chen, & Van der Heijden, 2026a). For example, Heslop et al. (2007) proposed DRS-unmixer, a multiplicative update NMF algorithm that minimizes the squared error between P and its approximation AS, with row-sum-to-one constraints on A and S enforced in the final stage of the iterations. Paterson and Heslop (2015) introduced AnalySize based on a hierarchical alternating least squares (HALS) algorithm. The objective function of AnalySize incorporates a minimum-distance constraint in addition to the squared error, while enforcing the row-sum-to-one constraints during the iterative procedure. Qi et al. (2026a) introduced MAV-NMF based on the alternating projected fast gradient method. The objective function of MAV-NMF incorporates a maximum-volume constraint in addition to the squared error, while enforcing the row-sum-to-one constraints on one factor during the iterative procedure. Note that MAV-NMF does not constrain the other factor to be row-sum-to-one, but the violations of this constraint are small due to other constraints (Paterson & Heslop, 2015).

In a comparative study, Van Hateren et al. (2018) evaluated several unmixing techniques for unmixing grain-size distribution data, including EMMA (Seidel & Hlawitschka, 2015; Weltje, 1997), DRS-unmixer (Heslop et al., 2007), EMMAgeo (Dietze et al., 2012), AnalySize (Paterson & Heslop, 2015), and BEMMA (Yu, Colman, & Li, 2016). The results showed that, when the number of end members was specified correctly, AnalySize outperformed the other methods for the synthetic coversand dataset and noisy coversand dataset; however, it was still unable to effectively recover the true end members from the synthetic highly mixed coversand dataset (Van Hateren et al., 2018). Here, highly mixed data refer to data for which no single observed specimen is close to a true end member. In such cases, the estimated end members may remain mixtures of the true ones, failing to recover the underlying structure, as also discussed in related studies (Bioucas-Dias et al., 2012; Heslop & Roberts, 2012; Paterson & Heslop, 2015).

To handle highly mixed data, some studies aim to identify end members as distinct as possible (Qi et al., 2026a; Qi, Chen, & Van der Heijden, 2026b; Van der Ark, Van der Heijden, & Sikkel, 1999; Zhang, Wang, Xu, & Yang, 2020). For example, Van der Ark et al. (1999) applied a simulated annealing algorithm to maximize the chi-squared distances between end members, while Zhang et al. (2020) employed a genetic algorithm to maximize the sum of Manhattan distances between end members and minimize the reconstruction error between P and AS. However, simulated annealing and genetic algorithms are heuristic. More recently, Qi et al. (2026a, 2026b) explored the use of volume-based measures to pro-mote separation among end members. Overall, research in this direction remains limited.

This study introduces a maximum-distance NMF for highly mixed grain-size data, which can be viewed as a generalization of AnalySize, a widely used grain-size distribution data unmixing approach as introduced before. An estimation algorithm using the HALS is developed. The experimental results show that the proposed method effectively decomposes highly mixed data.

References (30)