Earlier quoted context omitted.
I think that kind of depends on how common the snippet is. If it's code for swapping to variables, well everyone has written that and it's small. But what if it's a rarer thing like a new kind of debayering algorithm that takes a much larger "snippet" from a novel algorithm? As far as I'm aware there are no rigorous studies showing the level to which one could duplicate longer stretches of code and if it can do somet…
Algorithms aren't copyrightable as far as my understanding goes and this is where it gets murky. The expression is copyrightable, the algorithm isn't (except when it is...) My personal feeling is that we've gone too far down the road of assigning IP to code and we should be rolling it back. I'd hate for the current AI boom to trigger an extension of current IP law.
Ownership of AI-Generated Code Hotly Disputed
41–50 of 205 posts
Re: Ownership of AI-Generated Code Hotly Disputed
#42“…modify[ing] its AI model so that it traces attribution and gives credit to the original authors of the code, adding the associated copyright notices and license terms in the process…Biderman says is technologically feasible.” Is it really feasible? What does “traces attribution” even mean here? It’s not emitting “code”, it’s emitting individual tokens that each were found throughout the input corpus. The “code” is…
One dumb way to do this would be to include self-attributions directly in the stream of training data. So in the cases where the best continuation is to just transcribe the training data, the attributions is included in the data itself.
Re: Ownership of AI-Generated Code Hotly Disputed
#43Earlier quoted context omitted.
I think that kind of depends on how common the snippet is. If it's code for swapping to variables, well everyone has written that and it's small. But what if it's a rarer thing like a new kind of debayering algorithm that takes a much larger "snippet" from a novel algorithm? As far as I'm aware there are no rigorous studies showing the level to which one could duplicate longer stretches of code and if it can do somet…
Algorithms aren't copyrightable as far as my understanding goes and this is where it gets murky. The expression is copyrightable, the algorithm isn't (except when it is...) My personal feeling is that we've gone too far down the road of assigning IP to code and we should be rolling it back. I'd hate for the current AI boom to trigger an extension of current IP law.
If you tell Github Copilot to write a fast inverse square sum algorithm it's allowed to reproduce the idea of the famous quake3 algorithm, but if it produces the same lines and comments as those in the quake 3 source code then that's a pretty open and shut copyright violation
Re: Ownership of AI-Generated Code Hotly Disputed
#44Code cannot be owned. A creative expression may be copyrighted. Purely functional expressions may not be copyrighted. The output of a trained AI is insufficiently creative to be copyrighted. Only humans can hold a copyright. Now with all that, there really isn’t anything here to get worked up over.
"Purely functional expressions may not be copyrighted." Is this more than a opinion? Because you can have whole programs as a long functional expression (not that I am a fan of such a coding style, but it exists).
It's also going to be hotly debated in the future, because right now most of the commercial AI-generators are just kind of ignoring this and at some point I think they're going to make the argument, "this law/interpretation can't hold or else it would be commercially devastating for us, and it needs to change."
But under current US copyright law, the US copyright office has pretty consistently ruled that:
- purely functional expressions without a creative aspect can't be copyrighted (ie, you patent an invention, you don't copyright it, and stuff like recipes aren't eligible for copyright at all, only the surrounding text is).
- AI-generated content does not have a creative aspect and isn't eligible for copyright protection.
They've even gone so far as to revoke copyright protections to AI-generated content[0][1]. We haven't gotten a similar ruling about code that I'm aware of, but given that the US copyright office already only grants copyright to code under the assumption that coding is a creative act, it's very difficult to imagine code having more legal protections than an image or a book.
----
In my opinion, this is the much more interesting debate than model's source[2], because nobody is really talking about it, and depending on how the inevitable legal challenges play out, it could completely change the field. It's an interesting choice to think about -- let's say an AI gets good enough that you can sit down, describe an app, and the AI just generates it straight up. Would you still use that tool even if the resulting code was public domain and you couldn't assert ownership over it?
Which would be more important: the accessibility/ease-of-creation, or owning it?
It's also interesting because I haven't heard a ton of good legal arguments from people about why this shouldn't be the case, so there's a nontrivial chance that it holds in the future. I've heard tons of logic-based arguments: "it's creative because I decided what to generate, photographs are copyrightable, etc..." And those aren't necessarily bad arguments, they're just arguments that the US copyright office has already rejected. I haven't seen a lot of arguments about "here's why AI generated code would be eligible without a legal challenge overturning existing copyright rules."
----
[0]: https://www.theverge.com/2022/2/21/22944335/us-copyright-off...
[1]: https://aibusiness.com/ml/ai-generated-comic-book-loses-copy...
[2]: Not that the debate over the training data isn't interesting or important; that could also have implications for stuff like fair-use in transformative contexts. It's just that I think it's less likely to have far-reaching implications or be upheld.
Re: Ownership of AI-Generated Code Hotly Disputed
#45Earlier quoted context omitted.
I think that kind of depends on how common the snippet is. If it's code for swapping to variables, well everyone has written that and it's small. But what if it's a rarer thing like a new kind of debayering algorithm that takes a much larger "snippet" from a novel algorithm? As far as I'm aware there are no rigorous studies showing the level to which one could duplicate longer stretches of code and if it can do somet…
Algorithms aren't copyrightable as far as my understanding goes and this is where it gets murky. The expression is copyrightable, the algorithm isn't (except when it is...) My personal feeling is that we've gone too far down the road of assigning IP to code and we should be rolling it back. I'd hate for the current AI boom to trigger an extension of current IP law.
It's not at all obvious to me why the training set copyright wouldn't nominally flow through the model, even if that seems impossible to actually implement in practice.
Re: Ownership of AI-Generated Code Hotly Disputed
#46https://en.m.wikipedia.org/wiki/Information_wants_to_be_free
It actually takes quite a bit of effort to store, then distribute information precisely and broadly. There's a lot of infrastructure, effort, and money involved, and still information degrades and disappears over time.
Any libre information exists because people have put effort into it. Sometimes a lot of effort.
Re: Ownership of AI-Generated Code Hotly Disputed
#47“…modify[ing] its AI model so that it traces attribution and gives credit to the original authors of the code, adding the associated copyright notices and license terms in the process…Biderman says is technologically feasible.” Is it really feasible? What does “traces attribution” even mean here? It’s not emitting “code”, it’s emitting individual tokens that each were found throughout the input corpus. The “code” is…
> It’s not emitting “code”, it’s emitting individual tokens ... The “code” is the arrangement of those tokens, but that is determined by the weighting of the whole network This theory of operation is not borne out in reality. It's been clearly displayed that these tools are emitting verbatim copies of existing code (and its comments) in their input. It's even being seen in image generation, where NatGeo cover images…
Re: Ownership of AI-Generated Code Hotly Disputed
#48“…modify[ing] its AI model so that it traces attribution and gives credit to the original authors of the code, adding the associated copyright notices and license terms in the process…Biderman says is technologically feasible.” Is it really feasible? What does “traces attribution” even mean here? It’s not emitting “code”, it’s emitting individual tokens that each were found throughout the input corpus. The “code” is…
> It’s not emitting “code”, it’s emitting individual tokens ... The “code” is the arrangement of those tokens, but that is determined by the weighting of the whole network This theory of operation is not borne out in reality. It's been clearly displayed that these tools are emitting verbatim copies of existing code (and its comments) in their input. It's even being seen in image generation, where NatGeo cover images…
Re: Ownership of AI-Generated Code Hotly Disputed
#49Earlier quoted context omitted.
> It’s not emitting “code”, it’s emitting individual tokens ... The “code” is the arrangement of those tokens, but that is determined by the weighting of the whole network This theory of operation is not borne out in reality. It's been clearly displayed that these tools are emitting verbatim copies of existing code (and its comments) in their input. It's even being seen in image generation, where NatGeo cover images…
On your image generation point, something potentially interesting I saw on twitter/Reddit was about artists uploading “no to AI” images to artstation and then that logo almost appearing to vandalise AI generated art. I’m not sure if it’s a real thing or just people on twitter and stuff who don’t like AI art trolling though. Mostly because I’m not sure how up to date some of these models are being kept.
Re: Ownership of AI-Generated Code Hotly Disputed
#50“…modify[ing] its AI model so that it traces attribution and gives credit to the original authors of the code, adding the associated copyright notices and license terms in the process…Biderman says is technologically feasible.” Is it really feasible? What does “traces attribution” even mean here? It’s not emitting “code”, it’s emitting individual tokens that each were found throughout the input corpus. The “code” is…
It sounds like nonsense. The most plausible solution would be to provide credit to every single author whose code was used in the original training set; of course, that would run into gigabytes just for the credits.