What Hard Tokens Reveal: Exploiting Low-confidence Tokens for Membership Inference Attacks against Large Language Models
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
With the widespread adoption of Large Language Models (LLMs) and increasingly stringent privacy regulations, protecting data privacy in LLMs has become essential, especially for privacy-sensitive applications. Membership Inference Attacks (MIAs) attempt to determine whether a specific data sample was included in the model training/fine-tuning dataset, posing serious privacy risks. However, most existing MIA techniques against LLMs rely on sequence-level aggregated prediction statistics, which fail to distinguish prediction improvements caused by generalization from those caused by memorization, leading to low attack effectiveness. To address this limitation, we propose a novel membership inference approach that captures the token-level probabilities for low-confidence (hard) tokens, where membership signals are more pronounced. By comparing token-level probability improvements at hard tokens between a fine-tuned target model and a pre-trained reference model, HT-MIA isolates strong and robust membership signals that are obscured by prior MIA approaches. Extensive experiments on both domain-specific medical datasets and general-purpose benchmarks demonstrate that HT-MIA consistently outperforms seven state-of-the-art MIA baselines. We further investigate differentially private training as an effective defense mechanism against MIAs in LLMs. Overall, our HT-MIA framework establishes hard-token based analysis as a state-of-the-art foundation for advancing membership inference attacks and defenses for LLMs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 32 of its 58 references that are in the map. First posted on arXiv 27 Jan 2026.
Builds on
32 of 58 references.
Closest ancestors · 9
Same direction, newest first
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attacks12 Jun
- 2024LUMIA: Linear probing for Unimodal and MultiModal Membership Inference Attacks leveraging internal LLM states29 Nov
- 2024Context-Aware Membership Inference Attacks against Pre-trained Large Language Models11 Sep
- 2024SoK: Membership Inference Attacks on LLMs are Rushing Nowhere (and How to Fix It)25 Jun
- 2024LLM Dataset Inference: Did you train on my dataset?10 Jun
- 2024Sampling-based Pseudo-Likelihood for Membership Inference Attacks17 Apr
- 2023Practical Membership Inference Attacks against Fine-tuned Large Language Models via Self-prompt Calibration10 Nov
- 2023MIST: Defending Against Membership Inference Attacks Through Membership-Invariant Subspace Training2 Nov
- 2021Membership Inference Attacks From First Principles7 Dec
Other references · 23
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016Deep Learning with Differential Privacycited by 2,728
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2022Large Language Models Encode Clinical Knowledgecited by 1,830
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
- 2022Galactica: A Large Language Model for Sciencecited by 744
- 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 538
- 2023Fine-Tuning Language Models with Just Forward Passescited by 345
- 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 197
11 more
- 2024The pitfalls of next-token predictioncited by 160
- 2023ClinicalGPT: Large Language Models Finetuned with Diverse Medical Data and Comprehensive Evaluationcited by 88
- 2025Training LLM-based Tutors to Improve Student Learning Outcomes in Dialoguescited by 43
- 2024Fine-tuning and Utilization Methods of Domain-specific LLMscited by 36
- 2020Defending Model Inversion and Membership Inference Attacks via Prediction Purificationcited by 34
- 2024Data Contamination Calibration for Black-box LLMscited by 24
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Educationcited by 4
- 2024Adapting LLMs for the Medical Domain in Portuguese: A Study on Fine-Tuning and Model Evaluationcited by 3
- 2025Pruning as a Defense: Reducing Memorization in Large Language Modelscited by 3
- 2025Semantic-Aware Contrastive Fine-Tuning: Boosting Multimodal Malware Classification with Discriminative Embeddingscited by 3
- 2025Fine-Tuning a 7B Advisor on Free-Tier GPUs: An Adapter-Handoff Recipe and a Synthetic-Data Reliability Cautioncited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Membership Inference Attacks on Tokenizers of Large Language Models
- 2025Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Training
- 2026CheckMIABench: Firm Foundations For Membership Inference Attacks on Language Models
- 2025Membership Inference Attacks on Large-Scale Models: A Survey
- 2024Order of Magnitude Speedups for LLM Membership Inference
- 2025(Token-Level) InfoRMIA: Stronger Membership Inference and Memorization Assessment for LLMs
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attacks
- 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models