by rockemsockem · 4y ago · 0 comments
OpenAI, Microsoft, Google, et al will STILL train such models that can do all the same things, but it will be much harder for non-industry-backed individuals to navigate the legal minefield where you must ensure you properly attribute your model outputs, only train on opt-in data, etc, etc. Surely no one really thinks that a court case against Microsoft/OpenAI (even if they lose) would stop CoPilot?
Most of these complaints seem to be extremely emotional and cherry-picked. "People's legal rights are being violated!" (you definitely don't know that, no one knows that, the article is 100% right about that), "look I prompted CoPilot for this piece of code that I already knew about and it spit it right out" (that's not how it's going to be used in practice).
It seems to me that the longer-term implications of the outcome of a lawsuit like this are far more interesting, yet almost all the comments I see are nitpicking and whining about how the world isn't the way they want it to be. I wish the conversations around generative AI could be...just better.
https://twitter.com/docsparse/status/1581461734665367554
An english description plus three characters of a function name is enough to coax CoPilot into distributing LGPL-licensed code out of context, without a proper license. That's neither "emotional" nor "cherry-picked", it's a clear-cut license violation.
Also, this code is really just executing a mathematical operation in what I would assume is fairly standard, so it may not even fall under copyright. IANAL.
Even if it is a copyright violation, that is one out of, IDK, millions, maybe billions already of Copilot completions?
That sounds cherry-picked. Just because some high profile, highly-retweeted person says something doesn't make it not cherry picked.
So let's say I obtain an illegal copy of microsoft windows' source code. Under this precedent, what stops me from just (overfitting) training a neural network to produce the source code verbatim, sans any license notice?
But it doesn't end there. What stops me from making a neural network that exactly reproduces the bytes of Illegally_Ripped_Disney_Movie.mp4 that I obtain from the pirate bay? Copyright need not apply.
At what point can the neural network I've described (which is intentionally designed to violate copyright) distinguishable from a neural network like Copilot and others which violate copyright extrinsically?
It doesn't void copyright.
Anyone that uses code that Copilot spits out which infringes on someone else's copyright is still liable. There's no requirement for intent. That may be a mitigating factor in terms of remediation, but it cannot void the copyright itself.
It can, however, produce a plague of completely ignorant copyright infringement, and since the user of Copilot has no idea where the code is coming from, there's no way to check if it was trained on infringing code.
If I used Copilot I would be real worried about the legal implications for me and that I could easily be accused of copyright infringement or plagiarism[*]. Of course people seem to not really care these days if they can cheat to get ahead so this is probably a feature, and 99.9% of user won't have their reputations ruined by using it.
[*] Although I'm personally more worried about the fact that most of the code will be wikipedia/blogs-quality and filled with bugs, edge cases and performance issues.
I'm no copyright law expert and I'm certainly not a lawyer, but it seems to me that in your examples you're setting out to violate copyright as a goal, which seems like it would be a factor in a court case.
To answer your last question, your examples are pretty clearly distinguishable from Copilot in their final states that you describe. IDK exactly *when* during overfitting that line is crossed, maybe it's crossed the moment you personally decide to knowingly publish copyrighted content and has nothing to do with the neural network itself?
But the only thing that does is make step 3 of fair use harder to clear. Not impossible.
There are fair uses of copyright that use the entire identical work as is.
If you, only once, steal lines of code that you don't have license to do so and use them to make money, that's the same exact thing. "Trusting the algo" and saying "whoops I'm sorry" doesn't make a strong legal defense.
In a company of 1000 programmers, what are the odds that copilot increases the risk of using improperly licensed code because "well because microsoft gave it to us it has to be legit!"
And sure, stackoverflow copying is a thing, but they clearly tell you the license by which you can use said code: https://creativecommons.org/licenses/by-sa/4.0/
If copilot gives you CC-by-sa code, will it tell you so you can properly credit?
There are posts under an earlier license which was CC BY-SA 3.0.
There are people who don't have accounts anymore or haven't logged in to accept an updated license.
Only the changes to the post after the 3.0 to 4.0 in the above case are technically licensed under 4.0 (the original post is still under 3.0).
Furthermore, Stack Overflow didn't follow the proper process for updating the license.
https://meta.stackexchange.com/questions/333089/stack-exchan...
For example - https://stackoverflow.com/posts/11574647/timeline
Look at the license and the Aug 22 change and consider if that removing "Hope that helps" was a sufficient change to relicense it.
In a company of a thousand programmers there are much easier ways to find improperly licensed code.
So, no. You can in fact "steal" several lines of code and use them to make money and be legally clean as a whistle. It isn't that clear cut.
It's his code. This "high profile, highly-retweeted" crap is an appeal to emotion. He has a specific and legitimate interest in protecting his own intellectual property. It's not "cherry-picking" to report a crime being committed on your front lawn.
And as soon as he sees someone actually take the chair from his front lawn he can report it as a crime. He cannot report the people walking past because they could potentially steal his chair.
One could even argue that if he didn’t want his chair taken, maybe he should have locked it in his shed.
Of course, these chairs duplicate, so it’s not as if he loses his own chair.
You want to use my code, without ever knowing I wrote it? You want to use my hard work, regurgitated anonymously, stripped of all credit, stripped of all attribution, stripped of all identity and ancestry and citation? FUCK YOU
There's no need to defend something so obviously harmful, so why do you do it?
The law should be amended to make this kind of theft illegal.
It's not ambiguous.
This has the potential to severely damage open source - I would not host my open source project on GitHub, especially if it was copyleft. I'm sure many others wouldn't either. Some of these authors make amazing software that we might not see because of this.
You can have a totally legitimate business making hacksaws and bolt cutters.
Now if your customers use these tools to break into homes and steal things, then yes, that’s illegal.
But making the hacksaws and bolt cutters is not.
Are you saying that because there are millions of copyright violations, Copilot is too big to fail? Or are you’d saying that Copilot is too big to be held accountable for flagrant violations of the law?
I guarantee Copilot’s developers knew it was spitting out verbatim code. It’s too obvious, and probably would result in a perfect rating for the prompt.
While I understand the rub about licenses, the fact is the vast majority of code is not all that original or unique. Some fringe amount is, and those edge cases are worth discussing.
But the rest? Likely not all in all all that special. Yes, we get paid good money to do it. But is that a function of what it takes to do the work, or the demand for the skill (relative to supply of that skill)?
Frankly, I think some ppl just plain ol' fear Copilot. And either don't want ro admit it, or they have buried that fear. I'm not advocating ignoring the law / licenses. But putting a licence and lipstick on what is an everyday pig doesn't make that pig a unicorn. Does it?
https://en.wikipedia.org/wiki/Abstraction-Filtration-Compari...
Suppose you want to express what some other writing does, and then you see that writing? What can you do?
(You write your ideas in your own words, and quote and cite your sources)
If I want to describe life with a nature metaphor, and then see you do it with a waterfall, I can probably get away with using a waterfall to the same metaphorical effect in my story.
Can I do that in code?
Artificially starving copilot of context and then showing that it recites parts of its training dataset is mundane.
https://stackoverflow.com/questions/17913191/using-typedef-i...
Found it after 5 mins and a couple tweaks to the search terms.
Another:
https://vdoc.pub/documents/direct-methods-for-sparse-linear-...
Someone copied this guy's book and put it on scribd: https://www.scribd.com/document/514019650/Direct-Methods-for...
Someone put it on a "personal" edu page:
https://people.sc.fsu.edu/~jburkardt/c_src/csparse/csparse.c
A modified version of it here marked as open-source:
https://github.com/rwl/CSparse.py/blob/master/csparse.py
More:
https://tonus.pages.math.unistra.fr/schnaps/schnaps/csparse_...
Google search used to find them:
https://www.google.com/search?q=Sparse+matrix+addition+%22ch...
Could probably find more if I looked harder.
Side note, looks like in a lot of places people do the ""proper""-ish thing and leave this guy's name on the code.
For example, I'm pretty sure this is why some models turn up a near exact version of The Girl With The Pearl Earring.
That said... is that any different from someone copying and pasting into their code vs copilot doing it?
If someone randomly pastes code that has a copyright, and people use it, how are they supposed to know they shouldn't be using it?
I imagine we're talking functions here though. Not sure if Copilot would reproduce entire libraries unprompted if they're not open-source, anyone have an answer?
A better future to me. I don't want pictures of my face training ML models, nor do I want my art, or my code. I don't want my face to be more recognizable to AI, and I don't want my work to contribute to the consolidation of power to a few big firms. And for what, what can ML models even bring me besides surveillance? Cool art? Text-to-speech?
Certainly facial recognition models etc, can be, but those would seem to be appropriately covered by the Google Books ruling dealing with discriminitive models: https://en.wikipedia.org/wiki/Authors_Guild,_Inc._v._Google,.... They've also been a thing for quite a while, so I think that cat escaped the bag a long time ago.
Remember clip art in Microsoft Word back in the day? Now there is an infinite supply of that. Stock images? Infinite supply. Solo filmmakers are going to have a much easier time creating their own films that can rival the best movie studios in the world. Any text anywhere will be read to you in any voice or voices you like, with tone and setting appropriate sound-effects. Smaller things will just be better too, noise cancellation on microphones? Easy and free. Image editing? Trivial to remove, relight, reposition, etc, etc, etc.
So many other things too. It's going to be magnificent. If you're not into then I guess to each their own, but I do think we are looking at something that can be a net good for everyone in the world, so long as it's available and cheap for everyone in the world.
Who here is doing a startup to secure licensing rights to every companies surveillance camera videos to make the AI/Surveillance version of Equifax Worknumber? Maybe you offer to give them the surveillance system for free in return for the rights?
I don't fucking care, I'm not in the business of competing with OpenAI or whatever. If you want to launch and AI startup but you can't that's your fucking problem, not mine. I just don't want them violating the licenses of the open-source programs I have created.
> "look I prompted CoPilot for this piece of code that I already knew about and it spit it right out" (that's not how it's going to be used in practice).
It proves that copilot has the capacity to copy existing code without fulfilling the requirements of the license. I don't care if it's "cherrypicked", this shouldn't happen under any circumstances.
> I wish the conversations around generative AI could be...just better.
I wish that these people making all these complicated language-comprehension machine-learning systems could read the fucking license statement at the top of the file and copy that license statement along with the code. this ought to be a solvable problem. I'm pretty sure i could write a bash script that does it if M$ is looking to hire.
The product would be useless if it prompted you with license approvals. They didn't care and removed them. They consciously decided to prioritize their paid-for product over the rights of their users. I'm amazed that MS's lawyers allowed it out the door. That's the even scarier part.
A future where technology is developed in accordance with longstanding law? Also, maybe a future where my copyrighted works are compensated for when they're being used to automate my job away? If the music industry can deal with royalties, maybe software can, too?
> OpenAI, Microsoft, Google, et al will STILL train such models that can do all the same things, but it will be much harder for non-industry-backed individuals to navigate the legal minefield where you must ensure you properly attribute your model outputs, only train on opt-in data, etc, etc. Surely no one really thinks that a court case against Microsoft/OpenAI (even if they lose) would stop CoPilot?
I'd expect injunctions against Microsoft/OpenAI from further training CoPilot with inappropriately-licensed code. I'd expect damages for all of the instances of copyrighted material that CoPilot regurgitates.
> Most of these complaints seem to be extremely emotional and cherry-picked. "People's legal rights are being violated!" (you definitely don't know that, no one knows that, the article is 100% right about that), "look I prompted CoPilot for this piece of code that I already knew about and it spit it right out" (that's not how it's going to be used in practice).
How are these emotional? They're opinions, like all legal claims, supported by facts. It doesn't really matter if they're "cherry-picked" or not, only whether CoPilot actually violated copyright. If it gives seemingly novel results 999 times out of 1000, but in the other case verbatim generates copyrighted material without proper permission, then that is a copyright violation. At scale, that's a copyright violation with some modest damages even.
Maybe this is not the industry to emulate: https://www.theatlantic.com/business/archive/2011/11/how-mus...
1. I think if you don't want your code re-used in CoPilot you should have that right
2. I think if CoPilot gets smart enough that it can read your open source code and then reproduce the algorithms without copying your code that should be fair use. It's the same thing a human would do. AFAIK CoPilot can not do that but I can certainly imagine it's not too many years away from that.
3. I think I would opt into sharing all my open source code mostly unrestricted with services like CoPilot. I think the group of people that choose to share their code with AI will do better over all than those that lock their code behind licenses.
Note that I'm referring to snippets of code. I don't know what a good definition of snippet is. In other words, if AI helps me write chunks of 10-100 lines at a time I don't see a problem. Effectively, S.O. answer level of snippets. Whereas, if I tell AI "create LibreOffice" and it clones the millions of lines of code, I think that is a problem. I don't know where the cut off is.
People already have that right - all you have to do is not host your code on GitHub.
The examples where people can show it reproducing snippits of code are more the exception than the rule. And they are usually done by people who are trying to manuliption into proving that it can reproduce copyrighted code.
Some people tend to think of it as a search engine. Looking though it's database for relevant snippets for the current situation and regurgitating them unmodified.
But that's really not what it's doing. It's more like the AI autocomplete on your phone, but for code.
It might not be able to understand the algorithms. But it seems to be able to adapt simple algorithms that it's seen multiple times in it's training data to match the surrounding code (in style, naming conventions, and actually using the variable/functions you already have).
I don't have number, but from my experience, I would say it generates uniqu(ish) non-copyrighted code at least 95% of the time.
The only question is what to do about the other times when it does occasionally output potentially copyright infringing code, either by accident, or when it's forced.
I'm just not convinced by the idea that any penalty less than death isn't a penalty.
The Securities and Exchange Commission (USA) has a history of giving million-dollar fines for crimes that produced billions in profit and/or took billions away from victims. And the lack of deterrence has been reflected in the actions of the US financial industry.
Earlier HN thread today on a large chunk of OS code pasted almost verbatim by the CoPilot engine into a project, but stripped of any licensing references.
Within the last few days, another thread on artists who have spent decades developing a unique and valuable style are making parallel complaints about Dall-E/SD/etc., where inputting "Xyz in the style of [Artist]" produces exactly a copy of [Artist]'s unique style, barely distinguishable from the original.
These engines are fairly literally giant collage engines, able to parse language inputs and output a collage of the input works. Maybe some are small snippets so it could be fair use, but they are also evidently capable of outputs of a far larger scope, amounting to wholesale ripoff.
Opting out or not posting on Github or whatever prevents nothing, as stuff is posted everywhere by many, and with code, it's totally legit posting a fork under OS licensing.
Is there a solution analogous to a <NoRobots> flag? How do we verify it? Will there soon be HaveIBeenUsedAsTraining adversarial systems to probe these output engines?
Not sure of the solution, but this seems to rather rapidly overstepping boundaries of creators.
I'm not sure what the argument being made here is. If you make something opaque enough that no one can tell if it's violating legal rights, no one is allowed to say anything about it? This seems uncomfortably close to "it's only a crime if you get caught"
So what? I’m not being snarky: does that actually make any difference, legally?
You argue that desiring ownership of works that you created is “extremely emotional and cherry-picked”, but you do not provide a compelling argument why artists, photographers, and indeed programmers should be excluded from the conversation when it is their art, photography and code that is being appropriated in the first place.
Ultimately my argument is that these tools will allow human beings to accomplish more things with less and that these tools should be distributed to as many people as possible for as little cost as possible. Part of that belief comes from the fact that I think these tools are coming no matter what and I'm slightly concerned about the potential (although unlikely-looking) future where a small number of large corporations are the only ones controlling these tools and they just rent-seek on them.
For programmers, the job market for loud-mouthed posers and plagiarizers will grow and quality will suffer. But those programmers will be fluent in marketing speak.
There will definitely be more cheap rehashed garbage online and we will be forced to invent tools to wade through it. I actually look at that as a bright side because there's already a lot of cheap rehashed garbage, we just don't have good tools for wading through it yet because it hasn't become completely intolerable yet.
But in terms of user behavior, it's rather the same. I used to make more stuff publicly available online than I do now, and the mass-scale surveillance and data modeling that big companies do off of publicly available stuff is a big part of that.
Generally that's how you get walled gardens - by abusing the commons - but here you'd need not just a walled garden but a TINY TINY invitation only one if you don't want people doing mass surveillance and data modeling (CoPilot is really more of the latter than the former, but any of this "scrape the whole internet" stuff is just a tiny little sidestep away from being used for more blatantly evil surveillance purposes - here we're training a generative model, they're we're de-annonymizing everything you've written anywhere...).
Is there a good solution to "BigCos are gonna do whatever they want with the shit you make" other than invite-only, paid-content type models?
Github/OpenAI should have to pay a licensing fee to use GPL and similarly-licensed code in their closed-source derivative IP (CoPilot).
Assuming they will even get off the ground with their copilot system not suggesting vulnerabilities and license traps already.
Because of this, if the law looks at GitHub Copilot, I would expect that they would find Copilot to be A-OK despite the occasional regurgitation of copyrighted material that isn't fair-use, as long as it is removed upon request.
If I'm writing some code and want the suggestion to be good then why wouldn't I use the name of a top programmer as a prompt?
That's just not true. If the "industry standard way to do things" is to violate other peoples' copyright, then everyone doing that absolutely can be sued.
And while it's not clear if using these AI tools constitutes copyright infringement, it looks to me like there's at least a very strong case that could be made.
And at up to $10,000 per copy (register your code with the copyright office if you care about this issue!), that starts to add up very quickly. Even for a company like Microsoft.
Though that doesn't justify such a dismissive attitude towards ordinary HN commenters. As the way it's written implies that most are too stupid and overly emotional, which is more likely to fuel complaints instead of dousing them.
The WAY it was done with copilot is the problem: no attribution, just shoving all legal liability off on the end “programmer” without providing the attribution required TO COMPLY WITH LICENSES as the diligent programmer tries to clear all the code copilot handed it without meta data.
Go read the article before arguing further, please. Otherwise you are wasting all of our time.
I hope that when a case on generative models hits the courts that it's found that training on data from the Internet counts as fair use. I hope that for the reasons I laid out in my comment, because I think that if it isn't then we are all in trouble since these tools will STILL EXIST, but they will be in the hands of the few instead of the many. My main reaction is to how short-sighted it seems like the authors and many others are being about this technology in general. They seem to think they can just wish it away.
I also think that training on data from the Internet is fair-use, but I'm not a lawyer and I haven't studied the law extensively, so who cares what I think about that.