Manuscript Offprint
arXiv:2611.24806ReCoCo: From Patches to Compositions for Visual Representation Learning
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.

(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 (-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 -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 2: Overview of ReCoCo’s regional composition consistency. Two augmented views, and , of an image share an overlapping region . 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, and . 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.
Cross-view patch correspondence. To extend cross-view agreement to local content, most dense methods first establish which patches correspond. Similarity-based methods pair each local feature with its most similar feature in the other view [8, 7] or contrast attention-selected pixels across views [30]. Such matches are only as reliable as the features being learned and can be harmful in low-data regimes [10]. Other methods instead rely on augmentation geometry, matching locations that lie close together in the original image [9, 10], and VICRegL [11] combines both kinds of matching. However, when crop scales differ, matched patches differ in size and may contain different content. ADCLR [31] avoids patch correspondences by appending identical small crops as query tokens to both views and distilling their outputs. However, this introduces additional tokens and relies on shared query crops rather than directly supervising the content within the overlapping views.
Region-level self-supervision. Region-level methods compare pooled representations of regions rather than individual patches. Pooling features over the overlap of two views, however, merges the objects, parts, and background it may contain into one representation. Geometry-based methods therefore pool smaller regions inside the overlap, random boxes in SCRL [12] and fixed-size sliding windows in ReSim [13]. Semantic grouping methods pool features within object-like regions, identified by unsupervised segmentation [14], soft prototype assignments [32], clustering [16, 17], or the attention of concept tokens [18]. Both families focus supervision on smaller or explicitly grouped regions, and neither aggregates the overlap of two views as a whole. ReCoCo averages patch predictions instead of pooling features. The resulting composition preserves the probability mass assigned to each prototype even when the overlap contains several concepts, so ReCoCo can supervise all patches fully inside the overlap of every view pair. The supervised region is thus determined by the augmentations alone, rather than by sampled boxes, sliding windows, or discovered groups. The regional target also lies in the same prototype space as iBOT’s image-level and masked-patch targets, so the three losses differ only in granularity.
3 Method
3.1 Preliminaries
ReCoCo builds on teacher-student self-distillation with image- and patch-level objectives, as in DINO [5] and iBOT [6]. Given an image , we generate global views and local views, denoted by and , respectively, forming the set of augmented views . The student processes all views, with masking applied to the global views. We denote by the set of masked patch positions in global view . The teacher , whose parameters are an exponential moving average (EMA) of the student’s, processes only the unmasked global views.
In each network, the and patch tokens are mapped through a shared projection head to distributions over learned prototypes, with the teacher predictions centred and sharpened. We denote the and patch distributions of view by and , respectively, where indexes a patch and indicates student or teacher. Student predictions are indexed by the underlying view, with global views processed in their masked form and local views processed without masking. The image-level loss and masked-patch loss are defined as
Here, denotes cross-entropy, and denotes the stop-gradient operation.
3.2 Regional Composition
ReCoCo encourages consistent representations of the visual content shared between augmented views. Rather than matching individual patches, whose spatial supports may differ across crops, we represent the shared region through the aggregate distribution of its patch predictions. This provides a correspondence-free representation of the common content without equal patch counts or aligned positions.
For each teacher global view and distinct student view , let denote their overlapping region in the original image, determined from the crop and flip parameters. As illustrated in Figure 2, both networks process their respective full views, while only patches whose spatial footprints lie fully within the overlap are selected for regional composition. We denote these patch sets by and for the teacher and student, respectively. Patches crossing the overlap boundary are excluded to avoid incorporating content outside the shared region. The selected patch sets may differ in cardinality due to differences in crop scale and patch grids.
We obtain the regional compositions by averaging the independently normalised predictions of the selected patches:
Composition of sharpened patch predictions. Each composition is a distribution over the learned prototypes, with each component representing the average probability mass assigned to a prototype within the shared region. We obtain these compositions by averaging independently normalised patch predictions, with teacher predictions centred and sharpened before aggregation. While sharpening encourages confident teacher predictions at individual patches, the resulting composition can still distribute probability mass across multiple prototypes when the region contains diverse content. Averaging patch features before applying the projection head would not generally preserve this mixture of predictions.
Complementary patch-level constraints. By discarding patch identity and spatial ordering, regional composition allows two views to agree on the relative prototype mass within their shared content without establishing patch-wise correspondences. However, this agreement imposes a collective rather than an individual constraint, since different sets of patch predictions can produce the same regional composition. For instance, a region containing patches confidently assigned to two different prototypes may have the same composition as one in which all patches assign equal probability to both. This ambiguity is mitigated by the complementary masked-patch loss , which encourages confident individual predictions by aligning student patches with the teacher’s sharpened targets at masked positions. The two losses therefore encourage consistency in both the composition of shared content and the predictions of its constituent patches, without requiring the region to be semantically homogeneous. In the Appendix, we further characterise these complementary constraints from an information-theoretic perspective.
3.3 Training Objective
We train the student to match the teacher’s regional composition across different augmented views. Each teacher global view is paired with every other global view and every student local view. View pairs for which either view has no patches fully contained within the shared region are excluded from the regional loss. We average the regional cross-entropy separately over global-to-global and global-to-local comparisons, assigning equal weight to both. For each teacher-student view pair, we define the regional cross-entropy as
The regional consistency loss is then
For simplicity, we assume all view pairs have nonempty patch selections within their shared region. In practice, pairs with empty selections are excluded, and each term is normalised by the number of valid pairs.
The overall training objective combines the image-level, masked-patch, and regional consistency losses:
where controls the contribution of the regional consistency loss.
4 Experiments
In this section, we evaluate the effectiveness of ReCoCo in learning transferable dense and global visual representations. We first describe the training setup in Sec. 4.1 and compare ReCoCo against prior SSL methods in Sec. 4.2. We then examine the regional objective through ablations (Sec. 4.3) and feature visualisations (Sec. 4.4). The Appendix adds transferability and representation analyses.
4.1 Experimental Setup
We initialise ViT-S/16, ViT-B/16, and ViT-L/16 from the released iBOT [6] checkpoints and pretrain them on ImageNet-1K [33] for 200, 100, and 40 epochs, respectively. Each image supplies two global views and ten local views, and the regional consistency loss (Eq. 5) is applied to both with weight (Sec. 3.3). Optimisation uses AdamW with a cosine learning-rate schedule. Unless stated otherwise, we report ViT-S/16; Appendix gives the full details.
Starting from iBOT keeps each run within our compute budget and lets us study many variants of the regional loss; Appendix reports ReCoCo trained from scratch. However, the gains of ReCoCo could then partly reflect the additional epochs rather than the regional loss. To separate the two, we train a control, iBOT (+200 ep.), that continues iBOT for the same 200 epochs and hyperparameters with only its original objectives (full comparison in Appendix).
4.2 Main Results
We evaluate ReCoCo across a diverse range of dense and image-level tasks, including semantic segmentation, clustering, image classification, multi-label recognition, and object and region retrieval, covering both dense and global representation quality. Methods marked with an asterisk (∗) and shown in grey are pretrained on LVD-142M and included for reference rather than direct comparison.
Semantic segmentation. Regional consistency encourages patches with the same content to share features. We measure this with the CAPI [24] -NN and linear protocols on ADE20K [34], PASCAL VOC [35], and Cityscapes [36] (mIoU, Table 1). ReCoCo outperforms all methods pretrained on ImageNet-1K in nearly every reported setting. The gains are largest under -NN, which has no learned parameters (e.g. VOC mIoU over iBOT [6] with ViT-S/16), showing that the patch features are already semantically organised before any task-specific training. Notably, despite using over 100 times less pretraining data, ReCoCo also outperforms CAPI [24] in most settings and DINOv2 [1] on VOC, both pretrained on LVD-142M.
Table 1: Semantic segmentation. mIoU (%) with frozen backbones under the CAPI [24] -NN and linear protocols. We highlight the best and second-best. ∗Pretrained on LVD-142M [1].
ADE20K [34] PASCAL VOC [35] Cityscapes [36] Model -NN Linear -NN Linear -NN Linear ViT-Small SiT [4] 17.6 22.3 37.6 47.1 31.4 35.6 DINO [5] 17.5 20.9 37.2 42.3 30.9 35.4 iBOT [6] 22.0 27.0 49.7 58.0 33.5 38.0 iBOT (+200 ep.) 22.6 27.7 51.0 59.3 32.9 37.9 CrOC [16] 19.6 24.2 49.0 58.5 29.1 34.6 CrIBo [17] 24.9 27.4 60.9 66.0 33.3 37.9 CG-SSL [18] 25.8 28.9 60.8 66.7 34.2 39.1 ReCoCo 29.2 31.2 64.3 68.8 35.0 39.8 CAPI∗ [24] 20.6 25.8 50.5 59.4 31.3 36.5 ViT-Base MAE [22] 18.7 25.6 44.2 56.5 32.2 38.1 Data2Vec 2.0 [37] 18.4 22.2 46.9 48.4 28.3 35.0 iBOT [6] 27.0 31.8 56.6 67.1 35.9 39.6 CrIBo [17] 26.9 30.0 61.2 68.1 33.7 38.4 CG-SSL [18] 28.3 31.5 62.7 69.0 35.2 40.0 ReCoCo 31.0 33.9 67.9 72.1 37.8 41.6 CAPI∗ [24] 28.3 33.6 61.8 70.3 36.9 41.9 ViT-Large MAE [22] 21.7 28.0 46.2 55.9 34.9 39.6 Data2Vec 2.0 [37] 23.6 27.0 49.8 50.7 33.1 38.6 iBOT [6] 27.2 32.6 58.6 67.8 36.7 41.9 CAPI [24] 29.2 34.4 60.7 69.7 35.6 41.7 CG-SSL [18] 30.5 35.6 64.0 70.6 36.3 45.5 ReCoCo 32.7 35.2 68.2 73.9 37.9 42.1 CAPI∗ [24] 32.1 37.2 63.8 72.7 38.9 44.3 DINOv2∗ [1] 34.0 39.0 63.0 72.8 42.0 46.8
Table 2: Frozen clustering evaluation. mIoU (%) after clustering frozen ViT-S patch features into one cluster per class (GT) or into 300 and 500 clusters. We highlight the best and second-best.
PASCAL VOC [35] COCO-Things [38] Method GT 300 500 GT 300 500 DINO [5] 4.3 13.9 17.3 5.4 18.8 19.2 iBOT [6] 5.8 27.8 33.0 9.4 29.7 34.0 CrOC [16] 3.4 16.4 20.0 4.9 14.7 18.1 TimeT [39] 12.2 43.6 46.2 17.5 42.7 44.6 CrIBo [17] 18.3 51.3 54.5 14.5 46.0 48.3 ReCoCo 18.7 61.7 64.8 24.6 59.3 61.6 DINOv2∗ [1] 17.1 53.5 58.2 19.7 51.6 53.8
Frozen clustering evaluation. Clustering measures whether frozen patch features group by semantic class without any supervision [15, 39]. We apply -means to the patch features of all VOC and COCO-Things [38] images and report mIoU after matching the clusters to the ground-truth classes (Table 2). Setting to the number of classes requires each class to form a single cluster, whereas overclustering with and allows a class to split into finer groups, such as object parts, provided each group stays within that class. ReCoCo achieves the best mIoU in all six settings, and its margin over the strongest competitor grows from – points with one cluster per class to – points under overclustering. Hence, not only do whole classes separate, but small neighbourhoods of its features also remain within a single class. For visualisations, please refer to Appendix.
Table 3: Multi-class classification. Top-1 accuracy (%) of -NN and linear probes on frozen ViT-S/16 features, with the fraction of the training set used by each probe.
-NN Linear Method 1% 10% 100% 100% iBOT [6] 62.3 70.1 74.9 78.0 iBOT (+200 ep.) 61.8 69.9 74.8 – CrOC [16] 49.0 58.0 66.5 71.4 CrIBo [17] 58.1 64.4 70.7 74.9 CG-SSL [18] – – 74.7 77.7 ReCoCo 63.3 70.3 75.1 78.6 CAPI∗ [24] – – – 71.5
Multi-class classification. Dense self-supervised objectives often improve patch features at the expense of the global representation. We test this trade-off on ImageNet-1K [33] with a weighted -NN classifier on the token, using , or of the training set as reference bank, and with a linear probe trained on the full training set (Table 3). The dense methods CrOC [16], CrIBo [17] and CG-SSL [18] all fall below iBOT [6], whereas ReCoCo maintains its accuracy in every setting. The regional loss thus strengthens the patch features without compromising image-level recognition.
Multi-label classification. Multi-label recognition requires a single image representation to capture every object in a scene, not only the dominant one. We train linear probes on frozen features at on VOC [35], COCO [38] and Visual Genome [40], and in low-shot regimes on VOC with one, two or five training images per class (Table 4). ReCoCo achieves the highest mAP in all six settings. Its advantage over iBOT is largest when training images are scarce ( and mAP with one and two images per class) and, with full data, on COCO (), whose images typically contain several objects. This suggests that supervising the composition of regions also benefits the image-level features of scenes with multiple objects.
Table 4: Multi-label classification. mAP (%) of linear probes on frozen ViT-S/16 features, trained with one, two or five images per class or the full training set.
PASCAL VOC [35] COCO [38] VG [40] Method 1 Img 2 Imgs 5 Imgs Full Full Full iBOT [6] 47.0 56.6 73.0 89.2 69.6 25.8 CrOC [16] 44.2 54.3 71.8 86.6 62.5 22.2 CrIBo [17] 46.6 55.5 74.3 89.2 67.7 25.4 ReCoCo 51.3 60.6 75.1 89.8 71.1 26.8
Table 5: Object and region retrieval. mAP, Precision@50 (P@50) and Recall@1 (R@1) (%) of COCO objects and VOC regions retrieved with mean-pooled frozen ViT-S/16 features.
| Objects (COCO) | Regions (VOC) | |||
|---|---|---|---|---|
| Method | mAP | P@50 | mAP | R@1 |
| iBOT [6] | 20.9 | 32.1 | 49.3 | 82.3 |
| ReCoCo | 38.4 | 48.4 | 63.0 | 86.0 |
Object and region retrieval. We evaluate whether pooled patch features capture objects and semantic regions. Following [41], we mean-pool frozen backbone features within ground-truth COCO query masks and SAM [42] gallery regions, ranking images by their best-matching region (Table 5). ReCoCo nearly doubles iBOT’s mAP, from to , and raises Precision@50 from to . Although the regional loss acts on patch predictions, the gains carry over to pooled backbone descriptors.
withinobjectsbetweenobjectsbetweenclasses0$$0.2$$0.4$$0.6iBOTiBOT (+200 ep.)ReCoCo
(a) Feature variance
| Corr. | Depth | ||
|---|---|---|---|
| Model | SPair | NYU | KITTI |
| iBOT [6] | 29.6 | 0.513 | 3.605 |
| iBOT (+200 ep.) | 29.2 | 0.500 | 3.574 |
| ReCoCo | 26.7 | 0.502 | 3.622 |
(b) Benchmarks
Figure 3: Feature analysis with frozen ViT-S/16 features. (a) Variance of the patch features of VOC validation objects (mean squared cosine distance to the mean) with standard deviation. (b) SPair-71k PCK@0.1 and depth RMSE.
Feature analysis. To understand what the regional loss changes in the features, we measure the variance of the patch features inside the annotated objects of the VOC validation set (Figure 3a). ReCoCo redistributes this variance rather than removing it. This follows from the objective: two views agree on the composition of a shared region only if patches of the same content select the same prototypes, so the patches of an object concentrate on a few prototypes and their variance falls. As the prototypes are shared across images, objects of a class select the same ones and different classes select different ones, which increases the variance between classes. Segmentation, clustering and retrieval gain from compact objects and well-separated classes. Tasks that instead read the fine variation inside an object, such as patch-to-patch correspondence and depth estimation (Figure 3b; protocols of Probe3D [43]), do not draw on this organisation: depth is unchanged and correspondence slightly degrades.
| (a) Embeddings vs. prototypes. | |||
|---|---|---|---|
| VOC | IN1k | ||
| Region | -NN | lin. | -NN |
| 61.8 | 66.7 | 69.1 | |
| 49.8 | 55.6 | 69.4 | |
| 59.9 | 64.6 | 69.5 |
| (b) Region statistic. | |||
|---|---|---|---|
| VOC | IN1k | ||
| Configuration | -NN | lin. | -NN |
| Mean | 61.8 | 66.7 | 69.1 |
| + prototype std. | 61.6 | 66.6 | 69.1 |
| + covariance | 61.6 | 66.5 | 69.1 |
(c) View and patch selection. VOC IN1k Configuration -NN lin. -NN Global 61.8 66.7 69.1 Local 58.0 65.0 69.8 Global & local 62.4 67.1 70.0 Aligned grid 60.8 65.0 68.9 Visible only 61.6 66.9 69.2 (d) Other components. VOC IN1k Configuration -NN lin. -NN iBOT++ [27] 55.3 63.2 67.6 Registers [44] 61.7 66.7 69.0 KoLeo [45] 61.6 66.6 70.5 Separate heads 61.0 66.7 68.7 Multi-depth 59.4 65.6 68.8
Table 6: Ablation study. VOC -NN and linear (lin.) mIoU and IN1k -NN accuracy (%, 10% reference bank); the reference is shown in blue. In (a), and are the prediction and backbone embedding of patch .
1020305060$$62$$64$$66$$68$$70IN1k -NNVOC linearVOC -NNminimum shared area (%)(a) Shared areaScore (%)
weighted205010060$$62$$64$$66$$68$$70patch area in region (%)(b) Patch coverage
0.20.40.60.81.060$$62$$64$$66$$68$$70weight (c) Loss weightScore (%)
Figure 4: Shared area, patch coverage and loss weight. (a) Minimum area shared by a view pair, as a fraction of the image. (b) Minimum fraction of a patch inside the shared region; weighted keeps every patch, weighted by this fraction. (c) Weight of the regional loss. Filled markers denote the reference.
4.3 Ablations
We ablate the regional loss with ViT-S/16, trained on ImageNet-1K [33] for 50 epochs on four GPUs with a total batch size of 256. Blue rows in Table 6 and filled markers in Figure 4 denote the reference setting shared by all ablations, and each variant changes one of its choices. We report -NN and linear mIoU on PASCAL VOC [35] and -NN accuracy on ImageNet-1K with a reference bank. Further ablations are reported in the Appendix.
Embeddings vs. prototypes. Table 6a compares three ways of enforcing regional consistency. Our formulation, , averages patch predictions, while the alternatives average backbone features, either aligning them directly with cosine distance, , or applying the projection head before matching, . Our formulation outperforms both alternatives on dense tasks while maintaining comparable ImageNet accuracy, highlighting the importance of averaging predictions rather than embeddings to preserve multiple visual concepts within a region.
Region statistic. Table 6b examines whether the mean patch prediction is sufficient to represent a region. We compare the composition (Sec. 3.2) with richer statistics, including the standard deviation of each prototype’s predictions across patches and their full covariance, which captures relationships between predictions without patch correspondences. Neither provides meaningful gains over the mean, suggesting that regional composition alone provides sufficient supervision, allowing individual patches to retain distinct predictions while the complementary masked-patch loss encourages confident assignments.
View and patch selection. Table 6c examines which views and patches should form the compositions. Being an average, a composition needs no one-to-one correspondence and can compare regions of different sizes and scales, an advantage over patch-wise matching. Adding global-to-local pairs (global & local) exploits this: it gives the best result on all three metrics and is the setting of our main experiments, whereas local pairs alone (local) are not sufficient. Aligning the grids of the two views by restricting crop displacements and flips (aligned grid) lowers -NN mIoU by point, so the composition does not benefit from patch-wise correspondence, and excluding the student’s masked patches (visible only) brings no consistent benefit.
Other components. Table 6d tests whether components of other self-supervised methods complement the regional loss. We add iBOT++ [27], which extends the masked-patch loss to the visible patches; four register tokens [44]; the KoLeo regulariser [45] on the embeddings; separate projection heads for the and patch tokens; or multi-depth supervision, which applies the regional loss at blocks 3, 6, 9 and 12, each with a copy of the head. None improves dense transfer. KoLeo is the only addition that improves image-level accuracy, raising it by points. We nevertheless exclude KoLeo from our main experiments to ensure a fair comparison with the baseline.
original
iBOT
ReCoCo
(a) Prototype maps (b) PCA of patch features (c) Patch similarity
Figure 5: Visualisations of iBOT and ReCoCo. (a) Each patch coloured by its most probable prototype. (b) First three principal components of the patch features as RGB. (c) Cosine similarity to a query patch (red cross).
Shared area and patch coverage. Figure 4a and b examine how strictly regions and patches should be selected. We vary the minimum area that two views must share for their region to be used (a), and the fraction of a patch that must lie inside the region for it to enter the composition, alternatively keeping every patch weighted by this fraction (b). Requiring a larger shared area brings no benefit, as it only discards view pairs. Admitting partially covered patches slightly lowers both segmentation scores, even when they are weighted, because they encode content absent from the other view. The best option is therefore to keep overlaps of every tested size with all the patches fully inside them and not impose any further restrictions on the shared area.
Loss weight. Figure 4c shows that performance is relatively insensitive to the regional loss weight . Dense performance plateaus around , while image-level accuracy decreases slightly at larger weights, as expected. We therefore use throughout.
4.4 Visualisations
Prototype maps. The regional loss constrains only the composition of a shared region and never assigns a prototype to an individual patch. To show how the patch predictions change nonetheless, Figure 5a colours each patch by its most probable prototype. iBOT’s prototypes change from one patch to the next, even inside an object. ReCoCo instead covers each object with one or two prototypes, which are shared by objects of the same class across images and differ between classes.
PCA of patch features. The frozen-feature evaluations use the backbone features rather than the prototype predictions. Figure 5b therefore maps the first three principal components of the patch features to RGB. ReCoCo’s components follow object boundaries more closely, separating objects from their background while keeping their parts distinct.
Patch similarity. Figure 5c shows the cosine similarity between a query patch and every other patch of the image. With iBOT, high similarity stays close to the query. With ReCoCo, it extends over the whole object and reaches other instances of its class. Patches of the same class thus lie close together in feature space, the property that -NN segmentation, clustering and retrieval rely on.
5 Conclusions
We introduced ReCoCo, a regional self-supervised objective that extends cross-view consistency to the visual content shared between augmented views. By aligning compositions of patch predictions over learned prototypes, ReCoCo provides regional supervision without requiring patch correspondences or semantic grouping. Extensive experiments demonstrate substantial improvements in frozen-feature segmentation, clustering, and retrieval while maintaining strong image-level recognition. Our analysis reveals more coherent representations within objects and greater separation between classes, with these improvements reflected in the backbone features. These findings establish regional composition agreement as a simple and effective supervisory signal bridging image-level consistency and individual-patch prediction.
Limitations and Future Work. Regional composition encourages semantic consistency across views but does not explicitly preserve fine-grained spatial relationships. Thus, its benefits are less pronounced on geometry-sensitive tasks, with slightly degraded keypoint correspondence and largely unchanged depth estimation. Future work could explore how to improve geometric representations while retaining the benefits of correspondence-free regional supervision.
References
[1] M. Oquab, T. Darcet, T. Moutakanni, H. V. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, M. Assran, N. Ballas, W. Galuba, R. Howes, P. Huang, S. Li, I. Misra, M. Rabbat, V. Sharma, G. Synnaeve, H. Xu, H. Jégou, J. Mairal, P. Labatut, A. Joulin, and P. Bojanowski (2024) DINOv2: learning robust visual features without supervision. Transactions on Machine Learning Research. Cited by: Figure 1, Figure 1, §2, §4.2, Table 1, Table 1, Table 1, Table 2.
[2] T. Chen, S. Kornblith, M. Norouzi, and G. Hinton (2020) A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 119, pp. 1597–1607. Cited by: §1, §2.
[3] X. Chen, S. Xie, and K. He (2021) An empirical study of training self-supervised vision transformers. In 2021 IEEE/CVF international conference on computer vision (ICCV), pp. 9620–9629. Cited by: §1.
[4] S. Atito, M. Awais, and J. Kittler (2021) SiT: self-supervised vIsion transformer. arXiv preprint arXiv:2104.03602. Cited by: §1, Table 1.
[5] M. Caron, H. Touvron, I. Misra, H. Jégou, J. Mairal, P. Bojanowski, and A. Joulin (2021) Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9650–9660. Cited by: §1, §1, §2, §3.1, Table 1, Table 2.
[6] J. Zhou, C. Wei, H. Wang, W. Shen, C. Xie, A. Yuille, and T. Kong (2022) iBOT: image BERT pre-training with online tokenizer. In International Conference on Learning Representations, Cited by: §1, §1, §2, §3.1, Figure 3, §4.1, §4.2, §4.2, Table 1, Table 1, Table 1, Table 2, Table 3, Table 4, Table 5.
[7] C. Li, J. Yang, P. Zhang, M. Gao, B. Xiao, X. Dai, L. Yuan, and J. Gao (2022) Efficient self-supervised vision transformers for representation learning. In International Conference on Learning Representations, Cited by: §1, §2.
[8] X. Wang, R. Zhang, C. Shen, T. Kong, and L. Li (2021) Dense contrastive learning for self-supervised visual pre-training. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3024–3033. Cited by: §1, §2.
[9] Z. Xie, Y. Lin, Z. Zhang, Y. Cao, S. Lin, and H. Hu (2021) Propagate yourself: exploring pixel-level consistency for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16684–16693. Cited by: §1, §2.
[10] T. Lebailly and T. Tuytelaars (2023) Global-local self-distillation for visual representation learning. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Cited by: §1, §2.
[11] A. Bardes, J. Ponce, and Y. LeCun (2022) VICRegL: self-supervised learning of local visual features. In Advances in Neural Information Processing Systems, Vol. 35, pp. 8799–8810. Cited by: §1, §2.
[12] B. Roh, W. Shin, I. Kim, and S. Kim (2021) Spatially consistent representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1144–1153. Cited by: §1, §2.
[13] T. Xiao, C. J. Reed, X. Wang, K. Keutzer, and T. Darrell (2021) Region similarity representation learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 10539–10548. Cited by: §1, §2.
[14] O. J. Hénaff, S. Koppula, J. Alayrac, A. van den Oord, O. Vinyals, and J. Carreira (2021) Efficient visual pretraining with contrastive detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 10086–10096. Cited by: §1, §2.
[15] A. Ziegler and Y. M. Asano (2022) Self-supervised learning of object parts for semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 14502–14511. Cited by: §1, §4.2.
[16] T. Stegmüller, T. Lebailly, B. Bozorgtabar, T. Tuytelaars, and J. Thiran (2023) CrOC: cross-view online clustering for dense visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7000–7009. Cited by: §1, §2, §4.2, Table 1, Table 2, Table 3, Table 4.
[17] T. Lebailly, T. Stegmüller, B. Bozorgtabar, J. Thiran, and T. Tuytelaars (2024) CrIBo: self-supervised learning via cross-image object-level bootstrapping. In International Conference on Learning Representations, Cited by: §1, §2, §4.2, Table 1, Table 1, Table 2, Table 3, Table 4.
[18] S. Atito, J. Kittler, I. Razzak, and M. Awais (2025) CG-SSL: concept-guided self-supervised learning. In Advances in Neural Information Processing Systems, Cited by: §1, §2, §4.2, Table 1, Table 1, Table 1, Table 3.
[19] K. He, H. Fan, Y. Wu, S. Xie, and R. Girshick (2020) Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9729–9738. Cited by: §2.
[20] J. Grill, F. Strub, F. Altché, C. Tallec, P. H. Richemond, E. Buchatskaya, C. Doersch, B. A. Pires, Z. D. Guo, M. G. Azar, B. Piot, K. Kavukcuoglu, R. Munos, and M. Valko (2020) Bootstrap your own latent: a new approach to self-supervised learning. In Advances in Neural Information Processing Systems, Vol. 33. Cited by: §2.
[21] M. Caron, I. Misra, J. Mairal, P. Goyal, P. Bojanowski, and A. Joulin (2020) Unsupervised learning of visual features by contrasting cluster assignments. In Advances in Neural Information Processing Systems, Vol. 33. Cited by: §2.
[22] K. He, X. Chen, S. Xie, Y. Li, P. Dollár, and R. Girshick (2022) Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16000–16009. Cited by: §2, Table 1, Table 1.
[23] M. Assran, Q. Duval, I. Misra, P. Bojanowski, P. Vincent, M. Rabbat, Y. LeCun, and N. Ballas (2023) Self-supervised learning from images with a joint-embedding predictive architecture. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15619–15629. Cited by: §2.
[24] T. Darcet, F. Baldassarre, M. Oquab, J. Mairal, and P. Bojanowski (2025) Cluster and predict latent patches for improved masked image modeling. Transactions on Machine Learning Research. Cited by: §2, §4.2, Table 1, Table 1, Table 1, Table 1, Table 1, Table 1, Table 3.
[25] O. Siméoni, H. V. Vo, M. Seitzer, F. Baldassarre, M. Oquab, C. Jose, V. Khalidov, M. Szafraniec, S. Yi, M. Ramamonjisoa, F. Massa, D. Haziza, L. Wehrstedt, J. Wang, T. Darcet, T. Moutakanni, L. Sentana, C. Roberts, A. Vedaldi, J. Tolan, J. Brandt, C. Couprie, J. Mairal, H. Jégou, P. Labatut, and P. Bojanowski (2025) DINOv3. arXiv preprint arXiv:2508.10104. External Links: 2508.10104 Cited by: §2.
[26] A. Marouani, O. Siméoni, H. Jégou, P. Bojanowski, and H. V. Vo (2026) Revisiting [CLS] and patch token interaction in vision transformers. In International Conference on Learning Representations, Cited by: §2.
[27] B. Cao, K. Chen, K. Maninis, K. Chen, A. Karpur, Y. Xia, S. Dua, T. Dabral, G. Han, B. Han, J. Ainslie, A. Bewley, M. Jacob, R. Wagner, W. Ramos, K. Choromanski, M. Seyedhosseini, H. Zhou, and A. Araujo (2026) TIPSv2: advancing vision-language pretraining with enhanced patch-text alignment. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Cited by: §2, §4.3, Table 6.
[28] L. Mur-Labadia, M. Muckley, A. Bar, M. Assran, K. Sinha, M. Rabbat, Y. LeCun, N. Ballas, and A. Bardes (2026) V-JEPA 2.1: unlocking dense features in video self-supervised learning. arXiv preprint arXiv:2603.14482. External Links: 2603.14482 Cited by: §2.
[29] Z. Fu, B. Tan, C. Sun, S. Liu, K. Zheng, Y. Xu, X. Zhu, Y. Shen, and N. Xue (2026) Vision pretraining for dense spatial perception. arXiv preprint arXiv:2607.05247. External Links: 2607.05247 Cited by: §2.
[30] Z. Wang, Q. Li, G. Zhang, P. Wan, W. Zheng, N. Wang, M. Gong, and T. Liu (2022) Exploring set similarity for dense self-supervised representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16590–16599. Cited by: §2.
[31] S. Zhang, F. Zhu, R. Zhao, and J. Yan (2023) Patch-level contrasting without patch correspondence for accurate and dense contrastive representation learning. In International Conference on Learning Representations, Cited by: §2.
[32] X. Wen, B. Zhao, A. Zheng, X. Zhang, and X. Qi (2022) Self-supervised visual representation learning with semantic grouping. In Advances in Neural Information Processing Systems, Vol. 35, pp. 16423–16438. Cited by: §2.
[33] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and L. Fei-Fei (2009) ImageNet: a large-scale hierarchical image database. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 248–255. Cited by: §4.1, §4.2, §4.3.
[34] B. Zhou, H. Zhao, X. Puig, S. Fidler, A. Barriuso, and A. Torralba (2017) Scene parsing through ADE20K dataset. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 633–641. Cited by: §4.2, Table 1.
[35] M. Everingham, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman (2010) The pascal visual object classes (VOC) challenge. International Journal of Computer Vision 88 (2), pp. 303–338. Cited by: §4.2, §4.2, §4.3, Table 1, Table 2, Table 4.
[36] M. Cordts, M. Omran, S. Ramos, T. Rehfeld, M. Enzweiler, R. Benenson, U. Franke, S. Roth, and B. Schiele (2016) The cityscapes dataset for semantic urban scene understanding. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3213–3223. Cited by: §4.2, Table 1.
[37] A. Baevski, A. Babu, W. Hsu, and M. Auli (2023) Efficient self-supervised learning with contextualized target representations for vision, speech and language. In International Conference on Machine Learning, Cited by: Table 1, Table 1.
[38] T. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick (2014) Microsoft COCO: common objects in context. In European Conference on Computer Vision (ECCV), pp. 740–755. Cited by: §4.2, §4.2, Table 2, Table 4.
[39] M. Salehi, E. Gavves, C. G. M. Snoek, and Y. M. Asano (2023) Time does tell: self-supervised time-tuning of dense image representations. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Cited by: §4.2, Table 2.
[40] R. Krishna, Y. Zhu, O. Groth, J. Johnson, K. Hata, J. Kravitz, S. Chen, Y. Kalantidis, L. Li, D. A. Shamma, M. S. Bernstein, and L. Fei-Fei (2017) Visual genome: connecting language and vision using crowdsourced dense image annotations. International Journal of Computer Vision 123 (1), pp. 32–73. Cited by: §4.2, Table 4.
[41] M. Shlapentokh-Rothman, A. Blume, Y. Xiao, Y. Wu, S. TV, H. Tao, J. Y. Lee, W. Torres, Y. Wang, and D. Hoiem (2024) Region-based representations revisited. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17107–17116. External Links: Link Cited by: §4.2.
[42] A. Kirillov, E. Mintun, N. Ravi, H. Mao, C. Rolland, L. Gustafson, T. Xiao, S. Whitehead, A. C. Berg, W. Lo, P. Dollár, and R. Girshick (2023) Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4015–4026. External Links: Link Cited by: §4.2.
[43] M. El Banani, A. Raj, K. Maninis, A. Kar, Y. Li, M. Rubinstein, D. Sun, L. Guibas, J. Johnson, and V. Jampani (2024) Probing the 3d awareness of visual foundation models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 21795–21806. Cited by: §4.2.
[44] T. Darcet, M. Oquab, J. Mairal, and P. Bojanowski (2024) Vision transformers need registers. In International Conference on Learning Representations (ICLR), Cited by: §4.3, Table 6.
[45] A. Sablayrolles, M. Douze, C. Schmid, and H. Jégou (2019) Spreading vectors for similarity search. In International Conference on Learning Representations (ICLR), Cited by: §4.3, Table 6.