GraFT: Gradual Fusion Transformer for Multimodal Re-Identification

Haoli Yin, Emily Li, Eva Schiller, Luke McDermott, Daniel CummingsOpenReview 2023

TL;DR

This paper introduces GraFT, a novel Gradual Fusion Transformer architecture for multimodal re-identification (ReID). GraFT uses learnable "fusion tokens" to guide attention across different modalities, enabling more effective integration of modality-specific and object-specific features. This approach, combined with an augmented triplet loss, achieves state-of-the-art performance on multimodal ReID benchmarks and offers improved scalability and deployment flexibility through neural network pruning.

What Problem Does This Paper Address?

Object re-identification (ReID) is crucial for tasks like surveillance and retail, aiming to identify an object across different cameras or times. While traditional ReID relies on visible (RGB) imagery, challenges like low light and occlusions necessitate the use of additional modalities like near-infrared (NIR) and thermal-infrared (TIR). However, effectively fusing information from these diverse modalities is a significant challenge. Existing methods often resort to "early fusion" (combining raw data) or "late fusion" (combining independent modality outputs), both of which have limitations. Early fusion can dilute modality-specific insights, while late fusion might miss crucial cross-modal interactions. This paper addresses the need for a more integrated and scalable approach to multimodal ReID that can effectively leverage the strengths of each modality without sacrificing performance or increasing model complexity prohibitively.

Methods

The core innovation of GraFT is its Gradual Fusion Transformer architecture. Instead of a single fusion step, GraFT employs a gradual approach:

  • Learnable Fusion Tokens: The key component is a set of learnable "fusion tokens" ($T_f$). These tokens act as intermediaries, guiding the self-attention mechanism within each modality's encoder. This allows the model to learn how to integrate information from different modalities in a controlled manner.
  • Modality-Specific Encoders: Each modality (e.g., RGB, NIR) is processed by its own Transformer encoder. These encoders attend to both the modality's data tokens and the fusion tokens, allowing them to embed modality-specific information into the fusion tokens.
  • Averaging for Scalability: The final fusion token is an average of the fusion tokens from each modality. This averaging mechanism ensures that the number of fusion token parameters remains constant, regardless of the number of input modalities, making the architecture highly scalable.
  • Augmented Triplet Loss: To optimize the feature embedding space for ReID, the authors introduce an augmented triplet loss. This loss uses the fused tokens as anchor and positive samples (encouraging similarity for the same object across modalities) and samples from the modality-specific data tokens as negative samples (encouraging dissimilarity). This "Fusion-Fusion-Data" (FFD) approach helps create more discriminative embeddings.
  • Neural Network Pruning: For deployment flexibility, GraFT integrates neural network pruning, allowing for a trade-off between model size and performance.

Datasets

The paper uses the following datasets for training and evaluation:

  • RGBNT100: Contains coincidental RGB, NIR, and TIR images of 100 unique vehicle IDs across different camera views.
  • RGBN300: Contains coincidental RGB and NIR images of 300 unique vehicle IDs from different perspectives.

These datasets are described as existing multimodal ReID benchmarks.

Key Insights and Ideas

  • Fusion Tokens as Attention Guides: The idea of using dedicated "fusion tokens" to guide self-attention across modalities is a novel way to manage information flow. This allows for a more nuanced integration than simple concatenation or late-stage merging.
  • Gradual Fusion for Scalability: The gradual fusion approach, particularly the use of averaging for the final fusion token, is crucial for building a scalable multimodal ReID system that can easily accommodate more modalities without a combinatorial explosion in parameters.
  • Augmented Triplet Loss for Discriminative Embeddings: The "Fusion-Fusion-Data" triplet loss is a clever way to leverage both the integrated multimodal representation (fusion tokens) and the raw modality-specific details (data tokens) to create a more robust and separable embedding space for ReID.
  • Pruning for Practical Deployment: Integrating neural network pruning demonstrates a practical consideration for real-world applications, where model size and inference speed are critical.

Key Results

GraFT consistently outperforms existing multimodal ReID benchmarks on both RGBNT100 and RGBN300 datasets.

  • On RGBNT100, GraFT achieves 76.6% mAP, 94.3% R1, 95.3% R5, and 96.0% R10. This is a notable improvement over other methods, for example, outperforming the next best method by 16.1 mAP in one ablation study.
  • On RGBN300, GraFT achieves 75.1% mAP, 91.4% R1, 92.3% R5, and 92.9% R10.
  • The paper also shows that GraFT can achieve state-of-the-art performance even with a significantly smaller model size (e.g., 46M parameters) due to pruning, demonstrating its efficiency.

Limitations and Future Work

  • Limitations: The paper notes that while their pruned models are more efficient, compressing the model too much (e.g., more than 2.5 times smaller) can lead to performance degradation. The authors also acknowledge the potential negative social impacts of ReID technologies, such as privacy concerns and bias, emphasizing the need for ethical implementation and regulation.
  • Future Work: The authors aim to broaden the applicability of GraFT to encompass various application settings and data modalities. They also highlight the importance of ethical considerations and transparent deployment for ReID systems.

Summary updated

BibTeX
@misc{yin2023graft,
  author = {Haoli Yin and Emily Li and Eva Schiller and Luke McDermott and Daniel Cummings},
  title = {{GraFT: Gradual Fusion Transformer for Multimodal Re-Identification}},
  year = {2023},
  url = {https://openreview.net/forum?id=94x3qNj1B5},
  howpublished = {OpenReview},
}
Figure