NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hyperbolic Contrastive Learning for Visual Representations beyond Objects

Songwei Ge, Shlok Kumar Mishra, Simon Kornblith, Chun-Liang Li, David Jacobs

Hyperbolic Contrastive Learning for Visual Representations beyond Objects

Abstract

Standard self-supervised learning (SSL) methods often struggle with scene-centric datasets because they treat images as flat points in Euclidean space, ignoring the inherent hierarchy where scenes are composed of multiple objects. We introduce Hyperbolic Contrastive Learning (HCL), a dual-branch framework designed to model this "object-centric scene hierarchy." By leveraging the exponential volume of hyperbolic space, HCL learns representations where the vector direction captures semantic category and the magnitude reflects compositional complexity. Our approach significantly improves performance on downstream tasks like object detection and segmentation on datasets such as COCO and OpenImages.

Introduction

Current SSL paradigms like MoCo or SimCLR are optimized for object-centric datasets (e.g., ImageNet), where an image typically contains a single dominant object. In contrast, scene-centric datasets like COCO feature complex interactions between numerous objects. The authors argue that Euclidean space is geometrically limited for representing these hierarchies. In the real world, a scene is a composition of objects; hyperbolic space, specifically the Poincaré ball model, is mathematically better suited for embedding such tree-like structures due to its exponential growth in volume relative to radius.

Methods

The proposed HCL framework utilizes two concurrent branches to learn complementary features:

  1. Euclidean Branch (Object-Object): Employs standard InfoNCE loss on a hypersphere to focus on "what" an object is, ensuring consistent representations across different views of the same object.
  2. Hyperbolic Branch (Scene-Object): Maps representations into a Poincaré ball. It uses positive pairs consisting of a scene and an object crop from within it. The loss function encourages "general" objects to reside near the center of the ball (small norm) and "specific" scenes to move toward the boundary (large norm).
The HCL dual-branch framework combining Euclidean object-object contrast and Hyperbolic scene-object contrast.

Key Insights and Results

A pivotal discovery of this work is the "Power of the Norm." While standard SSL typically discards magnitude through L2-normalization, HCL demonstrates that the hyperbolic norm is a rich signal for hierarchy. As shown in the visual evidence below, smaller norms consistently align with clean, single-object images, while larger norms correspond to complex, multi-object scenes.

Visual comparison showing that smaller hyperbolic norms correspond to clean, single objects, while larger norms correspond to complex scenes.

Empirical results validate the effectiveness of HCL. When integrated with baselines like Dense-CL, HCL improved COCO object detection (AP) from 39.6 to 42.5. Additionally, HCL proved highly efficient; pre-training on OpenImages for 75 epochs outperformed a 200-epoch ImageNet baseline. The model also excels in zero-shot tasks, such as identifying out-of-context objects by measuring abnormally large hyperbolic distances between an object and its surrounding scene.

Conclusion

Hyperbolic Contrastive Learning successfully bridges the gap between object-centric and scene-centric representation learning. By explicitly modeling the compositional hierarchy of the visual world, HCL produces more versatile features for complex downstream applications. Future research may explore more granular hierarchies, such as part-whole relationships, to further refine these visual embeddings.

Summary updated

BibTeX
@inproceedings{ge2022hyperbolic,
  author = {Songwei Ge and Shlok Kumar Mishra and Simon Kornblith and Chun-Liang Li and David Jacobs},
  title = {{Hyperbolic Contrastive Learning for Visual Representations beyond Objects}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=QUyasQGv1Nl},
}
Figure