I’m a lawyer that specializes in this area of IP law. It is true that code generated by an LLM lacks a human author and is therefore not copyright eligible material. However, there are a few nuances that technically make your statement somewhat incorrect.
One, the code can still be sold or licensed as personal property. However, once somebody gets their hands on that code, there few things stopping them from re-releasing it for free and entering it into the public domain. Even a contract prohibiting such transfer will likely fail due to a small provision in US copyright law.
Two, this code can still be protected as a trade secret, so don’t think you can create code at work and just freely distribute it if your employer has asked you to keep it confidential.
There are a number of other possible nuances, but those are two that I see come up most often in my practice.
I’m curious what your thoughts are on the lawsuits against companies scraping YouTube videos for violating DMCA §1201. It’s a different type of (potential) copyright infringement that, from what I understand, ignores the license of the original copyrighted material and focuses on the distribution.
(Also, for the sake of setting the record, we can assume none of this is legal advice, right?)
OK, but shouldn’t any code descended from GNU GPL code also be GNU GPL? Therefore if a model was trained on any GPL code, any output that it generates should also be GPL.
Models are trained on copyrighted content without licenses (e.g., just default copyright) and it doesn’t mean anything about the output, for better or worse. So why would something less strict (any sort of permission given past the default copyright protections) change that?
It depends how you use the GPL code. Merely training an LLM with such code is arguably fair use. I personally disagree with that assessment, buy most courts have ruled it as fair use so far. To be honest, US copyright law just merely wasn’t written with modern LLMs in mind and it is desperately in need of a number of statutory updates.
The training, sure, that’s not what I’m talking about. I’m saying that any code output by a model trained on GPL code must be GPL, because it is derived from GPL code.
There is a little bit of confusion here I think. Copyright protects the expression itself (I.e., the code as it is written) and it allows the author (or owner) to stop people from infringing their code, which means performing, displaying, etc… The license – in your example, a GPL license – is just a contract that gives other people permission to do those things without committing copyright infringement. Fair use is a a defense someone can raise when they are being sued for copyright infringement.
The lawsuits against LLM companies are primarily based on the theory that LLM companies are infringing the copyright of the original authors beyond the scope of any license they might have, if any. The AI companies are saying that their scraping and use of the underlying work to train the model is fair use.
The thing you are talking about, the code being outputted by the LLMs, is sufficiently disconnected from the original copyrightable expression such that courts have so far ruled that any such output is not a derivative work of the original. This is mainly because such outputs have a randomness/temperature in how they are created, so it isn’t producing the same expression nor is it a derivative work under existing law.
There are a lot of other factors that go into all of this. For example, under Google v. Oracle, code generally gets “thinner” protection than literary or more creative works because it is functional in nature. There is an entire career’s worth of case law on this topic so it can get quite fact specific. But hopefully my explanation of the current system makes a little more sense.
Ah, well, thank you for the explanation. It’s not confusion - I disagree with the court decisions you’re describing.
Randomness or no, a copy-paste machine is still a copy-paste machine. It doesn’t do anything else. LLMs are language search algorithms with fancy optimization routines bolted on, nothing more. Everything else that’s been said about these “artificial intelligence” products is marketing.
Reaching a different conclusion about the “transformative nature” (or whatever) of LLM output requires understanding less about how they actually work.
And from what I understand, LLMs are known to reproduce some text verbatim. That original text was made by a real human being, and thus would still be protected under copyright.
Good news! It is! It’s actually public domain. If you get ahold of some AI generated code, you can do whatever you want with it.
I’m a lawyer that specializes in this area of IP law. It is true that code generated by an LLM lacks a human author and is therefore not copyright eligible material. However, there are a few nuances that technically make your statement somewhat incorrect.
One, the code can still be sold or licensed as personal property. However, once somebody gets their hands on that code, there few things stopping them from re-releasing it for free and entering it into the public domain. Even a contract prohibiting such transfer will likely fail due to a small provision in US copyright law.
Two, this code can still be protected as a trade secret, so don’t think you can create code at work and just freely distribute it if your employer has asked you to keep it confidential.
There are a number of other possible nuances, but those are two that I see come up most often in my practice.
I’m curious what your thoughts are on the lawsuits against companies scraping YouTube videos for violating DMCA §1201. It’s a different type of (potential) copyright infringement that, from what I understand, ignores the license of the original copyrighted material and focuses on the distribution.
(Also, for the sake of setting the record, we can assume none of this is legal advice, right?)
Thank you for the nuance corrections. I wasn’t aware of these. :)
OK, but shouldn’t any code descended from GNU GPL code also be GNU GPL? Therefore if a model was trained on any GPL code, any output that it generates should also be GPL.
Models are trained on copyrighted content without licenses (e.g., just default copyright) and it doesn’t mean anything about the output, for better or worse. So why would something less strict (any sort of permission given past the default copyright protections) change that?
It depends how you use the GPL code. Merely training an LLM with such code is arguably fair use. I personally disagree with that assessment, buy most courts have ruled it as fair use so far. To be honest, US copyright law just merely wasn’t written with modern LLMs in mind and it is desperately in need of a number of statutory updates.
The training, sure, that’s not what I’m talking about. I’m saying that any code output by a model trained on GPL code must be GPL, because it is derived from GPL code.
There is a little bit of confusion here I think. Copyright protects the expression itself (I.e., the code as it is written) and it allows the author (or owner) to stop people from infringing their code, which means performing, displaying, etc… The license – in your example, a GPL license – is just a contract that gives other people permission to do those things without committing copyright infringement. Fair use is a a defense someone can raise when they are being sued for copyright infringement.
The lawsuits against LLM companies are primarily based on the theory that LLM companies are infringing the copyright of the original authors beyond the scope of any license they might have, if any. The AI companies are saying that their scraping and use of the underlying work to train the model is fair use.
The thing you are talking about, the code being outputted by the LLMs, is sufficiently disconnected from the original copyrightable expression such that courts have so far ruled that any such output is not a derivative work of the original. This is mainly because such outputs have a randomness/temperature in how they are created, so it isn’t producing the same expression nor is it a derivative work under existing law.
There are a lot of other factors that go into all of this. For example, under Google v. Oracle, code generally gets “thinner” protection than literary or more creative works because it is functional in nature. There is an entire career’s worth of case law on this topic so it can get quite fact specific. But hopefully my explanation of the current system makes a little more sense.
Ah, well, thank you for the explanation. It’s not confusion - I disagree with the court decisions you’re describing.
Randomness or no, a copy-paste machine is still a copy-paste machine. It doesn’t do anything else. LLMs are language search algorithms with fancy optimization routines bolted on, nothing more. Everything else that’s been said about these “artificial intelligence” products is marketing.
Reaching a different conclusion about the “transformative nature” (or whatever) of LLM output requires understanding less about how they actually work.
That’s true but ya know, rules for thee not for me.
Kind of hoping that @[email protected] has a more concrete answer, if they work professionally in this field, something less trite.
And from what I understand, LLMs are known to reproduce some text verbatim. That original text was made by a real human being, and thus would still be protected under copyright.
Too bad I don’t want to do anything with it.