Reproduce “Unlocking Post-hoc Dataset Inference with Synthetic Data” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Bihe Zhao, Pratyush Maini, Franziska Boenisch, Adam Dziedzic

Researchers from CISPA Helmholtz Center and Carnegie Mellon University developed a method to enable practical Dataset Inference (DI) for auditing large language models, addressing the critical requirement for an in-distribution held-out dataset. Their approach uses finetuned language models to synthetically generate high-quality held-out data and employs a dual-classifier post-hoc calibration to distinguish true membership from generation artifacts, achieving accurate detection of training data with low false positive rates across diverse datasets.

Key insights

  • Traditional Dataset Inference (DI) methods are impractical due to the unavailable requirement for a perfectly in-distribution, held-out dataset, leading to high false positives even with minor distributional shifts.
  • High-quality synthetic data for Dataset Inference can be generated by finetuning a Language Model on the suspect dataset to complete suffixes, minimizing distributional differences between real and synthetic texts.
  • A dual-classifier post-hoc calibration can effectively disentangle true membership signals from inherent textual generation shifts by comparing a text-only classifier against a combined classifier that also uses target model outputs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.