Be Careful What You Smooth For: Label Smoothing Can Be a Privacy Shield but Also a Catalyst for Model Inversion Attacks

Lukas Struppek, Dominik Hintersdorf, K. Kersting
2/12/2026

No official code found. Best implementation: LukasStruppek/Plug-and-Play-Attacks (48 stars, MIT, last commit 2025-07-18).

Abstract

Label smoothing -- using softened labels instead of hard ones -- is a widely adopted regularization method for deep learning, showing diverse benefits such as enhanced generalization and calibration. Its implications for preserving model privacy, however, have remained unexplored. To fill this gap, we investigate the impact of label smoothing on model inversion attacks (MIAs), which aim to generate class-representative samples by exploiting the knowledge encoded in a classifier, thereby inferring sensitive information about its training data. Through extensive analyses, we uncover that traditional label smoothing fosters MIAs, thereby increasing a model's privacy leakage. Even more, we reveal that smoothing with negative factors counters this trend, impeding the extraction of class-related information and leading to privacy preservation, beating state-of-the-art defenses. This establishes a practical and powerful novel way for enhancing model resilience against MIAs.

View on arXivView PDF

Code Implementations(1)

MIT

[ICML 2022 / ICLR 2024] Source code for our papers "Plug & Play Attacks: Towards Robust and Flexible Model Inversion Attacks" and "Be Careful What You Smooth For".

4815Python, DockerfileJan 31, 20221 years agoMIT
face-recognitionmachine-learningmodel-inversionmodel-inversion-attacksprivacy-attacks+2 more

Cite this paper

@article{struppek2026careful,
  title  = {Be Careful What You Smooth For: Label Smoothing Can Be a Privacy Shield but Also a Catalyst for Model Inversion Attacks},
  author = {Lukas Struppek and Dominik Hintersdorf and K. Kersting},
  year   = {2026},
  eprint = {2310.06549},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.06549},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.06549.svg)](https://codeofpaper.com/paper/2310.06549)

Discussion