BitHydra: Towards Bit-flip Inference Cost Attack against Large Language Models
22 May · Xiaobei Yan, Yiming Li, Hao Wang +2 · arXiv:2505.16670
Large language models (LLMs) are widely deployed, but their substantial compute demands make them vulnerable to inference cost attacks that aim to deliberately maximize the output length. In this work, we investigate a distinct attack surface: maximizing inference cost by tampering with the model parameters instead of inputs. This approach leverages the established capability of Bit-Flip Attacks (BFAs) to…