mlsanityData to 7 Oct 2026

Membership Inference Attacks on Tokenizers of Large Language Models

arXiv 2510.05699 ↗First posted 7 Oct 2025cs.CR cs.AIcited by 3

On the map: LLM safety and security → Membership inference attacks

Abstract (arXiv)

Membership inference attacks (MIAs) are widely used to assess the privacy risks associated with machine learning models. However, when these attacks are applied to pre-trained large language models (LLMs), they encounter significant challenges, including mislabeled samples, distribution shifts, and discrepancies in model size between experimental and real-world settings. To address these limitations, we introduce tokenizers as a new attack vector for membership inference. Specifically, a tokenizer converts raw text into tokens for LLMs. Unlike full models, tokenizers can be efficiently trained from scratch, thereby avoiding the aforementioned challenges. In addition, the tokenizer's training data is typically representative of the data used to pre-train LLMs. Despite these advantages, the potential of tokenizers as an attack vector remains unexplored. To this end, we present the first study on membership leakage through tokenizers and explore five attack methods to infer dataset membership. Extensive experiments on millions of Internet samples reveal the vulnerabilities in the tokenizers of state-of-the-art LLMs. To mitigate this emerging risk, we further propose an adaptive defense. Our findings highlight tokenizers as an overlooked yet critical privacy threat, underscoring the urgent need for privacy-preserving mechanisms specifically designed for them.

Key facts. Cited by 3 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 74 of its 118 references that are in the map. First posted on arXiv 7 Oct 2025.

Builds on

74 of 118 references.

Closest ancestors · 21

Same direction, newest first

  1. 2025Evaluating the Dynamics of Membership Privacy in Deep Learning31 Jul
  2. 2025Cascading and Proxy Membership Inference Attacks29 Jul
  3. 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attacks12 Jun
  4. 2025Membership Inference Attacks Against Vision-Language Models27 Jan
  5. 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models31 Oct
  6. 2024Self-Comparison for Dataset-Level Membership Inference in Large (Vision-)Language Models16 Oct
  7. 2024Membership Inference Attacks Cannot Prove that a Model Was Trained On Your Data29 Sep
  8. 2024SeqMIA: Sequential-Metric Based Membership Inference Attack21 Jul
  9. 2024SoK: Membership Inference Attacks on LLMs are Rushing Nowhere (and How to Fix It)25 Jun
  10. 2024Blind Baselines Beat Membership Inference Attacks for Foundation Models23 Jun
  11. 2024LLM Dataset Inference: Did you train on my dataset?10 Jun
  12. 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
9 more
  1. 2023Black-box Membership Inference Attacks against Fine-tuned Diffusion Models13 Dec
  2. 2023Low-Cost High-Power Membership Inference Attacks6 Dec
  3. 2023Did the Neurons Read your Book? Document-level Membership Inference for Large Language Models23 Oct
  4. 2023DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass13 Sep
  5. 2023White-box Membership Inference Attacks against Diffusion Models11 Aug
  6. 2021Membership Inference Attacks From First Principles7 Dec
  7. 2021Enhanced Membership Inference Attacks against Machine Learning Models18 Nov
  8. 2021Dataset Inference: Ownership Resolution in Machine Learning21 Apr
  9. 2021Practical Blind Membership Inference Attack via Differential Comparisons5 Jan

Other references · 53

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2020Scaling Laws for Neural Language Modelscited by 6,411
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  10. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  11. 2016Deep Learning with Differential Privacycited by 2,682
  12. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
38 more
  1. 2020Extracting Training Data from Large Language Modelscited by 2,144
  2. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  3. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
  4. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Modelscited by 834
  5. 2024Simple and Effective Masked Diffusion Language Modelscited by 800
  6. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  7. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  8. 2020Scaling Laws for Autoregressive Generative Modelingcited by 510
  9. 2024Large Language Models: A Surveycited by 506
  10. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  11. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  12. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  13. 2023Scaling Data-Constrained Language Modelscited by 391
  14. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  15. 2020Label-Only Membership Inference Attackscited by 371
  16. 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 334
  17. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  18. 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 183
  19. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  20. 2020Membership Leakage in Label-Only Exposurescited by 156
  21. 2023Likelihood-Based Diffusion Language Modelscited by 147
  22. 2024Nemotron-4 340B Technical Reportcited by 143
  23. 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 113
  24. 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 102
  25. 2024DE-COP: Detecting Copyrighted Content in Language Models Training Datacited by 72
  26. 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 65
  27. 2025SuperBPE: Space Travel for Language Modelscited by 58
  28. 2025Over-Tokenized Transformer: Vocabulary is Generally Worth Scalingcited by 42
  29. 2022Datasheet for the Pilecited by 41
  30. 2024Nemotron-4 15B Technical Reportcited by 36
  31. 2023A Formal Perspective on Byte-Pair Encodingcited by 35
  32. 2024Evaluations of Machine Learning Privacy Defenses are Misleadingcited by 35
  33. 2024SpaceByte: Towards Deleting Tokenization from Large Language Modelingcited by 31
  34. 2025Efficient Reasoning for Large Reasoning Language Models via Certainty-Guided Reflection Suppressioncited by 23
  35. 2021Deep ROC Analysis and AUC as Balanced Average Accuracy to Improve Model Selection, Understanding and Interpretationcited by 17
  36. 2024Systematic Assessment of Tabular Data Synthesiscited by 17
  37. 2025LLMs on the Line: Data Determines Loss-to-Loss Scaling Lawscited by 16
  38. 2025How Contaminated Is Your Benchmark? Quantifying Dataset Leakage in Large Language Models with Kernel Divergencecited by 13

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.