arXiv:2611.24806cs.CVNov 2026

Manuscript Offprint

arXiv:2611.24806

ReCoCo: From Patches to Compositions for Visual Representation Learning

Juan Gutiérrez, Saman Zadtootaghaj, José Luis Blanco-Murillo, Sara Atito

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Self-supervised learning has produced powerful visual representations, yet learning strong dense features remains challenging. While consistency between augmented views provides strong image-level supervision, extending this principle to local visual content is less straightforward. Existing approaches often match individual patches across views or identify coherent regions, introducing uncertainties in correspondence estimation and assumptions about how visual content should be grouped. We introduce ReCoCo (Regional Composition Consistency), a principled approach that extends cross-view consistency to the regional level without requiring such correspondences or semantic grouping. ReCoCo represents the content shared between augmented views through compositions of their patch-level predictions over learned visual prototypes. By aligning these compositions, the model learns from regions containing multiple visual concepts without requiring them to be separated beforehand. ReCoCo integrates naturally with teacher-student self-distillation and introduces no additional learned parameters. Extensive experiments demonstrate substantial improvements in frozen-feature segmentation, clustering, and regional retrieval while maintaining competitive image-level recognition, alleviating the trade-off between dense and global representation quality.

Figure

(a) ReCoCo matches compositions of the overlap.

(b) Dense vs. backbone.

(c) Dense vs. global transfer.

Figure 1: ReCoCo matches regional compositions across views. (a) The student and teacher process two overlapping views of an image. Rather than matching individual patches, ReCoCo averages the patch predictions within the shared region to obtain one composition per view, then aligns the two compositions. Unlike averaging embeddings, averaging predictions preserves the contributions of multiple visual concepts (bottom). (b) Mean mIoU of six frozen segmentation settings (kk-NN and linear probes on ADE20K, PASCAL VOC and Cityscapes) across backbones. (c) The same mean against ImageNet-1K linear accuracy (ViT-S/16). ∗Pretrained on LVD-142M [1].

1 Introduction

Self-supervised learning (SSL) has established cross-view consistency as a powerful principle for learning transferable visual representations [2, 3, 4, 5, 6]. By encouraging different augmented views of an image to produce compatible representations, models learn to capture visual information that persists across changes in appearance, scale, and spatial coverage. However, when augmented views share only part of an image, it becomes less clear what their representations should agree on. At the image level, agreement can be enforced between global representations. At the patch level, it typically requires identifying which visual elements correspond. Neither formulation directly expresses agreement on the heterogeneous content shared between two views.

This limitation becomes more apparent in dense representation learning. Methods such as DINO [5] enforce agreement between global representations of augmented views, but do not explicitly capture how objects, parts, and background contribute to them. iBOT [6] introduces finer supervision through masked-patch prediction, although its patch-level objective operates within the same crop rather than across different views. Neither objective directly enforces consistency over the local content shared between views, leaving a gap between global agreement and individual-patch supervision.

Extending cross-view consistency to local content is challenging because augmentation changes not only appearance but also the spatial support of visual tokens. Existing approaches commonly address this by establishing patch correspondences through feature similarity [7, 8] or augmentation geometry [9, 10, 11]. The former relies on potentially unreliable learned features, while the latter matches spatial locations that may capture different visual content due to differences in crop scale and patch resolution. Both approaches therefore depend on potentially imperfect one-to-one correspondences.

To overcome the limitations of individual patch matching, existing methods explore supervision over larger groups of visual content. However, a region may contain multiple objects, parts, and background, whose distinct information can be obscured when their features are averaged into a single representation. To address this, geometry-based methods align smaller corresponding regions within overlapping views to preserve local information [12, 13], while others identify object-like groups through segmentation, clustering, or learned feature similarity [14, 15, 16, 17, 18]. Although these approaches provide more focused supervision, they require either selecting smaller regions or identifying meaningful groups, introducing additional assumptions about which visual content should be aligned.

We take a different perspective in which cross-view consistency is enforced through the composition of shared visual content, rather than individual patch correspondences or pooled feature representations. By representing a region through the distribution of its patch-level prototype predictions, we can account for multiple visual concepts without explicitly separating them. The strength of this formulation lies in its simplicity. It provides a principled way to enforce consistency over shared visual content across different crop scales and patch resolutions, without requiring explicit correspondences or semantic grouping. Augmentation geometry determines which content is shared, while prototype distributions define how agreement is enforced.

Building on this idea, we introduce ReCoCo (Regional Composition Consistency), which aligns the prototype compositions of overlapping augmented views (Figure 2). For each pair of views, we identify their shared region and independently average the patch-level prototype predictions within it. The student is then trained to match the teacher’s composition, without requiring aligned patch grids or equal numbers of patches. This provides regional supervision alongside image-level and masked-patch objectives within the same prototype space, without extra parameters.

Empirically, ReCoCo delivers substantial improvements over existing SSL approaches in frozen-feature dense prediction while maintaining competitive image-level recognition (Figure 1). For example, on PASCAL VOC, it improves over the baseline by 14.6 and 10.8 mIoU points under kk-NN and linear probing, respectively, with gains extending across downstream tasks and larger backbones.

Our contributions are summarised as follows:

  • We introduce ReCoCo, a regional self-supervised objective that enforces consistency through the composition of shared visual content, without requiring patch correspondences, semantic grouping, or extra parameters.
  • We investigate the design choices underlying effective regional supervision through systematic ablations, demonstrating the importance of prediction-space aggregation, patch selection, and view pairing. Our feature analyses further reveal stronger within-object coherence and between-class separation.
  • We demonstrate substantial improvements across semantic segmentation, clustering, and retrieval tasks while preserving image-level recognition, alleviating the trade-off between dense and global representation quality.

Figure

Figure 2: Overview of ReCoCo’s regional composition consistency. Two augmented views, v1v_{1} and v2v_{2}, of an image xx share an overlapping region oo. The student and its EMA teacher process the full views and predict distributions over learned prototypes for individual patches. Only patches fully contained within the overlap are selected, and their predictions are independently averaged to obtain the student and teacher regional compositions, hv1,osh_{v_{1},o}^{s} and hv2,oth_{v_{2},o}^{t}. The regional consistency loss aligns the student composition with the stop-gradient teacher composition, without requiring patch-wise correspondences. Both networks comprise an encoder and a projection head; the projection heads and student masking are omitted for visual simplicity.