News for hackers. Stuff that matters.
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by LesZedCB on Thursday November 10, 2022 @01:59AM (#33543158)
out of curiosity, would anybody else cease to have an issue copilot if it was an open source model?

i'm not paying for copilot right now because i'm waiting for this to shake out. but i'd be happy to pay (even their current asking price) if i knew the model was also open source and could be self hosted.

maybe this is the wrong way to ask the question, but hopefully it makes sense

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by david_allison on Thursday November 10, 2022 @02:37AM (#33543398)
It's not the license of the model, it's the license of the output.

As it stands, Copilot is a black-box which strips copyright from a piece of code.

I'd be fine if it were a level playing field and GitHub also trained it on private repositories - that's a signal that they don't care about copyright at all.

I'd be fine as a developer who releases GPL'ed code if the output was licensed as GPL - obviously no license violation.

I'd be fine (within a reasonable scale) if a developer contacted me and asked to use my code under MIT.

I'm not fine that Copilot allows people to take my code, 'change the variable names' and remove the license. Especially because I have no visibility of the fact that this has occurred.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by az226 on Thursday November 10, 2022 @02:54AM (#33543513)
But Copilot doesn't take your code at best it has learned from a fraction of a fraction of your code and synthesized it with tens or thousands of like examples and the output may look similar to your code because it's trying to achieve the same thing. It's not like Copilot takes your entire repo and clones it and says "we washed the onerous license requirements away for ya".
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by david_allison on Thursday November 10, 2022 @03:13AM (#33543621)
There's a minimum level of complexity and creativity which constitutes a copyright violation. It's up to a legal professional to draw the line, but I believe it can be a single line of code (`i = 0x5f3759df - ( i >> 1 );`)

If I saw 100 LOC which was very similar to something which I wrote, AND contained a log statement copied verbatim, it's very easy to imply that the entire piece of code is a derivative work.

Let's say I write FizzBuzz:

    // Copyright (c) 2022 David Allison. All rights reserved.

    for num in range(100):
        if num % 3 == 0 and num % 5 == 0:
            print("DA: fizzbuzz")
        elif num % 3 == 0:
            print("DA: fizz")
        elif num % 5 == 0:
            print("DA: buzz")
        else:
            print(num)
If I found the modified FizzBuzz algorithm in the wild with one line containing the "DA" prefix, it may have been learned from a fraction of a fraction of my code but it still contains my 'unique' creativity, is that a copyright violation?

Aside: Due to some uniquely named code I've contributed to, I strongly suspect that Copilot would output my GitHub username. I don't really want to open Pandora's box here, but I'd be curious.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by visarga on Thursday November 10, 2022 @03:32AM (#33543760)
Replicating copyrighted code from the training set only happens 1% of the time, it's the exception not the rule. And when it happens it's usually because the same text appears multiple times in the training set. So it will memorize boilerplate and popular code snippets, not unique stuff. Even a replicated piece of code 100 lines long is no big deal in my opinion, unless it contains some kind of unique thing never seen before, like an optimized matrix multiplication function. Certainly not FizzBuzz.

On the practical side, it is actually easy to filter out sequences of words that are too similar to the training set from the output of the model. You just generate another snippet until it is "original" enough.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by david_allison on Thursday November 10, 2022 @04:00AM (#33543943)
I have ~400KLOC changed on GitHub. 1% of the time happens multiple times a day given scale.

Pragmatically, people are already knowingly committing commercially viable copyright violations of my work. I'd rather it wasn't encouraged further by a US-based 'big tech', especially if the people using my code aren't aware that they're doing anything questionable.

Some months, I earn over 100x less from OSS than I would in industry. I don't want people taking advantage any more than I'm comfortable with, especially for commercial purposes.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by visarga on Thursday November 10, 2022 @04:17AM (#33544050)
It's the wild west phase, after it settles down there will probably be ways to signal you don't want to allow training on your code. But I think it's just like taking your grain of sand from the beach so nobody else can have it. The beach is going to be just the same.
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by ISL on Thursday November 10, 2022 @06:05AM (#33544846)
As part of the wild-west phase, it is possible that the inclusion of a single identifiable AGPL project in the training set leads to the licensing of Copilot as AGPL. Such an outcome might lead hastily to the future you imagine.
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by ranguna on Thursday November 10, 2022 @03:16AM (#33543641)
Copilot used (for training) copyrighted code without respecting the license and can generate pieces of copyrighted code verbatim without respecting the original license as well.

I pay for copilot and this is very much the truth, but let's see what the court rules out.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by simion314 on Thursday November 10, 2022 @03:24AM (#33543703)
So why in your opinion Microsoft did not had the courage to also train copilot on proprietary code or on their own proprietary code? Because from my perspective I conclude that MS knows that things are not as simple so they did not want to "upset" some companies while they can afford to screw over the open source people.

Btw I would have been behind MS if they have done one of this 2

1 use all code they have access , including MS code and including private code in GitHub because that would show they actually belive that the AI works as advertised

2 make the model open , let people use it locally, improve it, test it for copyright issues, do whatever they want

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by rwmj on Thursday November 10, 2022 @04:22AM (#33544076)
You could also imagine different Copilot models, eg Copilot-GPL, Copilot-MIT etc. Each would be trained only on GPL or MIT code from github. Then which model gets used depends on the license of the file being written at the time.
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by avian on Thursday November 10, 2022 @05:00AM (#33544390)
Attribution is an important part of most licenses, so not only would you need to track the license, but also the authors.
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by runnerup on Thursday November 10, 2022 @02:08AM (#33543217)
If it was GPL it could use GPL code and legally there would be no debate.
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by Jweb_Guru on Thursday November 10, 2022 @02:33AM (#33543367)
The project could, yes. It wouldn't necessarily change the legality of using it in non-GPL projects, though. If people were only using it in license-compatible projects and it was license-compatible with GPL, I doubt anyone would have any complaints (even though in theory it could also be picking up stuff from other incompatible licenses).
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by comice on Thursday November 10, 2022 @04:15AM (#33544026)
One of the requirements of the GPL is that credit is given (and indeed this is needed for enforcement to work because the GPL leverages copyright).
Re:An Open Source Lawyer’s View on the Copilot Class Action ... by throwaway290 on Thursday November 10, 2022 @02:19AM (#33543265)
If it was a true OSS project, first it would not clearly benefit a single near-monopoly by using my code (as in, that wouldn't be its purpose), and second I'm sure its contributors would be well placed to understand the issue and from the start bake in a reliable, transparent mechanism for opting out.

As is, it's EEE applied to open source-- Microsoft's ultimate play. When your brainchild gets gobbled up faster than you can blink, pushed to people who never learn about your existence, and a megacorp that you are ethically opposed to profits from the process, the need for self-actualization is no longer addressed. The fundamental incentive that pushes us to publish in the open, to have other humans acknowledge you and your work and feel pride in it, is being eliminated.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by synapse26 on Thursday November 10, 2022 @03:33AM (#33543770)
Yes, I’d be one too. I have no legal opinions about this, but morally, Copilot just doesn’t hit me right. One of the purpose open source exist is for it to be, well, open. It’s so annoying seeing this tool Specifically use only open source code and then have the audacity to close source + paywall access to it.

I used to be a little more agreeable with Copilot with training money and all, but seeing Stable Diffusion is willing to open up hundreds of thousands in training, and more in engineering, and therefore create an active community dedicated to improving it everyday, I just can’t help but be so annoyed when one of the world’s biggest tech companies pulls such petty move.

Re:An Open Source Lawyer’s View on the Copilot Class Action ... by NoboruWataya on Thursday November 10, 2022 @04:04AM (#33543970)
I agree - it's problematic enough that licensing information gets lost in the Copilot process, but as is we basically have developers contributing their time and expertise, for free, to the development of Microsoft's new paid proprietary product. Worse still, if Copilot is as revolutionary as some people make it out to be, those same developers are inadvertently helping Microsoft build a monopoly in a new market, with all the disastrous consequences that entails.