STMI: Segmentation-Guided Token Modulation with Cross-Modal Hypergraph Interaction for Multi-Modal Object Re-Identification

Xingguo Xu, Zhanyu Liu, Weixiang Zhou, Yuansheng Gao, Junjie Cao, Yuhao Wang, Jixiang Luo, Dell Zhang

TL;DR

This paper introduces STMI, a novel framework for multi-modal object re-identification that tackles the challenges of background noise and information loss in existing methods. By leveraging segmentation masks to guide feature modulation, employing learnable queries for compact token representation, and using hypergraphs for cross-modal interaction, STMI achieves state-of-the-art performance.

What Problem Does This Paper Address?

Multi-modal object Re-Identification (ReID) aims to identify the same object across different visual modalities (e.g., RGB, Near-Infrared, Thermal Infrared). This is crucial for applications like surveillance and autonomous driving, especially in challenging conditions where one modality might fail. However, existing methods often struggle with two main issues:

  1. Background Interference and Information Loss: Many approaches rely on "hard token filtering" or simple fusion strategies. This can lead to discarding potentially useful information from object regions or including noisy background features, ultimately hindering performance.
  2. Limited Cross-Modal Interaction: Effectively fusing information from different modalities to capture complex, high-order semantic relationships remains a challenge. Simple fusion methods often fail to exploit the full complementary nature of these modalities.

Methods

STMI proposes a three-pronged approach to address these limitations:

  1. Segmentation-Guided Feature Modulation (SFM): This module uses masks generated by powerful segmentation models (like SAM) to guide the attention mechanism. It learns to enhance features from foreground regions (the object of interest) while suppressing background noise. This is achieved through learnable modulation parameters that adaptively reweight token features. A key aspect is a mask perturbation mechanism during training to improve robustness.
  2. Semantic Token Reallocation (STR): Instead of discarding tokens, this module refines them. It introduces learnable query tokens that interact with the image patch tokens via a cross-attention mechanism. This allows for the extraction of compact and informative semantic representations without losing fine-grained visual details. A shared global text feature is also incorporated to provide a semantic prior.
  3. Cross-Modal Hypergraph Interaction (CHI): This module models high-order semantic relationships across modalities. It constructs a unified hypergraph where tokens from different modalities are nodes. Hyperedges are dynamically formed based on semantic similarity, allowing the model to capture complex inter-modal dependencies and propagate information effectively. This is followed by a cross-attention mechanism that uses global image features to selectively aggregate information from the hypergraph's output.

Datasets

The paper evaluates STMI on three public multi-modal ReID datasets:

  • RGBNT201: A benchmark for multi-spectral vehicle ReID.
  • RGBNT100: Another dataset for multi-spectral vehicle ReID.
  • MSVR310: A dataset for multi-modal person ReID.

The authors also mention using GPT-4o for generating textual descriptions and SAM2 for segmentation masks to improve annotation efficiency for these datasets.

Key Insights and Ideas

  • Segmentation as a Guiding Light: Leveraging pre-trained segmentation models (like SAM) is a powerful way to explicitly guide feature learning towards object regions and away from background clutter. This is a more nuanced approach than simple filtering.
  • Token Preservation is Key: The STR module's approach of reallocating and refining tokens rather than discarding them is crucial for retaining discriminative information, especially in complex scenes.
  • Hypergraphs for High-Order Relationships: Moving beyond pairwise relationships to hypergraphs allows for a richer modeling of how multiple elements (tokens from different modalities) interact, leading to a more comprehensive understanding of cross-modal semantics.
  • Multi-Modal Captioning for Better Input: The paper highlights the importance of high-quality, consistent textual descriptions generated from multi-modal inputs, which can then serve as a valuable semantic prior for the ReID task.

Key Results

STMI achieves state-of-the-art performance on the evaluated datasets:

  • On RGBNT201, STMI achieves an mAP of 81.2%, surpassing the previous best method (IDEA) by +1.0%.
  • On RGBNT100, STMI achieves 89.1% mAP, outperforming IDEA (87.2%) and DeMo (86.2%).
  • On the challenging MSVR310 dataset, STMI achieves 64.8% mAP, a significant improvement of +17.8% over IDEA.

Ablation studies confirm the effectiveness of each proposed module (SFM, STR, and CHI), with the full STMI model consistently outperforming its variants. Visualizations using t-SNE also show that STMI leads to more compact and better-separated feature distributions.

Limitations and Future Work

  • Reliance on Segmentation Models: The performance of the SFM module is dependent on the quality of the segmentation masks. While SAM is powerful, errors or limitations in segmentation could impact the ReID results.
  • Computational Cost: The hypergraph convolution and cross-attention mechanisms, while effective, might introduce additional computational overhead.
  • Future Work: The paper suggests that future work could explore more advanced hypergraph structures and attention mechanisms for even richer cross-modal interaction. Further investigation into robust text generation strategies for multi-modal scenarios is also a promising direction.

Summary updated

BibTeX
@inproceedings{xu2026stmi,
  author = {Xingguo Xu and Zhanyu Liu and Weixiang Zhou and Yuansheng Gao and Junjie Cao and Yuhao Wang and Jixiang Luo and Dell Zhang},
  title = {{STMI: Segmentation-Guided Token Modulation with Cross-Modal Hypergraph Interaction for Multi-Modal Object Re-Identification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i14.38125},
}

Loading related content...

Figure