Interrogating LLM design under a fair learning doctrine

Johnny Tian-Zheng Wei, Maggie Wang, Ameya Godbole, Jonathan H. Choi, Robin JiaarXiv 2025 · DOI

Abstract

This paper proposes a "fair learning" doctrine for Large Language Models (LLMs), shifting the legal focus from behavioral outputs (substantial similarity) to structural design and training processes. By applying causal and correlational analyses to the Pythia model, we demonstrate that common training decisions—such as upweighting specific documents—do not necessarily lead to the copyright-infringing memorization often alleged in litigation. Instead, we find that inherent data density is a more significant driver of memorization. This work provides a technical framework for courts to evaluate "good faith" in AI development and incentivizes transparent, responsible machine learning engineering.

Introduction

Current legal challenges against LLM developers typically center on "substantial similarity," where infringement is claimed if a model can reproduce verbatim training data. However, this behavioral perspective is limited; models can be adversarially prompted to reveal data that they do not output under normal use, and the definition of similarity remains algorithmically elusive.

We argue for a "structural" approach: evaluating the training process itself. If a developer intentionally upsamples copyrighted data to ensure memorization, it may constitute a violation. Conversely, if reasonable steps are taken to prevent memorization, the developer should be protected under a "fair learning" standard. This paper operationalizes this legal standard by measuring how specific training choices impact memorization metrics.

Methodology

We analyzed the training of Pythia, an open-source LLM, using two primary statistical lenses:

  1. Causal Analysis (Randomized Control Trials): Leveraging the randomized train/test split of "The Pile" (Pythia’s training set), we treated the training set as a treatment group and the test set as a control. We used linear regression to measure the causal effect of upweighting (increasing the frequency a document is seen) on memorization.
  2. Correlational Analysis (Simulated Ablation): To avoid the prohibitive cost of retraining from scratch, we used data density—measuring similar snippets across the dataset via Elasticsearch and BM25 scores. We then fit a regression to predict model loss based on this density, simulating the impact of removing specific datasets (e.g., FreeLaw or PubMed).

The Impact of Training Decisions

A central finding of our study is the debunking of the "Upsampling Myth." In high-profile litigation, plaintiffs often allege that upsampling data leads directly to infringement. However, our analysis of Pythia shows that seeing a document two or three times has a negligible effect on memorization metrics like MinK%.

MinK% (k=20) across various Pile sub-datasets and training weights. The proximity of Train and Test points across weights 1.0 to 3.0 illustrates the minimal impact of upweighting on memorization.

Instead, Data Density emerges as the primary driver. Memorization is less a function of how many times a model sees one specific file and more about how many similar files exist across the entire web-scale dataset. If a model encounters thousands of versions of a similar legal contract, it will likely memorize the pattern regardless of whether any single copy was intentionally upweighted.

Key Results

  • Causal Impact: Regression analysis showed the coefficient for upweighting ($\beta_1$) was near zero for most datasets. For the Pile-CC subset, the effect on MinK% was a marginal 0.047.
  • Ablation Sensitivity: Simulated ablation revealed that datasets like FreeLaw and PubMed Central are highly "self-similar." Removing them would cause a significant spike in loss for those domains, whereas removing Books3 had a smaller relative impact due to its more diffuse content.
  • Metric Correlation: We found that Token Accuracy and MinK% are more sensitive indicators of output similarity than standard cross-entropy loss, making them superior tools for legal "substantiality" tests.

Discussion and Conclusion

Adopting a "fair learning" doctrine would incentivize developers to maintain rigorous train/test splits and release detailed "Model Cards" to prove training choices were made in good faith. While our study is limited by the scale of the Pythia model (up to 6.9B parameters), it provides the necessary tools to measure memorization objectively.

Ultimately, while the threshold for "substantial" memorization remains a subjective legal decision, our framework allows that decision to be informed by technical reality rather than behavioral anomalies. Future work should explore whether larger frontier models exhibit different "phase transitions" in memorization that might necessitate stricter structural rules.

Summary updated

Abstract

The current discourse on large language models (LLMs) and copyright largely takes a "behavioral" perspective, focusing on model outputs and evaluating whether they are substantially similar to training data. However, substantial similarity is difficult to define algorithmically and a narrow focus on model outputs is insufficient to address all copyright risks. In this interdisciplinary work, we take a complementary "structural" perspective and shift our focus to how LLMs are trained. We operationalize a notion of "fair learning" by measuring whether any training decision substantially affected the model's memorization. As a case study, we deconstruct Pythia, an open-source LLM, and demonstrate the use of causal and correlational analyses to make factual determinations about Pythia's training decisions. By proposing a legal standard for fair learning and connecting memorization analyses to this standard, we identify how judges may advance the goals of copyright law through adjudication. Finally, we discuss how a fair learning standard might evolve to enhance its clarity by becoming more rule-like and incorporating external technical guidelines.
BibTeX
@misc{wei2025interrogating,
  author = {Johnny Tian-Zheng Wei and Maggie Wang and Ameya Godbole and Jonathan H. Choi and Robin Jia},
  title = {{Interrogating LLM design under a fair learning doctrine}},
  year = {2025},
  eprint = {2502.16290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.16290},
}
Figure