@article{ART003266077},
author={Jong Wook Kim},
title={SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models},
journal={Journal of The Korea Society of Computer and Information},
issn={1598-849X},
year={2025},
volume={30},
number={11},
pages={91-98}
TY - JOUR
AU - Jong Wook Kim
TI - SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models
JO - Journal of The Korea Society of Computer and Information
PY - 2025
VL - 30
IS - 11
PB - The Korean Society Of Computer And Information
SP - 91
EP - 98
SN - 1598-849X
AB - Text data is a critical resource in modern machine learning applications but often contains sensitive information, creating risks of privacy leakage when shared. Differential privacy (DP) provides a theoretical guarantee to prevent such leakage during data sharing, and recent work has explored its application to text rewriting using large language models (LLMs). However, most existing approaches assume a white-box setting with access to internal LLM model structures, making them impractical in real-world scenarios where only black-box API access is available. To address this limitation, we propose SafeDP-Rewrite, a DP-based text rewriting method that operates entirely in the black-box setting of LLMs. The proposed method generates diverse candidate sentences through random masking and applies the exponential mechanism to ensure DP in the final output. SafeDP-Rewrite requires neither additional training nor access to internal model information, making it simple and practical to deploy. Experiments on real-world datasets demonstrate that the proposed method preserves semantic fidelity and fluency while simultaneously achieving both privacy protection and utility.
KW - Differential privacy;Text rewriting;Black-box large language models;Data privacy
DO -
UR -
ER -
Jong Wook Kim. (2025). SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models. Journal of The Korea Society of Computer and Information, 30(11), 91-98.
Jong Wook Kim. 2025, "SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models", Journal of The Korea Society of Computer and Information, vol.30, no.11 pp.91-98.
Jong Wook Kim "SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models" Journal of The Korea Society of Computer and Information 30.11 pp.91-98 (2025) : 91.
Jong Wook Kim. SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models. 2025; 30(11), 91-98.
Jong Wook Kim. "SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models" Journal of The Korea Society of Computer and Information 30, no.11 (2025) : 91-98.
Jong Wook Kim. SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models. Journal of The Korea Society of Computer and Information, 30(11), 91-98.
Jong Wook Kim. SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models. Journal of The Korea Society of Computer and Information. 2025; 30(11) 91-98.
Jong Wook Kim. SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models. 2025; 30(11), 91-98.
Jong Wook Kim. "SafeDP-Rewrite: Differentially Private Text Rewriting with Black-Box Access to Large Language Models" Journal of The Korea Society of Computer and Information 30, no.11 (2025) : 91-98.