Papers
Topics
Authors
Recent
Search
2000 character limit reached

SNMPBB: Projected-Gradient for Symmetric NMF

Updated 5 July 2026
  • SNMPBB is a projected-gradient algorithm for symmetric NMF that reformulates the problem with a penalty-coupled two-factor model to improve optimization efficiency.
  • It employs Barzilai–Borwein spectral steps and a two-stage projected update, achieving significant runtime improvements while maintaining convergence guarantees.
  • Extensions like Graph-SNMPBB and LAI-SNMPBB adapt the method for graph clustering and large-scale inputs, offering practical benefits in clustering accuracy and scalability.

SNMPBB is a projected-gradient algorithm for symmetric nonnegative matrix factorization (Symmetric NMF) that combines a penalty-based two-factor formulation, Barzilai–Borwein spectral step sizes, and a nonmonotone projected line search. It was introduced as the first adaptation of nonmonotone projected Barzilai–Borwein methods to Symmetric NMF, with extensions to graph clustering and large-scale low-rank approximate-input settings through Graph-SNMPBB and LAI-SNMPBB, respectively (Swart et al., 1 Jun 2026). In this formulation, the longstanding view that projected-gradient methods are intrinsically too slow for Symmetric NMF is replaced by a more specific claim: the poor behavior of earlier methods was largely a consequence of the formulation and globalization strategy rather than of first-order methods per se.

1. Problem setting and reformulation

Symmetric NMF seeks a low-rank nonnegative factorization of a symmetric nonnegative matrix VV by approximating it as WWTWW^T, with WR+n×rW \in \mathbb{R}_+^{n\times r} and rnr \ll n. The baseline symmetric objective is

f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.

This objective is quartic in WW, hence nonconvex and harder to optimize than the standard two-factor NMF objective. The setting is especially important when VV is a graph similarity or adjacency matrix, because the symmetric factorization aligns naturally with clustering structure (Swart et al., 1 Jun 2026).

SNMPBB does not optimize the quartic one-variable objective directly. Instead, it solves a penalty-coupled two-factor problem,

f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,

subject to

WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},

with m=nm=n in the symmetric case. The parameter WWTWW^T0 penalizes deviation from symmetry. This reformulation preserves the computational advantages of alternating optimization in two variables while driving WWTWW^T1 and WWTWW^T2 toward agreement.

A central design claim is that the naive projected-gradient extension that enforces WWTWW^T3 after every step performs poorly in practice, possibly because the symmetric assignments reduce the degrees of freedom. SNMPBB replaces that rigid coupling with a soft quadratic penalty. This suggests that the main algorithmic innovation lies less in inventing a new descent primitive than in selecting a formulation in which projected spectral steps remain informative.

2. Core algorithmic structure

SNMPBB adapts the nonmonotone projected Barzilai–Borwein framework to the penalty objective by alternating between convex quadratic subproblems in WWTWW^T4 and WWTWW^T5. With WWTWW^T6 fixed, the gradient with respect to WWTWW^T7 is

WWTWW^T8

and with WWTWW^T9 fixed, the gradient with respect to WR+n×rW \in \mathbb{R}_+^{n\times r}0 is

WR+n×rW \in \mathbb{R}_+^{n\times r}1

Projection onto the nonnegative orthant is elementwise:

WR+n×rW \in \mathbb{R}_+^{n\times r}2

For each alternating subproblem, SNMPBB uses a two-stage projected update. First, from the current iterate WR+n×rW \in \mathbb{R}_+^{n\times r}3, it computes a projected gradient trial point

WR+n×rW \in \mathbb{R}_+^{n\times r}4

The local Lipschitz constant of WR+n×rW \in \mathbb{R}_+^{n\times r}5 is

WR+n×rW \in \mathbb{R}_+^{n\times r}6

and WR+n×rW \in \mathbb{R}_+^{n\times r}7 is omitted in practice because it is usually small relative to WR+n×rW \in \mathbb{R}_+^{n\times r}8.

Second, SNMPBB constructs a projected Barzilai–Borwein search direction

WR+n×rW \in \mathbb{R}_+^{n\times r}9

The Barzilai–Borwein step size uses Frobenius-inner-product secant information. With

rnr \ll n0

the spectral step is

rnr \ll n1

safeguarded by

rnr \ll n2

The paper characterizes this two-stage mechanism as yielding a “quasi-Newton-like update using only first-order information” (Swart et al., 1 Jun 2026).

3. Nonmonotone line search and stationarity

A defining feature of SNMPBB is that it is nonmonotone: it does not require rnr \ll n3 at every iteration. Instead, it uses a reference envelope

rnr \ll n4

with rnr \ll n5. When rnr \ll n6, this reduces to a monotone Armijo rule; when rnr \ll n7, temporary increases are allowed relative to the current function value as long as the step is acceptable with respect to the running envelope.

The line search seeks rnr \ll n8 such that

rnr \ll n9

where f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.0. Backtracking begins from f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.1. After acceptance, the update is

f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.2

with fixed relaxation factor f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.3; the paper reports that f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.4 worked best experimentally (Swart et al., 1 Jun 2026).

The stationarity analysis is expressed through the projected-gradient mapping

f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.5

Two identities are central:

f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.6

and

f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.7

These relations connect projected-step norms to first-order optimality under nonnegativity constraints. They also explain why the method can use projected spectral steps as both a search mechanism and a convergence diagnostic.

4. Convergence theory

The convergence theory proceeds by viewing SNMPBB as alternating minimization over two convex quadratic subproblems. When f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.8 is fixed, the f(W,W)=12VWWT2.f(W,W)=\frac{1}{2}\|V-WW^T\|^2.9-subproblem remains convex, and its gradient is Lipschitz continuous. For feasible WW0,

WW1

with

WW2

An analogous statement holds for the WW3-subproblem (Swart et al., 1 Jun 2026).

The nonmonotone reference sequence satisfies

WW4

so WW5 is nonincreasing and bounded below. The line search therefore terminates finitely, and accepted step sizes admit a uniform lower bound away from zero whenever the current iterate is not stationary. The main theoretical conclusion is

WW6

and every accumulation point of the sequence generated by SNMPBB is a first-order stationary point.

The same reasoning extends to Graph-SNMPBB because the added Laplacian term preserves convexity in WW7 and modifies the Lipschitz constant through the largest eigenvalue of WW8. For LAI-SNMPBB, the notable theoretical point is different: the low-rank approximate-input model changes the gradient itself, but not the gradient difference used in the Barzilai–Borwein secant formula. Hence the curvature information required by the BB step is preserved exactly.

5. Extensions: graph regularization and low-rank approximate input

Graph-SNMPBB adds graph Laplacian regularization to the penalty objective:

WW9

where the normalized graph Laplacian is

VV0

and VV1 is the diagonal degree matrix with

VV2

The VV3-gradient is unchanged, while the VV4-gradient becomes

VV5

The rationale is that plain Symmetric NMF often yields soft cluster assignments, whereas the Laplacian term encourages structure aligned with graph geometry. Hyperparameter guidance in the paper places VV6 around VV7 and VV8 around VV9 (Swart et al., 1 Jun 2026).

LAI-SNMPBB is designed for very large problems. A random sketch f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,0 is used to form

f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,1

followed by the small eigendecomposition

f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,2

Defining

f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,3

the matrix is approximated by

f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,4

This replaces multiplication by f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,5 with low-rank multiplication through f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,6 and f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,7, reducing the listed complexity from f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,8 to f(W,H;λ)=12VWH2+λ2WHT2,f(W,H;\lambda)=\frac{1}{2}\|V-WH\|^2+\frac{\lambda}{2}\|W-H^T\|^2,9.

The approximation-quality statement carried into the paper is

WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},0

Most importantly for the algorithmic design, when WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},1 is fixed the approximate-input gradient satisfies

WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},2

so the bias is constant with respect to WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},3. Therefore the gradient difference used in the BB denominator obeys

WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},4

which is precisely the sense in which Barzilai–Borwein curvature information is preserved.

6. Empirical behavior, use cases, and limitations

The empirical results reported for SNMPBB overturn the earlier expectation that projected-gradient methods are intrinsically uncompetitive for Symmetric NMF. On synthetic data, the abstract reports that SNMPBB achieves a 6 times speedup over SymANLS for similar residuals, with the advantage growing at higher ranks. Representative dense synthetic results include WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},5, where SNMPBB attains runtime WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},6 and residual WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},7, compared with SymANLS runtime WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},8 and residual WR+m×r,HR+r×n,W\in \mathbb{R}_+^{m\times r}, \qquad H\in \mathbb{R}_+^{r\times n},9, and SymNewton runtime m=nm=n0 and residual m=nm=n1 (Swart et al., 1 Jun 2026).

For graph clustering, Graph-SNMPBB is reported to match or exceed SymANLS accuracy across six real-world benchmarks—ORL, COIL20, Isolet1, MNIST, Reuters-21578, and TDT2—while requiring substantially less time. On the bullseye geometric dataset, the graph-regularized variant reaches higher clustering accuracy faster than competing methods, whereas plain SNMPBB is materially weaker for clustering. This establishes an important methodological distinction: good symmetric factorization performance does not automatically imply good clustering performance, and the Laplacian term is operationally significant rather than cosmetic.

For large-scale approximate-input settings, LAI-SNMPBB outperforms LAI-SymPGNCG on 34 SuiteSparse matrices in both runtime and residual quality. At performance ratio m=nm=n2, it obtains the better residual on about 70% of the problems. On the Web of Science dataset, the reported mean residuals are m=nm=n3 for LAI-SNMPBB and m=nm=n4 for LAI-SymPGNCG, with mean ARI m=nm=n5 and m=nm=n6, respectively; the practical advantage shown in the paper is primarily the time-to-solution profile rather than a uniformly dominant clustering metric.

The operational guidance is correspondingly differentiated. SNMPBB is the default choice for symmetric nonnegative low-rank approximation when the objective is factorization quality with low first-order cost. Graph-SNMPBB is the preferred variant for graph clustering. LAI-SNMPBB is intended for very large matrices where multiplication by the full input is the bottleneck. Initialization can use random m=nm=n7 scaled by

m=nm=n8

where m=nm=n9 is the average value of entries of WWTWW^T00, with WWTWW^T01; an SVD-based initialization is also described for graph problems, though it was not used in the experiments because of cost.

The main limitations are parameter sensitivity and preprocessing dependence. The method depends on WWTWW^T02, WWTWW^T03, WWTWW^T04, WWTWW^T05, WWTWW^T06, WWTWW^T07, and the BB safeguards WWTWW^T08. Graph-based performance depends heavily on similarity construction and WWTWW^T09-nearest-neighbor sparsification. In LAI-SNMPBB, over-solving the inner projected-gradient subproblems can be harmful; the reported recommendation is to cap inner iterations at 3 to 5, which the paper interprets as a form of implicit regularization. These caveats do not undercut the central result, but they do locate the method within the usual trade space of first-order nonconvex optimization: low iteration cost, strong scalability, and favorable empirical speed, balanced against formulation and hyperparameter sensitivity.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to SNMPBB.