← Lab /AI/ML

Targeted bit-flip attack manipulates specific LLM outputs with under 50 flips

TFL can precisely alter LLM responses for chosen prompts while causing minimal impact on other inputs

AI/ML arXiv 19 Feb 2026 Attack Simulation evidence Threat model

Published as “TFL: Targeted Bit-Flip Attack on Large Language Model”

Why it matters

Shows that even limited hardware-level faults can be used to inject precise malicious behavior into deployed LLM services.

Summary

TFL can steer LLM outputs to attacker-specified false answers using fewer than 50 bit flips-often just a handful-while causing less overall performance loss than prior BFA methods. The paper demonstrates this on three 8-14B models, but provides limited quantitative results beyond qualitative claims.

What they found 1

  1. TFL achieves targeted manipulation with only tens of bit flips and less collateral degradation than prior BFA approaches

    “demonstrating that TFL achieves targeted output manipulation more precisely than prior SOTA BFA approaches with only tens bit-flips-often as few as a handful in favorable settings, while incurring significantly less performance degradation on unrelated tasks.”

What’s new here 4

  • First targeted bit-flip attack on LLMs that aims at specific prompts rather than overall degradation
  • Keyword-Focused Attack Loss that directly promotes target tokens
  • Aux Utility Score that re-ranks candidate flips to limit collateral damage
  • Integration of Impact Score with efficient SKIP Search for large models

Threat model stated by the source

Adversaryattacker with white-box access to model weights and ability to trigger Rowhammer on the same machine as the victim model
Capabilitycompute gradients on a small set of attack samples and induce specific bit flips in FP or INT8 model parameters
Assumesmodel deployed in main memory; Rowhammer vulnerabilities are exploitable; attacker does not need training data or fine-tuning access