G-Drift MIA: Membership Inference via Gradient-Induced Feature Drift in LLMs
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Large language models (LLMs) are trained on massive web-scale corpora, raising growing concerns about privacy and copyright. Membership inference attacks (MIAs) aim to determine whether a given example was used during training. Existing LLM MIAs largely rely on output probabilities or loss values and often perform only marginally better than random guessing when members and non-members are drawn from the same distribution. We introduce G-Drift MIA, a white-box membership inference method based on gradient-induced feature drift. Given a candidate (x,y), we apply a single targeted gradient-ascent step that increases its loss and measure the resulting changes in internal representations, including logits, hidden-layer activations, and projections onto fixed feature directions, before and after the update. These drift signals are used to train a lightweight logistic classifier that effectively separates members from non-members. Across multiple transformer-based LLMs and datasets derived from realistic MIA benchmarks, G-Drift substantially outperforms confidence-based, perplexity-based, and reference-based attacks. We further show that memorized training samples systematically exhibit smaller and more structured feature drift than non-members, providing a mechanistic link between gradient geometry, representation stability, and memorization. In general, our results demonstrate that small, controlled gradient interventions offer a practical tool for auditing the membership of training-data and assessing privacy risks in LLMs.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 30 of its 40 references that are in the map. First posted on arXiv 1 Apr 2026.
Builds on
30 of 40 references.
Closest ancestors · 9
Same direction, newest first
- 2025Exploring the limits of strong membership inference attacks on large language models24 May
- 2025Towards Label-Only Membership Inference Attack against Pre-trained Large Language Models26 Feb
- 2025Membership Inference Risks in Quantized Models: A Theoretical and Empirical Study10 Feb
- 2024LUMIA: Linear probing for Unimodal and MultiModal Membership Inference Attacks leveraging internal LLM states29 Nov
- 2024SoK: Membership Inference Attacks on LLMs are Rushing Nowhere (and How to Fix It)25 Jun
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
- 2023Practical Membership Inference Attacks against Fine-tuned Large Language Models via Self-prompt Calibration10 Nov
- 2021Membership Inference Attacks From First Principles7 Dec
- 2021Membership Inference Attacks on Machine Learning: A Survey14 Mar
Other references · 21
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016Deep Learning with Differential Privacycited by 2,682
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2022Toy Models of Superpositioncited by 928
- 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
- 2023Detecting Pretraining Data from Large Language Modelscited by 375
- 2020Label-Only Membership Inference Attackscited by 371
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
- 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
- 2023Copyright Violations and Large Language Modelscited by 108
- 2024On Protecting the Data Privacy of Large Language Models (LLMs): A Surveycited by 91
9 more
- 2024Exploring Memorization and Copyright Violation in Frontier LLMs: A Study of the New York Times v. OpenAI 2023 Lawsuitcited by 17
- 2024LLMs and Memorization: On Quality and Specificity of Copyright Compliancecited by 16
- 2024Tracking the Feature Dynamics in LLM Training: A Mechanistic Studycited by 15
- 2020Data and Model Dependencies of Membership Inference Attackcited by 10
- 2022Suitability of Different Metric Choices for Concept Drift Detectioncited by 8
- 2026Position: LLMs Must Use Functor-Based and RAG-Driven Bias Mitigation for Fairnesscited by 8
- 2026Embodied Foundation Models at the Edge: A Survey of Deployment Constraints and Mitigation Strategiescited by 6
- 2026CatRAG: Functor-Guided Structural Debiasing with Retrieval Augmentation for Fair LLMscited by 6
- 2026RAZOR: Ratio-Aware Layer Editing for Targeted Unlearning in Vision Transformers and Diffusion Modelscited by 3
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026VLA-Forget: Vision-Language-Action Unlearning for Embodied Foundation Modelscited by 9
- 2026SafeCommit: Certifying When Memory-Grounded Agents May Safely Actcited by 4
- 2026PERSA: Reinforcement Learning for Professor-Style Personalized Feedback with LLMscited by 3
- 2026Listening with Attention: Entropy-Guided Explainability for Transformer-Based Audio Modelscited by 2
- 2026LaRA: Layer-wise Representation Analysis for Detecting Data Contamination in RL Post-Trainingcited by 0
- 2026Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMscited by 0
- 2026Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMs9 Sep 2026
- 2026SafeCommit: Certifying When Memory-Grounded Agents May Safely Act4 Aug 2026
- 2026Listening with Attention: Entropy-Guided Explainability for Transformer-Based Audio Models12 Jun 2026
- 2026LaRA: Layer-wise Representation Analysis for Detecting Data Contamination in RL Post-Training28 May 2026
- 2026PERSA: Reinforcement Learning for Professor-Style Personalized Feedback with LLMs1 May 2026
- 2026VLA-Forget: Vision-Language-Action Unlearning for Embodied Foundation Models5 Apr 2026