SinoTechIntel Academic Portal
Open AccessDOI: 10.1631/ENG_ITEE_2025_0104Original Research

RetryTrigger: intelligent inference duplication for enhancing LLM resilience to hardware transient faults

Jiajia JIAO¹,Yixu YU¹

College of Information Engineering, Shanghai Maritime University, Shanghai 201306, China

Read Executive PreviewQuick FAQ
RetryTrigger: intelligent inference duplication for enhancing LLM resilience to hardware transient faults
Graphical Abstract / Figure
Published In
Engineering Information Technology & Electronic Engineering
Published:December 6, 2025Edition:Vol. 32, Issue 12 • pp. 695-707Citation:Jiajia JIAO et al. (2025), Engineering Information Technology & Electronic Engineering
Impact Factor2.7 (Q2 - Springer)
Sponsored Research Partner
Keywords & Index Terms:Large language modelsSystem resilienceIntelligent fault detectionInference duplicationTransient faultsHardware faultsFault toleranceLightGBM

Key Takeaways & Executive Findings

  • • RetryTrigger is a hardware-free, fault-aware inference methodology that predicts when duplicate inference is needed, eliminating reliance on specialized hardware or restrictive boundary settings. • It leverages runtime output features (maximum probability, top-k gaps, entropy, logits statistics, latency) to train a LightGBM meta-model that accurately detects and mitigates silent data corruptions. • Experiments across seven LLMs show SDC rate reductions up to 95.33% (average 92.97%) with a minimal performance overhead of 2.4012% (average 4.1167%). • RetryTrigger offers a superior reliability-efficiency trade-off compared to ABFT and FT2, making it suitable for safety-critical NLP applications such as medical diagnosis and legal document analysis.
Sponsored Research Highlight

Abstract

Large language models (LLMs) have exhibited outstanding performance across a wide range of natural language processing (NLP) tasks. However, the rising prevalence of hardware transient faults has made silent data corruptions (SDCs) in LLMs increasingly problematic, severely degrading output quality and user experience. State-of-the-art protection schemes primarily rely on hardware-assisted algorithm-based fault tolerance (ABFT) or boundary-setting-driven online fault tolerance (FT2) for selective layers, yet these solutions suffer from strict hardware dependencies, substantial overhead, or incomplete coverage. To address these limitations, we propose RetryTrigger, a novel hardware-free fault-aware inference methodology capable of handling all potential faults. During LLM inference, RetryTrigger dynamically collects runtime output features (e.g., maximum probability, top-k probability gaps, output entropy, logits statistics, and inference latency), which are used to train a LightGBM meta-model. This meta-model accurately predicts whether duplicate inference should be performed, thereby effectively mitigating faults while preserving efficiency without additional hardware dependence. Extensive experiments on seven representative LLMs (including T5-Small, RoBERTa, BioMedBERT, Qwen2.5-Coder-0.5B/7B, MiniMind, and Opt) demonstrate that RetryTrigger reduces SDC rates by up to 95.33% (on average 92.97%) and achieves a minimal performance overhead of 2.4012% (on average 4.1167%), offering a superior balance between reliability and efficiency compared to state-of-the-art solutions.

1. Introduction

Large language models (LLMs), primarily built upon Transformer-based architectures, excel at modeling long-range dependencies through self-attention mechanisms. Leveraging these capabilities, LLMs have achieved remarkable success across a diverse spectrum of natural language processing (NLP) tasks, ranging from sentiment analysis and text generation to language translation and code synthesis (Radford et al., 2019; Zhang et al., 2023; Jiang et al., 2024). The massive-scale pre-training of LLMs enables them to rapidly learn complex linguistic patterns, thereby facilitating their widespread adoption in both academic research and industrial applications.

However, the rapid growth in model size, coupled with prolonged computational workloads, has made LLMs increasingly vulnerable to hardware transient faults. Such faults can be triggered by cosmic ray strikes, voltage fluctuations, or thermal instability, and have become one of the predominant threats to system reliability (Baumann, 2005). Unlike permanent hardware defects, transient faults cause temporary bit upsets that may corrupt intermediate computations and even lead to system crashes. When occurring within LLM architectures during the inference phase, these faults can result in silent data corruptions (SDCs), thereby degrading output quality and diminishing user experience. The impact is even more critical in safety-sensitive domains, such as medical diagnosis (Zhou et al., 2025) and legal document analysis (Battaglini-Fischer et al., 2025), which necessitate non-negotiable resilience against hardware transient faults.

Fault-tolerance research for LLMs spans the training and inference phases. Training-stage defenses often include system-level solutions such as optimized checkpointing and elastic scheduling (Li et al., 2025; Wan et al., 2025), as well as algorithm-based fault tolerance (ABFT) and fault-aware training (Cavagnero et al., 2022; Liang et al., 2025). While effective for long-running distributed training, these methods are rarely tailored for the strict latency constraints of inference. Consequently, inference-stage protections have received increasing attention to mitigate SDCs caused by fault amplification. These works are often classified into the following three categories: (1) Boundary setting policy. Activation clipping and range restriction (Hoang et al., 2019; Chen ZT et al., 2021; Mousavi et al., 2024; Roquet et al., 2024) limit intermediate activation magnitudes to suppress fault propagation. Although effective for small deep neural networks (DNNs), in LLMs, they often require costly offline profiling (Sun et al., 2025) and still leave partial coverage gaps. An illustrative extension of activation clipping for LLMs is first-token-inspired online fault tolerance (FT2) (Sun et al., 2025), which achieves online fault tolerance via a token-boundary setting mechanism. These bounds are derived from the first token's statistics and applied to subsequent tokens.

SinoTechIntel Interactive Document Reader
Page 1–5 of Preview
100%
Download Full PDF

Loading authentic research manuscript (Pages 1–5)...

Sponsored Research Partner
Cite This Research Paper
Jiajia JIAO, Yixu YU (2025). RetryTrigger: intelligent inference duplication for enhancing LLM resilience to hardware transient faults. Engineering Information Technology & Electronic Engineering. https://doi.org/10.1631/ENG_ITEE_2025_0104
SinoTechIntel Academic & Legal Disclaimer

Research & Educational Purpose Only:The translations, structured abstracts, analytical annotations, and data reports provided by SinoTechIntel are intended exclusively for academic research, internal corporate R&D, and educational benchmarking. They do not constitute formal engineering, chemical safety, legal, or professional advice.

Copyright & Intellectual Property Notice: Original copyright of the underlying source articles and experimental data remains with the respective authors, institutions, and original publishing journals. SinoTechIntel claims intellectual property only over its proprietary translations, analytical syntheses, and AEO structured enhancements in accordance with international fair use and academic citation principles.

Frequently Asked Questions

What is RetryTrigger?

RetryTrigger is a hardware-free, fault-aware inference methodology that dynamically predicts whether duplicate inference should be performed to mitigate silent data corruptions caused by hardware transient faults in large language models.

How does RetryTrigger work?

It collects runtime output features (e.g., maximum probability, top-k probability gaps, output entropy, logits statistics, and inference latency) and trains a LightGBM meta-model to classify whether to duplicate inference, thereby avoiding unnecessary overhead under normal conditions.

What performance gains does RetryTrigger achieve?

Experiments on seven representative LLMs demonstrate that RetryTrigger reduces SDC rates by up to 95.33% (average 92.97%) while maintaining a minimal performance overhead of 2.4012% (average 4.1167%).

How does RetryTrigger compare to existing fault-tolerance methods?

Unlike hardware-assisted ABFT and boundary-setting-driven FT2, RetryTrigger requires no additional hardware, reduces performance overhead, and provides more complete coverage of potential faults, achieving a superior balance between reliability and efficiency.

Is RetryTrigger compatible with all large language models?

RetryTrigger was validated on seven representative LLMs, including T5-Small, RoBERTa, BioMedBERT, Qwen2.5-Coder-0.5B/7B, MiniMind, and Opt, demonstrating broad applicability across various model architectures and sizes.

Recommended Scientific Literature & Research Partners

Related Technical Papers & Translations

Research Paper
Design and optimization of a high-efficiency distillation process for cellulosic fuel ethanol integrated with thermal coupling and molecular sieve adsorption

Design and optimization of a high-efficiency distillation process for cellulosic fuel ethanol integrated with thermal coupling and molecular sieve adsorption

To address the challenges of high energy consumption and prominent costs in the traditional three-columns distillation process for cellulosic fuel ethanol, a distillation—molecular sieve coupling separation process is proposed. This process integrates a three-column (crude distillation column, first distillation column, second distillation column) system with a 3A molecular sieve adsorption deep dehydration unit. A thermal coupling network is constructed via differential pressure design (steam from medium/high-pressure columns as mutual heat sources, reboiler liquid waste heat for feed preheating), and molecular sieve adsorption conditions are optimized. The study first performs a thermodynamic consistency test on the ethanol—water system, determines optimal non-random two-liquid (NRTL) model binary interaction parameters via experimental data regression for Aspen Plus simulation. Aiming at minimum total annual cost (TAC), Aspen Plus is used to optimize process parameters (theoretical tray number, feed location, reflux ratio, side-draw position, etc.). Economic analysis shows this process reduces CO2 emission costs by 27.56%, TAC by 15.58% (to 5.123 × 106 USD·a-1), and increases ethanol purity to >99.6%, providing an effective solution for green, efficient separation.

Read Abstract & PDF
Research Paper
A cohesion loss model for determining residual strength of deep bedded sandstone

A cohesion loss model for determining residual strength of deep bedded sandstone

Rock residual strength, as an important input parameter, plays an indispensable role in proposing the reasonable and scientific scheme about stope design, underground tunnel excavation and stability evaluation of deep chambers. Therefore, previous residual strength models of rocks established were reviewed. And corresponding related problems were stated. Subsequently, starting from the effects of bedding and whole life-cycle evolution process, series of triaxial mechanical tests of deep bedded s

Read Abstract & PDF
Research Paper
Federated model with contrastive learning and adaptive control variates for human activity recognition

Federated model with contrastive learning and adaptive control variates for human activity recognition

Recent attention to privacy issues demands a communication-safe method for training human activity recognition (HAR) models on client activity data. Federated learning (FL) has become a compelling technique to facilitate model training between the server and clients while preserving data privacy. However, classical FL methods often assume independent and identically distributed (IID) data among clients. This assumption does not hold true in practical scenarios. Human activity in real-world scena

Read Abstract & PDF