Skip to main content
QUICK REVIEW

[Paper Review] Online Object Representations with Contrastive Learning

Sören Pirk, Mohi Khansari|arXiv (Cornell University)|Jun 10, 2019
Domain Adaptation and Few-Shot LearningComputer Science51 references13 citations
TL;DR

This paper proposes a self-supervised contrastive learning method, Object-Contrastive Network (OCN), that learns disentangled object representations from monocular videos without labels. By leveraging temporal continuity in video, OCN discovers object attributes like color, shape, and function, achieving 2.2% object identification error through online adaptation—dramatically outperforming a 52.4% error rate in offline baselines.

ABSTRACT

We propose a self-supervised approach for learning representations of objects from monocular videos and demonstrate it is particularly useful in situated settings such as robotics. The main contributions of this paper are: 1) a self-supervising objective trained with contrastive learning that can discover and disentangle object attributes from video without using any labels; 2) we leverage object self-supervision for online adaptation: the longer our online model looks at objects in a video, the lower the object identification error, while the offline baseline remains with a large fixed error; 3) to explore the possibilities of a system entirely free of human supervision, we let a robot collect its own data, train on this data with our self-supervise scheme, and then show the robot can point to objects similar to the one presented in front of it, demonstrating generalization of object attributes. An interesting and perhaps surprising finding of this approach is that given a limited set of objects, object correspondences will naturally emerge when using contrastive learning without requiring explicit positive pairs. Videos illustrating online object adaptation and robotic pointing are available at: https://online-objects.github.io/.

Motivation & Objective

  • To develop a self-supervised method that learns disentangled visual and semantic object attributes (e.g., color, shape, function) from unstructured monocular video without human-annotated labels.
  • To enable online adaptation of object representations during video inference, allowing models to improve identification accuracy the longer they observe objects.
  • To demonstrate that a robot can autonomously collect data, train using the proposed method, and generalize to point to similar objects without human supervision.
  • To explore whether contrastive learning alone—without depth, tracking, or explicit supervision—can naturally discover object correspondences and attribute structure in video.
  • To evaluate the robustness and generalization of self-supervised representations in real-world robotic settings using zero-shot object similarity matching.

Proposed method

  • Uses contrastive learning to train a metric embedding space where positive pairs are automatically discovered from temporal consistency in monocular video, without requiring ground-truth object matches.
  • Leverages a pre-trained objectness detector to extract candidate objects from random frames, then applies a contrastive loss to cluster embeddings of the same object across time.
  • Applies a Siamese network architecture with a contrastive loss function that pulls together embeddings of the same object across different views and pushes apart those of different objects.
  • Performs online training by progressively extending the video sequence used for training, allowing the model to refine its representations over time.
  • Employs a nearest-neighbor classifier for inference, using the learned embeddings to match query objects to their most similar counterparts in the scene.
  • Trains the model end-to-end using only video frames as input, with no reliance on depth, segmentation masks, or tracking signals.

Experimental results

Research questions

  • RQ1Can contrastive learning discover and disentangle object attributes such as color, shape, and function from unstructured monocular video without any supervision?
  • RQ2Does online self-supervision through progressive video exposure lead to improved object identification accuracy compared to offline pretraining?
  • RQ3Can a robot trained on its own collected data using this method generalize to identify and point to objects similar to a given example in a zero-shot manner?
  • RQ4To what extent can self-supervised contrastive learning discover object correspondences without explicit positive pair annotations?
  • RQ5How do the learned representations compare to supervised baselines and standard feature extractors like ResNet50 in terms of generalization and attribute disentanglement?

Key findings

  • The OCN model reduces object identification error from 52.4% in the offline baseline to 2.2% through online training on a 200-second video sequence.
  • The model achieves 10.70% error on linear attribute classification (class), 5.84% on color attributes, and 13.76% on binary attributes, outperforming the ResNet50 baseline (14.82% error) and approaching supervised baselines.
  • Nearest-neighbor analysis shows that OCN organizes objects along both visual (e.g., color) and semantic (e.g., container function) dimensions, correctly grouping bowls with vases and cups.
  • The model successfully enables a robot to point to objects similar to a query object in a real-world setting, demonstrating generalization of learned attributes without human-annotated labels.
  • Self-supervised contrastive learning alone—without depth, tracking, or explicit supervision—enables the discovery of object correspondences and attribute disentanglement in video.
  • The unsupervised OCN model performs within 2–3% of the supervised OCN baseline on attribute classification, indicating strong generalization despite no labeled data.

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.