LENS: Likelihood Evaluation and Neighbor Smoothing for Attribute-Based Person Retrieval on Unseen Cameras
Organizations: AI VIET NAM · Ho Chi Minh City University of Technology and Engineering · University of Information Technology, VNU-HCM · University of Science, VNU-HCM
Abstract
Attribute-based person retrieval ranks surveillance images from a binary query of semantic attributes, but mean Average Attribute Degree of Match (mADM) drops on unseen cameras as predicted probabilities shift. Common pipelines rank gallery images by their L1 distance to the query, which penalizes a confident single-attribute mismatch no more than small uncertainties across many attributes, while post-hoc recalibration fitted on source validation data fails to transfer because the per-attribute maps fitted on source data do not match those of new cameras. We propose LENS (Likelihood Evaluation and Neighbor Smoothing), combining fine-tuned DINOv3 and CLIP models with a distilled student. LENS regularizes mutually exclusive attribute groups with group cross-entropy in training, scores gallery images by the log-likelihood of the exact query, and smooths gallery logits over nearest neighbors using DINOv3 appearance features from the same forward pass. On held-out datasets, all three changes raise mADM: the likelihood score improves all six retrieval metrics for the main ensemble and mADM for all 48 development models, and training-free kNN smoothing improves all 46 tested development models. On the hidden test set of the UPAR 2027 benchmark, LENS reaches 68.17 mADM.
Figures & tables
| Fold | Score | mADM | mAP | mINP | R-1 | R-5 | R-10 |
|---|---|---|---|---|---|---|---|
| PETA | L1 distance [ 36 ] | 62.88 | 24.03 | 18.67 | 21.75 | 39.59 | 47.22 |
| likelihood ( 5 ) | 69.91 | 35.51 | 29.08 | 31.57 | 54.68 | 63.07 | |
| likelihood † | 69.84 | 35.38 | 28.99 | 31.59 | 54.17 | 63.30 | |
| group-softmax † | 68.62 | 35.47 | 28.77 | 32.10 | 54.34 | 63.41 | |
| Market | L1 distance [ 36 ] | 69.29 | 25.08 | 8.97 | 32.53 | 51.46 | 58.00 |
| likelihood ( 5 ) | 74.90 | 34.39 | 16.84 | 37.97 | 61.30 | 70.87 |
| PETA | Market | |
| NLL on the held-out dataset (nat/image) | 6.20 | 5.26 |
| NLL on source datasets (nat/image) | 4.48 | 4.28 |
| Calibration term, held-out dataset | 1.11 | 1.01 |
| Calibration term, source datasets | 0.80 | 1.06 |
| mADM, no recalibration | 69.53 | 74.66 |
| mADM, oracle recalibration | 71.95 | 76.26 |
| Model | PETA | Market | Mean |
|---|---|---|---|
| DINOv3 | 66.36 | 73.87 | 70.12 |
| DINOv3, two fine-tuned copies | 66.69 | 74.00 | 70.34 |
| CLIP | 65.81 | 71.72 | 68.76 |
| CLIP + text score | 67.17 | 72.32 | 69.74 |
| CLIP + text score + WiSE-FT | 67.38 | 71.98 | 69.68 |
| DINOv3 + CLIP | 68.92 | 74.46 | 71.69 |
| DINOv3 + CLIP ensemble | PETA | Market | Mean |
| Likelihood score | 69.84 | 74.59 | 72.22 |
| + kNN smoothing | 70.23 | 75.31 | 72.77 |
| + group CE | 70.89 | 75.28 | 73.08 |
| + group CE + kNN smoothing (final) | 71.03 | 75.66 | 73.35 |
| kNN with pretrained DINOv3 | 71.00 | 75.52 | 73.26 |
| row 4 + query expansion | 70.99 | 75.94 | 73.47 |
| Neighbor feature | , | PETA | Market | PA100k |
|---|---|---|---|---|
| no smoothing (mADM) | 68.45 | 78.14 | 73.86 | |
| DINOv3, mean patch token | 3, 0.25 | 0.03 | +0.67 | +0.52 |
| DINOv3, mean patch token | 10, 0.25 | +0.56 | +0.86 | +0.67 |
| DINOv3, mean patch token | 20, 0.25 | +0.64 | +0.86 | +0.65 |
| DINOv3, mean patch token | 50, 0.25 | +0.60 | +0.85 | +0.70 |
| DINOv3, mean patch token | 50, 0.2 | +0.70 | +0.69 | +0.66 |
| Final model | mADM |
|---|---|
| DINOv3 ViT-B/16 student | 63.65 |
| DINOv3 + CLIP + DINOv3 ViT-L/16 student | 67.22 |
| + text score, WiSE-FT, kNN smoothing | 67.83 |
| + group CE for DINOv3 and CLIP | 68.17 |
Person Re-Identification
Person re-identification matches the same individual across camera views, times, clothing, and sensing modalities despite changes in appearance.
See all 92 papers