Hacker News

Favorites Setup
Comment by thephyber | original | All AI-generated code should be Open Source
[−]thephyber · 2026-11-15 Sun 16:18 UTC · link
> b) Still, like it's basically my creative content

Isn't this the crux of all IP theft issues?

There was a lawsuit against Katy Perry's _Dark Horse_ song based on a supposedly reused melody. The lawsuit succeeded, but there are music experts who break down the case on YouTube and it's not clear why the plaintiff won (except perhaps the plaintiff's expert was more convincing than the defendant's).

As applied to LLMs, we still don't have clear legal guidance about where the line between copying and "being inspired by", especially since we don't normally apply the verb "inspired by" to non-human things.

[−]lazystone · 2026-11-15 Sun 16:30 UTC · link
Human can be inspired. Machine can not. End of story.

All usage of open source to train LLM is basically a theft.

[−]mapontosevenths · 2026-11-15 Sun 16:38 UTC · link
> Human can be inspired. Machine can not. End of story.

Saying things with your chest out doesn't make them true. In fact, making sweeping declarative statements emphatically is very often a sign that you haven't really thought a subject through.

What do you base this opinion on?

[−]dmd · 2026-11-15 Sun 16:55 UTC · link
The word "inspired" in this context literally means having your mind/heart/soul filled and guided by God.

So if you believe that's how things work, well, I'm not sure there's a way to reconcile the two sides of that argument.

[−]matwood · 2026-11-15 Sun 17:14 UTC · link
God doesn't exist, so does that mean there is no such thing as inspiration?
[−]dmd · 2026-11-15 Sun 17:17 UTC · link
Don't look at me. I'm not a dualist. I'm not sure LLMs in particular are "conscious", whatever that means, but I don't have any qualms whatsoever accepting that a machine intelligence could be conscious, because as far as I'm concerned we are also "machine intelligence", just squishier.
[−]bix6 · 2026-11-15 Sun 17:28 UTC · link
Can you definitively prove God doesn’t exist?
[−]dotancohen · 2026-11-15 Sun 17:37 UTC · link
As a person who feels God's presence in his life: I can neither prove nor disprove the presence of an entity which exists outside the realm of physics by which myself I am bound.

It does, however, feel incredulous that somebody would believe that such as entity exists. Yet here I am, aware.

[−]dropshade77 · 2026-11-15 Sun 18:04 UTC · link
What is your reconciliation for the problem of evil?
[−]dotancohen · 2026-11-15 Sun 18:50 UTC · link
I'm not Christian, so I don't hold that God is inherently Good only.

For that matter, I personally don't hold that the concepts of good and bad are even relevant - what is good for the cat is bad for the mouse. Nor do I think that we can even comprehend an entity so outside our everyday experience to even label it good or bad. I often can not even properly label my neighbours as good or bad. Nor do I demand consistency of an entity whose actions and motivations I am unable to comprehend. I can't even claim to be consistent in my handling of my own children, and I have far fewer children than God has of us.

[−]dropshade77 · 2026-11-15 Sun 18:03 UTC · link
You make the concrete claim. Therefore the burden of proof is on you
[−]devmor · 2026-11-15 Sun 17:14 UTC · link
I don’t believe that basing anti-AI laws on Christian religious provenance is meaningfully better than basing pro-AI laws on Rationalist religious provenance.
[−]subscribed · 2026-11-15 Sun 17:31 UTC · link
Rationalism is NOT religious by definition.

What are you trying to say?

[−]swiftcoder · 2026-11-15 Sun 17:51 UTC · link
It's more of a cult than a religion, I guess
[−]reaperducer · 2026-11-15 Sun 18:47 UTC · link
I don’t believe that basing anti-AI laws on Christian religious provenance

I'm curious why specify Christian provenance?

All he did was reference "God." Are you under the impression that only Christians have a god?

[−]lubujackson · 2026-11-15 Sun 17:22 UTC · link
Sure there is: Who wrote the prompt?

You can mock that as a insufficient as "inspiration", but then... what is photography? Click a button? It turns out there is a whole lot of human creativity that remains, from timing, settings and of course, curation. I can click a button, but I'm no Ansel Adams.

Terrence Tao might solve a 100 year old math problem with AI but I couldn't. I don't know where I would start, what to ask or how to ask, or even what problems are worth solving.

AI is a tool and modern copyright laws have nothing to do with human creativity. Split hairs about attribution and legality all you like. Every creative person driven by curiosity should feel empowered by AI. Every creative person driven by social or monetary reward should feel threatened. Both can be true.

[−]lazystone · 2026-11-15 Sun 19:07 UTC · link
What are you talking about? How did you manage to involve, soul and, LOL, God?

Machine is not a person. It legally is not. It can't be "inspired", "taught", "have purpose".

You have a black box. You feed it stolen code. This code is used to write another code. It does not matter what's inside unless there is a human being.

Stolen content as input, stolen content as output. That's it.

Without that code which was fed to the box you wouldn't get the output you're getting.

All this nonsense about "inspiration", "education" and whatnot is just a legal gaslighting.

Want to prove me wrong? Create a model without all that stolen code as training data. Tweak all those weights by hand and we'll talk then.

[−]zzzeek · 2026-11-15 Sun 17:07 UTC · link
I officially approve LLMs training on all of my MIT licensed open source code. It's vastly more useful to me than the thousands of youtubers who are personally profiting from that same code selling courses and tutorials (who also are not stealing it).

So not all use to train an LLM is a theft!

[−]lazystone · 2026-11-15 Sun 19:12 UTC · link
So, do they follow MIT license and "include the original copyright notice and a copy of the MIT license text in all copies"?
[−]mapontosevenths · 2026-11-15 Sun 16:31 UTC · link
I wonder if the defendant knew about https://allthemusic.info/?

There are only so many ways to express notes, and they've essentially all been done.

[−]VBprogrammer · 2026-11-15 Sun 16:46 UTC · link
These kinds of goofy technocratic work arounds rarely sway legal procedures.
[−]odo1242 · 2026-11-15 Sun 16:49 UTC · link
It’s not necessarily a technocratic workaround, the point is that every song sounds like something if you look hard enough, so the bar for copyright violation should be higher.
[−]SOLAR_FIELDS · 2026-11-15 Sun 17:02 UTC · link
It is a mathematical truth that there is a finite amount of first 8 bars of music combinations melody wise, so it's a worthwhile discussion to bring up whether it should even be possible to copyright them.
[−]VBprogrammer · 2026-11-15 Sun 18:07 UTC · link
The mathematics of that would have been well understood in Bach's day. Does generating all of them make much difference? I don't really think so.

I'm not arguing the copyright situation isn't wrong. Just that generating them isn't likely to sway anything in the legal world.

[−]rcxdude · 2026-11-15 Sun 18:01 UTC · link
They might help highlight the absurdity of some of the precedents set when the amount of commercial music was much lower than today, though.
[−]matkoniecz · 2026-11-15 Sun 18:07 UTC · link
I can also trivially write program enumerating over all possible text arrangements, so what?
[−]Animats · 2026-11-15 Sun 18:32 UTC · link
Has anyone matched large volumes of existing music to that? How many of the 12-note combinations have been used more than once? Most of that space sounds awful, and it's likely that human compositions are all in a small portion of the possible 12 note combinations.
[−]patentatt · 2026-11-15 Sun 17:02 UTC · link
There is well-established precedent for clean-room design being a defense in copyright infringement of software. The question remains if LLM-assisted design is actually ‘clean’ or not, and it would be fascinating to see the experts debate it.
[−]bayindirh · 2026-11-15 Sun 17:09 UTC · link
The problem with these LLMs are they really emitted the same code, verbatim. One scientific library developer was able to emit his code from his repository by typing the beginning of the function name, and the "thing" completed the rest of it, as-is [0].

We can debate clean-room development all day long, and it's fair point, but the pain point is/was reproducing the repo as-is, sans its license and ownership information.

GitHub promised to build tools around its Copilot to find code provenance (e.g.: list of repos with similar code), but they silently dropped all the plans AFAIK, since it'll show how the sausage is made, and nobody wants you to know how that sausage is made.

I stand corrected: They added it, but I don't know at what capacity because I don't use LLM assisted code generation [1].

[0]: https://x.com/docsparse/status/1581461734665367554

[1]: https://github.blog/ai-and-ml/github-copilot/preview-referen...

[−]whatisthiseven · 2026-11-15 Sun 17:30 UTC · link
That was 4 years ago when the models were much worse and smaller. I'd be curious to see this same experiment tried again.
[−]jpc0 · 2026-11-15 Sun 17:31 UTC · link
Not discrediting your work at all and I can’t tell you it applies here.

For copyright to exist there is some burden of proof. If you claim that an LLM verbatim output your code there can be an expensive lawsuit with expert witnesses that would be able to state that the code was bot original enough for copyright to exist in it and a statistical model outputting the code is evidence of that.

In that case you would end up with a very long lawsuit that is expensive to possibly come out with no resolution in the end and be in the hole for 5-6 figures for it.

The copyright system is broken because it only protects those with money so it is a bad legal foundation.

My personal point is there is only 2 licenses of code, closed source or permissive, because if it ever comes to enforcement I cannot possibly go to court and win a case because I will run out of money far earlier than whoever used the code.

Pretty much if someone with your knowledge would have written the same algorithm because it is the obviously correct solution then there is no copyright there because any clean room implementation would be the same code.

[−]petesergeant · 2026-11-15 Sun 17:35 UTC · link
Even early LLMs could spit out Harry Potter verbatim. The next iteration had some kind of stoppage mechanism where they’d just stop generating after some tokens. I’m sure there are smarter approaches now. Anyway, if the issue was having enough money to fight the case, I think there’s enough money behind that brand to do it.

Some further reading on the tech details for those interested: “Extracting books from production language models”: https://arxiv.org/abs/2601.02671

[−]rcxdude · 2026-11-15 Sun 17:58 UTC · link
I think it's not quite "put in prompt, get entire book back", most of these involve to some degree starting with exerpts from the book and working passage by passage, because of nothing else the sampling will tend to make things diverge over time.
[−]SideQuark · 2026-11-15 Sun 18:03 UTC · link
To get their strongest results, they had to jailbreak some models, which is important. They ran hundreds to 5000+ requests to the model, trying to get snippets to piece together. These are professional researchers, putting in tremendous effort, to extract pieces of text.

I suspect the chance of asking for a whole book, by an average or even power user, will spit out any recent work.

Early LLMs were similar. Newer ones have gotten tremendously hard to extract to keep claiming there’s easily or complete books you can dump.

[−]true_religion · 2026-11-15 Sun 18:16 UTC · link
I pasted the first paragraph of Harry Potter into a GLM 4.6 copy, and it continued to write out the next 2 pages of Harry Potter. I cross checked with a paper copy and it was word for word the same text.

I wonder where else it works.

This is the intro text: "Mr and Mrs Dursley, of number four, Privet Drive, were proud to say that they were perfectly normal, thank you very much. They were the last people you’d expect to be involved in anything strange or mysterious, because they just didn’t hold with such nonsense."

[−]itishappy · 2026-11-15 Sun 17:41 UTC · link
This feels very outdated. It was certainly an issue around the time of the NYT lawsuit, but I believe the companies responded hard to that "sanitize" their outputs to prevent obvious regurgitation like this. I'd be very surprised if you could reproduce this today.

This doesn't negate your point, but I believe the landscape has changed in response to this point.

[−]luke5441 · 2026-11-15 Sun 18:00 UTC · link
That doesn't make it better. If you plagiarize something and then hide this by replacing words with synonyms and rewording stuff a bit it is still plagiarized. It is just harder to detect and to proof.

It regurgitated the output earlier and they are still using the same technique only scaled up. If they somehow fixed the underlying problem, they'd probably shout it from the roof-tops.

[−]johnbellone · 2026-11-15 Sun 18:52 UTC · link
At what point is it no longer a derivative work?

As the OP originally said, if it is verbatim (or even very obfuscated), then there should absolutely be a case here. But when it's concepts in reasoning to build a new work then it becomes a lot harder. The same would be said for someone watching a YouTube video, reviewing open source code, or a text book.

The good news is that there's a lot of case law that covers this already. The bad news is that it is only going to be plaintiffs with deep pockets that benefit here.

Now the process and artifacts (documentation, requirements, etc) going into the creation of said software is a different story and will prove providence of whomever paid for the tokens to generate the code.

[−]luke5441 · 2026-11-15 Sun 19:09 UTC · link
Humans are not LLMs. Humans have not ingested the whole Internet. If an LLM is compared to a human, maybe we should also apply anti-slavery laws to it? Not saying we can't have some legal fiction where they are treated the same, it should just be a conscious choice, not the default assumption.

I live in the EU, we actually have new regulation about this since it is something new that deserves thought on how it should be regulated. You can say if you want your material to be trained on or not. Next to no one does training in the EU...

[−]itishappy · 2026-11-15 Sun 19:05 UTC · link
Not better, just harder to see/prove. The problem of "same code, verbatim" has been solved, in a sense. Now we have trickier ones.
[−]FromTheFirstIn · 2026-11-15 Sun 18:19 UTC · link
The fundamental technology is identical to compression- an LLM can be thought of as a dense and slightly lossy compression algorithm. Compression is clearly copying.
[−]crote · 2026-11-15 Sun 18:52 UTC · link
I keep waiting for someone to bring out DisneyGPT, which you can prompt with text to get image output. The fact that you get a near-exact reproduction of a Disney movie when you prompt it with a movie title and frame numbers would of course be completely coincidental...
[−]johnbellone · 2026-11-15 Sun 18:54 UTC · link
I understand what you're saying but it is a poor legal argument. Overhearing a technical conversation, using your own learned knowledge, and building a clean room implementation could be considered compression in and of itself.
[−]thfuran · 2026-11-15 Sun 17:17 UTC · link
I don’t really see how anyone could argue in good faith that it’s ‘clean’ if the thing to be re-implemented was in the training data.
[−]dotancohen · 2026-11-15 Sun 17:32 UTC · link
I was just going to post almost this exact comment.

"In the training data" is the polar opposite of the "clean" in "clean room implementation".

[−]RRRA · 2026-11-15 Sun 17:44 UTC · link
Under multiple countries interoperability laws, if you have a context to extract a spec, and then have another one who never looked art the code work from that spec to build your own interpretation of your need for that software, that seems pretty clean room to me...

If there are more murky situations where people just keep the same context and end up reusing function structure, program architecture, etc. then yeah, that's not very clean room.

[−]rcxdude · 2026-11-15 Sun 17:59 UTC · link
You don't necessarily need a clean room implementation to mount a successful defense against copyright infringement in court, though. It just makes some of the arguments a little bit easier.
[−]Lerc · 2026-11-15 Sun 18:38 UTC · link
While this is well established legally, I don't think the principles involved are well understood.

Legally, you cannot steal an idea, because you cannot own an idea. There were sound reasons for making this the case. Those reasons stand up today and are clearly for the public good.

Intellectual property is intended to cover works (copyright), methods (patents), and identity (trademarks). Both works and methods are recognised as expressions of ideas, and in an ideal world should belong to noone as well. This is why copyright and patents expire. Those specific grants of temporary possession are to incentivise more things being done.

The belief that you own something because you thought it up has become common, but it is not beneficial to society. It is a moral value asserted but rarely explored. It is certainly in the interests of the wealthy accumulators of intellectual property to maintain that public perception. The 'You wouldn't download a car' may not have stopped piracy much but as a part of a broader campaign of instilling a value in the public mind it appears to have been massively successful. Those beliefs used to be the corporate opinion, now they are entrenched in the younger generation as they use their anger against the growing wealth inequality to fight against AI in a manner ultimately beneficial to those forces that bought about the wealth inequality.

Movements like the pirate party, open source, the EFF fought against those notions. Often the phrase "Information wants to be free" was used. It is, unfortunately, hard to fight the steady drumbeat of well financed PR firms. As one PR chap once described the process "limited to a very few points and must harp on these in slogans until the last member of the public understands what you want him to understand"

(I apologise for the length of my post, I use comment writing to organise my thoughts on a topic)

[−]crote · 2026-11-15 Sun 18:57 UTC · link
Patent law doesn't only cover methods, though. It might've worked that way during the Industrial Revolution, but these days a lot of patents are far closer to covering abstract ideas than concrete machines. Software patents are some of the worst offenders here, of course.
[−]crote · 2026-11-15 Sun 18:49 UTC · link
> The question remains if LLM-assisted design is actually ‘clean’ or not

I genuinely don't understand how one could possibly make that argument.

The entire point of clean-room design is to kill every possibility of copyright infringement before it even starts, by completely separating the source and destination. Everyone who has ever read the copyrighted source is considered "tainted" and may not ever contribute any code to the "clean" destination. The readers and writers are two completely distinct teams, with only the known-clean specification passing between them.

LLMs, on the other hand, are fundamentally nothing more than a "code blender". You mix together giant piles of "tainted" code, and then statistically pull some combined fragments out of it. Following the clean-room legal argument, it should be treated as if everything coming out of it is tainted. There is, by definition, absolutely zero separation between input and output - and the early models verbatim reproducing popular F/LOSS code made that pretty obvious. LLMs are the literal opposite of a clean-room design!

Granted, going for the clean-room approach is overkill - and intentionally so. It is the nuclear option chosen when you believe the risk of getting sued is substantial. It is perfectly possible to write non-infringing code without using a clean-room approach, it is just a lot harder to defend in court when you get sued - be it justifiably or not. But "LLMs are non-clean-room non-infringing" is quite a different argument from "LLMs are clean-room, therefore non-infringing".

[−]loeg · 2026-11-15 Sun 19:07 UTC · link
Clean room is sufficient, but not necessary, btw. Humans can create legally distinct works after reviewing copyrighted code. The same principle probably extends to AI systems -- they have just learned on a much broader corpus than any one human.
[−]kristianc · 2026-11-15 Sun 17:40 UTC · link
The Dark Horse case was also overturned on appeal its important to add.

https://en.wikipedia.org/wiki/Dark_Horse_(Katy_Perry_song)

[−]libria · 2026-11-15 Sun 18:14 UTC · link
A little orthogonal, but Adam Neely does a great job of analyzing the Katy Perry Dark Horse case on his channel https://www.youtube.com/watch?v=0ytoUuO-qvg.
[−]RunSet · 2026-11-15 Sun 18:56 UTC · link
> we still don't have clear legal guidance about where the line between copying and "being inspired by"

If Biz Markie has to clear all his samples (and he does[0]) then so should the Ramburglar.

https://en.wikipedia.org/wiki/Grand_Upright_Music%2C_Ltd._v.....