Keep It Private: Unsupervised Privatization of Online Text

Calvin Bao, Marine Carpuat
5/16/2024
cs.CLcs.AI

No official code found. Best implementation: csbao/kip-privatization (3 stars, last commit 2026-02-25).

Abstract

Authorship obfuscation techniques hold the promise of helping people protect their privacy in online communications by automatically rewriting text to hide the identity of the original author. However, obfuscation has been evaluated in narrow settings in the NLP literature and has primarily been addressed with superficial edit operations that can lead to unnatural outputs. In this work, we introduce an automatic text privatization framework that fine-tunes a large language model via reinforcement learning to produce rewrites that balance soundness, sense, and privacy. We evaluate it extensively on a large-scale test set of English Reddit posts by 68k authors composed of short-medium length texts. We study how the performance changes among evaluative conditions including authorial profile length and authorship detection strategy. Our method maintains high text quality according to both automated metrics and human evaluation, and successfully evades several automated authorship attacks.

View on arXivView PDF

Code Implementations(1)

30Shell, PythonApr 4, 20247 months ago

Similar Papers

Cite this paper

@article{bao2024keep,
  title  = {Keep It Private: Unsupervised Privatization of Online Text},
  author = {Calvin Bao and Marine Carpuat},
  year   = {2024},
  eprint = {2405.10260},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.10260v1}
}

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

Discussion