TL;DR
Finding a specific person in a massive camera gallery using only a short text description is notoriously error-prone because models usually judge each candidate photo in complete isolation. This paper introduces RIVA, a plug-and-play reranking framework that teaches a Multimodal Large Language Model (MLLM) to group photos of the same person together first, using those visual connections as rich context to nail the final text-to-image match. It boosts accuracy across the board while actually making MLLM-based reranking faster.
What Problem Does This Paper Address?
Imagine searching a security camera database for "a man in a blue shirt and dirty jeans carrying something in his right hand." This task is called Text-to-Image Person Re-Identification (TIReID). The fundamental headache here is the "semantic gap": text descriptions are sparse and high-level, while images are packed with fine-grained, low-level visual details (lighting, angles, subtle clothing textures).
Almost all existing TIReID methods—even those that do a second-pass "reranking"—suffer from tunnel vision. They score each gallery image against the text query one by one, completely independently. Yet in reality, your top-20 search results usually contain multiple snapshots of the exact same pedestrian from consecutive video frames or nearby cameras. Ignoring how these candidate images relate to each other leaves crucial visual evidence on the table. Meanwhile, you can't just dump 20 high-res images into a standard MLLM and ask it to sort them out; MLLM reasoning degrades rapidly as the number of input images grows.
Methods
Instead of reinventing the base retrieval model, the authors propose RIVA (Reranking with Intra-modal Visual Association), a local-to-global pipeline that sits on top of standard vision-language retrievers to reorder their top-$K$ ($K=20$) candidates. RIVA splits the job into two parts:
- Short-lIst Visual Association (SIVA): Because MLLMs choke on long image lists, SIVA fine-tunes Qwen2.5-VL-7B to inspect just $L=3$ images at a time. What’s novel is how it's trained:
- Dual-Task Instructions: Task-1 gives the model 3 similar images (no text) and asks which ones show the same person. Task-2 adds the text query, prompting the model to group identities first and then pick the group matching the text.
- Three-Stage Curriculum: It warms up on synthetic data (50/50 split of Task-1 and Task-2), adapts to real human-annotated data (1:10 ratio), and finishes on hard negatives focusing purely on text-image matching (0:1 ratio).
- Long-List Visual Association: To scale SIVA's 3-image limit up to 20 candidates efficiently:
- Anchor Selection: SIVA checks the top-3 initial results to pick a trustworthy "anchor" image (skipping the MLLM call entirely if the base model's top similarity score is already $\ge 0.60$).
- Clustering & Checking: Standard DBSCAN clusters all 20 candidates in visual feature space. RIVA isolates only the cluster containing the anchor image and runs SIVA across it in 3-image batches to verify true matches.
- Score Calibration: Verified images get a similarity boost scaled by a confidence score—measured as the agreement ratio between DBSCAN's cluster and SIVA's verification.
Datasets
No new datasets are introduced. The authors train and evaluate on established TIReID benchmarks:
- HAM-PEDES: A large-scale synthetic dataset used to warm up SIVA in Stage 1 (~1M short lists).
- CUHK-PEDES, ICFG-PEDES, and RSTPReid: Three standard human-annotated benchmarks used for Stage 2 and Stage 3 training, as well as primary and cross-dataset evaluations.
- UFine6926: Used alongside CUHK-PEDES to benchmark inference throughput and latency.
Key Insights and Ideas
- Off-the-shelf MLLMs fail at fine-grained ReID: Plugging raw Qwen2.5-VL directly into the pipeline actually hurts performance—dropping Rank-1 accuracy on CUHK-PEDES from 77.63% down to 72.61%. General-purpose MLLMs aren't natively tuned to spot subtle identity cues across pedestrians wearing similar outfits.
- Learn who is the same before what they wear: Forcing the MLLM to solve pure image-to-image identity grouping early in training builds a visual foundation that sparse text labels alone cannot provide. Once learned, shifting the curriculum toward text-matching locks in the gains.
- Selective cluster checking saves compute: By clustering all 20 candidates cheaply in feature space and only deploying the heavy MLLM to audit the single "anchor cluster," RIVA avoids wasting LLM calls on irrelevant distractors.
Key Results
RIVA acts as a rising tide for multiple state-of-the-art base models (IRRA, RDE, HAM, and ICL):
- Big jumps in retrieval quality: Applied to HAM, RIVA boosts Rank-1 accuracy to 79.84% (+2.21%) on CUHK-PEDES, 70.36% (+2.82%) on ICFG-PEDES, and 74.05% (+2.75%) on RSTPReid. Because clustering pulls up matching images buried lower in the top-20 list, mAP jumps dramatically—up by 6.78%, 4.30%, and 5.89% on those three benchmarks, respectively.
- Strong cross-domain generalization: Training on ICFG-PEDES and testing zero-shot on RSTPReid improves HAM's Rank-1 by 5.25% and mAP by 7.73%.
- Faster than prior MLLM rerankers: Compared to the existing MLLM-based reranker THI on dual RTX 3090s, RIVA cuts MLLM calls per query nearly in half on CUHK-PEDES (2.19 vs. 4.24), reducing wall-clock time by 30.8% and delivering 1.445$\times$ higher query throughput.
Limitations and Future Work
While RIVA is noticeably faster than competing MLLM rerankers, it still relies on a 7-billion-parameter model during test time. Compared to simple vector-similarity search, this introduces extra inference latency—processing roughly 5 to 7 queries per second on two RTX 3090 GPUs—making it best suited for server-side deployments with moderate query loads rather than ultra-low-latency edge devices. The authors leave the exploration of lighter, faster inference strategies for future work.
Summary updated