TL;DR
InvisibleInk is a scalable framework for private long-form text generation that achieves differential privacy with significantly reduced computational costs, enabling practical use of private language models.
Contribution
It introduces a novel method isolating sensitive information in logits and sampling from a private token set, reducing privacy costs and improving text quality.
Findings
Achieves 8x reduction in computation cost over baselines.
Generates high-quality private long-form text at 4-8x the cost of non-private methods.
Open-sourced Python package available at GitHub.
Abstract
As major progress in LLM-based long-form text generation enables paradigms such as retrieval-augmented generation (RAG) and inference-time scaling, safely incorporating private information into the generation remains a critical open question. We present InvisibleInk, a highly scalable long-form text generation framework satisfying rigorous differential privacy guarantees with respect to the sensitive reference texts. It interprets sampling from the LLM's next-token-distribution as the exponential mechanism over the LLM logits with two innovations. First, we reduce the privacy cost by isolating and clipping only the sensitive information in the model logits (relative to the public logits). Second, we improve text quality by sampling without any privacy cost from a small superset of the top- private tokens. Empirical evaluations demonstrate a consistent (or more) reduction in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
