Can We Infer Confidential Properties of Training Data from LLMs?

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Huang, Pengrun, Yadav, Chhavi, Chaudhuri, Kamalika, Wu, Ruihan
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917258307043328
author Huang, Pengrun
Yadav, Chhavi
Chaudhuri, Kamalika
Wu, Ruihan
author_facet Huang, Pengrun
Yadav, Chhavi
Chaudhuri, Kamalika
Wu, Ruihan
contents Large language models (LLMs) are increasingly fine-tuned on domain-specific datasets to support applications in fields such as healthcare, finance, and law. These fine-tuning datasets often have sensitive and confidential dataset-level properties -- such as patient demographics or disease prevalence -- that are not intended to be revealed. While prior work has studied property inference attacks on discriminative models (e.g., image classification models) and generative models (e.g., GANs for image data), it remains unclear if such attacks transfer to LLMs. In this work, we introduce PropInfer, a benchmark task for evaluating property inference in LLMs under two fine-tuning paradigms: question-answering and chat-completion. Built on the ChatDoctor dataset, our benchmark includes a range of property types and task configurations. We further propose two tailored attacks: a prompt-based generation attack and a shadow-model attack leveraging word frequency signals. Empirical evaluations across multiple pretrained LLMs show the success of our attacks, revealing a previously unrecognized vulnerability in LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2506_10364
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Can We Infer Confidential Properties of Training Data from LLMs?
Huang, Pengrun
Yadav, Chhavi
Chaudhuri, Kamalika
Wu, Ruihan
Machine Learning
Computation and Language
Cryptography and Security
Large language models (LLMs) are increasingly fine-tuned on domain-specific datasets to support applications in fields such as healthcare, finance, and law. These fine-tuning datasets often have sensitive and confidential dataset-level properties -- such as patient demographics or disease prevalence -- that are not intended to be revealed. While prior work has studied property inference attacks on discriminative models (e.g., image classification models) and generative models (e.g., GANs for image data), it remains unclear if such attacks transfer to LLMs. In this work, we introduce PropInfer, a benchmark task for evaluating property inference in LLMs under two fine-tuning paradigms: question-answering and chat-completion. Built on the ChatDoctor dataset, our benchmark includes a range of property types and task configurations. We further propose two tailored attacks: a prompt-based generation attack and a shadow-model attack leveraging word frequency signals. Empirical evaluations across multiple pretrained LLMs show the success of our attacks, revealing a previously unrecognized vulnerability in LLMs.
title Can We Infer Confidential Properties of Training Data from LLMs?
topic Machine Learning
Computation and Language
Cryptography and Security
url https://arxiv.org/abs/2506.10364