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

Blackbox Model Provenance via Palimpsestic Membership Inference

Rohith Kuditipudi, Jing Huang, Sally Zhu, Diyi Yang, Christopher Potts, Percy Liang

Introduction

As open-weight large language models (LLMs) proliferate, the ability to track model provenance—identifying whether a specific model or its output is a derivative of an original base model—has become a critical challenge. This is essential for enforcing licensing agreements, identifying "model laundering," and ensuring transparency in the AI ecosystem. Researchers from Stanford have introduced a novel approach to this problem by exploiting a phenomenon they call palimpsestic memorization. This method allows for high-confidence provenance detection without the need for invasive watermarking or secret test sets.

The Problem: Proving Model Lineage

In a typical scenario, a developer (Alice) releases a model, and a third party (Bob) may use it to create a derivative model through fine-tuning. Alice needs a way to prove Bob's model is a derivative. Existing solutions often fall short:

  • Watermarking: Requires modifying the model during training, which can degrade performance and be erased by further fine-tuning.
  • Private Test Sets: Lack transparency. If Alice reveals the test set to prove her case in a dispute, the data is no longer private, and Bob can simply train on it to bypass future detection.

The goal is a method that is noninvasive (no changes to training), transparent (no secrets required), and robust (survives fine-tuning).

The Mechanism: Palimpsestic Memorization

The researchers' key insight is that the stochastic nature of training—specifically the random shuffling of data—leaves a permanent, detectable mark on the model. Like an ancient palimpsest parchment where old text is scraped away to make room for new writing, LLMs "overwrite" earlier training data with later data.

However, this erasure is incomplete. There is a measurable gradient in how well a model remembers its training data: it assigns higher likelihoods to examples seen near the end of its training run compared to those seen at the beginning. This "order signature" acts as a unique, noninvasive fingerprint inherent to the specific random seed used for shuffling the training data.

Methodology

The paper proposes two primary settings for detecting this signature:

1. The Query Setting

If Alice has access to the log-likelihoods (probabilities) of Bob’s model, she can perform a statistical test. By calculating the correlation between the training step (when a specific batch was seen) and the model's log-likelihood for that batch, Alice can identify a "smoking gun." A strong positive correlation indicates that the model follows Alice's specific training order.

2. The Observational Setting

If Alice only has access to text generated by Bob's model, the task is more complex. The authors propose two solutions:

  • N-gram Overlap: Measuring how many 8-grams in Bob's generated text match specific batches of Alice's training data.
  • Retraining (Shuffling): Alice trains several "shadow" versions of her model on the same data but with different shuffles. If Bob's text has a significantly higher likelihood under Alice's original model than under the reshuffled versions, it suggests a derivative relationship.

Experimental Validation

The researchers validated their methods across several major open-source families, including Pythia (1B to 12B parameters), OLMo (1B to 7B), and TinyStories (3M to 24M).

Key Findings

  • Statistical Certainty: In the query setting, the authors achieved p-values as low as $10^{-8}$ across over 40 different fine-tuned versions of Pythia and OLMo, providing extremely high confidence in the results.
  • Robustness: The order signature proved remarkably resilient. It survived Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and even "model souping" (averaging weights of different models).
  • Efficiency: Using the retraining approach in the observational setting, derivative models could be identified from as few as 320 tokens of generated text.
  • The "Aha" Audit: In a real-world application, the researchers discovered that pythia-2.8b-deduped was likely trained on the non-deduped version of the Pile dataset, contradicting its official documentation.

Limitations and Future Work

While powerful, the method has limitations. The "shuffling" approach for observational data is computationally expensive, as it requires retraining multiple versions of a model—a task that becomes difficult for models with 70B+ parameters. Additionally, the test requires Alice to have the exact ordered transcript of her training run; if these logs are lost, the test cannot be performed retrospectively. Finally, the test's power diminishes if the derivative model generates very low-entropy, repetitive text.

Conclusion

Palimpsestic Membership Inference represents a significant step forward in model governance. By turning the inherent "forgetting" behavior of neural networks into a feature rather than a bug, researchers have provided a way to track model lineage that is both statistically rigorous and difficult to circumvent. Future work will likely focus on making these tests more computationally efficient for the largest scale models.

Summary updated

BibTeX
@inproceedings{kuditipudi2025blackbox,
  author = {Rohith Kuditipudi and Jing Huang and Sally Zhu and Diyi Yang and Christopher Potts and Percy Liang},
  title = {{Blackbox Model Provenance via Palimpsestic Membership Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=VRhVS59yhP},
}
Figure