2025 Volume 34 Issue 4
Article Contents

Qing Liu, Haomiao Cheng, Xiang Yao, Zhengxuan Zhang, Zhiyuan Hu, Dawei Bi. Enhancing neural network robustness: Laser fault injection resistance in 55-nm SRAM for space applications[J]. Chinese Physics B, 2025, 34(4): 046104. doi: 10.1088/1674-1056/adacd1
Citation: Qing Liu, Haomiao Cheng, Xiang Yao, Zhengxuan Zhang, Zhiyuan Hu, Dawei Bi. Enhancing neural network robustness: Laser fault injection resistance in 55-nm SRAM for space applications[J]. Chinese Physics B, 2025, 34(4): 046104. doi: 10.1088/1674-1056/adacd1

Enhancing neural network robustness: Laser fault injection resistance in 55-nm SRAM for space applications

  • Received Date: 19/12/2024
    Accepted Date: 20/01/2025
    Available Online: 01/03/2025
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(8)  /  Tables(2)

Article Metrics

Article views(403) PDF downloads(1) Cited by(0)

Access History

Enhancing neural network robustness: Laser fault injection resistance in 55-nm SRAM for space applications

Abstract: The integration of artificial intelligence (AI) with satellite technology is ushering in a new era of space exploration, with small satellites playing a pivotal role in advancing this field. However, the deployment of machine learning (ML) models in space faces distinct challenges, such as single event upsets (SEUs), which are triggered by space radiation and can corrupt the outputs of neural networks. To defend against this threat, we investigate laser-based fault injection techniques on 55-nm SRAM cells, aiming to explore the impact of SEUs on neural network performance. In this paper, we propose a novel solution in the form of Bin-DNCNN, a binary neural network (BNN)-based model that significantly enhances robustness to radiation-induced faults. We conduct experiments to evaluate the denoising effectiveness of different neural network architectures, comparing their resilience to weight errors before and after fault injections. Our experimental results demonstrate that binary neural networks (BNNs) exhibit superior robustness to weight errors compared to traditional deep neural networks (DNNs), making them a promising candidate for spaceborne AI applications.

1.   Introduction
  • To achieve high-performance, cost-effective solutions for new space missions, a novel paradigm has emerged. This paradigm is characterized by the innovative adaptation of established technologies and methodologies from the traditional space industry. As a result, the industry has increasingly shifted toward flexible, cost-efficient, and high-performance equipment for space missions. Among these, commercial-off-the-shelf (COTS)[1] devices, which are pre-manufactured and readily available, have gained popularity for critical mission tasks due to their ability to meet these requirements. These attributes make COTS SRAM an optimal choice for space-based applications. SRAM-based FPGAs are widely deployed in satellites and other spacecraft because of their abundant logic resources and superior reconfigurability.

    Convolutional neural networks (CNNs) are increasingly utilized across a wide range of fields, from image processing to high-performance computing in space applications.[2–5] However, when deployed in spaceflight contexts, CNNs encounter significant reliability issues due to the effects of space radiation. Specifically, the memory of hardware accelerators used to run CNNs has been found to be particularly vulnerable soft errors caused by space radiation. After irradiation to a fluence of 2.6 × 107 cm−2, 29% of 105 output neuron magnitudes had changed due to SEUs in the SRAM.[6] The memory of hardware accelerators holds a large amount of data and weight parameters for CNNs. SEUs in storage circuit can result in abnormal data interactions, particularly those affecting the weight parameters, can propagate through the networks computations, ultimately resulting in reduced accuracy in CNN performance.

    To mitigate soft error rates, various traditional system-level SEU mitigation techniques have been developed, focusing on enhancing fault tolerance through redundancy methods.[7,8] Prominent techniques include the triple module redundancy (TMR) architecture and error correction coding (ECC) technology. However, due to the substantial computational demands and large parameter sets characteristic of CNNs, these methods are suboptimal for deep learning applications. On the one hand, the large number of weight parameters in CNNs consumes significant storage resources on hardware accelerators. On the other hand, error correction coding methods reduce computational speed and are ineffective in addressing multiple bit upsets (MBUs).[9] To be applied broadly across many fields, neural networks must be shown to be robust against main memory errors caused by nuclear radiation, or cosmic rays.

    Recent research has primarily focused on the impact of single event effects (SEEs) on basic convolutional neural network (CNN) models, particularly in the realm of image classification tasks. For example, the study conducted by Libano et al.[10] demonstrated that quantizing convolutional layer weights can reduce radiation sensitivity by 39%. Additionally, Sergio Alejandro Rosales Vargas et al.[11] introduced the dual-binary approach for modeling the effects of single event transients (SETs) on networks presents innovative methods to address transient errors in smaller-scale models. Xu Zhao et al.[12] developed a CNN system for the MNIST dataset using a 28-nm system-on-chip (SoC) and assessed its susceptibility to SEEs through alpha particle irradiation experiments and fault injection techniques. While previous studies have advanced the understanding and mitigation of SEEs’ impacts on CNN weights and overall model performance, a gap persists in exploring the comprehensive effects of SEEs, particularly regarding data integrity. SEEs can lead not only to erroneous weight updates but also to the corruption of data stored in memory, including inputs to CNNs such as images in the NMIST-Fashion dataset. This dual-point of impact introduces additional complexity, further reducing the reliability of the CNN model.

    To address these challenges, this work uses image denoising accuracy to assess the effects of radiation in binary neural networks and single-precision CNNs. These networks are designed to combat data corruption and ensure reliability in irradiation environments. The main contributions of this study are summarized as follows:

    (i) The impact of single event upsets (SEUs) on neural network feature inputs and model weights is examined. It is found that bit flips occurring in SRAM mainly follow a Poisson distribution.

    (ii) Neural networks are employed at the system level to denoise and restore image pollution caused by radiation. The results indicate that soft errors have a greater impact on the last layer of convolution in the network.

    (iii) Laser fault injection in Bin DNCNN suggests that binary neural networks exhibit superior robustness to weight errors compared to traditional deep neural networks.

    The rest of the paper is organized as follows. Section 2 summarizes the state-of-the-art fault injection platforms, as well as the background related to binary neural networks. Section 3 describes the experimental methodology, including the proposed solution. Experimental results and a detailed discussion are presented in Section 4. Section 5 concludes the paper.

2.   Background
  • To investigate the effects of SEEs caused by various types of radiation on integrated circuits, fault injection has emerged as a fundamental and straightforward method. Several fault injection techniques have been developed,[5,13] with simulation-based and hardware-based fault injection being two commonly used approaches for injecting faults into memory. Both techniques can alter memory logic values with high precision.

    Simulation-based software fault injection methods are widely utilized due to their simplicity and adaptability. Specifically, register-transfer level (RTL) fault injection simulates the circuitry of the device under test, enabling the observation of fault propagation from the gate level to the software output. Although this approach is generally cost-effective, the low-level abstraction involved in fault injection can require considerable time to complete, with the duration depending on the complexity of the hardware and the application being executed.[14]

    Hardware-based fault injection can be performed using contact-based methods, which perturb the external interface of the integrated circuit,[15,16] or non-contact methods that use external energy sources. A prominent technique involves laser beam-induced faults in SRAM. By exposing the chip to a laser beam, a temporary conductive channel is formed in the dielectric, which causes the transistor to switch states in a precise and controlled manner. By adjusting laser parameters such as beam diameter and emission energy, attacks can not only affect signal timing on the chip but also precisely flip bits in the memory.[17,18]

  • Binary neural network (BNN) utilizes the most lightweighted quantization {−1, +1} as its weight and activation values in each layer. The full-precision convolution Xif⊗Wif (Xif, Wif, and ⊗ are full-precision activations, weights, and Conv respectively) is approximated by the binary convolution Xib⊗Wib. For binary convolution, both weights and activations (xi,jb) are binarized to −1 and +1. Efficient bitwise XNOR and bit counting operations can replace computationally heavy floating-point matrix multiplication, which can be defined as[19]

    In contrast to full-precision networks, binarized models significantly expedite the forward propagation process and alleviate computational complexity. However, they may experience a decrease in accuracy due to the constrained representational capacity of features and the non-differentiability of binary functions. To counteract this issue, various approaches have been proposed to ameliorate the adverse effects of network binarization and enhance performance without substantially increasing computational complexity. BNN[20] pioneers the complete binarization of CNN weights and activations, employing Xnor and PopCount operations to simplify full-precision matrix multiplication. Xnor-Net[21] enhances the performance of BNN on large-scale datasets by introducing scaling factors to both the weights and activations. ReActNet[22] further optimizes BNN performance on extensive datasets by employing reshaped output distributions. This is accomplished through the incorporation of learnable thresholds before the sign function and the integration of RPReLU activation functions following each residual connection.BiSRNet,[23] designed a new binary convolution module called binarized spectral redistribution convolution for spectral compression reconstruction tasks, which achieved results comparable to full precision CNN.

3.   Methodology
  • In this section, we first present the practical laser fault injection setup in Subsection 3.1. Then, in Subsection 3.2, we provide a detailed introduction to the proposed binary neural network.

  • Our setup is depicted in Fig. 1(a). The laser source of the test system was pulsed Nd:YAG laser, with a wavelength of 1064 nm and a pulse duration of 25 ps, and its penetration depth in silicon reaches 1000 μm, the depth for sensitive region in a device is less than 30 μm.[24] The pulse repetition rate ranged from 1 kHz to 5 kHz, and the focused laser spot could be adjusted between 1 m and 2 m. The device under test (DUT) was a 55-nm, 64-kbit radiation-hardened SRAM[25] as shown in Fig. 1(b), placed on a field-programmable gate array (FPGA)-based testing system. The DUT was supplied with a core voltage of 1.2 V and a peripheral I/O voltage of 3.3 V by the testing system. The package of this chip was opened so that there is direct visibility on a back-side silicon die with a laser. The board was placed on an XYZ positioning table with a step precision of 0.1 m in the XY directions. A variety of data patterns were used, including blanket zero data (0000), blanket one data (FFFF), checkerboard data (5A5A), image data (each pixel data was represented as an 8-bit unsigned integer), and pre-trained neural network weight data (represented as 32-bit single precision numbers). The data pattern was written into the DUT by the testing system before laser irradiation. Five laser energies were chosen and the calculated equivalent linear energy transfer (LET) was similar to heavy ion, as shown in Table 1. Three samples per cell were measured for laser irradiation.

  • To address the issue of radiation-induced data corruption, such as the degradation of image quality, we propose a binary convolutional neural network-based image denoising approach, referred to as Bin-DNCNN. The proposed method builds upon the existing DnCNN,[26] as illustrated in Fig. 2(a). The core building block of DnCNN, depicted in Fig. 2(b), consists of key components, including convolutional (Conv) layers, batch normalization (BN) layers, and ReLU activation layers. Batch normalization, in particular, helps mitigate the internal covariate shift encountered during training, accelerating the learning process and preventing the vanishing gradient problem. The primary function of DnCNN is not to directly transform noisy images into noise-free ones but to identify and model noise patterns within the noisy images. This residual learning strategy improves model stability during training and enhances the effectiveness of denoising.

    To improve the performance of binary neural networks, the Bin-DNCNN architecture, shown in Fig. 2(c), follows the design principles of ReAct-Net, depicted in Fig. 2(d). Residual connections are incorporated to refine activation information, enhancing the networks ability to propagate and preserve feature representations. Additionally, learnable biases are introduced in the sign and activation functions to correct gradient mismatches, optimizing the activation distribution, which is crucial for the binary network’s convergence and accuracy during training.[22] The denoising performance is also compared with the BiSRNet network, shown in Fig. 2(e).

    Following a description of the experimental methodology, we provide insights into the effects of SEU errors on both the feature inputs to neural networks and the weights of the models.

4.   Experimental results
  • In this section, we detail the impact of SEU errors within a medium-sized convolutional neural network. Following a description of the experimental methodology, we provide insights into the effects of SEU errors on both the feature inputs to neural networks and the weights of the models.

  • The measured SEU cross-section under pulsed laser irradiation is shown in Fig. 3. The Weibull function, as given in Eq. (3), was used to fit the SEU cross-sections for various data patterns stored in SRAM, where σ represents the SEU cross-section, σsat denotes the saturation SEU cross-section, W is the shape factor (a dimensionless parameter), S is the exponential factor (also a dimensionless parameter), and Lth is the threshold LET for SEU occurrence. According to the fitted curves in Fig. 3, the Lth and σsat of the SRAM are 5.61 MeV⋅cm2/mg and 2.36 × 10−7 cm2/bit, respectively. As the LET increased from 37 MeV⋅cm2/mg to 75 MeV⋅cm2/mg, the device current began to increase exponentially, and single event latch-ups (SELs) occurred in the DUT, causing irreparable damage to the device.

    Figure 4 illustrates the bit flips caused by SEU in image data under various LET values of 8, 15, and 37 MeV⋅cm2/mg, with each noise pixel in the image indicating a single-bit flip or multiple-bit flips. We use two metrics,[27] SSIM (structural similarity index measure) and PSNR (peak signal-to-noise ratio), to assess the impact of radiation on image data. The lower the values of these metrics, the more severe the data contamination. It is evident from the figure that higher LET lead to an increase in noise pixels and a greater degradation of image quality.

    To evaluate the impact of irradiation on data integrity, bitwise XOR operations and bit counting were performed on the data before and after laser irradiation. The number of bit flips, denoted as Nff = Bitcount(Xpre-irradiation ⊕ Xpost-irradiation), provides a statistical measure of the bit flips. As shown in Fig. 5, the data remained unchanged when the LET was below 5 MeV⋅cm2/mg. At an LET of 8 MeV⋅cm2/mg, fewer than 1% of the bits underwent SEU-induced single-bit flips. When the LET reached 15 MeV⋅cm2/mg, multiple-bit flips began to occur. At an LET of 37 MeV⋅cm2/mg, the proportion of multiple-bit flips increased to 70%. This is attributed to the charge-sharing effect in SRAM cells, where a single-particle upset in one bit can cause adjacent bits to flip, leading to consecutive bit flips.

    The probability P(X = k) of bit flips occurring in SRAM during a single test cycle can be estimated using the Poisson distribution[28,29]

    Here, λ represents the expected number of SEUs during one test cycle. Statistical analysis has shown a significant correlation between λ and the energy injected by the laser.

    Images corrupted by noise can significantly affect subsequent analysis and processing in space applications. Therefore, algorithmic optimization to reduce image noise and improve resolution, without altering the system hardware, is crucial for enhancing the reliability of COTS devices. Figure 6 demonstrates the image restoration performance of the proposed binary neural network, Bin-DNCNN. When the LET is ⩽ 15 MeV⋅cm2/mg, the image data can be substantially restored to a quality comparable to the pristine image. At an LET of 37 MeV⋅cm2/mg, the model effectively mitigates noise, though there is a significant loss in image resolution.

    To validate the effectiveness of the model, we used the Kodak24 and CBSD100 datasets as benchmarks, as shown in Table 2. The proposed Bin-DNCNN model outperforms other binarized models but still shows a slight accuracy gap when compared to the single-precision DNCNN model. In terms of model complexity, metrics such as operations per second (OPs) and the number of trainable parameters (Params) demonstrate that the binary neural network substantially reduces storage requirements and accelerates computational speed, making it well-suited for hardware acceleration. Specifically, at a Poisson noise level of 0.293 on the CBSD100 dataset, our method achieved only a 2.68-dB reduction in PSNR compared to DNCNN. This highlights the potential of deploying binary neural networks on embedded devices.

  • In this section, we investigate the impact of single-event upsets on neural network weights. Full-precision neural networks are encoded as single-precision floating-point numbers according to the IEEE 754 standard, which consists of three components: the sign bit, the exponent, and the mantissa.

    For instance, in Eq. (5), storing the number 0.33 in memory may result in a significant change in value due to a bit flip. Specifically, a bit flip at the red-marked position can decrease the value by more than twentyfold, while a bit flip at the green-marked position can exponentially increase the value. When a single-bit flip occurs in the mantissa, the impact on the parameter value is relatively small. However, a flip in the sign or exponent bit has a far more substantial effect. Moreover, considering that particles can induce multiple-bit flips, a flip in one position of a parameter significantly increases the likelihood of additional bit flips in the same parameter.

    Figure 7(a) illustrates the variation in the noise reduction performance of the DNCNN convolutional network under different LET values. Each column of data represents the effect of error injection into the weights of the current convolutional layer on the model’s noise reduction performance. For the same convolutional layer, it is evident that as the LET value increases, the model’s noise reduction performance declines sharply due to an increase in single-event upset (SEU) error injection. When the LET value is low and fewer errors are injected into the model weights, the noise reduction performance varies significantly. For instance, in the first convolutional layer, the denoising effect may drop from 0.98 to 0.12. This substantial change is likely caused by bit flips in the exponent part of the weight data, which drastically alter the weight values. However, not all errors are critical to model accuracy; in most cases, the model’s output can still achieve the baseline level, fully utilizing its noise reduction capabilities. This highlights the inherent robustness of convolutional neural networks. At an LET value of 37 MeV⋅cm2/mg, the accuracy of nearly all convolutional layers falls below 0.3. In extreme cases, the errors adversely affect image noise reduction, degrading the model’s output quality.

    A comparison of the layers under the same radiation conditions shows that the vulnerability of neural network layers is related to their position in the network. Specifically, the final layer is the most vulnerable, as illustrated in Fig. 7(a). Errors in SEUs occurring in later layers are more likely to affect recognition accuracy than those in earlier layers. This is because CNNs include batch normalization (BN) layers following each convolutional layer, which help pull weight data back into a normal distribution, potentially shielding errors and enhancing stability. As faults in earlier layers pass through multiple BN layers, the probability of data being shielded increases. Consequently, weight changes in later layers are more likely to affect the output, making SEU errors in these layers more detrimental to noise reduction performance.

    The binary convolutional shows greater robustness to radiation, as indicated in Fig. 7(b). With the increase in LET value, the number of faults induced by laser injection also increases, and the accuracy of the denoising results is relatively reduced, following a similar trend to single-precision floating-point neural networks, but with far less decay in noise reduction performance. The significant difference in accuracy decreases depending on the affected layers. For example, When the LET reached 37 MeV⋅cm2/mg, DNCNN decreased accuracy to 0.001 in the first convolutional layer, while BIN-DNCNN achieved a denoising result of 0.765 in the last convolutional layer. At an LET of 8 MeV⋅cm2/mg, the denoising performance of DNCNN exhibits considerable variability, with denoising effectiveness fluctuating between 0.12 and 0.98 in the first convolutional layer. In contrast, BIN-DNCNN demonstrates strong stability with the denoising effect remaining essentially constant at 0.92.

    In fault injection tests across various convolutional layers, Bin-DNCNN demonstrates a unique pattern relative to the DNCNN model, with the initial layer being the most susceptible to errors. Similar findings are reported in Ref. [30]. The weight variations in the first layer substantially affect the processing and propagation of input features to subsequent layers, which may result in increased errors or further deterioration of the model’s accuracy.

5.   Conclusion
  • This paper provides a comprehensive assessment of the reliability of neural networks under laser fault injection. Firstly, Our initial analysis focused on the impact of fault injection on data inputs and network weights, revealing that SEUs in data follow a predominantly Poisson distribution, with increased laser energy intensifying Poisson noise in the image data. Subsequently, To mitigate the effects of SEUs on image data, we employed the DNCNN model for noise reduction. However, soft errors induced extreme weight values, significantly perturbing the convolutional layers and diminishing the model’s denoising effectiveness, particularly in the later layers. To further enhance neural network reliability, we introduced the Bin-DnCNN framework, a binary neural network that restricts convolutional layer weights to the binary set {−1, 1}. This approach reduces the memory footprint of the DNN and enhances the resilience of certain network parameters against soft errors. Nevertheless, soft errors have a more pronounced impact on the earlier layers, Finally, the laser experiments result indicates that binary neural networks enhance the precision and robustness of the network under irradiation environments.

    Overall, this study’s results significantly enhance our understanding of the effects of SEUs on neural networks designed for space applications. This research lays the foundation for developing more robust, fault-tolerant AI chips and systems, thereby ensuring the reliability and stability of neural network-based technologies in critical space missions.

Figure (8)  Table (2) Reference (30)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return