Window-based Membership Inference Attacks Against Fine-tuned Large Language Models
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Most membership inference attacks (MIAs) against Large Language Models (LLMs) rely on global signals, like average loss, to identify training data. This approach, however, dilutes the subtle, localized signals of memorization, reducing attack effectiveness. We challenge this global-averaging paradigm, positing that membership signals are more pronounced within localized contexts. We introduce WBC (Window-Based Comparison), which exploits this insight through a sliding window approach with sign-based aggregation. Our method slides windows of varying sizes across text sequences, with each window casting a binary vote on membership based on loss comparisons between target and reference models. By ensembling votes across geometrically spaced window sizes, we capture memorization patterns from token-level artifacts to phrase-level structures. Extensive experiments across eleven datasets demonstrate that WBC substantially outperforms established baselines, achieving higher AUC scores and 2-3 times improvements in detection rates at low false positive thresholds. Our findings reveal that aggregating localized evidence is fundamentally more effective than global averaging, exposing critical privacy vulnerabilities in fine-tuned LLMs.
Key facts. Cited by 7 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 71 of its 101 references that are in the map. First posted on arXiv 6 Jan 2026.
Builds on
71 of 101 references.
Closest ancestors · 20
Same direction, newest first
- 2025Cascading and Proxy Membership Inference Attacks29 Jul
- 2025LoRA-Leak: Membership Inference Attacks Against LoRA Fine-tuned Language Models24 Jul
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attacks12 Jun
- 2025R.R.: Unveiling LLM Training Privacy through Recollection and Ranking18 Feb
- 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models31 Oct
- 2024Context-Aware Membership Inference Attacks against Pre-trained Large Language Models11 Sep
- 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignment8 Jul
- 2024ReCaLL: Membership Inference via Relative Conditional Log-Likelihoods23 Jun
- 2024Semantic Membership Inference Attack against Large Language Models14 Jun
- 2024SoK: Reducing the Vulnerability of Fine-tuned Language Models to Membership Inference Attacks13 Mar
- 2024Privacy-Preserving Low-Rank Adaptation against Membership Inference Attacks for Latent Diffusion Models19 Feb
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
8 more
- 2023Practical Membership Inference Attacks against Fine-tuned Large Language Models via Self-prompt Calibration10 Nov
- 2023Did the Neurons Read your Book? Document-level Membership Inference for Large Language Models23 Oct
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
- 2022Membership Inference Attacks by Exploiting Loss Trajectory31 Aug
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attacks8 Mar
- 2021Membership Inference Attacks From First Principles7 Dec
- 2021Enhanced Membership Inference Attacks against Machine Learning Models18 Nov
- 2021On the Importance of Difficulty Calibration in Membership Inference Attacks15 Nov
Other references · 51
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2025Qwen3 Technical Reportcited by 8,820
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
38 more
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2016Deep Learning with Differential Privacycited by 2,728
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2025Gemma 3 Technical Reportcited by 1,824
- 2024Mixtral of Expertscited by 1,823
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2025Large Language Diffusion Modelscited by 912
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2020Scaling Laws for Autoregressive Generative Modelingcited by 522
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 2020Label-Only Membership Inference Attackscited by 388
- 2023Detecting Pretraining Data from Large Language Modelscited by 387
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 271
- 2018WikiHow: A Large Scale Text Summarization Datasetcited by 204
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 200
- 2023Copyright Violations and Large Language Modelscited by 108
- 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 103
- 2024Pretraining Data Detection for Large Language Models: A Divergence-based Calibration Methodcited by 55
- 2022Memorization in NLP Fine-tuning Methodscited by 45
- 2023Exploring Memorization in Fine-tuned Language Modelscited by 45
- 2023The Janus Interface: How Fine-Tuning in Large Language Models Amplifies the Privacy Riskscited by 36
- 2022Text Revealer: Private Text Reconstruction via Model Inversion Attacks against Transformerscited by 31
- 2024Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Textscited by 27
- 2024Con-ReCall: Detecting Pre-training Data in LLMs via Contrastive Decodingcited by 20
- 2024MIA-Tuner: Adapting Large Language Models as Pre-training Text Detectorcited by 15
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Learning the Signature of Memorization in Autoregressive Language Modelscited by 1
- 2026When T2I Synthetic Data Backfires: Amplified Privacy Risks in Real-Synthetic Mix Trainingcited by 0
- 2026Implicit Reasoning Steering via Concept Chainingcited by 0
- 2026Leaky Students: Membership Inference against On-Policy Distillationcited by 0
- 2026The Privacy Fallacy of Crowdsourced Fine-Tuning: Extracting Proprietary Data via Topic-Based Poisoningcited by 0
- 2026When Routing Reveals Membership: Privacy Leakage from MoE Router Telemetrycited by 0
- 2026Stable-Plastic Subspace Construction for Differentially Private Continual LoRAcited by 0
- 2026Stable-Plastic Subspace Construction for Differentially Private Continual LoRA13 Oct 2026
- 2026When Routing Reveals Membership: Privacy Leakage from MoE Router Telemetry7 Oct 2026
- 2026The Privacy Fallacy of Crowdsourced Fine-Tuning: Extracting Proprietary Data via Topic-Based Poisoning27 Sep 2026
- 2026Leaky Students: Membership Inference against On-Policy Distillation27 Sep 2026
- 2026Implicit Reasoning Steering via Concept Chaining15 Jul 2026
- 2026When T2I Synthetic Data Backfires: Amplified Privacy Risks in Real-Synthetic Mix Training15 Jul 2026
- 2026Learning the Signature of Memorization in Autoregressive Language Models3 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025PerProb: Indirectly Evaluating Memorization in Large Language Models ↗
- 2025Membership Inference Attacks on Sequence Models
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMs
- 2024Order of Magnitude Speedups for LLM Membership Inference
- 2024A Statistical and Multi-Perspective Revisiting of the Membership Inference Attack in Large Language Models
- 2026Powerful Training-Free Membership Inference Against Autoregressive Language Models
- 2025Exploring the limits of strong membership inference attacks on large language models
- 2024Membership Inference Attacks Against In-Context Learning