News for hackers. Stuff that matters.
Re:GitHub Copilot emits GPL code by jamesmunns on Friday April 21, 2023 @02:39PM (#35658118)
This is interesting, but many permissive licenses still require attribution at the project or file level.

If Codeium doesn't produce these when producing "verbatim enough" snippets, how is this actually better, besides avoiding a GPL boogeyman?

I get that there have been fewer (if any? I'm not aware of any) MIT/Apache2.0/MPL2.0 license violations that have gone to court than GPL violations, but this still feels like an "address the symptoms" and not "address the cause" difference.

Re:GitHub Copilot emits GPL code by blibble on Friday April 21, 2023 @03:17PM (#35658638)
> If Codeium doesn't produce these when producing "verbatim enough" snippets, how is this actually better, besides avoiding a GPL boogeyman?

it's not

if they've trained on MIT/Apache 2.0/... then they're just as liable as people that have trained on GPL

they would be limited to training on licenses that don't require attribution (BSD2, public domain, etc)

which I suspect limits the size of the training set so much that the output would be useless

Codium here is unintentionally making an argument that undermines legal confidence in their own product

interesting choice!

Re:GitHub Copilot emits GPL code by gus_massa on Friday April 21, 2023 @03:57PM (#35659153)
IANAL, but I expect people to use MIT/BSD to be less angry about partial reuse of the code than people that uses GPL.
Re:GitHub Copilot emits GPL code by pornel on Friday April 21, 2023 @04:39PM (#35659765)
I'm not a lawyer either, but I don't think "less angry" is a legal term.
Re:GitHub Copilot emits GPL code by JamesBarney on Friday April 21, 2023 @05:56PM (#35660768)
Not but it's big determinant in how you get sued. Several lawyers haven give the advice the best way to avoid a lawsuit is don't be an asshole. The second best way is to spend a bunch of money on an attorney.
Re:GitHub Copilot emits GPL code by GuB-42 on Friday April 21, 2023 @04:53PM (#35659946)
I wonder if, in order to deal with attribution, the system could simply build a multi-megabyte file with "this code is derived from:" followed by all the authors the system could gather from the training data set.
Re:GitHub Copilot emits GPL code by dalmo3 on Friday April 21, 2023 @05:15PM (#35660291)
Hey, I want my name on that list. Here's my contribution:

    {
Re:GitHub Copilot emits GPL code by throwaway290 on Friday April 21, 2023 @03:20PM (#35658685)
Perhaps copyright is what being circumvented, not just GPL. What Microsoft does is take your original work, create derivative works and sell them for profit. Unless it's under creative commons zero or public domain it shouldn't be legal...
Re:GitHub Copilot emits GPL code by judge2020 on Friday April 21, 2023 @04:05PM (#35659276)
Not exactly a huge distinction there because the licenses themselves provide exemptions to copyright, so by definition you're both "circumventing" GPL and committing legal copyright infringement if you copy it and don't attribute it under the terms the code's license requires.

Of course, the entire basis for LLMs being legal is that they use work collectively to know how code/language works and how to write it in relation to the given context. In this case, the legal defense is that the tool is like a human that learned how to code by looking at CC-BY-SA and other licensed publicly-available code and assimilating it into their own fleshy human neural network.

This only becomes shaky once you add in regurgitating code verbatim, but humans do this too, so the solution there is the copilot setting that tries to detect and revert any verbatim generated code snippets.

Re:GitHub Copilot emits GPL code by anileated on Saturday April 22, 2023 @05:27AM (#35664762)
You can’t claim to have an entity with human-like understanding doing the coding if you don’t grant it basic human rights.

They wants to have it both ways: they want you to think the LLM is like a human because it’s “learning” (which in ML is the same word but completely different idea) so that you let them ignore copyright, but it’s not like a human of course because it can’t think, no sir (so you do not make them grant it human rights, because then they can’t exploit it like they do anymore).

Re:GitHub Copilot emits GPL code by visarga on Friday April 21, 2023 @05:03PM (#35660109)
> What Microsoft does is take your original work, create derivative works and sell them for profit. Unless it's under creative commons zero or public domain it shouldn't be legal...

Why should it not be legal? Doesn't that make copyright equally powerful with patents? Copyright should restrict only replication of expression not replication of ideas.

Re:GitHub Copilot emits GPL code by YoshiRulz on Friday April 21, 2023 @09:36PM (#35662469)
"Microsoft is circumventing the intent of copyright law" and "Copyright law should be changed or repealed" can both be true.
Re:GitHub Copilot emits GPL code by throwaway290 on Saturday April 22, 2023 @05:21AM (#35664737)
In this case we are talking about replication and manipulation of expression (for profit). Software doesn't understand ideas.
Re:GitHub Copilot emits GPL code by hathawsh on Friday April 21, 2023 @04:49PM (#35659891)
As an experiment, I just asked ChatGPT to "Please identify the open source projects that contain the following code" and pasted the sample from the article. Sure enough, it pointed me at the SuiteSparse library, which is correct (but not exactly where ChatGPT thinks it is). This means Codeium (and others) could theoretically use AI to identify possible attributions that should be included in a project.

Of course, if someone figures out an algorithm that does that, people could use the same algorithm to identify missing attributions and plagiarism in other projects and throw lawsuits around. (Sigh)

Re:GitHub Copilot emits GPL code by mumblemumble on Friday April 21, 2023 @06:37PM (#35661191)
You don't need AI for that, just fuzzy search.
Re:GitHub Copilot emits GPL code by jacooper on Friday April 21, 2023 @07:53PM (#35661805)
They should just attribute code, like how amazon is already doing.
Re:GitHub Copilot emits GPL code by tlavoie on Saturday April 22, 2023 @02:06AM (#35663834)
If the code is being provided as output from an LLM, I don't know that they themselves could even say where the code came from. Attribution might not be possible in that case. Similarly, how might one remove say, GPL code from the model, without regenerating from all the rest of the inputs alone?
Re:GitHub Copilot emits GPL code by elproxy on Thursday April 27, 2023 @01:23PM (#35731489)
And just the same, copyleft licenses (which are not "non-permissive" in my book) such as GPL don't "mean that you cannot without consent", they just want you to share the result back under the same license (which is often an issue for some corporate projects).