Iterative Spectral Clustering for Unsupervised Object Localization

Aditya Vora, Shanmuganathan Raman

TL;DR

This paper introduces a novel, completely unsupervised method for localizing objects in single images without requiring any pre-trained classifiers or manual annotations. By combining saliency-weighted object proposals with an iterative spectral clustering approach, the authors successfully isolate foreground objects from background clutter, achieving performance comparable to weakly supervised methods that rely on image-level labels.

What Problem Does This Paper Address?

Object localization—drawing a tight bounding box around an object—is a fundamental computer vision task. Traditionally, this requires full supervision (thousands of manually drawn boxes) or weak supervision (labels indicating if an object is present in an image). While co-localization techniques exist to find common objects across multiple images, localizing a single object in a single image without any prior knowledge remains a significant challenge.

The authors aim to eliminate the "human-in-the-loop" requirement. Supervised methods are expensive to scale and prone to human error, while co-localization methods fail if you only have one image or if the images don't share the same object class. This paper proposes a way to let the data "speak for itself" to find the most prominent object in a scene.

Methods

The proposed pipeline consists of three main stages:

  1. Proposal Extraction and Initial Scoring: The system generates ~1,000 candidate bounding boxes using the EdgeBoxes algorithm. Each proposal is assigned a score based on two factors: "objectness" (how likely it is to contain a generic object) and "saliency" (how much it stands out from the background).
  2. Iterative Spectral Clustering: This is the core innovation. The authors treat the proposals as nodes in an undirected graph, where edge weights represent the similarity between their HOG (Histogram of Oriented Gradients) descriptors.
  3. They perform spectral clustering by computing the normalized Laplacian of the graph and using the second smallest eigenvector to bi-partition the proposals into two clusters.
  4. They keep the cluster with the higher average saliency/objectness score and discard the other.
  5. This process repeats iteratively until the number of proposals is reduced to a small, highly localized set (e.g., < 100).
  6. Final Window Estimation: To handle outliers in the final cluster, the authors group the remaining proposals based on perceptual similarity using Dense SIFT features and Spatial Pyramid Matching. The final localization box is the average of the coordinates of the top-scoring groups.
Overview of the proposed pipeline: from raw proposals to iterative clustering and final localization.

Datasets

The algorithm was evaluated on two standard benchmarks:

  • Object Discovery Dataset: Contains images of three categories (aeroplane, car, horse). The authors used a subset of 264 images where ground truth was available.
  • PASCAL VOC 2007: A much more challenging dataset with 20 object classes, significant occlusion, and background clutter. The authors evaluated on the 5,011 images of the train+val set.

Key Insights and Ideas

  • Iterative Refinement is Key: A single pass of spectral clustering isn't enough to filter out the noise. By repeating the process, the algorithm progressively "zooms in" on the most consistent foreground features.
  • HOG vs. SIFT: The authors use HOG features for the initial clustering because they are excellent at capturing coarse shape and discriminating foreground from background. They switch to Dense SIFT for the final grouping because it provides finer-grained perceptual similarity, which is better for merging nearly identical boxes.
  • Saliency as a Guide: In an unsupervised setting, you need a proxy for "importance." Combining generic objectness with image-specific saliency provides a robust starting point for the clustering process.
Visual results of the iterative clustering process, showing how the proposals converge on the object.

Key Results

The primary metric used is CorLoc (Correct Localization), which measures the percentage of images where the predicted box has an Intersection-over-Union (IoU) > 0.5 with the ground truth.

  • Object Discovery: Achieved an average CorLoc of 51.41%.
  • PASCAL VOC 2007: Achieved a CorLoc of 35.08%.

Remarkably, these results outperform several weakly supervised methods (which do use image labels) and are competitive with others. For instance, on PASCAL VOC, this unsupervised method beat supervised baselines from 2009 and 2012 that achieved 22.4% and 30.2% respectively. While state-of-the-art weakly supervised methods using deep CNN features (like [29] at 48.5%) still lead, this approach achieves its results using only simple, conventional features like HOG and SIFT.

Limitations and Future Work

  • Single Object Assumption: The current algorithm is designed to find the single most prominent object in an image. If an image contains multiple distinct objects, the clustering might struggle or only pick one.
  • Computational Speed: While the clustering is efficient, calculating the saliency map takes about 7.5 seconds per image, accounting for the bulk of the ~11-second total processing time.
  • Future Directions: The authors plan to extend the framework to handle multi-object localization, which would make it more applicable to complex, real-world scenes.

Summary updated

BibTeX
@article{vora2018iterative,
  author = {Aditya Vora and Shanmuganathan Raman},
  title = {{Iterative Spectral Clustering for Unsupervised Object Localization}},
  journal = {Pattern Recognition Letters},
  year = {2018},
  url = {https://openreview.net/forum?id=knC1xp72hLx},
}
Figure