← Lab /Security & privacy

Evolutionary programs achieve higher attack success with fewer queries

The authors assert their evolutionary framework outperforms existing black-box baselines on perceptual hash attacks

Security & privacy arXiv 13 Jul 2026 Attack Prototype evidence

Published as “LLM-Guided Program Evolution for Targeted Black-Box Attacks on Perceptual Hash Algorithms”

Why it matters

The work suggests that current black-box perceptual hash deployments may be vulnerable to program-level evolutionary attacks that achieve higher success with lower visual distortion than traditional fixed-parameter attacks.

Summary

The authors show that LLM-guided evolutionary program search can lower the composite attack score against four deployed perceptual hash algorithms by up to 41.2% (NeuralHash) compared to the best tuned seed attacks, while achieving perfect targeted collision rates (ASR = 1.00) for pHash, PDQ and PhotoDNA. The improvement comes from mutating whole Python attack programs rather than just scalar parameters, requiring no gradient or internal knowledge of the hash. However, the evidence is limited to an in-sample benchmark of only 30 ImageNet image pairs, a single random seed per hash/backend, and no compute-matched seed baseline, so generalization to real deployments is uncertain.

What they found 2

  1. Evolution reduces the composite score for pHash by 34.0% compared to the best optimized seed.

    “Improvement pHash ATKScopes 86.08 OpenEvolve 56.80 34.0%”

  2. The evolved OpenEvolve program achieves a 100% targeted success rate (ASR = 1.00) on pHash.

    “pHash OpenEvolve 1.00 27.38 0.150 1471 56.80”

Caveats 6

  • The main conclusion is not that evolution always improves every individual metric. The improvement is in the composite score.
  • The results in this section are in-sample benchmark-selection results: the same 30 pairs are used for tuning, evolution, and reporting.
  • The study is empirical and depends on the available hash implementations and preprocessing.
  • Industrial deployments may use different thresholds, rate limits, and decision logic.
  • The benchmark contains 30 ImageNet pairs and the same split is used for search and reporting, so the results are controlled benchmark evidence rather than deployment-scale generalization.
  • NeuralHash is computationally expensive in the current framework; only ATKScopes receives full configuration optimization for that hash, as the remaining seeds did not exceed ASR 0.13 at baseline.

What’s new here 4

  • Applies large language model-driven program mutation to black-box perceptual hash attacks.
  • Optimizes a composite score that jointly considers L2 distortion, query count, and attack success.
  • Demonstrates that evolving full attack programs outperforms tuning fixed-parameter attacks for several hashes.
  • Provides a systematic empirical comparison across four widely used perceptual hash schemes.