Next Article in Journal
Risk of Malignancy by Cytological Category in Oral Brush Liquid-Based Cytology: Baseline Data Toward a Structured Reporting System
Previous Article in Journal
LSTM-TCN Forecasting for Short-Term Passenger Flow at Integrated Transport Hubs Using a Population-Mobility Proxy: Ablation Evidence from Shenzhen North Station
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robust p-Norm Two-Dimensional Discriminative Clustering for Image Data

1
School of Artificial Intelligence and Information Engineering, Zhejiang University of Science and Technology, Hangzhou 310023, China
2
School of Economics, Zhejiang University of Science and Technology, Hangzhou 310023, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(17), 8883; https://doi.org/10.3390/app16178883
Submission received: 4 August 2026 / Revised: 3 September 2026 / Accepted: 4 September 2026 / Published: 7 September 2026
(This article belongs to the Section Computing and Artificial Intelligence)

Abstract

For image data, matrix-based clustering methods are gaining popularity because they can directly process two-dimensional (2D) data structures without vectorization. However, most existing approaches rely on squared Frobenius norms in their objective functions, making them sensitive to outliers and noise commonly encountered in real-world images. To overcome this limitation, we propose a novel robust p -norm two-dimensional discriminative clustering method (R2DDC) specifically designed for image clustering. R2DDC utilizes the p -norm to simultaneously minimize within-cluster distances and maximize between-cluster distances at the matrix level, thus preserving the inherent 2D spatial information of images while providing enhanced robustness against pixel-level outliers and noise. An efficient iterative optimization algorithm is designed to solve the proposed objective function. Extensive experiments on contaminated face image datasets demonstrate that R2DDC consistently surpasses conventional clustering approaches, highlighting its effectiveness for robust image analysis.

1. Introduction

Clustering is a fundamental unsupervised learning technique that groups similar data samples while separating dissimilar ones [1,2]. It plays a vital role in numerous domains, such as gene expression analysis [3,4], text mining [5], and image processing [6,7].
As dominant approaches in partition-based clustering, these methods are favored for their algorithmic simplicity and scalability. The classic k-means [8] is the most representative example, which uses central points as prototypes and minimizes the sum of squared Euclidean distances from samples to cluster centroids. This formulation makes k-means highly effective for spherical and compactly distributed clusters. However, when the data exhibits complex, non-spherical shapes or lies near low-dimensional manifolds, the point-prototype assumption becomes overly restrictive, and the resulting partitions often fail to accurately capture the inherent data structures. To overcome this limitation, researchers have developed clustering methods that replace point prototypes with linear manifolds. Notable examples include k-plane clustering [9], which uses hyperplanes, and the q-flat [10], which adopts affine subspaces of arbitrary dimension, thereby effectively capturing linear cluster structures. However, these methods focus only on intra-cluster distances and lack any mechanism to enforce separation between clusters, which often leads to poor performance when clusters are overlapping. Newer approaches such as k-proximal plane clustering [11] and its variants [12,13] address this issue by explicitly incorporating inter-cluster relationships. In a parallel development, concepts from supervised learning have been integrated into clustering to further enhance between-cluster discrimination. A notable example is twin support vector clustering [14] and its derivatives [15,16,17], which are inspired by twin SVM classifiers and construct nonparallel planes for each cluster by solving smaller quadratic programming problems, thereby strengthening cluster separability. Subsequent innovations such as k-subspace discriminant clustering [18] and locally finite distance clustering [19] further enhance robustness by jointly optimizing discriminative and local structural information within a unified framework.
All the methods described above share a fundamental limitation: they are inherently vector-based. When the input data naturally take the form of matrices, which is typical in image and video analysis, motion segmentation, and many other settings where samples are two-dimensional arrays, a mandatory vectorization step must be applied beforehand. This preprocessing inflates the feature dimensionality, often making the sample size far smaller than the feature dimension, which triggers the curse of dimensionality and sharply increases the computational cost. More importantly, vectorization destroys the intrinsic spatial correlations and row-column structure that are valuable for grouping, causing an irreversible loss of geometric information. To avoid vectorization, a small number of two-dimensional (2D) clustering algorithms that directly handle matrix-form inputs have been proposed. Two representative examples are two-dimensional k-subspace clustering (2DkSC) [20] and adaptive 2D embedded image clustering (A2DEIC) [21], both of which preserve the matrix structure while learning cluster assignments and the associated subspaces. Despite these advances, 2DkSC and A2DEIC still measure distances with the Frobenius norm. Because the Frobenius norm is effectively the 2 norm of the vectorized matrix, it squares large deviations and dramatically amplifies the effect of outliers. Even a small number of outlying samples can thus severely bias the estimated cluster centers or projections, significantly degrading clustering performance.
A related two-dimensional clustering approach, C2DkSC [22], also attempts to address this outlier sensitivity by employing a capped 2 , 1 -norm. It learns multiple local subspaces via generalized eigenvalue decomposition and uses a hard threshold to cap outlier penalties, thereby limiting the influence of extreme residuals.
To overcome the sensitivity to outliers inherent in the Frobenius norm, we propose a robust p -norm two-dimensional discriminative clustering (R2DDC). Unlike C2DkSC, which learns multiple local subspaces with hard thresholding, R2DDC learns a single globally shared projection matrix for discriminative clustering. Instead of relying on hard thresholding, it adopts the p -norm for continuous residual down-weighting, and optimizes the resulting fractional objective via a modified gradient ascent algorithm. Our approach is inspired by extending p -norm two-dimensional linear discriminant analysis [23] from supervised dimensionality reduction to unsupervised clustering tasks. Instead of using the Frobenius norm, R2DDC adopts the p norm ( 0 < p 1 ) to measure both within-cluster compactness and between-cluster dispersion in their original matrix forms. Specifically, it learns a projection direction that maximizes the between-cluster p norm distance while minimizing the within-cluster p norm distance, thereby achieving discrimination and clustering within a single joint objective. Since the p norm down-weights large residuals compared to the squared Frobenius norm, it naturally reduces the impact of outliers, leading to more stable cluster assignments even when corrupted samples are present. The resulting optimization problem involves the p norm in both the numerator and denominator, which makes it fractional, non-convex, and non-smooth. To handle this, we design a modified gradient ascent algorithm that iteratively refines the projection while updating cluster assignments. Extensive experiments on benchmark datasets demonstrate superior performance over conventional vector-based approaches and existing 2D methods.
The remainder of this paper is organized as follows. Section 2 reviews the two-dimensional k-subspace clustering (2DkSC) algorithm, which serves as the starting point of our work. Section 3 details the proposed robust p -norm two-dimensional discriminative clustering (R2DDC) method, covering the model formulation, the optimization procedure, and the overall clustering algorithm. Section 4 reports comprehensive experimental comparisons on multiple benchmark datasets, and Section 5 concludes the paper with a summary and a discussion of potential future directions.
Formally, consider a dataset consisting of N matrix samples { X 1 , X 2 , , X N } , with each X l R d × n . The goal of clustering is to partition these samples into c disjoint groups, where c is assumed to be known beforehand. The cluster membership of X l is indicated by a label y l { 1 , 2 , , c } . Let C i denote the set of samples assigned to the i-th cluster, and let N i = | C i | be its cardinality, so that i = 1 c N i = N . The centroid of the i-th cluster is defined as the sample mean X ¯ i = 1 N i j = 1 N i X i j , where X i j is the j-th sample in C i . The global mean over all samples is denoted by X ¯ = 1 N l = 1 N X l . Throughout the paper, ( · ) T stands for the transpose of a matrix. For a vector v , v 2 denotes its Euclidean ( 2 ) norm. Given a matrix Q = ( q 1 , q 2 , , q s ) R t × s , its Frobenius norm is defined as Q F = i = 1 s q i 2 2 . Equivalently, this can be viewed as the 2 norm of the vector formed by the 2 norms of the columns of Q . The p norm of Q to the power p is given by Q p p = i = 1 s q i p p .

2. 2DkSC

To avoid the loss of structural information caused by vectorization, 2DkSC [20] was proposed as a matrix-based clustering method that directly processes two-dimensional image samples. 2DkSC alternates between learning a discriminative projection for each cluster and reassigning samples based on subspace distances, thereby achieving dimensionality reduction and clustering simultaneously while preserving the original matrix structure of the data.
Given the dataset T = { X 1 , , X N } , 2DkSC seeks a set of projection matrices W i R d × m ( m d , i = 1 , , c ) by minimizing the following objective for each cluster:
min W i 1 N s i N i N s W i T ( X ¯ i X ¯ s ) F 2 + Δ i j = 1 N i W i T ( X i j X ¯ i ) F 2 s . t . W i T W i = I ,
where N i and N s denote the sizes of the i-th and s-th clusters, X ¯ i and X ¯ s are the corresponding centroids, and X i j is the j-th sample in cluster i. The weighting constant Δ i is defined as
Δ i = 1 4 s i P i P s X ¯ i X ¯ s F 2 , P i = N i N , P s = N s N .
The first term, with its negative sign, maximizes the projected distances between cluster centers, thereby promoting between-cluster separability. The second term minimizes the dispersion of samples around their own cluster centroid in the projected subspace, enhancing within-cluster compactness. The constraint W i T W i = I ensures that the projection directions are orthonormal, avoiding redundant features. The weighting factor Δ i is computed entirely from the data and serves to balance the importance of the two terms; its derivation follows from an upper bound on the Bhattacharyya error, which endows the model with an adaptive, parameter-free nature.
Although 2DkSC effectively captures both discriminative and local structural information, its use of the squared Frobenius norm makes it sensitive to outliers. To address this sensitivity, a robust p -norm formulation is proposed in the following section.

3. R2DDC

3.1. Problem Formulation

Although 2DkSC successfully extends clustering to matrix-form data, its objective relies on the squared Frobenius norm, which is known to be sensitive to outliers and noise. In contrast, for 0 < p 1 , the p norm down-weights the contribution of large residuals, thereby providing stronger robustness against outliers and noise. Motivated by this, a robust p -norm two-dimensional discriminative clustering (R2DDC) method is developed. R2DDC jointly learns a discriminative projection and a partition of the matrix samples, so that dimensionality reduction and clustering are achieved simultaneously in a unified framework while the intrinsic spatial structure of the data is preserved.
Formally, given a set of matrix samples { X 1 , , X N } and an initial cluster assignment, R2DDC seeks a projection matrix W R d × m with m d that maximizes the following ratio:
max W i = 1 c N i W T ( X ¯ i X ¯ ) p p i = 1 c j = 1 N i W T ( X i j X ¯ i ) p p s . t . W T W = I ,
Here c is the number of clusters, N i denotes the size of the i-th cluster, X ¯ i is the mean of the samples in that cluster, X ¯ is the global mean, and X i j is the j-th sample in cluster i.
The numerator measures the total p distance between each cluster centroid and the global centroid in the projected subspace, encouraging inter-cluster separation. The denominator sums the p distances from every sample to its own cluster centroid, promoting intra-cluster compactness. By maximizing their ratio, R2DDC simultaneously enhances the separability of different clusters and reduces the dispersion within each cluster, all in a robust p sense. Because the cluster labels y l are unknown, they are updated alternately with W using an iterative procedure that assigns each sample to its nearest projected centroid and then recomputes the statistics. Details of the optimization algorithm are presented in the following section.

3.2. Problem Transformation

The objective of R2DDC involves p norms in both the numerator and denominator, leading to a non-smooth ratio objective. Because the p norm makes the objective non-quadratic and non-differentiable, standard eigenvalue approaches cannot be used. To make the problem tractable, it is decoupled into a series of one-dimensional subproblems by greedy search, where each step solves for a single projection vector w R d . The corresponding optimization reduces to
max w J ( w ) = i = 1 c N i w T ( X ¯ i X ¯ ) p p i = 1 c j = 1 N i w T ( X i j X ¯ i ) p p = i = 1 c N i w T H i p p i = 1 c j = 1 N i w T Z i j p p s . t . w T w = 1 ,
where H i = X ¯ i X ¯ = [ H i 1 , , H i n ] R d × n and Z i j = X i j X ¯ i = [ Z i j 1 , , Z i j n ] R d × n for i = 1 , 2 , , c , j = 1 , 2 , , N i .
Problem (3) is tackled by a modified gradient ascent method [24]. Since J ( w ) involves p norms in both the numerator and denominator, its gradient must be handled carefully. Applying the quotient rule and the chain rule for the p norm yields the following expression for the gradient of J with respect to w :
w = d J ( w ) d w = A · B G C · D G
where the quantities A , B , C , D , G are defined as follows:
A = p i = 1 c k = 1 n N i sgn ( w T H i k ) w T H i k p 1 H i k B = i = 1 c j = 1 N i k = 1 n sgn ( w T Z i j k ) w T Z i j k p C = i = 1 c k = 1 n N i sgn ( w T H i k ) w T H i k p D = p i = 1 c j = 1 N i k = 1 n sgn ( w T Z i j k ) w T Z i j k p 1 Z i j k G = i = 1 c j = 1 N i k = 1 n sgn ( w T Z i j k ) w T Z i j k p 2 ,
Here sgn ( · ) denotes the sign function. Since 0 < p 1 , the terms | · | p 1 become singular when the argument approaches zero. To ensure the gradient is well-defined, the conditions w T H i k 0 and w T Z i j k 0 must be maintained for all indices. In practice, this is enforced by adding a small random perturbation whenever a near-zero value is encountered, as specified in the algorithm.
The complete procedure for solving the one-vector problem is summarized in Algorithm 1.
It employs a modified gradient ascent that respects the unit-norm constraint through a rotation in the plane spanned by the current w and the projected gradient. The step size is adjusted adaptively by monitoring the objective value. The update in Algorithm 1 corresponds to a rotation of w ( t ) on the unit sphere toward the projected gradient direction, while the line search adapts θ to guarantee a monotonic increase of J. Unlike a standard gradient ascent step, which would destroy the normalization w T w = 1 , this rotation-based scheme inherently preserves the unit norm. A formal statement confirming that Algorithm 1 maintains the normalization constraint is provided in the proposition below, with the proof following [25]. After obtaining a single projection vector, the procedure is repeated to compute the next direction by deflation, enforcing orthogonality with all previously found vectors, and finally assembles the projection matrix W .
Algorithm 1 Solving the single-vector problem of R2DDC
Input: Data matrices H i and Z i j , where i = 1 , , c ,
j = 1 , , N i .
Output: The optimal projection vector w .
Process:
Step 1: Set iteration t = 0 . Initialize w ( 0 ) as a random vector
and normalize w ( 0 ) = w ( 0 ) w ( 0 ) 2 . Initialize step size θ ( 0 ) .
Step 2: Singularity check. If | ( w ( t ) ) T H i k |   < ξ or | ( w ( t ) ) T Z i j k |   < ξ
for some i , j , k , then set w ( t ) = w ( t ) + δ w ( t ) + δ 2 ,
where ξ is a small singularity threshold, and δ
is a small random perturbation vector generated
from a standard uniform distribution U ( 0 , 1 ) .
Step 3: Update w ( t ) by w ( t + 1 ) = w ( t ) cos θ ( t ) + Λ 0 ( t ) sin θ ( t ) ,
where θ ( t ) [ 0 , π 2 ] , Λ 0 ( t ) = Λ ( t ) Λ ( t ) , and
Λ ( t ) = w ( t ) ( w ( t ) ) T w ( t ) w ( t ) .
Step 4: Adjust step size:
     Repeat
        Compute w ( t + 1 ) using current θ ( t ) ;
        If  J ( w ( t + 1 ) ) J ( w ( t ) )   then
            Set θ ( t + 1 ) = min ( 2 θ ( t ) , π 2 ) and break;
        Else
            Set θ ( t + 1 ) = θ ( t ) 2 ;
        End If
     Until  θ ( t + 1 ) < ε
Step 5: Convergence check. If w ( t + 1 ) w ( t ) 2   > ϵ , then set t = t + 1
and go to Step 2. Otherwise, proceed to Step 6.
Step 6: Stop iteration and set w = w ( t ) .
Proposition 1.
Each iteration of Algorithm 1 moves along an ascent direction, and the iterate w ( t ) remains of unit length throughout the process.
Proof. 
Consider the projection of the gradient w onto the tangent space of the unit sphere at w . The tangent component is given by Λ = w w T w w , and its normalized version is Λ 0 = Λ Λ . The inner product between Λ and w evaluates to Λ T w = w 2 ( w T w ) 2 = w 2 w 2 cos 2 α = w 2 sin 2 α 0 , where α is the angle between w and w . Hence Λ 0 points in an ascent direction.
Algorithm 1 updates the projection vector according to
w ( t + 1 ) = w ( t ) cos θ ( t ) + Λ 0 ( t ) sin θ ( t ) ,
with θ ( t ) [ 0 , π 2 ] controlling the step size. Since w ( t ) and Λ 0 ( t ) are orthogonal by construction, the cross term in the squared norm vanishes, giving
w ( t + 1 ) 2 = cos 2 θ ( t ) w ( t ) 2 + sin 2 θ ( t ) Λ 0 ( t ) 2 .
By the inductive hypothesis, w ( t ) = 1 , and Λ 0 ( t ) = 1 by its normalization. Hence
w ( t + 1 ) 2 = cos 2 θ ( t ) + sin 2 θ ( t ) = 1 ,
so the unit-norm constraint is automatically preserved at every iteration.
To accelerate convergence, the step size is adapted by monitoring the objective: if J ( w ( t + 1 ) ) J ( w ( t ) ) , then θ ( t + 1 ) is set to min ( 2 θ ( t ) , π 2 ) ; otherwise, θ ( t + 1 ) is set to θ ( t ) / 2 .    □
Once the first projection vector w 1 is obtained from Algorithm 1, the remaining m 1 vectors that constitute W = [ w 1 , , w m ] R d × m are extracted sequentially via a deflation procedure. This technique removes the information already captured by the previously computed directions, ensuring that each new vector encodes complementary and non-redundant structures. Specifically, after obtaining the current basis matrix W = [ w 1 , w 2 , …, w r 1 ] R d × ( r 1 ) , the r-th basis vector w r (for 1 < r m ) is computed from deflated samples.
X l n e w = ( I W W T ) X l , l = 1 , 2 , , N .
Geometrically, this transformation projects each data matrix onto the orthogonal complement of the subspace spanned by the columns of W , thereby subtracting the information already represented. The process is repeated until all m projection vectors are obtained, yielding the final projection matrix W .
After the projection matrix W R d × m is obtained via Algorithm 2, the label of a sample X l is updated as
Cluster ( X l ) = arg min i = 1 , 2 , , c W T ( X l X ¯ i ) F 2 ,
and the c clusters are re-formed accordingly. With the updated clusters, new projection directions are computed by Algorithm 2, and the two steps alternate until the cluster assignments no longer change.
Algorithm 2 Recursive computation of multiple projection vectors for R2DDC
Input: Data matrices H i and Z i j , where i = 1 , , c ,
j = 1 , , N i , and the desired number of projection vectors m.
Output:  w 1 , w 2 , , w m , which form W = [ w 1 , w 2 , , w m ] .
Process:
Step 1: Set w 0 = 0 R d × 1 and T 0 = { X i 0 = X i } i = 1 N .
Step 2:
For  r = 1 , 2 , , m , do the following iteration:
(1) Compute T r = { X l r } l = 1 N , where X l r = ( I W W T ) X l r 1 .
(2) Obtain w r by applying Algorithm 1 to data set T r .
End for
Starting from an initial partition of the samples in T, R2DDC iteratively refines the projection matrix and the cluster labels. The overall procedure is summarized in Algorithm 3.
Algorithm 3 R2DDC clustering procedure
Input: Data set T = { X 1 , X 2 , , X N } ; maximum iteration number I t m a x .
Output: The final cluster labels of all data samples in T.
Process:
1. Initialize the iteration counter t = 0 and assign a random
cluster label to each sample in T.
2. Repeat:
(a) Projection matrix update:
Solve model (2) by Algorithm 2 with current
label assignment;
(b) Assignment update:
Assign each data sample X l according to Equation (8);
(c) Set t = t + 1 ;
Until (there are no new updates to the labels) or ( t I t m a x ).
End

3.3. Computational Complexity Analysis

To evaluate the efficiency of the proposed R2DDC algorithm, this subsection analyzes its computational complexity and compares it with representative clustering methods, including k-means [8], 2DkSC [20], A2DEIC [21], and C2DkSC [22].
For k-means, each d × n matrix sample is first flattened into a d n -dimensional vector. Its main cost comes from repeated distance computations between samples and cluster centers, leading to a complexity of O ( r c N d n ) , where r is the number of iterations and c is the number of clusters. Although k-means has relatively low complexity, the vectorization step destroys the spatial structure of image data.
For 2DkSC, the dominant cost arises from constructing scatter matrices ( O ( N d 2 n ) ) and solving generalized eigenvalue problems for all clusters ( O ( c d 3 ) ). Therefore, its overall complexity is O ( r c ( N d 2 n + d 3 ) ) , where r denotes the number of outer iterations.
For A2DEIC, two projection matrices are optimized jointly. Its cost includes matrix projections ( O ( N d 2 n + N d n 2 ) ) and eigenvalue decompositions of both d × d and n × n matrices ( O ( d 3 + n 3 ) ) . Thus, the total complexity is O ( r ( N d 2 n + N d n 2 + d 3 + n 3 ) ) .
For C2DkSC [22], the dominant cost comes from the subspace update step, which constructs scatter matrices and performs generalized eigenvalue decomposition for each cluster. For a single cluster, each projection matrix update costs O ( N d 2 n + d 3 ) , and this inner update is repeated r 2 times. With c clusters and r 1 outer iterations, the overall complexity of C2DkSC is O ( r 1 r 2 c ( N d 2 n + d 3 ) ) , where r 1 denotes the number of outer iterations for cluster label updates and r 2 denotes the inner iteration count for projection matrix updates.
For the proposed R2DDC, the computational cost is dominated by the gradient-based updates in Algorithm 1 and the deflation procedure in Algorithm 2. In each iteration of Algorithm 1, the gradient w in (4) requires computing the projected quantities w T H i k and w T Z i j k for all i, j, and k. Since there are N samples in total, each of size d × n , this step costs O ( N d n ) . The rotation update in Step 3 costs only O ( d ) . Therefore, each inner iteration of Algorithm 1 has complexity O ( N d n ) . Algorithm 2 computes m projection vectors sequentially via deflation. For each of the m vectors, Algorithm 1 is invoked, so the total cost of Algorithm 2 is O ( r 2 m N d n ) , where r 2 is the number of gradient iterations required for each projection vector. Finally, Algorithm 3 alternates between updating the projection matrix and reassigning cluster labels. The assignment update in Equation (8) costs O ( c N d n ) , which is negligible compared to the projection update. Let r 1 denote the number of outer iterations in Algorithm 3. The overall complexity of R2DDC is therefore O ( r 1 r 2 m N d n ) . The comparison of the dominant complexity terms is summarized in Table 1.

4. Experiments

In this section, the experimental evaluation of R2DDC is reported against four representative methods: k-means [8], 2DkSC [20], A2DEIC [21], and C2DkSC [22].
2DkSC, A2DEIC, and C2DkSC compute their projection matrices via eigenvalue decomposition. The trade-off parameter in A2DEIC is selected from the set { 2 8 , 2 7 , , 2 7 } . For C2DkSC, the regularization parameter is selected from the set { 10 6 , 10 5 , , 10 6 } , and the optimal value is determined via ten-fold cross-validation. The parameter ϵ in the capped norm of C2DkSC is set adaptively as the 90% quantile of the current residuals. For R2DDC, the p norm parameter is varied as p = 0.1 , 0.2 , , 1.0 .
Following standard practice in clustering research, clustering accuracy (ACC) [26,27,28] is adopted as the primary evaluation metric, with values ranging from 0 to 1. Higher ACC indicates better clustering quality, and the best result in each comparison is highlighted in bold. To mitigate the effect of random initialization, every experiment is repeated ten times for all methods, and both the mean and standard deviation of ACC are reported.

4.1. Datasets

Five face image datasets are used in the experiments: IMM [29], ORL [30], Yale [31], AR [32], and FERET [33]. Table 2 summarizes the number of samples, the number of clusters, and the image 277 size for each dataset.

4.2. Experimental Results

Performance Analysis on Original Datasets

The performance of various methods on the original datasets is shown in Table 3. The experimental results lead to the following observations: (i) R2DDC delivers the best clustering performance in terms of average ACC. Furthermore, it achieves the highest ACC on three of the five datasets. (ii) Two-dimensional clustering algorithms outperform k-means. This advantage stems from their ability to process matrix representations directly, which preserves the inherent spatial structure of the original data.
To evaluate the robustness of R2DDC, synthetic block occlusions are added to the five face datasets. Two occlusion ratios are considered: 30% and 50%. The resulting ten corrupted datasets are denoted as IMM b 0.3 FERET b 0.5 , where the subscript “b” denotes block occlusion and the number indicates the occlusion ratio.
To further examine the robustness of the compared methods, random rectangular Gaussian noise with zero mean is added at a random position on each image. Two variance levels are considered: 0.05 and 0.1. The resulting ten noisy datasets are denoted as IMM g 0.05 FERET g 0.1 , where the subscript “g” indicates Gaussian noise and the number gives the variance.
The experimental results on the corrupted datasets are presented in Table 4 and Table 5. The main findings are summarized as follows: (i) All methods experience a performance drop under noisy conditions compared with the clean data, and the degradation typically increases with the noise intensity. (ii) For a given noise level, the accuracy varies depending on the noise type (block occlusion or Gaussian noise), reflecting different sensitivities of the algorithms to different corruption patterns. (iii) Across all noise configurations, the proposed R2DDC consistently achieves the highest average ACC, demonstrating its superior robustness to both block occlusion and Gaussian noise.
These results confirm that the p -norm-based formulation effectively mitigates the impact of outliers and noise, making R2DDC a more reliable choice for corrupted image clustering. In addition, regarding convergence, empirically, the proposed alternating optimization procedure exhibits fast convergence in practice: while the exact number of iterations depends on the specific dataset, the algorithm typically stabilizes within a few dozen outer iterations across all evaluated tasks.

4.3. Guidance for Selecting the Parameter p

Selecting an appropriate p for unseen datasets depends on the expected noise characteristics, driven by the theoretical properties of the p -norm. The derivative of the p penalty with respect to a residual e is proportional to | e | p 1 . While a smaller p increases robustness against outliers, it also exacerbates the non-convexity of the objective function. Therefore, the choice of p is a trade-off between robustness and optimization stability.
Figure 1 illustrates this trade-off by plotting the clustering accuracy of R2DDC against p on the IMM and ORL datasets. The empirical trends align with the theoretical analysis and can be categorized into three scenarios:
  • Gross Corruptions (e.g., Block Occlusion): Severe, sparse outliers require a smaller p to suppress large errors. As shown in Figure 1, accuracy peaks sharply within p [ 0.3 , 0.5 ] and degrades for larger values.
  • Dense/Uniform Noise (e.g., Gaussian Noise): For dense, moderate noise, the model requires a balance between noise suppression and stability. The performance curves remain relatively flat, with optimums generally observed at moderate values ( p [ 0.3 , 0.6 ] ).
  • Clean Data: Without outliers, a small p introduces unnecessary non-convexity. Larger values ( p [ 0.8 , 1.0 ] ) yield a smoother optimization landscape, with accuracy typically maximizing near p = 1.0 .
Practical Recommendation: For new datasets, we recommend setting p [ 0.3 , 0.5 ] if structural occlusions or severe sensor errors are anticipated. For data with standard natural noise, p [ 0.4 , 0.6 ] serves as a stable default. For strictly clean data, p [ 0.8 , 1.0 ] is preferred.

5. Conclusions

A robust p -norm two-dimensional discriminative clustering (R2DDC) method was presented in this paper. By adopting the p norm, R2DDC enhances robustness against outliers and noise. The method jointly considers discriminative and structural information, enabling dimensionality reduction and clustering to be performed in a unified framework. Experimental results on several face image datasets show that the proposed approach achieves competitive performance. Future work could extend the method to multi-view data and develop nonlinear variants via kernel methods or deep learning. The source code and datasets required to reproduce all findings in this study are publicly available at: https://github.com/YangSkywalker/R2DDC (accessed on 10 July 2026).

Author Contributions

Conceptualization, Y.G.; methodology, Y.G.; software, Y.G.; validation, X.H.; formal analysis, X.H.; investigation, Y.G. and X.H.; resources, Y.G.; data curation, X.H.; writing—original draft preparation, Y.G.; writing—review and editing, X.H.; visualization, X.H.; supervision, Y.G.; project administration, Y.G.; funding acquisition, X.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Social Science Fund of China (Grant No. 25BJL022), the Youth Project of Humanities and Social Sciences of the Ministry of Education of China (Grant No. 24YJC790063).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Publicly available datasets were analyzed in this study. The datasets used in this study are publicly available from the links provided in Section 4.1.

Acknowledgments

The authors would like to thank the academic editor and the anonymous reviewers for their insightful comments and suggestions, which helped improve the quality of this manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, K.; Wang, L.; Zhang, X.; Li, J. Continual Multiview Spectral Clustering via Multilevel Knowledge. IEEE Signal Process. Lett. 2024, 31, 1555–1559. [Google Scholar] [CrossRef] [Scilit]
  2. Meng, B.; Li, F.; Yang, F.; Gao, Q. Centroid-Free K-Means With Balanced Clustering. IEEE Signal Process. Lett. 2025, 32, 1191–1195. [Google Scholar] [CrossRef] [Scilit]
  3. Singh, V.; Verma, N.K. Gene Expression Data Analysis Using Feature Weighted Robust Fuzzy K-Means Clustering. IEEE Trans. NanoBiosci. 2023, 22, 99–105. [Google Scholar] [CrossRef] [Scilit]
  4. Maheshwari, R.; Mishra, A.C.; Mohanty, S.K. An entropy based density peak clustering for numerical gene expression datasets. Appl. Soft Comput. 2023, 142, 110321. [Google Scholar] [CrossRef] [Scilit]
  5. Abualigah, L.; Almotairi, K.H.; Al-qaness, M.A.; Ewees, A.A.; Yousri, D.; Abd Elaziz, M.; Nadimi-Shahraki, M.H. Efficient text document clustering approach using multi-search arithmetic optimization algorithm. Knowl. Based Syst. 2022, 248, 108833. [Google Scholar] [CrossRef] [Scilit]
  6. Zhang, H.; Li, H.; Chen, N.; Chen, S.; Liu, J. Novel fuzzy clustering algorithm with variable multi-pixel fitting spatial information for image segmentation. Pattern Recognit. 2022, 121, 108201. [Google Scholar] [CrossRef] [Scilit]
  7. Fang, U.; Li, J.X.; Lu, X.Q.; Gao, L.X.; Ali, M.; Xiang, Y. Self-supervised cross-iterative clustering for unlabeled plant disease images. Neurocomputing 2021, 456, 36–48. [Google Scholar] [CrossRef] [Scilit]
  8. Ikotun, A.M.; Ezugwu, A.E.; Abualigah, L.; Abuhaija, B.; Heming, J. k-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data. Inf. Sci. 2023, 622, 178–210. [Google Scholar] [CrossRef] [Scilit]
  9. Bradley, P.S.; Mangasarian, O.L. k-plane clustering. J. Glob. Optim. 2000, 16, 23–32. [Google Scholar] [CrossRef] [Scilit]
  10. Tseng, P. Nearest q-Flat to m Points. J. Optim. Theory Appl. 2000, 105, 249–252. [Google Scholar] [CrossRef] [Scilit]
  11. Liu, L.M.; Guo, Y.R.; Wang, Z.; Yang, Z.M.; Shao, Y.H. k-proximal plane clustering. Int. J. Mach. Learn. Cybern. 2017, 8, 1537–1554. [Google Scholar] [CrossRef] [Scilit]
  12. Yang, Z.M.; Guo, Y.R.; Li, C.N.; Shao, Y.H. Local k-proximal plane clustering. Neural Comput. Appl. 2015, 26, 199–211. [Google Scholar] [CrossRef] [Scilit]
  13. Wang, J.; Liu, Y.; Fu, L. Robust local k-proximal plane clustering based on l2,1-norm minimization. Int. J. Mach. Learn. Cybern. 2024, 15, 5143–5158. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, Z.; Shao, Y.H.; Bai, L.; Deng, N.Y. Twin Support Vector Machine for Clustering. IEEE Trans. Neural Netw. Learn. Syst. 2015, 26, 2583–2588. [Google Scholar] [CrossRef] [Scilit]
  15. Bai, L.; Shao, Y.H.; Wang, Z.; Li, C.N. Clustering by twin support vector machine and least square twin support vector classifier with uniform output coding. Knowl. Based Syst. 2019, 163, 227–240. [Google Scholar] [CrossRef] [Scilit]
  16. Tanveer, M.; Gupta, T.; Shah, M.; Richhariya, B. Sparse Twin Support Vector Clustering Using Pinball Loss. IEEE J. Biomed. Health Inform. 2021, 25, 3776–3783. [Google Scholar] [CrossRef] [Scilit]
  17. Zhu, J.; Chen, S.; Liu, Y.; Hu, C. Energy-based structural least squares twin support vector clustering. Eng. Appl. Artif. Intell. 2024, 128, 107467. [Google Scholar] [CrossRef] [Scilit]
  18. Li, C.N.; Shao, Y.H.; Guo, Y.R.; Wang, Z.; Yang, Z.M. Robust k-subspace discriminant clustering. Appl. Soft Comput. 2019, 85, 105858. [Google Scholar] [CrossRef] [Scilit]
  19. Qi, Y.F.; Shao, Y.H.; Li, C.N.; Guo, Y.R. Locally finite distance clustering with discriminative information. Inf. Sci. 2023, 623, 607–632. [Google Scholar] [CrossRef] [Scilit]
  20. Guo, Y.R.; Bai, Y.Q. Two-dimensional k-subspace clustering and its applications on image recognition. Int. J. Mach. Learn. Cybern. 2023, 14, 2671–2683. [Google Scholar] [CrossRef] [Scilit]
  21. Li, Z.; Yao, L.; Wang, S.; Kanhere, S.; Li, X.; Zhang, H. Adaptive two-dimensional embedded image clustering. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 4796–4803. [Google Scholar] [CrossRef] [Scilit]
  22. Guo, Y.R.; Guo, T.T.; Li, C.N.; Hua, X.Y. Capped l2,1-norm two-dimensional k-subspace clustering. Clust. Comput. 2026, 29, 277. [Google Scholar] [CrossRef] [Scilit]
  23. Li, C.N.; Shao, Y.H.; Wang, Z.; Deng, N.Y. Robust bilateral Lp-norm two-dimensional linear discriminant analysis. Inf. Sci. 2019, 500, 274–297. [Google Scholar] [CrossRef] [Scilit]
  24. Zheng, W.; Lin, Z.; Wang, H. L1-Norm Kernel Discriminant Analysis Via Bayes Error Bound Optimization for Robust Feature Extraction. IEEE Trans. Neural Netw. Learn. Syst. 2014, 25, 793–805. [Google Scholar] [CrossRef] [Scilit]
  25. Yu, M.; Shao, L.; Zhen, X.; He, X. Local Feature Discriminant Projection. IEEE Trans. Pattern Anal. Mach. Intell. 2016, 38, 1908–1914. [Google Scholar] [CrossRef] [Scilit]
  26. Sun, B.; Zhou, P.; Du, L.; Li, X. Active deep image clustering. Knowl. Based Syst. 2022, 252, 109346. [Google Scholar] [CrossRef] [Scilit]
  27. Wu, S.; Zheng, Y.; Ren, Y. Self-weighted contrastive fusion for deep multi-view clustering. IEEE Trans. Multimed. 2024, 26, 9150–9162. [Google Scholar] [CrossRef] [Scilit]
  28. Ros, F.; Riad, R.; Guillaume, S. Deep clustering framework review using multicriteria evaluation. Knowl. Based Syst. 2024, 285, 111315. [Google Scholar] [CrossRef] [Scilit]
  29. Nordstrøm, M.; Larsen, M.; Sierakowski, J.; Stegmann, M.B. The IMM Face Database—An Annotated Dataset of 240 Face Images. Technical University of Denmark. 2004. Available online: https://www2.imm.dtu.dk/pubdb/pubs/3160-full.html (accessed on 10 July 2026).
  30. AT&T Laboratories Cambridge. The ORL Database of Faces. AT&T Laboratories Cambridge. 1994. Available online: https://www.cl.cam.ac.uk/research/dtg/attarchive/facedatabase.html (accessed on 10 July 2026).
  31. Belhumeur, P.N.; Hespanha, J.P.; Kriegman, D.J. Eigenfaces vs. Fisherfaces: Recognition using class specific linear projection. IEEE Trans. Pattern Anal. Mach. Intell. 1997, 19, 711–720. [Google Scholar] [CrossRef] [Scilit]
  32. Martinez, A.M.; Benavente, R. The AR Face Database; CVC Technical Report #24; Computer Vision Center: Barcelona, Spain, 1998. [Google Scholar]
  33. Phillips, P.J.; Moon, H.; Rizvi, S.A.; Rauss, P.J. The FERET evaluation methodology for face-recognition algorithms. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1090–1104. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Accuracy (%) versus p on the IMM (left) and ORL (right) datasets under clean, block-occlusion, and Gaussian-noise conditions.
Figure 1. Accuracy (%) versus p on the IMM (left) and ORL (right) datasets under clean, block-occlusion, and Gaussian-noise conditions.
Applsci 16 08883 g001
Table 1. Computational complexity comparison of different clustering methods.
Table 1. Computational complexity comparison of different clustering methods.
MethodComputational Complexity
k-means [8] O ( r c N d n )
2DkSC [20] O ( r c ( N d 2 n + d 3 ) )
A2DEIC [21] O ( r ( N d 2 n + N d n 2 + d 3 + n 3 ) )
C2DkSC [22] O ( r 1 r 2 c ( N d 2 n + d 3 ) )
R2DDC O ( r 1 r 2 m N d n )
Table 2. Summary of data statistics.
Table 2. Summary of data statistics.
Data SetSample NumberCluster NumberImage Size
IMM2404032 × 32
ORL2422232 × 32
Yale1651532 × 32
AR168012032 × 32
FERET140020032 × 32
Table 3. ACC (%) for different algorithms on original datasets.
Table 3. ACC (%) for different algorithms on original datasets.
Data Setk-Means2DkSCA2DEICC2DkSCR2DDC
ACCACCACCACCACC
IMM95.78 ± 0.3696.06 ± 0.0896.08 ± 1.7896.23 ± 0.2896.17 ± 0.27
ORL95.77 ± 0.3596.54 ± 0.0196.39 ± 0.1296.67 ± 0.0396.83 ± 0.35
Yale90.12 ± 1.2393.22 ± 0.2593.97 ± 0.3393.53 ± 0.5894.91 ± 0.52
AR98.09 ± 0.0698.52 ± 0.1198.32 ± 0.1598.45 ± 0.1698.54 ± 0.17
FERET98.82 ± 0.0499.04 ± 0.0398.22 ± 0.2298.68 ± 0.1598.96 ± 0.11
Average ACC95.7296.6896.6096.7197.08
Table 4. ACC (%) for different algorithms on datasets with block occlusion.
Table 4. ACC (%) for different algorithms on datasets with block occlusion.
Data Setk-Means2DkSCA2DEICC2DkSCR2DDC
ACCACCACCACCACC
IMM b 0.3 94.32 ± 0.2494.80 ± 0.0894.59 ± 0.1595.06 ± 0.0395.05 ± 0.04
IMM b 0.5 93.99 ± 0.3794.27 ± 0.0194.43 ± 0.0294.48 ± 0.1294.77 ± 0.18
ORL b 0.3 94.75 ± 0.1394.80 ± 0.5295.26 ± 0.0494.82 ± 0.1595.18 ± 0.98
ORL b 0.5 93.58 ± 0.2294.31 ± 0.0294.62 ± 0.3994.37 ± 0.0694.95 ± 0.35
Yale b 0.3 87.22 ± 0.6688.41 ± 0.1689.34 ± 0.9388.82 ± 0.2390.53 ± 0.19
Yale b 0.5 87.09 ± 1.1188.17 ± 0.2688.88 ± 0.1488.80 ± 0.1588.94 ± 0.04
AR b 0.3 97.02 ± 0.0498.29 ± 0.0297.12 ± 0.1498.13 ± 0.0298.07 ± 0.03
AR b 0.5 96.26 ± 0.0597.35 ± 0.0197.06 ± 0.3598.11 ± 0.0597.65 ± 0.29
FERET b 0.3 96.91 ± 0.0398.69 ± 0.1197.11 ± 0.6498.56 ± 0.0598.95 ± 0.28
FERET b 0.5 96.90 ± 0.0298.66 ± 0.0197.05 ± 0.4598.51 ± 0.0498.81 ± 0.37
Average ACC93.8094.7894.5594.9795.29
Table 5. ACC (%) for different algorithms on datasets with Gaussian noise.
Table 5. ACC (%) for different algorithms on datasets with Gaussian noise.
Data Setk-Means2DkSCA2DEICC2DkSCR2DDC
ACCACCACCACCACC
IMM g 0.05 93.06 ± 0.8895.31 ± 0.0295.28 ± 0.1595.92 ± 0.2895.89 ± 0.05
IMM g 0.1 91.62 ± 0.9195.29 ± 0.1295.17 ± 0.0295.56 ± 0.5095.83 ± 0.03
ORL g 0.05 95.09 ± 0.3396.65 ± 0.1195.37 ± 0.1296.37 ± 0.1995.68 ± 0.13
ORL g 0.1 94.80 ± 0.7295.32 ± 0.0895.31 ± 0.0895.87 ± 0.3595.59 ± 0.05
Yale g 0.05 90.01 ± 2.0092.94 ± 0.5490.38 ± 0.5392.89 ± 0.0393.53 ± 0.53
Yale g 0.1 89.73 ± 1.3592.64 ± 0.1590.01 ± 0.0292.76 ± 0.9693.29 ± 0.08
AR g 0.05 97.47 ± 0.0798.43 ± 0.0898.26 ± 0.3498.41 ± 0.0698.51 ± 0.03
AR g 0.1 97.41 ± 0.0898.08 ± 0.0198.01 ± 0.0898.12 ± 0.0398.44 ± 0.01
FERET g 0.05 96.40 ± 0.0999.09 ± 0.0298.42 ± 0.0598.64 ± 0.1199.06 ± 0.01
FERET g 0.1 96.03 ± 0.1699.01 ± 0.0198.27 ± 0.1598.62 ± 0.0199.05 ± 0.02
Average ACC94.1696.2895.4596.3296.49
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Guo, Y.; Hua, X. Robust p-Norm Two-Dimensional Discriminative Clustering for Image Data. Appl. Sci. 2026, 16, 8883. https://doi.org/10.3390/app16178883

AMA Style

Guo Y, Hua X. Robust p-Norm Two-Dimensional Discriminative Clustering for Image Data. Applied Sciences. 2026; 16(17):8883. https://doi.org/10.3390/app16178883

Chicago/Turabian Style

Guo, Yanru, and Xiangyu Hua. 2026. "Robust p-Norm Two-Dimensional Discriminative Clustering for Image Data" Applied Sciences 16, no. 17: 8883. https://doi.org/10.3390/app16178883

APA Style

Guo, Y., & Hua, X. (2026). Robust p-Norm Two-Dimensional Discriminative Clustering for Image Data. Applied Sciences, 16(17), 8883. https://doi.org/10.3390/app16178883

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop