Affinity Propagation for Class Exemplar Mining

Shengping Xia, Rui Song, Edwin R. Hancock

Abstract

Identifying representative "exemplars" within massive image datasets is a fundamental challenge in computer vision. While Affinity Propagation (AP) offers a powerful mechanism for data-driven cluster center selection, its quadratic computational complexity ($O(N^2)$) limits its application to small-scale problems. This paper presents a scalable "divide and conquer" framework that integrates hierarchical graph clustering with AP. By utilizing a Recursive Self-Organizing Map (RSOM) and Similarity Propagation Based Graph Clustering (SPGC), the proposed method successfully extracts high-quality object models from over 80,000 images, overcoming traditional algorithmic bottlenecks.

Introduction

In computer vision, exemplars serve as the gold standard for representing object classes, capturing essential structural and spatial features. However, as dataset sizes explode, finding these representatives becomes computationally prohibitive. Affinity Propagation (AP) is favored because it allows data to "elect" its own exemplars without pre-specifying the number of clusters. Yet, the $O(N^2)$ complexity of calculating similarity matrices for millions of images makes standard AP impractical for large-scale discovery.

Scaling the Exemplar Mining Pipeline

The authors address scalability and representation through a four-stage pipeline designed to transition from global data organization to fine-grained mining.

1. Structural Image Representation

Rather than treating images as simple feature vectors, they are modeled as Attributed Relational Graphs. By extracting the top 40 SIFT features and encoding their spatial arrangements, the model ensures that similarity is based on structural consistency—recognizing that an object is defined by the geometric relationship between its parts.

2. The RSOM Filter

To bypass the need for a full similarity matrix, a Recursive Self-Organizing Map (RSOM) is employed. This neural-tree structure facilitates rapid K-Nearest Neighbor (KNNG) searches, effectively pruning the search space and focusing subsequent steps on high-probability matches.

3. Coarse Clustering (SPGC)

The dataset is partitioned into "Family Trees" (FTOGs) using Similarity Propagation Based Graph Clustering. This "divide" step isolates object-specific subsets, reducing the global problem into manageable local clusters.

4. Fine Mining with Affinity Propagation

In the final "conquer" step, standard AP is applied to each individual FTOG. Because these subsets are relatively small, the quadratic complexity of AP is no longer a barrier, allowing for the precise election of class exemplars.

Example of a target object: A "Nuclear Waste" novelty can used in the training and evaluation datasets.

Experimental Evaluation

The framework was tested on a massive corpus of 53,536 training images and 21,600 synthetic test images. The dataset included benchmarks like COIL-100, an in-house collection of 20,000 images with high lighting variability, and 30,000 negative samples from PASCAL VOC and Google Images to test noise rejection.

Key Results

  • Precision and Recall: On the COIL-100 dataset, the method achieved near-perfect clustering, with 35 objects reaching total unit recall and precision.
  • Robustness: The system maintained an F-measure close to 1.0 even when test images were degraded with Gaussian or salt-and-pepper noise.
  • Scalability: The pipeline successfully processed over 80,000 images, a scale previously unreachable for AP-based methods.
A sample object (Arizona Iced Tea) representing the type of visual entities the system successfully clusters into exemplars.

Discussion and Limitations

A primary insight of this work is that global similarity is unnecessary for high-quality clustering; local neighborhood analysis via RSOM and SPGC provides sufficient context. However, the reliance on SIFT features introduces a "color blindness" limitation. Since SIFT is based on grayscale intensity gradients, the system may struggle to distinguish between objects with identical shapes but different colors.

Conclusion

By combining hierarchical filtering with the "election" mechanism of Affinity Propagation, this research provides a viable path for large-scale exemplar mining. The transition from raw pixels to structural graphs ensures semantic relevance, while the multi-stage pipeline ensures computational feasibility for modern, massive image repositories.

Summary updated

BibTeX
@inproceedings{xia2010affinity,
  author = {Shengping Xia and Rui Song and Edwin R. Hancock},
  title = {{Affinity Propagation for Class Exemplar Mining}},
  booktitle = {SSPR/SPR},
  year = {2010},
  doi = {10.1007/978-3-642-14980-1\_18},
}
Figure