Skip to main content
QUICK REVIEW

[Paper Review] Enhancing Fault Tolerance of Neural Networks for Security-Critical Applications

Manaar Alam, Arnab Bag|arXiv (Cornell University)|Feb 5, 2019
Adversarial Robustness in Machine LearningComputer Science11 references6 citations
TL;DR

This paper proposes a neural network (NN)-based implementation of the AES S-Box with significantly enhanced partial fault tolerance (PFT) for security-critical applications. By applying analytically derived constraints during training, the authors achieve a PFT of 1.21×10⁻⁵% chance of faulty output even under fault injection, validated via FPGA and software implementations on Artix-7, demonstrating a strong trade-off between fault tolerance and hardware overhead.

ABSTRACT

Neural Networks (NN) have recently emerged as backbone of several sensitive applications like automobile, medical image, security, etc. NNs inherently offer Partial Fault Tolerance (PFT) in their architecture; however, the biased PFT of NNs can lead to severe consequences in applications like cryptography and security critical scenarios. In this paper, we propose a revised implementation which enhances the PFT property of NN significantly with detailed mathematical analysis. We evaluated the performance of revised NN considering both software and FPGA implementation for a cryptographic primitive like AES SBox. The results show that the PFT of NNs can be significantly increased with the proposed methodology.

Motivation & Objective

  • To enhance the partial fault tolerance (PFT) of neural networks in security-critical applications like cryptography.
  • To address the vulnerability of standard cryptographic implementations to targeted fault injection attacks, such as laser or clock glitches.
  • To design a neural network-based AES S-Box that outperforms traditional LUT-based implementations in fault resilience.
  • To develop a constrained training strategy that systematically increases fault tolerance without sacrificing accuracy.
  • To evaluate the hardware and software overhead of the proposed fault-tolerant NN architecture on an FPGA platform.

Proposed method

  • Training a feedforward neural network with ReLU and Softmax activation functions, using gradient descent backpropagation, to map 8-bit inputs to 8-bit S-Box outputs.
  • Applying analytical constraints on network weights and biases during training to increase robustness against parameter faults.
  • Designing a hardware-optimized integer-weighted NN using 20-bit fixed-point arithmetic and DSP blocks on Xilinx Artix-7 FPGA.
  • Implementing eight parallel computation units to process 256 neurons efficiently, with an ArgMax block to select the output neuron.
  • Using clock glitching for on-chip fault injection to validate fault tolerance under real-world conditions.
  • Comparing fault rates across multiple NN architectures (8-8-256, 8-32-256, 8-64-256, 8-128-256) and a standard LUT-based S-Box.

Experimental results

Research questions

  • RQ1Can neural networks be made significantly more fault-tolerant than traditional cryptographic S-Box implementations through constrained training?
  • RQ2What is the trade-off between fault tolerance and hardware resource overhead in NN-based cryptographic primitives?
  • RQ3How does the proposed constrained training method affect the probability of faulty output under fault injection attacks?
  • RQ4Can FPGA-based implementations of NN-based S-Boxes achieve practical fault tolerance while maintaining acceptable performance and area usage?
  • RQ5Does increasing the number of neurons in the hidden layer, combined with parameter constraints, lead to a measurable improvement in fault tolerance?

Key findings

  • The 8-128-256 NN architecture achieved a partial fault tolerance (PFT) of 1.21×10⁻⁵%, meaning only 1.21×10⁻⁵% of outputs were faulty under fault injection.
  • The LUT-based AES S-Box, while area-efficient, had a fault rate of 0.00385%, significantly higher than the constrained NN designs.
  • The 8-128-256 architecture operated at 128.66 MHz with 601 slices (7.37%), 1442 LUTs (6.93%), and 33 DSPs (36.67%) on Artix-7 FPGA.
  • The constrained training strategy enabled a smaller 8-64-256 network to achieve PFT comparable to the larger 8-128-256 network without constraints.
  • On-chip fault injection experiments confirmed simulation results, validating the robustness of the proposed learning strategy.
  • The 8-128-256 design achieved the highest fault tolerance (lowest fault rate) among all evaluated implementations, despite higher area and delay overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.