NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Model Provenance Testing for Large Language Models

Ivica Nikolic, Teodora Baluta, Prateek Saxena

Introduction

In the rapidly evolving landscape of artificial intelligence, foundation models such as Llama and Mistral are frequently fine-tuned and redeployed by third parties. This practice, while efficient, introduces significant challenges regarding intellectual property (IP) rights, safety auditing, and transparency. For instance, a developer might violate licensing terms by claiming a derivative model was built from scratch, or an organization may struggle to identify which of its internal models are descendants of a foundation model later found to have critical vulnerabilities. Proving a relationship between two models is historically difficult when they are only accessible via black-box APIs, as their internal weights cannot be directly compared. This paper presents a systematic statistical framework for model provenance testing, enabling the identification of model ancestry using only API access.

Methodology

The core premise of this research is that fine-tuning is an evolutionary process; a derivative model typically retains a distinct behavioral signature from its parent. The authors propose a three-step statistical tester to verify if a suspect model $g$ was derived from a candidate parent $f$.

  1. Similarity Scoring: The parent, the suspect model, and a set of unrelated "control" models ($c_1, \dots, c_m$) are queried with a shared set of prompts. Similarity ($\mu$) is measured by the proportion of matching first-token outputs.
  2. Multiple Hypothesis Testing: A z-test is employed to compare the suspect's similarity to the parent against its similarity to the control models, ensuring that observed similarities are not merely coincidental.
  3. Error Control: The Holm-Bonferroni method is applied to manage the Family-Wise Error Rate, keeping the probability of false positives below a specified threshold (e.g., $\alpha = 0.05$).
Figure 1: The statistical workflow for model provenance testing, showing the transition from prompt input to hypothesis testing and final outcome determination.

To improve practical deployment, the authors introduced two optimizations: K-sampling, which uses entropy-based selection to identify prompts that maximize behavioral differences between models, and Best Arm Identification, which minimizes the number of queries required to reach a statistically significant verdict.

Experimental Results

The framework was validated using two large-scale benchmarks: BENCH-A, containing 10 pre-trained models and 100 verified derivatives, and BENCH-B, a noisier set of 531 models. The tester achieved high accuracy across both, with precision reaching 90–95% and recall between 80–90%.

The Role of Control Models

A key finding is that the accuracy of the tester depends heavily on the control set. The control models provide a necessary baseline for "background noise," allowing the system to distinguish between general similarities (e.g., models trained on similar datasets) and true derivative relationships. Without a sufficiently large control set, the tester may struggle to maintain high precision.

The Precision Paradox

Interestingly, the researchers identified a "Precision Paradox" regarding the volume of prompts used. While increasing the number of queries typically improves recall, it can eventually lead to a slight decrease in precision. This occurs because a very large sample size can detect minute, coincidental similarities between unrelated models, potentially triggering false positives.

Figure 5: Performance metrics as a function of the number of prompts. The slight downward trend in precision as prompt count increases illustrates the 'precision paradox'.

Conclusion

This work provides a robust tool for AI accountability, offering a black-box method to enforce licenses and audit model supply chains. While extreme customization or adversarial de-fingerprinting may pose challenges, the statistical framework demonstrates that model ancestry leaves a detectable behavioral trail. Future work will explore the limits of this signature under heavy fine-tuning and the development of more adaptive testing strategies.

Summary updated

BibTeX
@inproceedings{nikolic2025model,
  author = {Ivica Nikolic and Teodora Baluta and Prateek Saxena},
  title = {{Model Provenance Testing for Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Iy4cAXotrf},
}
Figure