一位比特如何成为故事:通过可微分故障注入实现语义引导
How a Bit Becomes a Story: Semantic Steering via Differentiable Fault Injection
AI总结:
通过可微分故障注入分析,研究比特级扰动对生成模型语义的影响,揭示低级变化如何引导高层语义。
摘要:
难以检测的硬件比特翻转,无论是恶意电路还是bug,已经证明会使transformers在非生成任务中变得脆弱。本工作首次研究了对用于图像描述的大型语言模型(LLM)权重的低级比特扰动(故障注入)如何影响其生成描述的语义含义,同时保持语法结构。尽管先前的故障分析方法显示翻转少量比特可以导致分类器崩溃或降低准确性,但这些方法忽略了生成系统中的语义和语言维度。在图像描述模型中,一个翻转的比特可能微妙地改变视觉特征映射到词语的方式,从而改变AI讲述的世界叙述。我们假设这种语义漂移并非随机,而是可以微分估计。也就是说,模型自身的梯度可以预测哪些比特,如果被扰动,将最强烈地影响意义,同时保持语法和流畅性不变。我们设计了一个可微分故障分析框架,BLADE(通过可微分估计进行比特级故障分析),利用基于梯度的敏感性估计来定位语义关键比特,然后通过基于描述级的语义流畅性目标来优化其选择。我们的目标不仅仅是破坏描述,而是理解意义本身是如何在比特层面编码、分布和改变的,揭示即使不可察觉的低级变化也能引导生成视觉-语言模型的高层语义。它还为鲁棒性测试、对抗防御和可解释AI开辟了道路,通过暴露结构化的比特级故障如何重塑模型的语义输出。
英文摘要:
Hard-to-detect hardware bit flips, from either malicious circuitry or bugs, have already been shown to make transformers vulnerable in non-generative tasks. This work, for the first time, investigates how low-level, bitwise perturbations (fault injection) to the weights of a large language model (LLM) used for image captioning can influence the semantic meaning of its generated descriptions while preserving grammatical structure. While prior fault analysis methods have shown that flipping a few bits can crash classifiers or degrade accuracy, these approaches overlook the semantic and linguistic dimensions of generative systems. In image captioning models, a single flipped bit might subtly alter how visual features map to words, shifting the entire narrative an AI tells about the world. We hypothesize that such semantic drifts are not random but differentiably estimable. That is, the model's own gradients can predict which bits, if perturbed, will most strongly influence meaning while leaving syntax and fluency intact. We design a differentiable fault analysis framework, BLADE (Bit-level Fault Analysis via Differentiable Estimation), that uses gradient-based sensitivity estimation to locate semantically critical bits and then refines their selection through a caption-level semantic-fluency objective. Our goal is not merely to corrupt captions, but to understand how meaning itself is encoded, distributed, and alterable at the bit level, revealing that even imperceptible low-level changes can steer the high-level semantics of generative vision-language models. It also opens pathways for robustness testing, adversarial defense, and explainable AI, by exposing how structured bit-level faults can reshape a model's semantic output.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。