PIMENTO: A Privacy Framework for Querying Text
Abstract
Currently, there are two state-of-the-art, complementary privacy guarantees: contextual integrity (CI) for what may flow, and differential privacy (DP) for what may be inferred. Yet neither maps cleanly onto natural language, leaving existing approaches unable to provide these guarantees for analytics over unstructured text. We address this gap with Pimento, a framework that takes three forms of natural language: text corpus, queries, and privacy policies; and grounds them into a relational database, creating a common substrate on which both guarantees can be enforced formally. With this design, we not only provide end to end privacy guarantees, but also improvement to utility through three key contributions: DP aware Text-to-SQL, which searches for correct queries requiring the least DP noise; CI aware Text-to-SQL, which compiles natural language policies into executable CI rules over the database; and a new privacy definition we call contextual differential privacy, which redefines the traditional DP neighborhood under CI, and yields a tighter smooth sensitivity bound. Across new benchmarks, Pimento selects the best query in 75.3% of cases (upto +45 points over baselines) and achieves zero leakage under correct policy grounding. To our knowledge, Pimento is the first framework to provide formal privacy guarantees for natural language analytics under CI, DP, and their composition.
Create a lesson
Related papers
A Graph-Based Framework for Extending Metric Differential Privacy Mechanisms
Shared title terminologycs.CRRuiyao Liu, Chenxi Qiu
You Better Be Sure: Evaluating Corrective Input Text on Driving-Based VLA Models
Shared title terminologycs.CRChristopher Salas, Alkim Domeke, Arpan Bansal et al.
Benchmarking Membership Privacy Risks in Preference-Based LLM Post-Training
Shared title terminologycs.CRLorenzo Rossi, Kaif Shaikh, Franziska Boenisch et al.
Data Poisoning Attacks and Defenses to Local Differential Privacy Protocols: A Survey
Shared title terminologycs.CRXinyu Li, Xuebin Ren, Shusen Yang et al.
Revisiting the Performance of Privacy-Preserving DNS Resolution: An Evaluation of ODoQ
Shared title terminologycs.CRPrakriti Tripathi, Aditya Kulkarni, Tamal Das
Verifiable Differential Privacy for Secure Aggregation in Malicious Settings
Shared title terminologycs.CRFuyi Wang, Jiahuai Mao, Wei Song