← Latest papers
🤖 machine learning

LLM-as-a-Discriminator: When Synthetic Tables Still Look Real

This paper proposes and evaluates an LLM-based discrimination method for auditing the privacy of synthetic tabular data, demonstrating that large language models can effectively distinguish between real and synthetic tables across various synthesis models and datasets, offering a practical alternative to traditional statistical tests and human evaluation.

Original authors: Manel Slokom, Malek Slokom, Thierno Kante

Published 2026-06-10
📖 5 min read🧠 Deep dive

Original authors: Manel Slokom, Malek Slokom, Thierno Kante

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 are a food critic trying to tell the difference between a real, home-cooked meal and a perfect-looking fake meal made by a robot chef. In the world of data, organizations often use "synthetic data" (fake data made by computers) to share information without revealing private details about real people. But how do you know if the fake data is good enough to fool a detective?

This paper introduces a new way to test that: using a super-smart AI (a Large Language Model or LLM) as the detective.

Here is the breakdown of their experiment in simple terms:

The Setup: The "Taste Test"

The researchers set up a game where the AI detective has to look at a small sample of a table (like a spreadsheet with 20 rows) and decide: "Is this Real (from real people) or Synthetic (fake)?"

They tested the AI under two different "threat" scenarios:

  1. Scenario C1 (The Blind Taste Test): The AI only sees the table itself. It's like looking at a plate of food without knowing the recipe or the chef's reputation.
  2. Scenario C2 (The Full Menu): The AI sees the table plus a detailed summary of the data's statistics (like the average age, how spread out the numbers are, etc.). This is like giving the detective the recipe and the nutritional facts alongside the food.

The Players

They used two different "detectives" (AI models):

  • Gemini: A very powerful, commercial AI from Google.
  • LLaMA: A popular open-source AI from Meta (run here via a service called Groq).

They also tested three different "robot chefs" (synthesis methods) that created the fake data: CTGAN, TVAE, and Gaussian Copula.

The Results: The Detectives Had Very Different Personalities

1. The "Overconfident" Detective (LLaMA/Groq)
This detective was terrible at the game, but for different reasons depending on the dataset:

  • On the "Adult" dataset: It was so lazy it just guessed "REAL" for everything. It didn't even try to look for fakes.
  • On the "Census" dataset: It got the opposite bias and guessed "SYNTHETIC" for everything.
  • The Lesson: Just because an AI says "I can tell the difference" doesn't mean it actually can. Sometimes it just has a strong habit of guessing one way.

2. The "Sharp-Eyed" Detective (Gemini)
This detective was much better, but its performance depended on the data:

  • On the "Adult" dataset: It was a master detective. It spotted the fakes 100% of the time, even when it only saw the table (Scenario C1). It found tiny cracks in the logic, like a fake education level that didn't match the years of schooling.
  • On the "Census" dataset: It was great at spotting fakes when it only saw the table (C1). But when given the extra statistics (C2), it got confused. The extra numbers actually helped the fake data blend in, making it harder for the AI to tell them apart.

3. The Human vs. The Machine
The researchers also asked two real humans to play the game.

  • LLaMA performed worse than the humans.
  • Gemini performed just as well as, or sometimes even better than, the humans.
  • What did they spot? Both the smart AI and the humans noticed the same weird things: impossible combinations (like a person being a "husband" but also "never married") or broken rules (like an education level saying "High School" but having a number code for "College").

The Big Takeaway

The paper concludes that the choice of AI detective matters more than the choice of the robot chef.

  • If you use a weak or biased AI (like the LLaMA version they tested), you might think your fake data is safe because the AI can't tell the difference. But that's just because the AI is bad at the job, not because the data is perfect.
  • If you use a strong AI (like Gemini), it can often spot the fakes, especially if the fake data has logical errors (like a 10-year-old being a CEO).

The "Privacy Score" (DRS)
The authors created a score called the Disclosure Risk Score (DRS).

  • 0%: The AI can't tell real from fake (Good for privacy, but only if the AI is actually smart enough to try!).
  • 100%: The AI spots every single fake (Bad for privacy; the fake data is too obvious).

Why This Matters

The paper argues that using an AI to check if synthetic data is "real-looking" is a practical tool for privacy auditors. However, you have to be careful:

  • Don't just trust the result; check which AI gave the result.
  • Don't assume that because one AI can't tell the difference, the data is safe. It might just be a bad detective.
  • The best AI (Gemini) found that the fake data often had "glitches" in logic that humans also noticed, proving that these AI models are becoming good enough to act as privacy auditors.

In short: If you want to know if your fake data looks real, ask a very smart AI to look at it. But make sure you pick a smart AI, not a lazy one, or you'll get a false sense of security.

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 →