arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.22174cs.DCcs.AIcs.ARcs.CRcs.LG
收藏

BitFlipScope:面向LLM中位翻故障的可扩展故障定位与恢复

BitFlipScope: Scalable Fault Localization and Recovery for Bit-Flip Corruptions in LLMs

Bradly Dept. of ECE(布拉利电子工程系);Virginia Tech(弗吉尼亚理工学院)

Muhammad Zeeshan Karamat, Sadman Saif, Christiana Chamon Garcia

AI总结:

BitFlipScope通过两种部署场景实现LLM中位翻故障的定位与恢复,利用差分分析和残差路径扰动等方法,支持轻量级性能恢复,提升硬件环境下的模型可靠性。

摘要:

大型语言模型(LLMs)在实际和安全关键应用中日益易受硬件退化、宇宙辐射或故意故障注入攻击(如Rowhammer)导致的位翻故障影响。这些故障会无声地破坏内部参数,导致不可预测或危险的模型行为。定位这些故障至关重要:没有识别受影响区域,就无法诊断退化源、应用针对性修复措施或在不进行昂贵微调或全量重训练的情况下恢复模型功能。本文介绍了BitFlipScope,一种可扩展的软件框架,用于在两种部署场景下识别transformer架构中的故障影响区域。当有干净的参考模型可用时,BitFlipScope通过输出、隐藏状态和内部激活的差分分析来检测异常行为,以定位故障。当没有参考模型时,它使用残差路径扰动和损失敏感性分析来直接从损坏的模型中推断故障影响区域。在两种情况下,该框架不仅实现了有效的故障诊断,还支持无需微调的轻量级性能恢复,为恢复损坏的模型提供了实用路径。这些能力使BitFlipScope成为在硬件易损和对抗性环境中实现可信、故障容错LLM部署的重要一步。

英文摘要:

Large Language Models (LLMs) deployed in practical and safety-critical settings are increasingly susceptible to bit-flip faults caused by hardware degradation, cosmic radiation, or deliberate fault-injection attacks such as Rowhammer. These faults silently corrupt internal parameters and can lead to unpredictable or dangerous model behavior. Localizing these corruptions is essential: without identifying the affected region, it is impossible to diagnose the source of degradation, apply targeted corrective measures, or restore model functionality without resorting to costly fine-tuning or full retraining. This work introduces BitFlipScope, a scalable, software-based framework for identifying fault-affected regions within transformer architectures under two deployment scenarios. When a clean reference model is available, BitFlipScope performs differential analysis of outputs, hidden states, and internal activations for detecting anomalous behavior indicative of corruption to pinpoint or localize faults. When no reference model exists, it uses residual-path perturbation and loss-sensitivity profiling to infer the fault-impacted region directly from the corrupted model. In both settings, the framework not only enables effective fault diagnosis but also supports lightweight performance recovery without fine-tuning, offering a practical path to restoring corrupted models. Together, these capabilities make BitFlipScope an important step toward trustworthy, fault-resilient LLM deployment in hardware-prone and adversarial environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑