PrivaCI-Bench: Evaluating Privacy with Contextual Integrity and Legal Compliance

Haoran Li, Wenbin Hu, Huihao Jing, Yulin Chen, Qi Hu +4 more
2/24/2025
cs.CL

No official code found. Best implementation: HKUST-KnowComp/PrivaCI-Bench (23 stars, MIT, last commit 2025-04-23).

Abstract

Recent advancements in generative large language models (LLMs) have enabled wider applicability, accessibility, and flexibility. However, their reliability and trustworthiness are still in doubt, especially for concerns regarding individuals' data privacy. Great efforts have been made on privacy by building various evaluation benchmarks to study LLMs' privacy awareness and robustness from their generated outputs to their hidden representations. Unfortunately, most of these works adopt a narrow formulation of privacy and only investigate personally identifiable information (PII). In this paper, we follow the merit of the Contextual Integrity (CI) theory, which posits that privacy evaluation should not only cover the transmitted attributes but also encompass the whole relevant social context through private information flows. We present PrivaCI-Bench, a comprehensive contextual privacy evaluation benchmark targeted at legal compliance to cover well-annotated privacy and safety regulations, real court cases, privacy policies, and synthetic data built from the official toolkit to study LLMs' privacy and safety compliance. We evaluate the latest LLMs, including the recent reasoner models QwQ-32B and Deepseek R1. Our experimental results suggest that though LLMs can effectively capture key CI parameters inside a given context, they still require further advancements for privacy compliance.

View on arXivView PDF

Code Implementations(1)

MIT
234Python, Jupyter NotebookFeb 24, 20251 years agoMIT

Similar Papers

Cite this paper

@article{li2025privacibench,
  title  = {PrivaCI-Bench: Evaluating Privacy with Contextual Integrity and Legal Compliance},
  author = {Haoran Li and Wenbin Hu and Huihao Jing and Yulin Chen and Qi Hu and Sirui Han and Tianshu Chu and Peizhao Hu and Yangqiu Song},
  year   = {2025},
  eprint = {2502.17041},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.17041v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.17041.svg)](https://codeofpaper.com/paper/2502.17041)

Discussion