← Lab /AI/ML

Dynamic visual prompts can hide backdoors that survive heavy pruning

VIPER achieves near-100% attack success while preserving clean accuracy even after 90% pruning of the prompt module

AI/ML arXiv 19 May 2026 Attack Prototype evidence

Published as “Exposing Functional Fusion: A New Class of Strategic Backdoor in Dynamic Prompt Architectures”

Why it matters

Dynamic prompt-based backdoors can evade existing pruning and trigger-reversal defenses, suggesting current PEFT security measures are insufficient.

Summary

VIPER achieves near-100% attack success while preserving the highest clean accuracy among six benchmarks and surviving extreme (90%) parameter pruning, all with only 0.06 ms (≈1%) extra latency. It does this via a lightweight dynamic visual prompt generator that fuses malicious and benign logic into a single sparse core. The evidence is strong, coming from extensive experiments on multiple public datasets and comparisons to a wide range of prior backdoor methods. The paper does not provide details on real-world deployment scale, so the summary is limited to the reported evaluations.

What they found 3

  1. VIPER adds only a negligible latency increase

    “VIPER adds only 0.06 ms of latency (5.22 ms vs 5.16 ms), a functionally imperceptible 1.08% increase.”

  2. VIPER achieves the highest clean-data accuracy across all evaluated datasets

    “VIPER achieves the highest clean-data accuracy (ACC) across all six benchmark datasets.”

  3. Cross-dataset transfer incurs a small clean-accuracy drop

    “VIPER achieved a near-perfect average ASR of 99.96% across these diverse domains with minimal utility loss (81.43% ACC vs. 83.13% baseline).”

Caveats 1

  • Cross-dataset transfer shows a clean-accuracy reduction (81.43% vs. 83.13% baseline), indicating some utility loss when the attack is applied out-of-domain.

What’s new here 4

  • Introduces a dynamic visual prompt generator (VPG) that conditionally injects prompts at inference time.
  • Defines and exploits "Functional Fusion" where malicious and benign functionality share the same high-magnitude parameter core.
  • Demonstrates resilience to pruning defenses, maintaining 100% ASR after 90% parameter removal.
  • Shows near-zero inference latency overhead (0.06 ms) compared to the baseline ViT.