Skip to main content
QUICK REVIEW

[Paper Review] Links: A High-Dimensional Online Clustering Method

P. Mansfield, Quan Wang|arXiv (Cornell University)|Jan 30, 2018
Video Analysis and SummarizationComputer Science4 references13 citations
TL;DR

Links is a high-dimensional online clustering algorithm for unit vectors in Euclidean space, designed for real-time applications like face and voice recognition. It uses a generative model with isotropic, exponentially decaying distributions on the hypersphere, approximates cluster membership via cosine similarity thresholds derived from high-dimensional asymptotics, and dynamically merges or splits clusters based on statistical consistency and subcluster similarity, enabling scalable, adaptive clustering without batch processing.

ABSTRACT

We present a novel algorithm, called Links, designed to perform online clustering on unit vectors in a high-dimensional Euclidean space. The algorithm is appropriate when it is necessary to cluster data efficiently as it streams in, and is to be contrasted with traditional batch clustering algorithms that have access to all data at once. For example, Links has been successfully applied to embedding vectors generated from face images or voice recordings for the purpose of recognizing people, thereby providing real-time identification during video or audio capture.

Motivation & Objective

  • To develop an efficient online clustering algorithm for high-dimensional unit vectors that processes data streams in real time.
  • To model cluster distributions on the hypersphere using isotropic, exponentially decaying probability densities centered on cluster centroids.
  • To enable dynamic cluster merging and splitting by estimating cluster membership probabilities using high-dimensional asymptotic approximations.
  • To support real-time applications such as person identification from CNN or LSTM embeddings by maintaining accurate, evolving cluster structures.
  • To tune hyperparameters (Tc, Ts, Tp) via labeled data and the Hungarian algorithm to optimize clustering accuracy.

Proposed method

  • Models each cluster as a probability distribution on the unit hypersphere S^{N-1}, with isotropic, exponentially decaying density centered on a mean vector μ.
  • Estimates cluster membership by computing the cumulative probability of a new vector under the estimated distribution, using a high-dimensional approximation to avoid full integration.
  • Uses cosine similarity thresholds s(k) and s(k,k') to determine whether a new vector should join an existing cluster or form a new subcluster.
  • Applies recursive merging when subcluster centroids become sufficiently similar (≥ Ts), and removes edges between subclusters if their similarity falls below s(ki,kj).
  • Incorporates anisotropy corrections via interpolated thresholds s̃(k,k') and s̃(k) to account for intra-subcluster correlations, reducing the asymptotic threshold Tp below Tc².
  • Employs a graph-based structure where nodes represent subclusters and edges represent cluster membership, with dynamic updates upon vector arrival.

Experimental results

Research questions

  • RQ1How can online clustering be efficiently performed in high-dimensional spaces where traditional batch methods are infeasible?
  • RQ2What high-dimensional asymptotic properties of the hypersphere can be leveraged to approximate complex cluster membership probabilities?
  • RQ3How can cluster merging and splitting be dynamically managed in real time while preserving statistical consistency?
  • RQ4To what extent do intra-subcluster correlations affect the threshold for cluster membership, and how can this be corrected?
  • RQ5What hyperparameter tuning strategy optimizes clustering accuracy for real-world embeddings in face and voice recognition?

Key findings

  • The Links algorithm successfully clusters high-dimensional FaceNet and voice embedding vectors in real time, enabling live person identification.
  • High-dimensional asymptotics allow accurate approximation of cluster membership probabilities without full Bayesian integration, significantly reducing computational cost.
  • The threshold s(k) for cluster membership asymptotically approaches a constant Tp < 1 as subcluster size increases, reflecting the influence of intrinsic cluster anisotropy.
  • The use of interpolated thresholds s̃(k,k') corrects for intra-subcluster correlations, improving robustness and reducing false positives in cluster merging.
  • Hyperparameter tuning using labeled data and the Hungarian algorithm achieves high clustering accuracy, with the method outperforming baseline online clustering approaches on real-world embedding data.
  • The algorithm supports dynamic cluster evolution, including splitting and rejoining, through edge-based graph maintenance, enabling long-term adaptability in streaming settings.

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.