← Latest papers
💬 NLP

Can We Infer Confidential Properties of Training Data from LLMs?

This paper introduces PropInfer, a benchmark to evaluate whether Large Language Models (LLMs) are vulnerable to property inference attacks, and demonstrates through new attack methods that LLMs can indeed leak sensitive, dataset-level confidential information during fine-tuning.

Original authors: Pengrun Huang, Chhavi Yadav, Kamalika Chaudhuri, Ruihan Wu

Published 2026-02-10
📖 4 min read☕ Coffee break read

Original authors: Pengrun Huang, Chhavi Yadav, Kamalika Chaudhuri, Ruihan Wu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a secret recipe for a special soup. You don't want to tell anyone exactly how much salt or garlic you use because that’s your "business secret." Instead of giving away the recipe, you just let people taste the soup. You might think, "As long as I don't give them the recipe card, my secret is safe."

But what if a clever food critic could taste your soup and, by analyzing the subtle hints of flavor, figure out exactly what percentage of your ingredients are garlic versus onion?

That is exactly what this research paper is about.

The Core Problem: The "Flavor" of Data

When companies or hospitals train Large Language Models (like ChatGPT), they use special datasets. For example, a hospital might use thousands of doctor-patient chats to teach an AI how to give medical advice.

The researchers found that even if you don't "leak" a specific patient's name (individual privacy), the AI accidentally learns the "flavor" of the whole group (dataset-level property).

If the hospital's training data happens to have a lot of female patients, the AI might start using subtle linguistic cues—like mentioning "pregnancy" or "gynecologists"—more often. An attacker could "taste" these linguistic cues to figure out, "Aha! 70% of the people in this hospital's private database are women." This is a breach of confidentiality, even if no single person's identity is stolen.

The Two "Master Chefs" (The Attacks)

The researchers created two ways to "taste" the AI to steal these secrets:

  1. The "Order a Sample" Attack (Black-Box Generation):
    Imagine walking into a restaurant and ordering 100 different bowls of soup. You don't know the recipe, and you can't see the kitchen. You just taste every bowl and keep a tally: "This one tastes like garlic, this one doesn't, this one does..." By the time you've eaten 100 bowls, you can make a very accurate guess about the chef's secret ratio. This is how the researchers used prompts to make the AI "talk" and then counted how many times it mentioned certain topics.

  2. The "Imitation Chef" Attack (Shadow-Model/Word Frequency):
    This is more sophisticated. Imagine you want to know the secret ratio of a famous chef. You go home and cook 50 different versions of the soup, intentionally changing the garlic levels in each one. You become an expert on how "more garlic" changes the smell and look of the soup. Then, you go to the famous chef's restaurant, look at the steam rising from their pot, and say, "Based on the specific way those garlic particles are floating, I bet your ratio is exactly 12%." The researchers did this by training "shadow" AIs to learn how specific word frequencies change based on the data.

The Findings: It Depends on How You "Cook"

The researchers discovered that the success of these attacks depends on how the AI was trained:

  • The "Q&A" Style: If the AI is trained only to provide the answer (like a textbook), it's harder to steal secrets through simple generation, but the "Imitation Chef" (word frequency) attack works incredibly well.
  • The "Chat" Style: If the AI is trained to mimic a full conversation (like a real person), it's much easier to use the "Order a Sample" attack because the AI is constantly "leaking" the flavor of the conversation.

Why Does This Matter?

This paper is a wake-up call. It tells companies: "Just because you aren't showing the raw data doesn't mean your secrets are safe."

If an AI is trained on sensitive data—like how many people in a certain city have a specific disease or how many customers are low-income—that information is "baked into" the AI's personality. The researchers are calling for better "recipes" and "defenses" to ensure that when we teach AI new things, we don't accidentally teach it how to spill our secrets.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →