Boundary-targeted Membership Inference Attacks on Safety Classifiers
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Safety classifiers are essential safeguards within generative AI systems, filtering harmful content or identifying at-risk users when interacting with large language models. Despite their necessity, these models are trained on sensitive datasets including discussions of self-harm and mental health, raising important, yet poorly understood, privacy concerns. Membership inference attacks (MIAs) allow adversaries to infer membership of examples used to train models. In this work, we hypothesize that identifying the examples on which the classifier is least confident are informative for an adversary to infer membership. This reflects a localized failure of generalization, where the model relies on memorization to resolve ambiguity in the training set. To investigate this, we introduce a new boundary-targeted selection strategy that identifies low confidence examples that amplify the signal of an examples membership within a training set. Our experimental results show that an adversary can recover 19% of the conversations a safety classifier flagged as indicating user distress, at a 5% false-positive rate, on a classifier fine-tuned for detecting a user who may require emotional support. This is 3.5 times more than attacking using state-of-the-art MIA methods alone. Finally, we characterize the boundary laying examples and show that content-based filtering is ineffective for protection, and existing noise strategies can effectively mitigate susceptibility of these examples.
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 59 of its 74 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
59 of 74 references.
Closest ancestors · 10
Same direction, newest first
- 2025The Surprising Effectiveness of Membership Inference with Simple N-Gram Coverage13 Aug
- 2025Membership Inference Attacks on Sequence Models5 Jun
- 2024A Statistical and Multi-Perspective Revisiting of the Membership Inference Attack in Large Language Models18 Dec
- 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
- 2024ReCaLL: Membership Inference via Relative Conditional Log-Likelihoods23 Jun
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb
- 2022Canary in a Coalmine: Better Membership Inference with Ensembled Adversarial Queries19 Oct
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attacks8 Mar
- 2021Membership Inference Attacks From First Principles7 Dec
Other references · 49
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 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
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
37 more
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
- 2020Label-Only Membership Inference Attackscited by 388
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
- 2021Towards Emotional Support Dialog Systemscited by 299
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
- 2023Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theorycited by 230
- 2025Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teamingcited by 181
- 2023Beyond Memorization: Violating Privacy Via Inference with Large Language Modelscited by 175
- 2025Qwen3Guard Technical Reportcited by 155
- 2025ELEPHANT: Measuring and understanding social sycophancy in LLMscited by 129
- 2025X-Teaming: Multi-Turn Jailbreaks and Defenses with Adaptive Multi-Agentscited by 125
- 2023When the Majority is Wrong: Modeling Annotator Disagreement for Subjective Taskscited by 90
- 2019Overlearning Reveals Sensitive Attributescited by 76
- 2018SMHD: A Large-Scale Resource for Exploring Online Language Usage for Multiple Mental Health Conditionscited by 73
- 2021Agreeing to Disagree: Annotating Offensive Language Datasets with Annotators' Disagreementcited by 72
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 70
- 2023Language Model Inversioncited by 68
- 2023Self-Guard: Empower the LLM to Safeguard Itselfcited by 54
- 2024Trust No Bot: Discovering Personal Disclosures in Human-LLM Conversations in the Wildcited by 47
- 2026Building Production-Ready Probes For Geminicited by 47
- 2023Differentially Private Low-Rank Adaptation of Large Language Model Using Federated Learningcited by 41
- 2026Constitutional Classifiers++: Efficient Production-Grade Defenses against Universal Jailbreakscited by 41
- 2022SNAP: Efficient Extraction of Private Properties with Poisoningcited by 31
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderationcited by 28
- 2026Large-scale online deanonymization with LLMscited by 14
- 2024Measuring memorization in RLHF for code completioncited by 13
- 2025X-Guard: Multilingual Guard Agent for Content Moderationcited by 13
- 2024The Need for Guardrails with Large Language Models in Medical Safety-Critical Settings: An Artificial Intelligence Application in the Pharmacovigilance Ecosystemcited by 11
- 2024Enhancing Guardrails for Safe and Secure Healthcare AIcited by 7
- 2026Agentic LLMs as Powerful Deanonymizers: Re-identification of Participants in the Anthropic Interviewer Datasetcited by 7
- 2023Deconstructing Classifiers: Towards A Data Reconstruction Attack Against Text Classification Modelscited by 6
- 2025Understanding Verbatim Memorization in LLMs Through Circuit Discoverycited by 4
- 2025Membership and Memorization in LLM Knowledge Distillationcited by 3
- 2026MindGuard: Guardrail Classifiers for Multi-Turn Mental Health Supportcited by 3
- 2026Assessing Risks of Large Language Models in Mental Health Support: A Framework for Automated Clinical AI Red Teamingcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2021Membership Inference Attacks on Machine Learning: A Survey
- 2024Do Membership Inference Attacks Work on Large Language Models?
- 2021To Trust or Not To Trust Prediction Scores for Membership Inference Attacks
- 2026Empirical Evaluation of Membership Inference Attacks on NLP Text Classifiers: A Baseline Study on SST-2
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison
- 2025A hierarchical approach for assessing the vulnerability of tree-based classification models to membership inference attack
- 2025The Hidden Cost of Modeling P(X): Vulnerability to Membership Inference Attacks in Generative Text Classifiers
- 2023Why Train More? Effective and Efficient Membership Inference via Memorization