# Clustering Algorithms: A Comparative Approach

클러스터링 알고리즘: 비교 접근법

Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues 외 1명 · arXiv · 2016년 12월 26일

- **연구 문제** 여러 클러스터링 방법은 매개변수와 데이터 조건에 따라 성능이 달라 실제 데이터에 어떤 방법을 고를지 판단하기 어렵습니다. 이 논문은 R의 7개 방법을 270개 인공 데이터셋에서 비교합니다.
- **연구 방법** 데이터 특성과 클래스 분리 조건을 조절한 인공 데이터셋을 만들고, 기본 매개변수, 한 매개변수 변화, 무작위 전체 매개변수 탐색의 세 조건에서 Jaccard, ARI, FM, NMI로 성능을 측정합니다.
- **주요 결과** 기본 매개변수 설정에서는 spectral 방법이 ARI 기준 65.80%로 가장 높았고 hierarchical 방법이 24.81%로 가장 낮았습니다. 10개 특성 데이터에서는 매개변수 조정으로 여러 방법의 성능을 개선할 수 있었습니다.

## 연구 문제와 비교 범위

클러스터링 방법은 매개변수가 많고 데이터의 성질에 따라 성능이 크게 달라지기 때문에, 주어진 데이터에 어떤 방법을 골라야 할지 판단하기 어렵습니다. 이 논문은 R 언어에서 널리 쓰이는 7개 군집화 방법을 같은 조건의 인공 데이터셋에서 비교합니다. 비교 대상은 k-means, clara, hierarchical, EM, hcmodel, spectral, subspace입니다.

연구는 두 가지 질문에서 출발합니다. 첫째, 기본 매개변수 설정에서 방법들 사이에 성능 차이가 있는지 확인합니다. 둘째, 매개변수를 하나씩 바꾸거나 무작위로 함께 바꾸면 기본 설정보다 성능을 높일 수 있는지 확인합니다. 저자들은 매개변수 최적화가 과적합을 낳을 수 있고 계산 비용도 크다는 점을 들어, 많은 연구자가 기본 매개변수를 그대로 쓰는 현실을 출발점으로 삼습니다.

## 인공 데이터 생성 방법

데이터는 특성 수 F, 클래스 수 C, 클래스당 객체 수 Ne, 클래스 간 분리 정도를 나타내는 매개변수 α를 조절하여 생성합니다. 각 클래스의 특성 간 공분산 행렬 R은 임의의 행렬 G에 대해 R = GG^T 형태로 만들어 양의 준정부호성을 보장합니다. 이 방식으로 클래스마다 서로 다른 상관 구조를 가진 데이터를 만들 수 있습니다.

실험에서는 C를 {2, 10, 50}, F를 {2, 10, 50}, Ne를 {5, 50, 100}으로 설정하고, 각 조합마다 10개의 실현 데이터를 만들어 총 270개 데이터셋을 얻었습니다. α는 각 데이터셋에서 어떤 알고리즘도 정확도 0%나 100%에 이르지 않도록 조정되었습니다. 따라서 α는 고정된 물리량이 아니라 데이터셋별로 튜닝된 조건임을 함께 읽어야 합니다.

## 평가 지표와 정의

군집 결과는 원래의 클래스 레이블과 비교합니다. 같은 그룹에 속한 객체 쌍의 수 a, 원래 분할에서는 같은 그룹이지만 군집 결과에서는 다른 쌍의 수 b, 그 반대인 쌍의 수 c를 정의하고, 이로부터 Jaccard 지표 J = a/(a+b+c)를 계산합니다. ARI는 우연에 의한 일치를 보정하고, FM 지표는 a, a+b, a+c를 이용해 정의됩니다. NMI는 군집 할당 C와 실제 레이블 T의 상호정보량을 엔트로피 기반으로 정규화한 값입니다.

이 지표들은 두 분할이 완전히 일치할 때 1에 가까워지는 구조를 가집니다. 따라서 여러 지표가 비슷한 순위를 보이는지 확인하는 것이 본문 결과 해석의 기준이 됩니다.

## 기본 매개변수 결과

기본 매개변수 설정에서 spectral 방법은 ARI 기준 65.80%의 평균 성능을 보였고, hierarchical 방법은 24.81%로 가장 낮았습니다. 이 수치는 표 II의 ARI 블록에서 각 방법의 평균 정확도로 제시된 값입니다. 같은 표의 다른 지표에서도 spectral이 상위에 있었습니다.

![TABLE II. Average diﬀerence of accuracies obtained when clustering algorithms are used with their default conﬁguration of parameters. In general, the spectral…](https://refivu.com/papers/49073458-c398-4adb-b4eb-f71401de6b77/figures/figure-57b44bf64a4ae0451fa99ae62e095641.png?thumb=512)

**원문 그림** TABLE II. Average diﬀerence of accuracies obtained when clustering algorithms are used with their default conﬁguration of parameters. In general, the spectral algorithm provides the highest accuracy rate among all evaluated methods.

[원문](https://arxiv.org/abs/1612.08388v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues, Luciano da F. Costa · Clustering Algorithms: A Comparative Approach · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

특성 수에 따른 차이는 Kruskal-Wallis 검정으로 확인했습니다. 특성 수가 2개일 때는 p = 0.07로 차이가 유의하지 않았지만, 10개와 50개일 때는 각각 p = 4.4×10^-6, p = 1.4×10^-6으로 유의했습니다. 따라서 이 결과는 저차원보다 고차원 인공 데이터에서 방법 간 차이가 뚜렷하다는 범위에서 읽어야 합니다.

## 매개변수 조정과 무작위 탐색의 효과

한 번에 한 매개변수만 바꾼 실험에서, 2개 특성 데이터에서는 hierarchical과 EM만 유의한 변동을 보였습니다. 10개 특성 데이터에서는 많은 방법에서 선택한 매개변수를 조정하여 성능을 높일 수 있었습니다. 예를 들어 DB10C10F에서 EM의 modelName을 바꾸면 평균 향상이 13.63%였고, DB2C10F에서는 같은 매개변수에서 평균 향상이 18.80%였습니다.

![TABLE IX. Summary table for the performance of clustering algorithms in datasets DB2C2F and DB10C2F . ARIdef represents the average accuracy obtained when cons…](https://refivu.com/papers/49073458-c398-4adb-b4eb-f71401de6b77/figures/figure-cb143739714806d639ce8780e7534001.png?thumb=512)

**원문 그림** TABLE IX. Summary table for the performance of clustering algorithms in datasets DB2C2F and DB10C2F . ARIdef represents the average accuracy obtained when considering the default parameters of the algorithms. ARIbestp represents the average of the best accuracies obtained when varying a single parameter. ARIbestr represents the average of the best accuracies obtained when parameters are randomly selected.

[원문](https://arxiv.org/abs/1612.08388v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues, Luciano da F. Costa · Clustering Algorithms: A Comparative Approach · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

모든 매개변수를 무작위로 바꾸는 실험은 방법마다 500개 설정을 사용했습니다. 이 실험에서 p-value는 기본 설정보다 성능이 나아진 설정의 비율을 뜻합니다. 예를 들어 DB2C10F에서 EM과 hierarchical, k-means는 p-value가 50%보다 컸지만, 개선의 크기와 조건은 데이터셋마다 달랐습니다. 이 결과는 매개변수 탐색이 유효할 수 있음을 보여 주지만, 모든 방법과 데이터에서 같은 효과가 있다는 뜻은 아닙니다.

![Figure 6: Distribution of ARI values obtained for the random sampling of the k-means parameters. The algorithm was applied to dataset DB10C10F, and 500 sets of…](https://refivu.com/papers/49073458-c398-4adb-b4eb-f71401de6b77/figures/figure-38bea20f85519fa1f525850dab44fba3.png?thumb=512)

**FIG. 6** . Distribution of ARI values obtained for the random sampling of the k-means parameters. The algorithm was applied to dataset DB10C10F, and 500 sets of parameters were drawn.

[원문](https://arxiv.org/abs/1612.08388v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues, Luciano da F. Costa · Clustering Algorithms: A Comparative Approach · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

![TABLE X. Summary table for the performance of clustering algorithms in datasets DB2C10F and DB10C10F.ARIdef represents the average accuracy obtained when consi…](https://refivu.com/papers/49073458-c398-4adb-b4eb-f71401de6b77/figures/figure-0947170e2011098a1a06dcae68379163.png?thumb=512)

**원문 그림** TABLE X. Summary table for the performance of clustering algorithms in datasets DB2C10F and DB10C10F.ARIdef represents the average accuracy obtained when considering the default parameters of the algorithms. ARIbestp represents the average of the best accuracies obtained when varying a single parameter. ARIbestr represents the average of the best accuracies obtained when parameters are randomly selected.

[원문](https://arxiv.org/abs/1612.08388v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues, Luciano da F. Costa · Clustering Algorithms: A Comparative Approach · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

## 해석의 범위와 한계

이 결과는 R 패키지의 특정 구현과 인공 데이터셋에서 얻은 것입니다. 따라서 실제 데이터 전체에 대한 보편적 결론으로 확대하면 안 됩니다. 또한 기본 설정 비교는 각 패키지가 제공한 기본값에 의존하며, 매개변수 탐색 결과는 데이터셋별로 설정 범위를 정한 뒤 얻은 것입니다.

저자들은 spectral 방법이 기본 설정에서 우수하다고 보고하지만, 그 결과가 모든 목적에서 최선의 방법이라는 뜻은 아닙니다. 반복 실행의 분산이나 다른 종료 조건에 따른 차이는 본 요약에서 다루지 않은 범위입니다.

## 논문 정보

- **저자**: Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues, Luciano da F. Costa
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2016년 12월 26일
- **등록일**: 2026년 11월 6일
- **수정일**: 2016년 12월 26일
- **버전**: v1
- **arXiv**: 1612.08388
- **분류**: cs.LG · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/1612.08388v1) · [원문 PDF ↗](https://arxiv.org/pdf/1612.08388v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Many real-world systems can be studied in terms of pattern recognition tasks, so that proper use (and understanding) of machine learning methods in practical applications becomes essential. While a myriad of classification methods have been proposed, there is no consensus on which methods are more suitable for a given dataset. As a consequence, it is important to comprehensively compare methods in many possible scenarios. In this context, we performed a systematic comparison of 7 well-known clustering methods available in the R language. In order to account for the many possible variations of data, we considered artificial datasets with several tunable properties (number of classes, separation between classes, etc). In addition, we also evaluated the sensitivity of the clustering methods with regard to their parameters configuration. The results revealed that, when considering the default configurations of the adopted methods, the spectral approach usually outperformed the other clustering algorithms. We also found that the default configuration of the adopted implementations was not accurate. In these cases, a simple approach based on random selection of parameters values proved to be a good alternative to improve the performance. All in all, the reported approach provides subsidies guiding the choice of clustering algorithms.

## 원문 인용

Mayra Z. Rodriguez, Cesar H. Comin, Dalcimar Casanova, Odemir M. Bruno, Diego R. Amancio, Francisco A. Rodrigues, Luciano da F. Costa (2016). Clustering Algorithms: A Comparative Approach. arXiv:1612.08388v1. https://arxiv.org/abs/1612.08388v1

**BibTeX**

```
@misc{rodriguez2016clustering,
  title = {{Clustering Algorithms: A Comparative Approach}},
  author = {Mayra Z. Rodriguez and Cesar H. Comin and Dalcimar Casanova and Odemir M. Bruno and Diego R. Amancio and Francisco A. Rodrigues and Luciano da F. Costa},
  year = {2016},
  eprint = {1612.08388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.08388v1}
}
```

## 이 논문의 용어

- [Mutual information](https://refivu.com/terms/31de24f17a5e-mutual-information)
- [K-means](https://refivu.com/terms/43bff6ec1a4e-k-means)
- [Jaccard index](https://refivu.com/terms/c2a7049ebc65-jaccard-index)
- [Shannon entropy](https://refivu.com/terms/4c6ac050d224-shannon-entropy)
- [adjusted Rand index](https://refivu.com/terms/c6d244fe8d80-adjusted-rand-index)
- [covariance matrix](https://refivu.com/terms/d6ee60959cfe-covariance-matrix)
- [EM](https://refivu.com/terms/874857dd724e-em)
- [aﬃnity matrix](https://refivu.com/terms/ee0d96907807-affinity-matrix)
- [Clustering](https://refivu.com/terms/d6caf59cf624-clustering)
- [Kruskal-Wallis Test](https://refivu.com/terms/b0f968867b2b-kruskal-wallis-test)
- [Laplacian matrix](https://refivu.com/terms/ddd9414e8fda-laplacian-matrix)
- [medoid](https://refivu.com/terms/7e0bdf17f32b-medoid)
- [Normalized Mutual Information](https://refivu.com/terms/bd99676e116d-normalized-mutual-information)
- [UPGMA](https://refivu.com/terms/15a55c89f8a7-upgma)

## 다른 논문 해설

- [Automated design of collective variables using supervised machine learning](https://refivu.com/papers/a5699ac3-7d7b-44da-8ae7-ce56494b9c46-automated-design-of-collective-variables-using-supervised.md)
- [Identifying Real Estate Opportunities using Machine Learning](https://refivu.com/papers/b80ab355-3d27-4b0a-8c80-07b525f9a6da-identifying-real-estate-opportunities-using-machine-learning.md)
- [Explaining the Unique Nature of Individual Gait Patterns with Deep Learning](https://refivu.com/papers/85365543-248a-4eaa-88c1-aff1ea9cb710-explaining-the-unique-nature-of-individual-gait-patterns.md)
- [A Survey on Deep Semi-supervised Learning](https://refivu.com/papers/161d68ec-f9f3-470b-8e03-567040777d08-a-survey-on-deep-semi-supervised-learning.md)
- [Are LSTMs Good Few-Shot Learners?](https://refivu.com/papers/0a87600e-7980-43d0-8cc2-239df6e89170-are-lstms-good-few-shot-learners.md)
- [Interference Suppression Using Deep Learning: Current Approaches and Open Challenges](https://refivu.com/papers/d2a57af3-38e7-49c3-87be-5847146a2a33-interference-suppression-using-deep-learning-current.md)
- [Supervised machine learning based multi-task artificial intelligence classification of retinopathies](https://refivu.com/papers/048e9106-d566-400b-b9be-3b44bf441ef4-supervised-machine-learning-based-multi-task-artificial.md)
- [Neural Networks for Modeling and Control of Particle Accelerators](https://refivu.com/papers/1aeabac7-e3d5-4f7b-ac66-947590e3a0a8-neural-networks-for-modeling-and-control-of-particle.md)
- [Improvement in Land Cover and Crop Classification based on Temporal Features Learning from Sentinel-2 Data Using Recurrent-Convolutional Neural Network (R-CNN)](https://refivu.com/papers/8293a867-60f7-414b-9f54-c8dba4f5bc83-improvement-in-land-cover-and-crop-classification-based.md)
- [Exploiting Unlabeled Data in CNNs by Self-supervised Learning to Rank](https://refivu.com/papers/0b37f7e4-24bc-430e-8e04-56053b8e4c37-exploiting-unlabeled-data-in-cnns-by-self-supervised.md)
- [Quantum annealing versus classical machine learning applied to a simplified computational biology problem](https://refivu.com/papers/ec51e19f-dd3c-4d8d-84da-fa82722dea85-quantum-annealing-versus-classical-machine-learning-applied.md)
- [ProLanGO: Protein Function Prediction Using Neural~Machine Translation Based on a Recurrent Neural Network](https://refivu.com/papers/26aedbfa-9bc0-461c-9cc7-9c4b52e339c9-prolango-protein-function-prediction-using-neural-machine.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/49073458-c398-4adb-b4eb-f71401de6b77-clustering-algorithms-a-comparative-approach)
