arXiv:2610.09999cs.AROct 2026

Manuscript Offprint

arXiv:2610.09999

ReSAFT: An Efficient Stuck-at Fault-Tolerant Scheme for ReRAM-based Process-in-Memory Accelerators

Aniseh Dorostkar, Hamed Farbeh, Hamid R. Zarandi

Abstract

Analog ReRAM-based process-in-memory (PIM) accelerators provide high parallelism and energy efficiency for deep convolutional neural networks (CNNs) inference. However, their susceptibility to permanent faults, such as stuck-at high (SaH) and stuck-at low (SaL) resistance states, poses a major challenge by permanently corrupting the CNN weights mapped to conductance values of ReRAM cells and degrading inference accuracy, which leads to system unreliability in safety-critical applications. In this paper, we propose a fault-tolerant scheme for analog ReRAM-based PIM accelerators to tackle stuck-at faults (SAFs) with minimal redundancy overhead to recover classification accuracy degradation. The proposed scheme contains a redundancy-based hardware solution alongside fault-aware mapping method for ensuring reliable analog computation in ReRAM crossbar. We analyze the impact of varying number of redundant rows and columns on accuracy and design metrics. Subsequently, a multi-objective optimization (MOO) problem is formulated and solved to efficiently determine the number of redundant rows and columns, considering trade-offs among various design metrics. Furthermore, a fault-aware weight mapping is proposed for dual-crossbar structures to further compensate for the accuracy degradation caused by SAFs. Simulation results show that, for the SimpleNet model using the MNIST dataset, the inference accuracy is recovered by approximately 22.39%, on average, across four configurations of optimal solutions, each offering a trade-off between reliability and area, energy consumption, and latency overheads. The mean-time-to-failure (MTTF) improves by about 61×61\times on average compared to the baseline. These selected configurations also reduce energy and area overheads by 32%, on average, in comparison to row-only and column-only configurations.

Keywords: Convolutional neural networks (CNNs), fault-tolerant, hardware accelerators, process-in-memory (PIM), resistive random-access memory (ReRAM)

1. Introduction

Deep neural networks (DNNs), particularly convolutional neural networks (CNNs), have greatly impacted applications such as healthcare, autonomous vehicles, space missions, and other safety-critical systems [1]. Their remarkable performance in classification, detection, and recognition comes from deep, multi-layered architectures that extract features through vector-matrix multiplication (VMM) operations. However, increasing network complexity to achieve higher accuracy also significantly raises computational cost, memory/storage requirements, and energy consumption.

To meet the demanding computational needs of CNNs, conventional computing platforms based on CPUs, graph processing units (GPUs) and field-programmable gate arrays (FPGAs) are increasingly facing performance bottlenecks such as the memory wall and the power wall. Due to these limitations, processing-in-memory (PIM) paradigm have gained attention, which integrate computation directly within memory arrays, thereby reducing data movement and energy consumption. Among various memory technologies enabling PIM, Resistive Random-Access Memory (ReRAM) has emerged as a promising candidate due to its non-volatility, high density, low power consumption, and capability to perform analog PIM. Using the ReRAM crossbar structure, ReRAM-based PIM accelerators such as ISAAC [2], PRIME [3], and PipeLayer [4] can perform massively memory-intensive VMM operations in parallel, making them highly efficient for CNN inference.

Despite the mentioned advantages, due to the limitation of fabrication technology, ReRAM-based PIM accelerators suffer from process variations (PVs) [5, 6], limited write endurance [6, 7], sources of noises [8], and nonlinearity of current–voltage characteristics [9] and hardware faults [9–12]. ReRAM faults are categorized into transient and permanent types based on their temporal characteristics [13], and arise either in fabrication phase or operational phase. Transient faults are temporary and non-destructive which typically caused by disturbances like high energy particle hitting the electrical device, resistance drift, PVs, temperature fluctuations, or read/write disturbance [1, 14, 15]. These faults change the resistance of the cells without physically damage the ReRAM cells as they can still function, because the resistance of the cell can change.

*Corresponding author

Email addresses: a_dorostkar@aut.ac.ir (Aniseh Dorostkar), farbeh@aut.ac.ir (Hamed Farbeh), h_zarandi@aut.ac.ir (Hamid R. Zarandi)

0167-739X/© 2026 Elsevier B.V. All rights are reserved, including those for text and data mining, AI training, and similar technologies. The final published version is available at: https://doi.org/10.1016/j.future.2026.108685

In contrast, permanent faults are persistent over time and the resistance of cell is unchangeable. These faults are due to irreversible physical damage, often introduced by fabrication limitations (oxide layer thickness, process fluctuations, or reduced feature sizes [16, 17]) or limitation in endurance [7, 8]. Defects such as short defects and overforming stage defects [17], cause the resistance of a cell to stuck-at a resistance value (stuck-at high (SaH), stuck-at low (SaL) or stuck-at value (SaV) resistant state). SaH faults are commonly caused by short defects that force the cell to remain in high resistance state (HRS), while SaL faults may result from permanent cell failures, broken selectors, or damaged interconnects that force the cell to remain in low resistance state (LRS). Regardless of passing the manufacturing tests of ReRAM cells, permanent faults can occur over lifetime due to limited write endurance, excessive write-0 (or write-1) pulses [6, 18], or by damages to the device or transistor (e.g., due to wear out [19]).

Since NN parameters are mapped to the conductance values of ReRAM cells, any faults in ReRAM cells can easily corrupt these learned values, directly impact the outcomes of VMM, leading to computational inaccuracies. Consequently, process variations (PVs) and faults in ReRAM technology not only lower the yield of memory arrays but also impair the inference accuracy of CNNs executed on PIM accelerators [20]. The vulnerability of ReRAM-based PIM accelerators in executing CNNs is highly sensitive to factors such as the type and depth of network layers, the location of learning parameters within each layer, as well as the value and types of the faults [21].

To address the reliability limitations of ReRAM-based PIM systems against faults, various software- and hardware-based fault-tolerant methods including mapping-based methods [14, 22–26], fault-aware training methods [5, 14, 16, 27, 28], error detection and correction codes [29–34], and redundancy-based methods [35], have been proposed. Although software-based methods are cost-effective, most of them are not applicable to permanent faults due to the unchangeable resistance of faulty cells or become inefficient under high fault rates.

Conversely, existing hardware redundancy solutions, primarily designed for digital memory-centric applications, are not directly applicable to analog ReRAM-based PIM systems. In PIM crossbars, the fundamental computational unit is a column performing VMM; consequently, a single faulty cell can compromise the functionality of the entire column. Although 1T1R structures allow faulty cells to be isolated by controlling their associated access transistors [36]. This approach introduces substantial routing overhead. Furthermore, conventional redundancy-based methods typically rely solely on redundant rows or columns and deactivate an entire row or column once a fault is detected. However, these methods are often too coarse-grained for analog computing, resulting in substantial inefficiencies in area, power consumption, and latency that diminish the inherent energy and throughput advantages of PIM accelerators.

Consequently, there is a critical need for a solution that balances the trade-off between hardware cost, reliability, and inference accuracy in CNN models through integrated hardware-software-based solutions. Specifically, leveraging an optimal level of hardware and software redundancy mechanisms can effectively compensate for accuracy loss caused by SAFs.

This work is motivated by trading off the reliability, cost, and inference accuracy in analog ReRAM-based PIM accelerators. Our goal is to design a fault-tolerant architecture that tackles SAFs with minimal redundancy overhead while preserving CNN classification accuracy. To this end, we propose ReSAFT, a fault-tolerant scheme for analog ReRAM-based PIM accelerators that combines a redundancy-based ReRAM crossbar architecture with fault-aware mapping and remapping methods to tolerate SAF efficiently. The proposed fault-tolerant crossbar architecture integrates a combination of redundant rows and columns into the ReRAM crossbar structure with significantly fewer redundant resources compared to conventional redundancy schemes. We evaluate the impact of varying the number of redundant rows and columns on CNNs classification accuracy and design metrics, including reliability, energy consumption, area overhead, and latency. We then formulated and solved an architecture-level optimization problem to determine the adequate number of redundant rows and columns, a problem that requires solving complex multi-dimensional trade-offs among these design metrics. To efficiently utilize resources, we further propose software-level mapping and input scheduling across redundant rows and columns, and a dual-crossbar remapping method, which are applied at runtime. The main contributions of this article are as follows:

  1. We propose a hardware redundancy-based fault-tolerant crossbar architecture for analog ReRAM-based PIM accelerators. Unlike conventional methods that rely solely on either row or column redundancy, the proposed architecture employs a combination of redundant rows and columns that uses the strengths of both to tolerate SaH and SaL faults. Specifically, redundant columns are used to tolerate both SaL and SaH faults, while redundant rows tolerate SaH faults via current adjustment, significantly reducing area overhead compared to column-only methods.

  2. A multi-objective optimization (MOO) problem is formulated and solved to determine the adequate number of redundant rows and columns in ReRAM-based crossbars. The formulation considers trade-offs among design metrics including MTTF, energy consumption, latency, and area while satisfying a classification accuracy constraint.

  3. To efficiently use the hardware redundancy, a fault-aware mapping algorithm is proposed to sufficiently map faulty cells to appropriate redundant cells based on the specific fault type and location. This is an algorithmic enhancement to the PIM controller that works with the proposed redundant-based crossbar.

  4. A complementary and low-cost fault-aware weight remapping is applied at runtime across dual ReRAM crossbars (contain positive and negative crossbars) for the remaining faults that cannot be tolerated by ReFTC architecture. This method ensures reliable computation while minimizing overhead and compensates for the accuracy degradation caused by SAFs.

The rest of this article is organized as follows. Section 2 provides the background on NNs, ReRAM devices, and accelerator and a comprehensive review of related work. Section 3 describes the process of the proposed fault-tolerant scheme and details the redundancy-based crossbar design along with the proposed mapping and scheduling methods and evaluates the impact of varying the number of redundant rows and columns on design parameters. The simulation results and analysis of our methods are provided in section 4. Finally, section 5 concludes the article.

References (33)