Beyond Pairwise Clustering

Sameer Agarwal, Jongwoo Lim, Lihi Zelnik-Manor, Pietro Perona, David J. Kriegman, Serge J. Belongie

Abstract

Most clustering algorithms rely on pairwise distances, but many real-world structures—like lines or subspaces—can only be identified by looking at three or more points at once. This paper introduces Clique Averaging (CAVERAGE), a robust mathematical framework that converts these complex "hypergraph" relationships into a standard graph, allowing researchers to solve high-order clustering problems using efficient, well-understood spectral techniques.

The Challenge of High-Order Data

Standard clustering tools like $k$-means or traditional spectral clustering are pairwise (dyadic): they measure the similarity between point A and point B. However, in computer vision, pairwise similarity is often insufficient.

Consider the $k$-lines problem: any two points define a line perfectly, so a pairwise distance cannot determine if they belong to the same "true" line in a noisy dataset. You need at least three points to evaluate collinearity. Similarly, identifying objects under varying illumination requires looking at groups of four images to see if they span the same 3D subspace. These higher-order relationships are naturally represented as hypergraphs, where edges can connect any number of vertices.

Visualizing high-order relationships: while two points define a line, three or more are required to determine if points are truly collinear or belong to the same subspace.

The CAVERAGE Framework

The authors propose a two-step algorithm to bridge the gap between complex hypergraphs and standard graph partitioning:

  1. Clique Averaging: Instead of the standard "clique expansion" which can blur cluster boundaries, the authors treat hyperedge weights as the average of the weights of the pairwise edges they contain. This is formulated as a Bounds Constrained Least Squares problem to find a graph weight vector that best approximates the hypergraph structure.
  2. Spectral Partitioning: Once the hypergraph is reduced to a faithful weighted graph, the standard Normalized Cuts (NCut) algorithm is used to find clusters.

Mathematically, the authors prove that traditional Clique Expansion is essentially a "low-pass filtered" version of Clique Averaging. By avoiding this blurring, CAVERAGE preserves more precise information about cluster boundaries.

Robustness and Performance

The algorithm was evaluated on synthetic $k$-lines and the Yale Face Database (450 images of 10 individuals). On the Yale dataset, CAVERAGE achieved a 16.0% error rate, significantly outperforming Clique Expansion (24.9%) and the popular VLSI tool KHMETIS (58.3%).

One of the most significant findings is the algorithm's robustness to the scale parameter ($\sigma$). In many spectral methods, an incorrect $\sigma$ causes the error to spike toward random chance (80%). As shown in the experimental results, CAVERAGE maintains stability over a much wider range of parameters than its competitors.

Error rates vs. scale parameter σ for various clustering methods. CAVERAGE (blue circles) demonstrates significantly higher stability across different scales compared to traditional clique expansion (red crosses).

Conclusion and Future Directions

CAVERAGE provides a principled way to handle high-order affinities, showing particular strength in "multi-model" problems where many overlapping structures exist simultaneously. While the current approach scales at $O(n^2)$, future work aims to optimize sampling strategies for very large datasets and explore algorithms that operate directly on hypergraphs without intermediate reduction.

Summary updated

BibTeX
@inproceedings{agarwal2005beyond,
  author = {Sameer Agarwal and Jongwoo Lim and Lihi Zelnik-Manor and Pietro Perona and David J. Kriegman and Serge J. Belongie},
  title = {{Beyond Pairwise Clustering}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2005},
  doi = {10.1109/cvpr.2005.89},
}
Figure