potentialpaper

BADI: Black-box and Anytime-valid Dataset Identification for Large Language Models

Piotr Trzaskowski, Nima Dindarsafa, Bihe Zhao, Krzysztof Wodnicki, Filip Szympliński, Franziska Boenisch, Adam Dziedzic

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Large language models (LLMs) are trained on massive, uncurated internet datasets that often include copyrighted material, making training data identification essential for intellectual property protection. Dataset inference (DI) addresses this challenge by extracting diverse training membership features for a suspect set, aggregating them, and applying statistical tests to assess if that suspect set contributed to the model’s training. However, current DI methods face two major limitations that hinder their practical deployment. First, they require gray-box access to token probabilities, while state-of-the-art LLM APIs usually return only generated tokens. We address this issue by approximating per-token probabilities from label-only outputs, making black-box DI feasible. Second, existing DIs rely on p-value for statistical tests that necessitate a fixed suspect set and a predetermined significance level. This either leads to high computational costs for large suspect sets, especially in the black-box setup, or yields inconclusive results for smaller sets, since adding new suspect data points post-hoc might be necessary to provide strong enough evidence, but it invalidates statistical guarantees based on p-values. To overcome this limitation, we introduce a black-box DI framework based on e-values and sequential testing. The e-values offer anytime-valid guarantees and support optional continuation, enabling safe accumulation of evidence, reducing inconclusive outcomes and compute costs. Through these two fundamental advances, our Black-box and Anytime-valid Dataset Identification (BADI) method enables practical data auditing for LLMs, supporting their trustworthy deployment.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…