Hierarchical Fault Detection for Transformer Architectures
TransformersFault PropagationMutation TestingDeveloper Study
Transformer faults often change model behavior without raising a runtime error, so loss and numerical values stay normal and the visible symptom rarely identifies the component responsible. DEFault++ extends the DEFault line of work with a hierarchical technique that first detects a fault, then identifies the affected component, and finally reports the cause behind each diagnosis. The method organizes component-level runtime measurements with a fault propagation graph, a structural prior over the architecture's dependency paths. Evaluated on DEFault-bench, a benchmark of 5,556 labeled runs spanning seven models, nine tasks, and both encoder and decoder architectures, it reaches an F1 of 0.826 to 0.909 and raises repair accuracy from 57.1% to 83.3% in a study with 21 developers.