Time to augment contrastive learning

Arthur Aubret, Markus Roland Ernst, Céline Teulière, Jochen Triesch · DOI

Introduction

In computer vision, Self-Supervised Learning (SSL) has emerged as a dominant paradigm for learning visual representations without the need for manual labels. Current state-of-the-art methods, such as SimCLR, BYOL, and VICReg, primarily rely on a suite of "hand-crafted" image augmentations—including random cropping, horizontal flipping, and color jittering—to define the invariances the model should learn. However, these static 2D manipulations differ significantly from the continuous temporal data streams through which biological systems, like human infants, learn about the world.

This paper investigates whether "time-based augmentations"—the natural changes in perspective and background that occur when an agent interacts with a 3D object—can provide a more robust signal for SSL than traditional image-based methods.

Methodology and Datasets

The researchers propose a time-contrastive learning framework. Instead of creating a positive pair by applying two different 2D augmentations to the same static image, they use frames that occur close together in a temporal sequence.

The Virtual Home Environment (VHE) simulation setup, illustrating agent and object positioning.

To test this, the authors utilized several environments:

  1. Virtual Home Environment (VHE): A photorealistic simulation where an agent interacts with thousands of 3D models from the Toys4k dataset within a residential setting.
  2. 3D Shape Environment (3DShapeE): A controlled environment with untextured objects to isolate the role of geometric shape.
  3. Real-World Datasets: Validation was performed on ToyBox (human-object interaction videos) and CORe50 (objects in diverse natural environments).

The study compared three primary strategies: a standard image augmentation baseline, a time-based approach (-TT) using raw sequential frames, and a combined approach (-TT+) that applies standard augmentations to the temporally subsequent frame.

Key Insights: 3D Rotations and Ego-Motion

The core finding is that natural 3D interactions provide information that 2D augmentations cannot replicate.

Visualizing 3D rotations and natural manipulations across various object categories.

3D Rotations vs. 2D Flips

While a 2D horizontal flip is a common SSL augmentation, it only provides a mirror image. In contrast, 3D rotations reveal the volumetric structure of an object. The researchers found that rapid 3D rotations help models focus on general category-level shape features rather than instance-specific details.

Ego-Motion as a Background Filter

When an agent moves while holding an object, the object remains relatively stationary in the visual field while the background shifts. This "natural augmentation" effectively teaches the model to ignore background clutter, enhancing the robustness of the representation when the object is encountered in novel environments.

The Slowness Principle

The results align with the "slowness principle" in biological vision, which suggests that neural systems prioritize information that changes slowly over time (like object identity) while filtering out high-frequency noise (like lighting shifts or pixel-level changes).

Results and Performance

The combined approach (-TT+) consistently outperformed all baselines. In the complex VHE, SimCLR-TT+ achieved an accuracy of 53.7%, a significant improvement over the 32.8% achieved by standard SimCLR. Across all tests, the time-based methods showed gains of 0.037 to 0.266 points in category accuracy. Crucially, models trained with 3D rotations generalized much better to unseen objects within the same category, proving that temporal data helps capture the "essence" of an object class.

Conclusion and Future Directions

This research demonstrates that the temporal structure of natural experience is a powerful, underutilized resource for SSL. While current simulations lack certain real-world complexities like hand occlusions, the success of time-based augmentations suggests a shift toward more "active" and "embodied" learning models. Future work may explore active view selection, where an agent chooses how to interact with an object to maximize its learning efficiency, further narrowing the gap between artificial and biological intelligence.

Summary updated

BibTeX
@inproceedings{aubret2023time,
  author = {Arthur Aubret and Markus Roland Ernst and Céline Teulière and Jochen Triesch},
  title = {{Time to augment contrastive learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=o8xdgmwCP8l},
}
Figure