paper-with-me

Papers

GenBFA: An Evolutionary Optimization Approach to Bit-Flip Attacks on LLMs

2024-11-21 · Sanjay Das, Swastik Bhattacharya, Souvik Kundu, Shamik Kundu, Anand Menon, Arnab Raha, Kanad Basu

Large Language Models (LLMs) have revolutionized natural language processing (NLP), excelling in tasks like text generation and summarization. However, their increasing adoption in mission-critical applications raises concerns about hardware-based threats, particularly bit-flip attacks (BFAs). BFAs, enabled by fault injection methods such as Rowhammer, target model parameters in memory, compromising both integrity and performance. Identifying critical parameters for BFAs in the vast parameter space of LLMs poses significant challenges. While prior research suggests transformer-based architectures are inherently more robust to BFAs compared to traditional deep neural networks, we challenge this assumption. For the first time, we demonstrate that as few as three bit-flips can cause catastrophic performance degradation in an LLM with billions of parameters. Current BFA techniques are inadequate for exploiting this vulnerability due to the difficulty of efficiently identifying critical parameters within the immense parameter space. To address this, we propose AttentionBreaker, a novel framework tailored for LLMs that enables efficient traversal of the parameter space to identify critical parameters. Additionally, we introduce GenBFA, an evolutionary optimization strategy designed to refine the search further, isolating the most critical bits for an efficient and effective attack. Empirical results reveal the profound vulnerability of LLMs to AttentionBreaker. For example, merely three bit-flips (4.129 x 10^-9% of total parameters) in the LLaMA3-8B-Instruct 8-bit quantized (W8) model result in a complete performance collapse: accuracy on MMLU tasks drops from 67.3% to 0%, and Wikitext perplexity skyrockets from 12.6 to 4.72 x 10^5. These findings underscore the effectiveness of AttentionBreaker in uncovering and exploiting critical vulnerabilities within LLM architectures.

📄 PDF Abstract BibTeX arXiv:2411.13757

Code (0)

등록된 구현이 없습니다.

Tasks

MMLUText Generation

Similar Papers 제목 키워드 기반

BitHydra: Towards Bit-flip Inference Cost Attack against Large Language Models

2025-05-22 · Xiaobei Yan, Yiming Li, Zhaoxin Fan, Han Qiu 외

Large language models (LLMs) have shown impressive capabilities across a wide range of applications, but their ever-increasing size and resource demands make them vulnerable to inference cost attacks, where attackers ind…

SilentStriker:Toward Stealthy Bit-Flip Attacks on Large Language Models

2025-09-22 · Haotian Xu, Qingsong Peng, Jie Shi, Huadi Zheng 외 arxiv

The rapid adoption of large language models (LLMs) in critical domains has spurred extensive research into their security issues. While input manipulation attacks (e.g., prompt injection) have been well studied, Bit-Flip…

Decision-Level Hijacking: Injecting Cognitive Bias into Large Language Models via Bit-Flip Attacks

2026-07-28 · Yu Yan, Jiahao Chen, Siqi Lu, Yongjuan Wang 외 arxiv

Large Language Models (LLMs) have been widely applied in high-stakes decision-making scenarios such as corporate strategy, and users are increasingly relying on their outputs. However, the deep integration of open-source…

Cost-Minimized Label-Flipping Poisoning Attack to LLM Alignment

2025-11-12 · Shigeki Kusaka, Keita Saito, Mikoto Kudo, Takumi Tanabe 외 arxiv

Large language models (LLMs) are increasingly deployed in real-world systems, making it critical to understand their vulnerabilities. While data poisoning attacks during RLHF/DPO alignment have been studied empirically, …

FlipLLM: Efficient Bit-Flip Attacks on Multimodal LLMs using Reinforcement Learning

2025-12-10 · Khurram Khalil, Khaza Anuarul Hoque arxiv

Generative Artificial Intelligence models, such as Large Language Models (LLMs) and Large Vision Models (VLMs), exhibit state-of-the-art performance but remain vulnerable to hardware-based threats, specifically bit-flip …

Reinforcement Learning