DynaProto: Dynamic Prototypical Contrast for Temporally Consistent Object-Centric Learning

Tianran Ouyang, Peiqin Xu, Xingping Dong, Kaihao Zhang, Bo DuNeurIPS 2026

TL;DR

Teaching AI to track individual objects in real-world videos without human labels usually fails when objects duck behind obstacles or leave the frame. DynaProto solves this by letting object "slots" dynamically turn on and off as visibility changes, while anchoring each object's identity across an entire video clip rather than just between neighboring frames. The result is a massive leap in unsupervised object discovery and tracking in messy, real-world scenes.

What Problem Does This Paper Address?

Imagine watching a street scene: a dog runs behind a parked car and emerges a second later. To you, it’s effortlessly the same dog. For Object-Centric Learning (OCL)—a branch of AI that decomposes visual scenes into distinct entity vectors called "slots" without human annotations—this is a nightmare.

Standard video OCL models pass a fixed number of slots from frame to frame, forcing every slot to represent something at all times. Worse, recent methods enforce temporal consistency locally, assuming frame $t$ and frame $t+1$ contain the exact same objects. In real-world videos, objects constantly enter, exit, and get occluded. Forcing fixed slots to match across long stretches when objects vanish causes "identity drift" and slot misbinding—where a slot loses its target and latches onto the background or another object.

Methods

DynaProto upgrades standard recurrent Slot Attention (which uses a frozen DINOv2 backbone and feature reconstruction) with two clever additions that work in tandem:

Figure 1: Dynamic recurrent Slot Attention framework. Video frames are initially processed by the Feature Extraction module to extract scene-level features. These features are transformed into object-level representations via the Recurrent Slot Attention (RSA) module. Next, the Dynamic Slot Selection module dynamically identifies the primary slots for each frame. Finally, the selected slots are decoded to yield reconstructed features. The framework is trained using a combined objective consisting of Feature Reconstruction and Prototypical Contrastive losses.
  1. Dynamic Recurrent Slot Attention: Instead of forcing all $K$ slots to reconstruct every frame, a Dynamic Slot Selection module acts as a gatekeeper. It scores each slot’s "purity" (how decisively it wins attention over image patches) and iteratively activates the best slots until a sufficient percentage of the image is covered. Inactive slots sit on the sidelines—excluded from decoding and loss calculations—allowing the model to naturally adapt as objects appear and disappear.
  2. Clip-Level Prototypical Contrast: Rather than comparing slots only between adjacent frames, DynaProto zooms out to the whole clip. For every active slot track across a clip, it averages the embeddings to create a single summary vector—a prototype. It then applies two contrastive rules:
  3. Proto-Slot: Pulls a track's prototype closer to its own active slots across the clip, while pushing away slots from other tracks.
  4. Proto-Proto: Pushes distinct prototypes within the same clip away from each other so two slots don't collapse onto the same object.
Figure 2: Losses utilized in DynaProto. (a) The Prototypical Contrastive Loss comprises the proto- slot and proto-proto terms. The proto-slot term attracts prototypes toward positive slots (green solid arrows) while repelling them from negative slots (red solid arrows). Simultaneously, the proto-proto term enforces separation between distinct prototypes (red bidirectional dashed arrows). (b) The Feature Reconstruction Loss minimizes the distance between original and reconstructed features.

Datasets

No new benchmarks were introduced; the authors evaluate across established synthetic and real-world suites:

  • MOVi-C & MOVi-E: Synthetic video datasets featuring rigid, moving 3D objects.
  • YouTube-VIS 2021 (YTVIS21): Unconstrained, real-world videos with complex camera motion, deformations, and occlusions.
  • COCO: Static real-world images used to test how well the video-trained slots generalize to predicting object categories and coordinates without fine-tuning.

Key Insights and Ideas

  • Neither component works alone in the wild: Ablation studies reveal a fascinating synergy. Using dynamic slot selection without temporal regularization causes training to completely collapse on real-world videos (dropping FG-ARI from 37.8% to 4.5%). Conversely, enforcing clip-level contrast without dynamic slots forces invisible slots to bind to the wrong things. Together, they stabilize each other.
  • Better tracking breeds sharper single-frame vision: By relieving slots from the impossible task of tracking vanished objects, slots learn much cleaner, more discriminative visual features—boosting single-frame object segmentation and static-image classification on COCO.
  • Motion cues are a crutch on synthetic data: Prior methods relying on rigid-motion biases excel on syntheticfalling-block videos (MOVi) but stumble on real videos (YTVIS21) where objects deform and cameras shake. DynaProto’s semantic prototypes handle real-world chaos far more gracefully.

Key Results

DynaProto achieves state-of-the-art unsupervised object discovery on real-world videos:

  • Real-World Video Discovery (YTVIS21): Outperforms the strongest prior baseline (SlotContrast) by +7.7% FG-ARI (reaching 45.7%) and +11.0% mBO (reaching 44.7%, measuring mask overlap quality). Qualitatively, it cleanly re-binds to targets after occlusions.
Figure 3: Qualitative comparison with SlotContrast on the YTVIS21. Our method produces finer object boundaries, maintains stable slot binding to the same target instance across frames, and remains robust when objects disappear or reappear. Colors are adjusted for better visual distinction.
  • Per-Frame Discovery: Hits 87.5% and 90.6% Image FG-ARI on MOVi-C and MOVi-E, beating both image-only models and motion-supervised video models.
  • Zero-Shot Tracking with SAM2: Standalone DynaProto performs comparably to SAM2 initialized with SlotContrast prompts (44.7% vs. 43.7% mBO), while naturally catching newly appearing objects that first-frame-prompted SAM2 misses. Pairing DynaProto with SAM2 jumps performance to 56.6% mBO.
  • Downstream Semantics (COCO): Beats both video and in-domain image baselines on frozen-slot property prediction, hitting 65.8% Top-1 class accuracy (+5.0% over DINOSAUR).

Limitations and Future Work

The authors note three main limitations:

  • No explicit motion cues: Incorporating optical flow or motion priors could further help separate visually similar objects moving differently.
  • Frame-level gating: The dynamic slot selection decides activation frame-by-frame based on attention maps rather than explicitly modeling smooth temporal continuity in the gating mechanism itself.
  • Short video degradation: Because recurrent architectures and prototypes rely on accumulating evidence over time, the model is less effective on very short video clips (and extending the contrast window too far—e.g., to 12 frames—eventually saturates and slightly degrades consistency due to extreme appearance changes).

Summary updated

Abstract

Unsupervised video object-centric learning requires temporally consistent representations for downstream tasks. Existing methods mainly build temporal consistency on the assumption that adjacent frames share the same object composition. However, this local assumption is insufficient for real videos. Some objects remain semantically consistent over much longer temporal spans, while object composition may also change as objects appear or disappear. Fixed-slot recurrent Slot Attention architectures struggle to accommodate such visibility changes, limiting their ability to learn stronger temporal consistency beyond adjacent frames. We propose Dynamic Prototypical Contrast (DynaProto) to address these challenges. DynaProto introduces a dynamic recurrent Slot Attention architecture that determines whether each slot should be activated at each frame, thereby adapting to changing object visibility over longer temporal scopes. In addition, DynaProto introduces a prototypical contrastive objective that provides stronger clip-level temporal consistency supervision. Together, these two components enable DynaProto to learn more stable slot binding over extended temporal ranges. Extensive experiments show that DynaProto learns more temporally consistent slot representations and substantially outperforms prior methods on object discovery and object property prediction on real-world datasets, including an 11.0\% mBO improvement on YouTube-VIS. The code is available at https://github.com/ouyangtianran/DynaProto.
BibTeX
@inproceedings{ouyang2026dynaproto,
  author = {Tianran Ouyang and Peiqin Xu and Xingping Dong and Kaihao Zhang and Bo Du},
  title = {{DynaProto: Dynamic Prototypical Contrast for Temporally Consistent Object-Centric Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=zJOsMj3Nby},
}
Figure