Skip to main content
QUICK REVIEW

[Paper Review] Efficient Parameter-free Clustering Using First Neighbor Relations

M. Saquib Sarfraz, Vivek Sharma|arXiv (Cornell University)|Feb 28, 2019
Advanced Clustering Algorithms ResearchComputer Science53 references16 citations
TL;DR

This paper proposes FINCH, a fully parameter-free clustering algorithm that uses first neighbor relations to discover natural groupings in data without requiring distance thresholds, cluster counts, or hyperparameters. By recursively merging clusters based on first neighbor chains, FINCH achieves high accuracy and scalability, outperforming existing methods on datasets with up to 8.1 million samples while maintaining low computational complexity of O(N log N).

ABSTRACT

We present a new clustering method in the form of a single clustering equation that is able to directly discover groupings in the data. The main proposition is that the first neighbor of each sample is all one needs to discover large chains and finding the groups in the data. In contrast to most existing clustering algorithms our method does not require any hyper-parameters, distance thresholds and/or the need to specify the number of clusters. The proposed algorithm belongs to the family of hierarchical agglomerative methods. The technique has a very low computational overhead, is easily scalable and applicable to large practical problems. Evaluation on well known datasets from different domains ranging between 1077 and 8.1 million samples shows substantial performance gains when compared to the existing clustering techniques.

Motivation & Objective

  • To develop a clustering algorithm that requires no user-defined hyperparameters such as distance thresholds or number of clusters.
  • To address the scalability limitations of existing clustering methods, especially spectral and hierarchical agglomerative clustering, for large-scale datasets.
  • To discover natural, high-purity clusters in diverse data domains using only first neighbor information.
  • To enable efficient, fast, and low-overhead clustering suitable for real-world applications with millions of samples.
  • To provide a theoretically grounded, recursive merging mechanism that converges rapidly regardless of dataset size.

Proposed method

  • The algorithm is based on a single clustering equation that uses the first neighbor of each data point to form initial chains of connected samples.
  • It employs a recursive agglomerative merging process where each sample is linked to its first neighbor, forming clusters through iterative merging.
  • The method avoids computing full pairwise distance matrices, reducing computational complexity to O(N log N) and memory usage to O(N).
  • Cluster merging is guided solely by first neighbor relations, eliminating the need for similarity thresholds or predefined cluster counts.
  • The algorithm converges in a small, fixed number of steps (4–10) regardless of dataset size, due to exponential convergence in chain formation.
  • It leverages the intrinsic structure of data by detecting long chains of first neighbors, which naturally reveal underlying cluster boundaries.

Experimental results

Research questions

  • RQ1Can clustering be achieved without any hyperparameters such as distance thresholds or number of clusters?
  • RQ2Can first neighbor relations alone reliably reveal natural groupings in diverse data domains?
  • RQ3Can a clustering algorithm scale efficiently to datasets with millions of samples while maintaining high purity and accuracy?
  • RQ4Does recursive merging based on first neighbor chains lead to faster convergence and better cluster quality than traditional hierarchical methods?
  • RQ5Can the algorithm recover well-separated clusters even when baseline methods fail, especially in high-dimensional feature spaces?

Key findings

  • FINCH achieved over 99% accuracy on MNIST_10k and MNIST_70k datasets, matching the CNN model's classification accuracy, despite no use of labels or hyperparameters.
  • The algorithm converged in only 5–6 steps for datasets with up to 8.1 million samples, producing valid partitions at each step with high cluster purity.
  • For a 1077-sample dataset, FINCH discovered the true 8-cluster structure by step 4, reducing from 1077 to 3 clusters with high accuracy.
  • FINCH required only O(N) memory and O(N log N) time, significantly outperforming spectral clustering (O(N³)) and hierarchical agglomerative clustering (O(N² log N)).
  • The method is robust across domains, including image pixels, biological measurements, text features, and CNN embeddings, showing consistent performance.
  • FINCH cannot form singleton clusters (size 1), as each point is always linked to its first neighbor, setting a minimum cluster size of 2.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.