AttenMIA: LLM Membership Inference Attack through Attention Signals
Pedram Zaree, Md Abdullah Al Mamun, Yue Dong, Ihsen Alouani, Nael Abu-Ghazaleh

TL;DR
AttenMIA introduces a novel membership inference attack leveraging attention patterns in transformer-based LLMs, significantly improving attack success over existing methods and revealing privacy risks inherent in attention mechanisms.
Contribution
This work is the first to exploit attention signals within transformers for membership inference, demonstrating their effectiveness and generalizability across models and datasets.
Findings
Attention-based features outperform baseline MIAs.
High ROC AUC and TPR@1%FPR achieved on multiple models.
Attention signals can be used to enhance data extraction attacks.
Abstract
Large Language Models (LLMs) are increasingly deployed to enable or improve a multitude of real-world applications. Given the large size of their training data sets, their tendency to memorize training data raises serious privacy and intellectual property concerns. A key threat is the membership inference attack (MIA), which aims to determine whether a given sample was included in the model's training set. Existing MIAs for LLMs rely primarily on output confidence scores or embedding-based features, but these signals are often brittle, leading to limited attack success. We introduce AttenMIA, a new MIA framework that exploits self-attention patterns inside the transformer model to infer membership. Attention controls the information flow within the transformer, exposing different patterns for memorization that can be used to identify members of the dataset. Our method uses information…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Privacy-Preserving Technologies in Data · Topic Modeling
