betaFeedback

Reading v1View latest version

WorksComputer Science

MINER: Modeling Inter- and Intra-Person Variance for Reidentification

Abstract

Clothes-Changing Person Re-Identification (CC-ReID) remains challenging due to drastic appearance shifts across outfits. Most prior works devise biometric signal-extraction heuristics to enhance inter-person variance, e.g., using segmentation masks, while leaving intra-person variance uncontrolled. We present MINER, a simple model-agnostic framework that suppresses garment bias by contrasting hard examples and adaptively balancing dataset-dependent intra- and inter-person variance. Extensive experiments show that MINER improves retrieval across CC-ReID benchmarks, achieving state-of-the-art performance on four datasets and ranking among the leaders in all three tracks of the open TVRID RGB-Depth ReID challenge.

Introduction

Person re-identification (ReID) aims to retrieve images of the same individual across disjoint camera views and has become a central component in modern large-scale surveillance, robotics, and video analytics systems. In this setting, a query is matched against a gallery of images from other cameras, and performance is evaluated by identity ranking. While standard ReID benchmarks assume fixed clothing, real-world deployments often involve drastic outfit changes over time. This gives rise to the more challenging task of Clothes-Changing Person Re-Identification (CC-ReID), where appearance variations induced by clothing largely dominate the visual signal. Consequently, CC-ReID requires models to rely on subtle biometric cues, e.g., body shape features, while remaining invariant to garments.

Most prior CC-ReID methods explicitly aim to suppress clothing-related features and at the same time enhance biometric cues by either disentangling biometric and appearance factors, leveraging auxiliary clothing parsers, or attribute supervision. These approaches focus primarily on modeling inter-person variance—namely, maximizing the discrepancy between different identities. While this design philosophy is highly effective for improving clothing invariance, it does not take into account intra-person variance directly. Namely, it minimizes the discrepancy within different outfits of the same identity as a byproduct of metric learning rather than as a first-class modeling objective.

In this work, we revisit this fundamental assumption and demonstrate that simultaneously controlling the balance of within-person and between-person variance leads to substantial gains in CC-ReID performance. We show that explicitly concentrating the training process on visually similar yet distinct identities, while simultaneously enforcing maximal cross-clothing variability within each identity, produces significantly more discriminative and robust embedding spaces. This dual optimization principle naturally yields strong improvements in global retrieval quality and state-of-the-art (SOTA) performance on multiple CC-ReID benchmarks, including PRCC, LTCC, Celeb-ReID-light (Celeb-L), and DeepChange.

MINER is an inter-class identity-level and intra-class clothing-level stochastic hard mining strategy that can be used to finetune existing models, enhancing their performance. MINER constructs training batches by (i) soft-sampling visually similar but different identities as hard negatives using a reference encoder, and (ii) soft-sampling maximally dissimilar clothing pairs cross-camera as hard positives. Such controlled yet stochastic exposure to extreme intra- and inter-identity appearance variations drives a contrastive optimization process that explicitly aligns with the goal of CC-ReID. We further formulate a multi-positive contrastive objective, which leverages block-diagonal identity supervision across query–gallery pairs during training. In summary, our contributions are:

  • We formulate CC-ReID as a trade-off between inter-person discrimination and cross-clothing invariance, and derive an online controller that adapts it from gradient variance—without grid search or extra forward passes.

  • We combine stochastic hard mining with multi-positive contrastive learning over hard negative identities and cross-clothing positives.

  • MINER improves SOTA backbones on four CC-ReID benchmarks and ranks top-3 in all TVRID 2026 tracks.

Related Work

Person Re-Identification. Person ReID aims to match images of the same individual across non-overlapping cameras, often under large pose, illumination, and viewpoint changes. Early deep ReID methods leverage convolutional backbones with identification loss functions and triplet-style metric learning, building strong baselines that remain competitive and widely used [35, 56, 59, 72, 73]. Recent works have shifted towards vision transformer-based architectures (ViT), most notably TransReID [17]. Follow-up surveys highlight the importance of the global receptive field and multi-granularity features for improving context through its inductive bias [12, 66]. Large-scale pre-training and self-supervised objectives further improve generalization: Chen et al. [4] perform semantic controllable self-supervised pre-training for ReID using Swin backbones, while Fu et al. [11] leverage noisy tracker-based labels at scale to learn robust features using ResNet-50. Our method is backbone-agnostic and therefore applicable to CNN-, ViT-, Swin-based, and any other architecture.

Clothes-Changing Re-Identification. CC-ReID focuses on long-term identity tracking, where garments vary dramatically between observations of the same person. Dedicated datasets, like PRCC [63], expose extreme appearance gaps, and have motivated a rich line of methods to isolate clothes-agnostic cues [13, 57, 60, 70]. A large body of work exploits structural priors: body-shape [19], silhouette [22], pose [34], human parsing [9, 51], head or face fusion [50], and co-attention mechanisms to disentangle body structure from clothing appearance [65].

Recent approaches rely on visual semantic modeling and CLIP-driven representations [45]. CLIP-ReID [28] and others adapt contrastive vision-language pretraining [74] to ReID, while CCAF, MMPL, and MADE use masked or prompt-based text to highlight identity-relevant semantics and suppress clothing information [29, 39, 41]. Cloth-Changing Aware Transformer (CCAT) injects cloth-aware priors into a transformer backbone to improve identity robustness across outfits [46]. In parallel, identity/disentanglement approaches such as DIFFER [30], GEFF [1], and Chen et al. [5] factor biometric identity from non-biometric attributes (clothes, hairstyle, accessories) via gradient reversal or face/body fusion, achieving strong CC-ReID performance. However, CC-ReID remains an open problem, as clothing changes substantially hinder identity discrimination. Most existing methods treat query–gallery pairs independently during training, leaving direct contrastive modeling of visually similar identities across clothing variations largely underexplored.

Cross-Modal ReID. Security applications drive increasing interest in different night-time ReID signals [21, 24, 43, 44]. RGB-Depth maps RGB query to Depth gallery [7]. While these tasks use a same-clothes setup, we use it to demonstrate the generality of our method to factor out the cross-modality gap instead.

Hard-Sample Mining in (CC-)ReID. Hard-sample mining prioritizes the most difficult positive and negative examples under the current embedding to strengthen discriminative learning. Classic hard triplet losses and point-to-set variants, e.g., Hermans et al. [18], emphasize difficult positives and negatives within each batch to sharpen the embedding geometry [53, 69, 75]. Sheng et al. [49] propose global hard sample mining, arguing that mining from the whole training set yields harder samples than local batch mining and can further improve performance. Yan et al. [62] suggest a fine-grained difference-aware pairwise loss to better capture subtle appearance differences in traditional ReID.

In CC-ReID, hard mining has been explored more recently. HSGL (Hard Sample Generation and Learning) introduces a multimodal framework that generates hard samples guided by both textual and visual semantics to emphasize clothing-induced appearance variance [33]. Other works implicitly mine hard examples through cloth-aware augmentation, pose-diversified synthesis, or cross-domain clothes-changing scenarios [14, 27, 32, 64, 71].

Our MINER sampler performs centroid-level hard mining within precomputed person and clothing clusters: it jointly selects hard-negative identities (highly similar centroids across person identities) and hard-positive clothing pairs (with a low similarity across outfits for the same person identity) using a soft sampling distribution. This yields batches with controlled intra-/inter-person difficulty while remaining compatible with standard contrastive training.

Contrastive Learning for CC-ReID. Contrastive learning has become a central paradigm for representation learning in both supervised and self-supervised settings [3, 16, 38]. In vision-language models such as CLIP, symmetric contrastive objectives over image-text pairs yield highly transferable representations, motivating their adoption in CC-ReID via dual-encoder training [29]. Recent CC-ReID methods extend this paradigm by adapting CLIP-style supervision to emphasize biometric cues while mitigating clothing-induced bias [30, 39, 41]. However, despite relying on a single-positive contrastive setup, CLIP fundamentally depends on large batches to provide sufficient implicit negatives, without which optimization becomes unstable and prone to representation collapse [3].

Instead, we reformulate contrastive learning over multi-positive hard-mined sampled batches, where positives and negatives are organized across identities, cameras, and clothing sets. By applying an InfoNCE-style loss over these structured sets, MINER enables targeted soft hard-mining that focuses gradient updates on challenging intra-person outfit changes and inter-person look-alikes.

Method

To refine a model for clothes-agnostic identity representation we define a sampling mechanism that controls identity and clothing selection per batch. The main idea is to contrast visually similar distinct identities where each identity is depicted in visually different appearances. We sample identities over their embeddings centroids and gather them into a bipartite batch denoted as a query set and a gallery set.

MINER Sampler

Let I\mathcal{I} be a set of training images, each image x∈Ix \in\mathcal{I} is annotated by a tuple (p,c,a)(p,c,a), where p∈Pp \in\mathcal{P} is the person identity (PID), c∈Cc \in\mathcal{C} is the camera index, and a∈Aa \in\mathcal{A} is the clothing ID. Let f(⋅)f(\cdot) denote a pre-trained image encoder to be finetuned. We pre-compute the following centroids:

zp=1∣Ip∣∑x∈Ipf(x),zp,c,a=1∣Ip,c,a∣∑x∈Ip,c,af(x),(1)\mathbf{z}_p = \frac{1}{|\mathcal{I}_p|}\sum_{x\in\mathcal{I}_p} f(x), \quad\mathbf{z}_{p,c,a} = \frac{1}{|\mathcal{I}_{p,c,a}|}\sum_{x\in\mathcal{I}_{p,c,a}} f(x), \tag*{(1)}

where Ip\mathcal{I}_p is the set of all images of person pp, and Ip,c,a\mathcal{I}_{p,c,a} the subset of images of (p,c,a)(p,c,a).

Camera-pair candidate identity set. Given a pair of distinct cameras cq≠cgc_q \ne c_g, we define the set of valid candidate person identities, Pcq,cg\mathcal{P}_{c_q,c_g}, which appear in both cameras with at least two different clothing configurations, i.e.,

Pcq,cg={p∈P∣∃aq≠ag:Ip,cq,aq≠∅, Ip,cg,ag≠∅}(2)\mathcal{P}_{c_q,c_g} = \{p \in\mathcal{P} \mid\exists a_q \ne a_g : \mathcal{I}_{p,c_q,a_q} \ne\emptyset,\ \mathcal{I}_{p,c_g,a_g} \ne\emptyset\} \tag*{(2)}

Soft Hard-Negative PID Mining. We compose a batch of mm person identities by first uniformly sampling one

ps∼U(Pcq,cg),p_s \sim\mathcal{U}(\mathcal{P}_{c_q,c_g}),

and computing cosine similarity in ff-space ∀p∈Pcq,cg\forall p\in\mathcal{P}_{c_q,c_g}:

s(p,ps)=zpTzps∥zp∥2∥zps∥2.(3)s(p,p_s) = \frac{\mathbf{z}_p^{\mathsf{T}}\mathbf{z}_{p_s}}{\|\mathbf{z}_p\|_2\|\mathbf{z}_{p_s}\|_2}. \tag*{(3)}

For all p∈Pcq,cgp \in\mathcal{P}_{c_q,c_g}, we define

π(p∣ps)=exp⁡(s(p,ps))∑p′∈Pcq,cgexp⁡(s(p′,ps)).(4)\pi(p\mid p_s) = \frac{\exp(s(p,p_s))}{\sum_{p'\in\mathcal{P}_{c_q,c_g}}\exp(s(p',p_s))}. \tag*{(4)}

Rather than taking mm nearest identities deterministically—brittle under noisy centroids—the batch identity set B\mathcal{B} is obtained by sampling mm identities proportional to π(p∣ps)\pi(p\mid p_s) without replacement, thereby increasing inter-person variance by emphasizing (soft) hard-negative identities.

Soft Hard-Positive Clothing-Pair Mining. After selecting visually similar identities, we construct query–gallery pairs that increase intra-person variation across clothing and camera views. For each p∈Bp\in\mathcal{B}, the valid clothing pairs are:

Apcq,cg={(aq,ag)∣aq∈Ap,cq, ag∈Ap,cg, aq≠ag}(5)\mathcal{A}_{p}^{c_q,c_g}=\{(a_q,a_g)\mid a_q\in\mathcal{A}_{p,c_q},\ a_g\in\mathcal{A}_{p,c_g},\ a_q\ne a_g\} \tag*{(5)}
Algorithm 1 MINER Hard Mining for CC-ReID
Input:Set I\mathcal{I}; Encoder ff; Batch parameters ⟨m,n⟩\langle m,n\rangle
Output:Query set Q\mathcal{Q}, gallery set G\mathcal{G}
1:Sample distinct cameras (cq,cg)(c_q,c_g).
2:Construct the candidate identity set Pcq,cg\mathcal{P}_{c_q,c_g} (Eq. (2)).
3:Sample one identity uniformly ps∼U(Pcq,cg)p_s\sim\mathcal{U}(\mathcal{P}_{c_q,c_g}).
4:∀p∈Pcq,cg\forall p\in\mathcal{P}_{c_q,c_g} compute similarity s(p,ps)s(p,p_s) (Eq. (3)).
5:Draw mm identities without replacement by π(p∣ps)\pi(p\mid p_s).
6:Initialize Q←∅\mathcal{Q}\leftarrow\emptyset, G←∅\mathcal{G}\leftarrow\emptyset.
7:for all p∈Bp\in\mathcal{B} do
8:Construct Apcq,cg\mathcal{A}_{p}^{c_q,c_g} for different clothes (Eq. (5)).
9:Sample hard clothing pair (aq∗,ag∗)(a_q^*,a_g^*) (Eq. (8)).
10:Sample nn images from Ip,cq,aq∗\mathcal{I}_{p,c_q,a_q^*} and add them to Q\mathcal{Q}.
11:Sample nn images from Ip,cg,ag∗\mathcal{I}_{p,c_g,a_g^*} and add them to G\mathcal{G}.
12:end for
13:Update centroids zp, zp,c,a\mathbf{z}_p,\ \mathbf{z}_{p,c,a} (Eq. (1)).
14:return Q,G\mathcal{Q},\mathcal{G}.

Table 1.

where Ap,c\mathcal{A}_{p,c} is the set of clothing IDs worn by pp in camera cc. Each pair (aq,ag)(a_q,a_g) is scored via cosine similarity between their ff centroids

s(aq,ag∣p)=zp,cq,aqTzp,cg,ag∥zp,cq,aq∥2∥zp,cg,ag∥2.(6)s(a_q,a_g\mid p)=\frac{\mathbf{z}_{p,c_q,a_q}^{\mathsf{T}}\mathbf{z}_{p,c_g,a_g}}{\|\mathbf{z}_{p,c_q,a_q}\|_2\|\mathbf{z}_{p,c_g,a_g}\|_2}. \tag*{(6)}

Rather than selecting the hardest clothing pair deterministically, we sample the cross-camera clothing pair stochastically using a soft argmin distribution. For each p∈Bp\in\mathcal{B} and each (aq,ag)∈Apcq,cg(a_q,a_g)\in\mathcal{A}_{p}^{c_q,c_g}, we define

π(aq,ag∣p)=exp⁡(−s(aq,ag∣p))∑(aq′,ag′)exp⁡(−s(aq′,ag′∣p))(7)\pi(a_q,a_g\mid p)=\frac{\exp(-s(a_q,a_g\mid p))}{\sum_{(a_q',a_g')}\exp(-s(a_q',a_g'\mid p))} \tag*{(7)}

where (aq′,ag′)∈Apcq,cg(a_q',a_g')\in\mathcal{A}_{p}^{c_q,c_g}. The clothing pair (aq∗,ag∗)(a_q^*,a_g^*) is then sampled as

(aq∗,ag∗)∼π(aq,ag∣p).(8)(a_q^*,a_g^*)\sim\pi(a_q,a_g\mid p). \tag*{(8)}

Final training tuples. For each p∈Bp\in\mathcal{B}, we sample nn images from Ip,cq,aq∗\mathcal{I}_{p,c_q,a_q^*}, nn images from Ip,cg,ag∗\mathcal{I}_{p,c_g,a_g^*}, and use them as query and gallery images with shared identity pp.

Contrastive Loss Function

Given a mined batch produced by Alg. 1, we obtain a set of query images Q={qi}i=1N\mathcal{Q}=\{q_i\}_{i=1}^{N} and a set of gallery images G={gj}j=1N\mathcal{G}=\{g_j\}_{j=1}^{N}, where N=mnN=mn, so each identity contributes nn query images and nn gallery images. Recall that f(⋅)f(\cdot) denotes the CC-ReID encoder producing ℓ2\ell_2-normalized embeddings, we define the query and gallery embeddings as qi=f(qi)\mathbf{q}_i=f(q_i) and gj=f(gj)\mathbf{g}_j=f(g_j), respectively.

Similarity matrix. We compute the dense pairwise similarity matrix S∈RN×N\mathbf{S}\in\mathbb{R}^{N\times N} as: Sij=qiTgjS_{ij}=\mathbf{q}_i^{\mathsf{T}}\mathbf{g}_j, like CLIP [45].

Block-diagonal ground-truth structure. By construction, each identity p∈Bp\in\mathcal{B} contributes exactly nn query samples and nn gallery samples per batch. Therefore, the binary ground-truth correspondence matrix Y∈{0,1}N×N\mathbf{Y} \in\{0,1\}^{N \times N} assumes a block-diagonal structure like SupCon [25]:

Yij={1,if pid⁡(qi)=pid⁡(gj),0,otherwise,(9)Y_{ij} = \begin{cases} 1, & \text{if } \operatorname{pid}(q_i) = \operatorname{pid}(g_j), \\ 0, & \text{otherwise,} \end{cases} \tag*{(9)}

where each diagonal block of shape n×nn \times n represents all cross-clothing matches between queries and galleries of the same identity within the batch. All off-diagonal blocks correspond to hard negative cross-identity matches (see illustration of m=3,n=2m = 3, n = 2 in Figure 1).

MINER contrastive loss over a bipartite sampled batch

Figure 1. MINER Contrastive Loss over a bipartite sampled batch. Hard-Negative person IDs and Hard-Positive examples per person distill both inter-person (white) and intra-person (blue) variance simultaneously using a block-diagonal label matrix.

Contrastive Objective. We adopt a symmetric cross-entropy contrastive objective over rows and columns of SS, adapting contrastive loss to the CC-ReID setting. The query-to-gallery loss is defined as

Lq→g=−1Nn∑i=1N∑j=1NYijlog⁡exp⁡(Sij)∑k=1Nexp⁡(Sik),(10)\mathcal{L}_{q \to g} = -\frac{1}{Nn}\sum_{i=1}^{N}\sum_{j=1}^{N}Y_{ij}\log\frac{\exp(S_{ij})}{\sum_{k=1}^{N}\exp(S_{ik})}, \tag*{(10)}

and the gallery-to-query loss is defined symmetrically as

Lg→q=−1Nn∑j=1N∑i=1NYijlog⁡exp⁡(Sij)∑k=1Nexp⁡(Skj).(11)\mathcal{L}_{g \to q} = -\frac{1}{Nn}\sum_{j=1}^{N}\sum_{i=1}^{N}Y_{ij}\log\frac{\exp(S_{ij})}{\sum_{k=1}^{N}\exp(S_{kj})}. \tag*{(11)}

The final training objective is Ltotal=12(Lq→g+Lg→q)\mathcal{L}_{\text{total}} = \frac{1}{2}(\mathcal{L}_{q \to g} + \mathcal{L}_{g \to q}). Unlike simple contrastive training, where only a single positive pair exists per row, our block-diagonal supervision induces multiple positive targets per query and per gallery sample. This formulation naturally enforces: (i) cross-clothing invariance within identity blocks, and (ii) strong discrimination against visually similar hard negatives mined at the identity level. As a result, the learned embedding space is explicitly optimized for clothing-agnostic cross-camera identity retrieval.

Adaptive Batch Composition

Subsections 3.1–3.2 built a sampler and loss that, for a given batch shape ⟨m,n⟩\langle m, n \rangle, expose controlled inter- and intra-person variance; that shape has so far been hand-set, and we now set it automatically. Under a fixed image budget B=2mn≤Bmax⁡B = 2mn \le B_{\max}, mm and nn compete—more identities means fewer images per identity—so the design choice is not the size of the batch, but the allocation of Bmax⁡B_{\max} between inter-person diversity and intra-person cross-clothing coverage. As we show in § 4, this is a genuine, dataset-dependent trade-off. The two knobs serve different objectives: mm stabilizes discrimination, which is shared across the batch; nn stabilizes cross-clothing alignment, which must be estimated per identity. The objective currently estimated less reliably deserves more budget. We thus cast batch composition as a budget-constrained estimation problem, and minimize the resulting risk under 2mn≤Bmax⁡2mn \le B_{\max}. Its minimizer is closed-form and depends on the data through a single scalar—the ratio of inter- to intra-person gradient variance—which the backward pass on Ltotal\mathcal{L}_{\text{total}} already yields, so the allocation adapts online with no extra forward pass and no grid search.

Two structurally distinct gradient signals. The contrastive objective separates exactly into a within-block (positive) and a between/off-block (negative) part. Differentiating the per-query loss ℓi\ell_i through the softmax, propagating through ∇θSik\nabla_{\theta}S_{ik}, and summing the symmetric gallery-to-query term (standard softmax cross-entropy) decomposes the batch gradient of Ltotal\mathcal{L}_{\text{total}} into two additive signals,

h=hinv⏟within-block (positives)+hdisc⏟off-block (negatives),(12)h = \underbrace{h_{\mathrm{inv}}}_{\text{within-block (positives)}} + \underbrace{h_{\mathrm{disc}}}_{\text{off-block (negatives)}}, \tag*{(12)}

the invariance signal hinvh_{\mathrm{inv}} that collapses cross-clothing positives of the same identity, and the discrimination signal hdisch_{\mathrm{disc}} that separates visually similar hard negatives. By construction, hinvh_{\mathrm{inv}} exists only when each identity supplies at least one cross-clothing pair (n≥1n \ge1, a∗q≠a∗ga_*^{q} \ne a_*^{g}), and is refined by more images per identity (nn); hdisch_{\mathrm{disc}} exists only when m≥2m \ge2, and is refined by more identities (mm). The two knobs thus act on two different gradient directions, and as we now show, the budget refines them at different rates.

Variance components of a two-stage mined batch. MINER draws a batch in two stages: mm identities from π(p∣ps)\pi(p \mid p_s) (Eq. (4)), then 2n2n images per identity under the mined clothing pair (Eq. (8))—a classical two-stage sampling design [6], whose gradient estimator admits a between/within variance-component decomposition [48]. With per-identity mean gradient ϕp=Ex∼p[∇θℓ(x)]\phi_p = \mathbb{E}_{x \sim p}[\nabla_{\theta}\ell(x)] and its mean μ=Ep[ϕp]\mu= \mathbb{E}_p[\phi_p], define the between-identity and within-identity covariances

ΣB=Cov⁡p[ϕp],ΣW=Ep[Cov⁡x∼p[∇θℓ(x)]].(13)\Sigma_{\mathrm{B}} = \operatorname{Cov}_p[\phi_p], \qquad\Sigma_{\mathrm{W}} = \mathbb{E}_p[\operatorname{Cov}_{x \sim p}[\nabla_{\theta}\ell(x)]]. \tag*{(13)}

tr⁡ΣB\operatorname{tr} \Sigma_B is the dispersion of the descent direction across identities; tr⁡ΣW\operatorname{tr} \Sigma_W, its dispersion within an identity. The two enter the batch at different sample sizes, mm and 2n2n.

Budget-constrained allocation. Under a fixed budget, each signal is governed by the variance of its own estimator. Discrimination concerns the shared descent direction μ\mu, of which every batch identity is an observation; pooling the mm per-identity means estimates μ\mu with trace-variance

tr⁡ΣBm+2tr⁡ΣW2n.\frac{\operatorname{tr} \Sigma_B}{m} + \frac{2\operatorname{tr} \Sigma_W}{2n}.

The second term equals tr⁡ΣWBmax⁡\frac{\operatorname{tr} \Sigma_W}{B_{\max}}, a constant under the budget, so only tr⁡ΣBm\frac{\operatorname{tr} \Sigma_B}{m} is allocation-relevant. Invariance is not shared: by the block-diagonal structure of Y\mathbf{Y}, positive pairs lie strictly within identity blocks, so collapsing identity pp’s outfits requires ϕp\phi_p estimated from pp’s own 2n2n images alone—images of other identities never enter pp’s positive pairs and cannot sharpen it. Its rate is the average per-identity estimation error Ep∥ϕ^p−ϕp∥2=tr⁡ΣW2n\mathbb{E}_p\lVert\hat{\phi}_p-\phi_p\rVert^2 = \frac{\operatorname{tr} \Sigma_W}{2n}, in which mm does not appear: we average mm local errors of size tr⁡ΣW2n\frac{\operatorname{tr} \Sigma_W}{2n} rather than estimating a common mean—the shared-representation versus task-specific rate split of multi-task learning [2, 36], each identity acting as a task. The allocation-relevant risk is their sum,

E(m,n)=tr⁡ΣBm+tr⁡ΣW2n,s.t.2mn=Bmax⁡.(14)\mathcal{E}(m,n)=\frac{\operatorname{tr}\Sigma_B}{m}+\frac{\operatorname{tr}\Sigma_W}{2n},\qquad\text{s.t.}\quad2mn=B_{\max}. \tag*{(14)}

The first term is the allocation-relevant variance of the pooled (population-descent) gradient; minimizing it alone collapses the allocation to n=1n=1. This collapse is the blind spot of a single-pooled-gradient view [37]: it is insensitive to whether each identity is well aligned, whereas cross-clothing retrieval is per-identity by construction—mAP averages per-identity errors per-query AP, each query fixed by its own identity’s geometry, a quantity other identities cannot sharpen. Eq. (14) therefore adds the second term—the per-identity alignment the pooled view omits—making the inter/intra allocation a genuine trade-off rather than a degenerate “maximize mm.” We do not claim E\mathcal{E} tracks mAP pointwise; rather, its closed-form optimum recovers the grid-search mAP optimum of Figure 2–Figure 3, under which MINER attains the results of § 5. Minimizing E\mathcal{E} along the budget frontier (E\mathcal{E} is strictly convex in nn) gives the unique allocation

mAP as a function of intra- and inter-person examples per batch for PRCC

Figure 2. The mAP as a function of intra- and inter-person examples per batch, within memory constraints. The performance peaks at m=5m = 5 PIDs and n=17n = 17 images per person on PRCC.

mAP as a function of intra- and inter-person examples per batch for Celeb-L

Figure 3. The empirically best batch composition differs substantially across datasets: mAP peaks for Celeb-L at m=21m = 21 PIDs and n=4n = 4 images per person, motivating dataset-adaptive allocation.

n∗=Bmax⁡tr⁡ΣW4tr⁡ΣB,m∗=Bmax⁡tr⁡ΣBtr⁡ΣW,ρ:=m∗n∗=2tr⁡ΣBtr⁡ΣW.(15)\begin{aligned} n^* &= \sqrt{\frac{B_{\max}\operatorname{tr}\Sigma_W}{4\operatorname{tr}\Sigma_B}},\qquad m^* = \sqrt{\frac{B_{\max}\operatorname{tr}\Sigma_B}{\operatorname{tr}\Sigma_W}},\\ \rho&:= \frac{m^*}{n^*}=\frac{2\operatorname{tr}\Sigma_B}{\operatorname{tr}\Sigma_W}. \tag*{(15)} \end{aligned}

The constraint holds identically, 2m∗n∗=Bmax⁡2m^*n^*=B_{\max}, and the optimum depends on the data through the single scalar ρ\rho, the ratio of inter- to intra-person gradient variance. The symmetry of Ltotal\mathcal{L}_{\text{total}} in query-gallery fixes an equal per-side split; ⟨m∗,n∗⟩\langle m^*,n^*\rangle is projected to feasible integers ⟨m,n⟩\langle m,n\rangle.

Modeling assumptions. Eq. (15) rests on three modeling choices and affects only the adaptive selection of ⟨m,n⟩\langle m,n\rangle, not the contrastive objective itself. (i) We take the allocation objective to be the equally weighted sum of the two estimation risks above; their 1m\frac{1}{m} and 12n\frac{1}{2n} scalings come from the corresponding estimator variances, so the lone modeling choice is equal weighting, which rescales ρ\rho but not its functional form. (ii) Covariances are evaluated under the conditional mining (Alg. 1), not IID: the between-ID term under π(p∣ps)\pi(p\mid p_s) and the within-ID term under π(aq,ag∣p)\pi(a_q,a_g\mid p); we assume the between-ID dispersion is carried mainly by hdisch_{\mathrm{disc}} and the within-ID dispersion mainly by hinvh_{\mathrm{inv}}, i.e. their cross-covariance is small relative to the marginal traces, so Algorithm 2 Variance Controller

Input: Memory budget Bmax⁡B_{\max}; EMA rate η\eta; interval TT

  1. Initialize ⟨m,n⟩\langle m,n\rangle from a feasible default; Σ‾B,Σ‾W←0\overline{\Sigma}_B,\overline{\Sigma}_W \leftarrow0

  2. for each training step tt do

  3.   Mine batch with current ⟨m,n⟩\langle m,n\rangle (Alg. 1).

  4.   Backprop Ltotal\mathcal{L}_{\mathrm{total}}.

  5.   Form tr⁡Σ‾W,tr⁡Σ‾B\operatorname{tr}\overline{\Sigma}_W,\operatorname{tr}\overline{\Sigma}_B (Eqs. (16)–(17)).

  6.   Σ‾∙←(1−η)Σ‾∙+ηtr⁡Σ‾∙\overline{\Sigma}_{\bullet} \leftarrow(1-\eta)\overline{\Sigma}_{\bullet}+\eta\operatorname{tr}\overline{\Sigma}_{\bullet}.

  7.   if t mod T=0t\bmod T=0 then

  8.   n⋆←Bmax⁡Σ‾W4Σ‾Bn^\star\leftarrow\sqrt{\frac{B_{\max}\overline{\Sigma}_W}{4\overline{\Sigma}_B}}; m⋆←Bmax⁡2nm^\star\leftarrow\frac{B_{\max}}{2n}

  9.   Project ⟨m⋆,n⋆⟩\langle m^\star,n^\star\rangle to feasible integers ⟨m,n⟩\langle m,n\rangle.

  10.   end if

  11. end for

the two risks decouple as in Eq. (14). (iii) Projection-head gradients provide a stable low-variance proxy for the corresponding full-parameter covariance traces. We address these assumptions in the supplement.

Online variance-component estimators. Both traces in Eq. (15) are estimable from the current mined batch via one-way random-effects ANOVA. With per-identity means ϕ^p=12n∑x∈p∇θℓ(x)\hat{\phi}_p=\frac{1}{2n}\sum_{x\in p}\nabla_\theta\ell(x) and grand mean μ^=1m∑pϕ^p\hat{\mu}=\frac{1}{m}\sum_p\hat{\phi}_p, the ANOVA-style variance-component estimators are

tr⁡Σ^W=1m(2n−1)∑p∑x∈p∥∇θℓ(x)−ϕ^p∥22(16)\operatorname{tr}\widehat{\Sigma}_W=\frac{1}{m(2n-1)}\sum_p\sum_{x\in p}\left\lVert\nabla_\theta\ell(x)-\hat{\phi}_p\right\rVert_2^2 \tag*{(16)}
tr⁡Σ^B=1m−1∑p∥ϕ^p−μ^∥22−12ntr⁡Σ^W(17)\operatorname{tr}\widehat{\Sigma}_B=\frac{1}{m-1}\sum_p\left\lVert\hat{\phi}_p-\hat{\mu}\right\rVert_2^2-\frac{1}{2n}\operatorname{tr}\widehat{\Sigma}_W \tag*{(17)}

the second term in Eq. (17) removing the within-identity noise that inflates the raw between-identity scatter. Both reduce to sums of squared gradient norms grouped by identity, accumulated on-device in a single squared-norm read per identity, mirroring McCandlish et al. [37] but resolved per identity: the mm in Eqs. (16)–(17) sharpens the population-trace estimate, not the per-identity alignment error. To keep the cost negligible we evaluate the norms on the projection head only—the gradient w.r.t. the ℓ2\ell_2-normalized embedding ∇zℓ\nabla_z\ell, available with no additional backward pass and a standard low-variance surrogate for the full-parameter gradient. The two traces are smoothed by an exponential moving average (EMA) across steps, Σ‾∙←(1−η)Σ‾∙+ηtr⁡Σ‾∙\overline{\Sigma}_{\bullet}\leftarrow(1-\eta)\overline{\Sigma}_{\bullet}+\eta\operatorname{tr}\overline{\Sigma}_{\bullet}, to suppress single-batch noise. The overall variance controller is detailed in Alg. 2.

Balancing the Batch Variance

Both intra- and inter-person variance are central to CC-ReID representation, but are they equally important? We probe this on PRCC by sweeping the allocation ⟨m,n⟩\langle m,n\rangle along the memory-capacity frontier (B=2mn≤174B=2mn\le174) and recording mAP (Figure 2). mAP rises to a single peak at ⟨5,17⟩\langle5,17\rangle (69.7%) and declines on either side: the mm-heavy allocation ⟨29,3⟩\langle29,3\rangle and the nn-heavy ⟨2,42⟩\langle2,42\rangle fall to 67.6%. PRCC is captured under controlled conditions, so its identities are mutually similar and tr⁡ΣB\operatorname{tr}\Sigma_B is small; the resulting low ρ\rho (0.31) favors larger nn.

To show how this balance shifts with the data prior, we repeat the analysis on Celeb-L, collected “in-the-wild” through paparazzi photos (Figure 4). Both components rise—no identity recurs in the same outfit, and the identities themselves are far more heterogeneous—but tr⁡ΣB\operatorname{tr}\Sigma_B rises faster: ρ\rho grows to 5.34, so Celeb-L peaks at a higher mn\frac{m}{n} ratio: ⟨21,4⟩\langle21,4\rangle, i.e., more identities and fewer samples each (Figure 3).

Examples of the same identity in Celeb-L and PRCC

Figure 4. The same identity exhibits greater intra-person variance in Celeb-L (top) than in PRCC (bottom), spanning clothing, pose, and scene.

Does the controller earn its complexity? Adaptive allocation is warranted if (i) no single ⟨m,n⟩\langle m,n\rangle is optimal across datasets and (ii) the controller recovers each dataset’s optimum without grid search; both hold. The PRCC and Celeb-L optima lie at opposite ends of the frontier and do not transfer: ⟨5,17⟩\langle5,17\rangle loses 0.9 mAP on Celeb-L, ⟨21,4⟩\langle21,4\rangle loses 2.1 on PRCC. Since this prior is unknown at training time, the relevant criterion is worst-case minimax regret [47]: the controller incurs only 0.2 mAP worst-case and 0.10 mean—lower on both than every fixed split (best fixed: 0.6 and 0.33, on different splits)—thus Pareto-dominating all nine (see supplement). It recovers each optimum at negligible cost: regret 0.0/0.1/0.2 on PRCC/LTCC/Celeb-L.

Experiments

We evaluate MINER, with its Variance Controller, and report Rank@1 and mAP metrics on six CC-ReID datasets, and two traditional ReID protocols: PRCC [63], LTCC [42], Celeb-L [20], DeepChange [61], VC-Clothes [57], LaST [52]. MINER was also submitted to three different tracks of the open competition TVRID [7]. We follow the evaluation protocol of full dataset-isolation, i.e., training a new model per dataset and splitting training from test with no re-ranking. For evaluation protocols and implementation details, see the supplemental material.

CC-ReID Finetuning Evaluation. We present our main results in Tab. 1 over the datasets above where MINER is compared with 17 methods [9, 10, 13–15, 23, 26, 29–31, 40, 41, 52, 64, 67, 68, 71]. We initiate the fine-tune with pretrained checkpoints and run 20 epochs with Alg. 2. The experiments demonstrate MINER using EVA-CLIP {citep}[55] and DIFFER {citep}[30] checkpoints separately. Our method finetunes backbone models and achieves SOTA scores on 4 datasets; VC/LaST remain competitive. The controller estimated $\langle m^\star, n^\star \rangle = \langle 5.14, 16.54\rangle$ on PRCC and $\langle 21.30, 3.99\rangle$ on Celeb-L, closely matching the validation grid optima $\langle 5, 17\rangle$ and $\langle 21, 4\rangle$, respectively, from {xref}Sec. 4` (Bmax⁡=170B_{\max} = 170). The same validation was conducted on LTCC, resulting in three near-tied mAP peaks. The controller converged to one of them: the continuous estimate ⟨9.38,9.06⟩\langle9.38, 9.06\rangle, and a grid-based near-peak ⟨9,9⟩\langle9, 9\rangle. Thus, the Variance Controller recovers the dataset-specific allocation without grid search.

MINER CC-ReID vs. Backbones. To verify the impact of our method on different backbones, like CLIP-ReID [28] and MADE [41], for the CC-ReID task we reproduce and evaluate our method on PRCC, LTCC, and Celeb-L. CLIP-ReID base underperforms as it was not trained for CC-ReID. MINER improves all backbones in all datasets by 6.7 and 4.6 Rank@1 and mAP points, respectively (Table 2). Furthermore, MINER gains (33.3, 32.5), (6.5, 5.6) (Δ\DeltaR@1, Δ\DeltamAP) over vanilla pretrained EVA-CLIP and ID-Loss baseline respectively on PRCC, LTCC, and Celeb-L. See full analysis in the supplement.

CC-ReID MethodData setBase-reproduced R@1Base-reproduced mAP+MINER R@1+MINER mAP
CLIP-ReIDPRCC17.518.029.030.3
MADEPRCC61.756.271.264.7
DIFFERPRCC68.564.773.969.7
CLIP-ReIDLTCC17.38.332.711.2
MADELTCC44.019.447.423.3
DIFFERLTCC58.231.660.933.3
CLIP-ReIDCeleb-L12.06.421.010.3
MADECeleb-L66.048.468.049.5
DIFFERCeleb-L75.654.376.956.3
AVERAGE46.834.153.438.7
GAIN (Δ\Delta)+6.7+4.6

Table 2. Gains from using MINER on various reproduced backbone scores in Rank@1 and mAP across three CC-ReID datasets. MINER improves both metrics on all backbones and datasets.

Standard ReID. While our work focuses on CC-ReID, traditional ReID is still a critical task in CCTV applications. We conducted a Same-Clothes (SC) traditional evaluation on PRCC and LTCC (General) against seven methods [9, 13, 17, 30, 40, 41, 67]. Although MINER suppresses clothing-related cues, it remains effective in SC-ReID, achieving SOTA on both datasets with (Rank@1, mAP) of (100.0, 99.4) and (93.8, 67.7), respectively (supplement).

Cross-Modal ReID. We extend MINER to cross-modal learning. We adapt MINER by addressing the modality indicator per-source (e.g., RGB or depth) instead of clothes-ID indicator Ip,c,a\mathcal{I}_{p,c,a}. By contrasting hard-negatives across identities and hard-positive across modalities, the algorithm controls inter- and intra-person variance like in CC-ReID. MINER was submitted to the ICPR 2026 Competition on Privacy-Preserving Person Re-Identification from Top-View RGB-Depth Camera (TVRID) [7]. The challenge addressed three top-view ReID challenges: RGB-RGB, Depth-Depth, and RGB-Depth. The setup is challenging as faces are not seen visually through the overhead sensor installation. With 148 competing teams and 732 submissions, MINER was the sole method to reach the podium in all three tracks, with (Rank@1, mAP) of (99.8, 99.9), (97.2, 98.3), (91.5, 94.9), respectively.

Discussion

Most CC-ReID work treats intra-person variance across outfits as a byproduct of metric learning, prioritizing inter-person separation. Our results show this is suboptimal: explicitly controlling the within- and between-identity variance is a first-order factor for clothes-agnostic embeddings.

Why does the intra-/inter-person balance matter? In CC-ReID, the dominant appearance shift is structured, identity-preserving clothing change, not viewpoint or illumination. Inter-person separation alone yields embeddings discriminative for same-clothes pairs yet brittle across outfits. MINER foregrounds cross-outfit alignment, using dissimilar cross-camera outfit pairs as hard positives and visually similar identities as hard negatives. Our mining strategy ablation study on PRCC/Celeb-L shows significant gain to Rank@1 (pvalue<0.01p_{\mathrm{value}} < 0.01) using simultaneous hard-positive and hard-negative mining (see Table 3). MINER samples from soft distributions over identity and outfit centroids rather than selecting the deterministic “hardest” case, which is unstable under noisy hardness estimates [58]. Consistently, deterministic hard mining reduces R@1 by 3.7/0.6 points on PRCC/Celeb-L relative to MINER. Centroid-level mining is lower-variance than per-image selection and computationally efficient [54], yielding gains in 20 finetuning epochs. Its block-diagonal supervision treats each identity as a multi-positive query–gallery set, enforcing cross-outfit invariance within blocks while discriminating against hard negatives across identities; the supplemental analysis shows this formulation is gradient-selective, concentrating optimization on confusable negatives and cross-clothing positives while suppressing redundant easy-match supervision.

R‾@1\overline{R}@1 over 3 paired seedsRandom-NegativeHard-Negative
Random-Positive67.1/74.372.0/75.3
Hard-Positive67.5/76.073.6/76.4

Table 3. Sampler ablation reporting R‾@1\overline{R}@1 on PRCC/Celeb-L. MINER uses both hard-positive and hard-negative mining.

Gains hold across backbones (CLIP-ReID, MADE, DIFFER, EVA-CLIP) and extend to same-clothes and RGB-Depth where modality acts as an appearance factor analogous to clothing—suggesting MINER is a general mechanism for controlling within-class variability while preserving between-class discrimination. The optimal mn\frac{m}{n} ratio is dataset-dependent: the homogeneous, controlled PRCC favors larger nn, while “in-the-wild” Celeb-L favors larger mm. The monotonic decay of mAP on either side of the optimum indicates both extremes hurt—too few identities weakens inter-person pressure, too few samples-per-identity weakens cross-outfit alignment.

Runtime analysis. On a single A100 80GB GPU, MINER embeds PRCC in 54 seconds (17, 896 images at 329 Hz), computes identity centroids in 13 ms, and performs each SGD step in 517 ms. The variance controller adds only 0.7 ms per TT steps to update the batch composition ⟨m,n⟩\langle m,n\rangle, making its runtime overhead negligible.

Implementation details. Experiments follow the DIFFER codebase. Images are resized to 224 ×\times 224 and ImageNet-normalized. Models are trained for 20 epochs

CC-ReID MethodBackboneVanilla weightsPRCC R@1PRCC mAPLTCC R@1LTCC mAPCeleb-L R@1Celeb-L mAPDeepChange R@1DeepChange mAPVC-Clothes R@1VC-Clothes mAPLAST R@1LAST mAP
CAL [13] ’22ResNet50✓55.255.840.118.0––54.019.081.481.773.737.2
LAST [52] ’22ResNet50✓57.754.7––54.411.8––––71.028.0
MBUNET [71] ’23ResNet5068.765.240.315.035.521.5––82.770.3––
ACID [64] ’23ResNet50✓55.466.129.114.527.915.8––84.374.2––
SCNET [14] ’23ResNet50✓58.759.947.525.5––53.518.7––––
CCAF [29] ’23ViT-B/CLIP✓70.463.742.920.1––––––––
MADE [41] ’24ViT-L/EVA✓64.359.147.424.472.052.3––––79.040.9
CLIP3DReID [31] ’24ResNet50✓60.659.342.121.739.426.356.720.8––––
RFLNet [67] ’25ResNet50✓58.159.043.922.2––52.419.089.182.9––
FA-ReID [9] ’25ResNet50✓63.760.743.919.9––––85.785.9––
CSCI [40] ’25ViT-L/EVA✓66.261.347.824.4––––––––
PT-ReID [10] ’25ViT-B/CLIP✓66.363.448.025.0––––86.886.5––
MTAT [15] ’25ViT-L/EVA✓––48.022.371.051.4––––––
DIFFER [30] ’25ViT-L/EVA✓68.564.758.231.675.654.3––––––
HPL [68] ’25ResNet50✓74.369.0––––––84.984.7––
ORB [23] ’26ResNet5062.058.343.122.1––––88.285.8––
ORTHO [26] ’26ViT-L/EVA✓74.470.256.130.279.159.0––––84.353.5
MINER (DIFFER)ViT-L/EVA73.969.760.933.376.956.357.820.088.879.882.349.5
MINER (EVA-CLIP)ViT-L/EVA✓74.570.060.234.477.259.166.827.781.382.083.050.4

Table 1 (PDF p. 8). Comparison of various methods on CC-ReID: MINER Rank@1 and mAP performance across CC-ReID datasets vs. SOTA. We initialize to both EVA-CLIP and DIFFER separately. All methods use pre-trained weights, Vanilla Weights were trained on generic datasets like ImageNet while others used additional ReID finetuning. VC-Clothes is synthetic. Best result is in bold, the second is underlined.

(SGD), learning rate 2×10−72 \times10^{-7}, weight decay 0.01, and a linear schedule with one warmup epoch, warmup ratio 0.01, and decay factor γ=0.1\gamma= 0.1. Batches follow Bmax⁡=174B_{\max} = 174, CLIP softmax temperature τ=0.1\tau= 0.1, η=0.025\eta= 0.025, and the variance controller is updated every T=20T = 20 iterations.

Limitations. MINER assumes vanilla-pretrained weights; training from scratch remains unexplored as unreliable early embeddings yield noisy centroids and unstable mining. It also requires clothing-ID labels and at least two outfits per identity to expose intra-person variation. Limited clothing diversity therefore weakens hard-positive mining, as in LTCC where some identities have only one clothing ID.

Ethics. Person ReID can aid safety-critical retrieval but also risks privacy-invasive surveillance. We use only public benchmarks, do not infer protected attributes, and recommend deployment only under lawful, purpose-limited governance with access control and regular privacy audits.

Future work. Extending MINER from finetuning to training from scratch requires mining strategies stable under unreliable early-stage embeddings. MINER may also apply to cross-domain metric learning tasks such as speaker identification under spoken language code-switching.

Conclusion

CC-ReID is challenging since clothing-induced within-identity variation differs substantially across datasets. We show that balancing intra- and inter-person variance during training is critical for clothes-agnostic representation learning, and introduce MINER, a simple stochastic mining framework with online closed-form batch adaptation. MINER improves retrieval across CC-ReID benchmarks and generalizes to conventional and RGB-Depth ReID, reinforcing variance-aware training as a principled path toward robust identity representation under appearance shift.

Acknowledgments

This work was supported by the Joint NSFC-ISF Research Grant number 3077/23 and ISF grant number 1574/21.

References

Implementation Details

Unless noted otherwise, all settings below follow the DIFFER code base, with hyper-parameters adapted to MINER; Table 4 lists the complete configuration. All runs use a fixed random seed (1234); ablations requiring repeated measures vary only the seed.

Hyper-parameterValue
Input image size224 × 224
Normalization mean (μ\mu)(0.485, 0.456, 0.406)
Normalization std. (σ\sigma)(0.229, 0.224, 0.225)
OptimizerSGD
Learning rate2×10−72 \times10^{-7}
LR schedulerLinear
Weight decay0.01
Total epochs20
Warmup epochs1
Warmup ratio0.01
LR decay factor (γ\gamma)0.1
Random seed1234
Batch budget, Bmax⁡B_{\max}174
Controller interval (TT)20
Controller EMA rate (η\eta)0.025
Softmax temperature (τ\tau)0.1

Table 4. Default training configuration (DIFFER-initialized runs). Bmax⁡B_{\max} is the hard memory ceiling on the per-batch image budget 2mn2mn. EVA-CLIP-initialized runs use 30 epochs at learning rate 1×10−61 \times10^{-6}; the cross-modal TVRID setting uses τ=0.2\tau= 0.2 (Sec. B.4).

Backbone and inputs. We report results with two image encoders, DIFFER and EVA2-CLIP-L/14, both producing a 1,024-D embedding, on PRCC, LTCC, Celeb-L, DeepChange, VC-Clothes, and LaST. Inputs are resized to 224 × 224 and normalized with the standard ImageNet statistics μ=(0.485,0.456,0.406)\mu= (0.485, 0.456, 0.406), σ=(0.229,0.224,0.225)\sigma= (0.229, 0.224, 0.225).

Optimization. Models are trained with SGD under a linear learning-rate schedule with a one-epoch warmup (warmup ratio 0.01) followed by decay with factor γ=0.1\gamma= 0.1. The DIFFER-initialized runs use 20 epochs, learning rate 2×10−72 \times10^{-7}, and weight decay 0.01. The EVA-CLIP checkpoints are not pre-trained on any ReID task, so they require longer adaptation: we finetune them for 30 epochs at a higher learning rate of 1×10−61 \times10^{-6}, keeping all other settings fixed.1

MINER-specific settings. The per-batch image budget is 2mn≤Bmax⁡2mn \le B_{\max} with Bmax⁡=174B_{\max} = 174, the hard memory ceiling on an 80 GB A100. The Variance Controller updates ⟨m,n⟩\langle m,n\rangle every T=20T = 20 iterations and smooths the gradient-variance traces with an EMA of rate η=0.025\eta= 0.025. Soft sampling over identity and clothing centroids (Eqs. 4 and 7 of the main paper) uses a softmax temperature τ\tau, following CLIP [45]; τ=0.1\tau= 0.1 for the single-modal datasets and τ=0.2\tau= 0.2 for the cross-modal TVRID setting (Sec. B.4).

Experiments

We follow each benchmark’s official evaluation protocol and the conventions of its original work. Throughout, retrieval is single-query, each query is scored against the gallery without re-ranking, and no test-set statistic or prior is used; results are reported as Rank@1 accuracy (R@1) and mean Average Precision (mAP). The per-dataset protocols are: PRCC on the cross-clothes Camera A→C split, LTCC on its official clothes-changing split, Celeb-L on its inherently clothes-changing query/gallery split, DeepChange on its long-term probe/gallery protocol, VC-Clothes on the Camera 3/4 clothes-changing split, and LaST on its large-scale spatio-temporal protocol.

Clothes-Changing ReID

For the six CC-ReID datasets (PRCC, LTCC, Celeb-ReID-Light, DeepChange, VC-Clothes, LaST) we evaluate under the cross-clothing setting, in which query and gallery images show different outfits of the same identity wherever the protocol defines such pairs. The corresponding results appear in Tab. 1 of the main paper.

Traditional ReID

While MINER targets the clothes-changing setting, conventional fixed-clothing retrieval remains central to deployment, so we additionally evaluate two same-clothing protocols: PRCC in the Same-Clothes (SC) protocol and LTCC in the General protocol (Table 5). For comparability we match the backbone and evaluation settings of the prior work we compare against.

SC-ReID MethodPRCC R@1PRCC mAPLTCC R@1LTCC mAP
TransReID ’2197.395.973.839.4
CAL ’22100.099.874.240.8
MADE ’24100.098.684.248.2
RFLNet ’25100.099.6––
FA-ReID ’25100.099.075.741.3
CSCI ’25100.099.982.648.0
DIFFER ’25100.098.6<u>85.0</u><u>52.8</u>
MINER (Ours)100.0<u>99.4</u>93.867.7

Table 5. Same-clothes (PRCC-SC) and General (LTCC) ReID vs. prior work, in R@1/mAP. Best is bold, second <u>underlined</u>. PRCC-SC R@1 is saturated at 100.0 across methods; MINER sets a new state of the art on LTCC-General.

On LTCC-General, MINER sets a new state of the art by a wide margin (93.8/67.7 vs. the next-best 85.0/52.8 in R@1/mAP), despite prioritizing identity over clothing cues. PRCC-SC is effectively saturated — seven methods reach 100.0 R@1 — so it offers little discriminative headroom; there MINER is competitive on mAP (99.4) without surpassing the top entries. The strong LTCC-General result is the more informative of the two: it shows that MINER’s clothes-agnostic training does not sacrifice same-clothes retrieval, and in fact improves it where the benchmark is not already maxed out.

MINER as a Finetuning Framework

Backbone Gains

Table 2 of the main paper reports the gain MINER delivers on top of existing backbones. For each backbone we reproduce the original training procedure to convergence, record the reproduced base scores, and then apply MINER as a finetuning stage on the converged model. Our reproduced base numbers occasionally differ from the originally reported ones, as is common when re-training across code bases and hardware. This does not affect the conclusion:

the quantity of interest is the delta from adding MINER, and measuring base and +MINER under identical settings on our own reproduction isolates that delta more cleanly than a cross-paper comparison would. The consistent improvement across backbones therefore quantifies MINER’s value as a generic, architecture-agnostic finetuning step.

Baseline

The EVA-CLIP backbone is a strong general purpose image encoder. We further test expressive power for the CC-ReID task both as a zero-shot (off-the-shelf) vanilla encoder and as a baseline with a simple approach like multi-class classifier finetuning using the simple ID-Loss. This analysis was conducted by Liang and Rawat [30] on EVA-CLIP and demonstrated in Table 6 over the PRCC, LTCC, and Celeb-L datasets. MINER introduces net mAP gains of 46.1, 29.3, and 22.0 respectively compared with the vanilla EVA-CLIP and 7.0, 4.0, and 5.8 over the baseline.

MethodPRCC R@1PRCC mAPLTCC R@1LTCC mAPCeleb-L R@1Celeb-L mAP
EVA-CLIP (No finetune)39.323.915.05.157.737.1
Baseline (ID Loss)65.163.054.630.472.753.3
DIFFER68.564.758.231.675.654.3
MINER (EVA-CLIP)74.570.0<u>60.2</u>34.477.259.1
MINER (DIFFER)<u>73.9</u><u>69.7</u>60.9<u>33.3</u><u>76.9</u><u>56.3</u>

Table 6. MINER versus three initialization baselines on PRCC, LTCC, and Celeb-L under the clothes-changing protocol, in R@1/mAP. Upper block: EVA-CLIP off the shelf, EVA-CLIP finetuned with a plain ID-loss, and the ReID-pretrained DIFFER encoder. Lower block: MINER applied to each of the two initializations. Best per column in bold, second <u>underlined</u>.

TVRID 2026 Competition

The ICPR 2026 Competition on Privacy-Preserving Person Re-Identification from Top-View RGB-Depth Camera (TVRID) [7] drew 732 submissions from 148 research groups across three tracks (RGB, Depth, RGB-Depth). As Table 7 shows, MINER is the only method to place in the top three of all three tracks; every other leading method reaches the podium in at most two. The wide gap between the podium scores and the per-track averages (e.g. 94.9 vs. 40.7 mAP on RGB-Depth) indicates the setting is far from saturated — top-view sensors hide the face, so identity must be recovered from body shape and gait alone.

TaskRankMethodR@1mAP
RGB1stDuy et al.100.0100.0
RGB2ndCarlo Metta100.099.9
RGB3rdMINER (Ours)99.899.9
RGBAvg.Task average85.789.6
Depth1stJiang et al.98.899.4
Depth2ndMINER (Ours)97.298.3
Depth3rdRashidunnabi et al.90.494.3
DepthAvg.Task average47.157.2
RGB-D1stRashidunnabi et al.99.899.9
RGB-D2ndJiang et al.97.998.7
RGB-D3rdMINER (Ours)91.594.9
RGB-DAvg.Task average30.440.7

Table 7. TVRID top-3 entries and per-track average over 732 submissions. MINER is the only method on the podium of all three tracks. The large podium-to-average gap, especially on Depth and RGB-Depth, reflects an unsaturated, face-free setting.

Cross-modal adaptation. The RGB-Depth track maps a query in one modality to a gallery in another, so we adapt MINER’s appearance factor from clothing to modality: hard positives are now cross-modal pairs of the same identity and hard negatives are same-modality look-alikes, controlling intra- and inter-person variance exactly as in the single-modal case (Figure 5). We instantiate two EVA-CLIP-L/14 encoders from the DIFFER checkpoints, one per modality, and finetune on the TVRID data.

MINER’s contrastive loss over a cross-modal bipartite batch

Figure 5. MINER’s contrastive loss over a cross-modal bipartite batch. Hard-negative identities and hard-positive cross-modal pairs distill inter-person (white) and intra-person (blue) variance simultaneously via a block-diagonal label matrix, here over the RGB-Depth data of the TVRID 2026 Competition.

Two changes accommodate the cross-modal setting. First, query and gallery are no longer interchangeable, which breaks the symmetry between Lq→g\mathcal{L}_{q\to g} and Lg→q\mathcal{L}_{g\to q}; we therefore decouple the per-side image counts, allowing nq≠ngn_q \ne n_g and modeling the budget as B=m(nq+ng)B = m(n_q + n_g) rather than the single-modal nq=ng=nn_q = n_g = n. This extends the allocation knob to the 3-tuple ⟨m,nq,ng⟩\langle m,n_q,n_g\rangle. Second, the larger RGB↔Depth domain shift produces a flatter similarity distribution, so we raise the softmax temperature to τ=0.2\tau= 0.2 (from 0.1) to keep the contrastive targets well-scaled. All other settings follow Sec. A.

MINER’s Sampler: Ablation Study

The main thesis of MINER rests on the interaction of two factors: the intra-class and inter-class variance effects. To quantify their individual contributions, we report the paired tt-test analysis in Table 8. Seeds were shared across configurations, yielding a paired design with dof = 2. The full MINER sampler (hard-positive and hard-negative combined) produces the largest and most significant Rank@1 gain on both datasets: +6.50 (pvaluep_{\mathrm{value}} = 0.0007) on PRCC and +2.17 (pvaluep_{\mathrm{value}} = 0.0059) on Celeb-L. Decomposing the two factors reveals a dataset-dependent pattern that is consistent with our variance analysis. Hard-negative mining is the reliable component: it improves significantly over random mining on both datasets (+4.87, pvaluep_{\mathrm{value}} = 0.0002 on PRCC; +1.03, pvaluep_{\mathrm{value}} = 0.0072 on Celeb-L). Hard-positive mining alone, in contrast, is not significant on PRCC (+0.33, pvaluep_{\mathrm{value}} = 0.29) and only marginal on Celeb-L (+1.73, pvaluep_{\mathrm{value}} = 0.052), yet its point estimate is largest precisely on Celeb-L. Complementarily, the Variance Controller independently adapts m:nm:n according to the measured gradient-variance ratio. Thus, the sampler ablation reveals where cross-clothing positives are most beneficial, while the controller determines how the training budget should be reallocated.

DatasetSetting/FactorSampler configurationR@1 (%)Δ\DeltaR@1, pvaluep_{value}
PRCC(i)Random positive + random negative67.13 ±\pm 0.25–
PRCC(ii)Random positive + hard negative72.00 ±\pm 0.26+4.87, pvalue=0.0002p_{value}=0.0002
PRCC(iii)Hard positive + random negative67.47 ±\pm 0.25+0.33, pvalue=0.29p_{value}=0.29
PRCC(iv)MINER: hard positive + hard negative73.63 ±\pm 0.30+6.50, pvalue=0.0007p_{value}=0.0007
Celeb-L(i)Random positive + random negative74.27 ±\pm 0.60–
Celeb-L(ii)Random positive + hard negative75.30 ±\pm 0.53+1.03, pvalue=0.0072p_{value}=0.0072
Celeb-L(iii)Hard positive + random negative76.00 ±\pm 0.20+1.73, pvalue=0.0516p_{value}=0.0516
Celeb-L(iv)MINER: hard positive + hard negative76.43 ±\pm 0.40+2.17, pvalue=0.0059p_{value}=0.0059

Table 8. Sampler-mining ablation on PRCC and Celeb-ReID-Light over three paired seeds. Results report mean ±\pm standard deviation over 3 seeds. Paired tt-tests compare each configuration against the random-positive/random-negative baseline (i), with dof = 2.

While random mining provides a natural lower-bound baseline, we additionally evaluate the opposite extreme: deterministic hard mining. Specifically, instead of sampling from MINER’s soft hardness distributions, we deterministically select the mm most similar negative identities and, for each identity, the most dissimilar cross-clothing positive pair. Using the same paired seeds as in Table 8, this experiment isolates the contribution of MINER’s stochastic sampling from that of hard-example selection itself. As shown in Table 9, deterministic hard mining reaches R@1‾=69.93±0.15\overline{\mathrm{R@1}} = 69.93 \pm0.15 on PRCC and 75.87 ±0.09\pm0.09 on Celeb-L, compared with 73.63 ±0.30\pm0.30 and 76.43 ±0.40\pm0.40 for MINER, respectively. Thus, deterministic selection improves substantially over random mining, confirming the value of hard-example selection, but remains below stochastic MINER by 3.70 R@1 points on PRCC and 0.56 points on Celeb-L. The consistent advantage in R@1 supports MINER’s use of soft hard mining: biasing training toward difficult examples while retaining stochasticity is preferable to repeatedly selecting only the most extreme samples. The smaller gap on Celeb-L further indicates that the benefit of stochasticity is dataset-dependent rather than uniform.

DatasetDeterministic Hard Mining R@1 (%)MINER R@1 (%)
PRCC69.93 ±\pm 0.1573.63 ±\pm 0.30
Celeb-L75.87 ±\pm 0.0976.43 ±\pm 0.40

Table 9. Deterministic mining selects the hardest negative identities and hardest positive clothing pairs, while MINER samples stochastically from the corresponding hardness distributions. Results report mean ±\pm sample standard deviation over 3 seeds. MINER consistently improves R@1 over deterministic hard mining, with a larger gain on PRCC than on Celeb-L.

Multi-Positive Objective and Variance Controller: Ablation Study

To isolate MINER’s objective and adaptive batch allocation from its hard-mining sampler, we combine the controlled comparisons of Table 6 and Table 8. Specifically, the random-positive/random-negative setting disables hard mining while retaining MINER’s block-diagonal multi-positive objective and Variance Controller. Compared with the matched ID-loss baseline, this configuration improves

R@1 by +2.0 points on PRCC (from 65.1% to 67.1%) and +1.6 points on Celeb-L (from 72.7% to 74.3%). These gains show that MINER’s improvement is not solely attributable to hard-example mining; the multi-positive objective and adaptive allocation provide an independent contribution.

MINER’s Variance Controller: Ablation Study

We compare the Variance Controller against the nine fixed allocations on the PRCC/LTCC/Celeb-L grids (Table 10). Because mAP scales differ across datasets, we analyze regret—the gap, in mAP points, to each dataset’s grid optimum—so that the per-dataset oracle has regret 0 and every policy is measured on a common scale.

⟨m,n⟩\langle m,n\ranglePRCCLTCCCeleb-LPRCCLTCCCeleb-LMeanWorstRank
⟨29,3⟩\langle29,3\rangle67.633.955.72.10.60.81.172.18.83
⟨21,4⟩\langle21,4\rangle67.634.056.52.10.50.00.872.16.50
⟨17,5⟩\langle17,5\rangle68.234.456.31.50.10.20.601.55.50
⟨12,7⟩\langle12,7\rangle68.634.256.41.10.30.10.501.15.17
⟨9,9⟩\langle9,9\rangle68.934.456.30.80.10.20.370.84.50
⟨7,12⟩\langle7,12\rangle69.134.156.20.60.40.30.430.66.00
⟨5,17⟩\langle5,17\rangle69.734.455.60.00.10.90.330.94.67
⟨4,21⟩\langle4,21\rangle69.634.555.50.10.01.00.371.04.50
⟨3,29⟩\langle3,29\rangle68.634.555.11.10.01.40.831.46.00
MINER Controller69.734.456.30.00.10.20.100.23.33

Table 10. Per-allocation mAP and regret (gap to each dataset’s grid optimum) on PRCC/LTCC/Celeb-L, with mean and worst-case regret and Demšar average rank across the three. The Variance Controller attains the lowest mean and worst-case regret of all configurations—Pareto-dominating every fixed split—and the best average rank. Lower is better throughout; per-dataset optima are underlined.

Minimax regret (primary). At training time the dataset’s intra-/inter-person prior is unknown, so a fixed allocation is chosen blind and its quality is governed by its worst case across datasets [47]. The controller attains a worst-case regret of 0.2 mAP and a mean of 0.10, against a best fixed allocation of 0.6 worst-case (⟨7,12⟩\langle7, 12\rangle) and 0.33 mean (⟨5,17⟩\langle5, 17\rangle)—attained, notably, by different splits. The controller’s mean and worst-case regret are below those of every fixed allocation (Table 10, last two columns), so it Pareto-dominates all nine on both criteria simultaneously, improving the best fixed choice by 3.3× in mean and 3× in worst-case regret. This is a property of the measured grid and requires no distributional assumption.

Average rank (companion). As a standard cross-dataset summary [8], we rank the ten configurations within each dataset and average. The controller obtains the best mean rank, 3.33, ahead of every fixed split (next best 4.50). Tellingly, the three aggregate criteria above each favor a different fixed allocation, yet the controller leads on all three—no fixed split is robustly best, whereas the controller is.

On significance testing. An omnibus Friedman test over the three datasets is not significant (χF2(9)=6.6\chi^{2}_{F}(9) = 6.6), and is necessarily underpowered at N=3N = 3: the Bonferroni–Dunn critical difference (≈6.9\approx6.9 ranks) exceeds the entire observed rank range (5.5), so no post-hoc comparison can clear it regardless of effect size. We therefore report these gaps descriptively rather than as inferential claims. Statistical power here resides not in the three datasets but in the seed replicates of the main results (§ 5): the controller’s largest shortfall (0.2 mAP) lies within their run-to-run variation, while the transfer penalties of fixed splits (⟨5,17⟩\langle5, 17\rangle: 0.9 mAP on Celeb-L; ⟨21,4⟩\langle21, 4\rangle: 2.1 on PRCC) exceed it severalfold. The regret gap can only widen as datasets with more varied priors are added.

Visualizing the effect. Table 10 reports the measured mAP and regret for every fixed allocation. Figure 6 plots the same grid against the allocation risk of Eq. (14), evaluated per dataset at its estimated controller ratio ρ=m⋆/n⋆\rho= m^{\star}/n^{\star}; only relative risk is needed, so the common covariance scale cancels, and risk and regret are independently normalized to [0,1][0, 1] within each dataset for display. Two comparisons appear in the figure and they carry different weight. That the risk is minimized at the Controller’s selection is not evidence: by Eq. (15) the Controller returns the argmin of Eq. (14), so the dashed line and the orange minimum coincide by construction. The substantive question is whether that risk tracks measured retrieval—a quantity the grid supplies independently of the Controller. It does, wherever the grid can resolve it. The Spearman rank correlation between risk and mAP is rs=−0.97r_s = -0.97 on PRCC (pvalue<0.001p_{\mathrm{value}} < 0.001) and rs=−0.85r_s = -0.85 on Celeb-L (pvalue=0.004p_{\mathrm{value}} = 0.004): lower predicted risk accompanies higher measured mAP, and on both datasets the risk-minimizing cell is also the best-measured cell (⟨5,17⟩\langle5, 17\rangle and ⟨21,4⟩\langle21, 4\rangle). LTCC is uninformative rather than contradictory — its nine allocations span only 0.6 mAP in total, comparable to run-to-run variation, so their ordering is largely noise and the correlation is correspondingly small and not significant (rs=+0.14r_s = +0.14, pvalue=0.73p_{\mathrm{value}} = 0.73). Consistent with a flat objective, the Controller’s ⟨9,9⟩\langle9, 9\rangle selection there sits 0.1 mAP below the best measured cells.

Risk versus mAP regret across PRCC, LTCC, and Celeb-L

Figure 6. Risk (orange) versus mAP regret (blue) across Table 10’s nine allocations, each normalized within its dataset; lower is better. Dashed lines mark the Controller’s choice—the risk minimum by construction (Eq. (15))—and shaded cells the best measured. The test is whether the curves track. They do on PRCC (rs=−0.97r_s = -0.97) and Celeb-L (rs=−0.85r_s = -0.85), where lowest risk is also best measured. LTCC spans only 0.6 mAP, too flat to order (rs=+0.14r_s = +0.14, p-value=0.73p\text{-value} = 0.73); the Controller’s ⟨9,9⟩\langle9,9\rangle lands 0.1 mAP off.

Variance Controller Assumption Validation

The adaptive allocation of Alg. 2 (main paper, § 3.3) rests on three modeling choices. Each affects only the selection of ⟨m,n⟩\langle m,n\rangle, never the contrastive objective itself: (i) the allocation objective is the equally weighted sum of the two estimation risks; (ii) the between- and within-identity risks decouple, so E\mathcal{E} is additive; and (iii) projection-head gradients are a low-variance proxy for the full-parameter covariance traces. We validate all three by their effect on the chosen allocation, since that — not the intermediate quantities — is what the controller produces.

Assumption (i): equal weighting. The 1/m1/m and 1/2n1/2n scalings in E\mathcal{E} are fixed by the corresponding estimator variances; the only free choice is the relative weight on the two terms, which we set to 1:1. This choice is not load-bearing. Generalizing to

Eλ(m,n)=λtr⁡ΣBm+(1−λ)tr⁡ΣW2n,s.t.2mn=Bmax⁡,\mathcal{E}_{\lambda}(m,n) = \lambda\frac{\operatorname{tr}\Sigma_{\mathrm{B}}}{m} + (1-\lambda)\frac{\operatorname{tr}\Sigma_{\mathrm{W}}}{2n}, \qquad\text{s.t.}\quad2mn = B_{\max},

the constrained minimizer satisfies

ρλ=m⋆n⋆=λ1−λ⋅2tr⁡ΣBtr⁡ΣW,\rho_{\lambda} = \frac{m^{\star}}{n^{\star}} = \frac{\lambda}{1-\lambda}\cdot\frac{2\operatorname{tr}\Sigma_{\mathrm{B}}}{\operatorname{tr}\Sigma_{\mathrm{W}}},

so λ\lambda enters only through the scalar multiplier λ/(1−λ)\lambda/(1-\lambda): it slides the operating point along the budget frontier but cannot change the functional form, recovering Eq. (15) at λ=0.5\lambda= 0.5. Since mAP is a smooth, single-peaked function of the allocation (main paper, Figure 2–Figure 3), a bounded reweighting of ρ\rho moves the operating point a bounded distance along a flat ridge. Figure 7 confirms this on Celeb-L: as λ\lambda varies over {0.2,0.5,0.8}\{0.2, 0.5, 0.8\} the estimated allocation ⟨m⋆,n⋆⟩\langle m^{\star}, n^{\star}\rangle shifts substantially, yet R@1 and mAP vary within seed noise, with λ=0.5\lambda= 0.5 at least as good as either alternative. The equal-weighting choice therefore does not affect retrieval.

Retrieval performance and estimated allocation versus risk weighting $\lambda$

Figure 7. Effect of the risk weighting λ\lambda on Celeb-L. Top: retrieval performance (mAP, R@1) is flat across λ\lambda. Bottom: the controller allocation ⟨m⋆,n⋆⟩\langle m^\star, n^\star\rangle shifts markedly with λ\lambda. The allocation moves while performance does not, confirming the equal-weighting choice is immaterial. Mean over three seeds; error bars are standard deviation.

Assumption (ii): risk decoupling. The additive form E(m,n)=tr⁡ΣB/m+tr⁡ΣW/2n\mathcal{E}(m,n) = \operatorname{tr}\Sigma_{\mathrm{B}}/m + \operatorname{tr}\Sigma_{\mathrm{W}}/2n (Eq. (14)) has two sub-claims: (ii-a) attribution — the between-identity dispersion tr⁡ΣB\operatorname{tr}\Sigma_{\mathrm{B}} is carried mainly by the discrimination signal hdisch_{\mathrm{disc}} (off-block / negatives) and the within-identity dispersion tr⁡ΣW\operatorname{tr}\Sigma_{\mathrm{W}} by the invariance signal hinvh_{\mathrm{inv}} (within-block / positives), Eq. (12); and (ii-b) decoupling — their cross-covariance is small enough that no cross-term survives.

We stress that the deployed estimators (Eqs. (16)–(17)) recover tr⁡ΣB\operatorname{tr}\Sigma_{\mathrm{B}} and tr⁡ΣW\operatorname{tr}\Sigma_{\mathrm{W}} directly from the full per-sample gradient by one-way ANOVA; they do not use the hinv/hdisch_{\mathrm{inv}}/h_{\mathrm{disc}} split and do not assume decoupling. The split motivates why the two terms respond to mm and nn; the assumption governs only whether E\mathcal{E} may omit the cross-term. We assess this two ways.

First, the cross-term has a favorable sign. Writing ginv(x)g_{\mathrm{inv}}(x), gdisc(x)g_{\mathrm{disc}}(x) for the per-sample contributions to hinvh_{\mathrm{inv}}, hdisch_{\mathrm{disc}}, their trace-correlation

rcross=tr⁡Cov⁡(ginv,gdisc)tr⁡Cov⁡(ginv) tr⁡Cov⁡(gdisc),rcross∈[−1,1],r_{\mathrm{cross}} = \frac{\operatorname{tr}\operatorname{Cov}(g_{\mathrm{inv}},g_{\mathrm{disc}})}{\sqrt{\operatorname{tr}\operatorname{Cov}(g_{\mathrm{inv}})\,\operatorname{tr}\operatorname{Cov}(g_{\mathrm{disc}})}}, \qquad r_{\mathrm{cross}} \in[-1,1],

is not large in magnitude both in PRCC and LTCC (Table 11). By the identity tr⁡Cov⁡(ginv+gdisc)=tr⁡Cov⁡(ginv)+tr⁡Cov⁡(gdisc)+2tr⁡Cov⁡(ginv,gdisc)\operatorname{tr}\operatorname{Cov}(g_{\mathrm{inv}}+g_{\mathrm{disc}})=\operatorname{tr}\operatorname{Cov}(g_{\mathrm{inv}})+\operatorname{tr}\operatorname{Cov}(g_{\mathrm{disc}})+2\operatorname{tr}\operatorname{Cov}(g_{\mathrm{inv}},g_{\mathrm{disc}}), a negative cross-term makes the true coupled risk smaller than the additive E\mathcal{E}. Dropping it therefore yields a conservative upper bound on the risk, not an uncontrolled approximation.

DatasetProj. ∇zℓ\nabla_z\ellFull ∇θℓ\nabla_\theta\ellrcrossr_{\mathrm{cross}}
PRCC⟨5,17⟩\langle5,17\rangle⟨5,17⟩\langle5,17\rangle (exact)−0.23-0.23
LTCC⟨9,9⟩\langle9,9\rangle⟨10,8⟩\langle10,8\rangle (within 1)−0.25-0.25

Table 11. Validation of Assumptions (ii) and (iii). The last column reports the trace-correlation rcrossr_{\mathrm{cross}} between the invariance and discrimination gradient signals (Assumption ii); it is small and negative, so the additive risk is a conservative upper bound. The first two columns report the allocation recovered by the projection-head versus the full-parameter estimator (Assumption iii); they agree, exactly on PRCC and within one unit per coordinate on LTCC.

Second, and decisively, the omission does not change the output: the allocation obtained under the additive surrogate matches the per-dataset grid optimum (Sec. B.7) and the full-parameter solution (Table 11). Whatever residual coupling exists, it does not move ⟨m,n⟩\langle m,n\rangle. Assumption (ii) is thus an approximation that is both conservative and allocation-preserving.

Assumption (iii): projection-head proxy. For efficiency the controller evaluates the traces on the projection head, ∇zℓ\nabla_z\ell, rather than the full-parameter gradient ∇θℓ\nabla_\theta\ell—the standard low-variance gradient surrogate of McCandlish et al. [37]. Only the ratio ρ=2tr⁡ΣB/tr⁡ΣW\rho= 2\operatorname{tr}\Sigma_B / \operatorname{tr}\Sigma_W enters Eq. (15), and a ratio is robust to the (large, roughly multiplicative) magnitude gap between head and full gradients, which cancels in the quotient. We verify this where it matters—in allocation space, with integer tolerance—rather than by comparing raw traces. As Table 11 shows, the projection-head and full-parameter estimators yield the same ⟨m,n⟩\langle m,n\rangle on PRCC (exact) and agree within one unit per coordinate on LTCC. The cheap surrogate reproduces the allocation of the full gradient.

Extended Theoretical Analysis

In this section we first detail the per-sample gradient definition and then dive into the deeper meaning of our loss function.

Per-Query Gradient and the Two-Signal Split

This appendix derives the gradient decomposition of our proposed block-diagonal loss function. With pij=exp⁡(Sij)∑kexp⁡(Sik)p_{ij} = \frac{\exp(S_{ij})}{\sum_k \exp(S_{ik})} and normalized target yˉij=Yijn\bar{y}_{ij} = \frac{Y_{ij}}{n}, the per-query loss is ℓi=−1n∑jYijlog⁡pij\ell_i = -\frac{1}{n}\sum_j Y_{ij}\log p_{ij}. Using the softmax identity ∂log⁡pij∂Sik=δjk−pik\frac{\partial\log p_{ij}}{\partial S_{ik}} = \delta_{jk} - p_{ik} and ∑jYij=n\sum_j Y_{ij} = n,

∂ℓi∂Sik=−1n∑jYij(δjk−pik)=pik−yˉik={pik−1n,k∈Pi,pik,k∉Pi,(18)\frac{\partial\ell_i}{\partial S_{ik}} = -\frac{1}{n}\sum_j Y_{ij}(\delta_{jk}-p_{ik}) = p_{ik}-\bar{y}_{ik} = \begin{cases} p_{ik}-\frac{1}{n}, & k\in P_i,\\ p_{ik}, & k\notin P_i, \end{cases} \tag*{(18)}

where Pi={k:Yik=1}P_i = \{k:Y_{ik}=1\}, ∣Pi∣=n|P_i|=n. The parameter gradient is ∇θℓi=∑k(pik−yˉik)∇θSik\nabla_\theta\ell_i = \sum_k(p_{ik}-\bar{y}_{ik})\nabla_\theta S_{ik}. The positive coordinates k∈Pik\in P_i (target 1n\frac{1}{n}) pull together the nn cross-clothing matches of ii’s identity—the invariance contribution—while the negative coordinates k∉Pik\notin P_i push apart cross-identity look-alikes—the discrimination contribution. Summing over queries and adding the symmetric gallery-to-query term gives the additive split h=hinv+hdisch=h_{\mathrm{inv}}+h_{\mathrm{disc}}, with hinvh_{\mathrm{inv}} supported on within-block (positive) pairs and hdisch_{\mathrm{disc}} on off-block (negative) pairs.

Convexity of the Allocation Objective

We consider the continuous allocation problem

min⁡m,n>0 E(m,n)=tr⁡ΣBm+tr⁡ΣW2ns.t. 2mn≤Bmax⁡.(19)\min_{m,n>0}\ \mathcal{E}(m,n)=\frac{\operatorname{tr}\Sigma_B}{m}+\frac{\operatorname{tr}\Sigma_W}{2n} \quad\text{s.t. } 2mn\le B_{\max}. \tag*{(19)}

Since the covariance matrices ΣB,ΣW⪰0\Sigma_B,\Sigma_W\succeq0, their traces are nonnegative. We consider this non-degenerate case where both traces are strictly positive. As E\mathcal{E} decreases when either mm or nn increases, any minimizer must saturate the budget: 2mn=Bmax⁡2mn=B_{\max}. Thus, m=Bmax⁡/(2n)m=B_{\max}/(2n), and the objective along the budget frontier becomes

E~(n)=2n tr⁡ΣBBmax⁡+tr⁡ΣW2n,n>0.(20)\widetilde{\mathcal{E}}(n)=\frac{2n\,\operatorname{tr}\Sigma_B}{B_{\max}}+\frac{\operatorname{tr}\Sigma_W}{2n}, \qquad n>0. \tag*{(20)}

Its derivatives are

E~′(n)=2tr⁡ΣBBmax⁡−tr⁡ΣW2n2,E~′′(n)=tr⁡ΣWn3>0.(21)\widetilde{\mathcal{E}}'(n)=\frac{2\operatorname{tr}\Sigma_B}{B_{\max}}-\frac{\operatorname{tr}\Sigma_W}{2n^2}, \qquad \widetilde{\mathcal{E}}''(n)=\frac{\operatorname{tr}\Sigma_W}{n^3}>0. \tag*{(21)}

Hence, E~\widetilde{\mathcal{E}} is strictly convex on (0,∞)(0,\infty), so its unique stationary point is its unique global minimizer. Solving E~′(n⋆)=0\widetilde{\mathcal{E}}'(n^\star)=0 gives

n⋆=Bmax⁡tr⁡ΣW4tr⁡ΣB,m⋆=Bmax⁡tr⁡ΣBtr⁡ΣW.(22)n^\star=\sqrt{\frac{B_{\max}\operatorname{tr}\Sigma_W}{4\operatorname{tr}\Sigma_B}},\quad m^\star=\sqrt{\frac{B_{\max}\operatorname{tr}\Sigma_B}{\operatorname{tr}\Sigma_W}}. \tag*{(22)}

Therefore,

ρ=m⋆n⋆=2tr⁡ΣBtr⁡ΣW,(23)\rho=\frac{m^\star}{n^\star}=\frac{2\operatorname{tr}\Sigma_B}{\operatorname{tr}\Sigma_W}, \tag*{(23)}

which yields (15) of the paper. The controller subsequently projects this continuous solution onto the feasible integer allocations.

Loss Function Analysis

This section analyzes the contrastive loss formulation used in MINER to clarify its intended optimization behavior. The loss is designed to explicitly control how gradient mass is distributed across multiple same-identity positives and identity-confusable negatives within a batch, a property that is critical for learning clothing-invariant representations. We therefore examine the loss at the gradient level, relate it to prior supervised contrastive formulations, and show how its structure aligns with the discriminative pressure induced by our sampling strategy. Throughout this section we use the single-modal batch shape ⟨m,n⟩\langle m,n\rangle of the main paper, where each identity contributes nn query and nn gallery images, so N=mnN=mn; the asymmetric cross-modal generalization is treated in Sec. B.4.

Gradient interpretation. Section C.1 derived the per-query gradient ∂ℓi/∂Sik=softmax⁡(Sik)−yˉik\partial\ell_i/\partial S_{ik}=\operatorname{softmax}(S_{ik})-\bar{y}_{ik} for the query-to-gallery direction Lq→g\mathcal{L}_{q\to g}, where each query carries exactly nn positive gallery samples in the block-diagonal supervision matrix YY, i.e., ∑jYij=n\sum_jY_{ij}=n for all ii and yˉij=Yij/n\bar{y}_{ij}=Y_{ij}/n. We read off its two regimes. For a positive pair (Yik=1Y_{ik}=1) the gradient is

∂ℓi∂Sik=softmax⁡(Sik)−1n,\frac{\partial\ell_i}{\partial S_{ik}}=\operatorname{softmax}(S_{ik})-\frac{1}{n},

which drives the predicted softmax probability toward 1/n1/n, spreading probability mass evenly across the nn cross-clothing matches of the identity. For a negative pair (Yik=0Y_{ik}=0) it reduces to

∂ℓi∂Sik=softmax⁡(Sik),\frac{\partial\ell_i}{\partial S_{ik}}=\operatorname{softmax}(S_{ik}),

so the update magnitude equals the predicted probability and is largest for the highest-scoring negatives. Because our batch construction explicitly concentrates identity-level hard negatives through the soft sampling distribution of π(p∣ps)\pi(p\mid p_s) of the main paper, these negatives systematically attain larger similarity scores SikS_{ik} early in training, produce disproportionately large gradients, and dominate the optimization dynamics. This provides a formal explanation for the strong discriminative pressure induced by our mining strategy and its empirical impact on improving global retrieval metrics such as mAP. At the same time, the block-diagonal positive structure distributes gradient mass across the multiple cross-clothing positives of each identity, preventing collapse to single-instance memorization and explicitly enforcing clothing-invariant identity clusters.

Relation to Supervised Contrastive Learning. Khosla et al. [25] identify two ways to generalize contrastive learning to arbitrary numbers of positives. We adopt the “sum-outside-log” formulation, defined as:

Loutsup=−∑i∈I1∣P(i)∣∑p∈P(i)log⁡exp⁡(ziTzp/τ)∑a∈A(i)exp⁡(ziTza/τ).(24)\mathcal{L}^{\mathrm{sup}}_{\mathrm{out}}=-\sum_{i\in I}\frac{1}{\lvert P(i)\rvert}\sum_{p\in P(i)}\log\frac{\exp\left(z_i^{\mathsf{T}}z_p/\tau\right)}{\sum_{a\in A(i)}\exp\left(z_i^{\mathsf{T}}z_a/\tau\right)}. \tag*{(24)}

where A(i)A(i) is the index set of candidates contrasted against anchor ii, and P(i)={p∈A(i)∣y~p=y~i}P(i)=\{p\in A(i)\mid\tilde{y}_p=\tilde{y}_i\} denotes the set of positives sharing the ground-truth identity label y~\tilde{y} with the anchor.

Query→\rightarrowGallery. Consider a bipartite batch consisting of query embeddings {qi}i=1N\{\mathbf{q}_i\}_{i=1}^{N} and gallery embeddings {gj}j=1N\{\mathbf{g}_j\}_{j=1}^{N}, with N=mnN=mn. In the query→\rightarrowgallery direction, each query qi\mathbf{q}_i serves as an anchor and is compared against all gallery embeddings, which form the contrastive set. Adopting the notation of (24), we set I={1,…,N}I=\{1,\ldots,N\} and A(i)={1,…,N}A(i)=\{1,\ldots,N\} with (zi,za)=(qi,ga)(z_i,z_a)=(\mathbf{q}_i,\mathbf{g}_a). The positive set for anchor ii is P(i)={j∈{1,…,N}∣Yij=1}P(i)=\{j\in\{1,\ldots,N\}\mid Y_{ij}=1\}; by construction ∣P(i)∣=n\lvert P(i)\rvert=n for all ii. Substituting into (24) and averaging over the NN anchors yields

−1Nn∑i=1N∑j:Yij=1log⁡exp⁡(Sij)∑k=1Nexp⁡(Sik),(25)-\frac{1}{Nn}\sum_{i=1}^{N}\sum_{j:Y_{ij}=1}\log\frac{\exp(S_{ij})}{\sum_{k=1}^{N}\exp(S_{ik})}, \tag*{(25)}

which is identical to the query-to-gallery objective Lq→g\mathcal{L}_{q\to g} ((10) of the main paper).

Gallery→\rightarrowQuery. The gallery-to-query term is defined symmetrically by swapping the roles of queries and galleries, yielding the gallery-to-query objective Lg→q\mathcal{L}_{g\to q} ((11) of the main paper); the final objective averages both directions as in Ltotal\mathcal{L}_{\mathrm{total}} (main paper, Sec. 3.2).

Motivation for bipartite normalization

MINER trains on mined batches split into a query set QQ and a gallery set GG, with ∣Q∣=∣G∣=N=mn\lvert Q\rvert=\lvert G\rvert=N=mn and each identity contributing nn images to each side. The bipartite objective Lq→g/Lg→q\mathcal{L}_{q\to g}/\mathcal{L}_{g\to q} of the main paper normalizes each query over galleries and each gallery over queries. To understand the effect of this choice, we compare it to an all-to-all supervised contrastive variant that also includes within-set candidates (query–query and gallery–gallery).

Fix a query anchor index ii with embedding qi=f(qi)\mathbf{q}_i=f(\mathbf{q}_i) and define the all-to-all candidate set

Aall(i)≜{gj}j=1N∪({qk}k=1N∖{qi}),\mathcal{A}^{\mathrm{all}}(i)\triangleq\{\mathbf{g}_j\}_{j=1}^{N}\cup\left(\{\mathbf{q}_k\}_{k=1}^{N}\setminus\{\mathbf{q}_i\}\right),

where gj=f(gj)\mathbf{g}_j=f(\mathbf{g}_j) and qk=f(qk)\mathbf{q}_k=f(\mathbf{q}_k) are embeddings of the gallery and query images G={gj}j=1NG=\{\mathbf{g}_j\}_{j=1}^{N} and Q={qk}k=1NQ=\{\mathbf{q}_k\}_{k=1}^{N}, respectively. Define the all-to-all probability over candidates u∈Aall(i)u\in\mathcal{A}^{\mathrm{all}}(i) by

pi→uall≜exp⁡(qiTu/τ)∑v∈Aall(i)exp⁡(qiTv/τ).(26)p^{\mathrm{all}}_{i\to u}\triangleq\frac{\exp(\mathbf{q}_i^{\mathsf{T}}\mathbf{u}/\tau)}{\sum_{\mathbf{v}\in\mathcal{A}^{\mathrm{all}}(i)}\exp(\mathbf{q}_i^{\mathsf{T}}\mathbf{v}/\tau)}. \tag*{(26)}

Two effects distinguish bipartite from all-to-all normalization; we lead with the one that moves the objective’s optimum rather than merely its scale.

Target-mass dilution (primary). Under bipartite normalization each query distributes unit positive-target mass over its nn cross-set (gallery) positives, so each receives 1/n1/n (Sec. C.1). Under the all-to-all objective the anchor’s positive set additionally includes its (n−1)(n-1) same-identity queries, for a total of Np=2n−1N_p=2n-1 positives, so each cross-set positive now receives only 1/Np1/N_p. The total target mass placed on the retrieval-relevant cross-set positives therefore drops from 11 to

n2n−1→n→∞12.(27)\frac{n}{2n-1}\xrightarrow[n\to\infty]{}\frac{1}{2}. \tag*{(27)}

At MINER’s operating points this is already near the limit: 17/33≈0.5217/33\approx0.52 at the PRCC optimum ⟨5,17⟩\langle5,17\rangle and 4/7≈0.574/7\approx0.57 at the Celeb-L optimum ⟨21,4⟩\langle21,4\rangle. Roughly half of the supervisory target mass is thus diverted to within-set query–query pairs, away from the query–gallery comparisons that retrieval actually evaluates. Unlike a uniform rescaling, this reweighting moves the fixed point of the loss, not merely its magnitude.

Probability-mass shrinkage (secondary). The same within-set candidates also rescale the model’s predicted distribution. Partition the all-to-all denominator into cross-set and within-set terms:

Diq→g≜∑j=1Nexp⁡(qiTgj/τ),D_i^{q\to g}\triangleq\sum_{j=1}^{N}\exp(\mathbf{q}_i^{\mathsf{T}}\mathbf{g}_j/\tau),
Diq→q≜∑k≠iexp⁡(qiTqk/τ).(28)D_i^{q\to q}\triangleq\sum_{k\ne i}\exp(\mathbf{q}_i^{\mathsf{T}}\mathbf{q}_k/\tau). \tag*{(28)}

Then, for any gallery embedding gj\mathbf{g}_j,

pi→gjall=exp⁡(qiTgj/τ)Diq→g+Diq→q=αipijq→g,p^{\mathrm{all}}_{i\to g_j}=\frac{\exp(\mathbf{q}_i^{\mathsf{T}}\mathbf{g}_j/\tau)}{D_i^{q\to g}+D_i^{q\to q}}=\alpha_i p^{q\to g}_{ij},
pijq→g≜exp⁡(qiTgj/τ)Diq→g,p^{q\to g}_{ij}\triangleq\frac{\exp(\mathbf{q}_i^{\mathsf{T}}\mathbf{g}_j/\tau)}{D_i^{q\to g}},
αi≜Diq→gDiq→g+Diq→q<1.(29)\alpha_i\triangleq\frac{D_i^{q\to g}}{D_i^{q\to g}+D_i^{q\to q}}<1. \tag*{(29)}

Adding query–query candidates shrinks all cross-set probabilities by the common factor αi\alpha_i whenever Diq→qD_i^{q\to q} is non-negligible, so the total probability mass allocated to all gallery candidates becomes

∑j=1Npi→gjall=αi,(30)\sum_{j=1}^{N}p^{\mathrm{all}}_{i\to g_j}=\alpha_i, \tag*{(30)}

whereas under bipartite normalization ∑j=1Npijq→g=1\sum_{j=1}^{N}p^{q\to g}_{ij}=1. Taken alone, this is a uniform attenuation of the cross-set gradient—equivalent to a smaller effective step size—and is therefore milder than the target-mass effect above; we include it because it compounds with that effect under the same within-set candidates.

Why the within-set positives are inert. One might expect the (n−1)(n-1) within-set positives to compensate by contributing useful gradient. They do not. Under ℓ2\ell_2-normalization and strong initialization, same-identity query pairs become nearly collinear: for such a pair the tangential component has norm

∥qk−(qiTqk)qi∥2=1−(qiTqk)2,\left\|\mathbf{q}_k-(\mathbf{q}_i^{\mathsf{T}}\mathbf{q}_k)\mathbf{q}_i\right\|_2 =\sqrt{1-(\mathbf{q}_i^{\mathsf{T}}\mathbf{q}_k)^2},
≈0when qiTqk≈1.(31)\approx0\quad\text{when }\mathbf{q}_i^{\mathsf{T}}\mathbf{q}_k\approx1. \tag*{(31)}

To make this precise, we decompose the all-to-all positive gradient into cross-set and within-set contributions. Let Pall(i)⊆Aall(i)\mathcal{P}^{\mathrm{all}}(i)\subseteq\mathcal{A}^{\mathrm{all}}(i) denote the positive set of qi\mathbf{q}_i and let Np≜∣Pall(i)∣N_p\triangleq|\mathcal{P}^{\mathrm{all}}(i)|. Define the per-anchor all-to-all loss

ℓiall≜−1Np∑u∈Pall(i)log⁡pi→uall.\ell_i^{\mathrm{all}}\triangleq-\frac{1}{N_p}\sum_{u\in\mathcal{P}^{\mathrm{all}}(i)}\log p^{\mathrm{all}}_{i\to u}.

Under the MINER sampler (Alg. 1 of the main paper), Pall(i)\mathcal{P}^{\mathrm{all}}(i) contains nn cross-set positives and (n−1)(n-1) within-set positives, hence Np=2n−1N_p=2n-1. For compactness, define the positive index subsets

Pgall(i)≜Pall(i)∩G,Pqall(i)≜Pall(i)∩Q.\mathcal{P}^{\mathrm{all}}_g(i)\triangleq\mathcal{P}^{\mathrm{all}}(i)\cap\mathcal{G},\qquad \mathcal{P}^{\mathrm{all}}_q(i)\triangleq\mathcal{P}^{\mathrm{all}}(i)\cap\mathcal{Q}.

Write qi=q~i/∥q~i∥2\mathbf{q}_i=\tilde{\mathbf{q}}_i/\|\tilde{\mathbf{q}}_i\|_2 and define

ci≜1τ∥q~i∥2,c_i\triangleq\frac{1}{\tau\|\tilde{\mathbf{q}}_i\|_2},
Δijq→g≜gj−(qiTgj)qi,\Delta^{q\to g}_{ij}\triangleq\mathbf{g}_j-(\mathbf{q}_i^{\mathsf{T}}\mathbf{g}_j)\mathbf{q}_i,
Δikq→q≜qk−(qiTqk)qi.\Delta^{q\to q}_{ik}\triangleq\mathbf{q}_k-(\mathbf{q}_i^{\mathsf{T}}\mathbf{q}_k)\mathbf{q}_i.

Then the positive contribution decomposes as

∂ℓiall∂q~i∣pos=ci(∑gj∈Pgall(i)Δijq→g(pi→gjall−1Np)+∑qk∈Pqall(i)Δikq→q(pi→qkall−1Np)).(32)\left.\frac{\partial\ell_i^{\mathrm{all}}}{\partial\tilde{\mathbf{q}}_i}\right|_{\mathrm{pos}} =c_i\left( \sum_{\mathbf{g}_j\in\mathcal{P}^{\mathrm{all}}_g(i)} \Delta^{q\to g}_{ij}\left(p^{\mathrm{all}}_{i\to g_j}-\frac{1}{N_p}\right) + \sum_{\mathbf{q}_k\in\mathcal{P}^{\mathrm{all}}_q(i)} \Delta^{q\to q}_{ik}\left(p^{\mathrm{all}}_{i\to q_k}-\frac{1}{N_p}\right) \right). \tag*{(32)}

When qiTqk≈1\mathbf{q}_i^{\mathsf{T}}\mathbf{q}_k\approx1 (Eq. (31)), ∥Δikq→q∥2≈0\|\Delta^{q\to q}_{ik}\|_2\approx0, so the second sum is negligible and the update direction is dominated by cross-set terms—while these within-set logits still inflate Diq→qD_i^{q\to q} and, through αi\alpha_i (Eq. (29)), drain the magnitude budget available to cross-set terms. The within-set positives thus pay the full dilution cost of both effects above and return almost no gradient in exchange.

What about within-set negatives? A natural objection is that query–query negatives (different-identity query pairs) supply discriminative signal that bipartite normalization discards. In this setting they are redundant: because every identity contributes images to both QQ and GG, the contrast between any two identities is already exercised by cross-set query–gallery negatives in SS. Each off-block entry SijS_{ij} with pid⁡(qi)≠pid⁡(gj)\operatorname{pid}(q_i) \ne\operatorname{pid}(g_j) is exactly such a hard-negative comparison, and the MINER sampler selects identities so that these off-block pairs are maximally confusable. Within-set negatives would re-encode the same identity-separation pressure on a different pairing whose utility is dataset- and regime-dependent, at the cost of the dilution quantified above.

Together, these observations explain why bipartite normalization matches MINER’s retrieval setting: it preserves probability mass and uniform-positive target mass on the cross-set comparisons selected by the MINER sampler (Alg. 1 of the main paper) and evaluated at test time, while discarding within-set pairs that are either inert (positives) or redundant (negatives).

References

  1. [1]Daniel Arkushin, Bar Cohen, Shmuel Peleg, and Ohad Fried. GEFF: Improving any clothes-changing person reid model using gallery enrichment with face features. In 2024 IEEE/CVF Winter Conference on Applications of Computer Vision Workshops (WACVW), pages 1–8, 2024. 2arxiv.org/abs/2211.13807
  2. [2]Jonathan Baxter. A model of inductive bias learning. Journal of artificial intelligence research, 12:149–198, 2000. 5DOI
  3. [3]Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597–1607. PMLR, 2020. 2arxiv.org/abs/2002.05709
  4. [4]Weihua Chen, Xianzhe Xu, Jian Jia, Hao Luo, Yaohua Wang, Fan Wang, Rong Jin, and Xijyu Sun. Beyond appearance: a semantic controllable self-supervised learning framework for human-centric visual tasks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 2arxiv.org/abs/2303.17602
  5. [5]Zhihao Chen, Yiyuan Ge, and Qing Yue. Features reconstruction disentanglement cloth-changing person re-identification. In International Conference on Intelligent Computing, pages 390–403. Springer, 2024. 2arxiv.org/abs/2407.10694
  6. [6]William Gemmell Cochran. Sampling techniques. john wiley & sons, 1977. 4
  7. [7]Raphaël Delécluse, Hazem Wannous, and Laurent Guimas. Icpr 2026 competition on privacy-preserving person re-identification from top-view rgb-depth camera (TVRID). arXiv preprint arXiv:2605.04977, 2026. 2, 6, 7, 14arxiv.org/abs/2605.04977
  8. [8]Janez Demšar. Statistical comparisons of classifiers over multiple data sets. Journal of Machine Learning Research, 7:1–30, 2006. 16
  9. [9]Yongkang Ding, Yuxiang Wang, Yina Jian, Chang Yu, Ke Tian, Zi Ye, and Gaozhe Jiang. FA-ReID: Feature alignment with adversarial learning for cloth-changing person re-identification. Neurocomputing, page 132237, 2025. 2, 7, 8DOI
  10. [10]Yongkang Ding, Yuqing Wu, Chenwei Wu, Meina Qu, and Liyan Zhang. Person parsing-driven and text-guided for cloth-changing person re-identification. IEEE Internet of Things Journal, 2025. 7, 8DOI
  11. [11]Dengpan Fu, Dongdong Chen, Hao Yang, Jianmin Bao, Lu Yuan, Lei Zhang, Houqiang Li, Fang Wen, and Dong Chen. Large-scale pre-training for person re-identification with noisy labels. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 4975–4985, 2022. 2arxiv.org/abs/2203.16533
  12. [12]Hongyang Gu, Qisong Yang, Lei Pu, Siming Han, and Yao Ding. ReIDMamba: Learning discriminative features with visual state space model for person re-identification. arXiv:2511.07948, 2025. 2arxiv.org/abs/2511.07948
  13. [13]Xinqian Gu, Hong Chang, Bingpeng Ma, Shutao Bai, Shiguang Shan, and Xilin Chen. Clothes-changing person re-identification with rgb modality only. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 1060–1069, 2022. 2, 7, 8arxiv.org/abs/2204.06890
  14. [14]Peini Guo, Hong Liu, Jianbing Wu, Guoqiang Wang, and Tao Wang. Semantic-aware consistency network for cloth-changing person re-identification. In Proceedings of the 31st ACM international conference on multimedia, pages 8730–8739, 2023. 2, 8arxiv.org/abs/2308.14113
  15. [15]Chengrui Hao, Boyu Wang, Chunlei Peng, Decheng Liu, Nannan Wang, Ruimin Hu, and Xinbo Gao. Masked text ad-versarial training for cloth-changing person re-identification. IEEE Transactions on Information Forensics and Security, 2025. 7, 8
  16. [16]Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9729–9738, 2020. 2arxiv.org/abs/1911.05722
  17. [17]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, pages 15013–15022, 2021. 2, 7
  18. [18]Alexander Hermans, Lucas Beyer, and Bastian Leibe. In defence of the triplet loss for person re-identification. In arXiv:1703.07737, 2017. 2arxiv.org/abs/1703.07737
  19. [19]Peixian Hong, Tao Wu, Ancong Wu, Yipeng Liu, and Wei-Shi Zheng. Fine-grained shape-appearance mutual learning for cloth-changing person re-identification. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10513–10522, 2021. 2DOI
  20. [20]Yan Huang, Qiang Wu, JingSong Xu, Yi Zhong, and ZhaoXiang Zhang. Clothing status awareness for long-term person re-identification. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 11895–11904, 2021. 6DOI
  21. [21]Kongzhu Jiang, Tianzhu Zhang, Xiang Liu, Bingqiao Qian, Yongdong Zhang, and Feng Wu. Cross-modality transformer for visible-infrared person re-identification. In European Conference on Computer Vision, 2022. 2DOI
  22. [22]Xin Jin, Tianyu He, Kecheng Zheng, Zhiheng Yin, Xu Shen, Zhen Huang, Ruoyu Feng, Jianqiang Huang, Zhibo Chen, and Xian-Sheng Hua. Cloth-changing person re-identification from a single image with gait prediction and regularization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14278–14287, 2022. 2arxiv.org/abs/2103.15537
  23. [23]Padmaja Jomalonagda and Bir Bhanu. Novel unified body-based biometric for clothing invariant human recognition. IEEE Transactions on Biometrics, Behavior, and Identity Science, 2025. 7, 8
  24. [24]Arthur Josi, Mahdi Alehdaghi, Rafael MO Cruz, and Eric Granger. Multimodal data augmentation for visual-infrared person reid with corrupted data. In Proceedings of the IEEE/CVF winter conference on applications of computer vision, pages 32–41, 2023. 2arxiv.org/abs/2211.11925
  25. [25]Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised contrastive learning. Advances in neural information processing systems, 33:18661–18673, 2020. 4, 19arxiv.org/abs/2004.11362
  26. [26]Dong-Woo Kim and Tae-Kyun Kim. Learning instance-adaptive low-rank orthogonal subspaces for clothes-changing person re-identification. arXiv preprint arXiv:2606.11661, 2026. 7, 8arxiv.org/abs/2606.11661
  27. [27]Inès Hyeonsu Kim, JoungBin Lee, Soowon Son, Woojeong Jin, Kyusun Cho, Junyoung Seo, Min-Seop Kwak, Seokju Cho, JeongYeol Baek, Byeongwon Lee, and Seungryong Kim. Pose-diversified augmentation with diffusion model for person re-identification. arXiv preprint arXiv:2406.16042, 2024. 2arxiv.org/abs/2406.16042
  28. [28]Siyuan Li, Li Sun, and Qingli Li. CLIP-ReID: exploiting vision-language model for image re-identification without concrete text labels. In Proceedings of the AAAI conference on artificial intelligence, pages 1405–1413, 2023. 2, 7
  29. [29]Shuang Li, Jiaxu Leng, Guozhang Li, Ji Gan, Haosheng Chen, and Xinbo Gao. Clip-driven cloth-agnostic feature learning for cloth-changing person re-identification, 2024. 2, 7, 8arxiv.org/abs/2406.09198
  30. [30]Xin Liang and Yogesh S. Rawat. DIFFER: Disentangling identity features via semantic cues for clothes-changing person Re-ID. 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13980–13989, 2025. 2, 7, 8, 13
  31. [31]Feng Liu, Minchul Kim, Zhiyuan Ren, and Xiaoming Liu. Distilling clip with dual guidance for learning discriminative human body shape representation. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 256–266. IEEE, 2024. 7, 8DOI
  32. [32]Fangyi Liu, Mang Ye, and Bo Du. Cloth-aware augmentation for cloth-generalized person re-identification. In Proceedings of the 32nd ACM International Conference on Multimedia, pages 4053–4062, 2024. 2DOI
  33. [33]Hankun Liu, Yujian Zhao, and Guangling Niu. Try harder: Hard sample generation and learning for cloth-changing person re-id. In Proceedings of the 33rd ACM International Conference on Multimedia, pages 1704–1713, 2025. 2DOI
  34. [34]Xiangzeng Liu, Kunpeng Liu, Jianfeng Guo, Peipei Zhao, Yining Quan, and Qiguang Miao. Pose-guided attention learning for cloth-changing person re-identification. Trans. Multi., 26:5490–5498, 2024. 2DOI
  35. [35]Hao Luo, Youzhi Gu, Xingyu Liao, Shengqi Lai, and Wei Jiang. Bag of tricks and a strong baseline for deep person re-identification. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1487–1495, 2019. 2arxiv.org/abs/1903.07071
  36. [36]Andreas Maurer, Massimiliano Pontil, and Bernardino Romera-Paredes. The benefit of multitask representation learning. Journal of Machine Learning Research, 17(81):1–32, 2016. 5arxiv.org/abs/1505.06279
  37. [37]Sam McCandlish, Jared Kaplan, Dario Amodei, and OpenAI Data Team. An empirical model of large-batch training, 2018. 5, 6, 18arxiv.org/abs/1812.06162
  38. [38]Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. 2arxiv.org/abs/1807.03748
  39. [39]Kazuki Osamura, Hidetsugu Uchida, Shijie Nie, and Narshige Abe. Multi-masked prompt learning for clothing-change person re-identification. In 2024 IEEE International Joint Conference on Biometrics (IJCB), pages 1–8. IEEE, 2024. 2DOI
  40. [40]Priyank Pathak and Yogesh S Rawat. Colors see colors ignore: Clothes changing reid with color disentanglement. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 16797–16807, 2025. 7, 8arxiv.org/abs/2507.07230
  41. [41]Chunlei Peng, Boyu Wang, Decheng Liu, Nannan Wang, Ruimin Hu, and Xinbo Gao. Masked attribute description embedding for cloth-changing person re-identification. IEEE Transactions on Multimedia, 2024. 2, 7, 8arxiv.org/abs/2401.05646
  42. [42]Xuelin Qian, Wenxuan Wang, Li Zhang, Fangrui Zhu, Yanwei Fu, Tao Xiang, Yu-Gang Jiang, and Xiangyang Xue. Long-term cloth-changing person re-identification. In Asian Conference on Computer Vision, 2020. 6arxiv.org/abs/2005.12633
  43. [43]Liuxiang Qiu, Si Chen, Yan Yan, Jing-Hao Xue, Da-Han Wang, and Shunzhi Zhu. High-order structure based middle-feature learning for visible-infrared person re-identification. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 4596–4604, 2024. 2arxiv.org/abs/2312.07853
  44. [44]Liuxiang Qiu, Si Chen, Jing-Hao Xue, Da-Han Wang, Shunzhi Zhu, and Yan Yan. HOH-net: High-order hierarchical middle-feature learning network for visible-infrared person re-identification. IEEE Transactions on Circuits and Systems for Video Technology, 2025. 2DOI
  45. [45]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, 3, 12arxiv.org/abs/2103.00020
  46. [46]Xuena Ren, Dongming Zhang, and Xiuguo Bao. Person re-identification with a cloth-changing aware transformer. In 2022 International Joint Conference on Neural Networks (IJCNN), pages 1–8, 2022. 2DOI
  47. [47]Leonard J. Savage. The theory of statistical decision. Journal of the American Statistical Association, 46(253):55–67, 1951. 6, 16
  48. [48]Shayle R Searle, George Casella, and Charles E McCulloch. Variance components. John Wiley & Sons, 2009. 4
  49. [49]Hao Sheng, Yanwei Zheng, Wei Ke, Dongxiao Yu, Xiuzhen Cheng, Weifeng Lyu, and Zhang Xiong. Mining hard samples globally and efficiently for person reidentification. IEEE Internet of Things Journal, 7(10):9611–9622, 2020. 2DOI
  50. [50]Wei Shi, Hong Liu, and Mengyuan Liu. Identity-relevance aware representation for cloth-changing person re-identification. Image and Vision Computing, 117:104335, 2022. 2DOI
  51. [51]Xiu​​jun Shu, Ge Li, Xiao Wang, Weijian Ruan, and Qi Tian. Semantic-guided pixel sampling for cloth-changing person re-identification. IEEE Signal Processing Letters, 28(8):1365–1369, 2021. 2DOI
  52. [52]XiuJun Shu, Xiao Wang, Xianghao Zhang, Shiliang Zhang, Yuanqi Chen, Ge Li, and Qi Tian. Large-scale spatio-temporal person re-identification: Algorithms and benchmark. IEEE Transactions on Circuits and Systems for Video Technology, 32(7):4390–4403, 2021. 6, 7, 8arxiv.org/abs/2105.15076
  53. [53]Evgeny Smirnov, Aleksandr Melnikov, Andrei Oleinik, Elizaveta Ivanova, Ilya Kalinovskiy, and Eugene Luckyanets. Hard example mining with auxiliary embeddings. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 37–46, 2018. 2DOI
  54. [54]Yumin Suh, Bohyung Han, Wonsik Kim, and Kyoung Mu Lee. Stochastic class-based hard example mining for deep metric learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7251–7259, 2019. 7DOI
  55. [55]Quan Sun, Yuxin Fang, Ledell Wu, Xinlong Wang, and Yue Cao. Eva-clip: Improved training techniques for clip at scale. arXiv preprint arXiv:2303.15389, 2023. 7arxiv.org/abs/2303.15389
  56. [56]Yifan Sun, Liang Zheng, Weijian Deng, Shengjin Wang, and Qi Tian. Beyond part models: Person retrieval with refined part pooling (and a strong convolutional baseline). In The European Conference on Computer Vision (ECCV), page 480–496, 2018. 2arxiv.org/abs/1711.09349
  57. [57]Fangbin Wan, Yang Wu, Xuelin Qian, Yixiong Chen, and Yanwei Fu. When person re-identification meets changing clothes. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 830–831, 2020. 2, 6arxiv.org/abs/2003.04070
  58. [58]Xinshao Wang, Yang Hua, Elyor Kodirov, Guosheng Hu, and Neil M. Robertson. Deep metric learning by online soft mining and class-aware attention. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01):5361–5368, 2019. 7arxiv.org/abs/1811.01459
  59. [59]Yubin Wang, Huimin Yu, Yuming Yan, and Yichong Lu. Learning discriminative features with multiple granularities for person re-identification. In Proceedings of the 2018 ACM on Multimedia Conference (MM ’18), page 274–282, 2018. 2DOI
  60. [60]Yubin Wang, Huimin Yu, Yuming Yan, Shuiy Song, Biyang Liu, and Yichong Lu. Exploring shape embedding for cloth-changing person re-identification via 2d-3d correspondences. In Proceedings of the 31st ACM International Conference on Multimedia, pages 7121–7130, 2023. 2DOI
  61. [61]Peng Xu and Xiatian Zhu. Deepchange: A long-term person re-identification benchmark with clothes change. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 11196–11205, 2023. 6
  62. [62]Cheng Yan, Guansong Pang, Xiao Bai, Changhong Liu, Xin Ning, Lin Gu, and Jun Zhou. Beyond triplet loss: person re-identification with fine-grained difference-aware pairwise loss. IEEE Transactions on Multimedia, 24:1665–1677, 2021. 2arxiv.org/abs/2009.10295
  63. [63]Qize Yang, Ancong Wu, and Wei-Shi Zheng. Person re-identification by contour sketch under moderate clothing change. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(6):2029–2046, 2021. 2, 6DOI
  64. [64]Zhengwei Yang, Xian Zhong, Zhun Zhong, Hong Liu, Zheng Wang, and Shin’Ichi Satoh. Win-win by competition: Auxiliary-free cloth-changing person re-identification. IEEE Transactions on Image Processing, 32:2985–2999, 2023. 2, 7, 8DOI
  65. [65]Zhengwei Yang, Xian Zhong, Zhun Zhong, Hong Liu, Zheng Wang, and Shin’ichi Satoh. Good is bad: Causality inspired cloth-debiasing for cloth-changing person re-identification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1472–1481, 2023. 2DOI
  66. [66]Mang Ye, Shuovi Chen, Chenyue Li, Wei-Shi Zheng, David Crandall, and Bo Du. Transformer for object re-identification: A survey. International Journal of Computer Vision, 133(5):2410–2440, 2025. 2arxiv.org/abs/2401.06960
  67. [67]Qingze Yin, Guodong Ding, Tongpo Zhang, and Yumei Gong. Robust fine-grained learning for cloth-changing person re-identification. Mathematics, 13(3):429, 2025. 7, 8DOI
  68. [68]Chenyang Yu, Xuehu Liu, Ju Dai, Pingping Zhang, and Huchuan Lu. Hierarchical proxy learning for cloth-changing person re-identification. In ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5, 2025. 7, 8DOI
  69. [69]Rui Yu, Zhiyong Dou, Song Bai, Zhaoxiang Zhang, Yongchao Xu, and Xiang Bai. Hard-haware point-to-set deep metric for person re-identification. In Proceedings of the European conference on computer vision (ECCV), pages 188–204, 2018. 2arxiv.org/abs/1807.11206
  70. [70]Zhengxu Yu, Yilun Zhao, Bin Hong, Zhongming Jin, Jianqiang Huang, Deng Cai, and Xian-Sheng Hua. Apparel-invariant feature learning for person re-identification. IEEE Transactions on Multimedia, 24:4482–4492, 2021. 2DOI
  71. [71]Guoqing Zhang, Jie Liu, Yuhao Chen, Yuhui Zheng, and Hongwei Zhang. Multi-biometric unified network for cloth-changing person re-identification. IEEE Transactions on Image Processing, 32:4555–4566, 2023. 2, 7, 8
  72. [72]Liang Zheng, Liyue Shen, Lu Tian, Shengjin Wang, Jingdong Wang, and Qi Tian. Scalable person re-identification: A benchmark. In International Conference on Computer Vision (ICCV), page 1116–1124, 2015. 2DOI
  73. [73]Liang Zheng, Hengheng Zhang, Shaoyan Sun, Manmohan Chandraker, Yi Yang, and Qi Tian. Person re-identification in the wild. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1367–1376, 2017. 2arxiv.org/abs/1604.02531
  74. [74]Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Learning to prompt for vision-language models. International Journal of Computer Vision, 130(9):2337–2348, 2022. 2DOI
  75. [75]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. 2arxiv.org/abs/2303.18247

Paper details

vlnc:W_zaesmsc8
Published
Added
License
CC BY-SA 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents