RelaxLoss: Defending Membership Inference Attacks without Losing Utility
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
As a long-term threat to the privacy of training data, membership inference attacks (MIAs) emerge ubiquitously in machine learning models. Existing works evidence strong connection between the distinguishability of the training and testing loss distributions and the model's vulnerability to MIAs. Motivated by existing results, we propose a novel training framework based on a relaxed loss with a more achievable learning target, which leads to narrowed generalization gap and reduced privacy leakage. RelaxLoss is applicable to any classification model with added benefits of easy implementation and negligible overhead. Through extensive evaluations on five datasets with diverse modalities (images, medical data, transaction records), our approach consistently outperforms state-of-the-art defense mechanisms in terms of resilience against MIAs as well as model utility. Our defense is the first that can withstand a wide range of attacks while preserving (or even improving) the target model's utility. Source code is available at https://github.com/DingfanChen/RelaxLoss
Key facts. Cited by 35 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 30 of its 48 references that are in the map. First posted on arXiv 12 Jul 2022.
Builds on
30 of 48 references.
Closest ancestors · 2
Same direction, newest first
- 2022On the Privacy Properties of GAN-generated Samples3 Jun
- 2021Practical Blind Membership Inference Attack via Differential Comparisons5 Jan
Other references · 28
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2022Generative Adversarial Networkscited by 5,603
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016Deep Learning with Differential Privacycited by 2,682
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2019When Does Label Smoothing Help?cited by 985
- 2020DivideMix: Learning with Noisy Labels as Semi-supervised Learningcited by 691
- 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 491
16 more
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 461
- 2020Label-Only Membership Inference Attackscited by 371
- 2016Semi-supervised Knowledge Transfer for Deep Learning from Private Training Datacited by 347
- 2013The Composition Theorem for Differential Privacycited by 290
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 273
- 2018Scalable Private Learning with PATEcited by 266
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
- 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 183
- 2018Machine Learning with Membership Privacy using Adversarial Regularizationcited by 177
- 2017Machine Learning Models that Remember Too Muchcited by 165
- 2017PacGAN: The power of two samples in generative adversarial networkscited by 104
- 2019BackPACK: Packing more into backpropcited by 77
- 2015Efficient Per-Example Gradient Computationscited by 42
- 2020On the Effectiveness of Regularization Against Membership Inference Attackscited by 22
- 2020On the Difficulty of Membership Inference Attackscited by 6
Built on by
Citing papers per year: 2023: 7; 2024: 16; 2025: 9; 2026: 3.
35 papers.
Sort:
By area:
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 249
- 2024Do Membership Inference Attacks Work on Large Language Models?cited by 188
- 2023Low-Cost High-Power Membership Inference Attackscited by 99
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 63
- 2023Controlling the Extraction of Memorized Data from Large Language Models via Prompt-Tuningcited by 40
- 2024Evaluations of Machine Learning Privacy Defenses are Misleadingcited by 35
- 2024On the Privacy Risk of In-context Learningcited by 31
- 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignmentcited by 24
- 2023On the Trustworthiness Landscape of State-of-the-art Generative Models: A Survey and Outlookcited by 15
- 2025Does Training with Synthetic Data Truly Protect Privacy?cited by 12
- 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemblecited by 11
- 2024SoK: Reducing the Vulnerability of Fine-tuned Language Models to Membership Inference Attackscited by 10
23 more
- 2024Privacy-Preserving Low-Rank Adaptation against Membership Inference Attacks for Latent Diffusion Modelscited by 9
- 2025Rectifying Privacy and Efficacy Measurements in Machine Unlearning: A New Inference Attack Perspectivecited by 8
- 2024Mitigating Privacy Risk in Membership Inference by Convex-Concave Losscited by 5
- 2025Trustworthy AI: Safety, Bias, and Privacy -- A Surveycited by 5
- 2023Discriminative Adversarial Privacy: Balancing Accuracy and Membership Privacy in Neural Networkscited by 4
- 2023Diffence: Fencing Membership Privacy With Diffusion Modelscited by 4
- 2024Center-Based Relaxed Learning Against Membership Inference Attackscited by 4
- 2024Defending Membership Inference Attacks via Privacy-aware Sparsity Tuningcited by 4
- 2024Representation Magnitude has a Liability to Privacy Vulnerabilitycited by 3
- 2023Membership Privacy Risks of Sharpness Aware Minimizationcited by 2
- 2025Do Fairness Interventions Come at the Cost of Privacy: Evaluations for Binary Classifierscited by 2
- 2025How does Bayesian Sampling help Membership Inference Attacks?cited by 2
- 2024CLMIA: Membership Inference Attacks via Unsupervised Contrastive Learningcited by 1
- 2025Estimating Model-Level Membership Inference Vulnerability Without Reference Modelscited by 1
- 2025Leverage Unlearning to Sanitize LLMscited by 1
- 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networkscited by 1
- 2024Amplifying Training Data Exposure through Fine-Tuning with Pseudo-Labeled Membershipscited by 0
- 2024Better Membership Inference Privacy Measurement through Discrepancycited by 0
- 2024Graph Transductive Defense: a Two-Stage Defense for Graph Membership Inference Attackscited by 0
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challengescited by 0
- 2025Towards the Anonymization of the Language Modelingcited by 0
- 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weightscited by 0
- 2026Calibrating One-Round Membership Inference with Neighborscited by 0
- 2026Calibrating One-Round Membership Inference with Neighbors28 Sep 2026
- 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weights13 Mar 2026
- 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networks2 Feb 2026
- 2025Leverage Unlearning to Sanitize LLMs24 Oct 2025
- 2025Estimating Model-Level Membership Inference Vulnerability Without Reference Models22 Oct 2025
- 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemble16 Jun 2025
- 2025Rectifying Privacy and Efficacy Measurements in Machine Unlearning: A New Inference Attack Perspective16 Jun 2025
- 2025How does Bayesian Sampling help Membership Inference Attacks?10 Mar 2025
- 2025Do Fairness Interventions Come at the Cost of Privacy: Evaluations for Binary Classifiers8 Mar 2025
- 2025Does Training with Synthetic Data Truly Protect Privacy?18 Feb 2025
- 2025Trustworthy AI: Safety, Bias, and Privacy -- A Survey11 Feb 2025
- 2025Towards the Anonymization of the Language Modeling5 Jan 2025
23 more
- 2024CLMIA: Membership Inference Attacks via Unsupervised Contrastive Learning17 Nov 2024
- 2024On the Privacy Risk of In-context Learning15 Nov 2024
- 2024Defending Membership Inference Attacks via Privacy-aware Sparsity Tuning9 Oct 2024
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challenges31 Jul 2024
- 2024Representation Magnitude has a Liability to Privacy Vulnerability23 Jul 2024
- 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignment8 Jul 2024
- 2024Graph Transductive Defense: a Two-Stage Defense for Graph Membership Inference Attacks12 Jun 2024
- 2024Better Membership Inference Privacy Measurement through Discrepancy24 May 2024
- 2024Center-Based Relaxed Learning Against Membership Inference Attacks26 Apr 2024
- 2024Evaluations of Machine Learning Privacy Defenses are Misleading26 Apr 2024
- 2024SoK: Reducing the Vulnerability of Fine-tuned Language Models to Membership Inference Attacks13 Mar 2024
- 2024Amplifying Training Data Exposure through Fine-Tuning with Pseudo-Labeled Memberships19 Feb 2024
- 2024Privacy-Preserving Low-Rank Adaptation against Membership Inference Attacks for Latent Diffusion Models19 Feb 2024
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb 2024
- 2024Mitigating Privacy Risk in Membership Inference by Convex-Concave Loss8 Feb 2024
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems11 Jan 2024
- 2023Diffence: Fencing Membership Privacy With Diffusion Models7 Dec 2023
- 2023Low-Cost High-Power Membership Inference Attacks6 Dec 2023
- 2023Membership Privacy Risks of Sharpness Aware Minimization30 Sep 2023
- 2023On the Trustworthiness Landscape of State-of-the-art Generative Models: A Survey and Outlook31 Jul 2023
- 2023Discriminative Adversarial Privacy: Balancing Accuracy and Membership Privacy in Neural Networks5 Jun 2023
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May 2023
- 2023Controlling the Extraction of Memorized Data from Large Language Models via Prompt-Tuning19 May 2023
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 249
- 2024Do Membership Inference Attacks Work on Large Language Models?cited by 188
- 2023Low-Cost High-Power Membership Inference Attackscited by 99
- 2024On the Privacy Risk of In-context Learningcited by 31
- 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemblecited by 11
- 2024SoK: Reducing the Vulnerability of Fine-tuned Language Models to Membership Inference Attackscited by 10
- 2025Rectifying Privacy and Efficacy Measurements in Machine Unlearning: A New Inference Attack Perspectivecited by 8
- 2024Mitigating Privacy Risk in Membership Inference by Convex-Concave Losscited by 5
- 2025Trustworthy AI: Safety, Bias, and Privacy -- A Surveycited by 5
- 2024Center-Based Relaxed Learning Against Membership Inference Attackscited by 4
- 2024Defending Membership Inference Attacks via Privacy-aware Sparsity Tuningcited by 4
- 2025How does Bayesian Sampling help Membership Inference Attacks?cited by 2
12 most cited of 19 All 19 (JSON)
- 2026Calibrating One-Round Membership Inference with Neighbors28 Sep 2026
- 2025Leverage Unlearning to Sanitize LLMs24 Oct 2025
- 2025Estimating Model-Level Membership Inference Vulnerability Without Reference Models22 Oct 2025
- 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemble16 Jun 2025
- 2025Rectifying Privacy and Efficacy Measurements in Machine Unlearning: A New Inference Attack Perspective16 Jun 2025
- 2025How does Bayesian Sampling help Membership Inference Attacks?10 Mar 2025
- 2025Trustworthy AI: Safety, Bias, and Privacy -- A Survey11 Feb 2025
- 2024CLMIA: Membership Inference Attacks via Unsupervised Contrastive Learning17 Nov 2024
- 2024On the Privacy Risk of In-context Learning15 Nov 2024
- 2024Defending Membership Inference Attacks via Privacy-aware Sparsity Tuning9 Oct 2024
- 2024Graph Transductive Defense: a Two-Stage Defense for Graph Membership Inference Attacks12 Jun 2024
- 2024Better Membership Inference Privacy Measurement through Discrepancy24 May 2024
12 newest of 19 All 19 (JSON)
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 63
- 2023Controlling the Extraction of Memorized Data from Large Language Models via Prompt-Tuningcited by 40
- 2024Evaluations of Machine Learning Privacy Defenses are Misleadingcited by 35
- 2025Does Training with Synthetic Data Truly Protect Privacy?cited by 12
- 2023Discriminative Adversarial Privacy: Balancing Accuracy and Membership Privacy in Neural Networkscited by 4
- 2024Representation Magnitude has a Liability to Privacy Vulnerabilitycited by 3
- 2023Membership Privacy Risks of Sharpness Aware Minimizationcited by 2
- 2025Do Fairness Interventions Come at the Cost of Privacy: Evaluations for Binary Classifierscited by 2
- 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networkscited by 1
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challengescited by 0
- 2025Towards the Anonymization of the Language Modelingcited by 0
- 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weightscited by 0
- 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weights13 Mar 2026
- 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networks2 Feb 2026
- 2025Do Fairness Interventions Come at the Cost of Privacy: Evaluations for Binary Classifiers8 Mar 2025
- 2025Does Training with Synthetic Data Truly Protect Privacy?18 Feb 2025
- 2025Towards the Anonymization of the Language Modeling5 Jan 2025
- 2024Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challenges31 Jul 2024
- 2024Representation Magnitude has a Liability to Privacy Vulnerability23 Jul 2024
- 2024Evaluations of Machine Learning Privacy Defenses are Misleading26 Apr 2024
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems11 Jan 2024
- 2023Membership Privacy Risks of Sharpness Aware Minimization30 Sep 2023
- 2023Discriminative Adversarial Privacy: Balancing Accuracy and Membership Privacy in Neural Networks5 Jun 2023
- 2023Controlling the Extraction of Memorized Data from Large Language Models via Prompt-Tuning19 May 2023