NAP^2: A Benchmark for Naturalness and Privacy-Preserving Text Rewriting by Learning from Human

Shuo Huang, William MacLean, Xiaoxi Kang, Qiongkai Xu, Zhuang Li +3 more
6/6/2024
cs.CL

No confident code implementation found for this paper.

Abstract

The widespread use of cloud-based Large Language Models (LLMs) has heightened concerns over user privacy, as sensitive information may be inadvertently exposed during interactions with these services. To protect privacy before sending sensitive data to those models, we suggest sanitizing sensitive text using two common strategies used by humans: i) deleting sensitive expressions, and ii) obscuring sensitive details by abstracting them. To explore the issues and develop a tool for text rewriting, we curate the first corpus, coined NAP^2, through both crowdsourcing and the use of large language models (LLMs). Compared to the prior works on anonymization, the human-inspired approaches result in more natural rewrites and offer an improved balance between privacy protection and data utility, as demonstrated by our extensive experiments. Researchers interested in accessing the dataset are encouraged to contact the first or corresponding author via email.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2024nap,
  title  = {NAP^2: A Benchmark for Naturalness and Privacy-Preserving Text Rewriting by Learning from Human},
  author = {Shuo Huang and William MacLean and Xiaoxi Kang and Qiongkai Xu and Zhuang Li and Xingliang Yuan and Gholamreza Haffari and Lizhen Qu},
  year   = {2024},
  eprint = {2406.03749},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.03749v2}
}

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

Discussion