News for hackers. Stuff that matters.
Re:GitHub Copilot is not infringing your copyright by carom on Thursday July 11, 2024 @06:03AM (#40935075)
This is missing the largest argument in my opinion. The weights are the derivative work of the GPL licensed code and should therefore be released under the GPL. I would say these companies release their weights or simply not train on copyleft code.

It is truly amazing how many people will shill for these massive corporations that claim they love open source or that their AI is open while they profit off of the violation of licenses and contribute very little back.

Re:GitHub Copilot is not infringing your copyright by pornel on Thursday July 11, 2024 @06:30AM (#40935220)
GPL doesn't apply/doesn't have to be agreed to when the usage is allowed by the copyright law in another way. GPL can't override copyright exceptions like fair use (details vary by jurisdiction, but the principle is the same everywhere).

Even the license itself states it's optional, and you don't have to agree it (if you don't, you get the copyright law's default).

Author of the article is a former member of the Pirate Party and EU parliament, so they have expertise in the copyright law.

Re:GitHub Copilot is not infringing your copyright by haksz on Thursday July 11, 2024 @07:45AM (#40935617)
I would say that the Pirate Party has expertise in nothing apart from perhaps protecting Internet freedoms.

So the same persons that supported Napster and the Pirate Bay now want to circumvent copyright for open source software.

An unholy alliance, but the recent comments from some Microsoft brass about everything on the Web being freeware seems to indicate that these are the talking points that Microsoft and its new allies will put out.

Re:GitHub Copilot is not infringing your copyright by koolala on Thursday July 11, 2024 @08:54AM (#40936192)
If the Web is freeware... I wonder what options remain for licenced online information.
Re:GitHub Copilot is not infringing your copyright by janosdebugs on Thursday July 11, 2024 @05:05PM (#40940603)
Content gating behind login screens. Scraping content behind a login screen could constitute a contract violation and would give rise to a lawsuit independent of copyright.
Re:GitHub Copilot is not infringing your copyright by pornel on Thursday July 11, 2024 @10:02AM (#40936940)
In this article, Reda explains the current copyright laws in the EU, not a hypothetical policy of the Pirate Party. They're not a member of the PP any more AFAIK.

I expect that people professionally dedicated to a copyright reform are very familiar with it, regardless of which way they want to reform it.

The copyright laws were written before generative AI existed, so they may not be adequate or fair in the new reality, but that's the current state anyway. As Reda notes, the law is not specific enough to draw the difference between collecting and processing data for search engines (that may be using ML for retrieval) and using the same data with LLMs.

Re:GitHub Copilot is not infringing your copyright by qjakdx on Thursday July 11, 2024 @07:57AM (#40935699)
He works for GitHub and has probably never written anything in his life:

https://okfn.de/en/vorstand/

Re:GitHub Copilot is not infringing your copyright by prosim on Thursday July 11, 2024 @08:36AM (#40936015)
He started at GitHub 3 years after the article was written. Don't think GitHub's interview process takes that long. ;)
Re:GitHub Copilot is not infringing your copyright by qakjfa on Thursday July 11, 2024 @08:56AM (#40936206)
That is a good point for this individual article!

However, the broader issue that Microsoft has infiltrated OSS and its organizations successfully by hiring and donating remains. It would not surprise me at all if they now hire people with an ostensibly "freedom fighter" background for credibility.

Look at how many people here cite his (former?) membership in the Pirate Party for credibility! Party membership means nothing. Politicians (in general!) change their minds, can be bought, etc. The Green Party in Germany started out as a peace party and has been used repeatedly to lend credibility to the Kossovo and other wars.

Re:GitHub Copilot is not infringing your copyright by alyma on Thursday July 11, 2024 @10:23AM (#40937139)
GitHub was just the logical progression from okfn:

https://blog.okfn.org/2022/03/03/microsoft-to-support-open-d...

Today, we are pleased to announce that Microsoft will once again be supporting Open Data Day by providing mini-grants to organisations to help them run events, the call will launch on Open Data Day 2022.

They also supported "Open Data Day 2021". Sounds like a nice trojan horse to influence EU legislation through purported activists.

Re:GitHub Copilot is not infringing your copyright by blackoil on Thursday July 11, 2024 @06:10AM (#40935123)
Since weights are not distributed only used by Github to provide the service, they need not worry about GPL atleast. I don't know about AGPL.
Re:GitHub Copilot is not infringing your copyright by kimixa on Thursday July 11, 2024 @06:18AM (#40935163)
If those weights are a derivative of GPL'd code in a different form, and the results generate things derived from that derivative, then the generated code is still under license. "How much change is enough" has always been a gray area for courts and humans to decide.

If you can get a decent facsimile of licensed code out the other end, how is it really any different from lossy compression? I doubt the courts would consider a lossy re-encode of a disney movie as free from copyright.

Re:GitHub Copilot is not infringing your copyright by zarzavat on Thursday July 11, 2024 @06:26AM (#40935193)
If the output is substantially similar to GPL’d training data it may be infringing. Nobody disputes this.

However, copyright isn’t cooties. If the output is not similar, then it is not infringing regardless of how much GPL’d training data was used to generate it.

Re:GitHub Copilot is not infringing your copyright by pen2l on Thursday July 11, 2024 @07:54AM (#40935675)
Suspend all knowledge of copyright law as it exists today for a moment and approach this hypothetical on first principles: a lot of GPL copyleft data is used in the making of an AI tool, that when asked for it, can itself recreate code similar to what was input... also, the creator of that AI tool will reap in all the profits without giving a single penny or even recognition of the value it guzzled from GPL data it was trained on to creators of original copyleft data. Is this fair? What do your scruples tell you?

No, of course not. We should probably revisit copyright law, given that it was written at a time when no-one foresaw modern AI tools, its capabilities, and its effects on creators and societies.

Re:GitHub Copilot is not infringing your copyright by CuriousSkeptic on Thursday July 11, 2024 @10:53AM (#40937438)
The GPL was never about money, recognition or even abut the creators at all. Copy Left was created “to promote computer user freedom”

Free Software already views all proprietary software as inherently immoral. So there is no need to take a detour of what went into making the software to reach that conclusion from that angle.

Re:GitHub Copilot is not infringing your copyright by zarzavat on Friday July 12, 2024 @01:13AM (#40942862)
Have you used Copilot? It is generally not creating code similar to GPL code, it is creating code similar to the surrounding context file.

Transformers predict the most likely next token, the most likely next token is usually related to the surrounding context.

So yes it can create code similar to GPL code but it can only do that consistently when the GPL code is included in the context. So don’t do that.

Re:GitHub Copilot is not infringing your copyright by kimixa on Thursday July 11, 2024 @06:34AM (#40935241)
Indeed, that's why I said

>"How much change is enough" has always been a gray area for courts and humans to decide.

But copilot has been shown to generate chunks of sufficient size and specificity that as a layman it very much feels like "copied GPL code". And my boss agrees too - we have a blanket ban on generative AI tools in our work because it's not considered worth the risk.

Re:GitHub Copilot is not infringing your copyright by londons_explore on Thursday July 11, 2024 @07:48AM (#40935643)
> has been shown to generate chunks of sufficient size and specificity

Only when given chinks of copyrighted code as input. I don't think anyone has demonstrated big chunks of copyrighted code in the output when copyrighted code isn't present in the query/context.

In fact, I suspect microsoft specifically filters the output for that.

Re:GitHub Copilot is not infringing your copyright by Hamuko on Thursday July 11, 2024 @06:21AM (#40935176)
>If those weights are a derivative of GPL'd code in a different form, and the results generate things derived from that derivative, then the generated code is still under license.

That's not really Microsoft's problem as long as people aren't afraid of using Copilot to generate (potentially GPL'd) code. And from what I've generally seen from genAI discussions at work, people think very little about any legal implications.

Re:GitHub Copilot is not infringing your copyright by bayindirh on Thursday July 11, 2024 @06:13AM (#40935136)
What about the emitted code which is actually derived from GPL code?

What about BSL, SSPL, or other source available (for your eyes only) licenses? Copilot harvests all public repos, regardless of its license.

Re:GitHub Copilot is not infringing your copyright by bluesign on Thursday July 11, 2024 @06:28AM (#40935209)
IANAL but searched a lot on this, this is very tricky subject legally.

To simplify:

- imagine all code Copilot trained on is GPL licensed. - we have a universal function `isInfringing(code)` that has access to all GPL code, and returns `true` if it is infringing some GPL code.

for a given prompt; if `isInfringing(copilot(prompt))==false` we cannot claim copilot infringing on GPL code, even it is trained on GPLed code.

so the problem starts here; does the piece of code copilot emits, if written by yourself also would be infringing ?

Re:GitHub Copilot is not infringing your copyright by luqtas on Thursday July 11, 2024 @08:00AM (#40935724)
> so the problem starts here; does the piece of code copilot emits, if written by yourself also would be infringing ?

why everyone on discussions tries to bring "if a human made it"? a generative AI operates way faster than anyone ever existed and ever will. and having dozen/hundreds/thousands humans substituted by a machine that makes money for some for-profit greed company is really fair?

for sure legal battles on people copying code from permissive licenses should be developed further but it's a different economy

Re:GitHub Copilot is not infringing your copyright by bluesign on Thursday July 11, 2024 @09:57AM (#40936892)
because discussion is around 'legal' and laws only apply to humans. On ethical side of the discussion, I tend to agree with you. But it is also complicated subject; 'fair' in general is complicated, all this, GPL/AGPL stuff born out of this subject. Hosting GPL code as SaaS is legal but not 'fair' for example.
Re:GitHub Copilot is not infringing your copyright by mzl on Thursday July 11, 2024 @08:23AM (#40935894)
If one was sufficiently inspired by code A when writing code B, then it is a derivate work. This is a core tenet of copyright law.

At what measure is one sufficiently inspired for it to be a derivate work? That is up to courts to decide.

Re:GitHub Copilot is not infringing your copyright by bluesign on Thursday July 11, 2024 @10:17AM (#40937082)
yeah the problem here is there is no 'code A' usually, it is more like: 1000s of GPLed code (A1, A2, ... An )

Technically when you get a piece from each, there is no infringement legally. ( as they have all different copyright holders )

Re:GitHub Copilot is not infringing your copyright by bayindirh on Friday July 12, 2024 @02:20AM (#40943101)
From my understanding of a blog post by GitHub last year, they are planning to launch a tool to find similar code to what emitted by CoPilot, implying that CoPilot does not mix multiple sources for a single function, but derives a code block it found with a similar functionality (or maybe bigger blocks with similar functionality, IDK).

If CoPilot indeed derives a function (or a functional block) from a single source, it might plainly violate the license of the repository where it derives the code from.

There are many questions, and nothing is clear cut. The only thing I know is, I will never use that thing.

EDIT: I remembered that people were able to make CoPilot emit their code almost as-is with the correct prompts: https://x.com/docsparse/status/1581461734665367554

So it's not we're taking a bit from n different sources, and generate something with that.

Re:GitHub Copilot is not infringing your copyright by anticensor on Friday July 12, 2024 @04:16PM (#40949008)
> Technically when you get a piece from each, there is no infringement legally.

False in ex-Commonwealth countries and Japan.

Re:GitHub Copilot is not infringing your copyright by starspangled on Thursday July 11, 2024 @06:17AM (#40935156)
So outputs are definitely not derivative work of training data, only weights? For this exact code that github is using, anything called "AI", or any computer code at all which produces work based in whole or in part on input data?

And for which jurisdictions has this been established? What is the legal argument that "weights" are derivative but output is not?

I'm surprised it's so clear cut as you say, but I haven't really been following the whole kerfuffle.

Re:GitHub Copilot is not infringing your copyright by JW_00000 on Thursday July 11, 2024 @07:10AM (#40935410)
> The weights are the derivative work of the [GPL licensed] code

This is not immediately obvious to me.

A small though experiment: the Harry Potter books are clearly copyrighted works. If I generate a frequency list of all words in these books, i.e. a list of all words and how often they appear, that frequency list is derived from the original work, in the normal way we would use the word "derived". But is it a "derivative work", under the strict legal definition of this term?

Re:GitHub Copilot is not infringing your copyright by carom on Thursday July 11, 2024 @01:24PM (#40938738)
The frequency count is not a function. The trained model is. Arguably, they at deriving a new function from ones covered by copyright. It is up to the courts for an official decision though.
Re:GitHub Copilot is not infringing your copyright by tpmoney on Thursday July 11, 2024 @05:16PM (#40940672)
So what if we made a function. What if someone scans all the works of Harry Potter and generates a program/function that uses the frequency and pairing of phonemes in Harry Potter character names to create a “Wizard Name Generator” to generate random but plausible sounding names. Would we expect a court to find the name generator is infringing on JK Rowling’s copyrights? Certainly it’s possible for the generator to generate a name verbatim from the books, but does that make the generator a derived work and infringing? If the authors of the generator put their generator on the web as Harry Potter Name Generator, we might expect the courts to tell them they can’t use the Harry Potter name, but if they put it under “Wacky Warlocks Wizard Wonder Namer” is the mere fact that the underlying function uses factual data about a work under copyright sufficient to strike it down? What if it used name frequencies from multiple fantasy series? How many series would it have to use as a source before we say that the name generator is not infringing on copyrights? Can it ever not be?
Re:GitHub Copilot is not infringing your copyright by gus_massa on Thursday July 11, 2024 @03:20PM (#40939697)
What about N-grams frecuencies? 1-grams (aka characters) have too few information and are probably fine, using them you can only identify the language of the original work. With a few more you can identify the author and the book. I don't remember the exact number, but if you have the frecuencies of 10-grams you can probably reconstruct big chuncks of the book.
Re:GitHub Copilot is not infringing your copyright by denton-scratch on Thursday July 11, 2024 @06:40AM (#40935266)
But they train their models on everything, regardless of the licence. It follows that the resulting derivative work likely mixes stuff that is under incompatible licences, with the result that it can't be distributed at all.
Re:GitHub Copilot is not infringing your copyright by wseqyrku on Thursday July 11, 2024 @06:18AM (#40935159)
Consider it's already paid back because it's cheap. The price is only the service free.
Re:GitHub Copilot is not infringing your copyright by dist-epoch on Thursday July 11, 2024 @07:02AM (#40935363)
> The weights are the derivative work of the GPL licensed code

EU courts disagree:

> Under European copyright law, scraping GPL-licensed code, or any other copyrighted work, is legal, regardless of the licence used.

Re:GitHub Copilot is not infringing your copyright by xigoi on Thursday July 11, 2024 @07:57AM (#40935702)
Sure, scraping it is by itself legal. But making a derivative worR from it and selling it?
Re:GitHub Copilot is not infringing your copyright by carom on Monday July 15, 2024 @04:26AM (#40966125)
The weights are not created by scraping. Sure, you can scrape it, but what you do with it matters.
Re:GitHub Copilot is not infringing your copyright by klaustopher on Thursday July 11, 2024 @06:06AM (#40935095)
Just FYI, Felix Reda was a member of the European Parliament and was responsible there for the copyright reform and also involved in GDPR, massively stepping on the feet of big tech. Don't know if it was your intention to include them in a list of people wo "shill" for big tech, but they shouldn't be included.

edit wording about the shill

Re:GitHub Copilot is not infringing your copyright by ElectricSpoon on Thursday July 11, 2024 @08:20AM (#40935865)
I'm with you on that. Many argue that AI models don't "contain the code" but if they are trained on the copyrighted data, and generate something similar, then the AI model is akin to a lossy data compression format.

Frequency signal data over an image are not the image, but no one argues a JPEG encoded copy of a PNG isn't the same image. I think the weights vs code are similar in that regard.

As for releasing weights, probably more if we're talking about AGPL code.

Re:GitHub Copilot is not infringing your copyright by batch12 on Thursday July 11, 2024 @08:25AM (#40935923)
I think it's amazing that licenses are ignored to train a model, but companies then try to impose a license on the use of the same model. It would be nice if there there was a training BOM that came with a model. And if not included, all rights to control the use of a model were forfeit.
Re:GitHub Copilot is not infringing your copyright by dwaite on Thursday July 11, 2024 @10:24AM (#40937159)
> I think it's amazing that licenses are ignored to train a model, but companies then try to impose a license on the use of the same model.

There's existing analogies like encyclopedias and dictionaries.

One interesting aspect to those sorts of consolidation works is that they may contain errors and other artifacts, specifically to identify duplications of their work vs new from-scratch work.

Re:GitHub Copilot is not infringing your copyright by batch12 on Thursday July 11, 2024 @10:31AM (#40937242)
I don't think those are good analogies. An encyclopedia contains references or summaries of a concept or idea, but not a compressed volume of all possible text. A closer analogy would be an unauthorized "collected works" of your favorite HN commenter packaged up and resold.

It also feels similar to the recent article posted about photography and how during its early days pictures were used for advertising without the consent of those photographed. [0]

[0] https://www.truthdig.com/articles/the-troubled-development-o...

Re:GitHub Copilot is not infringing your copyright by wakawaka28 on Friday July 12, 2024 @10:01AM (#40945649)
It would make no sense to release the weights under the GPL because machine-generated stuff is uncopyrightable. There should be an argument about the model generating derivative works without attribution as a consequence of how it works. But that machine-generated stuff is also uncopyrightable, even though it might be kept secret.
Re:GitHub Copilot is not infringing your copyright by carom on Monday July 15, 2024 @04:24AM (#40966112)
What about compiler outputs? Those were initially not copyrightable then it was legislated that they were. So there is some precedent there and I would not be surprised if we saw copyrightable weights in the future (as a "compilation" of the dataset).
Re:GitHub Copilot is not infringing your copyright by wakawaka28 on Monday July 15, 2024 @09:19AM (#40967657)
It could be legislated of course. But the difference is pretty drastic. Almost nobody is creating binaries without a compiler. It is a mechanical process, but essentially everyone uses the same mechanical processes to generate binaries. I haven't looked at this issue in a while but I think compiled binaries are treated in a way similar to that of recorded music. For example, the particular bit patterns from a synthesizer might be generated from sheet music, and that is akin to code vs. binaries. But the bit patterns are copyrightable only so far as they are equivalent to or the direct manifestation of a creative work.

There are other problems with releasing model weights under the GPL. It just doesn't fit, in the same way as releasing non-software under the GPL doesn't make sense.

Calling the output of generative AI copyrightable violates the spirit of copyright, as it is neither creative nor labor-intensive. We could quibble about that, but I think we can at least agree that the point is that this generative AI stuff requires very little skill to use in most cases and can't operate without prior art to train on. Other lame stuff has been copyrighted before, like paint splatters and stuff, but even that type of art appears to involve more skill than entering a few words into a generative AI.