MLBFA-Pruned: Optimizing Bit-Flip Attacks on Quantized DNNs via ML-Guided Ranking
DOI:
https://doi.org/10.5753/jbcs.2026.7465Keywords:
Deep Neural Networks, Bit-Flip Attack, Fault Injection, Machine Learning, Vulnerability Mode, ReliabilityAbstract
Quantized deep neural networks (DNNs) remain vulnerable to bit flips in stored weights, motivating compact attacks for safety-critical and resource-constrained systems. This work extends MLBFA, which combines vulnerability-model (VM) guided Top-N candidate filtering with heuristic search. The proposed MLBFA-Pruned applies backward elimination to successful solutions, removing individually redundant flips while preserving the target-accuracy condition. We also evaluate regression-based bit-specific ranking trained with additional statistical fault injection paradigms and expand the protocol analysis. Backward elimination reduced every campaign-best Greedy Bit Search solution for which paired before-and-after data were available, including the 4-bit ResNet-20 solution from 15 to 11 flips. Classification-based ranking produced smaller selected best attacks than regression-based ranking for three of four architectures. Because the MLBFA-Standard and MLBFA-Pruned campaigns were executed independently under potentially different settings, their comparison is descriptive. The primary descriptive comparison with Rakin et al. uses successful-attack medians for both methods, restricts MLBFA-Pruned to the balanced K= 2,024 stratum, and reports success fractions and dispersion. MLBFA-Pruned yielded a lower median in 10 of 12 architecture–precision settings. A complementary exploratory minimum-to-minimum comparison yielded lower MLBFA-Pruned minima in eight settings, equal minima in two, and higher minima in two. Overall, VM-guided search with post-search elimination produces compact successful attacks, with measured reductions applying specifically to solution cardinality.
Downloads
References
Agarwal, U. K., Chan, A., and Pattabiraman, K. (2022). LLTFI: Framework-agnostic fault injection for machine learning applications. In 2022 IEEE 33rd International Symposium on Software Reliability Engineering (ISSRE), pages 286-296. IEEE. DOI: 10.1109/ISSRE55969.2022.00036.
Ahmadilivani, M. H., Taheri, M., Raik, J., Daneshtalab, M., and Jenihhin, M. (2024). A systematic literature review on hardware reliability assessment methods for deep neural networks. ACM Computing Surveys, 56(6):1-39. DOI: 10.1145/3638242.
Arlat, J., Aguera, M., Amat, L., Crouzet, Y., Fabre, J.-C., Laprie, J.-C., Martins, E., and Powell, D. (1990). Fault injection for dependability validation: A methodology and some applications. IEEE Transactions on Software Engineering, 16(2):166-182. DOI: 10.1109/32.44380.
Bosio, A., Bernardi, P., Ruospo, A., and Sanchez, E. (2019). A reliability analysis of a deep neural network. In 2019 IEEE Latin American Test Symposium (LATS), pages 1-6. IEEE. DOI: 10.1109/LATW.2019.8704548.
Breier, J. and Hou, X. (2022). How practical are fault injection attacks, really? IEEE Access, 10:113122-113130. DOI: 10.1109/ACCESS.2022.3217212.
Chen, Z., Narayanan, N., Fang, B., Li, G., Pattabiraman, K., and DeBardeleben, N. (2020). TensorFI: A flexible fault injection framework for TensorFlow applications. In 2020 IEEE 31st International Symposium on Software Reliability Engineering (ISSRE), pages 426-435. IEEE. DOI: 10.1109/ISSRE5003.2020.00047.
Dong, J. et al. (2023). One-bit flip is all you need: When bit-flip attack meets model training. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV). IEEE. DOI: 10.1109/ICCV51070.2023.00432.
Global Desk (2025). Nvidia chips hacked, fall victim to rowhammer bit-flip attacks; here’s how to secure the AI GPUs. The Economic Times. Available at:[link] Accessed: 2025-07-26.
Göğebakan, A. B., Magliano, E., Carpegna, A., Ruospo, A., Savino, A., and Di Carlo, S. (2024). SpikingJET: Enhancing fault injection for fully and convolutional spiking neural networks. IEEE. DOI: 10.1109/IOLTS60994.2024.10616060.
Govarini, G., Ruospo, A., and Sanchez, E. (2023). A fast reliability analysis of image segmentation neural networks exploiting statistical fault injections. In 2023 IEEE 24th Latin American Test Symposium (LATS), pages 1-6. IEEE. DOI: 10.1109/LATS58125.2023.10154488.
He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 770-778. IEEE. DOI: 10.1109/CVPR.2016.90.
Hector, K., Moëllic, P.-A., Dumont, M., and Dutertre, J.-M. (2022). A closer look at evaluating the bit-flip attack against deep neural networks. In 2022 IEEE 28th International Symposium on On-Line Testing and Robust System Design (IOLTS). IEEE. DOI: 10.1109/IOLTS56730.2022.9897693.
Huang, H., Liu, C., Xue, X., Liu, B., Li, H., and Li, X. (2024). MRFI: An open-source multiresolution fault injection framework for neural network processing. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 32(7):1325-1335. DOI: 10.1109/TVLSI.2024.3384404.
Huang, Y., Siegel, P. H., and Jiang, A. (2020). Functional error correction for robust neural networks. IEEE Journal on Selected Areas in Information Theory, 1(2):267 - 276. DOI: 10.1109/JSAIT.2020.2991430.
Kim, Y., Daly, R., Kim, J. S., Fallin, C., Lee, J. H., Lee, D., Wilkerson, C., Lai, K., and Mutlu, O. (2014). Flipping bits in memory without accessing them: An experimental study of DRAM disturbance errors. In ACM SIGARCH Computer Architecture News, Volume 42, Issue 3, pages 361-372. DOI: 10.1145/2678373.2665726.
Lee, N., Ajanthan, T., and Torr, P. H. S. (2019). SNIP: Single-shot network pruning based on connection sensitivity. In 7th International Conference on Learning Representations (ICLR). OpenReview.net. Available at:[link].
Leveugle, R., Calvez, A., Maistri, P., and Vanhauwaert, P. (2009). Statistical fault injection: Quantified error and confidence. In 2009 Design, Automation & Test in Europe Conference & Exhibition (DATE), pages 502-506. IEEE. DOI: 10.1109/DATE.2009.5090716.
Lin, C. S., Qu, J., and Saileshwar, G. (2025). GPUHammer: Rowhammer attacks on GPU memories are practical. arXiv preprint. DOI: 10.48550/arXiv.2507.08166.
Liu, Y., Wei, L., Luo, B., and Xu, Q. (2017). Fault injection attack on deep neural network. In 2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD), pages 131-138. IEEE. DOI: 10.1109/ICCAD.2017.8203770.
Mahmoud, A., Aggarwal, N., Nobbe, A., Sanchez Vicarte, J. R., Adve, S. V., Fletcher, C. W., Frosio, I., and Hari, S. K. S. (2020). PyTorchFI: A runtime perturbation tool for DNNs. In 2020 50th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops (DSN-W), pages 25-31. IEEE. DOI: 10.1109/DSN-W50199.2020.00014.
Qian, C., Zhang, M., Nie, Y., Lu, S., and Cao, H. (2023). A survey of bit-flip attacks on deep neural network and corresponding defense methods. Electronics, 12(4):853. DOI: 10.3390/electronics12040853.
Rakin, A. S., He, Z., and Fan, D. (2019). Bit-flip attack: Crushing neural network with progressive bit search. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 1211-1220. IEEE. DOI: 10.1109/ICCV.2019.00130.
Rakin, A. S. et al. (2022). T-BFA: Targeted bit-flip adversarial weight attack. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(11):7928-7939. DOI: 10.1109/TPAMI.2021.3112932.
Reagen, B., Gupta, U., Pentecost, L., Whatmough, P., Lee, S. K., Mulholland, N., Brooks, D., and Wei, G.-Y. (2018). ARES: A framework for quantifying the resilience of deep neural networks. In 2018 55th ACM/ESDA/IEEE Design Automation Conference (DAC), pages 1-6. IEEE. DOI: 10.1109/DAC.2018.8465834.
Ronaldo, J., de Lima, O. A., and Sousa, N. (2025). MLBFA: A machine learning-guided framework for efficient bit-flip attacks on deep neural networks. In 2025 XV Symposium on Computing Systems Engineering (SBESC), pages 1-6. IEEE. DOI: 10.1109/SBESC68008.2025.11288903.
Ruospo, A., Bosio, A., Ianne, A., and Sanchez, E. (2020). Evaluating convolutional neural networks reliability depending on their data representation. In 2020 23rd Euromicro Conference on Digital System Design (DSD), pages 672-679. IEEE. DOI: 10.1109/DSD51259.2020.00109.
Ruospo, A., Reorda, M. S., Mariani, R., and Sanchez, E. (2025). An effective iterative statistical fault injection methodology for deep neural networks. IEEE Transactions on Computers, pages 2431 - 2444. DOI: 10.1109/TC.2025.3566863.
Ruospo, A., Sanchez, E., Luza, L. M., Dilillo, L., Traiola, M., and Bosio, A. (2023a). A survey on deep learning resilience assessment methodologies. Computer, 56(2):57-66. DOI: 10.1109/MC.2022.3217841.
Ruospo, A. et al. (2021). Pros and cons of fault injection approaches for the reliability assessment of deep neural networks. In 2021 IEEE 22nd Latin American Test Symposium (LATS), pages 1-5. IEEE. DOI: 10.1109/LATS53581.2021.9651807.
Ruospo, A. et al. (2023b). Assessing convolutional neural networks reliability through statistical fault injections. In 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE. DOI: 10.23919/DATE56975.2023.10136998.
Sabbagh, M., Gongye, C., Fei, Y., and Wang, Y. (2019). Evaluating fault resiliency of compressed deep neural networks. In 2019 IEEE International Conference on Embedded Software and Systems (ICESS), pages 1-7. IEEE. DOI: 10.1109/ICESS.2019.8782505.
Syed, R. T., Ulbricht, M., Piotrowski, K., and Krstic, M. (2023). A survey on fault-tolerant methodologies for deep neural networks. Pomiary Automatyka Robotyka, 27(2):89-98. DOI: 10.14313/PAR_248/89.
Tanaka, H., Kunin, D., Yamins, D. L. K., and Ganguli, S. (2020). Pruning neural networks without any data by iteratively conserving synaptic flow. In Advances in Neural Information Processing Systems, volume 33. Curran Associates, Inc. Available at:[link].
Torres-Huitzil, C. and Girau, B. (2017). Fault and error tolerance in neural networks: A review. IEEE Access, 5:17322-17341. DOI: 10.1109/ACCESS.2017.2742698.
Traiola, M., Kritikakou, A., and Sentieys, O. (2023a). harDNNing: A machine-learning-based framework for fault tolerance assessment and protection of DNNs. In 2023 IEEE European Test Symposium (ETS), pages 1-6. IEEE. DOI: 10.1109/ETS56758.2023.10174178.
Traiola, M., Kritikakou, A., and Sentieys, O. (2023b). A machine-learning-guided framework for fault-tolerant DNNs. In 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE), pages 1-2. IEEE. DOI: 10.23919/DATE56975.2023.10137033.
Yu, G., Tan, G., Huang, H., Zhang, Z., Chen, P., Natella, R., Zheng, Z., and Lyu, M. R. (2025). A survey on failure analysis and fault injection in AI systems. ACM Transactions on Software Engineering and Methodology, 35(1):1-43. DOI: 10.1145/3732777.
Zhang, Y., Itsuji, H., Uezono, T., Toba, T., and Hashimoto, M. (2022). Estimating vulnerability of all model parameters in DNN with a small number of fault injections. In 2022 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE. DOI: 10.1587/transfun.2022VLP0004.
Zhang, Y., Itsuji, H., Uezono, T., Toba, T., and Hashimoto, M. (2023). Vulnerability estimation of DNN model parameters with few fault injections. IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, E106-A(3):523-530. DOI: 10.1587/transfun.2022VLP0004.
Zheng, Y., Feng, Z., Hu, Z., and Pei, K. (2021). MindFI: A fault injection tool for reliability assessment of MindSpore applications. In 2021 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW), pages 235-238. IEEE. DOI: 10.1109/ISSREW53611.2021.00068.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 José Ronaldo, Otávio Alcântara de Lima

This work is licensed under a Creative Commons Attribution 4.0 International License.

