ProtoHPE: Prototype-guided High-frequency Patch Enhancement for Visible-Infrared Person Re-identification

Guiwei Zhang, Yongfei Zhang, Zichang Tan

TL;DR

ProtoHPE bridges the massive gap between visible (RGB) and infrared (IR) person images by focusing on high-frequency patches—like silhouettes and cloth textures—that remain consistent across modalities. By combining wavelet-based patch selection with a hierarchical prototypical contrastive loss, the model achieves state-of-the-art re-identification accuracy while remaining computationally efficient during inference.

What Problem Does This Paper Address?

Visible-Infrared Person Re-identification (VI-ReID) is the task of matching a specific person across non-overlapping camera views where one might be a standard RGB camera and the other a near-infrared (IR) camera. This is critical for 24/7 surveillance, but it is notoriously difficult due to the modality gap.

RGB images capture color and light, while IR images capture thermal information and different wavelengths. Most existing methods try to align "holistic" images (the whole person), but these are highly sensitive to changes in pose, background clutter, and lighting. The authors argue that holistic images are too noisy for reliable cross-modal matching. Instead, they look toward the frequency domain to find a more stable "bridge" between the two worlds.

Methods

The authors propose ProtoHPE (Prototype-guided High-frequency Patch Enhancement), which consists of two main pillars:

  1. Cross-modal High-freq Patch Enhancement (CHPE): The team observed that high-frequency (HF) components—edges, textures, and silhouettes—are more robust across modalities than low-frequency components (like overall color). As shown in Figure 1, while a red shirt and a white shirt might look identical in low-frequency IR, their high-frequency textures remain distinct.

  2. They use a Haar Wavelet Transform (HWT) to decompose IR images and sample the most informative high-frequency patches.

  3. Because RGB and IR patches don't always align perfectly, they use an Exponential Moving Average Vision Transformer (EMA-ViT) to "mine" the corresponding high-frequency patches in the RGB image that best match the IR signal.
Illustration of the idea: High-frequency patches like heads and silhouettes are more robust to modality shifts than holistic images.
  1. Multimodal Prototypical Contrast (MultiProCo): To ensure the model learns stable representations, the authors move beyond simple instance-to-instance matching. They introduce "prototypes"—representative embeddings for a specific identity within a specific modality.

  2. Hierarchical Supervision: The model uses a local constraint to pull instances toward their modality-specific prototype and a global constraint to align prototypes of the same identity across both RGB and IR modalities. This is illustrated in Figure 3.

The MultiProCo framework hierarchically captures semantics to aggregate representations of the same identity.

Crucially, the ProtoHPE machinery is only used during training. During inference, the baseline ViT has already learned to focus on these discriminative high-frequency features, meaning there is zero extra computational cost at test time.

Datasets

The model was evaluated on two standard VI-ReID benchmarks:

  • SYSU-MM01: A large-scale dataset containing 491 pedestrians with over 280,000 visible images and 15,000 infrared images captured from both indoor and outdoor cameras.
  • RegDB: A smaller but challenging dataset collected by a dual-camera system, featuring 412 identities with 10 visible and 10 infrared images each.

Key Insights and Ideas

  • High-Frequency is the Key: The "aha moment" is realizing that while color (low-freq) is lost or transformed in IR, the "shape" and "texture" (high-freq) of a person are remarkably similar across wavelengths.
  • Prototypes over Instances: Traditional contrastive learning often suffers from noise in mini-batches. By using prototypes that evolve via exponential moving average, the model maintains a stable "memory" of what a specific person looks like in both modalities.
  • Stop-Gradient Strategy: The authors found that using a stop-gradient operation in their hybrid contrastive loss prevented low-frequency components from "disturbing" the high-frequency features the model was trying to enhance.

Key Results

ProtoHPE outperformed existing state-of-the-art (SOTA) methods across the board:

  • SYSU-MM01: Achieved 71.92% Rank-1 accuracy and 70.59% mAP in the all-search setting, significantly beating previous ViT-based methods like PMT.
  • RegDB: Reached 88.74% Rank-1 accuracy in the Visible-to-Infrared setting.
  • Feature Separation: As shown in Figure 5, ProtoHPE effectively reduced the mean distance between positive pairs (same person) while increasing the gap between negative pairs compared to the baseline.
Euclidean distance distribution showing that ProtoHPE creates a much clearer separation between positive and negative pairs.

Qualitative attention maps (Figure 4) further prove the point: while the baseline model often gets distracted by background clutter, ProtoHPE focuses sharply on the person's head and silhouette.

Limitations and Future Work

While ProtoHPE shows impressive results, the paper does not deeply explore its performance in extremely low-resolution scenarios where high-frequency details might be lost to sensor noise. Additionally, the reliance on Haar Wavelet Transforms assumes that the primary discriminative features are well-captured by standard wavelet decomposition.

Future work could involve exploring more adaptive frequency decomposition methods or applying this high-frequency enhancement strategy to other cross-modal tasks, such as sketch-to-photo retrieval or cross-resolution re-identification.

Summary updated

BibTeX
@inproceedings{zhang2023protohpe,
  author = {Guiwei Zhang and Yongfei Zhang and Zichang Tan},
  title = {{ProtoHPE: Prototype-guided High-frequency Patch Enhancement for Visible-Infrared Person Re-identification}},
  booktitle = {ACM Multimedia},
  year = {2023},
  doi = {10.1145/3581783.3612297},
}
Figure