Transferable Multiform Attack for Cross-Modal Person Re-Identification

Yunpeng Gong, Can Yang, Qingyuan Zeng, Dejun Xu, Zhiming Luo, Zhenzhong Wang, Min JiangNeurIPS 2026

TL;DR

Adversarial attacks on surveillance systems usually stumble when camera modalities change—noise crafted to fool a match between RGB and infrared cameras rarely transfers to thermal cameras or sketches. This paper introduces Multiform Attack (MA), a two-stage framework that decouples learning a shared attack direction from removing modality-specific biases. By pairing covariance-aware gradients with sparse evolutionary pixel tweaks, MA produces adversarial examples that generalize across completely unseen visual domains.

What Problem Does This Paper Address?

Modern surveillance relies on cross-modal person re-identification (ReID): matching a query image of a person in one visual format (say, daytime RGB) against a gallery in another (like nighttime infrared, thermal, or even forensic sketches). Testing the security of these systems requires adversarial attacks—tiny, imperceptible pixel perturbations ($\Delta$) added to a query image to break retrieval.

Existing cross-modal attacks optimize perturbations on a fixed pair of source modalities (e.g., visible-to-infrared). While effective on that exact pair, they suffer from source-pair overfitting. The perturbation memorizes the specific geometry and alignment quirks between those two domains rather than finding a fundamental vulnerability. Drop that same perturbed image into a system matching RGB to thermal or sketch data, and the attack fizzles out.

Figure 1: Comparison between traditional gradient-based cross-modal attacks and the proposed MA. Conventional methods optimize perturbations over fixed source modality pairs, which may cause attacks to overfit source-pair-specific embedding relationships and limit their transferability to unseen modalities. MA couples Mahalanobis-guided universal perturbation learning with structure-aware sparse evolutionary refinement, shifting the optimization focus from source-pair effectiveness toward cross-modal transferability.

Methods

Instead of forcing a single gradient optimization loop to achieve both strong attack power and broad generalization, the authors split the perturbation into two parts: $\Delta = \delta + \eta$, constrained within a standard $\ell_\infty$ pixel budget ($\varepsilon = 8/255$).

Figure 2: Overview of the proposed cross-modal transferable adversarial attack framework. A universal perturbation is initially learned via Mahalanobis-guided gradient optimization, providing a strong prior. Subsequently, a structure-aware sparse evolutionary search is performed, where an attention-shift filter retains candidates exhibiting the largest measured attention-map shifts relative to clean inputs. The search optimizes sparse pixel-level corrections to the fixed universal perturbation while respecting the overall perturbation budget. The final adversarial example, combining both components, is evaluated for its ability to degrade retrieval performance across heterogeneous modality models.
  1. Stage 1: Mahalanobis-Guided Universal Perturbation ($\delta$). Standard ReID attacks use Euclidean distance in triplet losses to push features away from true identities and toward false ones. However, ReID feature embeddings aren't uniform spheres—they stretch unevenly across dimensions. MA replaces Euclidean distance with the Mahalanobis distance, using the regularized covariance matrix of clean source training features to reweight directions naturally. Momentum-based gradient descent learns a dense base perturbation $\delta$.

  2. Stage 2: Structure-Aware Sparse Evolutionary Refinement ($\eta$). Because $\delta$ is still driven by source-pair gradients, it retains bias. Instead of running further gradient updates on auxiliary models (which would just overwrite $\delta$ with new biases), MA freezes $\delta$ and uses a multi-objective evolutionary algorithm to find a sparse correction $\eta$.

  3. Discrete Search: $\eta$ modifies at most $k$ pixel locations with discrete values $\{-1, 0, +1\}$.

  4. Structure-Aware Filtering: Before expensive fitness evaluations, candidates are screened by how much they shift the ReID model's attention heatmap relative to the clean image ($L_1$ difference). Only the top-$K$ attention-disrupting candidates survive.
  5. Pareto Selection: Surviving candidates are sorted across three objectives: maximizing Mahalanobis feature deviation, maximizing top-1 retrieval failure across surrogate models, and minimizing the perturbation norm $\|\eta\|_2$.

Datasets

The authors evaluate MA on five cross-modal ReID datasets:

  • Existing Benchmarks: RegDB (visible–thermal), SYSU-MM01 (visible–near-infrared), LLCM (low-light visible–infrared), and Sketch (photo–sketch).
  • Newly Introduced — CnMix: Built by applying random color-channel mixing to Market1501 images. This simulates privacy-preserving image transformations increasingly used to comply with data protection regulations.

Key Insights and Ideas

  • Why Evolution Beats Gradients for Refinement: If you sequentially fine-tune a perturbation across multiple diverse models using gradient descent, you play whack-a-mole—new gradients wreck your original attack direction while entangling the noise with the latest domain's quirks. Evolutionary search within a tiny, discrete neighborhood around a frozen prior ($\delta$) preserves the core attack while nudging away source-specific overfitting.
  • Covariance Matters: Simply swapping Euclidean distance for Mahalanobis distance in Stage 1 drops Rank-1 retrieval accuracy on LLCM from 12.35% down to 9.47% before any evolutionary refinement even begins, proving that respecting the anisotropic shape of embedding spaces pays immediate dividends.
  • Attention Shifts Signal Transferability: Filtering evolutionary candidates by how severely they scramble the model's spatial attention acts as a cheap, structural proxy for cross-domain disruption.

Key Results

Note: In adversarial ReID, lower accuracy means a stronger attack.

  • Standard Benchmarks (Restricted Fair Setting): Without using extra surrogate models or outside datasets, MA crushes retrieval accuracy. On RegDB (Visible-to-Thermal), clean Rank-1 accuracy starts at 70.05%; prior state-of-the-art MUA drops it to 1.85%, while MA drives it down to 0.83% (with mAP falling from 66.37% to 1.08%). On LLCM (Visible-to-Infrared), MA cuts Rank-1 accuracy from 62.53% to 1.97% (vs. 4.39% for MUA).
  • Unseen Domain Transfer: When trained on SYSU (with RegDB and Sketch as auxiliaries) and transferred zero-shot to the held-out CnMix domain, MA achieves 6.42% Rank-1 accuracy, roughly cutting the remaining accuracy of CMPS (13.83%) and MUA (11.24%) in half. Similar gains hold when transferring to unseen Sketch domains (6.73% Rank-1 vs. 13.53% for MUA).
  • Ablation: On LLCM, every piece pulls its weight—Rank-1 drops progressively from clean (62.53%) $\rightarrow$ Euclidean universal (12.35%) $\rightarrow$ Mahalanobis universal (9.47%) $\rightarrow$ +Evolutionary search (2.49%) $\rightarrow$ +Structure-aware filtering (1.97%).

Limitations and Future Work

Not discussed in the paper. (Note: While the authors mention supplementary experiments covering evolutionary hyperparameters, modality counts, cross-architecture transfer, and adversarial defenses, explicit limitations and future research directions are omitted from the main text.)

Summary updated

Abstract

Cross-modal person re-identification (ReID) adversarial attacks face a transferability challenge: existing methods may exhibit source-pair overfitting, where learned perturbations become overly dependent on the feature statistics of the source modality pair, thereby limiting their transferability under heterogeneous domain shifts. We argue that a key challenge is reducing source-pair-specific bias while maintaining attack effectiveness. To address this, we propose Multiform Attack (MA). The framework first learns a universal perturbation via Mahalanobis-guided gradient optimization. Since this perturbation may still retain source-pair-specific bias, the second stage performs sparse refinement through attention-shift-filtered multi-objective evolutionary search, leveraging heterogeneous source distributions in transfer settings. By separating universal perturbation learning from sparse evolutionary refinement, MA aims to reduce reliance on source-pair-specific patterns and improve transferability to unseen domains. Extensive experiments demonstrate strong attack effectiveness on cross-modal ReID benchmarks and improved transferability in the evaluated held-out-domain settings, with additional evaluations across model architectures.
BibTeX
@inproceedings{gong2026transferable,
  author = {Yunpeng Gong and Can Yang and Qingyuan Zeng and Dejun Xu and Zhiming Luo and Zhenzhong Wang and Min Jiang},
  title = {{Transferable Multiform Attack for Cross-Modal Person Re-Identification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=AjYCRQ99Xu},
}
Figure