arXiv:2610.10266cs.CVOct 2026

Manuscript Offprint

arXiv:2610.10266

LoomSC: Scalable Deep Subspace Clustering with Projector Factorization and Exact Spectral Reduction

Nairouz Mrabah, Youssef Melki, Mohamed Bouguessa, Riadh Ksantini, Shakeeb Murtaza, Tehseen Zia

Nairouz Mrabah, Youssef Melki, Mohamed Bouguessa, Riadh Ksantini, Shakeeb Murtaza, and Tehseen Zia

Abstract—Dense self-expression matrices and full-affinity spectral clustering limit the scalability of subspace clustering. We introduce the Latent Orthogonal Optimization Model for Subspace Clustering (LoomSC), a framework that addresses both bottlenecks through projector factorization and exact spectral reduction. Motivated by the spectral structure of least-squares regression, LoomSC jointly learns latent features and a projector self-representation through two thin factors. Alternating Procrustes and least-squares updates preserve the sample factor's orthogonality while keeping the coefficient matrix implicit. We construct a nonnegative quadratic affinity that preserves the projector's support. An exact feature map then reduces its normalized spectral problem to an eigenproblem whose dimension depends only on the factor width. Neither the full affinity nor the sample Laplacian needs to be formed. Our analysis quantifies the projector approximation and identifies conditions for subspace preservation and within-subspace connectivity. For fixed dimensions and iteration budgets, the complete pipeline has linear time and memory complexity in the number of samples. Across five image-clustering benchmarks, LoomSC ranks first or second in all 15 dataset-metric comparisons against 9 state-of-the-art baselines. Its mean accuracy exceeds the highest baseline mean by 6.66 percentage points. Synthetic experiments scale to 500,000 samples while maintaining at least 99.8% accuracy.

I. INTRODUCTION

In several cases, high-dimensional data can be modeled by a generation process from the union of multiple low-dimensional linear subspaces. In this context, subspace clustering is a prominent unsupervised strategy that aims to partition the data into clusters by identifying these subspaces, where each cluster is defined by exactly one low-dimensional subspace. The subspace assumption is widely used in visual analysis and has been successfully exploited in several applications, such as image segmentation [1], motion segmentation [2], [3], and face clustering [3], [4]. For example, face images of a person can be represented by a low-dimensional subspace for a fixed pose and under Lambertian reflectance [5].

The most recent subspace clustering methods [6]–[8] follow a two-step strategy. First, these methods learn an affinity matrix that captures the similarity between points within the same subspace. Second, a graph clustering approach, such as spectral clustering, is used to identify the clusters. The affinity matrix is constructed according to the self-expression property [8], [9] of the subspaces. More precisely, each data point can be expressed as a linear combination of points in the same subspace. Given a dataset X∈Rdx×nX \in \mathbb{R}^{d_x \times n} with nn data points of dimensionality dxd_x, the optimization problem associated with this strategy is:

min⁡C12∥X−XC∥F2+λθ(C),(1)\min_{C}\frac{1}{2}\left\|X-X C\right\|_{F}^{2}+\lambda\theta(C), \tag{1}

where C=(cij)∈Rn×nC = (c_{ij}) \in \mathbb{R}^{n \times n} is a matrix that captures the self-expression property based on the first term; ∥⋅∥F\|\cdot\|_{F} denotes the Frobenius norm, which is defined for any matrix M=(mij)M = (m_{ij}) by ∥M∥F=(∑i=1∑j=1mij2)12\|M\|_{F} = (\sum_{i=1} \sum_{j=1} m_{ij}^2)^{\frac{1}{2}}; the second term, controlled by the function θ\theta, serves as a regularization to avoid trivial solutions (e.g., C=IC = I) and to adjust the structure of the self-representation matrix CC; λ∈R+\lambda \in \mathbb{R}_+ is a balancing hyperparameter between the two terms. Based on the self-representation matrix, the affinity graph is constructed by computing its adjacency matrix Aabs=(aijabs)∈Rn×nA_{\text{abs}} = (a_{ij}^{\text{abs}}) \in \mathbb{R}^{n \times n}, such that Aabs=∣C∣+∣CT∣2A_{\text{abs}} = \frac{|C| + |C^T|}{2}.

Different regularizers encode complementary structural preferences. Sparse Subspace Clustering (SSC) [8] promotes sparse coefficients through an ℓ1\ell_{1} penalty. Low-Rank Representation (LRR) [10] favors a low-rank coefficient matrix through nuclear-norm regularization. Multi-Subspace Representation (MSR) [11] combines these penalties, whereas Block Diagonal Representation (BDR) [6] directly encourages a block structure. Least Squares Regression (LSR) [9] uses squared Frobenius regularization and admits a closed-form solution. Its grouping effect encourages correlated samples to receive similar coefficients. These formulations seek to suppress cross-subspace connections while retaining informative relations within each subspace. Both requirements matter because a sparse affinity can separate samples from different subspaces yet fragment samples from the same subspace [12].

The self-expression framework nevertheless introduces two distinct computational bottlenecks. Explicitly storing a dense coefficient matrix requires O(n2)\mathcal{O}(n^{2}) memory, even when its estimation admits an efficient solver. Constructing a full affinity retains this quadratic storage cost. The spectral stage adds a second bottleneck. A dense eigendecomposition requires O(n3)\mathcal{O}(n^{3}) operations, while partial eigensolvers still perform repeated products with the sample-level affinity. Consequently, accelerating coefficient estimation alone does not ensure a scalable clustering pipeline. Both self-expression and spectral assignment must avoid dense sample-by-sample computations.

Several strategies reduce these costs. Sampling methods replace the full dictionary with a smaller set of representatives [13]–[16]. Subspace-preserving selection seeks representatives that span the underlying subspaces [17]. Sparse solvers accelerate coefficient estimation through greedy pursuit [18], active-set selection [19], or stochastic dictionaries [20].

N. Mrabah and S. Murtaza are with the École de technologie supérieure (ÉTS), Montréal, QC, Canada. Y. Melki and R. Ksantini are with the University of Bahrain (UOB), Kingdom of Bahrain. M. Bouguessa is with the Université du Québec à Montréal (UQAM), Montréal, QC, Canada. T. Zia is with COMSATS University Islamabad, Islamabad, Pakistan.

Structure-aware methods exploit compact graph models [21] or structured affinity estimation [22]. Neural coefficient predictors [23] provide another route by learning a mapping that replaces repeated regression.

Representative-based reduction is particularly attractive because it replaces an all-sample dictionary with m≪nm \ll n representatives. Each sample is then described by m coefficients instead of n. Anchor-graph methods can also obtain the spectral embedding from a compact factor [15], [16]. Their effectiveness depends on how well the representatives capture the subspaces in the supplied feature space. Learning the coefficients improves the graph, but does not by itself adapt the image representation. This motivates a compact model in which both the representation and the directions used for self-expression are learned from the data.

The representation itself is important because complex appearance variation and data corruption can weaken the linear subspace structure of raw observations. Kernel methods address nonlinear structure through an implicit feature mapping [24]. Deep subspace clustering [25]–[27] instead couples an autoencoder with self-expression in the latent space. The reconstruction objective preserves information about the inputs. The self-expression objective encourages latent features that conform to a subspace model. Joint optimization therefore adapts the features to clustering rather than imposing self-expression on a fixed representation.

Joint learning also makes computational compactness essential. A dense self-expression layer introduces n2n^{2} sample-dependent coefficients that must be optimized together with the encoder [25], [26]. Neural parameterizations and mini-batch training can reduce training costs [28], but do not by themselves eliminate full-affinity spectral inference. Our goal is to retain both pairwise self-expression and normalized spectral clustering while learning nonlinear representations, without constructing dense sample-level matrices at either stage.

To this end, we introduce the Latent Orthogonal Optimization Model for Subspace Clustering (LoomSC). Motivated by the spectral structure of LSR, LoomSC represents self-expression through a projector C=PP⊤C = PP^\top. The sample factor P∈Rn×mP \in \mathbb{R}^{n \times m} has orthonormal columns and a prescribed width mm. An equivalent two-factor objective separates latent directions from sample coefficients and couples both to the auto-encoder. Alternating Procrustes and least-squares updates refine these factors while preserving orthogonality. Neither the coefficient matrix nor a sample Gram matrix needs to be formed. The latent directions are updated using all samples rather than remaining fixed to selected representatives. Our analysis quantifies the projector approximation to LSR and identifies conditions under which the full row-space projector preserves subspace memberships and within-subspace connectivity.

LoomSC extends this compact representation to spectral assignment through a nonnegative quadratic affinity. Squaring the projector coefficients preserves their zero pattern and thus retains the connections encoded by self-expression. An exact feature map represents this affinity using q=m(m+1)/2q = m(m + 1)/2 features per sample. Its normalized spectral problem then reduces to a q-dimensional eigenproblem. This reduction avoids forming either the full affinity or the sample Laplacian. For fixed dimensions and iteration budgets, the complete pipeline has linear time and memory complexity in n. The same compact representation therefore supports feature learning, self-expression, and global spectral assignment.

Contributions. (1) We introduce a two-factor projector model for joint feature and self-expression learning with orthogonality-preserving updates. (2) We construct a support-preserving nonnegative affinity and derive an exact reduction of its normalized spectral problem without forming full pairwise matrices. (3) We quantify the projector approximation to LSR and establish conditions for subspace preservation and connectivity. We also prove linear time and memory bounds for the complete pipeline under fixed dimensions and iteration budgets. (4) Across five image-clustering benchmarks, LoomSC ranks first or second in all 15 dataset-metric comparisons against nine baselines. Its mean accuracy exceeds the highest baseline mean by 6.66 percentage points. Experiments on synthetic data reach 500,000 samples while maintaining at least 99.8% accuracy throughout the tested range.

References (34)