Self-Refining Language Model Anonymizers via Adversarial Distillation

Kyuyoung Kim, Hyunju Jeon, Jinwoo Shin
6/1/2025
11 citations
distillation

No official code found. Best implementation: kykim0/SEAL (6 stars).

Abstract

Large language models (LLMs) are increasingly used in sensitive domains, where their ability to infer personal data from seemingly benign text introduces emerging privacy risks. While recent LLM-based anonymization methods help mitigate such risks, they often rely on proprietary models (e.g., GPT-4), raising concerns about cost and the potential exposure of sensitive data to untrusted external systems.

Show full abstract

To address this, we introduce SElf-refining Anonymization with Language model (SEAL), a novel distillation framework for training small language models (SLMs) to perform effective anonymization without relying on external models at inference time. SEAL leverages adversarial interactions between an LLM anonymizer and an inference model to collect trajectories of anonymized texts and inferred attributes, which are then used to distill anonymization and critique capabilities into SLMs through supervised fine-tuning and preference learning. The resulting models learn both to anonymize text and to evaluate their outputs, enabling iterative improvement of anonymization quality via self-refinement. Experiments on SynthPAI, a dataset of synthetic personal profiles and text comments, demonstrate that SLMs trained with SEAL achieve substantial improvements in anonymization capabilities. Notably, 8B models attain a privacy-utility trade-off comparable to that of the GPT-4 anonymizer and, with self-refinement, even surpass it in terms of privacy protection. These results highlight the effectiveness of our adversarial distillation framework for training SLMs as efficient anonymizers.

View on arXivView PDF

Code Implementations(1)

kykim0/SEALCommunity25%

[NeurIPS 25] Self-Refining Language Model Anonymizers via Adversarial Distillation

60

Similar Papers

Cite this paper

@article{kim2025selfrefining,
  title  = {Self-Refining Language Model Anonymizers via Adversarial Distillation},
  author = {Kyuyoung Kim and Hyunju Jeon and Jinwoo Shin},
  year   = {2025},
  eprint = {2506.01420},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.01420},
  url    = {https://doi.org/10.48550/arXiv.2506.01420},
  journal = {Neural Information Processing Systems}
}

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/2506.01420.svg)](https://codeofpaper.com/paper/2506.01420)

Discussion