arXiv:2609.04912cs.ARSep 2026

Manuscript Offprint

arXiv:2609.04912

TreeFI: Value-Aware Statistical Fault Injection for Deep Neural Networks

Noam Bires, Marcello Traiola, Angeliki Kritikakou, Elisa Fromont

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Noam Bires

noam.bires@inria.fr

Univ Rennes, Inria, IRISA,

CNRS, Rennes, France

Marcello Traiola

marcello.traiola@inria.fr

Univ Rennes, Inria, IRISA,

CNRS, Rennes, France

Angeliki Kritikakou

angeliki.kritikakou@inria.fr

Univ Rennes, Inria, IRISA,

CNRS, Rennes, France

Elisa Fromont

elisa.fromont@irisa.fr

Univ Rennes, Inria, IRISA,

CNRS, Rennes, France

Abstract

Reliability evaluation of deep neural networks under hardware faults commonly relies on fault injection, but exhaustive campaigns are intractable for modern models and datasets. Statistical fault injection reduces this cost, yet existing approaches still require large injection budgets because they do not explicitly exploit a key property of floating-point faults: the effect of a bit flip depends strongly on the value being corrupted.

We propose TreeFI, a value-aware statistical fault-injection methodology for FP32 single-bit faults in DNN activations and weights. TreeFI partitions each layer's value distribution into intervals with similar expected bit-flip behavior, learned using regression trees, and allocates injections across these intervals according to their relevance for failure-rate estimation. This stratified allocation preserves the target confidence and error margin while avoiding unnecessary injections in low-impact regions of the fault space.

We validate TreeFI on CNN and Transformer models using CIFAR-10 and ImageNet. On ResNet8, where exhaustive activation fault injection is feasible, TreeFI provides more accurate estimates than state-of-the-art statistical FI baselines under the same campaign setting. Across the evaluated models, TreeFI reduces the required injection budget by up to 72.1×, with average reductions of 44.9× for activation faults and 11.2× for the executed weight campaigns.

Keywords: Statistical fault injection, Deep neural networks, Reliability assessment, Soft errors

1 Introduction

Deep Neural Networks (DNNs) are increasingly deployed in safety-and mission-critical systems, where dependability is as important as predictive performance. In these domains, transient hardware faults, such as soft errors induced by radiation or electrical noise, may cause bit flips that silently corrupt intermediate computations and alter the final prediction, affecting the system's correctness. Assessing the impact of such faults is therefore necessary to evaluate the reliability of the system [1-5].

Because the effects of these faults depend on where and when they occur, reliability evaluation typically relies on fault injection (FI), which emulates faults during execution and observes their impact on the model output [3, 4]. However, exhaustive FI rapidly becomes impractical for modern model architectures and datasets, because it requires exploring a massive space of injection locations within the model, bit positions, and inputs. To address this challenge, Statistical Fault Injection (SFI) approaches have been proposed to reduce the cost of FI, while still providing statistically meaningful reliability estimates [6-8]. These approaches significantly improve scalability compared with exhaustive campaigns and currently represent the state-of-the-art for efficient FI evaluation of neural networks [7, 8]. Despite these advances, current SFI approaches still neglect an important source of variation in the fault space: the effect of a bit flip strongly depends on the value being corrupted. This is particularly important when the values in a DNN layer span a wide range. For a specific bit position, the original value determines both whether this bit is 0 or 1 and how much the value changes when this bit is flipped. As a result, two injections targeting the same bit position can have very different effects depending on the stored value. However, existing SFI methods do not systematically exploit this behavior, leaving room for further reductions in the number of required injections.

To address this gap, this paper proposes TreeFI, a value-aware statistical fault injection methodology for evaluating DNN reliability. The key idea is simple: bit flips do not have the same impact for all values, so TreeFI first groups layer values into ranges that behave similarly under bit flips. It then allocates more injections to the value ranges that matter most for estimating the failure rate, while still targeting a user-specified confidence and error margin. To do so, TreeFI learns value ranges for each layer and bit position using regression trees, and then derives a stratified sampling strategy that requires substantially fewer injections than state-of-the-art SFI approaches. This work adopts the single-bit fault model commonly used in statistical fault injection studies of deep neural networks (DNNs) [7, 8], where faults are represented as independent bit corruptions under the single-fault assumption. The objective of this work is not to evaluate the realism of the fault model, but to reduce the number of injections required to achieve a target statistical accuracy given a predefined fault population. Software-level single-bit injections are therefore used solely to define a fully characterizable reference population, enabling rigorous validation and comparison of the proposed statistical acceleration method. Although real hardware faults may produce multi-bit errors or exhibit temporal and spatial correlations, accurately modeling such effects requires detailed low-level hardware characterization and is beyond the scope of this study.

We evaluate TreeFI using software FI, in line with prior SFI literature, and compare it against state-of-the-art data-aware one-shot [7] and iterative Statistical FI [8] approaches. We first evaluate the proposed methodology on two Convolutional Neural Network (CNN) architectures: ResNet8 [9] and RepVGG-A0 [10] on the CIFAR-10 [11] dataset. To establish a ground-truth reference, we perform an exhaustive FI campaign for ResNet8 activations on 5,000 inputs and use it to evaluate the quality of the resulting reliability estimates. We then study the scalability of the proposed methodology using a much larger dataset, i.e., ImageNet [12], with different Transformer architectures, such as DeiT-Tiny/Small/Base [13]. Overall, the results show that TreeFI achieves up to a 72.1× reduction in injections compared to the data-aware one-shot SFI. Moreover, on

https://gitlab.inria.fr/nbires/treefi the ResNet8 benchmark, where exhaustive ground-truth FI is possible, TreeFI yields lower estimation error in a single statistical FI campaign than the data-aware one-shot SFI. In summary, the main contributions of this work are:

  • a value-aware SFI methodology that exploits the dependence of bit-flip effects on the corrupted value;
  • a per-layer, per-bit partitioning of value ranges into intervals with similar bit-flip behavior, learned using a regression tree;
  • a stratified sampling strategy that targets a desired confidence level and error margin, and reduces the required injections;
  • a thorough experimental evaluation that validates TreeFI against exhaustive FI (ResNet8), compares it with two state-of-the-art statistical FI baselines, and includes a hyperparameter ablation study.

References (30)