Battle of the AI Analogies

Because IP attorneys are often arguing cases in front of non-technical judges and juries, lawyers often rely on analogies to help them explain how a particular technology works. Choosing the right analogy can make the difference between winning or losing a case. Lawyers have used several different analogies to explain how ML/AI models (I’ll often just call them “models” here) are trained and how they function in service of arguments that the training process does or doesn’t infringe US copyright law. This post will only examine whether training a model is copyright infringement. Whether the output is infringing is out of scope for this discussion. 

The Suggested Analogies

In the class action accusing Stable Diffusion and Midjourney of copyright infringement, the plaintiffs argue that the generative AI models in question are essentially sophisticated collage tools, with the output representing nothing more than a mash-up of the training data, which is itself stored in the models as compressed copies. 

Among those taking issue with this analogy is my colleague Van Lindberg, a distinguished IP attorney who recently published a law review article in Rutgers Business Law Review titled “Building and Using Generative Models Under US Copyright Law,” which provides a great introduction to generative AI to a non-technical audience. Lindberg argues that current generative AI models do not store compressed copies of the training data, but that “the model training process records facts about the work.” He continues: “Think of the analogy of the art inspector taking every measurement possible – brushstrokes per square inch, correlations between colors six inches apart, and the number of syllables in the artist’s name.” On the strength of this analogy, Lindberg argues that model training either isn’t governed by copyright law or constitutes fair use.

Lindberg is right that the model is not literally storing copies of copyrighted works like an archive or a database. It’s not possible just to click around and open up various works that were part of the training data. That implication by the plaintiffs is at best misleading and in any case literally and technically untrue. The model contains a set of numbers and equations that have a relationship to the training data and enable the model to produce responsive output appropriate to the input. 

But by focusing on the technical inaccuracy of the plaintiffs’ characterization of the training process, Lindberg misses an opportunity. If we engage with it as an analogy, the plaintiffs’ characterization ultimately undermines their arguments for infringement and against fair use. 

Evaluating the Suggested Analogies

Generative AI models are often described as “black boxes,” because even AI experts don’t really know why a model produces a specific output for a given input; they do not have insight into a model’s decision-making process or all the factors it takes into consideration when producing a particular output. We can say how the model is designed to analyze training data, and how the results of that analysis are encoded (in this case, as parameters and biases in numerical format), but not what information the model ultimately records about the training data. 

This process is so opaque that researchers are using one AI model to guess what data another model uses in its decision-making and how it weighs one piece of data versus anothers in producing its output. One researcher spent months reverse-engineering a tiny model just to figure out how it does addition, and this was headline-grabbing news in the AI world. 

So, it’s important to keep in mind that neither side of this argument actually has a good understanding of what’s actually in any particular model; when Lindberg analogizes what Stable Diffusion does to an art inspector tracking the number of syllables in an artist’s name, we don’t know that Stable Diffusion is actually doing anything like that. To some extent, we’re all guessing, and will be until AI researchers better understand what they’ve built. I will graciously eat my hat if some of my arguments become outdated or debunked in this quickly moving field. 

Lindberg asserts that the model records facts about a work but not the work itself.1 But a certain level of fact gathering is nearly indistinguishable from reproducing the work, or creating a derivative work of it.2 If a summary of a book is as long as the book itself, there’s a strong argument there that the summary is really a derivative work of the book. Sheet music is a very detailed factual account of a recorded song, but we recognize both as eligible for copyright. Likewise, scripts with stage directions are a very detailed factual account of a movie, but we recognize both as eligible for copyright. Images don’t have a non-digital analog to describe the copyrighted work the way that movies or recorded songs do, but they do have digital analogs like PNG and JPEG. 

If we create new ways of conveying substantially similar creative expression in different formats, why should that creative expression lose protection simply because it is conveyed via a new format? Particularly where, as with ML/AI models, not only can the work be conveyed via the new format, but it can be effortlessly and instantaneously converted back into the original format (or a very similar derivative work) during the output phase – no need to send anyone to the sound stage again! The courts have long recognized that merely changing formats is a creation of a derivative work of the original. 

Lindberg argues that “there is no way in which an ML model could be mistaken for any of its training inputs. The mass of statistical probabilities that make up a generative ML model are so different from the training material that there is no question that it is “different in purpose, character, expression, meaning, and message” from any (or all) of the works that were used as input.” But this oversimplifies. After all, images and song recordings don’t lose their copyright protection just because we express them via 1’s and 0’s in JPEGs and MP3s. Simply digitizing a copyrighted work, or in this case encoding it in one digital manner versus another (like switching from WAV to MP3), doesn’t strip the work of copyright protection. 

At present, we cannot say for certain whether an ML/AI model does so much “fact gathering” that it’s a derivative work of the training data. We can only deduce certain things about the model by looking at the output. But when a model’s output is identical (or very similar) to the training data, that’s a strong indication that the model has captured enough information about that training data to be considered a derivative work. 

Lindberg focuses on one study where researchers were able to extract only a few identical copies of training data from image-generating diffusion models. From these results, he argues that this is a very rare occurrence that mostly happens when the training data isn’t properly deduplicated or the model is overtrained – in other words, when someone messes up. 

But Lindberg overlooks the many AI outputs which, while not identical to the training data, may be similar enough to be derivative works. Granted, we can’t accurately quantify how much of a model’s potential output might be derivative of its training data, because the question is subjective and case-specific, but that doesn’t mean we can just avoid the question. Courts make those judgements even if researchers can’t, and our legal system is designed to protect copyright holders from unauthorized derivatives. 

Developers can set up certain guard rails to prevent output that is too derivative (and therefore perhaps avoid liability for the output), but the fact that even a competently trained model is capable of producing obviously derivative output strongly suggests that the model is fairly closely encoding the training data. And while Lindberg argues that his reasoning extends to all types of generative models, there is evidence that the performance of large language models is improved when the models memorize more (regardless of overfitting). In other words, memorization is a feature, not a bug. 

Some may argue that because a trained model encodes millions or billions of pieces of training data together and not just one, that it can’t really be said to be an encoding of any one particular work; it’s impossible to actually pinpoint data about any one piece of training data within the model because the model generalizes from the training data and “forgets” some of the training data in the process. But while this may be true under a particular set of circumstances, it is not universally true of all AI/ML models because: 

  • When models are trained on a relatively small set of training data, they are more likely to produce output that is identical or very similar to the training data. They simply don’t generalize.
  • Models whose training data contain many duplicates are less likely to generalize and more likely to create verbatim or very similar output to the training data.
  • Models that are overtrained are more likely to create verbatim or very similar output to the training data.
  • The fact that the encoding for any particular piece of training data is difficult to extract doesn’t mean it’s not there. If the training data can be output by the model, then it is in some way encoded in the model during training. In a mile-wide photo collage, any one picture may be difficult to locate, but it’s still there, and the collage is still a compilation requiring permission from the photo’s copyright holder.
  • While current AI/ML model architecture makes it difficult to pinpoint where a model has encoded information about a piece of training data, that is likely to change in the future. Other architectures may prove more useful and researchers are actively working on making AI models more transparent, making it easier for people to understand what AI models learn from training data and how they use that information to make decisions. Specifically, it is desirable for a model to be able to indicate what specific training data it relied on to make a decision, including by showing that training data when asked.
  • In certain contexts, it’s extremely desirable for models to have perfect memory of certain portions of their training data or data received after training. The arguments discussed above all relate to generative AI, which is designed to produce new work based on fairly limited prompts. However, other functions related to problem-solving, analysis, planning, and education will require the model to maintain perfect memory of a portion of its training data. For example, no one wants an AI scientific research assistant with imperfect memory of the periodic table of elements or which combination of medicines can kill people. One of the biggest benefits of AI assistance is that it is, in fact, capable of perfect memory in a way humans are not. Many models can also broaden their functionality by receiving and processing data after training has been completed as part of a specific user query (i.e. “Alexa, read this book you’ve never seen before and tell me if it’s suitable for my 5-year-old.”) and it may not be useful for the model to generalize this data. 
  • To a certain extent, the level of generalization and forgetting a model does is driven not by the need to optimize the model’s results, but by computational limitations. Those limitations are diminishing every day.

Alternative Analogies

Arguments and analogies that assume models don’t memorize aren’t just technically inaccurate, they are not future-proof: they link the question of fair use solely to the specific state of the art available today. If the fair use defense depends on this assumption, it will fail whenever any amount of memorization can be shown. Fortunately, there’s no need to build on such a fragile foundation: there is plenty of precedent that a use can be transformative even if it depends upon copying and retaining entire copyrighted works.  

Argument 1: ML/AI Models Can Be Transformative in the Same Way as the Google Books Project

To create a searchable digital book archive, Google copied and compiled thousands of books verbatim. Even so, the Second Circuit approved of the archive as fair use because its purpose (to allow users to discover facts about specific books and literature more broadly) was transformative (and specifically, it was furthering the goals of the Copyright Act to spur the growth and spread of knowledge), and the way in which the archive was ultimately utilized (in this case, the technical features of the search function which limited the scope of the results it would provide) did not create a substitute for the original work in the market. 

Applying that same analysis in the model training context, it’s clear that the analysis would look different depending on the model. “Foundational models” like Stable Diffusion and ChatGPT can do a broad range of things within one or more modality (image, text, audio, etc.). For example, ChatGPT and other large language models (LLMs) are essentially designed to generate text that’s responsive to a prompt, and they can be given prompts on most any topic. These models can be further tuned to become even more useful within a particular domain of knowledge or a particular task and might receive additional data beyond the training data made available to the foundational model. Other models are not foundational models at all; they are trained on a much narrower variety of training data and they only do some limited tasks for specific use cases. 

With this lens, foundational models, particularly those that haven’t been heavily fine-tuned, look more transformative  because they have broader applications than non-foundational or heavily fine-tuned models with specific use cases (like “we want to display copyrighted artwork that best matches people’s moods”). 

Even when a model has an ostensibly transformative purpose (and/or still retains it after fine-tuning), the way a model ultimately operates may still vary. For example, one image-generating model may take great pains to avoid outputting verbatim copies of copyrighted works (Stable Diffusion can no longer be prompted by specific artist names, for example), but another might freely allow it or even take steps to make such output easier to prompt. Even though the purpose of both models may be to help people create original art, courts may view them differently based on their implementation. 

For this reason, it’s not realistic to classify the training of all ML/AI models as either fair use or infringing. Each instance must be evaluated in the context of the model’s intended use case and whether it is, in practice, offering substitutes in the market for the kinds of works that comprise its training data. 

Today, at least, it is unlikely that courts could provide a comprehensive rubric to distinguish fair from infringing models. That would require a degree of technical knowledge unlikely to be relevant to a single trial. And in general, legal rubrics like that tend to emerge only after enough cases have been decided that a court can create a cohesive analysis of all of them.

Argument 2: The Model Is More Like a Means of Reproduction Than a Copy Itself and the Means of Reproduction Are Legal So Long as There Is Some Legitimate Downstream Use

A blanket decision that training models is legal would be desirable and advantageous for the tech sector given the way many models are currently created and shared. Today, it’s not uncommon for entities to create foundational models, to make those models publicly available for download for free, and for other entities to download those models and further fine-tune them for their specific use cases or otherwise experiment with them. Most notably, Meta’s release (first accidental, and then intentional) of LLaMA , a foundational language model, spurred research, experimentation, and improvements to it, and language models in general, from a wide variety of individuals and entities, including universities and start-ups who could not afford to train their own foundational models, but who obviously had a lot to contribute if they had something to work with. It’s likely that some downstream uses of such models don’t raise any eyebrows, but other uses draw a legal firing squad. So, it would be really convenient, and arguably good for the sake of technological progress and invention, for the creators of the models to get legal absolution for creating the model without regard for how downstream users actually use the model. 

If the goal is specifically to absolve the creators of foundational models, there is an argument that even if the model is a way of encoding the training data, because the only practical way to access such an “archive” is by having the model create output, it should be treated more like a means to create a copy rather than as a copy in and of itself. I think that AI/ML models can be likened to something like a Star Trek replicator. Since anyone can ask the replicator to create any physical object, be it a bayonet from the 1700s or a James Bond-style martini, the replicator has obviously ingested more or less all of humanity’s collective knowledge. But, this knowledge is entirely useless and inaccessible except to the extent that the replicator actually produces something. Therefore the replicator is treated as nothing more than a means of reproduction (literally, a “replicator”  even though it can create things that have never existed before like a hot pink bayonet or a martini with tapioca pearls), rather than an archive or library. It only has value to the extent it can actually produce output. Like a photocopier, tape recorder, or VCR, the replicator’s existence, without actual use by anyone, doesn’t rob any IP holder of an opportunity to monetize their IP; that only comes into play with respect to certain types of output and certain uses of that output, which are controlled solely by the user requesting the output. 

Treating the AI/ML model as merely a means to create a copy for all practical purposes would align the fact pattern here with the one in the Supreme Court ruling related to VCRs. Since the user of the VCR was the one producing the tape recordings and not the VCR manufacturer (Sony), direct copyright infringement was off the table, leaving Sony only with claims for contributory and vicarious copyright infringement. In that case, the court closely examined how downstream users used VCRs in making its determination with respect to whether Sony’s sales of them constituted either contributory or vicarious liability. The court did not find contributory or vicarious liability because they could reasonably identify at least one downstream use case that met the fair use standard: at home time-shifting of broadcast tv. The court repeatedly emphasized that “the sale of copying equipment, like the sale of other articles of commerce, does not constitute contributory infringement if the product is widely used for legitimate, unobjectionable purposes. Indeed, it need merely be capable of substantial noninfringing use [italics added].” I’m certain that there are many use cases out there of ML/AI output that have legitimate purposes (like quoting certain sources for educational purposes, creating or editing original art, analyzing data from medical trials, etc.). And unlike the photocopier or the VCR, the vast majority of the output is not, in fact, a copy of the original, meaning that it’s even easier to find noninfringing uses with respect to ML/AI models than with any other piece of technology designed to create near exact copies.

Argument 3: The Model Includes the Training Data, But There’s No Substantial Similarity Between the Two

Another way to get to the same place is to argue that at a certain point the model has so much training data, and it so complexly bundled up and interwoven together in the model, that there is no copyright violation because the model and any one piece of training data no longer have substantial similarity. After all, it is literally impossible to pull any one piece of training data from the model itself without creating output. If you really want a specific copyrighted work in its entirety, it is at least an order of magnitude easier to just go get it from the website it was scraped from or to go photocopy a library book than to try to get a properly trained foundational model to faithfully reproduce it. The portion of data in the model about any specific piece of training data is infinitesimally small compared to the totality of the data in the model. 

This argument could be aided by the fact that the model doesn’t just contain information about the training data (or the training data itself), the model also contains information about what sort of output is pleasing to humans – in the image context, it contains data not just about the training data, but about how to interpolate those images to create something responsive to the prompt that’s also appealing and not visually confusing or disturbing. A model that only contained information about the training data but not how to evaluate it and transform it for the purposes of creating output would not be very useful. 

The use of any particular piece of training data could be deemed de minimis3 in such a case, but there would still be potential claims of contributory and vicarious copyright infringement as well as claims related to the output, since the output could still have substantial similarity to the training data. 

This may be subtle, but I think there’s a big difference between trying to argue that the model doesn’t contain the training data at all (which I find unconvincing, not least because you are still asking a court to declare that a certain small percentage of copying can be overlooked for reasons that aren’t entirely clear as I’m not aware of any model guaranteeing a 0% copying rate), and arguing that the particular type of encoding it has undergone transforms the model into something very different from merely the sum of all of its training data.

The Limits of Analogies

While slam-dunk analogies are incredibly powerful in a courtroom setting, the courts are not the only way to get clarity on the issue of model training; there is also a statutory pathway wherein Congress creates a specific copyright exception for model training based on certain policy considerations. The relatively open practice of model development and refinement is good for technological progress – there is no doubt that making these models publicly available has sparked a Cambrian explosion of technological progress in the field. And models that can be transparent about what training data is influencing their decision-making are socially desirable even if that transparency comes at the cost of allowing models to memorize the training data. 

There’s certainly precedent for Congress creating copyright exemptions based on policy goals tied to specific new technologies (like the DMCA’s safe harbor for those who host third party content) and other countries have created copyright exceptions specifically for model training for these and many other reasons. If US legislators are to be encouraged to draft a clear exception for model training, they must decide that the appropriate outcome is not likely to be reached by the courts any time soon, i.e. that the laws currently on the books do not adequately address this topic and new ones must be written. They won’t feel that way, though, if the question of fair use with respect to AI/ML training is popularly treated as a foregone conclusion.

To that end, while I believe that some of the alternative arguments I’ve offered are closer to the technical truth at issue, I don’t have any reason to believe that they are easier for a jury or judge to understand than the ones proffered by others. In general, this is a deeply technical discussion that even AI experts have a broad range of opinion about, which makes this a subject better suited for regulatory experts or legislators in consultation with various advisory committees and federal agencies, than 12 people chosen at random or a single judge.

Conclusion

I agree with Lindberg’s general notion that the legal system should find a way to remove copyright liability from at least some ML model developers for a number of policy reasons. But, tying the legality of AI model training to the fact that its memory is imperfect or to the fact that it’s currently challenging to get a model to reproduce training data as output may be a short-sighted approach. To the extent that it’s desirable to clear a legal path forward for ML/AI model training, it doesn’t make sense to rely on arguments that lead courts to create rulings that can only protect somewhat frivolous AIs like image generators from liability, but whose logic cannot be extended to a future set of AIs to be used in scientific and mission-critical contexts. And in fact, whose logic creates precedent for finding those other types of models to be illegal.


  1. As I have previously written, I don’t think the model just stores information about the training data. I think the model also stores information about what sort of output humans find appealing. That data is what sets models apart even when they’re trained on the same training data corpus. This seems logical to me since models can be improved without training them on new training data. 
  2. Note that while it’s arguable whether or not 17 U.S.C. 117(a)’s incidental copying exception would apply to model training, that section’s exception doesn’t extend to creating derivative works so I’m going to leave a 117(a) discussion for a separate post.
  3. While the Ninth Circuit has famously said that the de minimis doctrine is about what percentage of a copyrighted work is copied in Bell v. Wilmott Storage Services, LLC, other courts have looked to the newer work to assess what portion of the newer work is made up of the older work and they have taken into account how observable the copy really is in the new work, even if it was copied in full. Aaron Moss writes: “For example, in a case involving the 1995 Brad Pitt crime thriller “Seven”, the Second Circuit found that that [sic] the use of copyrighted photos that appeared fleetingly and out of focus for 35 seconds of the film was de minimis. Another court reached the same result when a pinball machine appeared in the background of a scene from “What Women Want.” And last year, the court in Solid Oak Sketches v. 2K Games held that the use of NBA players’ tattoos in the popular “NBA 2K” video games was de minimis, pointing out that the tattoos appeared only fleetingly, and comprised only 0.000286% to 0.000431% of the total game data.”

Did GitHub Really Just Offer to Indemnify You for Copilot’s Suggestions?

Short answer: Strictly theoretically, yes, but only if you executed the Corporate Terms of Service or its successor document, the GitHub Customer Agreement (not the one for individuals), potentially litigate a lot of unclear language in the contract in order to enforce GitHub’s obligation, and GitHub doesn’t spend all its money on other lawsuits first.

Long answer:

If, like me, you’ve been poking around GitHub’s website to get the scoop on all of Copilot’s new features, you might have stumbled upon an FAQ with the following information:

You can reach this FAQ via https://github.com/features/copilot/#faq-privacy-copilot-for-business and https://github.com/features/copilot/#faq as of May 10, 2023. Much ink has been spilled by lawyers and non-lawyers alike arguing about whether or not Copilot’s suggestions result in copyright infringement, so a promise by GitHub to defend its users in court against claims of copyright infringement related to Copilot output would be notable, and would likely persuade many potential customers to use the service.

If you click the link and go to the GitHub Copilot Product Specific Terms, though, you’ll find this:

To be clear, GitHub ISN’T offering an indemnity here. They’re saying that if your agreement with them happens to have one, then the following things are EXCLUDED from it. However, if you go to the GitHub default Terms of Service, you might be surprised to find that there’s no indemnity there for customers/users at all. The wording of the FAQ, and the fact that the information about the indemnity appears under the “Privacy – General” section and not under the “Privacy – Copilot for Business” section would lead a casual reader to expect this statement to be generally true of Copilot, not just for a subset of customers.

The Corporate Terms of Service do offer to indemnify you “against any claim brought by an unaffiliated third party to the extent it alleges Customer’s authorized use of the Service infringes a copyright, patent, or trademark or misappropriates a trade secret of an unaffiliated third party.” (The newer GitHub Customer Agreement has similar language: “defend against any third-party claim that a Product made available by GitHub for a fee and used within the scope of this Agreement.. infringes a… copyright…”) Let’s break that down, though. Does the “use of the Service” also include use of suggestions in your hosted service? That’s unclear. Does “use of the Service” also include your redistribution of suggestions in your own downloadable products? That’s even less clear since you’re not just including suggestions in your offering, you’re taking a separate step to ship it to third parties who will run it completely separately and apart from the Copilot services that initially built it. Certainly, the suggestions themselves could have been expressly referenced in this provision, but they are not and the definition of “Service” just says “GitHub’s hosted service and any applicable Documentation.” (The definition of “Product” in the newer agreement is similarly devoid of any references to the product’s output or Suggestions.)

Now let’s look at those exclusions. That language excludes claims based on code that differs from a suggestion provided by Copilot. Does a very slight difference void the indemnity? Potentially. It doesn’t say “materially” or “significantly” differs. And, perhaps more saliently, how is anyone supposed to tell 1. what code was written by Copilot and 2. if it was modified? I’m not aware of Copilot maintaining this kind of editing history as of today’s date (May 10, 2023). That means that at best one might be able to show that a particular suggestion was created by Copilot only if one managed to prompt Copilot to output the suggestion again (and that’s not necessarily evidence that the code at issue was output by Copilot back when the claim arose, only that it might have been output that way back then). The ability to do that is dubious since the underlying model and fine tuning are subject to change over time and since the suggestions are context-sensitive – they depend on the other info in the file that’s being worked on and even related files. So, those other artifacts may need to be re-presented to Copilot in that original state in order to elicit the exact same suggestion.

Moreover, it’s important to remember that the current case against GitHub does not actually allege copyright infringement. I discussed this before here, but it’s worth noting that both the DMCA Section 1202 claims and the claims related to violations of the California Consumer Privacy Act are claims that could potentially be brought against Copilot customers, not just Copilot. DMCA Section 1202 prohibits distribution of copyright management information that one knows has been altered or removed (and maybe customers “know” this because Copilot has already been sued for this? Certainly they’d “know” after the plaintiffs won on those claims?). Parts of the CCPA apply to a data holder even if they didn’t collect the data themselves and claims under other data protection laws in other states or other countries remain possible.

It’s also instructive to remember that the claims against GitHub and the claims against Stability AI related to Stable Diffusion (which does allege copyright infringement) are brought under a very “circumstantial” argument: the models are trained on copyrighted data, therefore all output from the models is a derivative work of the training data that infringers the authors copyrighted works, and all the other claims more or less flow from there. The plaintiffs specifically state in both complaints that it’s impossible to pinpoint particular instances of the output that might be infringing, so they are choosing to bring their theory of the claims without resting them on any specific pieces of output. Whether or not such a strategy will be approved by the courts is pure speculation, but it suggests the possibility of generative AI lawsuits where no specific code is at issue – the accusation could more or less begin and end with whether you’ve used Copilot to build your products. In that case, it’s not clear if or how GitHub’s indemnity exclusion might apply since, to put it literally, the claim is based on “code” (presumably the customer’s product as a whole) that “differs from the suggestions,” as it must because 1. many suggestions are likely modified, and 2. the product contains customer-written code that doesn’t contain and therefore differs from, the suggestions. (Tech transactions lawyers have likely noticed the “interesting” way this exclusion is drafted, which sidesteps the clearer and more traditional indemnity exclusion for “code/software/materials modified by a party other than the vendor” preferably paired with a “where such claim would not have arisen but for such modification”)

Lastly, in the wake of Johnson & Johnson’s baby powder class actions, it’s worth pointing out that the more serious the legal actions against Copilot’s customers or Copilot itself get, the less likely GitHub is to actually honor its indemnity obligation. If, for example, a court in any major market deems the entire enterprise of creating and/or using these models to be copyright infringement (or contributory copyright infringement, etc.), it’s possible that the first few people (or classes) to win litigation get a big payout from GitHub and then there’s no money left over for indemnifying subsequent customers. And even if there is money left over, GitHub could file for bankruptcy , which would likely mean customers are stuck defending themselves upfront and then trying to recoup just a portion of those expenses in bankruptcy court.

In conclusion, the indemnity on offer is not very exciting. Given the vagueness of the provision and its exclusions and the potential need to litigate in order to sort them out, I’d advise customers to ask for clarifying language, or at least a “prevailing party provision” that states that the loser in a lawsuit, or other dispute resolution settlement, must pay all or part of the winner’s legal costs – and make sure those fees are carved out of any limitation of liability provision. It would be unfortunate to lose the protection of the indemnity if the upfront costs of enforcing it against GitHub are just too high for a business to swallow.

OpenAI’s Massive Data Grab

I spent some time this week going through the whole suite of OpenAI agreements and policies and was quite surprised at what I found in their Terms of Use (TOU). It turns out that OpenAI’s confidentiality provision is unilateral: it includes confidentiality protection solely for OpenAI’s information. That means that neither the inputs provided to OpenAI nor the output it produces are treated as confidential by OpenAI. This is somewhat unusual in the context of SaaS vendors, who usually at least acknowledge that the data provided to them is confidential, even if they try to limit their liability with respect to keeping such data confidential over the course of the contract. Many companies are likely to be caught off guard by this provision. 

Companies the world over are looking to integrate OpenAI technologies, particularly ChatGPT, into their products and services. Microsoft has famously integrated a version of ChatGPT into its Bing search engine, with plans to integrate it with products and services throughout the rest of the Microsoft ecosystem. However, many companies will have to think twice about those integrations if OpenAI doesn’t change its tune. That’s because nearly every SaaS company has at least a subset of customers whose data they promise to treat as confidential, requiring them to pass along those confidentiality requirements to any third party who gets access to such customer data. If a vendor like OpenAI won’t treat any of a company’s inputs as confidential, then they are also not treating any input provided by a company’s customer or about a company’s customer as confidential, putting companies in violation of their own terms of use and/or non-disclosure agreements with their customers. Likewise, it means that companies cannot use OpenAI technologies to solicit or analyze certain categories of data about their staff, which the companies are bound to keep confidential either by law or by their agreements with their staff. That severely curtails the available use cases for OpenAI’s technologies. 

The unilateral nature of the confidentiality provision is easy to miss for non-lawyers. The TOU has a provision that says no input sent to or received from its APIs will be used to improve its services or train its models and further says that companies can opt out of the same for input or output sent in other ways. Many people reading the TOU are concerned about precisely this scenario because they don’t want third parties to get their hands on their data, so it’s easy to tune out the rest of the TOU after reading that, but what the TOU is also saying via the confidentiality provision is that every other use of input data and output data is still on the table for OpenAI, whether that means publishing the inputs or outputs, privately sharing them with third parties, aggregating them, analyzing them, etc. Lawyers can also draw distinctions here (some more dubious than others), like claiming that analyzing the input in order to better market the services, understand customers, or prioritize partnerships is not the same as analyzing the data to “improve the Services.” Such distinctions aren’t unusual in privacy policies and that kind of specificity is often lauded by regulators. Keep in mind that like the GitHub TOU discussed with respect to Copilot, the OpenAI TOU includes all of OpenAI’s affiliates, current and future, so there is no telling what the input data could potentially be used for in the future and as we’ve seen with Copilot, people can be unpleasantly surprised by unexpected uses down the line. 

The other element making the confidentiality provision easy to overlook is the fact that the TOU mentions the applicability of a Data Processing Addendum (DPA), principally used to help companies comply with the GDPR (Europe’s main set of data privacy regulations). Many reading the TOU will assume that the DPA protects their input and output data. However, the DPA only protects data that is also personally identifiable information. Again, provided that OpenAI strips the input of any personally identifiable information (which they explicitly state is a practice they perform), the input can be used by OpenAI without any confidentiality obligations. That should be particularly disconcerting for companies who make it their business to collect, analyze, and sell certain types of data. 

So, if you’re worried about what OpenAI might learn about your company, your customers or your employees, and who they might share that information with, think twice about accepting the OpenAI TOU as-is. Call them up and negotiate. 

US Copyright Office Rejects Notion that Midjourney Output Can Be Copyrighted

Back in 2022, Kristina Kashtanova applied for copyright registration with the US Copyright Office (USCO) for her comic book, Zarya of the Dawn. The USCO initially granted the copyright registration but when it realized that the book’s images were created using Midjourney, the USCO stripped the author of her copyright. IP attorney Van Linberg then stepped in to argue the matter with the USCO and on February 21, 2023 the US Copyright Office responded, allowing for copyright on the text of the comic book as well as the selection, coordination and arrangement of the comic book’s textual and visual elements, but expressly disallowing any copyright protection with respect to any of the comic book’s images. 

The crux of the USCO’s refusal to recognize any copyright interest in the images rests on the idea that Midjourney’s output is unpredictable and that the prompts users provide to it are mere suggestions, with too much “distance between what a user may direct Midjourney to create and the visual material Midjourney actually produces” such that “users lack sufficient control over generated images to be treated as the “mastermind” behind them.” Repeatedly, the USCO seems to argue that the final result has to reflect the artist’s “own original conception,” even going so far as to argue that the “process is not controlled by the user because it is not possible to predict what Mijourney will create ahead of time.”

This reasoning seems flawed, though, because there are a lot of examples of copyrightable work where it’s fair to say that the author could not predict the outcome at the beginning of the process: Bob Ross was famous for paintings with “happy accidents,” Jackson Pollock and Edwin Parker Twombly, Jr.’s splatter paintings, nature documentaries based on hundreds of hours of hidden camera footage, and the many photographs in which the events ultimately caught on film were complete surprises to the people behind the camera. And this is to say nothing of an entire genre of music based precisely on not knowing what will result: jazz. Historically, the USCO has recognized copyright in a number of works where the author did not have 100% control of the final output. 

The reasoning seems overly complicated. It would probably have been simpler for the USCO to just write that the “expression” is all produced by a computer and therefore isn’t authored by Kashtanova. That would have drawn a bright line around generative AI output. The USCO makes a point that if Kashtanova had commissioned an artist to draw these images, then the artist would have been the author since the artist chose how to express the ideas. However, that line of reasoning would seem to fall apart when the “prompt” becomes sufficiently long and detailed enough to warrant its own copyright. Surely, at some point, sufficient levels of input and management would move Kashtanova into the co-author slot? Even when commissioning a work, it’s not uncommon for the commissioned artist/creator to be given certain copyrightable pieces to work with and/or incorporate into the final output.

It seems to me that at least under current legal precedents, there should be some theoretical level of prompt sophistication that should garner the user co-authorship over the output. The USCO suggests that sufficiently creative alterations to the images would have yielded Kashtanova some copyright interest in the images. However, it’s not clear to me why using a paintbrush in Photoshop to change the color of a shirt is all that different from simply writing a command to the computer to change the color of the shirt via a prompt. In both cases, the user is simply using a tool to express their vision, one is just more complicated than the other. In some ways, the Midjourney prompts can almost be seen as a higher level programming language – following user commands and abstracting away ever more technical details in the process. While iterations in Midjourney prompts may produce more variable results than other image manipulation tools, the fact that using Midjourney to refine a picture is oftentimes slower than doing the same refinement in Photoshop, doesn’t really change the fact that the desired refinement is still possible through infinite iteration. While the output for any one prompt is “unpredictable” as the USCO letter says, many iterations can, in fact, lead to a specific desired result.

On the other hand, it’s not obvious that Kashtanova needs any more copyright protection than what the USCO granted, for purposes of incentivizing further creative output. The copyright protection she has would prevent someone else from publishing her book in its entirety. It would also prevent someone else from taking the text in her book and adding their own images or re-using her characters in other books. The only thing anyone could freely re-use would be the images. The images alone aren’t a substitute for the book. Lack of copyright protection on the images might eat into her ability to merchandise some of the images if others are selling objects with those images on them, but perhaps monetarily that’s a fair trade for not having painted them herself in the first place?

This seems like a fine individual outcome, but the reasoning behind it matters a great deal for cases going forward. The Copyright Office is incorrect in stating that users lack control, and should choose a more accurate and legible line.

An IP Attorney’s Reading of the Stable Diffusion Class Action Lawsuit

The image above was created via Stable Diffusion with the prompt “lawyers in suits fighting robots with lasers in a futuristic, superhero style.”

Special thanks to Yisong Yue, professor of machine learning at Caltech for providing me with valuable technical feedback on this post!

Looks like Matthew Butterick and the Joseph Saveri Law Firm are going to have a busy year! The same folks who filed the class action against GitHub and Microsoft related to Copilot and Codex a couple of months ago, have filed another one against Stability AI, DeviantArt, and Midjourney related to Stable Diffusion. The crux of the complaint is around Stability AI and their Stable Diffusion product, but Midjourney and DeviantArt enter the picture because they have generative AI products that incorporate Stable Diffusion. DeviantArt also has some claims lobbed directly at them via a subclass because they allowed the nonprofit, Large-Scale Artificial Intelligence Open Network’s (LAION), to incorporate the art work submitted to their service into a large public dataset of 400 million images and captions. According to the complaint, at the time this was the largest freely available dataset of its kind and Stable Diffusion was trained on it. Like the Copilot case, this one includes claims for:

  • Violation of the Digital Millennium Copyright Act’s (DMCA) sections 1201-1205 related to stripping images of copyright-related information 
  • Unfair competition, in this case stemming from copyright law and DMCA violations 
  • breach of contract, in this case as related to DeviantArt’s alleged violation of personal data-related provisions in their Terms of Service and Privacy Policy

Unlike the Copilot case, this one includes additional claims for:

  • Direct copyright infringement for training Stable Diffusion on the class’s images, including the images in the Stable Diffusion model, and reproducing and distributing derivative works of those images
  • Vicarious copyright infringement for allowing users to create and sell fake works of well-known artists (essentially impersonating the artists)
  • Violation of the statutory and common law rights of publicity related to Stable Diffusion’s ability to request art in the style of a specific artist

The Class

Like the Copilot case, this one has similar potential flaws in defining the class. The definition of the injunctive relief class and the damages class in the complaint doesn’t actually condition participation on injury. The class is defined as all persons or entities with a copyright interest in any work that was used to train Stable Diffusion. But, simply having work that is part of the training set doesn’t mean the work is 1) is actually part of the model, 2) actually outputted by the model (or a derivative of it is), or 3) outputted by the model in sufficient detail to still be subject to copyright. As in the Copilot case, the complaint explicitly states that it’s difficult or impossible for the plaintiffs to identify their work in Stable Diffusion’s output. 

Since this case involves copyright infringement claims, it’s also surprising that the class is not limited to people with registered copyrights, but only to people “with a copyright interest” since people who don’t have registered copyrights cannot enforce their copyrights in court. Additionally, litigator Noorjahan Rahman has pointed out that some courts extend the registration requirement to DMCA enforcement as well, further weakening the plaintiffs’ chances of succeeding in defining the class this way and/or bringing either copyright or DMCA claims as a class action. 

It’s also worth pointing out that only a fraction of the dataset allegedly used by Stable Diffusion originated from DeviantArt. With respect to images that came from DeviantArt, the question of copyright infringement must revolve around the license granted to DeviantArt in its Terms of Services. But, the rest of the dataset came from other sources. Some of them are likely to be just copyrighted and not subject to any other license, some of them are likely to be dedicated to the public domain, but the rest of them are under various licenses, including various Creative Commons licenses, commercial licenses, other Terms of Use, etc. Authors of such works of course still retain a copyright interest in them, but the question of whether or not use of the works constituted copyright infringement is going to depend on the underlying license. Since there is likely a cornucopia of underlying licenses in that dataset, it’s difficult to argue that all members of the class actually share the same questions of law and facts. 

Remember that in the Copilot case, the relevant class was tied to the 13 open source licenses available in GitHub’s drop-down menu for self-selection. That was a calculated choice since of course you can find any license under the sun on GitHub, not just the 13 GitHub suggests. It’s not difficult to argue that questions of law and fact are likely to vary across 13 different license agreements. However, those 13 licenses at least all had the common requirement that the copyright holder be attributed as a condition of using the license, which is likely why the plaintiffs settled on just those 13 (that 13 probably also covers 80% or more of what’s on GitHub, so that helps). That common thread might be enough in that case, particularly since it doesn’t involve a copyright claim. Here, however, it’s impossible to draw any common thread because the number of underlying licenses is likely in the hundreds or thousands, maybe more. Every single newspaper, magazine, archive, image sharing site, museum, etc., each have their own Terms of Use with fairly variable language on how images on their sites can be used, and of course many sites allow image contributors to provide their own license for the work, whether that’s something standard like a Creative Commons license, or something totally custom. 

The Copyright Claims

The complaint includes a section attempting to explain how Stable Diffusion works. It argues that the Stable Diffusion model is basically just a giant archive of compressed images (similar to MP3 compression, for example) and that when Stable Diffusion is given a text prompt, it “interpolates” or combines the images in its archives to provide its output. The complaint literally calls Stable Diffusion nothing more than a “collage tool” throughout the document. It suggests that the output is just a mash-up of the training data.

This is a fascinating take because certainly the exact way the interpolation is done and how Stable Diffusion responds to the text prompts seem to be parameters that can range widely. The text prompt interpretation could potentially be very responsive to natural human speech with all its nuances or it could be awful. And interpolation, especially of 3 or 12 or 100 or 1000 images can be done in an unlimited number of combinations, some better, some worse. But, Stable Diffusion doesn’t interpolate a subset of training images to create its output: it interpolates ALL the images in the training data to create its output. Carefully calibrating the interpolation parameters to lead to useful, realistic, aesthetic, non-disturbing images is itself an art form as the Internet abounds with both excellent and horrible generative AI output images. It’s relatively easy to see improvements in Stable Diffusion’s output across their releases and those improvements are the result of tweaking the model, not adding more images to the training data. Even the various companies using Stable Diffusion as a library and training it with the LAION dataset, appear to be producing results with markedly different qualities. So, the claim that the output is nothing more than the input is deeply specious.1

I think this is a little bit like arguing that there is no difference between, say, listening to a randomly created mashup of  the Beatles’ White Album with Jay-Z’s Black Album (creating abominable noise), and listening to Danger Mouse’s powerful and evocative Grey Album, which is a creative mashup of the two. Even if the output is a “mere” mashup, the exact manner of mashup still matters a lot and makes the difference between something humans recognize with joy as art, and something humans view as nothing more than noise. Danger Mouse may have made a mashup, but he also made a significant contribution of his own artistry to the album, creating an entirely different tone, sound, style, and message from the original artists, worth listening to on its own merits and not simply to catch pieces of the original works.

This question of how much of the output should be credited to the training data versus to the model’s processing of the training data should be at the heart of the debate over whether Stable Diffusion’s use of the various images as training data is truly transformative and thus eligible for copyright’s fair use defense (or perhaps even to the question of whether the output is eligible for copyright protection at all). I think it’s going to be easy for the defense to present alternative analogies and narratives to those presented by the plaintiffs here. The output represents the model’s understanding of what is useful, aesthetic, pleasing, etc. and that, together with data filtering and cleaning that general image generating AI companies do,2 is what the companies consider most valuable, not the training data.3 Except in corner cases where the output is very tightly constrained (like “show me dogs in the style of Picasso”) it may well be argued that the the “use” of any one image from the training data is de minimis and/or not substantial enough to call the output a derivative work of any one image. Of course, none of this even begins to touch on the user’s contribution to the output via the specificity of the text prompt.4 There is some sense in which it’s true that there is no Stable Diffusion without the training data, but there is equally some sense in which there is no Stable Diffusion without users pouring their own creative energy into its prompts.

Conclusion

Stability AI has already announced that it is removing users’ ability to request images in a particular artist’s style and further, that future releases of Stable Diffusion will comply with any artist’s requests to remove their images from the training dataset. With that removal, the most outrage-inducing and troublesome output examples disappear from this case, leaving a much more complex and muddled set of facts for the jury to wade through. The publicity claims and vicarious copyright infringement claims, at least as stated in this complaint, also fall away.5 It’s not clear if the lawsuit that remains is one the plaintiffs still want to litigate, particularly since the class is likely to be narrowed as well.

__________

  1. This doesn’t cover the fact that Stability AI didn’t use the dataset in raw form. They have said they removed illegal content and have otherwise filtered it. Depending on the extent of this manipulation, they might be eligible for a thin copyright on the compilation that resulted, which would also erode the argument that the output is 100% work copyrighted by the plaintiffs.
  2. Note that this is highly context-specific. Images for general-scope image generating AIs are widely available and a giant subset of them is in the public domain. In other contexts, the data can be extremely valuable if it’s difficult to collect, requires human annotation or interpretation, etc. I think it’s really worthwhile to distinguish generative AIs that essentially draw on all of humanity’s knowledge in a certain domain (which we could also call our culture) from generative AIs that draw on more narrow sources of data which cannot be said to belong to all of us in the same way.
  3. Despite their self-proclaimed penchant for “open,” Stability AI didn’t hesitate to insist on a take-down when one of their partners made the model public. 
  4. The Copyright Office currently does not allow works created with the assistance of generative AI to receive copyright registration. However, top IP attorney Van Lindberg is working on a case to reverse this position and a considerable number of IP experts believe that he may ultimately succeed. The idea that no part of a work can be copyrighted just because some of the work was created with the help of generative AI tools doesn’t seem like it will stand the test of time, especially as such tools make their way into the standard set of tools artists are already using, like Photoshop. Such a victory would cast further doubt on the plaintiffs’ broader claims that every Stable Diffusion output is merely the sum of its inputs, and therefore the images used here were merely “stolen” (i.e. copyright infringement) rather than “transformed” (i.e. fair use).
  5. There is of course nothing prohibiting the plaintiffs for suing for various claims that occurred in prior releases of Stable Diffusion. But, because this is a class action and the lawyers are likely getting paid a portion of the damages awarded to the plaintiffs, the damages merely for the prior claims may not justify the legal expense of proceeding with the case.