Skip to main navigation Skip to search Skip to main content

Automated Annotation of Privacy Information in User Interactions with Large Language Models

  • Hang Zeng
  • , Xiangyu Liu
  • , Yong Hu
  • , Chaoyue Niu
  • , Fan Wu
  • , Shaojie Tang
  • , Guihai Chen
  • Shanghai Jiao Tong University
  • Tencent

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Users interacting with large language models (LLMs) under their real identifiers often unknowingly risk disclosing private information. Automatically notifying users whether their queries leak privacy and which phrases leak what private information has therefore become a practical need. Existing privacy detection methods, however, were designed for different objectives and application domains, typically tagging personally identifiable information (PII) in anonymous content, which is insufficient in real-name interaction scenarios with LLMs. In this work, to support the development and evaluation of privacy detection models for LLM interactions that are deployable on local user devices, we construct a large-scale multilingual dataset with 249K user queries and 154K annotated privacy phrases. In particular, we build an automated privacy annotation pipeline with strong LLMs to automatically extract privacy phrases from dialogue datasets and annotate leaked information. We also design evaluation metrics at the levels of privacy leakage, extracted privacy phrase, and privacy information. We further establish baseline methods using light-weight LLMs with both tuning-free and tuning-based methods, and report a comprehensive evaluation of their performance. Evaluation results demonstrate that the 1B model, fine-tuned with our dataset, outperforms the directly prompted 72B model. However, a gap remains between current performance and the requirements of real-world LLM applications, motivating future research into more effective local privacy detection methods grounded in our dataset.

Original languageEnglish
Title of host publicationKDD 2026 - Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1
PublisherAssociation for Computing Machinery
Pages2866-2877
Number of pages12
ISBN (Electronic)9798400722585
DOIs
StatePublished - Apr 20 2026
Event32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026 - Jeju Island, Korea, Republic of
Duration: Aug 9 2026Aug 13 2026

Publication series

NameProceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
Volume1-A
ISSN (Print)2154-817X

Conference

Conference32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026
Country/TerritoryKorea, Republic of
CityJeju Island
Period08/9/2608/13/26

Keywords

  • llm interaction
  • privacy detection dataset

Fingerprint

Dive into the research topics of 'Automated Annotation of Privacy Information in User Interactions with Large Language Models'. Together they form a unique fingerprint.

Cite this