Skip to main content
QUICK REVIEW

[Paper Review] Protecting User Privacy in Remote Conversational Systems: A Privacy-Preserving framework based on text sanitization

Zhigang Kan, Linbo Qiao|arXiv (Cornell University)|Jun 14, 2023
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper proposes PP-TS, a privacy-preserving framework that safeguards user data in remote conversational AI systems by applying multi-round text sanitization based on user-defined privacy types before sending inputs to large language models. It achieves high privacy protection (95.96% PRR) with minimal impact on data utility (92.33% DUR), while the reasonability check mechanism enhances resistance to logical inference attacks.

ABSTRACT

Large Language Models (LLMs) are gaining increasing attention due to their exceptional performance across numerous tasks. As a result, the general public utilize them as an influential tool for boosting their productivity while natural language processing researchers endeavor to employ them in solving existing or new research problems. Unfortunately, individuals can only access such powerful AIs through APIs, which ultimately leads to the transmission of raw data to the models' providers and increases the possibility of privacy data leakage. Current privacy-preserving methods for cloud-deployed language models aim to protect privacy information in the pre-training dataset or during the model training phase. However, they do not meet the specific challenges presented by the remote access approach of new large-scale language models. This paper introduces a novel task, "User Privacy Protection for Dialogue Models," which aims to safeguard sensitive user information from any possible disclosure while conversing with chatbots. We also present an evaluation scheme for this task, which covers evaluation metrics for privacy protection, data availability, and resistance to simulation attacks. Moreover, we propose the first framework for this task, namely privacy protection through text sanitization. Before sending the input to remote large models, it filters out the sensitive information, using several rounds of text sanitization based on privacy types that users define. Upon receiving responses from the larger model, our framework automatically restores privacy to ensure that the conversation goes smoothly, without intervention from the privacy filter. Experiments based on real-world datasets demonstrate the efficacy of our privacy-preserving approach against eavesdropping from potential attackers.

Motivation & Objective

  • Address the growing risk of privacy leakage when users interact with remote large language models via APIs.
  • Identify the unique challenges of protecting unstructured, natural language inputs in remote model access scenarios.
  • Develop a comprehensive evaluation scheme covering privacy protection, data availability, and resistance to simulation attacks.
  • Propose a novel framework that sanitizes user inputs and automatically restores privacy in model responses to maintain conversation flow.

Proposed method

  • Apply multi-round text sanitization based on user-defined privacy types to filter sensitive information from input text before remote model invocation.
  • Use in-context learning to detect and remove privacy information procedurally, enhancing detection beyond literal matching.
  • Integrate a reasonability check mechanism to reduce semantic contradictions in sanitized text, preventing inference attacks.
  • Automatically restore privacy in model responses using a reverse sanitization process to maintain conversation coherence.
  • Leverage a three-part evaluation scheme: privacy removal rate (PRR), data utility rate (DUR), and resistance to literal and logical inference attacks.
  • Utilize precision, recall, and F1-score metrics to evaluate event extraction performance post-sanitization.

Experimental results

Research questions

  • RQ1How effective is the proposed framework in protecting privacy from both literal and logical inference-based simulation attacks?
  • RQ2To what extent does text sanitization impact the data utility and semantic coherence of user inputs and model responses?
  • RQ3What role does the reasonability check mechanism play in enhancing resistance to inference attacks?
  • RQ4How does the framework maintain conversation flow without requiring manual intervention during privacy filtering?
  • RQ5What is the trade-off between privacy protection and downstream task performance, such as event extraction?

Key findings

  • The PP-TS framework achieves a 95.96% Privacy Removal Rate (PRR), indicating near-complete removal of specified privacy types from input text.
  • The Data Utility Rate (DUR) reaches 92.33%, demonstrating strong preservation of input data utility after sanitization.
  • Removing the reasonability check mechanism reduces DUR to 81.67%, confirming its critical role in maintaining semantic coherence and resisting inference attacks.
  • The framework maintains high performance in event extraction tasks, with F1-scores of 48.91 for triggers and 21.00 for arguments, showing minimal degradation from original performance.
  • The framework outperforms baseline methods in resisting procedural attacks, which are less effective than human-driven attacks at detecting privacy.
  • The inclusion of the reasonability check improves F1 scores by 1.71 points for triggers and 1.98 points for arguments, indicating measurable performance gains in downstream tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.