Manuscript Offprint
arXiv:2610.34305Learning Discriminative Prototypes via Boundary Repulsion MixUp for Object Re-Identification
Abstract
Object re-identification requires embeddings that are robust to intra-class variation in viewpoint, illumination, and occlusion, yet preserve sharp separation between visually similar identities. The hardest errors arise precisely where confusable identities meet, a region that pairwise losses shape only implicitly. We present PBR-ReID, a prototype-based framework that makes this inter-class geometry an explicit learning target. Each identity is represented by a learnable prototype jointly optimized with a DiNOv3 backbone and the resulting prototype similarity matrix reveals, at every training step, which identities are most confusable. On this signal we build Boundary Repulsion MixUp (BRM), a geometry-aware regularizer that converts standard MixUp's weakness into a discriminative signal. Rather than interpolating samples across confusable identities, which blurs the boundaries that matter most, BRM constructs an explicit boundary proxy between each confusable pair and repels their features away from it, converting boundary ambiguity into a discriminative signal. We adopt a two-stage training protocol consisting of a prototype warmup phase followed by EMA-stabilized joint fine-tuning. Extensive experiments on person and vehicle ReID benchmarks demonstrate strong performance, with thorough ablations confirming each component's contribution. Code is available at https://github.com/psaltaath/pbr-reid.
1. Introduction
Object Re-Identification (ReID) is an important component of intelligent surveillance [34], autonomous driving [22] and multi-camera tracking systems [29], where fine-grained identity matching across non-overlapping cameras must remain robust to viewpoint, illumination and occlusion while precisely separating visually similar identities. Recent advances in Vision Transformers [13, 49], CLIP-driven alignment [23, 58] and part-based attention [73] have pushed retrieval accuracy to impressive levels, yet a more targeted question remains underexplored: should identity representatives be post-hoc feature aggregates, or learnable parameters that actively structure the embedding space?
The most straightforward representation treats each gallery image as an independent representative which is maximally expressive, but outlier-sensitive and linear in gallery size. Aggregating per-class embeddings into a single centroid proves surprisingly effective since it improves both accuracy and outlier robustness while reducing gallery search complexity [55], yet centroids are static post-hoc aggregates. Thus, they are confined to the convex hull of observed features and brittle under multi-modal intra-class distributions. Prototype-based representations have been explored across ReID as memory anchors for unsupervised and continual learning [5, 56], as prototypical contrastive targets [19], and as learnable classifier weights retained at inference [50]. Generalized prototypes constructed from gallery features at inference push past the centroid ceiling [33], but tie the model to the gallery at test time and leave training-time geometry uncontrolled. Across all these cases, however, prototypes remain reactive aggregates or inference-time constructs, decoupled from the inter-class geometry they induce and never used as a discriminative signal during training.
These failures are not spread uniformly across the embedding space but concentrate at the boundaries between confusable classes. Classification errors under distribution shift cluster near semantically similar classes and models with larger inter-class margins are substantially more robust to such shifts [57]. The analogue in ReID is direct, since the most damaging retrieval failures occur between visually confusable identities (e.g. persons in matching attire, vehicles of identical design and color) whose embeddings lie near shared decision boundaries. Standard regularization techniques can deepen this fragility rather than relieve it. Interpolation-based methods such as MixUp [61] are agnostic to class geometry, sampling mixed features uni-formly between pairs, including between highly confusable identities, and thus placing synthetic samples in the most ambiguous regions, where they reinforce rather than resolve boundary confusion. The common thread is that without a stable, explicit representation of class structure during training, the boundaries between genuinely confusable identities are never modeled, and the margins they demand are never enforced.
In this work, we introduce Prototype-based Boundary Repulsion for ReID (PBR-ReID), a framework built on two components that treats identity representatives as learnable parameters actively structuring the embedding space, making the inter-class geometry itself the learning target. First, we attach to each identity a learnable prototype , a free parameter optimized jointly with a DINOv3 [40] backbone that, unlike a post-hoc centroid, adapts to the global inter-class geometry and makes pairwise identity relationships explicit through the prototype similarity matrix . The prototypes are purely a training-time mechanism, shaping the feature geometry during optimization and discarded at inference, where retrieval relies on backbone features alone. Second, we introduce Boundary Repulsion MixUp (BRM), which reads to single out the most confusable identity pairs, interpolates boundary proxies between their prototypes and penalizes any feature that encroaches upon these proxies, converting boundary ambiguity into an explicit discriminative signal. We train PBR-ReID with a two-stage scheme of prototype warmup followed by EMA-stabilized joint fine-tuning and report strong performance across five person ReID benchmarks (Market-1501 [63], DukeMTMC-reID [64], MSMT17 [53], CUHK03 [67], IUST [32]) and two vehicle ReID benchmarks (VeRi-776 [27], VehicleID [26]), with ablations isolating the contribution of each component.
As class-level anchors, prototypes enforce intra-class compactness and inter-class separation [16, 41] and a central design choice is whether they are estimated dynamically from features or fixed as pre-specified targets, the latter avoiding the estimation bias of feature-derived centroids under long-tailed distributions [11]. The most standard approach optimizes the prototype matrix as the weights of a margin-based softmax classifier [6, 7, 47] or pair-similarity objective [43], imposing an angular or cosine separation fixed a priori rather than one informed by which identities are actually confusable. Recently, ReID methods have repurposed prototypes as memory anchors for unsupervised and continual learning [5, 20, 56] or as learnable classifier weights retained at inference [33, 50]. While these methods establish prototypes as effective class representatives, the prototype set is consumed downstream rather than optimized so that its own pairwise structure becomes the supervisory signal. Moreover, methods that reuse prototypes at test time rely on them at inference to compute similarity features; our use of prototypes is orthogonal, since they shape the embedding geometry only on training and are discarded at inference. We treat that geometry as the learning target, optimizing the prototype configuration so that its mutual structure becomes an explicit source of discrimination.
Regularization in ReID. Metric learning objectives such as triplet loss [37] with its hard-mining variants [62] and center loss [54], together with their ReID adaptations [14, 59], enforce intra-class compactness and inter-class separation, complemented by geometry-aware regularizers such as hypersphere projections [9], momentum-based feature consistency [25] and structure-aware triplet mining [12]. Augmentation-based regularization, including patch-wise high-frequency augmentation [60], intra/cross-modality consistency [3, 45] and MixUp [61] with its variants [35, 46], has inspired ReID methods that bridge intra/inter-identity gaps, with recent extensions such as part descriptor mixing [18], centroid-guided sampling [31] and dynamic mixing [30] addressing domain challenges. However, these objectives either operate on sampled triplets or interpolate pairs uniformly, leaving confusion between geometrically confusable identities near embedding boundaries unaddressed. BRM instead reads the global inter-class structure from the prototype similarity matrix and targets the most ambiguous pairs directly, repelling features from boundary proxies interpolated between confusable prototypes and converting boundary ambiguity into an explicit discriminative signal.
3. Methodology
3.1. Feature Representation
Feature Extraction. We employ DiNOv3 [40] as our backbone encoder. For an input image , the backbone produces a global embedding . All embeddings are unit-normalized.
Prototype-Based Representation. Each identity

Figure 1. PBR-ReID Framework. Input images are passed through a DiNOv3 ViT backbone to produce normalized embeddings, jointly optimized with a learnable prototype matrix (one vector per identity) that anchors each class in the embedding space. The staged training progression (right) illustrates how embedding geometry evolves from random initialization through prototype warmup to joint fine-tuning, with features forming compact intra-class clusters separated by enforced inter-class margins. Prototypes act only during training and are discarded at inference.
is represented by a learnable prototype vector , forming the prototype matrix . Prototypes are normalized to yielding . Let denote the set of identities present in the current mini-batch, with . The pairwise inter-prototype similarities among the batch identities form the prototype similarity matrix , with for and , encoding the inter-class confusion structure among the sampled identities and recomputed at every training step as , where stacks the row-normalized prototypes of the batch identities. Restricting to the sampled identities keeps its construction at cost per step, independent of the total number of identities , so all -derived quantities scale to datasets with tens of thousands of identities without materializing a global matrix. To stabilize the representation space, we isolate the prototype updates from the rest of the network through a dedicated optimizer and a separate learning rate schedule.
3.2. Learning Framework
3.2.1. Training Objective
We optimize the encoder weights and the prototypes jointly, under independent training dynamics for stable convergence. The full training objective is
a weighted sum of five terms with scalar weights : a batch-hard feature triplet , a prototype-anchored triplet , a prototype center loss , a soft norm regularizer , and the Boundary Repulsion MixUp regularizer that vacates the confusion zone between visually similar identities (Sec. 3.2.2). The center loss and the positive triplet terms enforce intra-class compactness, while their hard-negative terms and the BRM regularizer enforce inter-class separation. These two are coupled, since compactness without a separation reference collapses the embedding, whereas separation beyond the reachable intra-class spread distorts it. The terms are activated in stages, with and enabled only during joint fine-tuning (Sec. 3.2.3).
Supervision is provided by a class-balanced sampling strategy. Each mini-batch draws identities with instances each ( ), guaranteeing valid positive pairs for the center loss, negative diversity for hard-negative mining (HNM), and a stable online estimate of the batch prototype similarity matrix S. We detail each term below.
Batch-Hard Feature Triplet. To tighten the residual intra-class spread we add an instance-anchored batch-hard triplet [14] computed directly between features. For each anchor we mine its hardest positive and hardest negative among the remaining batch features,
(2)
and penalize the margin violation between them,
where A is the set of anchors with at least one positive and one negative in the batch, and is the margin. Its hardest positive is typically the cross-camera instance, so the term compresses cross-camera spread; be-ing purely instance-to-instance, it is active only during joint fine-tuning.
Feature-Prototype Triplet Loss. We employ a triplet loss in a feature-prototype mining mode: each class prototype is the anchor, and the positive and negative are mined from the batch features in a batch-hard fashion. For each identity , the anchor is its prototype , the hardest positive is the most distant same-class feature, and the hardest negative is the closest different-class feature:
where is the cosine distance. The loss enforces a margin , averaged over the batch identities and scaled by an adaptive weight that focuses learning on the most confusable instances:
(5)
where , controls the weighting strength ( disables it), and the negative is an instance-level hard sample from the current batch, up-weighting anchors whose nearest intruding identity is most confusable.
Prototype Center Loss. To complement separation, we penalize intra-class dispersion by pulling features toward their class prototype. For identity with index set , we summarize the class by the intrinsic (Fréchet) mean of its features, which stays on whereas the Euclidean mean does not:
The per-class loss is the cosine distance , re-weighted by two detached factors: a similarity weight that emphasizes identities with high average inter-prototype similarity , and a variance weight that grows with the intra-class dispersion . The loss aggregates over the batch identities:
with when the respective weighting terms are disabled.
Feature Normalization Loss. We add a soft unit-norm regularizer on both features and prototypes, penalizing the gap between each vector and its -normalized version:
which keeps the backbone and prototypes near the sphere, complementing explicit normalization.
3.2.2. Boundary Repulsion MixUp (BRM)
BRM handles systematic confusions between visually similar identities. Unlike standard MixUp, which can reinforce ambiguity by synthesizing samples inside the confusion zone between similar identities, BRM constructs an explicit proxy for the decision boundary between confusable pairs and repels original samples away from it, while retaining MixUp's manifold regularization through hard-target attraction (Fig. 2).
For each batch, BRM mines the confusable pairs over the batch identities,
where is a similarity threshold; when , BRM falls back to standard random MixUp so regularization is never absent. For each pair, a coefficient mixes the features and, with the same coefficient, the participating prototypes into a boundary-proxy prototype:
The proxy approximates the interpolated decision boundary between and ; a model mapping a sample near it is maximally uncertain between the two identities, so the repulsion makes this region forbidden.
The per-pair loss combines attraction and repulsion. Two attraction terms implement hard-target MixUp, pulling toward both prototypes,
with , preserving MixUp's smoothing of the manifold. Two repulsion terms push the original features off the proxy via a hinge with margin ,
enforcing a buffer zone around the confusion region. A fifth contribution is implicit: since is differentiable in both prototypes (Eq. 10), the repulsion gradient also drives and apart.

Figure 2. Boundary Repulsion MixUp (BRM). BRM operates in four stages. First, pairwise prototype cosine similarities are computed for all identities in the batch. Second, confusable pairs (those exceeding similarity threshold ) are identified. Third, for each confusable pair, a boundary-proxy prototype is constructed by linearly interpolating the two class prototypes with a Beta-sampled coefficient , which also mixes the corresponding features. Fourth, the BRM loss combines hard-target attraction terms, which pull the mixed feature toward both participating prototypes, with repulsion terms, which penalize original features lying within margin of the boundary-proxy prototype.
We add an explicit prototype separation with a data-adaptive margin. Pushing two targets farther apart than the intra-class spread they must clear forces the encoder to chase directions the data manifold cannot supply, distorting the embedding; separation should therefore stop once it clears that spread. Following the robust-ranking intuition , we separate each confusable class pair until it clears , where is a detached EMA of the intra-class angular spread . Gradients flow only into the prototypes, so confusable targets separate just to the margin rather than maximally, keeping them reachable.
The full BRM objective aggregates the per-pair attraction and repulsion over P with the adaptive-margin separation over the confusable class pairs drawn from the same batch identities:
(13)
where trades off MixUp regularization against boundary hardening, and BRM enters the full objective (Eq. 1) through the single scalar weight . The conceptual distinction from triplet loss is directional: triplet loss pulls features toward the correct prototype, whereas BRM additionally pushes them away from the interpolated boundary proxy where they must not lie.
3.2.3. Training Strategy & Inference
We adopt a two-stage optimization to address the initialization discrepancy between the pre-trained backbone and the randomly initialized prototypes.
Prototype Warmup. With the backbone frozen, we optimize only the prototypes via , using high learning rates and direct (non-EMA) updates to drive them to stable identity-class anchors within the fixed feature space. We disable , whose boundary-proxy construction requires a settled prototype geometry, and , whose feature-space mining cannot reshape a frozen backbone.
Joint Fine-tuning. We unfreeze the backbone and train end-to-end with separate learning rates, conservative for the backbone to preserve pre-trained knowledge and higher for the prototypes to track the evolving feature distribution. To avoid abrupt shifts in feature and prototype geometry, the prototypes follow an Exponential Moving Average (EMA) update:
where is the decay rate, and are the current and gradient-updated normalized prototypes, and the resulting prototype is re-normalized to . We activate and at this stage. The prototype geometry settled during warmup ensures boundary repulsion targets genuinely ambiguous regions, while the now-trainable backbone lets the instance triplet compress the residual cross-camera spread.
Inference. Prototypes are discarded at inference and re-identification reduces to nearest-neighbour retrieval in the normalized embedding space:
which requires no gallery prototypes and adds no overhead over a standard ReID pipeline.
4. Experiments
4.1. Experimental settings
Datasets and evaluation protocol. We evaluate on five person ReID benchmarks. Market-1501 [63] provides
Table 1. Person ReID Results. Simple ViT-B/16 denotes an ImageNet pre-training; *pre-trained on LUPerson [10]; †CLIP ViT-L/14 used as a distillation teacher with a ResNet-50 student; ‡combines DINOv2 ViT-B/14 and CLIP ViT-B/16.
| Model | Backbone | #Params | Market-1501 | DukeMTMC | MSMT17 | CUHK03-NP | IUST | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | mAP | Rank-1 | mAP | Rank-1 | mAP | Rank-1 | |||
| AdaSP [69] | ResNet-50 | 25M | 89.8 | 95.5 | 83.0 | 91.7 | 67.1 | 85.5 | 80.1 | 82.0 | - | - |
| ProNet++ [50] | ResNet-50 | 25M | 90.2 | 96.0 | - | - | 65.5 | 85.4 | 82.7 | 85.2 | - | - |
| CA-Jaccard [4] | ResNet-50 | 25M | 86.1 | 94.4 | - | - | 44.3 | 75.1 | - | - | - | - |
| TMGF [21] | ViT-S/16 | 21M | 91.9 | 96.3 | 83.1 | 92.3 | 70.3 | 88.2 | - | - | - | - |
| TransReID [13] | ViT-B/16 | 86M | 89.5 | 95.2 | 82.6 | 90.7 | 69.4 | 86.2 | 72.9 | 75.1 | - | - |
| DCAL [71] | ViT-B/16 | 86M | 87.5 | 94.7 | 80.1 | 89.0 | 64.0 | 83.1 | - | - | - | - |
| AAFormer [73] | ViT-B/16 | 86M | 88.0 | 95.4 | 80.9 | 90.1 | 65.6 | 84.4 | 80.3 | 79.0 | - | - |
| PHA [60] | ViT-B/16 | 86M | 90.2 | 96.1 | - | - | 68.9 | 86.1 | 80.3 | 83.2 | - | - |
| PASS [72] | ViT-B/16* | 86M | 93.3 | 96.9 | - | - | 74.3 | 89.7 | - | - | - | - |
| SOLIDER [2] | Swin-B | 88M | 93.9 | 96.9 | - | - | 77.1 | 90.7 | - | - | 42.4 | 51.8 |
| CLIP-ReID [23] | ViT-B/16 (CLIP) | 86M | 90.5 | 95.4 | 83.1 | 90.8 | 75.8 | 89.7 | 81.6 | 80.9 | 51.6 | 61.4 |
| CLIMB-ReID [58] | ViT-B/16 (CLIP) | 86M | 92.6 | 96.8 | - | - | 77.8 | 90.5 | - | - | - | - |
| PCL-CLIP [19] | ViT-B/16 (CLIP) | 86M | 91.4 | 95.9 | - | - | 76.1 | 89.8 | - | - | - | - |
| HPL [68] | ViT-B/16 (CLIP) | 86M | 89.8 | 95.9 | 82.9 | 90.3 | 79.0 | 91.0 | - | - | - | - |
| FlexiReID [44] | ViT-B/16 (CLIP) | 86M | 92.1 | 96.0 | - | - | 67.5 | 83.7 | - | - | - | - |
| CLIP3DReID [24] | ViT-L/14 (CLIP) | 304M | 88.4 | 95.6 | - | - | 61.2 | 81.5 | - | - | - | - |
| VICP [66] | ViT-S/14 (DiNOv2) | 21M | 90.3 | 95.5 | - | - | 75.3 | 89.2 | - | - | - | - |
| DRFormer [39] | ViT-B/14 (DiNOv2) | 86M | 92.9 | 97.0 | 85.5 | 92.5 | 78.7 | 91.3 | 88.1 | 89.6 | - | - |
| PBR-ReID (Ours) | ViT-B/16 (DiNOv3) | 86M | 94.0 | 97.1 | 86.1 | 93.1 | 79.7 | 91.2 | 88.4 | 89.8 | 55.2 | 63.8 |
1,501 identities across 6 cameras (12,936 train /19,732 test images). DukeMTMC [64] covers 1,812 identities from 8 campus cameras (16,522 train /17,661 test images). MSMT17 [53] is the most challenging one, with 4,101 identities and 2,621 train / 93,820 test images from 15 cameras under diverse conditions. CUHK03 [67] provides 1,467 identities (7,365/5,328 images) and is evaluated under the new protocol and IUST [32] is a recent culturally-aware benchmark with 1,847 identities and 117,455 images. For vehicle ReID, we evaluate our method on VeRi-776 [27] which contains 776 identities from 20 urban cameras and VehicleID [26] that is a large-scale benchmark with 26,267 identities and 221,763 images with multiple test splits of increasing difficulty. Following standard conventions, evaluation is based on Cumulative Matching Characteristic (CMC) curves and mean Average Precision (mAP).
Implementation details. We use DiNOv3 ViT-B/16 as backbone encoder. Training images are augmented with random horizontal flipping, zero-padding followed by random cropping and random erasing. Each mini-batch is formed by class-balanced sampling of identities with instances each, giving a batch size B = 32. We adopt a dual-optimizer strategy with AdamW [28] (weight decay 0.01). The backbone uses a cosine-decayed learning rate ( ) and the prototypes a step-decayed schedule (initial , step size 15). Prototypes are initialized with Xavier initialization (gain 0.5). Training runs for 200 epochs on a single RTX4090 GPU, with the first 10 epochs as prototype warmup; during joint fine-tuning the prototypes are updated by EMA with decay
. Loss weights are , , , , and . Feature-prototype triplet uses margin and adaptive-weight strength , batch-hard feature triplet uses margin , center loss uses similarity-weight strength and variance-weight strength . For BRM, we set , , with repulsion strength , and ; the intra-class spread is tracked by an EMA with decay 0.9. At inference we use single-query cosine nearest-neighbor retrieval.
4.2. State-of-the-art comparison
All results are reported without re-ranking and camera-aware SIE embeddings.
Person ReID. Table 1 reports PBR-ReID results on five person ReID benchmarks. To keep the comparison meaningful, we evaluate against methods operating at different design approaches, backbones and pre-training strategies, while comparable at parameter count. Overall, our method achieves strong performance across all benchmarks, especially regarding mAP where it consistently outperforms other approaches. In detail, PBR-ReID yields higher mAP on MSMT17, which is the most challenging benchmark, by +0.7% compared to HPL [68] and competitive rank-1 to DRFormer [39] trailing by only 0.1%. PBR-ReID outperforms all others compared for both mAP and rank-1 metrics on Market-1501, DukeMTMC, CUHK03-NP (detected, new protocol) and IUST, even against ones that rely on pre-training over large person datasets like LUPerson [10].
Vehicle ReID. To demonstrate effective generalization be-
Table 2. Vehicle ReID Results.
| Model | VeRi-776 | VehicleID | ||
|---|---|---|---|---|
| mAP | Rank-1 | Rank-1 | Rank-5 | |
| CFA-Net [48] | 80.7 | 96.9 | - | - |
| APC [52] | 85.1 | 97.9 | - | - |
| VehicleNet [65] | 83.4 | 96.8 | 79.5 | 92.0 |
| TANet [15] | 83.6 | 96.8 | 78.2 | 92.6 |
| HCI-Net [42] | 83.8 | 96.6 | 76.4 | 91.2 |
| CAN [38] | 83.4 | 97.6 | 80.5 | 94.5 |
| CLIP-ReID [23] | 84.5 | 97.3 | 85.5 | 97.2 |
| ADPRP-Net [70] | 82.8 | 95.6 | 76.7 | 91.9 |
| VehicleMAE [51] | 87.6 | 97.4 | 85.9 | 94.9 |
| TransReID [13] | 82.0 | 97.1 | 85.2 | 97.1 |
| AdaSP [69] | 82.7 | 96.7 | 83.0 | 94.9 |
| PCL-CLIP [19] | 82.5 | 97.1 | - | - |
| PBR-ReID (Ours) | 88.0 | 98.1 | 90.2 | 96.0 |
yond a single domain for re-identification, Table 2 reports PBR-ReID results on two vehicle ReID benchmarks. Our method transfers without modifications and again ranks first, reaching 88.0 mAP and 98.1 rank-1 on VeRi-776 and 90.2 rank-1 on VehicleID (Large split), outperforming both specialized vehicle ReID methods like VehicleNet [65] and VehicleMAE [51] or general ones like CLIP-ReID [23].
4.3. Ablation studies
Different backbones. Table 3 reports performance replacing the backbone while all training and inference settings are fixed. Our method remains strong across all encoders, confirming that the gains stem from our formulation rather than from a single backbone. Performance tracks the quality of the pre-trained representation with self-supervised backbones outperforming the CLIP and supervised variants. We attribute this to their semantically richer embedding space since prototypes anchored where identities are already well separated converge to more discriminative positions. Each variant surpasses the best competitor in Table 1 built on the same backbone family. On Market-1501, our CLIP ViT-B/16 variant exceeds the strongest CLIP-based method (CLIMB-ReID [58]) by mAP, our supervised ViT-B/16 variant exceeds the strongest ImageNet-pretrained ViT-B competitor (PHA [60]) by mAP, and our DINOv2 ViT-B/14 variant exceeds the strongest DINOv2-based competitor (DRFormer [39]) by mAP. The same ordering holds on DukeMTMC.
Comparison with prototype-based objectives. To establish a set of baselines, we compare against widely used prototype-based objectives, namely ArcFace [6], CosFace [47], CircleLoss [43] and VPL [7]. We train each head on the same DINOv3 ViT-B/16 backbone under an identical protocol. PBR-ReID improves over the strongest baseline by mAP on Market-1501 and on DukeMTMC
Table 3. Effect of the backbone encoder. We evaluate PBR-ReID with different pre-trained ViT-B/16 backbones on Market1501 [63] and DukeMTMC [64]. All variants use identical training and inference settings.
| Backbone | Market-1501 | DukeMTMC | ||
|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | |
| ViT-B/16 (ImageNet) | 92.2 | 96.3 | 84.1 | 91.8 |
| CLIP ViT-B/16 | 93.4 | 96.6 | 85.4 | 92.7 |
| DINOv2 ViT-B/14 | 93.7 | 96.7 | 85.9 | 92.9 |
| DINOv3 ViT-B/16 | 94.0 | 97.1 | 86.1 | 93.1 |
Table 4. Comparison with prototype-based objectives. All variants share the same DINOv3 ViT-B/16 backbone and training protocol, only the prototype-based objective differs.
| Training Objective | Market-1501 | DukeMTMC | ||
|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | |
| ArcFace [6] | 90.2 | 94.9 | 82.0 | 90.7 |
| CosFace [47] | 89.6 | 95.8 | 82.6 | 92.4 |
| CircleLoss [43] | 91.0 | 96.0 | 83.9 | 92.4 |
| VPL [7] | 90.0 | 95.0 | 81.9 | 90.6 |
| PBR-ReID (Ours) | 94.0 | 97.1 | 86.1 | 93.1 |
(Table 4).
Loss terms. Table 5 isolates the contribution of each loss term with experiments on Market-1501 and DukeMTMC. The instance-level batch-hard triplet alone is already a strong baseline, but introducing the prototypes does not immediately show performance gains since the feature-prototype triplet term lowers mAP and adding the center loss recovers only part of the gap on both datasets. This is expected, as the prototypes are an additional set of parameters that must be co-optimized with the backbone and remain unstable on the hypersphere before their geometry settles. However, introducing normalization resolves this and lifts mAP performance by +4.9% on Market-1501 and by +3.9% on DukeMTMC, thus establishing that constraining prototypes and embeddings to the unit hypersphere is a prerequisite for stable joint optimization. Once this constraint is in place, the prototype-based configuration surpasses the instance-level baseline, reaching 92.4% mAP on Market-1501 and 84.6% on DukeMTMC. Also, detaching the prototype from could naturally move only the features toward it, but on Market-1501 and DukeMTMC this lowered mAP by 1-1.5%, so we keep gradients on both. The coupling matters, since co-adaptation keeps each prototype a reachable anchor, whereas a frozen one becomes a fixed target lying in low-density regions of multi-modal classes.
BRM effectiveness. Table 5 also isolates the role of BRM. Standard MixUp brings a marginal improvement over the prototype baseline (+0.5% mAP on Market-1501, +0.3% on DukeMTMC), but using neighbor-guided MixUp which



Figure 3. Ablation studies. Hyperparameter ablations (left) and KDEs of inter-class feature distances on Market-1501 (right), warmup epochs experiments (center)
Table 5. Effect of loss terms & BRM. The top block uses instance-level supervision only (no prototypes); the bottom block introduces them. NG: neighbor-guided MixUp.
| MixUp | BRM | Market-1501 | DukeMTMC | ||||||
|---|---|---|---|---|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | ||||||
| ✓ | 88.9 | 94.5 | 82.1 | 90.8 | |||||
| ✓ | ✓ | 90.4 | 95.2 | 83.2 | 91.3 | ||||
| ✓ | ✓ | 86.3 | 93.0 | 79.8 | 88.7 | ||||
| ✓ | ✓ | ✓ | 87.5 | 93.7 | 80.7 | 89.9 | |||
| ✓ | ✓ | ✓ | ✓ | 92.4 | 96.3 | 84.6 | 92.4 | ||
| ✓ | ✓ | ✓ | ✓ | ✓ | 92.9 | 96.6 | 84.9 | 92.6 | |
| ✓ | ✓ | ✓ | ✓ | ✓(NG) | 91.7 | 95.9 | 84.2 | 92.1 | |
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | 94.0 | 97.1 | 86.1 | 93.1 |
interpolates the most similar identity pairs is actively harmful and drops performance even below the no-MixUp baseline. This confirms our premise that synthesizing samples inside the most confusable boundary regions blurs the decision boundary rather than sharpening it. BRM operates on exactly the same confusable pairs as neighbor-guided MixUp but inverts the operation, repelling features away from the interpolated boundary-proxy instead of attracting them toward it. This single change reverses the effect and yields the largest gain of the whole framework, +1.6% mAP on Market-1501 and +1.5% on DukeMTMC over the baseline, and +2.3% and +1.9% over neighbor-guided MixUp. Since pair selection is held fixed across the two variants, the improvement is attributable to the repulsion mechanism itself rather than to which identities are mixed.
To further substantiate the contribution of BRM, we evaluate its impact on disambiguating visually similar identities on the Market-1501 test set. We define “confusable pairs” as image pairs with an initial cosine similarity . By tracking the prototype distance ( ) between these specific pairs from an early pre-BRM checkpoint (Epoch 20) to the final model (Epoch 190), we quantify the evolution of the embedding space. As illustrated in Figure 3, the Kernel Density Estimate (KDE) of the inter-class distances shows a clear rightward shift over the course of training. The mean distance between confusable identities increases from 0.2393 to 0.2514, a 5.1% improvement in fea- ture separation. Our training process consistently pushes hard-to-distinguish samples apart, even when they occupy high-density regions of the feature manifold.
Impact of training framework. Without warmup, mAP collapses to 51.4% on Market-1501 and 50.9% on DukeMTMC, confirming that the randomly initialized prototypes must be decoupled from the backbone before joint training (Figure 3). Performance peaks at 10 epochs and stays stable for longer schedules, indicating low sensitivity to this setting. Also, our experiments have shown that removing the EMA prototype update lowers mAP by 12.3% on Market-1501 and 11.1% on DukeMTMC, while replacing the dual learning-rate schedule with a single rate costs a further 2.6% and 2.2%. Further training configurations are reported in the supplementary material.
Hyperparameter sensitivity ablation. Given the multi-component nature of our training objective, we assess whether the reported gains are contingent on precise hyperparameter tuning. Across the four hyperparameters that govern BRM and the adaptive prototype separation, mAP stays within 1.1 points of the peak (Fig. 3). The bounded BRM parameters , and , swept over their entire [0, 1] domain, vary by at most 1.1, 0.9 and 1.1 points respectively, while is the most stable at 0.7. The lower end of corresponds to disabling BRM, so even the largest perturbation degrades gracefully rather than collapsing the framework, confirming that PBR-ReID does not rely on delicate tuning to reach its reported accuracy.
5. Conclusions
We presented PBR-ReID, a prototype-based framework that makes inter-class geometry an explicit learning target for object re-identification. Building on a learnable prototype per identity, we introduced Boundary Repulsion MixUp (BRM), which reads the most confusable identity pairs from the prototype similarity matrix and repels their features from an interpolated boundary proxy, turning the region standard MixUp blurs into a source of discrimination. With a DiNOv3 ViT-B/16 backbone, PBR-ReID achieved strong results across competitive benchmarks. Our ablations confirmed that the gains originate from the method rather than the backbone and that performance is robust to its hyperparameters. A promising direction is to extend our prototype-based boundary repulsion to unsupervised ReID, where prototypes are derived from cluster pseudo-labels rather than ground-truth identities.
References
[1] Vaibhav Bansal, Gian Luca Foresti, and Niki Martinel. Cloth-changing person re-identification with self-attention. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 602–610, 2022. 2
[2] Weihua Chen, Xianzhe Xu, Jian Jia, Hao Luo, Yaohua Wang, Fan Wang, Rong Jin, and Xiuyu Sun. Beyond appearance: a semantic controllable self-supervised learning framework for human-centric visual tasks. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023. 2, 6
[3] Xueting Chen, Yan Yan, Jing-Hao Xue, Nannan Wang, and Hanzi Wang. Consistency-driven feature scoring and regularization network for visible-infrared person re-identification. Pattern Recognition, 159:111131, 2025. 2
[4] Yiyu Chen, Zheyi Fan, Zhaoru Chen, and Yixuan Zhu. Ca-jaccard: Camera-aware jaccard distance for person re-identification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 17532–17541, 2024. 6
[5] Zuozhuo Dai, Guangyuan Wang, Weihao Yuan, Siyu Zhu, and Ping Tan. Cluster contrast for unsupervised person re-identification. In ACCV, 2022. 1, 2
[6] Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4690–4699, 2019. 2, 7
[7] Jiankang Deng, Jia Guo, Jing Yang, Alexandros Lattas, and Stefanos Zafeiriou. Variational prototype learning for deep face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11906–11915, 2021. 2, 7
[8] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. 2
[9] Xing Fan, Wei Jiang, Hao Luo, and Mengjuan Fei. SphereReID: Deep hypersphere manifold embedding for person re-identification. Journal of Visual Communication and Image Representation, 60:51–58, 2019. 2
[10] Dengpan Fu, Dongdong Chen, Jianmin Bao, Hao Yang, Lu Yuan, Lei Zhang, Houqiang Li, and Dong Chen. Unsupervised pre-training for person re-identification. Proceedings of the IEEE conference on computer vision and pattern recognition, 2021. 6
[11] Yanqi Ge, Qiang Nie, Ye Huang, Yong Liu, Chengjie Wang, Feng Zheng, Wen Li, and Lixin Duan. Beyond proto-
types: Semantic anchor regularization for better representation learning. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 1887–1895, 2024. 2
[12] Adhiraj Ghosh, Kuruparan Shanmugalingam, and Wen-Yan Lin. Relation preserving triplet mining for stabilising the triplet loss in re-identification systems. In Proceedings of the IEEE/CVF Winter Conference on applications of computer vision, pages 4840–4849, 2023. 2
[13] Shuting He, Hao Luo, Pichao Wang, Fan Wang, Hao Li, and Wei Jiang. Transreid: Transformer-based object re-identification. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 15013–15022, 2021. 1, 2, 6, 7
[14] Alexander Hermans, Lucas Beyer, and Bastian Leibe. In defense of the triplet loss for person re-identification. arXiv preprint arXiv:1703.07737, 2017. 2, 3
[15] Wenbo Hu, Hongjian Zhan, Palaiahnakote Shivakumara, Umapada Pal, and Yue Lu. Tanet: Text region attention learning for vehicle re-identification. Engineering Applications of Artificial Intelligence, 133:108448, 2024. 7
[16] Yiqiao Jin, Xiting Wang, Yaru Hao, Yizhou Sun, and Xing Xie. Prototypical fine-tuning: Towards robust performance under varying data sizes. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 12968–12976, 2023. 2
[17] Giyeol Kim and Chanho Eom. Dico: Disentangled concept representation for text-to-image person re-identification. Neurocomputing, page 132885, 2026. 2
[18] Minsu Kim, Seungryong Kim, Jungin Park, Seongheon Park, and Kwanghoon Sohn. Partmix: Regularization strategy to learn part discovery for visible-infrared person re-identification. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 18621–18632, 2023. 2
[19] Jiachen Li and Xiaojin Gong. Prototypical contrastive learning-based clip fine-tuning for object re-identification. arXiv preprint arXiv:2310.17218, 2023. 1, 6, 7
[20] Junnan Li, Pan Zhou, Caiming Xiong, and Steven C.H. Hoi. Prototypical contrastive learning of unsupervised representations. In ICLR, 2021. 2
[21] Jiachen Li, Menglin Wang, and Xiaojin Gong. Transformer based multi-grained features for unsupervised person re-identification. In Proceedings of the IEEE/CVF winter conference on applications of computer vision, pages 42–50, 2023. 6
[22] Jialin Li, Shuqi Wu, and Ning Wang. A clip-based uncertainty modal modeling (umm) framework for pedestrian re-identification in autonomous driving. arXiv preprint arXiv:2508.11218, 2025. 1
[23] Siyuan Li, Li Sun, and Qingli Li. Clip-reid: Exploiting vision-language model for image re-identification without concrete text labels. arXiv preprint arXiv:2211.13977, 2022. 1, 2, 6, 7, 13
[24] Feng Liu, Minchul Kim, Zhiyuan Ren, and Xiaoming Liu. Distilling clip with dual guidance for learning discriminative human body shape representation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 256–266, 2024. 6
[25] Feng Liu, Kaiwen Huang, and Qin Li. Knowledge-driven multi-branch interaction network for vehicle re-identification. IEEE Transactions on Intelligent Transportation Systems, 26(10):17000–17012, 2025. 2
[26] Hongye Liu, Yonghong Tian, Yaowei Yang, Lu Pang, and Tiejun Huang. Deep relative distance learning: Tell the difference between similar vehicles. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2167–2175, 2016. 2, 6, 12, 13
[27] Xinchen Liu, Wu Liu, Huadong Ma, and Huiyuan Fu. Large-scale vehicle re-identification in urban surveillance videos. In 2016 IEEE international conference on multimedia and expo (ICME), pages 1–6. IEEE, 2016. 2, 6
[28] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. 6
[29] Gerard Maggiolino, Adnan Ahmad, Jinkun Cao, and Kris Kitani. Deep oc-sort: Multi-pedestrian tracking by adaptive re-identification. In 2023 IEEE International conference on image processing (ICIP), pages 3025–3029. IEEE, 2023. 1
[30] Timur Mamedov, Anton Konushin, and Vadim Konushin. Dynamix: Generalizable person re-identification via dynamic relabeling and mixed data sampling. Neurocomputing, page 132446, 2025. 2
[31] Timur Z Mamedov, Anton Konushin, and Vadim Konushin. Remix: Training generalized person re-identification on a mixture of data. In WACV, pages 8186–8196, 2025. 2
[32] Alireza Sedighi Moghaddam, Fatemeh Anvari, Mohammad-javad Mirshekari Haghighi, Mohammadali Fakhari, and Mohammad Reza Mohammadi. A culturally-aware benchmark for person re-identification in modest attire. arXiv preprint arXiv:2412.18874, 2024. 2, 6
[33] Md Ahmed Al Muzaddid and William J Beksi. Person re-identification via generalized class prototypes. arXiv preprint arXiv:2510.17043, 2025. 1, 2
[34] Ms R Mallika Alias Pandeeswari and G Rajakumar. Deep intelligent technique for person re-identification system in surveillance images. Pattern Recognition, 162:111349, 2025. 1
[35] Francesco Pinto, Harry Yang, Ser Nam Lim, Philip Torr, and Puneet Dokania. Using mixup as a regularizer can surprisingly improve accuracy & out-of-distribution robustness. Advances in neural information processing systems, 35:14608–14622, 2022. 2
[36] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748–8763. PmLR, 2021. 2
[37] Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 815–823, 2015. 2
[38] Hao Sheng, Shuai Wang, Haobo Chen, Da Yang, Yang Huang, Jiahao Shen, and Wei Ke. Discriminative feature learning with co-occurrence attention network for vehicle reid. IEEE Trans. Cir. and Sys. for Video Technol., 34(5): 3510–3522, 2024. 7
[39] Ying Shu, Pujian Zhan, Huiqi Yang, Hehe Fan, Youfang Lin, and Kai Lv. Drformer: A dual-regularized bidirectional transformer for person re-identification. arXiv preprint arXiv:2602.01059, 2026. 6, 7
[40] Oriane Siméoni, Huy V Vo, Maximilian Seitzer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungeun Yi, Michaël Ramamonjisoa, et al. Dinov3. arXiv preprint arXiv:2508.10104, 2025. 2
[41] Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. Advances in neural information processing systems, 30, 2017. 2
[42] Ke Sun, Xiyu Pang, Meifeng Zheng, Xiushan Nie, Xi Li, Houren Zhou, and Yilong Yin. Heterogeneous context interaction network for vehicle re-identification. Neural Networks, 169:293–306, 2024. 7
[43] Yifan Sun, Changmao Cheng, Yuhan Zhang, Chi Zhang, Liang Zheng, Zhongdao Wang, and Yichen Wei. Circle loss: A unified perspective of pair similarity optimization. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6398–6407, 2020. 2, 7
[44] Zhen Sun, Lei Tan, Yunhang Shen, Chengmao Cai, Xing Sun, Pingyang Dai, Liujuan Cao, and Rongrong Ji. Flexireid: Adaptive mixture of expert for multi-modal person re-identification. arXiv preprint arXiv:2510.15595, 2025. 6
[45] Lei Tan, Yukang Zhang, Keke Han, Pingyang Dai, Yan Zhang, Yongjian Wu, and Rongrong Ji. Rle: A unified perspective of data augmentation for cross-spectral re-identification. Advances in Neural Information Processing Systems, 37:126977–126996, 2024. 2
[46] Shashanka Venkataramanan, Bill Psomas, Ewa Kijak, Laurent Amsaleg, Konstantinos Karantzalos, and Yannis Avrithis. It takes two to tango: Mixup for deep metric learning. arXiv preprint arXiv:2106.04990, 2021. 2
[47] Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao Zhou, Zhifeng Li, and Wei Liu. Cosface: Large margin cosine loss for deep face recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5265–5274, 2018. 2, 7
[48] Hai Wang, Yaqing Niu, Long Chen, Yicheng Li, Miguel Angel Sotelo, Zhixiong Li, and Yingfeng Cai. Dair-v2xreid: A new real-world vehicle-infrastructure cooperative re-id dataset and cross-shot feature aggregation network perception method. IEEE Transactions on Intelligent Transportation Systems, 25(8):9058–9068, 2024. 7
[49] Pingyu Wang, Xingjian Zheng, Linbo Qing, Bonan Li, Fei Su, Zhicheng Zhao, and Honggang Chen. Drformer: A discriminable and reliable feature transformer for person re-identification. IEEE Transactions on Information Forensics and Security, 20:980–995, 2024. 1
[50] Qizao Wang, Xuelin Qian, Bin Li, Yanwei Fu, and Xiangyang Xue. Rethinking person re-identification from a projection-on-prototypes perspective. arXiv preprint arXiv:2308.10717, 2023. 1, 2, 6
[51] Qi Wang, Zeyu Zhang, Dong Wang, Di Gai, Xin Xiong, Jiyang Xu, and Ruihua Zhou. Vehiclemae: View-asymmetry mutual learning for vehicle re-identification pre-training via masked autoencoders. In Proceedings of the IEEE/CVF In-ternational Conference on Computer Vision (ICCV), pages 4701–4711, 2025. 7
[52] Yingquan Wang, Pingping Zhang, Chong Sun, Dong Wang, and Huchuan Lu. What makes you unique? attribute prompt composition for object re-identification. IEEE Transactions on Circuits and Systems for Video Technology, 2025. 7
[53] Longhui Wei, Shiliang Zhang, Wen Gao, and Qi Tian. Person transfer gan to bridge domain gap for person re-identification. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 79–88, 2018. 2, 6
[54] Yandong Wen, Kaipeng Zhang, Zhifeng Li, and Yu Qiao. A comprehensive study on center loss for deep face recognition. International Journal of Computer Vision, 127(6): 668–683, 2019. 2
[55] Mikolaj Wieczorek, Barbara Rychalska, and Jacek Dąbrowski. On the unreasonable effectiveness of centroids in image retrieval. In International Conference on Neural Information Processing, pages 212–223. Springer, 2021. 1
[56] Kunlun Xu, Xu Zou, Yuxin Peng, and Jiahuan Zhou. Distribution-aware knowledge prototyping for non-exemplar lifelong person re-identification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16604–16613, 2024. 1, 2
[57] Zhou Yang, Mingtao Feng, Tao Huang, Fangfang Wu, Weisheng Dong, Xin Li, and Guangming Shi. Gain from neighbors: Boosting model robustness in the wild via adversarial perturbations toward neighboring classes. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 25497–25507, 2025. 1
[58] Chenyang Yu, Xuehu Liu, Jiawen Zhu, Yuhao Wang, Pingping Zhang, and Huchuan Lu. Climb-reid: A hybrid clip-mamba framework for person re-identification. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 9589–9597, 2025. 1, 6, 7
[59] Ye Yuan, Wuyang Chen, Yang Yang, and Zhangyang Wang. In defense of the triplet loss again: Learning robust person re-identification with fast approximated triplet loss and label distillation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2020. 2
[60] Guiwei Zhang, Yongfei Zhang, Tianyu Zhang, Bo Li, and Shiliang Pu. Pha: Patch-wise high-frequency augmentation for transformer-based person re-identification. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 14133–14142, 2023. 2, 6, 7
[61] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017. 1, 2
[62] Cairong Zhao, Xinbi Lv, Zhang Zhang, Wangmeng Zuo, Jun Wu, and Duoqian Miao. Deep fusion feature representation learning with hard mining center-triplet loss for person re-identification. IEEE Transactions on Multimedia, 22(12): 3180–3195, 2020. 2
[63] Liang Zheng, Liyue Shen, Lu Tian, Shengjin Wang, Jing-dong Wang, and Qi Tian. Scalable person re-identification:
A benchmark. In Proceedings of the IEEE international conference on computer vision, pages 1116–1124, 2015. 2, 5, 7
[64] Zhedong Zheng, Liang Zheng, and Yi Yang. Unlabeled samples generated by gan improve the person re-identification baseline in vitro. In Proceedings of the IEEE international conference on computer vision, pages 3754–3762, 2017. 2, 6, 7
[65] Zhedong Zheng, Tao Ruan, Yunchao Wei, Yi Yang, and Tao Mei. Vehiclenet: Learning robust visual representation for vehicle re-identification. IEEE Transactions on Multimedia, 23:2683–2693, 2021. 7
[66] Huang Zhizhong and Xiaoming Liu. Vicp: Generalizable object re-identification via visual in-context prompting. In ICCV, 2025. 2, 6
[67] Zhun Zhong, Liang Zheng, Donglin Cao, and Shaozi Li. Re-ranking person re-identification with k-reciprocal encoding. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1318–1327, 2017. 2, 6, 12, 13
[68] Linhan Zhou, Shuang Li, Neng Dong, Yonghang Tai, Yafei Zhang, and Huafeng Li. Hierarchical prompt learning for image-and text-based person re-identification. arXiv preprint arXiv:2511.13575, 2025. 6
[69] Xiao Zhou, Yujie Zhong, Zhen Cheng, Fan Liang, and Lin Ma. Adaptive sparse pairwise loss for object re-identification. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 19691–19701, 2023. 6, 7, 13
[70] Xiang Zhou, Xue Li, Han Zhou, Xiang Pang, Jun Tian, Xiaoyu Nie, and Yufei Yin. Adaptive division and priori reinforcement part learning network for vehicle re-identification. Pattern Recognition, 163:111453, 2025. 7
[71] Haowei Zhu, Wenjing Ke, Dong Li, Ji Liu, Lu Tian, and Yi Shan. Dual cross-attention learning for fine-grained visual categorization and object re-identification. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4692–4702, 2022. 6
[72] Kuan Zhu, Haiyun Guo, Tianyi Yan, Yousong Zhu, Jinqiao Wang, and Ming Tang. Pass: Part-aware self-supervised pretraining for person re-identification. In European Conference on Computer Vision (ECCV), pages 198–214, 2022. 6
[73] Kuan Zhu, Haiyun Guo, Shiliang Zhang, Yaowei Wang, Jing Liu, Jinqiao Wang, and Ming Tang. Aaformer: Auto-aligned transformer for person re-identification. IEEE Transactions on Neural Networks and Learning Systems, 35(12):17307–17317, 2024. 1, 2, 6
A. Additional Experiments
Performance scaling & Efficiency. Since the learnable prototypes and BRM act only during training and are dropped before retrieval, inference reduces to a single backbone forward pass followed by nearest-neighbour matching, so the test-time cost is set entirely by the chosen encoder and matches that of a plain ViT of the same size. The prototype matrix, central to structuring the training-time geometry and to BRM, therefore adds nothing at test time. This decoupling lets us trade accuracy for compute purely by swapping the backbone. Table 6 reports PBR-ReID with DINOv3 ViT-B/16, ViT-L/16 and ViT-H+/16, where accuracy improves with capacity while our default ViT-B/16 already reaches competitive accuracy at a fraction of the parameters.
Complementary ReID results. We report additional results on the CUHK03-NP benchmark under the labeled (CUHK03-L) setting of the new protocol [67], together with all three test splits of VehicleID [26], in Table 8. The labeled split provides cleaner bounding-box annotations and is therefore less challenging, reaching 89.7 mAP and 90.6 Rank-1 against 88.4 and 89.8 on the detected split, confirming the expected gap between the two conditions. On VehicleID, PBR-ReID stays strong and consistent across gallery sizes, leading Rank-1 on every split from 94.0 on Small to 90.2 on Large.
Experiments on training stabilization. PBR-ReID's staged protocol relies on two stabilization mechanisms during joint fine-tuning, a dual learning-rate schedule that applies a conservative rate to the backbone and a higher rate
Table 6. Performance scaling with backbone capacity. PBR-ReID with DINOv3 ViT backbones experiments with fixed training and inference settings.
| Backbone | #Params | Market-1501 | DukeMTMC | ||
|---|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | ||
| ViT-B/16 | 86M | 94.0 | 97.1 | 86.1 | 93.1 |
| ViT-L/16 | 300M | 94.8 | 97.2 | 89.7 | 94.6 |
| ViT-H+/16 | 840M | 95.3 | 97.4 | 90.8 | 95.1 |
Table 7. Ablation of training stabilization components. Effect of the dual learning-rate schedule and the EMA prototype update during joint fine-tuning. The top row is the full PBR-ReID configuration.
| Dual LR | EMA Decay | Market-1501 | DukeMTMC | ||
|---|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | ||
| ✓ | 0.999 | 94.0 | 97.1 | 86.1 | 93.1 |
| ✓ | 0.90 | 92.1 | 95.9 | 84.4 | 91.5 |
| ✓ | 0 (No EMA) | 81.7 | 90.8 | 75.0 | 85.2 |
| 0.999 | 91.4 | 95.8 | 83.9 | 91.9 | |
to the prototypes, and an EMA update that smooths prototype trajectories across gradient steps. Both address the initialization discrepancy between the pre-trained DINOv3 encoder and the randomly initialized prototype matrix. Table 7 ablates each component independently on Market-1501 and DukeMTMC. Replacing the dual schedule with a single shared rate forces an unfavorable trade-off between backbone stability and prototype adaptability and lowers mAP to on Market-1501 and on DukeMTMC. Disabling EMA is far more damaging, since the prototypes then absorb high-frequency mini-batch noise and produce unreliable boundary proxies that degrade BRM's repulsion signal, collapsing mAP to 81.7 and 75.0. A lower decay of 0.90 reintroduces part of this noise and trails the 0.999 setting by 1.9 and 1.7 mAP, confirming that strongly smoothed prototype updates are needed for stable convergence.
B. Visualizations
We complement the quantitative results with qualitative top-10 retrieval comparisons that isolate the effect of BRM on disambiguating confusable identities across the person and vehicle domains. The queries shown here are deliberately drawn from the hardest, most confusable cases, where competing identities are nearly indistinguishable in appearance, so that the contribution of BRM is visible in isolation. They are not representative of typical retrieval, which is already strong across all benchmarks as reported in the main paper, but are chosen to expose the boundary regions that BRM is designed to address. For each query we show the ranked list of the baseline without BRM above that of the BRM-trained model.
On MSMT17 (Figures 5 and 6), the baseline lists frequently rank visually similar but incorrect identities among the top matches, typically pedestrians sharing clothing style and color. BRM promotes the correct matches into the top ranks and suppresses these near-boundary confusions and the gain persists under strong appearance shifts where the baseline fails. Similar behavior is observed also on VeRi-776 (Figures 4), where the dominant source of confusion shifts to vehicles of identical model and color. The baseline top ranks are dominated by same-type vehicles of the wrong identity, whereas the BRM-trained model recovers the correct matches, indicating that the repulsion mechanism transfers to another domain without modification.
Table 8. Additional ReID results on CUHK03 [67] and VehicleID [26] benchmarks.
| Method | CUHK03-D | CUHK03-L | VehicleID | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | Small | Medium | Large | ||||
| Rank-1 | Rank-5 | Rank-1 | Rank-5 | Rank-1 | Rank-5 | |||||
| CLIP-ReID [23] | - | - | - | - | 85.3 | 97.6 | 81.0 | 95.0 | 78.1 | 92.7 |
| AdaSP [69] | 80.1 | 82.0 | 82.4 | 84.6 | 89.3 | 98.4 | 85.6 | 96.7 | 83.0 | 94.9 |
| PBR-ReID (Ours) | 88.4 | 89.8 | 89.7 | 90.6 | 94.0 | 97.8 | 92.1 | 96.6 | 90.2 | 96.0 |
Query
No BRM

ID: 66
R-1
ID: 65
R-5
ID: 65
ID: 66
ID: 65
ID: 65
ID: 65
ID: 65
ID: 65
ID: 65
R-10
ID: 65
BRM
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
ID: 66
No BRM

ID: 615
ID: 585
ID: 585
ID: 585
ID: 615
ID: 585
ID: 615
ID: 585
ID: 585
ID: 585
ID: 585
BRM
ID: 615
ID: 615
ID: 615
ID: 615
ID: 615
ID: 615
ID: 615
ID: 615
ID: 585
ID: 615
ID: 615
No BRM

ID: 38
ID: 38
ID: 38
ID: 35
ID: 38
ID: 35
ID: 35
ID: 35
ID: 35
ID: 38
ID: 35
BRM
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
ID: 38
Figure 4. Top-10 retrieval results for 3 VeRi-776 queries (PIDs 66, 615, 38), comparing the baseline without BRM against the BRM-trained model. Green = correct match; red = incorrect match; blue = query image.
R-10
No BRM
R-5
R-1

ID: 702
ID: 2250
ID: 702
ID: 2250
ID: 2250
ID: 2250
ID: 2250
ID: 691
ID: 2250
ID: 2250
ID: 691
BRM
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
ID: 702
No BRM

ID: 803
ID: 396
ID: 820
ID: 396
ID: 396
ID: 396
ID: 396
ID: 396
ID: 1931
ID: 1862
ID: 820
BRM
ID: 803
ID: 803
ID: 803
ID: 803
ID: 803
ID: 803
ID: 803
ID: 803
ID: 831
ID: 803
ID: 803
No BRM

ID: 1874
ID: 1624
ID: 1874
ID: 1624
ID: 1624
ID: 1624
ID: 1624
ID: 1624
ID: 1860
ID: 1897
ID: 1624
BRM
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
ID: 1874
Figure 5. Top-10 retrieval results for 3 MSMT17 queries (PIDs 702, 803, 1874), comparing the baseline without BRM against the BRM-trained model. Green = correct match; red = incorrect match; blue = query image.
Query
R-1
No BRM
R-5
R-10

ID: 2046
ID: 2216
ID: 2216
ID: 2216
ID: 2216
ID: 2216
ID: 2073
ID: 61
ID: 1834
ID: 1834
ID: 2216
BRM
ID: 2046
ID: 2046
ID: 2046
ID: 2046
ID: 2046
ID: 2046
ID: 2046
ID: 2073
ID: 2229
ID: 2046
ID: 2046
No BRM

ID: 2055
ID: 1641
ID: 1641
ID: 2287
ID: 2287
ID: 2287
ID: 2055
ID: 2055
ID: 1641
ID: 1641
ID: 2287
BRM
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
ID: 2055
No BRM

ID: 2635
ID: 1548
ID: 2740
ID: 1925
ID: 2745
ID: 1548
ID: 1548
ID: 1548
ID: 1458
ID: 1548
ID: 2736
BRM
ID: 2635
ID: 2635
ID: 2635
ID: 2740
ID: 2635
ID: 2635
ID: 2635
ID: 2635
ID: 2635
ID: 2736
ID: 2635
Figure 6. Top-10 retrieval results for 3 MSMT17 queries (PIDs 2046, 2055, 2635), comparing the baseline without BRM against the BRM-trained model. Green = correct match; red = incorrect match; blue = query image.