論文解説
Clustering Algorithms: A Comparative Approach
クラスタリングアルゴリズム:比較アプローチ
- 課題 クラスタリング手法は、パラメータやデータの条件によって性能が変わるため、実データにどの方法を選ぶかを判断するのは難しいです。この論文は、Rの7つの手法を270個の人工データセットで比較します。
- 手法 データの特性とクラス間の分離の度合いを調整した人工データセットを作り、既定のパラメータ、パラメータを1つずつ変える条件、ランダムに全パラメータを探索する条件の3つで、Jaccard、ARI、FM、NMIにより性能を測定します。
- 結果 既定のパラメータ設定では、spectralがARIで比べると65.80%で最も高く、hierarchicalが24.81%で最も低くなりました。10個の特徴を持つデータでは、パラメータ調整によって多くの手法の性能を改善できました。
研究の問いと比較の範囲
クラスタリング手法はパラメータが多く、データの性質によって性能が大きく変わるため、与えられたデータにどの方法を選ぶかは判断が難しいです。この論文は、Rで広く使われる7つのクラスタリング手法を同じ条件の人工データセットで比較します。比較対象は、k-means、clara、hierarchical、EM、hcmodel、spectral、subspaceです。
この論文は2つの問いから出発しています。第一に、既定のパラメータ設定で手法間に性能差があるかを確認します。第二に、パラメータを1つずつ変えたり、ランダムにまとめて変えたりすると、既定の設定より性能を上げられるかを確認します。著者らは、パラメータの最適化が過学習を招きうることや、計算コストが大きいことを挙げ、多くの研究者が既定のパラメータをそのまま使っている現状を出発点としています。
人工データの生成方法
データは、特徴量の数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の相互情報量を、エントロピーに基づいて正規化した値です。
これらの指標は、2つの分割が完全に一致するほど1に近づく構造をもちます。したがって、複数の指標が似た順位を示すかを確認することが、本文の結果を解釈するうえでの基準になります。
既定パラメータの結果
既定のパラメータ設定では、spectralがARIで比べると65.80%の平均性能を記録し、hierarchicalは24.81%で最も低くなりました。この数値は、表IIのARIブロックにおける各手法の平均精度として報告された値です。同じ表の他の指標でも、spectralが上位にありました。

論文の図 TABLE II. Average difference of accuracies obtained when clustering algorithms are used with their default configuration of parameters. In general, the spectral algorithm provides the highest accuracy rate among all evaluated methods.
出典 · CC 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で有意でした。したがって、この結果は低次元より高次元の人工データで手法間の差が明確だという範囲で読む必要があります。
パラメータ調整とランダム探索の効果
パラメータを1つだけ変えた実験では、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 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.
出典 · CC 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%より大きくなりましたが、改善の大きさと条件はデータセットごとに異なりました。この結果は、パラメータ探索が有効でありうることを示していますが、すべての手法とデータで同じ効果があるという意味ではありません。

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.
出典 · CC 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 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.
出典 · CC 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
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説を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}
}