Live data from Hacker News

GitHub Copilot, with “public code” blocked, emits my copyrighted code

twitter.com

311–320 of 806 posts

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#311

I’ve noticed that people tend to disapprove of AI trained on their profession’s data, but are usually indifferent or positive about other applications of AI. For example, I know artists who are vehemently against DALL-E, Stable Diffusion, etc. and regard it as stealing, but they view Copilot and GPT-3 as merely useful tools. I also know software devs who are extremely excited about AI art and GPT-3 but are outraged b…

Quod licet Iovi, non licet bovi[0]

[0] https://en.m.wikipedia.org/wiki/Quod_licet_Iovi,_non_licet_b...

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#312

Earlier quoted context omitted.

Does dalle-2 verbatim reproduce artwork? I have never used it.

It's kind of like having millions of parameters you can tweak to get to an image. So an image does not really exist in the model. I can imagine Mona Lisa in my head, but it doesn't really "exist" verbatim in my head. It's only an approximation. I believe copilot works the same way (?)

NNs can and do encode information from their training sets in the models themselves, sometimes verbatim.

Sometimes the original information is there in the model, encoded/compressed/however you want to look at it, and can be reproduced.

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#313
Howdy, folks. Ryan here from the GitHub Copilot product team. I don’t know how the original poster’s machine was set-up, but I’m gonna throw out a few theories about what could be happening.

If similar code is open in your VS Code project, Copilot can draw context from those adjacent files. This can make it appear that the public model was trained on your private code, when in fact the context is drawn from local files. For example, this is how Copilot includes variable and method names relevant to your project in suggestions.

It’s also possible that your code – or very similar code – appears many times over in public repositories. While Copilot doesn’t suggest code from specific repositories, it does repeat patterns. The OpenAI codex model (from which Copilot is derived) works a lot like a translation tool. When you use Google to translate from English to Spanish, it’s not like the service has ever seen that particular sentence before. Instead, the translation service understands language patterns (i.e. syntax, semantics, common phrases). In the same way, Copilot translates from English to Python, Rust, JavaScript, etc. The model learns language patterns based on vast amounts of public data. Especially when a code fragment appears hundreds or thousands of times, the model can interpret it as a pattern. We’ve found this happens in 150 characters that match public data. If you’re not already using the filter, I recommend turning it on by visiting the Copilot tab in user settings.

This is a new area of development, and we’re all learning. I’m personally spending a lot of time chatting with developers, copyright experts, and community stakeholders to understand the most responsible way to leverage LLMs. My biggest take-away: LLM maintainers (like GitHub) must transparently discuss the way models are built and implemented. There’s a lot of reverse-engineering happening in the community which leads to skepticism and the occasional misunderstanding. We’ll be working to improve on that front with more blog posts from our engineers and data scientists over the coming months.

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#314

Github Copilot is not AI at all, it is just a dumb code regurgitator that just sells you code you wrote on GitHub and takes all the credit for it shamelessly.

it's totally AI, in the "legal responsibility laundering" sense. This is the main present day use case for saying "AI".

Yeah you can just throw some "AI" into the code and suddenly people are okay with it stealing licensed code. I really thought technically inclined people would be resistant to this type of manipulation from advertisers but it seems like most people are totally going for it!

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#315

I’ve noticed that people tend to disapprove of AI trained on their profession’s data, but are usually indifferent or positive about other applications of AI. For example, I know artists who are vehemently against DALL-E, Stable Diffusion, etc. and regard it as stealing, but they view Copilot and GPT-3 as merely useful tools. I also know software devs who are extremely excited about AI art and GPT-3 but are outraged b…

> For myself, I am skeptical of intellectual property in the first place. I say go for it. Me too. I think copyright and these silly restrictions should be abolished. At the same time, I can't get over the fact these self-serving corporations are all about "all rights reserved" when it benefits them while at the same time undermining other people's rights. Microsoft absolutely knows that what they're doing is wrong.…

> Then it won't be a crime for any of us to copy Windows and Office either. You bet we're gonna go for it too.

Don't worry. At that time all of the available hardware will refuse to run any software unless it comes with a signed license from one of the big three.

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#317

Earlier quoted context omitted.

I'm not sure sure that originality is that different between a human and a neural network. That is to say that what a human artist is doing has always involved a lot of mixing of existing creations. Art needs to have a certain level of familiarity in order to be understood by an audience. I didn't invent 4/4 time or a I-IV-V progression and I certainly wasn't the first person to tackle the rhyme schemes or subject ma…

> I'm not sure sure that originality is that different between a human and a neural network. That is to say that what a human artist is doing has always involved a lot of mixing of existing creations. I disagree, but this is a debate worth having. This is why I disagree: humans don't copy just copyrighted material. I am in the middle of developing and writing a romance short story. Why? Because my writing has a glari…

Asked to give practical advice to starting writers, he said, “Read.”

https://www.nytimes.com/2022/09/30/books/early-cormac-mccart...

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#318

I think people may be drastically over-valuing their code. If it was emitting an entire meaningful product, that would be something else. But it’s emitting nuts and bolts. If the issue is more specifically copyright infringement, then leverage the legal apparatus in place for that. Their lawyers might listen better. This is not a strongly held opinion and if you disagree I would love to hear your constructive thought…

The OP was a professor of mine, and his library represents the product of thousands of hours of research. Probably every line in there is extremely valuable.

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#319
post #16

I’ve noticed that people tend to disapprove of AI trained on their profession’s data, but are usually indifferent or positive about other applications of AI. For example, I know artists who are vehemently against DALL-E, Stable Diffusion, etc. and regard it as stealing, but they view Copilot and GPT-3 as merely useful tools. I also know software devs who are extremely excited about AI art and GPT-3 but are outraged b…

When Joe Rando plays a song from 1640 on a violin he gets a copyright claim on Youtube. When Jane Rando uses devtools to check a website source code she gets sued. When Microsoft steals all code on their platform and sells it, they get lauded. When "Open" AI steals thousands of copyrighted images and sells them, they get lauded. I am skeptical of imaginary property myself, but fuck this one set of rules for the poor,…

Wowwww. This is exactly what I was thinking, but I couldn’t put it into such a terse simple example. +1

Re: GitHub Copilot, with “public code” blocked, emits my copyrighted code

#320
post #94

Earlier quoted context omitted.

I think copilot is a clearer copyright violation than any of the stable diffusion projects though because code has a much narrower band of expression than images. It's really easy to look at the output of CoPilot and match it back to the original source and say these are the same. With stable diffusion it's much closer to someone remixing and aping the images than it is reproducing originals. I haven't been following…

I don’t think copilot is intrinsically a copyright violation, as you seem to be alluding to. Examples like this seem to be more controversial, but I’m not sure there’s a clear copyright violation there either. If you asked every developer on earth to implement FizzBuzz, how many actually different implementations would you get? Probably not very many. Who should own the copyright for each of them? Would the outcome b…

Copyright is for original whole works. Utility functions don’t fall under that I don’t think.

I suppose whoever wants to pay the fees would “own” these things ?

https://www.copyright.gov/circs/circ61.pdf

Post reply on HN