Integrating Tensor Similarity to Enhance Clustering Performance
Hong Peng, Yu Hu, Jiazhou Chen, Haiyan Wang, Yang Li, and Hongmin Cai

TL;DR
This paper introduces a tensor-based high-order similarity measure to improve clustering accuracy, especially in noisy or imbalanced datasets, by complementing traditional pairwise similarities.
Contribution
It proposes a novel tensor similarity approach that enhances clustering robustness by capturing spatial information and integrating it with existing pairwise similarities.
Findings
IPS2 outperforms previous methods on real-world datasets.
The high-order similarity improves robustness to noise and sampling imbalance.
The method effectively handles under-sampled and noisy data.
Abstract
The performance of most the clustering methods hinges on the used pairwise affinity, which is usually denoted by a similarity matrix. However, the pairwise similarity is notoriously known for its vulnerability of noise contamination or the imbalance in samples or features, and thus hinders accurate clustering. To tackle this issue, we propose to use information among samples to boost the clustering performance. We proved that a simplified similarity for pairs, denoted by a fourth order tensor, equals to the Kronecker product of pairwise similarity matrices under decomposable assumption, or provide complementary information for which the pairwise similarity missed under indecomposable assumption. Then a high order similarity matrix is obtained from the tensor similarity via eigenvalue decomposition. The high order similarity capturing spatial information serves as a robust complement for…
| Dataset | Samples | Features | Clusters |
|---|---|---|---|
| Soybean | 47 | 35 | 4 |
| SCADI | 70 | 200 | 7 |
| BBCSports | 60 | 2544 | 3 |
| Yale | 55 | 4096 | 5 |
| Dataset | SC | SSC | CAVE | HGC | PPC | IPS2 |
| Pairwise | High order | Fused | ||||
| ACC | ||||||
| Soybean | 0.7870.031 | 0.5420.063 | 0.8940.030 | 0.6170.030 | 0.8090.071 | 0.9360.040 |
| SCADI | 0.8600.031 | 0.2960.055 | 0.5640.007 | 0.3710.030 | 0.8420.077 | 0.8770.040 |
| BBCSports | 0.5330.086 | 0.4920.073 | 0.6170.030 | 0.4830.030 | 0.6170.093 | 0.8000.100 |
| Yale | 0.4910.081 | 0.4280.072 | 0.4550.030 | 0.4000.030 | 0.4730.079 | 0.6000.069 |
| ARI | ||||||
| Soybean | 0.5760.090 | 0.2050.073 | 0.7390.090 | 0.3610.090 | 0.6100.193 | 0.8290.119 |
| SCADI | 0.7010.090 | 0.0880.053 | 0.4300.005 | 0.1070.090 | 0.6440.193 | 0.7610.119 |
| BBCSports | 0.0550.100 | 0.0800.083 | 0.1520.090 | 0.0350.090 | 0.3650.115 | 0.5230.132 |
| Yale | 0.2140.080 | 0.1240.088 | 0.1900.090 | 0.1030.090 | 0.1500.089 | 0.2470.061 |
| F-SCORE | ||||||
| Soybean | 0.6800.057 | 0.4190.058 | 0.8080.584 | 0.5390.058 | 0.7110.124 | 0.8740.076 |
| SCADI | 0.8120.057 | 0.3000.049 | 0.2800.058 | 0.7750.124 | 0.8420.077 | 0.8500.026 |
| BBCSports | 0.4840.061 | 0.4190.058 | 0.4800.584 | 0.3690.058 | 0.5810.069 | 0.6800.081 |
| Yale | 0.3670.066 | 0.3160.067 | 0.3410.079 | 0.2840.058 | 0.3070.074 | 0.3870.051 |
| NMI | ||||||
| Soybean | 0.7280.067 | 0.3140.075 | 0.8130.079 | 0.3160.079 | 0.8030 .156 | 0.8830.086 |
| SCADI | 0.6940.067 | 0.2610.049 | 0.3400.079 | 0.6570.156 | 0.8420.077 | 0.7410.086 |
| BBCSports | 0.2400.111 | 0.1350.088 | 0.3910.079 | 0.1090.079 | 0.3740.113 | 0.5390.129 |
| Yale | 0.3480.067 | 0.2710.096 | 0.3590.030 | 0.2230.079 | 0.2980.080 | 0.3760.056 |
| PURITY | ||||||
| Soybean | 0.7870.030 | 0.5730.055 | 0.8940.030 | 0.6170.030 | 0.8090.077 | 0.9360.040 |
| SCADI | 0.8600.030 | 0.5470.041 | 0.7770.007 | 0.5710.030 | 0.8420.077 | 0.8770.040 |
| BBCSport | 0.5330.072 | 0.4970.072 | 0.6170.030 | 0.4830.030 | 0.6830.090 | 0.8000.098 |
| Yale | 0.5270.078 | 0.4450.070 | 0.5090.584 | 0.4180.030 | 0.4730.075 | 0.6000.066 |
| Datasets | SC | HGC | AVER | SSC | PPC | IPS2 |
|---|---|---|---|---|---|---|
| Soybean | 1.54 | 4.47 | 3.54 | 803.11 | 15.46 | 16.52 |
| SCADI | 2.18 | 14.73 | 5.08 | 1267.10 | 57.93 | 58.91 |
| BBCSports | 3.91 | 7.53 | 5.65 | 1074.36 | 30.07 | 31.44 |
| Yale | 8.20 | 12.58 | 8.45 | 1992.46 | 30.14 | 30.96 |
| Time cost | - |
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.
Taxonomy
TopicsTensor decomposition and applications
Integrating Tensor Similarity to Enhance Clustering Performance
Hong Peng, Yu Hu, Jiazhou Chen, Haiyan Wang, Yang Li, and Hongmin Cai The authors are with the Department of Computer Science and Engineering, South China University of Technology, Guangdong, China.
E-mail: [email protected]
Abstract
The performance of most the clustering methods hinges on the used pairwise affinity, which is usually denoted by a similarity matrix. However, the pairwise similarity is notoriously known for its vulnerability of noise contamination or the imbalance in samples or features, and thus hinders accurate clustering. To tackle this issue, we propose to use information among samples to boost the clustering performance. We proved that a simplified similarity for pairs, denoted by a fourth order tensor, equals to the Kronecker product of pairwise similarity matrices under decomposable assumption, or provide complementary information for which the pairwise similarity missed under indecomposable assumption. Then a high order similarity matrix is obtained from the tensor similarity via eigenvalue decomposition. The high order similarity capturing spatial information serves as a robust complement for the pairwise similarity. It is further integrated with the popular pairwise similarity, named by IPS2, to boost the clustering performance. Extensive experiments demonstrated that the proposed IPS2 significantly outperformed previous similarity-based methods on real-world datasets and it was capable of handling the clustering task over under-sampled and noisy datasets.
Index Terms:
Tensor Similarity, Kronecker Product, Spectral Clustering, Under-sampled, Imbalanced Dataset, Unsupervised Learning.
1 Introduction
Clustering refers to separating observed data into groups with some quantified measurements, such that objects are similar to those in the same subgroup [1, 2]. Therefore, the similarity used to measure the affinity among samples plays a crucial role to reveal the neighborhood structure of samples and further facilitates clustering algorithms [3, 4]. A popular way to model a pairwise relationship of samples is by utilizing the predefined or adaptively learned measurements. For example, the -means and its variants use the Gaussian kernel function to compute the pairwise similarity [5, 6]. However, the pairwise similarity induced by distance metrics is vulnerable to outliers or noise corruptions which limits its usage in practice.
Several studies propose to extract high order information rather than the popular pairwise similarity to overcome its vulnerability and thereby enhance its clustering performance[7, 8]. For example, [9, 10] approximate local manifolds among multiple samples to define a high order similarity. [11] defines a high order similarity by introducing a hypergraph. The hypergraph leverages the local structures for multiple samples to construct a highly expressive similarity [12]. Although the hypergraph clustering algorithms take the connections among multiple samples into consideration, the learned similarity mainly relies on a pairwise relationship but also inherits its drawbacks.
Early attempts show that directly utilizing high order or pairwise information seems to be problematic. To tackle these issues, we propose to incorporate the high order relations among multiple samples with the popular pairwise similarity to boost the classical clustering performance. The high order similarity among multiples is denoted by a tensor, as the pairwise similarity does by a matrix. The tensor similarity aims to provide complementary information which a pairwise similarity fails to capture. To model the high order relations among samples, we take a -th order tensor as an example. As depicting the sample-to-sample relation in a matrix, we characterize the pairs-to-pairs one in such a 4-th order tensor, so that the high order relations can be naturally extracted from it. We define two types of tensor similarities, the decomposable and indecomposable ones. From the indecomposable tensor similarity, a high order pairwise similarity is derived by eigenvalue decomposition. In this way, we build a bridge relating the sample-to-sample and pair-to-pair similarities for exploring the high order information. Finally, the two types of similarities are aggregated to achieve accurate clustering performance. We conducted extensive experiments to demonstrate that incorporating the tensor high order similarity can enhance the performance of popular similarity-based methods. Thus, the proposed method achieves superior performance comparing to state-of-art algorithms.
This paper achieves three contributions summarized as follows:
We develop a new clustering algorithm, named IPS2, by incorporating a high order similarity of data with a pairwise similarity. The high order similarity captures structural information of data which can be obtained from relationships between pairs, and it serves as complementary information for pairwise one. 2. 2.
We construct two types of tensor similarities to encode pairs’ relationships and relate them to pairwise similarity. These enable us to establish a bridge between the learned high order similarity and pairwise one. 3. 3.
Extensive experiments validate the proposed IPS2 outperforms other baseline algorithms and has an advantage in the task of clustering on under-sampled and noisy datasets.
The remainder of the paper is structured as follows: In Section 2, we review the previous related works. Section 3 describes our proposed method through formulating tensor similarity for learning a high order affinity of data. Section 4 demonstrates the effectiveness of our approach through extensive experiments performed on synthetic and real-world datasets. Finally, we draw conclusions in Section 5.
2 RELATED WORK
The performance of the classical similarity-based clustering methods depends on the accurate pairwise relationships. It is common to express the sample-to-sample similarity as a predefined distance function, and different metrics study distinct relationships[13]. The popular spectral clustering uses a similarity computed by the Gaussian distance. Other well-known metrics, such as cosine distance and Manhattan distance, are used in different applications [14]. These metrics are all predefined, which makes the model hard to handle some radical cases, i.e., imbalanced or noisy datasets [15, 16]. Similarity can also be constructed by using data-driven techniques[17]. The sparse subspace clustering extends similarity-based methods to enable them to handle more general situations with the data-driven technique [18]. It utilizes the self-expressive property of data to map samples into locally linear space, within which similarity is constructed to fulfill the clustering task. The sparse subspace clustering achieves excellent clustering performance when the samples lie in a union of low dimensional subspaces but fails when this assumption is violated.
Alternatively, some researches attempt to utilize affinities among multiple samples rather than pairs to learn a high order similarity. For example, the hypergraph clustering proposes to characterize a high order relationship among samples, thereby enhancing the clustering performance by preserving a local manifold among samples [19, 20]. It generated hyperedge with two or more samples and introduced a new form of high order similarity [21]. Nevertheless, it has been shown that a hypergraph could degenerate into a standard graph. Incited by this observation, recent works have developed various extensions on the hypergraph clustering [22, 23, 24].
Different from the pairwise similarity, the hypergraph clustering models depend on the high order similarity by averaging all pairwise messages within hyperedges. Therefore, the learned high order relationship relies heavily on pairwise information. Moreover, for samples with a large or massive dimension of features, the learned similarity shows small variations due to the averaging operations by the construction of hyperedges. Therefore, it performs unsatisfactorily in such scenarios.
3 Integrating Tensor Similarity with Pairwise Similarity (IPS2)
In this paper, we consider incorporating a high order similarity for enhancing the clustering performance.
We present the overview of IPS2 in Fig. 1. Given an observed dataset, one can compute the sample-to-sample affinities and further organize them as a similarity matrix. In addition to the pairwise information, we propose to exploit high order affinities among multiple samples. In this paper, we encode the similarity for two sample pairs by a fourth-order tensor, with each entry denoting the relationship of two pairs, i.e. four samples. We thereafter extract a high order similarity different from the popular pairwise similarity, and the former can provide complementary information for the latter. We jointly learn the pairwise and high order similarities, and perform -means in the combination of them, so that the fused similarity can achieve efficient results.
3.1 Notations and Background
Throughout the paper, vectors are signified by bold lowercase letters and matrices are denoted by bold uppercase letters. We let scalar variables be denoted by normal symbols for clarity. For example, given an observed dataset with samples and features , let denote the pairwise similarity. Each entry measures the affinity between the -th and -th samples. We use to denote a set . The similarity for two pairs are encoded in a -dimensional tensor and each entry denotes the relationship between pair and pair . The tensor could be reorganized along a direction, named by unfolding operation.
Definition 3.1**.**
(Unfolding) Let be a -th order -dimension tensor. It can be reorganized into a -by- square matrix by unfolding, with its -th entry given by
[TABLE]
with
Definition 3.2**.**
(Kronecker Product) Let , be two matrices. Then the Kronecker product (or tensor product) of and is defined as the matrix
[TABLE]
3.2 Decomposable Tensor Similarity is the Kronecker Product of Pairwise Similarities
The classical similarity-based methods are achieved by defining a sample-to-sample similarity, whether it is predefined or data-driven. Akin to the pairwise similarity, each entry of a tensor similarity captures relationships between two sample pairs. In this spirit, it is natural to define the entry as the product of two pairwise similarities:
[TABLE]
In this case, the similarity between pair () and pair () is directly relied on their pairwise relationships, making it convenient to establish a link between and as the following theorem.
Theorem 3.1**.**
We call as the decomposable tensor similarity, if its unfolding satisfies for any pairwise similarity .
Proof.
For the unfolded tensor similarity defined in Eq. (2), we have
[TABLE]
where element is the product of the similarities of pairs and . By the definition, it is easy to know that holds. ∎
This theorem builds a bridge to relate the tensor similarity to the well-studied pairwise similarity.
Given a similarity matrix , the classical spectral graph clustering method starts with construction of a Laplacian matrix as (Suppl. Section 1), where is the vertex degree matrix and its diagonal element is computed by . Then a clustering task is performed through obtaining the eigenvectors of the Laplacian matrix by solving .
Similarly, let be a decomposable tensor similarity with being its unfolded matrix. We can compute its Laplacian matrix by , where matrix is the degree matrix of . We have the following claim,
Theorem 3.2**.**
Given a pairwise similarity matrix and a decomposable tensor similarity defined in Eq. (2), let and be their corresponding Laplacian matrices, one has
[TABLE]
Moreover, let and be the dominant eigenvector for the matrices and , respectively, one has
[TABLE]
The detailed proof of Theo. 3.2 is provided in Suppl. Section 2. The theorem shows that the local structure extracted from pairs is determined by the Kronecker product of pairwise information of data, and pair-to-pair Laplacian matrix and its eigenvectors follow this property. In particular, as stated in literature [25], the pairwise eigenvector conveys important information about the underlying manifold of data, and clustering results can be efficiently computed based on the newly constructed similarity . Together with Theo. 3.2, the above implies that we could construct a new high order similarity by reshaping into a matrix .
Definition 3.3**.**
(High Order Similarity) The high order similarity is defined as:
[TABLE]
where and for .
An illustration of the aforementioned results is drawn in Fig. 2. We now note that the difference between the pairwise similarity and the obtained high order similarity is inconsequential if the later is from a decomposable tensor similarity. This result also confirms that the obtained high order similarity in Eq. (5) suffers from the same drawbacks as the popular pairwise similarity does. They are vulnerable to noise corruptions and indifferentiable for samples with large feature dimensions [26]. We now turn to focus on the indecomposable tensor similarity and show that the high order similarity extracted from it provides complementary information for which the pairwise one may miss.
3.3 Indecomposable Tensor Similarity Provides Complementary Information for Pairwise Similarity
The primary purpose of the tensor similarity is to supplement information which a pairwise similarity fails to provide, thereby improving the accuracy and robustness in clustering task. To achieve the goal, we propose to introduce an indecomposable tensor similarity for pairs. The idea is to capture the stable complementary information of data by encoding links among pairs. Different from the decomposable case, the indecomposable similarity plays a dual role: it not only characterizes the local manifold among the pairs but also provides the complementary information which the pairwise similarity fails to obtain. In view of this spirit, the indecomposable tensor similarity used in this paper is defined by:
[TABLE]
for , where denotes the distance between samples and , i.e. Euclidean distance. Parameter is a given small parameter less than 0.001 to overcome the instability caused by a zero denominator. The parameter is an empirical parameter. Entry refers to the similarity between pair and pair . It models both relationships within pairs as well as the geometric links between pairs. It achieves its minimum value when the pair falls into a cluster , while the pair falls into a distinct cluster .
Once we have the indecomposable tensor similarity , we can unfold it into a square matrix . Similar to the decomposable case, we compute its dominant eigenvector of the Laplacian matrix and reshape it into a dimension matrix . The obtained matrix is now viewed as a high order similarity extracted from the indecomposable tensor.
One of the main challenges for pairwise similarity is its vulnerability to noisy datasets. It is important to stress that the indecomposable tensor similarity can confront this challenge both in two sides. To demonstrate such characteristics, we create a synthetic dataset for signifying its merits.
The synthetic dataset composes of three clusters, drawn from i.i.d Normal distributions with an equal standard deviation of 0.5 and the different mean of 1, 2.5 and 5, respectively. The dataset consists of 50 samples, each with a feature dimension of 500. We note that there are small differences in the computed pairwise similarity. The histograms on the pairwise similarity, unfolded decomposable and indecomposable tensor similarity are shown in Fig. 3. The off-diagonal areas in Fig. 3 (a) and (b) are shown to be similar to the diagonal areas. This result implies that clustering based on the pairwise similarity or decomposable tensor similarity was heavily affected. In comparison, the indecomposable tensor similarity is shown to contain distinct components as Fig. 3 (c) shown. The off-diagonal and diagonal areas are separated. The indecomposable tensor similarity depicts geometric links between the pairs and thus provides complementary information which the pairwise similarity missed.
To verify such complementarity and thereby have a deep understanding of the similarity extracted from the indecomposable tensor, we modified the previous synthetic data by keeping only two clusters. Heatmaps of the pairwise, extracted high order similarities and their summation, are shown in the first row of Fig. 4. The frequency distributions on the similarity values of the three types are calculated and shown in the second row of Fig. 4. Due to the small sample size with large feature dimension, notoriously known as curse of dimension, the histogram distribution of the pairwise similarity behaves like Normal distribution, resulting in that two clusters in the pairwise similarity have no apparent boundary (Fig. 4(a)). Thus, it is no wonder that there is no distinction between the two clusters in the pairwise frequency distribution (Fig. 4(d)). In comparison, the high order similarity has an apparent block structure. One could find a clear boundary in its histogram in Fig. 4(e), implying another cluster. These differences demonstrate that the indecomposable tensor similarity could provide information that is ignored by the pairwise similarity. Furthermore, when the pairwise similarity and the extracted high order similarity are fused by calculating their average, the fused result has two apparent blocks (Fig. 4(c)), which leads to two separated peaks in its frequency distribution (Fig. 4(f)). The surprising results also confirmed superior clustering performance by exploiting both the pairwise and extracted high order similarity simultaneously.
3.4 Similarity Fusion by Averaging the Pairwise and the Extracted High Order Similarities
In the previous section, we demonstrated that the indecomposable tensor similarity could provide complementary information for a pairwise similarity. Combining with the extracted high order information learning from pairs, we aim to enhance the clustering performance of methods based on a pairwise similarity to deal with scenarios in which it yields poor performance.
To enjoy the merits of both extracted high order and pairwise similarities, we propose to average them for clustering directly. Let matrices and be pairwise and the high order similarities respectively, and the fused similarity is calculated by which is used to represent the affinities of samples for the usage of clustering.
Finally, we would like to emphasize that there are numerous ways to define or learn the indecomposable tensor similarity, as the popular pairwise similarity does. Also, there are different approaches to fuse them. Here, we only used a simple approach to demonstrate the effectiveness of the current strategy.
3.5 Numerical Scheme for IPS2
In this section, we provide a numerical scheme for solving the proposed IPS2 algorithm.
Suppose that we have a raw dataset, the first step is to construct a non-decomposable tensor similarity by calculating relationships among pairs. It has a size of for samples. To reduce the computational cost, the top nearest neighbors of each sample are stored and used to calculate the tensor similarity. The remaining entries, their values are assigned to be zero. Thus, the obtained tensor similarity is sparse. It is then unfolded to have a large square matrix of . From which, the Laplacian matrix is constructed, and the top dominant eigenvectors are calculated. The eigenvectors are reshaped into square matrices, and thereby we obtained the high order similarities . They are fused with the pairwise similarity by simple averaging to yield a fused similarity. Finally, the clustering task is achieved by using benchmark methods, such as -means to obtain the sample assignment.
We sketch the pseudocode of the algorithm in Alg. 1. To verify that the high order similarity serves as complementary information for the pairwise one, we develop the algorithm which only uses high order information for clustering and denote it as PPC. The pseudocode of PPC is the same as IPS2 but without step 5.
4 EXPERIMENTAL RESULTS
We evaluated the performance of the proposed method on four real-world datasets, ’Soybean’, ’SCADI’, ’BBCSports’, and ’Yale’. We downloaded Soybean and SCADI datasets from UCI Machine Learning Repository (https://archive.ics.uci.edu/ml/index.php), BBCSports dataset from Insight Resources http://mlg.ucd.ie/datasets/bbc.html, and Yale dataset from http://vision.ucsd.edu/content/yale-face-database. To elaborate the ability of our method tackling class-imbalance and noise contamination, we further constructed two challenging synthetic datasets, and the description of them are given in the following. Finally, the analysis of time complexity and parameter pruning is provided.
4.1 Evaluation Metrics and Baseline Methods
We used five widely-used metrics to evaluate the performance of the proposed method (Suppl. Section 3): accuracy (ACC), adjusted rand index (ARI), F-score(F-SCORE), normalized mutual information (NMI), and purity (PURITY). The larger the value gets, the better the performance is.
For a fair comparison, we employed five representative methods to serve as a baseline. A brief introduction and the parameter settings of these approaches are as follows:
- •
Spectral clustering (SC) [27]: the classic spectral clustering gives a baseline on behalf of pairwise similarity.
- •
Sparse subspace clustering (SSC) [18]: SSC introduces the self-expressiveness property of data to study the sparse representation of each point in the dictionary consisting of other points. We set parameters according to the suggestion of the authors.
- •
Clique averaging+ncut (CAVE)[28]: The hypergraph, on behalf of the high order similarity, is approximated using the clique averaging, and the resulting graph is partitioned using the normalized cuts algorithm.
- •
Finding hypergraph communities (HGC) [29]: A hypergraph generative model with a built-in group structure and with the variational Bayes algorithm for finding network communities. We set parameters according to the authors’ suggestion.
- •
Pair-to-pair clustering (PPC): Applying the spectral clustering method on our proposed high order similarity only. It serves as a baseline to verify the complementarity of the high order similarity to the pairwise similarity.
- •
Integrating tensor similarity and pairwise similarity (IPS2): The proposed method.
4.2 Experiments on Real-world Datasets to Demonstrate the Superiority of IPS2
We verified the effectiveness of IPS2 on four real-world datasets. The data statistics are summarized in Tab. I. A detailed description of them are as follows:
- •
Soybean dataset is a small subset of the soybean database containing 47 distinct instances. Each subject has 35 attributes to describe its growth indicators.
- •
SCADI dataset contains 206 attributes of 70 children with physical and motor disability based on ICF-CY. The first 205 attributes record self-care activities based on ICF-CY. The last column ’Class’ is the label, which refers to the presence of the self-care problems of the children with physical and motor disabilities.
- •
BBCSports dataset consists of 282 documents from the BBC Sports website. All documents correspond to sports news articles in five topical areas from 2004 to 2005 and extract 2,544 features of it as our dataset.
- •
Yale dataset contains 165 grayscale images in GIF format of 15 individuals. Each individual has 11 facial expressions or configuration images: center-light, with glasses, happy, left-light, without glasses, normal, right-light, sad, sleepy, surprised, and the wink. We chose 5 classes of all images and extracted 4,096-dimensional raw pixel values of 55 images for our experiments.
Except for the Soybean data, the number of the feature dimensionality is larger than that of the sample size. Such imbalance within these datasets brings challenges to achieve an accurate clustering. For a fair comparison, we ran each method 50 times and calculated their mean values and standard deviations on the five measurements stated in Tab. II. In term of the type of the similarity, six methods can be divided into three categories, i.e. ’pairwise’, ’high order’ and ’fused’. The best results are highlighted in bold.
First, we observe that the proposed IPS2 based on the fused similarity uniformly outperforms SC and SSC, which solely depend on the pairwise similarity for clustering. For example, IPS2 exceeds SSC by 39.4, 58.1, 30.8 and 17.2 in term of ACC on all four datasets. These results demonstrate the effectiveness of the high order information, and further, the combination of the learned high order and pairwise similarity are way more powerful for achieving robust and accurate clustering performance. In addition, one may notice that SSC have significantly poor performance on SCADI. This result may come from the fact that SCADI violates the underlying assumption that SSC depends on.
Second, we note that the performance of CAVE and HGC are inferior to SC on SCADI, BBCSports and Yale, reflecting that high order relationships explored by averaging all samples within constructed hyperedges are inconducive for improving clustering performance on imbalanced datasets. By contrast, the proposed PPC performs comparably and even slightly better than SC, and is superior to the two hypergraph clustering algorithms. For example, PPC exceeds HGC by 19.2, 33.4, 13.4 and 7.3 in terms of ACC on four datasets. These results verify the effectiveness of the high order information explored by PPC and suggest that it has potential in enhancing the robustness of IPS2.
Third, our proposed IPS2 significantly outperforms the pairwise or high order similarity-based models. For example, IPS2 exceeds the best one of them by 5, 1.7, 18.3 and 12.7 in terms of ACC on Soybean, SCADI, BBCSport and Yale, respectively. These results indicate that the high order similarity indeed captures the evident structure of data that can be the strong complementary information for the pairwise similarity, leading to the superior performance.
To further validate the effectiveness of IPS2, we plotted the heatmaps of similarities produced by SC, PPC and IPS2 in Fig. 5. Heatmaps of three columns refer to the pairwise similarity, the high order similarity and the fused similarity, respectively. In the first column, we notice that the pairwise similarities across two datasets contain loose clusters and exhibit many misclassified points within the off-diagonal areas. These results verify the limitation of the pairwise similarity. By contrast, the high order similarities have noticeable improvements. For example, the high order similarity on BBCSports possesses less misclassified samples within the off-diagonal regions and a more clear boundary along the diagonal, which the pairwise similarity fails to obtain. With the complementary information of the high order similarity, it is no wonder to see an evident and robust cluster distribution of fused similarities in IPS2. These results are consistent with observations in Tab. II.
4.3 The Robustness of IPS2 on Under-sampled Datasets
Since IPS2 fuses high order and pairwise information, it can effectively show the neighborhood structure of dataset that classical similarity-based methods fail to do. To verify this, we further investigated the performance of IPS2 over under-sampled datasets. The under-sample is either caused by the high-dimensional-low-sample-size or the class-imbalance. Therefore, we categorized the under-sampling problem into the foregoing two types. Accordingly, two synthetic datasets, named by USdata1 and USdata2, were constructed.
- •
USdata1 The first synthetic dataset consists of three clusters, and each one has 20 samples. They are drawn from i.i.d. Normal distribution with an equal standard deviation of 0.5, and different mean values of 0.1, 0.5 and 1, respectively. The dimensionality of the feature varies from 60 to 1,860, and thus the under-sample imbalance is gradually becoming severe. The dataset is further contaminated by white noise with zero mean value and 0.5 standard deviation.
- •
USdata2 The second synthetic dataset is also sampled from the same three clusters. Differently, The feature dimension is fixed to be 2,360. We also fixed the sample size in cluster 1 and 2 to be 20, while varying the sample size from 10 to 235 in cluster 3. The resulted dataset thus contains many more samples from cluster 3 than others, yielding a class-imbalance. The second dataset is both high-dimensional-low-sample-size and class-imbalance. It is rather challenging to cluster on this dataset.
We applied SC, PPC and IPS2 on the two datasets, and the results are presented in Suppl. Tab. 1 and Suppl. Tab. 2 (Suppl. Section 4). The accuracy are visualized in Fig. 6. Besides, we plotted the accuracy gain of IPS2 with respect to SC to further verify the effectiveness of the high order similarity.
In the two under-sampled datasets, the curse of dimension and class-imbalance make one sample similar to the others in different clusters, leading to low accuracy in clustering. Compared with SC and PPC, which solely depend on the pairwise or high order relationships, the fused similarity in IPS2 can capture an apparent structure of datasets. Therefore, our IPS2 outperforms uniformly over SC and PPC throughout all the experiments, even on the datasets with severe imbalance. The advantage is more evident when observing the accuracy gain over SC. In Fig. 6, the gain increases as the imbalance rate increases in two datasets and yields its peak at 8 and 21.8 on the dataset with the highest imbalance rate. This result implies that the extracted high order similarity from the tensor similarity provide supplementary information, and combining it with the pairwise similarity enhances the robustness over the imbalance influence. Besides, it is worth to noted that PPC outperformed SC when the sample size of USdata2 increases from 100 to 275. This results confirmed that under-sampling imbalance breaks down the neighborhood structure of the pairwise affinity, and leads to the poor clustering performance when the imbalance becomes more and more severe. By comparison, the high order relationships in PPC indeed relieve such a problem. Therefore, IPS2 performs steadily with a slight decrease in accuracy by combining the high order and pairwise relationships.
4.4 The Stability of IPS2 on Noisy Datasets
Except for imbalance, real-world datasets are likely to be polluted by various types of noise in applications. Thus, noise immunity is of significance for clustering models. To evaluate the robustness of IPS2 to noise, we tested its performance with SC and PPC under four types of noise. The synthetic USdata1 was borrowed for testing. It was contaminated by the following types of noises. The parameter settings of these noise distributions are as follows.
- •
Uniform Noise are drawn from Uniform distribution. We used the single uniform distribution, which returned random numbers in the interval (0,1).
- •
Gaussian Noise are drawn from Gaussian distribution . We set the mean and the covariance .
- •
Rayleigh Noise are drawn from Rayleigh distribution , which is a special case of the Weibull distribution. The scale parameter .
- •
Gamma Noise are drawn from Gamma distribution. Gamma probability distribution function is where is Gamma function. We set two scale parameter and .
After USdata1 was corrupted by the noise, we ran SC, PPC and IPS2 on them. The experiment on each noise contamination was repeated 50 times, and the averaged results were recorded in Suppl. Tab. 3 (Suppl. Section 5). For visual comparison, the accuracy of three methods was plotted in Fig. 7. One can verify that IPS2 uniformly outperforms the others on USdata1 through four kinds of noise. It achieves the best performance when the samples were corrupted by Gaussian noise.
We deem that IPS2 achieves such superior performance because the indecomposable tensor similarity is less affected by the Gaussian noise. Therefore, the obtained high order similarity reflects the accurate clustering information. Accordingly, both the PPC, whose performance solely depends on the high-order similarity and IPS2, achieve uniformly superior results. To further verify this, we tested the robustness of three methods over Gaussian noise contamination in USdata1 with different noise level. We varied the standard deviation of Gaussian noise from a small value of 0.2 to a large value of 0.8. The performance of three methods under various noise levels is presented in Suppl. Tab. 4 (Suppl. Section 5) and their accuracy is drawn in Fig. 8. We observe that IPS2 always performs superior over the others. With the increase of noise level, the accuracy of all methods decreases rapidly. When the noise level is small, the IPS2 performed equally well to SC with the accuracy of 0.906 and 0.913, respectively. However, when the noise level increases, the accuracy of SC dramatically decreases. The accuracy of PPC decreases rapidly in the same manner. However, the accuracy of IPS2 remains relatively stable by unifying the merits of both the pairwise and high order similarities. Even when the noise level is as high as 0.8, IPS2 achieves a high accuracy of 0.760. In comparison, both PPC and SC yield a lower accuracy of 0.529 and 0.496, respectively.
4.5 Computational Time Comparison and Parameter Selection
The IPS2 consists of two major computational components which need an intensive cost. One is the construction of the tensor similarity, and the other is computing the eigenvectors of the Laplacian matrix for the unfolded tensor. For the former, we compute the similarity for pairs only by their the -nearest neighbors. Given samples, this scheme reduces time complexity from to . We can further accelerate the speed by if using parallel programming in branches. For the latter, the tensor similarity is sparse, and thus the corresponding unfolded Laplacian matrix is sparse, too. For the sparse eigenvalue problem , the computational time complexity is by using Arnoldi algorithm, where is the mean number of nonzero elements of all columns in matrix , defined as . In our scheme . In summary, the total computational cost is .
A small value of dramatically reduce the complexity, yet, it may be insufficient to capture the complementary information among pairs. We conducted a grid search for the parameter within interval on USdata1. The accuracy with respect to the value is plotted in Fig. 9. One may notice that the accuracy goes up with the value of increasing. Around the value of 7, the trend remains relatively steady. Therefore, in this paper, the value of is pruned within range of [7,10] to balance the accuracy and complexity. As a rule of thumb, the value is set to be 10.
To illustrate the comparison of the computational cost, we summarize the experimental computational time of all methods on four real datasets in Tab. III. The time cost in Tab. III is the averaged time cost of 50 runs. The value of for the IPS2 is set to be 10. Among the six methods, both the HGC and AVER need to construct a hypergraph by calculating the pairwise similarity, and therefore their computational cost is . The cost of HGC is slightly higher than that of AVER since the former is also dependent on the cluster number . Except for SSC, which needs many iterations to converge, other methods cost less than 60 seconds. Although the theoretical complexity of IPS2 is higher than SC, HGC and CAVE, yet, it is acceptable in a real application by considering its superior performance. For example, SC is 15 times faster than IPS2, while its accuracy is 15 less than that of IPS2. Moreover, one can further reduce the complexity of IPS2 in the step of constructing the tensor similarity by using parallel computation. Thus, the computational cost of IPS2 can reduced to an acceptable degree.
5 Conclusions
The performance of the classic clustering methods pins on an accurate pairwise similarity measurement. However, the measurement is notoriously known for being vulnerable to noise contaminations and failing to capture the neighborhood structure for the dataset with a small sample size and large feature dimensionality. The current work, serving as a proof-of-concept study, demonstrates that utilizing affinities among multiple samples are able to boost the clustering performance of conventional clustering algorithms. Accordingly, we define a tensor similarity for pairs which aims to provide the complementary information that a pairwise similarity missed. There are two types of tensor similarity: decomposable and indecomposable one. In the decomposable case, we connect the tensor similarity with a pairwise similarity, proving that the unfolding of the tensor similarity is equivalent to the Kronecker product of a pairwise similarity. For the indecomposable tensor similarity, empirical evidence shows that it captures the evident structure of data. Benefiting from this, we extract the high order similarity from the indecomposable tensor, which can serve as the complementary information for pairwise relationships. Finally, the extracted high order and pairwise similarity are fused for achieving accurate clustering performance. Extensive experiments demonstrate that the combination of the pairwise and high order similarities effectively achieves the accurate and robust cluster performance. The proposed IPS2 outperforms all baseline methods, especially in handling under-sampled and noisy dataset.
Acknowledgments
This work was partially supported by the National Natural Science Foundation of China (61472145,61771007), Science and Technology Planning Project of Guangdong Province (2016B010127003), Health & Medical Collaborative Innovation Project of Guangzhou City (201803010021).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] F. Liu, D. Choi, L. Xie, and K. Roeder, “Global spectral clustering in dynamic networks,” Proceedings of the National Academy of Sciences , vol. 115, no. 5, pp. 927–932, 2018.
- 2[2] E. Abbe, “Community detection and stochastic block models: Recent developments,” Journal of Machine Learning Research , vol. 18, no. 177, pp. 1–86, 2018.
- 3[3] M.-S. Yang and K.-L. Wu, “A similarity-based robust clustering method,” IEEE Transactions on Pattern Analysis and Machine Intelligence , vol. 26, no. 4, pp. 434–448, 2004.
- 4[4] J. Lei, A. Rinaldo et al. , “Consistency of spectral clustering in stochastic block models,” The Annals of Statistics , vol. 43, no. 1, pp. 215–237, 2015.
- 5[5] T. Kanungo, D. M. Mount, N. S. Netanyahu, C. D. Piatko, R. Silverman, and A. Y. Wu, “An efficient k-means clustering algorithm: Analysis and implementation,” IEEE transactions on pattern analysis and machine intelligence , vol. 24, no. 7, pp. 881–892, 2002.
- 6[6] J. Z. Huang, M. K. Ng, H. Rong, and Z. Li, “Automated variable weighting in k-means type clustering,” IEEE transactions on pattern analysis and machine intelligence , vol. 27, no. 5, pp. 657–668, 2005.
- 7[7] H. Wang, G. Xiao, Y. Yan, and D. Suter, “Searching for representative modes on hypergraphs for robust geometric model fitting,” IEEE transactions on pattern analysis and machine intelligence , vol. 41, no. 3, pp. 697–711, 2018.
- 8[8] H. C. Nguyen and H. Mamitsuka, “Learning on hypergraphs with sparsity,” IEEE Transactions on Pattern Analysis and Machine Intelligence , 2020.
