Papers › Keep It Private: Unsupervised Privatization of Online Text

Keep It Private: Unsupervised Privatization of Online Text

16 May 2024arXiv:2405.10260archive 2025-07-28

Calvin Bao, Marine Carpuat

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.10260")

Code

Syntology Ran 9 of 10 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 9 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

csbao/kip-privatization officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 9 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9ran
1unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from csbao/kip-privatization. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

clean_model_output csbao/kip-privatization/src/generator.py official repository ran fingerprinted no licence file found · pointer only · ea20b2afe563d63f · report
clean_text csbao/kip-privatization/src/generator.py official repository ran fingerprinted no licence file found · pointer only · 32acbc36604380fe · report
create_batches csbao/kip-privatization/src/helper_functions.py official repository ran fingerprinted no licence file found · pointer only · f1910cd6b05c84aa · report
get_data csbao/kip-privatization/src/helper_functions.py official repository ran no licence file found · pointer only · 4d4066506b0f22f8 · report
get_text csbao/kip-privatization/src/helper_functions.py official repository ran no licence file found · pointer only · 89bc537f3c9703a1 · report
ngram_copy_filtering csbao/kip-privatization/src/utils_sampling.py official repository ran no licence file found · pointer only · 16c296d92209cb7d · report
normalize csbao/kip-privatization/src/generate.py official repository ran fingerprinted no licence file found · pointer only · 6cb92ff53102c75a · report
pad csbao/kip-privatization/src/generator.py official repository ran no licence file found · pointer only · f50641f30611f77b · report
top_k_top_p_filtering csbao/kip-privatization/src/utils_sampling.py official repository ran no licence file found · pointer only · acaf70fe7b4941ca · report
load_tokenizer csbao/kip-privatization/src/generate.py official repository unverified no licence file found · pointer only · 5c7e9c77b1969bc7 · report

Tasks

Language ModelingLanguage ModellingLarge Language Model

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections