Live data from Hacker News

GitHub Copilot as open source code laundering?

twitter.com

221–230 of 473 posts

Re: GitHub Copilot as open source code laundering?

#221
post #40

Earlier quoted context omitted.

I suppose someone should make a OS-generating AI, conceptually it can just have windows, osx and some linux distros in it and output one based on a question about favorite color or something. You'd just have to wrap it in a nice complex model representation so it's a black box you fed example OS's with some meta-data into and it happens to output this very useful data. After all, once you use something as input to a…

That would be interesting: * Someone leaks Windows 10/11 source code * Copilot picks it up in its training data * Someone uses copilot to generate a Windows clone and starts selling it I wonder how Microsoft would react to that. I wonder if they've manually blacklisted leaked source code from Windows (or other Microsoft products) so that it doesn't show up in Copilot's training data. If they have, that means Microsof…

> Someone uses copilot to generate a Windows clone

You could test this with one of Microsoft's products that is already on GitHub - like VSCode. I doubt you would get anywhere with just copilot.

Re: GitHub Copilot as open source code laundering?

#222
post #33

gonna develop my own linux-like kernel soon, with my own AI model trained on public repositories wanna see the source code of my AI model? oh, it's closed source it's just coincidence that nearly 100% of my future linux-like kernel code looks the same as linux the kernel, bear in mind that my closed-source AI model takes inspiration from GitHub Copilot, there is no way that it will copy any source code

Oh, you're so witty, have you heard of content hashing?

Re: GitHub Copilot as open source code laundering?

#223

What happens when someone puts code up on GitHub with a license that says "This code may not be used for training a code generation model"? - Is GitHub actually going to pay any attention to that, or are they just going to ingest the code and thus violate its license anyway? - If they go ahead and violate the code's license, what are the legal repercussions for the resulting model? Can a model be "un-trained" from a…

By uploading your content to GitHub, you’ve granted them a license to use that content to “improve the Service over time”, as specified in the ToS[1]. That effectively “overrides” any license or term that you’ve specified for your repository, since you’ve already licensed the content to GitHub under different terms. Of course, people who are not GitHub are beholden to the terms you specify. [1] https://docs.github.co…

It's aggravating that there is no escape. If you host somewhere else it will be scraped. If you pay for the service it will be used.

Re: GitHub Copilot as open source code laundering?

#224

While I think this will continue to amplify current problems around IP, aren't current applied-ML approaches to writing software the equivalent of automating the drawing of leaves on a tree? Maybe a few small branches? But the whole tree, all its roots, how it fits in to the surrounding landscape, the overall composition, the intention? If I'm wrong about that than I picked either a good or a bad time to finally lear…

You're right, it's only drawing some leaves, the whole tree or how it relates to the forest is another thing.

Re: GitHub Copilot as open source code laundering?

#225
post #76

"We found that about 0.1% of the time, the suggestion may contain some snippets that are verbatim from the training set" If it's spitting out verbatim code 0.1% of the time, surely it's spitting out copied code where only trivial things are different at a much higher rate. Trivial things meaning swapped order where order isn't important, variable/function names, equivalent ops like +=1 vs ++, etc. Surely it's launder…

I have a much simpler AI Copilot, called "cat", which spills verbatim code more frequently, but it's OK for me. Can I train it on M$ code?

Re: GitHub Copilot as open source code laundering?

#226
post #88
post #67

The second tweet in the thread seems badly off the mark in its understanding of copyright law. > copyright does not only cover copying and pasting; it covers derivative works. github copilot was trained on open source code and the sum total of everything it knows was drawn from that code. there is no possible interpretation of "derivative" that does not include this Copyright law is very complicated (remember Google…

If you can read open source code, learn from it, and write your own code, why can't a computer?

Because computers did not win a war against humans, so they have no rights. Only their owners have rights protected.

Re: GitHub Copilot as open source code laundering?

#227
post #189
post #133

Earlier quoted context omitted.

Without weighing in on the overall question of “is this a license violation”, you’ve created a false dichotomy. “GitHub included Microsoft proprietary code in the training set because they view the results as non-derivative” and “GitHub didn’t include Microsoft proprietary code because they view the results as derivative” are clearly not the only options. They could have not included Microsoft internal code because i…

Or: they used the entire open source corpus because they thought it was free for the taking, and when people point out that it is not (that there are licenses) they spin that (claim that only 0.1% of output is directly copied, but that would mean 100 lines in 100k program) and pass any risk onto the user (saying it is their responsibility to vet any code they produce). So they aren't saying that users are in the clea…

Use neural indexes to find the code that most closely matches the output. Explainable AI should be able to tell you where the autocompletion results came from, even if it is a weighted set of files.

Re: GitHub Copilot as open source code laundering?

#228

In the discussion yesterday I pointed to the case of some students suing turnitin for using their works in the turnitin database and the studemts lost [1]. I think an individual suing will not go anywhere. The way to create a precedent is someone feeding all the Harry Potter books and some additional popular books (twilight?) to GPT 3 and letting them write about some kids at a sorcerer school. The outcomes of that c…

Not a lawyer, but in that case it seemed to be a factor that turnitin was transformative, because it never sold the texts to others and thus didn't reduce the market value of them. But that wouldn't apply to copilot which might reduce the usage of libraries since you can "code" equivalent functionality with copilot now. Would it be a stretch to assert that GPL'd libraries have a market value for their creator in term…

While we're worrying about ML learning to write our codes we should also break all the automated looms so people don't go without jobs. Do everything manually like God intended! /s

Maybe a code that is easily recreated by GPT with a simple prompt is not worth copyrighting. The future is in making it more automated, not protecting IP. If you compete against a company using it, you can't ignore the advantage.

Re: GitHub Copilot as open source code laundering?

#230

Attempts to litigate any license violation are going to get precisely nowhere I bet, but I find the actual license violation argument persuasive. This is an excellent example of how the AI singularity/revolution/whatever is a total distraction and that a much bigger and more serious issue is how AI is becoming so effective at turning the output of cheap/free human mental labour into capital. If AI keeps getting bette…

Could disincentivize open source? If I build black boxes that just work, no AI will "incorporate" my efforts into its repertoire and I will still have made something valuable.
Post reply on HN