Natural Identifiers for Privacy and Data Audits in Large Language Models

Lorenzo Rossi, Bartłomiej Marek, Franziska Boenisch, Adam Dziedzic
6/23/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Assessing the privacy of large language models (LLMs) presents significant challenges. In particular, most existing methods for auditing differential privacy require the insertion of specially crafted canary data during training, making them impractical for auditing already-trained models without costly retraining. Additionally, dataset inference, which audits whether a suspect dataset was used to train a model, is infeasible without access to a private non-member held-out dataset. Yet, such held-out datasets are often unavailable or difficult to construct for real-world cases since they have to be from the same distribution (IID) as the suspect data. These limitations severely hinder the ability to conduct scalable, post-hoc audits. To enable such audits, this work introduces natural identifiers (NIDs) as a novel solution to the above-mentioned challenges. NIDs are structured random strings, such as cryptographic hashes and shortened URLs, naturally occurring in common LLM training datasets. Their format enables the generation of unlimited additional random strings from the same distribution, which can act as alternative canaries for audits and as same-distribution held-out data for dataset inference. Our evaluation highlights that indeed, using NIDs, we can facilitate post-hoc differential privacy auditing without any retraining and enable dataset inference for any suspect dataset containing NIDs without the need for a private non-member held-out dataset.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rossi2026natural,
  title  = {Natural Identifiers for Privacy and Data Audits in Large Language Models},
  author = {Lorenzo Rossi and Bartłomiej Marek and Franziska Boenisch and Adam Dziedzic},
  year   = {2026},
  eprint = {2606.24408},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.24408v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.24408.svg)](https://codeofpaper.com/paper/2606.24408)

Discussion