LAMP: Language-Modulated Geometric Preservation for Multi-Modal Object Re-Identification

Shuying Li, Chao Su, Yongxiang Li, Peng Hu, Dezhong Peng, Yuan SunNeurIPS 2026

TL;DR

Recognizing the same person or vehicle across cameras in all weather requires combining visible, near-infrared, and thermal sensors—a puzzle that breaks down when darkness or glare corrupts one of the feeds. LAMP solves this by using natural language descriptions as an active "control tower" to dynamically weight reliable visual sensors, while using optimal transport math to preserve the relational geometry between identities rather than forcing noisy pixels into the exact same spot.

What Problem Does This Paper Address?

Object Re-Identification (ReID) is the task of spotting the same person or vehicle across non-overlapping cameras. Standard RGB cameras work great at noon, but fail miserably in pitch darkness, blinding glare, or heavy fog. To achieve "all-weather" perception, multi-modal ReID brings in backup: Near-Infrared (NIR) and Thermal Infrared (TIR) sensors.

However, combining heterogeneous sensors introduces two sticky problems:

  1. The Fusion Dilemma: Sensor quality changes wildly from sample to sample. Static fusion treats a pitch-black RGB image and a crisp thermal image equally, dragging down performance. Recent dynamic approaches let visual features "self-evaluate" their own quality, which is a bit like asking a concussed player if they are ready to go back in the game—corrupted visual inputs make terrible judges of their own reliability.
  2. Rigid Alignment: Because RGB and thermal images live in very different mathematical spaces, models try to align them. Most use strict point-wise alignment, forcing the RGB and thermal embeddings of "Person A" to occupy the exact same coordinate. If one modality is severely degraded, forcing an overlap pollutes the clean features and crushes the delicate neighborhood relationships between different identities.
Figure 1: Motivation of LAMP. Panels a and b illustrate unreliable contribution allocation under varying modality quality and the risk of distorted identity relations under point-wise matching. Panel c presents language-modulated routing and FGW-based prototype alignment.

Methods

LAMP (Language-Modulated Geometric Preservation) builds on a pre-trained CLIP backbone (frozen text encoder, fine-tuned visual encoder) and introduces three main components:

  • Semantic-Assisted Feature Encoder (SAFE): Before fusing anything, local visual image patches use cross-attention to query word tokens from modality-specific text captions (e.g., "wearing a red plaid shirt"). This highlights local appearance cues and filters out background clutter early on.
  • Language-Modulated Dynamic Routing (LMDR): Instead of letting language sit passively on the sidelines, LMDR uses it as an explicit gating controller. After visual tokens share cross-modal context, LMDR combines the text embeddings into a single "controller query." Using dot-product attention between this stable semantic query and each visual modality, it generates sample-adaptive weights ($\alpha, \beta, \gamma$) to dial up clear sensors and mute noisy ones before concatenating them.
  • Fused Geometric Prototype Alignment (FGPA): Rather than forcing individual noisy points together, FGPA aligns the overall constellation of identity classes across modalities. Using entropic Fused Gromov-Wasserstein (FGW) optimal transport—a mathematical tool for comparing distributions that live in different metric spaces—FGPA aligns class prototypes (average representations of each identity). It minimizes both absolute feature distances and intra-modality structural distances (how far Identity A is from Identity B within the same sensor), anchored by exponential moving average (EMA) visual buffers and text prototypes.
Figure 2: The pipeline of the proposed LAMP. First, the Semantic-Assisted Feature Encoder (SAFE) obtains discriminative representations by integrating textual clues into visual local features. Next, the Language-Modulated Dynamic Routing (LMDR) treats text as a query to generate dynamic routing weights, allowing the model to adaptively balance contributions from RGB, NIR, and TIR modalities based on semantic context. Additionally, the Fused Geometric Prototype Alignment (FGPA) module constrains the model by minimizing the structural discrepancy between cross-modal prototypes via optimal transport, aiming for geometry-consistent alignment.

These novel modules are trained alongside standard ReID losses (label-smoothed ID classification and hard-mining triplet loss) plus an InfoNCE contrastive prototype loss.

Datasets

No new datasets are introduced, though the authors rely on recently established text-augmented versions of three standard tri-modal (RGB, NIR, TIR) benchmarks, using captions from prior work (IDEA):

  • RGBNT201: A person ReID dataset with 4,787 image triplets across 201 identities, paired with 14,361 fine-grained text descriptions.
  • RGBNT100: A large-scale vehicle ReID dataset featuring 17,250 image triplets and 51,750 captions characterizing 6 vehicle attributes.
  • MSVR310: A smaller, challenging vehicle dataset with 2,087 triplets and 6,261 captions designed to test robustness on rigid objects across varied viewpoints.

Key Insights and Ideas

  • Language as an active router, not just a feature enhancer: Visual signals degrade under bad weather, while text descriptions capture invariant semantic attributes. Using text to govern fusion decisions bypasses the trap of corrupted visual self-evaluation.
  • You don't actually need text at deployment: In a clever ablation, the authors trained LAMP with text captions, then ripped the text away during inference. Performance barely budged (dropping from 84.2% to 83.5% mAP on RGBNT201, still beating the purely visual version at 78.5%). The visual backbone and routing module effectively internalize the semantic priors during training.
  • Align the constellations, not just the stars: Matching relational structures (inter-class margins) via FGW optimal transport prevents noisy sensors from distorting clean ones, preserving fine-grained details unique to each spectrum.

Key Results

LAMP achieves state-of-the-art performance across all three benchmarks:

  • RGBNT201 (Person): Hits 84.2% mAP and 87.6% Rank-1, beating the previous text-guided baseline (IDEA, which uses the exact same captions) by +4.0% mAP and +5.5% Rank-1.
  • RGBNT100 & MSVR310 (Vehicle): Reaches 89.4% mAP / 98.7% Rank-1 on RGBNT100, and 59.5% mAP / 74.6% Rank-1 on MSVR310 (surpassing recent competitors like Signal by +5.9% mAP).
  • Missing Modalities: When evaluated on RGBNT100 with entire sensor feeds dropped out (e.g., missing RGB and NIR simultaneously), LAMP averages 75.0% mAP, outperforming the dynamic baseline DeMo by +6.3% mAP without any specialized image-reconstruction tricks.

Limitations and Future Work

Not discussed in the paper. (Note: While the authors do not include a dedicated limitations section, one practical consideration evident from the setup is that training LAMP requires modality-specific textual annotations for every image triplet—even if the model can operate without them at test time.)

Summary updated

Abstract

Multi-modal object Re-Identification (ReID) aims to achieve robust all-weather perception by leveraging complementary information across heterogeneous modalities. However, existing methods still suffer from limitations in both feature fusion and feature alignment. In terms of feature fusion, most approaches assume equal importance across modalities and do not explicitly account for the quality differences among modalities in dynamic environments. As a result, the fused representations tend to be suboptimal and less discriminative in complex scenarios. In terms of feature alignment, existing methods typically rely on point-wise feature matching while ignoring relational structures among samples, which suppresses discriminative information and introduces cross-modal inconsistencies. To address these limitations, we propose LAMP, a unified framework that rethinks multi-modal interaction through language-modulated control and geometry-consistent alignment. We first adopt a Semantic-Assisted Feature Encoder (SAFE), which incorporates textual semantics into visual features to enhance local discriminative cues and provide more informative representations for subsequent processing. Building upon this, the Language-Modulated Dynamic Routing (LMDR) module generates modality-aware gating signals prior to feature fusion, enabling the adaptive adjustment of modality weights under challenging conditions. Furthermore, to address cross-modal inconsistencies, we introduce a Fused Geometric Prototype Alignment (FGPA) objective based on Fused Gromov-Wasserstein (FGW) optimal transport. Instead of enforcing strict point-wise alignment, FGPA establishes cross-modal consensus at the identity-level relational geometry, thereby preserving discriminative structures while mitigating inconsistencies across modalities. LMDR improves the stability of multi-modal fusion, while FGPA enhances structural consistency in cross-modal alignment. Together, they improve the discriminative capability of the model. Extensive experiments on three multi-modal object ReID benchmarks demonstrate the effectiveness of our method.
BibTeX
@inproceedings{li2026lamp,
  author = {Shuying Li and Chao Su and Yongxiang Li and Peng Hu and Dezhong Peng and Yuan Sun},
  title = {{LAMP: Language-Modulated Geometric Preservation for Multi-Modal Object Re-Identification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=XYqPOytEb5},
}
Figure