Neural Breadcrumbs: Membership Inference Attacks on LLMs Through Hidden State and Attention Pattern Analysis
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Membership inference attacks (MIAs) reveal whether specific data was used to train machine learning models, serving as important tools for privacy auditing and compliance assessment. Recent studies have reported that MIAs perform only marginally better than random guessing against large language models, suggesting that modern pre-training approaches with massive datasets may be free from privacy leakage risks. Our work offers a complementary perspective to these findings by exploring how examining LLMs' internal representations, rather than just their outputs, may provide additional insights into potential membership inference signals. Our framework, memTrace, follows what we call enquoteneural breadcrumbs extracting informative signals from transformer hidden states and attention patterns as they process candidate sequences. By analyzing layer-wise representation dynamics, attention distribution characteristics, and cross-layer transition patterns, we detect potential memorization fingerprints that traditional loss-based approaches may not capture. This approach yields strong membership detection across several model families achieving average AUC scores of 0.85 on popular MIA benchmarks. Our findings suggest that internal model behaviors can reveal aspects of training data exposure even when output-based signals appear protected, highlighting the need for further research into membership privacy and the development of more robust privacy-preserving training techniques for large language models.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 14 of its 18 references that are in the map. First posted on arXiv 5 Sep 2025.
Builds on
14 of 18 references.
Closest ancestors · 7
Same direction, newest first
- 2024Blind Baselines Beat Membership Inference Attacks for Foundation Models23 Jun
- 2024ReCaLL: Membership Inference via Relative Conditional Log-Likelihoods23 Jun
- 2024LLM Dataset Inference: Did you train on my dataset?10 Jun
- 2023Scalable Membership Inference Attacks via Quantile Regression7 Jul
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb
- 2021Membership Inference Attacks From First Principles7 Dec
Other references · 7
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 726
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
- 2022Privacy Adhering Machine Un-learning in NLPcited by 36
- 2024MIA-Tuner: Adapting Large Language Models as Pre-training Text Detectorcited by 15
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspectivecited by 1
- 2026DistractMIA: Black-Box Membership Inference on Vision-Language Models via Semantic Distractioncited by 0
- 2026LaRA: Layer-wise Representation Analysis for Detecting Data Contamination in RL Post-Trainingcited by 0
- 2026LaRA: Layer-wise Representation Analysis for Detecting Data Contamination in RL Post-Training28 May 2026
- 2026DistractMIA: Black-Box Membership Inference on Vision-Language Models via Semantic Distraction12 May 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026CheckMIABench: Firm Foundations For Membership Inference Attacks on Language Models
- 2025Membership Inference Attacks on Large-Scale Models: A Survey
- 2024SoK: Membership Inference Attacks on LLMs are Rushing Nowhere (and How to Fix It)
- 2026What Hard Tokens Reveal: Exploiting Low-confidence Tokens for Membership Inference Attacks against Large Language Models
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMs
- 2024Order of Magnitude Speedups for LLM Membership Inference
- 2026A Full-Pipeline Framework for Evaluating Membership Inference Attacks in Machine Learning
- 2026AttenMIA: LLM Membership Inference Attack through Attention Signals