English

Quantitative Analysis of Deeply Quantized Tiny Neural Networks Robust to Adversarial Attacks

Machine Learning 2025-03-13 v1 Cryptography and Security Performance

Abstract

Reducing the memory footprint of Machine Learning (ML) models, especially Deep Neural Networks (DNNs), is imperative to facilitate their deployment on resource-constrained edge devices. However, a notable drawback of DNN models lies in their susceptibility to adversarial attacks, wherein minor input perturbations can deceive them. A primary challenge revolves around the development of accurate, resilient, and compact DNN models suitable for deployment on resource-constrained edge devices. This paper presents the outcomes of a compact DNN model that exhibits resilience against both black-box and white-box adversarial attacks. This work has achieved this resilience through training with the QKeras quantization-aware training framework. The study explores the potential of QKeras and an adversarial robustness technique, Jacobian Regularization (JR), to co-optimize the DNN architecture through per-layer JR methodology. As a result, this paper has devised a DNN model employing this co-optimization strategy based on Stochastic Ternary Quantization (STQ). Its performance was compared against existing DNN models in the face of various white-box and black-box attacks. The experimental findings revealed that, the proposed DNN model had small footprint and on average, it exhibited better performance than Quanos and DS-CNN MLCommons/TinyML (MLC/T) benchmarks when challenged with white-box and black-box attacks, respectively, on the CIFAR-10 image and Google Speech Commands audio datasets.

Keywords

Cite

@article{arxiv.2503.08973,
  title  = {Quantitative Analysis of Deeply Quantized Tiny Neural Networks Robust to Adversarial Attacks},
  author = {Idris Zakariyya and Ferheen Ayaz and Mounia Kharbouche-Harrari and Jeremy Singer and Sye Loong Keoh and Danilo Pau and José Cano},
  journal= {arXiv preprint arXiv:2503.08973},
  year   = {2025}
}

Comments

arXiv admin note: substantial text overlap with arXiv:2304.12829

R2 v1 2026-06-28T22:16:56.205Z