Skip to main content
QUICK REVIEW

[Paper Review] Local Aggregation for Unsupervised Learning of Visual Embeddings

Chengxu Zhuang, Alex Zhai|arXiv (Cornell University)|Mar 29, 2019
Domain Adaptation and Few-Shot LearningComputer Science73 references78 citations
TL;DR

This paper introduces Local Aggregation (LA), an unsupervised learning method that learns visual embeddings by dynamically forming soft local clusters, achieving state-of-the-art unsupervised transfer on ImageNet, Places 205, and PASCAL VOC.

ABSTRACT

Unsupervised approaches to learning in neural networks are of substantial interest for furthering artificial intelligence, both because they would enable the training of networks without the need for large numbers of expensive annotations, and because they would be better models of the kind of general-purpose learning deployed by humans. However, unsupervised networks have long lagged behind the performance of their supervised counterparts, especially in the domain of large-scale visual recognition. Recent developments in training deep convolutional embeddings to maximize non-parametric instance separation and clustering objectives have shown promise in closing this gap. Here, we describe a method that trains an embedding function to maximize a metric of local aggregation, causing similar data instances to move together in the embedding space, while allowing dissimilar instances to separate. This aggregation metric is dynamic, allowing soft clusters of different scales to emerge. We evaluate our procedure on several large-scale visual recognition datasets, achieving state-of-the-art unsupervised transfer learning performance on object recognition in ImageNet, scene recognition in Places 205, and object detection in PASCAL VOC.

Motivation & Objective

  • Motivate and develop unsupervised learning for deep visual representations that close the gap with supervised methods.
  • Leverage local non-parametric aggregation to encourage nearby data to cluster in embedding space while dissimilar data separates.
  • Show that a dynamic, multi-scale soft clustering structure improves transfer performance across tasks and architectures.
  • Demonstrate that deeper networks benefit more from LA and achieve competitive, or superior, results without labels.

Proposed method

  • Embed inputs non-linearly into a D-dimensional unit sphere via a neural network to obtain embeddings v_i.
  • For each embedding, identify two neighbor sets: close neighbors C_i and background neighbors B_i; C_i is computed through robust clustering on V, aggregated across multiple clusterings, while B_i uses k nearest neighbors on the embedding.
  • Define a local aggregation loss L(C_i, B_i | θ, x_i) as the negative log-likelihood ratio that v_i is close to C_i given it is a background neighbor, based on a non-parametric softmax over cosine similarities with temperature τ.
  • Optimize L with L2 regularization on θ to learn the embedding function; use a memory bank to efficiently approximate V during training.
  • Maintain a memory bank V̄ to store running averages of embeddings and use it to stabilize neighbor identification without re-computing all features each step.
  • Training starts with Instance Recognition loss for warm-up, then switches to Local Aggregation loss; hyperparameters include τ=0.07, D=128, k=4096 for B_i, and multi-clusterings H with m clusters.

Experimental results

Research questions

  • RQ1Can local, non-parametric aggregation in embedding space yield high-quality unsupervised visual representations?
  • RQ2How does dynamic, multi-scale clustering influence the learned geometry of embedding spaces and downstream transfer performance?
  • RQ3Do deeper networks gain more from the LA objective compared to shallower ones?
  • RQ4Is the LA approach robust to choices of clustering and neighbor definitions?
  • RQ5Can LA-trained representations transfer effectively to image classification, scene recognition, and object detection tasks?

Key findings

  • LA achieves state-of-the-art unsupervised transfer learning on ImageNet and Places 205 for classification across multiple architectures.
  • LA-trained ResNet-50 attains 60.2% top-1 accuracy on ImageNet without labels, surpassing AlexNet supervised training.
  • LA improves object detection performance on PASCAL VOC 2007 after fine-tuning, achieving state-of-the-art unsupervised transfer for this task.
  • LA benefits from deeper architectures, showing consistent performance gains from conv1 to conv5 layers.
  • LA representations generalize well to different visual tasks, with strong KNN and linear readout transfer results across datasets.

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.