← Lab /Security & privacy

Inference provenance graphs enable high-accuracy detection of adversarial examples

IPG-based detectors achieve consistently high detection performance and outperform prior graph-based baselines

Security & privacy arXiv 15 Apr 2026 Benchmark Prototype evidence

Published as “NeuroTrace: Inference Provenance-Based Detection of Adversarial Examples”

Why it matters

Provenance-based detection offers a practical way to identify adversarial inputs across diverse attacks, supporting more transparent and auditable ML deployments, but its current overhead and lack of adaptive-adversary evaluation limit immediate high-throughput use.

Summary

NeuroTrace’s IPG-based detectors achieve very high detection performance, with intra-attack accuracies above 96% and ROC-AUC near 100%, and they retain >96% accuracy when transferred across white-box and black-box attacks, outperforming the prior graph baseline CIGA. The evidence comes from extensive CIFAR-10 and malware experiments, though extraction costs are non-trivial and adaptive attacks were not evaluated.

What they found 3

  1. Intra-attack detection accuracy exceeds 96% for all CIFAR-10 attacks.

    “FGSM 96.75 96.06 97.50 96.77 99.45 99.41 91.0 2.5”

  2. Cross-threat transfer detection can reach 100% accuracy for some attack pairs.

    “Black-Box→White-Box(FGSM) 100.00 100.00 100.00 100.00 100.00 100.00 100.0 0.0”

  3. NeuroTrace outperforms the prior graph-based baseline CIGA on all evaluated attacks.

    “NeuroTrace outperforms CIGA across all reported attacks, with especially large gains on PGD and APGD.”

Caveats 4

  • Transfer from white-box to black-box attacks on SPSA yields lower TPR@1%FPR (93.33) and non-zero FPR@95%TPR (3.33), indicating degraded low-false-positive performance.
  • PGD cross-threat transfer (Black-Box→White-Box) achieves 96.67% accuracy, below the near-perfect scores of other pairs.
  • we do not evaluate adaptive adversaries that explicitly optimize to evade provenance-based detectors, and our current experiments are limited to mid-sized models.
  • mid-sized vision models can require tens of seconds per graph under the current extraction implementation

What’s new here 4

  • Introduces Inference Provenance Graphs (IPGs) as a cross-layer representation for adversarial detection.
  • Provides a reproducible PyTorch extraction pipeline that instruments model execution to build heterogeneous IPGs.
  • Releases a multi-domain IPG dataset and benchmark covering vision and malware models with various attacks.
  • Demonstrates that provenance-based detectors generalize across attack families and threat models, achieving near-perfect AUC.