← Lab /Security & privacy

Tailored two-step attack outperforms on quantized TinyML models

The proposed two-step attack pipeline achieves higher success than existing attacks on QNNs used in TinyML hardware

Security & privacy arXiv 12 Jun 2026 Attack Prototype evidence Threat model

Published as “Breaking TinyML: Why Quantized Neural Networks Need Domain-Specific Security Analysis”

Why it matters

Quantized TinyML accelerators are not inherently more robust; attackers can efficiently craft transferable adversarial examples, implying a need for hardware-aware defenses.

Summary

The paper shows that a surrogate-based two-step attack can cut CIFAR-10 quantized model accuracy from 85.30% to 38.00% (47.30% reduction) with only 50,000 queries, but it admits the same method underperforms on full-precision models and achieves modest gains on the Visual Wake Words benchmark.

What they found 2

  1. PGD reduces quantized CIFAR-10 model accuracy from 85.30% to 38.00% (47.30% reduction).

    “PGD reducing model accuracy from 85.30% to 38.00% (47.30% reduction)”

  2. Surrogate models reach 82.70%-83.80% fidelity with the target hardware model.

    “our extracted surrogate models achieve 82.70% to 83.80% fidelity with the target hardware model”

Caveats 5

  • When applied to full-precision models, the methodology underperforms compared to existing attacks.
  • On Visual Wake Words the accuracy reduction is only 12.70% (FGSM) versus 26.40% for Square-L2.
  • Surrogate accuracy is noticeably lower than the target model accuracy (69.60%-72.00% vs 85.60%).
  • when applied to full-precision models, our methodology underperforms compared to existing attacks.
  • Black-box attacks (Boundary Attack, GeoDA) achieve 0% accuracy reduction on VWW.

What’s new here 3

  • First white-box-style attack on quantized TinyML models by bypassing gradient discontinuities via surrogate extraction.
  • Demonstrates hardware-specific effectiveness: better than gray-box attacks on int-8 models but worse on full-precision equivalents.
  • Achieves order-of-magnitude query efficiency compared to black-box attacks on TinyML hardware.

Threat model stated by the source

Adversaryattacker with temporary physical access who can inject inputs via sensor interfaces and observe hard-label outputs or side-channel signals
Capabilityblack-box query access (hard labels only) and ability to perform a one-time model extraction phase
Assumesattacker knows the model uses 8-bit integer quantization; attacker possesses unlabeled samples from the original data distribution