Credit Attribution and Stable Compression

Roi Livni, Shay Moran, Kobbi Nissim, Chirag Pabbaraju

Abstract

This paper introduces a formal mathematical framework for credit attribution in machine learning, bridging the gap between Differential Privacy (DP) and sample compression. We prove that while credit can be attributed to a small (logarithmic) number of data points for any learnable task, making the selection of those points private restricts the system's power to that of standard DP learning. This work provides a rigorous foundation for addressing legal and ethical concerns regarding the influence of specific training examples on generative AI outputs.

Introduction: The Attribution Crisis in Generative AI

As generative AI models are trained on massive datasets of copyrighted art, music, and literature, a legal and ethical crisis has emerged: how do we identify which specific training examples influenced a particular output? Current copyright law and the EU AI Act emphasize transparency and attribution. However, knowing the dataset (transparency) is distinct from knowing which specific work was used to create a specific result (attribution).

Machine learning models often function as "black boxes." If a model generates a song reminiscent of a mix between Taylor Swift and The Beatles, rigorously proving the influence of those specific artists versus millions of others is challenging. This paper formalizes counterfactual attribution: the principle that if a creator is not credited for an output, the model should have been able to produce that same output even without having seen that creator's work.

Formalizing Attribution and Stability

The authors propose two primary definitions to address this challenge:

  1. Counterfactual Credit Attribution (CCA): A relaxation of Differential Privacy. While standard DP requires every point to have negligible influence, CCA allows an algorithm to select a small subset of $k$ points to use "non-stably" (allowing high influence), provided they are explicitly credited. For all other points, DP-style stability guarantees remain.
  2. Sample DP-Compression: A more restrictive hybrid where the algorithm must use a private mechanism to select which $k$ indices to "compress" the data into, subsequently reconstructing the model using those $k$ points plus the remaining data handled privately.
Figure 1: Illustration of credit attribution in a classification task, where a small subset of points (circled) is identified as influential for the decision boundary.

The analysis utilizes the PAC (Probably Approximately Correct) learning framework to evaluate how these definitions affect the learnability of different concept classes, such as thresholds or high-dimensional shapes.

Key Theoretical Insights

The Role of AdaBoost

A significant finding is that the classic AdaBoost algorithm naturally serves as an effective credit attributor. The authors demonstrate that any PAC-learnable task can be learned while attributing credit to only a logarithmic number of points ($O(d \log n)$) using a variant of AdaBoost.

The Privacy-Utility Tradeoff in Selection

The research identifies a stark "dichotomy" in the private selection of credited points. Theorem 2 states that if one attempts to select credited points using a sublinear, private process (Sample DP-Compression), no additional "power" is gained over standard DP learning. Essentially, if a task is not learnable via standard Differential Privacy, it cannot be bypassed by privately picking a few key examples.

Limits on "Handpicking"

There is a fundamental limit on how much an algorithm can "boost" the presence of useful data in its credited set. The frequency of "good" points in the credited set can only be improved by a factor of $e^\epsilon$ (where $\epsilon$ is the privacy parameter). Perfect cherry-picking of the best data is impossible without violating the privacy of the remaining dataset.

Principal Results

  • Theorem 1: Every PAC-learnable class can be learned with $(0,0)$-CCA by selecting only $k = O(d \log n)$ examples for attribution. This suggests that credit attribution is a flexible constraint for standard machine learning.
  • Theorem 2: For any concept class, it is either learnable via standard DP, or any private compression scheme requires a massive number of credited points ($k = \Omega(1/\alpha)$). There is no middle ground.
  • Optimal Boosting: The authors show that a "Randomized Response" mechanism is asymptotically optimal for selecting useful points under these constraints.

Discussion and Future Work

While $O(d \log n)$ is small, the number of credited points still scales with the total dataset size ($n$). Whether $k$ can be made entirely independent of $n$ remains an open question. Furthermore, credit attribution is only one aspect of copyright; it does not directly address "substantial similarity" or verbatim copying. Finally, while these mechanisms are mathematically sound, implementing them efficiently for large-scale neural networks presents a significant practical challenge.

Summary updated

BibTeX
@inproceedings{livni2024credit,
  author = {Roi Livni and Shay Moran and Kobbi Nissim and Chirag Pabbaraju},
  title = {{Credit Attribution and Stable Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=cRLFvSOrzt},
}
Figure