Introduction
The rapid scaling of Large Language Models (LLMs) has created an insatiable demand for high-quality training data. This has led to the widespread inclusion of unauthorized content, ranging from copyrighted literature and paywalled news to private medical records. Proving such misuse is a significant forensic challenge due to the "black-box" nature of modern AI systems and their ability to paraphrase, which effectively evades traditional similarity-based detection.
The Challenge of Opaque AI Systems
State-of-the-art models like GPT-4o or Claude 3.5 are inherently opaque; forensic investigators cannot access internal states such as token probability distributions, input representations, or perplexity scores. Furthermore, these models are specifically optimized to avoid verbatim reproduction, rendering standard metrics like ROUGE or BLEU ineffective. As illustrated in the comparison of detection methodologies, traditional forensic tools rely on internal variables that are strictly inaccessible in commercial "black-box" systems.
Methodology: Information Isotopes and InfoTracer
To address these challenges, we introduce InfoTracer, a forensic method based on the novel concept of "Information Isotopes." Inspired by chemical isotopes, information isotopes are textual variants—such as specific synonyms or phrasing choices—that convey the same semantic meaning but reflect the unique lexical preferences a model acquired during its training phase.
The InfoTracer workflow involves three primary mechanisms:
- Sensitive Isotope Selection: Identifying specific word choices that show the greatest difference in "traceability" between training and non-training data using counterfactual proxy models.
- Context-Aware Generation: Prompting the target AI with a context prefix and asking it to fill in "masked" portions where a specific isotope should appear.
- Isotope Probing: Analyzing the generated output to calculate an "isotope activity score." If the model consistently selects the specific "target" isotope found in the suspected training data over other valid synonyms, it serves as strong evidence of memorization.
Experimental Evaluation and Results
InfoTracer was evaluated across diverse and critical domains, including copyrighted news (600 articles), the Books3 dataset (known to be in LLaMA's corpus), private medical records, and the WikiMIA benchmark. Tests were conducted on ten leading models, including GPT-4o, Claude-3.5, Gemini-1.5, and LLaMA-3.
Key findings include:
- High Accuracy: InfoTracer achieved over 99% accuracy in distinguishing training sets from non-training sets across various commercial models.
- Statistical Significance: The method provides robust evidence with $p$-values often lower than $0.001$, which is crucial for potential legal disputes.
- Efficiency and Scaling: Detection performance scales rapidly; near-perfect accuracy is reached with a sample size equivalent to a single academic paper (approximately 10,000 words or 40 data entries).
- Robustness: The method remained effective even against adversarial attacks where training data was slightly rewritten with synonyms to hide its origin.
Conclusion
InfoTracer provides a vital, non-invasive tool for data owners—from individual authors to large media organizations—to verify the unauthorized use of their intellectual property. By focusing on deep lexical preferences (information isotopes) rather than surface-level verbatim similarity, it overcomes the fundamental limitations of current forensic techniques in the era of increasingly opaque AI development.
Summary updated