Object-Aware DINO (Oh-A-Dino): Enhancing Self-Supervised Representations for Multi-Object Instance Retrieval

Stefan Sylvius Wagner, Stefan Harmeling · OpenReview

Abstract

Object-centric learning is fundamental to human vision and crucial for models requiring complex reasoning. Traditional approaches rely on slot-based bottlenecks to learn object properties explicitly, while recent self-supervised vision models like DINO have shown emergent object understanding. However, DINO representations primarily capture global scene features, often confounding individual object attributes. We investigate the effectiveness of DINO representations and slot-based methods for multi-object instance retrieval. Our findings reveal that DINO representations excel at capturing global object attributes such as object shape and size, but struggle with object-level details like colour, whereas slot-based representations struggle at both global and object-level understanding. To address this, we propose a method that combines global and local features by augmenting DINO representations with object-centric latent vectors from a Variational Autoencoder trained on segmented image patches that are extracted from the DINO features. This approach improves multi-object instance retrieval performance, bridging the gap between global scene understanding and fine-grained object representation without requiring full model retraining.

Introduction

Modern computer vision has shifted toward large-scale "foundation models" such as DINOv2 and CLIP, which provide robust general-purpose representations. While these models demonstrate impressive emergent properties in scene understanding, they suffer from a significant "attribute bottleneck." Specifically, while they are adept at capturing geometric properties like shape and size, they often fail to distinguish objects based on fine-grained surface-level cues such as color, material, and texture.

This limitation is critical for downstream applications like robotic manipulation or complex scene reasoning. For instance, a robot tasked with identifying a "red metallic cube" in a cluttered scene may fail if its vision backbone cannot reliably bind the attribute "red" or "metallic" to the specific "cube" instance. This paper investigates why current self-supervised and slot-based models struggle with "attribute binding"—the ability to correctly associate multiple properties with a single object instance—and proposes a modular solution to bridge this gap.

Methods

The proposed approach, Object-Aware DINO (Oh-A-DINO), enhances a frozen DINOv2 backbone without the need for computationally expensive retraining. The pipeline is structured into four primary stages:

  1. Patch Extraction: Raw patch embeddings are extracted from a pre-trained DINOv2-S model.
  2. PCA-Based Segmentation: To isolate individual objects, a two-pass Principal Component Analysis (PCA) technique is employed. The first pass distinguishes the foreground from the background, while the second pass refines object masks to prevent fragmentation.
  3. VAE Latent Learning: A lightweight Variational Autoencoder (VAE) is trained on the segmented object patches. The VAE's bottleneck forces the model to learn a compact, disentangled representation of the object's appearance, specifically targeting attributes like color and texture.
  4. Feature Fusion: The final representation is created by concatenating the global scene features (DINO's CLS token) with the local VAE latents. This hybrid approach leverages DINO's global context and the VAE's fine-grained object details.
The Oh-A-DINO pipeline: extracting patches via PCA and learning local object latents with a VAE.

Experimental Evaluation

The method was evaluated across three diverse environments:

  • CLEVR: A synthetic benchmark where objects vary by shape, size, material, and color.
  • CLEVRTex: A more complex version of CLEVR featuring realistic textures instead of solid colors.
  • Stanford Cars: A real-world dataset used to test the model's ability to distinguish between car models that share similar geometry but differ in fine-grained details like color and trim.

Key Results

Oh-A-DINO demonstrates substantial performance gains, particularly in multi-attribute retrieval tasks. In the CLEVR environment, Oh-A-DINO achieved a Top-10 Precision of 56.4%, significantly outperforming the base DINOv2 (13.0%) and CLIP (14.7%).

The "colorblindness" of standard backbones was particularly evident: DINOv2 scored only 40.8% on color-specific retrieval, whereas Oh-A-DINO reached 96.6%. In the textured CLEVRTex environment, Oh-A-DINO nearly doubled the precision of the base model (20.3% vs. 12.2%). Furthermore, real-world tests on Stanford Cars confirmed that the method effectively reduces the distance to reference colors compared to standard DINOv2.

Qualitative and quantitative comparison of retrieval performance across different models.

Discussion and Insights

A key finding of this research is that scaling model size (e.g., from DINOv2-S to DINOv2-L) does not resolve the attribute bottleneck. The tendency to discard color and texture information appears to be an inherent property of current self-supervised training objectives rather than a lack of capacity.

Additionally, while slot-based methods (e.g., SlotDiffusion) are designed for object-centricity, they often fail to correctly "bind" attributes, sometimes associating the correct color with the wrong shape. Oh-A-DINO maintains high fidelity across all attributes simultaneously by modularly augmenting the backbone with a specialized "observer" (the VAE).

Limitations and Future Work

Oh-A-DINO functions as a "downstream fix" and is dependent on the backbone's initial ability to locate objects via PCA. If the underlying features are insufficient for basic segmentation, the VAE augmentation cannot recover the lost information. Future research will investigate why self-supervised objectives tend to ignore surface-level cues and explore the utility of these representations in active reinforcement learning tasks.

Summary updated

Abstract

Object-centric learning is fundamental to human vision and crucial for models requiring complex reasoning. Traditional approaches rely on slot-based bottlenecks to learn object properties explicitly, while recent self-supervised vision models like DINO have shown emergent object understanding. However, DINO representations primarily capture global scene features, often confounding individual object attributes. We investigate the effectiveness of DINO representations and slot-based methods for multi-object instance retrieval. Our findings reveal that DINO representations excel at capturing global object attributes such as object shape and size, but struggle with object-level details like colour, whereas slot-based representations struggle at both global and object-level understanding. To address this, we propose a method that combines global and local features by augmenting DINO representations with object-centric latent vectors from a Variational Autoencoder trained on segmented image patches that are extracted from the DINO features. This approach improves multi-object instance retrieval performance, bridging the gap between global scene understanding and fine-grained object representation without requiring full model retraining.
BibTeX
@misc{wagner2025object,
  author = {Stefan Sylvius Wagner and Stefan Harmeling},
  title = {{Object-Aware DINO (Oh-A-Dino): Enhancing Self-Supervised Representations for Multi-Object Instance Retrieval}},
  year = {2025},
  eprint = {2503.09867},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.09867},
}
Figure