Graph-SNMPBB: Projected Gradient for Graph Clustering
- The paper introduces Graph-SNMPBB, which combines a two-factor penalty formulation with graph Laplacian regularization to enhance cluster separability and achieve fast convergence.
- It employs a nonmonotone Barzilai–Borwein projected gradient scheme with two-stage updates, leveraging low-cost curvature estimates and sparse matrix operations.
- Experimental results show that Graph-SNMPBB attains competitive or superior clustering accuracy on benchmark datasets with significantly lower runtime compared to baselines.
Graph-SNMPBB is a projected-gradient algorithm for symmetric nonnegative matrix factorization tailored to graph clustering. It extends SNMPBB by combining a penalty-based two-factor symmetric factorization with graph Laplacian regularization, and it uses a nonmonotone Barzilai–Borwein projected gradient scheme with a two-stage projected update. In the reported formulation, the method is designed for an undirected, nonnegative, symmetric similarity or adjacency matrix and is intended to improve cluster separability while preserving nonnegativity and achieving fast practical convergence. The associated analysis proves global convergence to first-order stationary points under mild assumptions, and the reported experiments show competitive or superior clustering accuracy to strong baselines, including SymANLS, at substantially lower runtime on several benchmarks (Swart et al., 1 Jun 2026).
1. Problem setting and mathematical formulation
Graph-SNMPBB is posed for an input graph represented by an undirected, nonnegative, symmetric matrix . In the paper’s notation, is denoted ; the presentation here follows the equivalent notation . The degree matrix is , where , and the graph regularizer is the normalized symmetric Laplacian
denoted . The target rank corresponds to the number of clusters. The factor variables are and 0 (Swart et al., 1 Jun 2026).
Rather than enforcing a single-factor symmetric model directly, Graph-SNMPBB uses a two-factor penalty formulation: 1 Here 2 penalizes deviation from symmetry by coupling 3 and 4, while 5 imposes graph smoothness through the Laplacian term. The paper contrasts this with the more common single-variable regularized SymNMF objective
6
but its algorithmic development and convergence analysis are based on the two-factor penalty model.
This formulation is central to the identity of Graph-SNMPBB. A common misconception is to view it as merely SymNMF with an added Laplacian penalty. The reported method is more specific: it relies on the penalty coupling 7 rather than imposing exact symmetry during optimization. The paper argues that this avoids the slow behavior often observed with vanilla symmetric one-factor projected gradient and gives SNMPBB and Graph-SNMPBB better curvature scaling for updates.
2. Differential structure, feasibility, and stationarity
For fixed 8 and 9, the gradients of the Graph-SNMPBB objective are
0
and
1
Because 2 is symmetric, the derivative of 3 with respect to 4 is 5 (Swart et al., 1 Jun 2026).
The nonnegativity constraints are characterized by KKT conditions in componentwise form. Primal feasibility requires 6 and 7. Dual feasibility is expressed through the gradients on active constraints in the sense of complementary slackness, and the complementary slackness relations are
8
where 9 denotes the Hadamard product.
A practically useful stationarity measure is the projected-gradient mapping
0
with elementwise projection 1. Stationarity is equivalent to 2 and 3 for any 4. This projected-gradient viewpoint is what the algorithm uses operationally for both updates and stopping criteria.
The Laplacian term has a specific clustering interpretation. The trace penalty 5 encourages smoothness over the graph, so nodes connected by edges with large 6 have similar encodings in 7, and through the symmetry penalty, in 8 as well. This is why the method is presented as a graph clustering algorithm rather than only a matrix factorization routine.
3. Nonmonotone Barzilai–Borwein projected-gradient scheme
Graph-SNMPBB applies the SNMPBB update separately to the 9-block and the 0-block, alternating between them. Each block update uses a two-stage projected step together with a nonmonotone Armijo line search (Swart et al., 1 Jun 2026).
For a 1-update with 2 fixed, the first projected gradient trial is
3
The scale 4 is a Lipschitz step for the 5-subproblem, and 6 is computed from the spectral norm of the 7 matrix 8.
The Barzilai–Borwein curvature information is then formed from
9
The BB1 and BB2 steps are
0
using the Frobenius inner product for matrices. The paper uses the bounded BB1 variant,
1
The second-stage projected direction is
2
Acceptance is controlled by a Grippo–Lucidi style nonmonotone Armijo condition. The reference sequence is
3
Starting from 4, backtracking is performed until
5
The update is then
6
with 7 used in practice.
The 8-update is completely analogous, with Lipschitz scale
9
This reflects the left and right linear operators appearing in 0. The resulting alternation yields a block projected-gradient algorithm whose practicality comes from low-cost 1 curvature estimates and sparse matrix multiplications.
4. Initialization, stopping criteria, and implementation details
Preprocessing begins by constructing 2 from data, for example by a Gaussian kernel, retaining 3 nearest neighbors per node, and symmetrizing. The normalized Laplacian 4 is then computed (Swart et al., 1 Jun 2026).
The rank 5 is chosen as the number of clusters. For initialization, the paper uses random entries in 6 scaled by 7, where 8, and sets 9. It also notes that SVD-based warm starts using 0 and 1 can help on graph tasks, although they are more costly.
The reported hyperparameter guidance is explicit. The symmetry penalty is set as 2, and the graph regularization weight as 3. For nonmonotone line search, the paper uses 4, 5 with examples such as a constant 6, and a relaxation factor 7. The BB safeguards use bounds such as 8 and 9, with a reset when 0.
Stopping can be based on any of three criteria: 1 or
2
or a KKT residual
3
For application to a new graph dataset, the paper gives a concrete implementation pattern: build 4 via a KNN Gaussian kernel
5
symmetrize via 6, choose 7 by a median distance heuristic, alternate the 8 and 9 updates while exploiting sparsity, and output labels by row-wise argmax of 0 or by 1-means on rows of 2 after optional row normalization.
5. Complexity, convergence theory, and computational profile
For sparse 3 and 4, the computational structure is dominated by sparse matrix products and low-rank Gram matrices. The paper lists the following principal costs (Swart et al., 1 Jun 2026):
- 5: 6
- 7: 8
- 9 with sparse 00: 01
- 02: 03
- 04: 05
- 06 with sparse 07: 08, approximately 09 for normalized 10
Accordingly, the per-inner-update cost is
11
typically dominated by sparse multiplies on large sparse graphs. Memory usage includes storage of 12, 13, and sparse 14 and 15, with implementations often storing 16 as 17 by transposition for cache efficiency. The sparse products 18 and 19 parallelize naturally, while the 20 matrices 21 and 22 are comparatively cheap.
The convergence theory is blockwise. Under fixed 23, 24 is convex in 25 and 26 is Lipschitz with constant
27
Under fixed 28, 29 is convex in 30 and 31 is Lipschitz with constant
32
Using the nonmonotone Armijo sequence 33 and the estimate
34
the paper shows that the line search terminates finitely, the sequence 35 is nonincreasing and bounded below, and 36. Hence any accumulation point 37 is first-order stationary. The paper situates this analysis within the nonmonotone spectral projected-gradient framework of Birgin–Martínez–Raydan and Li–Shi, and states that adding the Laplacian term preserves the convexity and Lipschitz properties needed for the 38-block and therefore extends the same global convergence conclusions to Graph-SNMPBB.
6. Clustering interpretation, empirical behavior, and limitations
The clustering output is derived from the soft assignment encoded in 39 or 40. A node 41 may be labeled by row-wise argmax,
42
or by applying 43-means to the rows of 44, often after row normalization. The latter is described as often yielding more robust partitions. This places Graph-SNMPBB in close relation to spectral clustering objectives, but with a nonnegative factorization model and an explicit symmetry-penalty mechanism (Swart et al., 1 Jun 2026).
The empirical results reported in the paper distinguish between synthetic symmetric NMF experiments and graph clustering experiments. On synthetic dense data, SNMPBB attains residuals similar to SymANLS and SymNewton but with up to approximately 45 speedups, with advantages growing at higher ranks. For graph clustering, the paper reports that on the geometric rings (“bullseye”) dataset with 46 and 47, Graph-SNMPBB converges much faster than SNMPBB without Laplacian, SymANLS, PGD, and SymNewton, and more reliably recovers the nonlinear ring structure. On six real-world benchmarks—ORL faces, COIL20, Isolet1, MNIST subset, Reuters-21578 top-20 classes, and TDT2 top-20 classes—Graph-SNMPBB matches or exceeds SymANLS final accuracy on five of six datasets while converging substantially faster. The reported advantages are especially pronounced on high-dimensional sparse text datasets such as Reuters and TDT2, consistent with the 48 per-iteration cost relative to the 49 cost stated for SymANLS.
The paper also specifies recommended use-cases and failure modes. Graph-SNMPBB relies on a reasonable similarity graph: if the graph is very noisy or the KNN construction is poor, too small a 50 yields soft clusters, whereas too large a 51 can over-smooth and blur boundaries. Likewise, a very large 52 can dominate the objective and force 53 prematurely, while too small a 54 weakens the intended soft symmetry. On extremely sparse or flat-curvature problems, the backtracking line search may struggle; the recommended mitigations are bounded backtracking and conservative 55 bounds. The method is described as best suited to medium-to-large sparse graphs, moderate numbers of clusters, and datasets for which spectral clustering is already competitive.
A related variant, LAI-SNMPBB, replaces 56 by a low-rank approximation obtained through randomized sketching with thin QR and a small eigendecomposition. The paper states that the BB curvature information is unchanged by the approximation error because gradient differences cancel the constant bias term, and reports that LAI-SNMPBB outperforms LAI-SymPGNCG on 34 SuiteSparse matrices in both runtime and residual quality. This suggests that Graph-SNMPBB belongs to a broader algorithmic family in which nonmonotone projected BB updates are used as a scalable alternative to alternating least-squares and Newton-type methods, particularly when sparsity and graph structure can be exploited.