← Latest papers
🤖 AI

Analysis of LLM Vulnerability to GPU Soft Errors: An Instruction-Level Fault Injection Study

This paper presents the first instruction-level fault injection study of large language model (LLM) inference on GPUs, systematically analyzing how model architecture, parameter scale, and task complexity influence resilience to soft errors to inform future fault tolerance designs.

Original authors: Duo Chai, Zizhen Liu, Shuhuai Wang, Songwei Pei, Cheng Liu, Huawei Li, Shangguang Wang

Published 2026-01-29
📖 5 min read🧠 Deep dive

Original authors: Duo Chai, Zizhen Liu, Shuhuai Wang, Songwei Pei, Cheng Liu, Huawei Li, Shangguang Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have built a massive, incredibly complex library of knowledge inside a super-fast computer chip (a GPU). This library is a "Large Language Model" (LLM), like the brains behind AI chatbots. It's so big and powerful that it can write stories, solve math problems, and reason through complex scenarios.

However, these chips are getting smaller and smaller to make them faster. Just like a tiny, delicate house of cards, this miniaturization makes them prone to "soft errors." Think of a soft error as a tiny, invisible cosmic ray or a voltage hiccup that flips a single switch (a "bit") in the computer's memory. It's like a single page in your library suddenly having a typo that changes a word from "cat" to "bat."

This paper is the first to go inside these AI libraries and deliberately introduce these "typos" (bit-flips) at the most fundamental level—the level of the computer's actual instructions—to see what happens. They didn't just guess; they ran thousands of experiments to see how the AI reacts when its brain gets a tiny glitch.

Here is what they found, explained simply:

1. The Two Types of "Glitches"

When the AI gets a glitch, two things can happen:

  • The Crash (DUE): The computer realizes something is wrong and stops working immediately. It's like a car engine sputtering and dying. The user sees a failure, but at least they know something went wrong.
  • The Silent Lie (SDC): The computer keeps running, but it gives you the wrong answer without anyone noticing. It's like a GPS that confidently tells you to drive into a lake. This is much more dangerous because the user trusts the wrong information.

2. Size Doesn't Always Mean Safety

You might think a bigger, more powerful AI model would be tougher. The researchers found this is a mixed bag:

  • The "Big Brain" Effect: Sometimes, bigger models are more resilient because they have so many parts that a single glitch gets lost in the crowd.
  • The "Complex Web" Effect: Other times, bigger models are more fragile. Because they have more complex pathways, a small glitch can ripple through the whole system faster, causing a bigger mess. It depends entirely on the specific design of the model and the task it's doing.

3. The "Dangerous Instructions"

The computer follows a list of instructions to do its work. The researchers found that not all instructions are equally risky:

  • The "Address" Instructions: Some instructions are like the librarian looking up where a book is stored. If a glitch messes up the "address," the computer might try to read a book that doesn't exist or write a note in the wrong spot. These are very dangerous and often cause the system to crash.
  • The "Math" Instructions: Other instructions are just doing math (like adding numbers). If a glitch messes these up, the computer usually keeps working but gives a wrong answer (the Silent Lie).

4. The "High-Order" Bit Danger

Numbers in computers are made of bits. The researchers found that where the glitch happens matters a lot:

  • Low Bits: If a glitch hits the "low bits" (the tiny details of a number), it's usually harmless. It's like a typo in the last decimal place of a price; you might pay $10.01 instead of $10.00, but you're still in the ballpark.
  • High Bits: If a glitch hits the "high bits" (the main part of the number), it's catastrophic. It's like changing the price from $10 to $10,000,000. This is where the "Silent Lies" (SDCs) come from. Specifically, one specific bit (the 30th bit) is a "hotspot" for disaster.

5. Not All Parts of the Brain Are Equal

The AI is made of different layers and tools (like Attention, Math, and Normalization).

  • The "Output" Layer: The part that actually generates the final answer is the most fragile. If it glitches, the AI gives a wrong answer.
  • The "Normalization" Layer: The part that keeps the numbers balanced is very tough. It rarely causes problems.
  • The "First Layer": In some models, the very first layer is surprisingly sensitive, acting like a weak foundation that can crumble the whole building if hit.

The Bottom Line

The researchers built a special tool to test these AI models by intentionally breaking them in tiny ways. They discovered that:

  1. Bigger isn't always better: Bigger models can be more fragile depending on the task.
  2. Some parts matter more: The "output" layer and specific "address" instructions are the weak points that need the most protection.
  3. Silent errors are the real threat: The system often keeps running but lies to you, which is harder to catch than a system crash.

This study helps engineers understand exactly where and how these AI brains break, so they can build better safety nets to keep them reliable in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →