PAPILLON: PrivAcy Preservation from Internet-based and Local Language MOdel ENsembles

Li Siyan, Vethavikashini Chithrra Raghuram, Omar Khattab, Julia Hirschberg, Zhou YuarXiv 2024 · DOI

Introduction

The rapid adoption of frontier Large Language Models (LLMs) like GPT-4o has created a significant "privacy-utility" trade-off. While these remote models offer unparalleled reasoning capabilities, they require users to transmit sensitive Personally Identifiable Information (PII) to third-party providers. Conversely, local open-source models ensure data sovereignty but often lack the performance required for complex tasks. PAPILLON addresses this gap through Privacy-Conscious Delegation, a framework that utilizes a small local LLM as a privacy proxy for powerful remote APIs.

The PAPILLON Framework

PAPILLON (French for "butterfly") employs a multi-stage pipeline designed to abstract sensitive information before it leaves the local environment and re-integrate it once the remote reasoning is complete.

The PAPILLON pipeline architecture.

The process consists of three core components:

  1. Prompt Creator (Local): A local model ($M_{LOCAL}$) transforms the user's private query into a "Privacy-Preserving Prompt." Rather than simple redaction, it abstracts the task (e.g., changing a specific salary request into a general request for a professional template).
  2. Remote Execution: The sanitized prompt is processed by a high-capability remote model ($M_{REMOTE}$), which generates a structured response or template.
  3. Information Aggregator (Local): The local model synthesizes the final output by merging the remote model's high-quality response with the original private details stored locally.

To optimize these interactions, the authors utilized DSPy’s MIPRO v2, automatically tuning instructions to balance privacy (redaction depth) with utility (context preservation).

The PUPA Benchmark

To evaluate PAPILLON, the researchers introduced the Private User Prompt Annotations (PUPA) benchmark. Derived from 901 real-world interactions in the WildChat dataset, PUPA focuses on instances where users naturally disclosed PII, such as financial data or job applications.

Data processing pipeline for the PUPA dataset.

The dataset is split into PUPA-TNB (237 turns for evaluation) and PUPA-New (664 turns for optimization). The curation process involved classifying conversations into high-risk categories, splitting turns, and using LLM-based redaction to extract PII units for ground-truth comparison.

Experimental Results

The study paired various local models with GPT-4o-mini as the remote engine. The results demonstrate that PAPILLON effectively bridges the performance gap:

  • Quality vs. Privacy: An optimized Llama-3.1-8B-Instruct pipeline achieved 85.5% quality preservation relative to an unredacted remote model, while leaking only 7.5% of private information.
  • The Utility of Optimization: Prompt optimization was critical; for the Llama-3.1-8B model, it improved quality by 13.7 points and reduced leakage by nearly 10 points.
  • Cost Considerations: While PAPILLON reduces input tokens by removing PII, the total cost slightly increased (from $0.063 to $0.076 in tests) due to the remote model generating more detailed, structured templates.

Conclusion and Future Work

PAPILLON demonstrates that local models can act as effective gatekeepers for privacy without sacrificing the power of frontier LLMs. However, limitations remain, particularly regarding "implicit" PII—contextual clues that might reveal sensitive attributes without explicit keywords. Future research will focus on extending the framework to multi-turn dialogues and exploring formal privacy guarantees, such as Differential Privacy, to complement PAPILLON's empirical success.

Summary updated

BibTeX
@misc{siyan2024papillon,
  author = {Li Siyan and Vethavikashini Chithrra Raghuram and Omar Khattab and Julia Hirschberg and Zhou Yu},
  title = {{PAPILLON: PrivAcy Preservation from Internet-based and Local Language MOdel ENsembles}},
  year = {2024},
  eprint = {2410.17127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.17127},
}
Figure