Image-to-Video Re-Identification via Mutual Discriminative Knowledge Transfer

Pichao Wang, Fan Wang, Hao Li

Abstract

Image-to-Video (I2V) person and vehicle re-identification (Re-ID) is a critical task in surveillance, aiming to match a static query image against a gallery of video sequences. The primary challenge lies in the significant representation gap between single images and feature-rich videos. This paper introduces Mutual Discriminative Knowledge Transfer (MDKT), a framework designed to bridge this gap by transferring discriminative local structures from a video-based teacher network to an image-based student network. Central to MDKT is the Triplet Contrast Loss (TCL), which distills third-order structural relationships. Experimental results on MARS, DukeMTMC-VideoReID, and VeRi-776 benchmarks demonstrate that MDKT achieves state-of-the-art performance, highlighting the efficacy of probability-based structural distillation over traditional classification-based methods.

Introduction

Re-identification (Re-ID) involves identifying the same object across different, non-overlapping camera views. While Image-to-Image (I2I) and Video-to-Video (V2V) Re-ID have seen substantial progress, Image-to-Video (I2V) Re-ID remains particularly challenging due to the inherent asymmetry in information. A video sequence provides temporal cues and multiple viewpoints, resulting in a "richer" feature representation compared to a single static image.

Traditional Knowledge Distillation (KD) approaches often focus on global classification matching. However, in Re-ID, where training and testing identities are disjoint, the ability to learn local discriminative structures—the nuances that distinguish one individual from another—is paramount. MDKT addresses this by focusing on the transfer of these discriminative structures rather than simple class labels.

Methodology

The MDKT framework utilizes a teacher-student architecture, typically employing ResNet-50 backbones for both networks. The teacher network is trained on video sequences, while the student network processes single images. The core innovation is the Triplet Contrast Loss (TCL), which facilitates the transfer of "third-order" knowledge.

The MDKT framework architecture showing the teacher and student networks with various distillation losses.

Unlike standard triplet losses that minimize absolute Euclidean distances, TCL measures the probability distribution of distances between an anchor, a positive sample, and a negative sample. This approach allows the student to mimic the teacher's local manifold structure without being constrained by differences in raw feature magnitudes or heterogeneous outputs.

MDKT incorporates three levels of distillation to ensure comprehensive knowledge transfer:

  1. Logits Distillation (1st order): Matching the final class probabilities or "guesses."
  2. Pairwise Distance Distillation (2nd order): Matching the relative distances between all pairs in a training batch.
  3. Triplet Contrast Distillation (3rd order): Matching the relative structural similarity within triplets via TCL.

Furthermore, the framework employs mutual learning, where both the teacher and student networks regularize each other during training, enhancing overall generalization. A notable finding by the authors is that the standard cross-entropy (CE) loss, typically used for classification, can be detrimental when combined with these high-order discriminative losses. Consequently, the final MDKT objective omits CE loss in favor of purely discriminative training.

Experimental Results

The performance of MDKT was evaluated on three major benchmarks: MARS and DukeMTMC-VideoReID for person Re-ID, and VeRi-776 for vehicle Re-ID.

Ablation studies, summarized in the table below, confirm the critical role of each component. Specifically, the inclusion of Triplet Contrast Loss ($L_{MTCL}$) provides the most significant boost in performance across both I2V and V2V settings.

Ablation study of different loss components on MARS and Duke-video datasets.

Key results include:

  • MARS: Achieved 85.7% top-1 accuracy, surpassing previous state-of-the-art (SOTA) methods like VKD and TKP by 1.8%.
  • DukeMTMC-VideoReID: Reached 86.8% top-1 accuracy.
  • VeRi-776: Reached 96.0% top-1 accuracy.

The results indicate that distilling the probability of triplet relationships is more effective at handling the misalignment between image and video features than direct distance matching. The discovery that adding cross-entropy loss actually degraded performance suggests that for specialized tasks like Re-ID, purely discriminative losses like TCL can be superior to traditional classification-based training.

Conclusion

Mutual Discriminative Knowledge Transfer (MDKT) sets a new benchmark for I2V Re-ID by prioritizing the transfer of local discriminative structures over global classification. The introduction of Triplet Contrast Loss allows for effective third-order knowledge distillation, bridging the representation gap between static images and dynamic videos. Future research may explore applying this high-order distillation to other cross-modal tasks, such as sketch-to-photo or infrared-to-visible Re-ID, while addressing the computational demands of mutual learning.

Summary updated

BibTeX
@inproceedings{wang2022image,
  author = {Pichao Wang and Fan Wang and Hao Li},
  title = {{Image-to-Video Re-Identification via Mutual Discriminative Knowledge Transfer}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=t-KfhKKILC},
}
Figure