Neither Global Nor Local: A Hierarchical Robust Subspace Clustering For Image Data
Maryam Abdolali, Mohammad Rahmati

TL;DR
This paper introduces a hierarchical robust subspace clustering method that combines local patch-based and global representations to improve robustness against noise, occlusion, and disguise in image data.
Contribution
A novel hierarchical framework that integrates local and global data representations for enhanced robustness in subspace clustering.
Findings
Effective in handling noise, occlusion, and disguise
Outperforms existing methods on real datasets
Provides robust clustering results in complex scenarios
Abstract
In this paper, we consider the problem of subspace clustering in presence of contiguous noise, occlusion and disguise. We argue that self-expressive representation of data in current state-of-the-art approaches is severely sensitive to occlusions and complex real-world noises. To alleviate this problem, we propose a hierarchical framework that brings robustness of local patches-based representations and discriminant property of global representations together. This approach consists of 1) a top-down stage, in which the input data is subject to repeated division to smaller patches and 2) a bottom-up stage, in which the low rank embedding of local patches in field of view of a corresponding patch in upper level are merged on a Grassmann manifold. This summarized information provides two key information for the corresponding patch on the upper level: cannot-links and recommended-links.…
| Approach | Parameters | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Extended Yale B | AR | Coil 20 | |||||||
| LGSSC |
|
|
|
||||||
| MG-SSC | , , | , , | , , | ||||||
| SSC | |||||||||
| LRR | |||||||||
| EDSC |
|
|
|
||||||
| , | , | , | |||||||
| LRSC | , | , | , | ||||||
| Algorithm | LG-SSC | MG-SSC | SSC | LRR | EDSC | LRSC | |
| 2 subjects | |||||||
| ACC | 99.92 | 99.91 | 98.14 | 89.69 | 97.35∗ | 99.48∗ | 96.23 |
| NMI | 99.54 | 99.38 | 93.16 | 66.69 | - | - | 82.05 |
| ARI | 99.70 | 99.66 | 94.29 | 68.13 | - | - | 86.23 |
| 3 subjects | |||||||
| ACC | 99.42 | 99.87 | 96.70 | 79.09 | 96.35∗ | 99.11∗ | 93.55 |
| NMI | 99.04 | 99.43 | 92.75 | 59.61 | - | - | 81.06 |
| ARI | 98.99 | 99.62 | 92.61 | 53.22 | - | - | 82.61 |
| 5 subjects | |||||||
| ACC | 99.35 | 99.78 | 95.68 | 65.46 | 94.89∗ | 98.49∗ | 90.46 |
| NMI | 99.02 | 99.32 | 91.56 | 54.53 | - | - | 80.74 |
| ARI | 98.85 | 99.46 | 90.17 | 39.07 | - | - | 78.99 |
| 8 subjects | |||||||
| ACC | 99.41 | 99.72 | 94.13 | 59.02 | 93.93∗ | 97.69∗ | 76.36 |
| NMI | 98.54 | 99.35 | 90.58 | 56.34 | - | - | 70.71 |
| ARI | 98.65 | 99.38 | 86.44 | 36.27 | - | - | 59.15 |
| 10 subjects | |||||||
| ACC | 99.68 | 99.68 | 92.60 | 60.42 | 92.76∗ | 97.19∗ | 66.56 |
| NMI | 99.33 | 99.33 | 89.37 | 59.79 | - | - | 66.27 |
| ARI | 99.31 | 99.31 | 82.72 | 38.13 | - | - | 49.23 |
| #subjects | Metric | LG-SSC | MG-SSC | SSC | LRR | EDSC | S3C | LRSC | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 15 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 20 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 30 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 38 |
|
|
|
|
|
|
|
|
| #subjects | Metric | LG-SSC | MG-SSC | SSC | LRR | EDSC | S3C | LRSC | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 10 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 20 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 50 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 75 |
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
| 100 |
|
|
|
|
|
|
|
|
| Metric | LG-SSC | MG-SSC | SSC | LRR | EDSC | S3C | LRSC | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| s=2 | s=3 | s=4 | s=2 | s=3 | s=4 | s=2 | s=3 | s=4 | |
|---|---|---|---|---|---|---|---|---|---|
| AR (10) | 60.38 | 100 | 99.61 | 86.54 | 100 | 99.62 | 100 | 100 | 22.31 |
| YALE B (10) | 100 | 100 | 99.84 | 99.84 | 100 | 99.68 | 99.68 | 100 | 18.13 |
| COIL-20 | 89.44 | 77.84 | - | 77.22 | 74.16 | - | 74.37 | 72.5 | - |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Neither Global Nor Local: A Hierarchical Robust Subspace Clustering For Image Data
Maryam Abdolali Department of Computer Engineering and Information Technology, Amirkabir University of Technology, Tehran, Iran. Email addresses: [email protected] (Maryam Abdolali), [email protected] (Mohammad Rahmati)
Mohammad Rahmati∗
Abstract
In this paper, we consider the problem of subspace clustering in presence of contiguous noise, occlusion and disguise. We argue that self-expressive representation of data in current state-of-the-art approaches is severely sensitive to occlusions and complex real-world noises. To alleviate this problem, we propose a hierarchical framework that brings robustness of local patches-based representations and discriminant property of global representations together. This approach consists of 1) a top-down stage, in which the input data is subject to repeated division to smaller patches and 2) a bottom-up stage, in which the low rank embedding of local patches in field of view of a corresponding patch in upper level are merged on a Grassmann manifold. This summarized information provides two key information for the corresponding patch on the upper level: cannot-links and recommended-links. This information is employed for computing a self-expressive representation of each patch at upper levels using a weighted sparse group lasso optimization problem. Numerical results on several real datasets confirm the efficiency of our approach.
Keywords: sparse subspace clustering, multi-scale, grassmann manifold, group lasso, spectral clustering, graph fusion
1 Introduction
Detecting low-dimensional structures in high-dimensional data is essential to many applications in different areas including computer vision and image processing. In many of these applications, data often have fewer degree of freedom than the original high ambient dimension. This observation led to development of several classical approaches to find the low-dimensional representation for the data [8, 14, 7]. Huge family of these approaches, including the well-known Principal Component Analysis (PCA) method [18], assumes that the data lie in a single low-dimensional subspace/manifold. However, in many applications, data points are distributed around several subspaces and should better be represented by multipe low-dimensional subspaces. Modeling data with collection of subspaces led to a more general problem that is often referred to as Subspace Clustering [39]:
Definition 1 (Subspace Clustering): Let be a collection of data points from unknown subspaces with intrinsic dimensions (where ). The goal of subspace clustering is to segment the data points according to their underlying subspaces and to identify parameters of each subspace.
This problem has received considerable attention over the past decade and many attempts have been made to address it [19, 41, 37, 15, 30, 36, 45]. Among them, a family of approaches based on recent developments in low-rank and sparse representation have achieved state-of-the-art results [10, 11, 25, 24]. These algorithms have two major key steps: 1) Constructing an affinity matrix (neighborhood graph) using self-expressiveness property of data [10, 43], which assumes that each data point can be written as linear combination of other data points, and 2) Obtaining the data clusters by applying spectral clustering on the affinity matrix. In particular, the affinity matrix in these algorithms is constructed by optimizing the following problem:
[TABLE]
where is the data matrix (with -dimensional data points as columns and the number of data points), is the coefficient matrix and is the error matrix. and denote the regularizations on the matrices and respectively. The three main representative methods among these algorithms, namely SSC (Sparse Subspace Clustering) [11], LRR (Low Rank Representation) [24] and LSR (Least Square Regression) [28] differ in the function of . In particular, is norm for SSC which prioritizes sparse solutions, nuclear norm (sum of singular values of input matrix) for LRR which prioritizes low rank solutions and Frobinuis norm for LSR. Once the problem in (1.1) is optimized, the affinity matrix is obtained by symmetrizing the coefficient matrix via . The clusters are next calculated by applying spectral clustering on the affinity matrix.
Even though advances in sparse and low-rank representation literature contributed significantly to the development of elegant subspace clustering algorithms, these algorithms are based on global self-expressive representation of data in which the entire data point is expressed as linear combination of other data points. However, clustering based on global data representation can be easily affected by occlusions and severely corrupted noisy blocks [3] and the conventional or Forbinuis norms which are often utilized to regularize the error matrix are incapable to model the complexity of real-world data corruptions [29]. On the other hand, block-wise (local) representations tend to be more robust to occlusions and contiguous noises but combining the clustering results of the local patches by a trivial majority voting scheme might drastically be affected by non-informative patches.
In order to overcome this major shortcomming, we propose an efficient hierarchical framework that combines the advantages of local representation with global self-expressive representation of data. Specifically, in our approach, each data point is divided into a collection of blocks/patches and the local connectivities of these patches are summarized using the corresponding low-dimensional embeddings on a Grassmann manifold [38]. This local connectivity information is then used to guide the global self expressive representation by providing prior knowledge on 1) which connections should be avoided using weighted sparse regularization and 2) which connections are recommended by the local representations using group sparse regularization [12].
The main contribution of this paper is to propose a novel framework, dubbed as LG-SSC (Locally-Guided SSC), to bridge the gap between discriminative global representation and robust local alternative in order to achieve a robust discriminant representation for subspace clustering. The proposed framework includes of two key steps: 1) combining diverse characteristics of local patches using a hierarchical low-dimensional analysis on Grassmann manifolds and 2) computing global sparse self-expressive representation of data using group lasso and weighted sparse regularizations. As we will show, our approach is more robust to occlusions, illumination effects and continuous block noises.
This paper is an extension of the work originally presented in [2]. Inspired by the significant increase in clustering accuracy using the self-expressive representation of local patches in our preliminary work, we further utilized this information in a different hierarchical approach. In particular, in this paper, the local information fusion in each level is fed back to guide the calculation of coefficient matrix in upper level in order to achieve a more robust representation. This approach which can be considered as coefficient calculation-level fusion exhibits stronger robustness and clustering accuracy compared to the previous subspace estimation-level fusion.
The rest of the paper is organized as follows: In Section 2, the related works are briefly reviewed. After presenting the motivation behind our proposed approach in Section 3, the detailed explanation of the two suggested major steps is elaborated in Section 4. We evaluate the performance of proposed approach in Section 5 and finally conclude our work in Section 6.
2 Related Works
Self-expressive based subspace clustering methods enjoy broad theoretical guarantees for data that is drawn perfectly from a collection of low-dimensional subspaces [34, 11] and recently these foundations have been extended to noisy cases as well [44]. An intuitive simple way for modeling errors was first proposed in [10] where self-expressiveness term was relaxed to . The elements of error matrix were generally modeled by independent Laplacian or Gaussian distributions using or Frobinuis norms. Even though this has the advantage of simplicity and maintaining the convexity of the optimization problem, in practice error matrices are generated by more complicated variations and specifically the independence assumption between error elements in these models is too restrictive.
To further improve robustness, other distributions were used to model the noise, including Cauchy [23] and Mixture of Gaussian [46]. In [40] they consider the errors directly in the original space by proposing a non-convex formulation in which they assumed that the corrupted data are generated by linear combination of error matrix and clean data matrix and the self-expressiveness holds for the clean data. Even though these approaches show some improvements in dealing with practical noise, they still assume that the elements of the error matrix are independent. However, the contiguous error caused by occlusion, illumination effects and disguise does not follow this assumption.
There are several approaches that tried to improve robustness in the representation space instead of the input space. Lu et al [27] utilized the relatively new Trace Lasso norm to regularize the coefficient matrix in order to improve the grouping effect. In [33], an iterative approach was proposed in which a linear transformation was learned such that low-rank structures for data from the same subspaces were restored and a maximally separated structure for data from different subspaces was obtained. In [22], a unified optimization framework for learning both the coefficient matrix and the segmentation was presented. In this iterative approach, at each iteration, a segmentation matrix was constructed to help re-weighting the representation matrix in order to avoid certain connections. Lu at al [26] proposed a block diagonal induced regularizer to explicitly enforce the Laplacian matrix corresponding to the coefficient matrix to be block diagonal. This enforces the neighborhood graph to contain exactly connected components and might reduce the number of wrong connections.
Although the above approaches could enhance the robustness in some cases, an important shortcoming is that they are based on global representation and hence can be easily affected by severely corrupted regions in data points. Patch-based image representations were often used to increase robustness to continuous noises in sparse representation literature for classification [47, 35, 20]. Multi-scale patch based regularization using nuclear norm for modeling the error has shown effectiveness for face classification [29] and single low-rank subspace estimation [1]. In our previous work, MG-SSC (Multi-Graph based SSC) [2], a multi-layer graph was constructed by dividing each data into patches in different sizes and computing the sparse affinity matrix corresponding to each collection of patches using SSC. A summarized low-dimensional representation of this multi-layer graph is computed using a weighted subspace analysis of individual graphs on a Grassmann manifold. In this paper, the advantages of global and local (patch-based) representations are brought together for the problem of subspace clustering in a novel different framework. In the following sections, the details of the proposed approach are discussed thoroughly.
3 The importance of local representations in robust subspace clustering
In many practical subspace clustering cases, the data could be partially occluded or corrupted. Even in these cases, detecting the low-dimensional structures may be still possible using the redundancy that is often present in high-dimensional data. However, corrupted samples might affect the neighborhood graph severely such that they lead to a completely wrong understanding of data structure.
We illustrate this concept with a real world example. We consider facial images of three subjects from AR database [31] (more on this database in the experiment section). Few samples from the selected images are shown in Figure 3.1. As it can be seen several varieties of corruptions are present in these images, including disguise using sun glasses, scarves and illumination variations. It is usually assumed that facial images of a subject under different lighting conditions can be approximated by a nine dimensional linear subspace [4] and hence, a collection of facial images of several subjects lie on a union of nine dimensional subspaces [10].
We select three subsets from these images: which includes images with neither illumination effect nor disguise, which includes images with no disguise but under different illumination effects and which includes the whole images under both variations. The SSC algorithm is applied on these subsets of images separately. The normalized spectral embedding of the three corresponding coefficient matrices are plotted in Figure 3.2. In particular, for each coefficient matrix , the corresponding Laplacian matrix is calculated as where is the diagonal matrix with its th entry defined as . The normalized eigenvectors corresponding to the second and third smallest eigenvalues of the Laplacian matrix provide a 2-dimensional representation for the data affinity. The representations for three individuals are plotted in three different colors (red, blue and black). By comparing the three embedded data in Figure 3.2 (a) - (c), it can be seen that illumination and especially occlusion can affect the global self-expressive coefficients. Especially the occlusion (sun glasses and scarves) makes the detection of the three subspaces impossible.
In contrast to global representations, patch-based representations can be more robust to severely corrupted regions. To illustrate this, we divide each facial image in (which contains all images of the three selected individuals) to 4 patches and plot the spectral embedding of the 4 patches right next to the corresponding patch in Figure 3.3.111The spectrum of each patch is obtained using the proposed algorithm by dividing it into 4 more patches. We explain this in the next section. As it can be noticed, each local representation provides some information on the connectivities within data points, however, in almost none of them, the 3 clusters are perfectly separated. Moreover, with no prior knowledge we cannot identify the best representation among these 4 representations. Our proposed framework, based on multi-layer graph fusion, obtains a (spectral kernel) summary representation from these local representations (which is shown in Figure 3.3 (b) for complicity). This summary representation is a matrix with values between -1 and 1, whose entries quantify the possibility of two corresponding data points belonging to the same subspace according to the local representations. The values which are closer to 1 indicate the higher possibility. This information is used to improve the quality of global representation (details are presented in the next section). The final global low-dimensional embedding corresponding to our proposed LG-SSC is plotted in Figure 3.3 (c) and it can be already seen that not only the three clusters are perfectly separated but also all the samples within each cluster have the exact same embedding in this case. This suggests that our proposed framework can improve within clusters connectivities along with overall clustering accuracy.
4 Proposed Framework: Locally-Guided SSC
The proposed hierarchical framework, dubbed as LG-SSC, consists of a top-down stage and a bottom-up stage. LG-SSC has two major ingredients in each level of this hierarchy: 1) Dividing the data into local patches (in top-down stage) and summarizing the connectivity information between them (in bottom-up stage) and 2) guiding the detection of low-dimensional structures using this information (in bottom-up stage). In this section, details of these two key parts are presented.
4.1 Division and local information summarization
Given the data matrix , we construct a hierarchical structure composed of levels. At the top of this structure is the given data matrix. In the next level, the image data is divided into patches (typically 4 or 9). The division is carried out for each image data in its (2d) matrix form. This process is repeated for each patch in the next level. The created patches indicate the field of view of the corresponding patch from upper level. This procedure is shown in Figure 4.1 for and for one image data. Let the whole gallery patches at level be represented by where is the number of patches that are generated in the level of and () is the collection of local patches (at the th level) with same coordination (position) from all images. Clearly the patches in the lower levels are smaller in size and generally contain less discriminative information about the whole image data. However, they are more robust to corruptions.
Suppose that in the th level, the collection of patches (where ) are further divided to patches. Hence, at the th level, coefficient matrices can be obtained corresponding to the set of collected patches. We denote these patches and their corresponding coefficient representations by and respectively. () indicates the indices of collection of patches that are generated by dividing the th patch in the upper level. These patches are in the field of view of the collection of patches in . The set contains different types of relationships between the data points. With no prior knowledge, it is highly non-trivial to choose the best representation among them. In fact, different coefficient matrices can be interpreted as different views from the larger patches at the finer level where each coefficient matrix corresponds to an affinity matrix of a graph. Hence, in order to combine the information of the different coefficient matrices, we use a multi-layer graph fusion approach [9] by transforming the information of each representation into a subspace on the Grassmann manifold.
The utilized graph fusion approach [9] is briefly presented as follows: Given different graph affinity matrices with common vertex set representing the data points, the goal is to merge the information provided by different individual graphs. To summarize the intrinsic relationships between the data points (the vertices of the graph), the problem can be mapped to the problem of finding a low-dimensional representation such that it preserves information of each affinity matrix in a meaningful way.
As mentioned in Section 2, for each graph affinity matrix (), there is a corresponding normalized spectral embedding () which can be considered as the low-dimensional representation of the affinity matrix. This spectral embedding can be obtained by simply calculating the eigenvectors corresponding to smallest eigenvalues of the Laplacian matrix (from the affinity matrix). Using the collection of subspace representations of the available affinity matrices, one can naturally define a summary representation of multiple affinity matrices by optimizing the following problem [9]:
[TABLE]
where is the regularization parameter. The first term in the above optimization problem, attempts to find a summary representation from the collection of subspace representations such that the connectivity information of each individual affinity matrix is preserved. The second term is the sum of squared projection distances between and individual subspaces on a Grassmann manifold. This term enforces the summary representation to be close to other subspace representations on the Grassmann manifold. This optimization problem has a closed form solution based on Rayleigh-Ritz theorem [43]. The summary representation can be obtained by calculating the smallest eigenvectors of the following matrix:
[TABLE]
Each row of the matrix is normalized to have unit norm. As we shall see, the subspace representation of the local patches in the th level can be used to calculate the coefficient matrix of the corresponding pacth in the higher level () more efficiently.
4.2 From local summarization to global representations
Following dividing the image data into local patches in different scales, and in order to obtain the global coefficient matrix, a bottom-up process should be carried out. For a clear explanation, suppose we have only two levels () and each data point (an image) is divided into 4 patches (). The overview of LG-SSC for and is illustrated in Figure 4.2. In particular, we start from the coarsest level (second level here) and the regular SSC algorithm is applied on the collection of patches in this level. Hence, 4 sets of affinity matrices are obtained.
Using the methodology in previous subsection, a summary representation () from the 4 local representations can be calculated efficiently. We define the spectral kernel of the summary representation in the embedded space as:
[TABLE]
The matrix provides information on the similarity between samples in the embedded space. The entries with low values indicate the connectivites which local representations highly agree that should be avoided. Therefore, we can indicate the cannot-links by adding an extra penalty on coefficient matrix when the values of are low. We define the matrix as:
[TABLE]
The entries of the matrix have high values when the corresponding entries in have low values. Using this matrix, we obtain the coefficient matrix in the fine level (global representation in this example) by optimizing the following problem:
[TABLE]
where and are regularization parameters and denotes the element-wise (Hadamard) production. This is in fact a weighted lasso optimization problem, where we are adding an extra penalty on the entries of the matrix when the corresponding entries in are high. This can be validated by rewriting the first two terms as:
[TABLE]
where denotes the (i,j)the entry of the input matrix.
Remark 1**.**
The elements of the matrix (here ) can be interpreted as a quantified measure of the possibility that the two corresponding samples belonging to the same subspace according to the obtained summary representation. In particular, the closer the values of these elements are to one, the higher is the possibility of the two samples belonging to the same subspace. Hence, we can drop the additional penalty on entries with high values, specifically the ones higher than a predefined threshold. In practice, this threshold can be set to any value in the range as the proposed framework is not sensitive to this value.
However, the summary representation not only indicates the ”cannot-links” constraints but also contains information about which connections are recommended by local views as well. By applying k-means algorithm on the normalized rows of , an initial grouping of data points based on the summary of local representation is achieved. This grouping information denotes the connectivites that the local representations recommend. Let be the set that contains the indices of data points in each cluster according to . This information is added to the problem (4.7) as following:
[TABLE]
where the third term is the group lasso regularization [12]. Here denotes the th column of the input matrix and indicates the input matrix’s rows within the set . Group lasso [12] is the generalization of standard lasso in which the entries of coefficient matrix corresponding to the indicated groups are either included or excluded from the regression model together. Using this regularization, we encourage the samples to get connected to the samples within the recommended groups (improving connectivity) and simultaneously to get disconnected from the groups that are recommended to be avoided.
This procedure can be easily extended to cases with higher number of levels (). In general, at the bottom level of this hierarchical structure, the typical SSC is applied on the set of patches . In the upper levels, the explained method (with two key steps) is applied on the gallery of patches individually and this procedure is continued until the root level which outputs the final global coefficient representation and the corresponding segmentation result.
The proposed framework not only computes the segmentation based on the global discriminant representation of the data but also takes advantage of robust local knowledge in each level of the hierarchy, leading to a robust discriminant representation.
4.3 Optimization
In this section, we introduce the optimization of the proposed convex problem in (4.4) using Alternating Direction Method of Multipliers (ADMM) [5]. First, we introduce auxiliary matrix and consider the following problem (The superscripts and subscripts in the optimization problem are dropped for ease of reading):
[TABLE]
Next, using penalty parameter and matrix of Lagrange multipliers for the equality constraint, we get the following problem:
[TABLE]
where is the trace operator. Based on ADMM, this problem is optimized using the following iterative procedure:
With an abuse of notation, let be the optimization variables at iteration and be the Lagrangian multiplier at the same iteration:
- •
Find , by minimizing with respect to , while the rest of the variables are fixed by setting the derivative of with respect to to zero:
[TABLE]
The matrix is obtained by solving the above system of linear equations using approaches such as conjugate gradient method.
- •
Find , by minimizing with respect to , while the other variables are fixed. Note that we can rewrite this as:
[TABLE]
where th entry of W is defined by: and we can simplify it more as:
[TABLE]
The constraint of can be considered by projecting the solution to the above problem on this constraint. This problem is group-separable, so we consider:
[TABLE]
By taking the (sub)gradient of the above problem, we have:
[TABLE]
where S is a matrix which is defined as following:
[TABLE]
denotes -th element of the vector . By setting (4.6) to zero:
[TABLE]
Hence the matrix C can be updated as:
[TABLE]
where:
[TABLE]
Using this definition, (4.7) can be further summarized as:
[TABLE]
Here is the shrinkage-thresholding operator and is defined as:
[TABLE]
- •
Find by gradient ascend:
[TABLE]
These steps are repeated until convergence is met. Note that the problem in (4.5) is convex and consists of two separable blocks of variables, hence, the solution obtained by ADMM is guaranteed to be optimal. Algorithm 1 summarizes the updates for the ADMM implementation.
5 Experiments
In this section, we demonstrate the effectiveness of LG-SSC in presence of illumination effects, occlusion and disguise using 3 publicly available databases for face and object clustering: Extended Yale B [13, 21], AR database [31] and Coil-20 [32]. The algorithm and all the experiments are implemented in Matlab and run on a computer with Intel Core i7-3770 CPU, 3.40 GHZ, 16 GB RAM.
Evaluation metrics: To evaluate the quality of clustering, we use three well-known metrics, namely Accuracy (ACC), Normalized Mutual Information (NMI) [42] and Adjusted Rand Index (ARI) [16]. The accuracy of the clustering algorithm is calculated by following formula:
[TABLE]
In NMI, the mutual information between segmentation result and ground-truth clusters is calculated and is then scaled between 0 and 1. ARI computes the Rand Index score and corrects it for chance. We multiply the values of NMI and ARI by 100 to have an easier comparison with ACC.
Compared algorithms: The performance of proposed LG-SSC algorithm is compared with 6 subspace clustering algorithms: SSC [11], LRR [24], EDSC [17], [22], LRSC [40] and MG-SSC [2] (our preliminary work). The parameters of each algorithm are tuned for the best result and are reported in Table 5.1 for each database.
5.1 Extended Yale B face data set
The Extended Yale B database [13, 21] contains 2,414 frontal-face images of 38 humans. There are 64 images, each of the size pixels, per individual. The face images were captured under various lighting conditions. Similar to [11], the images were downsampled to pixels. For LG-SSC, we set and . In order to study the effect of the number of clusters on the clustering performance, we implement 2 different settings of experiments: 1) We follow the setting utilized in [11], which has been implicitly specified as the general setting for reporting the performance of subspace clustering algorithms on this database over the past years. In particular, for clusters, the images of 38 subjects are divided into 4 groups of [1-10], [11-20], [21-30] and [31-38]. For clusters, all choices of possible different trials for each group is considered and for subjects, only the first three groups are considered. The subspace clustering algorithms are applied on the corresponding subsets of images and the average ACC, NMI and ARI values over these subsets are reported in Table 5.2. The numbers indicated with * are taken from the corresponding papers. 2) For , we simply select the first images of the database and apply the subspace clustering algorithms. The values of three metrics ACC, NMI and ARI for each subspace clustering algorithm is reported in Table 5.3.
We observe that:
- •
LG-SSC and MG-SSC significantly outperform other approaches in all cases. Specifically, for , the accuracy of LG-SSC is more than 20% higher than SSC which is the basic foundation of this approach. The results indicate the efficiency of hierarchical structure of LG-SSC in dealing with sever illumination effects.
- •
MG-SSC slightly performs better than LG-SSC when the number of clusters is low. However, by increasing the number of clusters to 20, LG-SSC outperforms MG-SSC. This confirms that by gradually feeding summarized information of local patches in a hierarchical framework, the robustness can increase, especially in more challenging cases.
- •
The performance of LG-SSC is quite stable with respect to the number of clusters.
- •
The performance of SSC, LRR, and LRSC decreases significantly as the number of clusters increases.
- •
Sparse-based approaches, in particular SSC and , perform generally better compared to low-rank based approaches of LRR and LRSC.
- •
EDSC benefits from a specific post-processing step which tends to be different from the other 6 approaches and this post-processing of affinity matrix plays a major role for the accuracy of clustering. We noted that without this post-processing step, the quality of the obtained coefficient matrix of EDSC is similar to LRR and LRSC. This makes sense as EDSC reguralizes the coefficient matrix using Frobinius norm which exhibits similar characteristics as nuclear norm in subspace clustering.
5.2 AR face data set
The AR database [31] contains frontal face images for 100 individuals (50 men and 50 females). There are 26 colored pictures collected for each person. The images include facial variations such as illumination changes, different expressions and facial disguises using sunglasses and scarves. Compared to Extended Yale B, this database is more challenging because of occlusions and fewer number of images per individual. We downsampled each image to pixels and converted them to gray scale. We set and . The performance of LG-SSC with respect to different number of clusters, is compared with MG-SSC, SSC, LRR, LRSC, EDSC and in table 5.4. We observe that:
- •
Performance of almost all approaches (except LRR, MG-SSC and LG-SSC) degraded compared to Extended Yale B database. This result is expected as AR database is a more challenging database and with higher number of clusters.
- •
LG-SSC has a better performance compared to other approaches in all cases by a large margin. The robustness of LG-SSC is clearly evident for this database and the patch-based representations are elegantly guiding the global self-expressive representation to a more robust clustering segmentation.
- •
LG-SSC consistantly performs better than MG-SSC which further highlights the efficiency of LG-SSC in combining the information of local patches with calculation of robust global self-expressive representation.
- •
The occlusions are degrading the performance of SSC, EDSC, and LRSC even in the simplest case of 5 clusters. This shows the sensitivity of these approaches to the occlusions and contiguous corruptions.
- •
LRSC attempts to recover a clean dictionary by optimizing a nonconvex problem, however this approach assumes that the data is contaminated by sparse error which is clearly violated in this database.
- •
The post-processing step of EDSC cannot improve the performance in this case. This is due to the severely corrupted global representation that makes the correction difficult (if not impossible).
- •
The third best performance is achieved by LRR. The LRR approach is considered as the extension of RPCA [6] for the union of subspaces. Dense representations of nuclear norm appears to be more suitable compared to sparse representations for the data with complex noise structures.
For better visualization and comparison, the coefficient matrices corresponding to each algorithm for the first 5 individuals are plotted in Figure 5.1. The block diagonal structure in LG-SSC’s coefficient matrix is clearly evident. Two major components for the success of a subspace clustering algorithm, namely, (i) subspace preserving connections and (ii) strong connectivity withing each subspace is present for LG-SSC. However, the coefficient matrices of other approaches are contaminated due to illumination effects and disguises which is affecting the clustering performance as well. Note that MG-SSC does not output a final coefficient matrix, hence the comparison is done with other 5 approaches.
5.3 Coil-20 data set
Columbia Object Image Library(COIL-20) [32] contains 1440 gray-scale images of 20 objects in different poses. The images of the objects were taken by placing objects on a turntable against a black background. There are 72 images per object, each of size pixels. We downsampled each image to pixels. Even though, this database is clean, with no noise or occlusions, it would be still interesting to observe the performance of LG-SSC in dealing with data from clean subspaces. We divided each image to 9 overlapping patches and set . This is due to the fact that for images of the objects, the patches closer to the center of image contain more meaningful information compared to other patches.The performance of our proposed LG-SSC is compared with other subspace clustering algorithms in Table 5.5. We can conclude that:
- •
Even though MG-SSC fails to increase the accuracy in dealing with clean images of objects, LG-SSC is able to increase the clustering accuracy by more than 10%. This suggests that locally guided self-expressiveness might improve the quality of clustering in the challenging case of close subspaces.
- •
EDSC enjoys the benefits of post-processing the coefficient matrix and has the second best performance.
- •
sparse based approaches (SSC and ) have higher performance compared to low-rank based algorithms (LRR and LRSC). In general sparse based approaches have stronger theoretical guarantees compared to low-rank based alternatives and hence, for the clean data sets, they are usually expected to perform better.
5.4 Parameter Analysis
In LG-SSC, there are three parameters that are used in the optimization problem (4.4) which controls the trade-off between four qualities: (i) sparsity, (ii) ignoring cannot-links, (iii) respecting the recommended-links and (iv) the self-expressive reconstruction error. Following the methodology in [11], we set the regularization parameter as where is tuned for each dataset. In this paper, we set this parameter to the values that were commonly used and reported in subspace clustering literature.
The behavior of LG-SSC with respect to and is empirically validated on all three databases (AR, Extended Yale B and Coil-20). We consider the clustering performance for the first 10 subjects of AR and Yale B and 20 objects of Coil-20. The clustering accuracy with respect to different values of these parameters is illustrated for each database in Figure 5.2. It can be seen that for values of and , the accuracy is quite stable for all three cases. In particular, Yale B is the least sensitive one to the values of and and Coil-20 is the most sensitive database. For Yale B database, as long as and are not too small, the accuracy is almost 100%. Interestingly by setting the and , the accuracy is still 100%. This suggests that for this database, the ”cannot-links” information is more important compared to the ”recommended-links” information. However, for Coil-20, the recommended-links information plays an important role in boosting the accuracy of the basic SSC (which is around 78.68%).
We also evaluate the effect of patch sizes () and the number of levels () on the clustering accuracy. We consider and . The performance of LG-SSC for different values of and for the first 10 subjects of Yale B and AR and 20 objects of Coil-20 are reported in Table 5.6. For the AR database, the clustering accuracy is not affected by the patch-size as long as . Because for and , the patches at the coarse level are not robust themselves and they contain occluded parts of image, hence, the robustness is not transferred to the fine scale. This can be confirmed by considering the case where and . In this case, the accuracy is 100% because the patches in the second level are small enough to contain robust discriminant information. By increasing the number of levels and patches to 4 ( and ), the accuracy decreases significantly to 22.31%. In this case, the patches at the last level are very small and hence, neither robust nor discriminant information can be fed into upper levels. For Yale B, which is relatively less challenging compared to AR, the accuracy is almost 100% in all cases except for the case with and where the patches get intuitively very small. For this database, is sufficient to increase robustness to illumination variations. Interestingly, the best accuracy for the Coil-20 database is achieved only for and . Note that in this case, each image is pixels and hence we do not consider . For object clustering, the edges play a critical role, hence the patches should be considered such that they contain enough edge information for accurate clustering.
5.5 Neither Global Nor Local
In this section, we discuss the role of multi-layer graph fusion approach and emphasize on the point that almost neither of individual local patches nor global data might lead to a robust discriminant representation. However, merging the local representations using their low-dimensional embedding on Grassmann manifold can provide a summary representation which highlights the information that majority of local representations tend to agree on. Hence, the clustering accuracy of each local patch for the three databases (all samples for each database are considered) are plotted in Figure LABEL:local. For the AR dataset, two cases of and are considered. As can be seen, none of local patches reach an accuracy higher than 65% but applying a k-means on summarized low-dimensional embedding of these 16 patches lead to an accuracy near 85% (first column from right). LG-SSC further boosts this robustness to near 90%. When , the same observation in Table 5.6 is repeated and not only neither of local patches have an accuracy higher than 65% but also the merged information of these 4 local patches does not boost the performance significantly. As mentioned previously, this is because none of these patches have robust representations. In Yale B, the coefficient matrix corresponding to the 4th patch has the highest clustering accuracy and LG-SSC is improving this accuracy without getting affected by other patches, eg. the 1st patch. For Coil-20 database, not only the local patches do not lead to high clustering accuracy but also the merged low-dimensional embedding does not increase the clustering accuracy significantly as well. However, LG-SSC still increases the clustering accuracy. This is due to the fact that the merged information induces the global sparse self-expressive representation and for this database, the local representations provide sufficient information to avoid miss-clustering of closely related objects.
6 Conclusion
In this paper, we uncovered the importance of local representations in improving the robustness of self-expressive based subspace clustering approaches. The proposed hierarchical approach bridges the gap between robust local representations and discriminant global alternative in order to obtain a robust discriminant self-expressive representation for the input data. This approach consists of two major key ingredients: 1) Efficiently summarizing local based representations using low-rank embedding on a Grassmann manifold to obtain cannot-links and recommended links which local patches agree on them. 2) Employing this summarized information into the optimization problem for calculating self-expressive representation in each level using weighted group lasso regularization. Robustness of proposed approach to occlusion and complex noise was confirmed by experimental results.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Abdolali, M., Rahmati, M.: Multiscale decomposition in low-rank approximation. IEEE Signal Processing Letters 24 (7), 1015–1019 (2017)
- 2[2] Abdolali, M., Rahmati, M.: From local to global subspace clustering for image data. In: ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 3787–3791. IEEE (2019)
- 3[3] Abdolali, M., Rahmati, M.: Robust subspace clustering for image data using clean dictionary estimation and group lasso based matrix completion. Journal of Visual Communication and Image Representation (2019)
- 4[4] Basri, R., Jacobs, D.W.: Lambertian reflectance and linear subspaces. IEEE Transactions on Pattern Analysis & Machine Intelligence (2), 218–233 (2003)
- 5[5] Boyd, S., Parikh, N., Chu, E., Peleato, B., Eckstein, J., et al.: Distributed optimization and statistical learning via the alternating direction method of multipliers. Foundations and Trends in Machine learning 3 (1), 1–122 (2011)
- 6[6] Candès, E.J., Li, X., Ma, Y., Wright, J.: Robust principal component analysis? Journal of the ACM (JACM) 58 (3), 11 (2011)
- 7[7] Carreira-Perpinán, M.A.: A review of dimension reduction techniques. Department of Computer Science. University of Sheffield. Tech. Rep. CS-96-09 9 , 1–69 (1997)
- 8[8] Cayton, L.: Algorithms for manifold learning. Univ. of California at San Diego Tech. Rep 12 (1-17), 1 (2005)
