by klelatti · 5y ago · 0 comments
Edit: Thanks to those who have pointed out that Nat Friedman has publicly commented on this (on HN!). My mistake.
>In terms of the permissibility of training on public code, the jurisprudence here – broadly relied upon by the machine learning community – is that training ML models is fair use.
I'm not sure whether or not I agree that is happening here, but I've spent enough time in big companies to develop a healthy skepticism of their decision-making processes. So much groupthink.
I still don't understand how there's so much armchair quarterbacking around legality of Copilot, from people with zero legal skills and just anti-big-tech hot-takes.
Because Microsoft's legal department (and the company itself) has a spotless reputation for ethical and legal compliance.
Devs can ignore legal for a very short time, but the moment you have a team working on it, you need legal approval to continue. And if there's going to be a public launch, you have an entire legal, data, and privacy team to vet it first.
Put simply, there is no universe wherein MS's legal team hasn't cleared Copilot before launch, and I'm disappointed HN groupthink believes otherwise.
There is 0% chance that this wasn't run past their legal team.
He's correct that AI can train, but it's not relevant.
(1) The issue is with CoPilot outputting copyrighted code AND attaching a separate license to it (looks like it's hiding the initial license and can generate another license automatically). This is reproducing copyrighted code and misrepresenting the license, neither is allowed.
(2) He posted that the output belong to the operator. It's factually wrong. Original copyrighted code belongs to their original writer, not the operator. In effect Github Copilot cannot "launder" license and it is very wrong for their CEO to claim otherwise.
(3) Looks like he's trying to waive responsibility of Github by stating that the developer receiving the code is responsible? Wrong, GitHub is responsible for their actions (vary with the jurisdiction). There's a complex matter of who's responsible when some proprietary code will end up in a company product and they get sued. The company is in violation, they can turn against GitHub for providing copyright code, GitHub was responsible for it. There's a complex chain of responsibility, any lawyer worth their salt would cringe at the claims and responsibility that GitHub is exposing itself to.
This whole thing could be done above board, and it's pure sloppiness on the part of github that they've chosen not to.
That’s an understatement. There is a deep lack of understanding of IP issues as demonstrated by their public representatives. Surprising for a company like GitHub where software IP should be a part of their core competency. They have made defenses like “it’s public data” which means nearly nothing in regard to copyright enforcement. The Avengers is public “data” (it’s not data in terms of the law), that doesn’t mean you can use the content for whatever you want. It shows a total lack of respect for the work that the FOSS community does and their rights. This has irreparably changed my perception of GitHub forever in a strongly negative way.
> It shouldn't do that, and we are taking steps to avoid reciting training data in the output.
Seems like he agrees that __reproducing__ copyrighted code is not permissible.
Also seems likely to me that Nat etc were probably misled / incurious (no excuse) about precisely what CoPilot would do in practice.
Considering that their entire business model from the start has been "capturing the open-source ecosystem onto a closed and proprietary platform that doesn't interoperate", I'm more inclined to assume malice here than 'sloppiness'.
Edit: By which I mean that their approach most likely just couldn't work well enough for end users, in terms of hassle, if they actually did it above board and included licensing information. So not caring about that was the profitable option.
Actually, they should not be able to, as the whole point is that CoPilot does not just paste code, but instead understands it and applies knowledge, not finished snippets.
The fact that it does paste snippets is the problem, not the authorship of the snippets, as these simply should not exist.
On the other hand, a wholly independent system to search the training set based on AST matching and text similarity could solve this problem in the majority of cases.
Seems like he agrees with you that __reproducing__ copyrighted code is not permissible. Doesn't answer the broader point about training with that code.
If it can then there's no problem unless CoPilot actually did produce code that was a close copy of GPL'd code and GitHub used it. Their own analysis says that that is really unlikely and easy to prevent anyway.
GitHub's CEO posted this:
> In general: (1) training ML systems on public data is fair use (2) the output belongs to the operator, just like with a compiler.
Based on his assertion, can I take a copy of windows (or github for that matter) and train an ML on it to replicate its behavior (assuming I have such a powerful AI)? It seems to me that is essentially what follows. In fact I'd argue that this is more akin to clean-room reverse engineering.
It also seems to fly in the face of case law for using soundsnippets in songs. Isn't what the model is doing really just a sophisticated algorithmic rearrangement of samples?
But the moment I redistribute (1) the model and that (2) model reproduces the original copyrighted training data that is an obvious violation.
My clipboard is an ML model that trains on exactly one sample at a time. Ctrl + C is a hotkey for doing a training run on currently highlighted data, and Ctrl + V is a hotkey for generating output from the previous run.
Second, code is not data, it is a copyright-protected creative work.
It’s really hard not to see this as him erasing the rights of individual developers for his own benefit.
IANAL. I don't know if that distinction exists in law. But it doesn't make sense to me. How do you distinguish code from data? Isn't the whole point of code that it is treated (by the machine) as both code and data?
Suppose I make a "copyright-protected creative work", for example a melody, and then encode that as a database table?
Suppose I have a list of population statistics? Suppose those population statistics have been ingeniously contrived (e.g. by encoding, ordering or whatever), so that given the right interpreter or compiler, the logic of a copyright software work can be replicated exactly, using the list as code?
It's hard to imagine a list of statistics that can be read by a human as easily as he can read code; but that doesn't matter. It's hard to read machine-code too; but copying machine-code without permission is infringing.
It doesn't help that copyright law has drifted over the years, and that despite international conventions, the law varies from place to place. USA and EU see copyright differently. Commenters here are not declaring whose copyright law they are referring to.
It does. Data is not copyright-able but source code is. There is so much legal precedence around this it’s nearly impossible to contest.
Calling code data is a way to minimize its status as a copyright protected creative work, so as to defend ignoring the protections it has under the law.
What do you think the 'P' in GPL stands for?
Regardless:
1) You don't need a license to look at things. Copyrights reserve very specific rights: Reproduction, creating derivative works, distribution (limited to first sale), performance, display, and in some cases, transmission
2) And data can't be copyrighted.
US IP law is based on a clause in the US Constitution, and is fundamentally bounded in reach.
While correct, using protected works in an AI model requires some form of reproduction. In Canada, even the loading of information into RAM is considered a reproduction (although such reproductions may be excluded from infringement under s. 30.71 of the Copyright Act, RSC 1985, c C-42).
> 2) And data can't be copyrighted.
True, but data is often an abstraction of other expressions that are protected by copyright. Additionally, compilations of data and database structures attract different protections in various jurisdictions. E.g. sui generis database rights in the EU.
What do you think the 'L' in GPL stands for?
GPL code ≠ public data
Not sure I understand what fair use means in this context though and I can't believe that it's an argument that works for every conceivable model.
Almost certainly. But what people tend to forget is that "working out the correct legal interpretation" isn't actually the job of a lawyer; it's the job of a judge. The job of a lawyer is to devise a legal strategy that works for the client.
In practice that will quite often mean "yes, this is illegal, but we will publicly claim that it's legal and ride the wave, and the consequences will cost us less than we can profit off it".
Even if it's not explicitly stated like that and couched in vague "legal risk" handwaving, the lawyer ultimately works for their client and that's who their allegiance is to, not to the law.
That's the way it works in practice; in theory, lawyers are "officers of the court", and are supposed to serve the law.
>In terms of the permissibility of training on public code, the jurisprudence here – broadly relied upon by the machine learning community – is that training ML models is fair use.
Anything that is licensed has some level of exclusivity on it, and therefore it is not Public Domain.
2) If an author did grant license to his code, then somebody, but not anybody, can use the code according to license.
3) If a somebody refuses to comply with license, then he permanently loses the right to use the code under such license, so then see (1).
The reality is there is zero case law that fits training of ML models enough for any legal expert to claim jurisprudence makes it legal. ML is too new of a technology for that claim.
If ML model is reproducing verbatim entire sections of code, I fail to see how that is "fair use" and not reproduction. I also fail to see how any legal expert would make the claim that it is.
The response of "oops it should not have done that" would also not hold up well in a licensing / copyright dispute