Login
You're viewing the functional.cafe public feed.
  • Nov 8, 2026, 7:51 AM

    Look, we all already know that any code that an LLM generates is plagiarized, basically by definition. And if that plagiarized code was copied from a source with anything other than a CC0 or Public Domain license, your copy has a distinctly nonzero chance of violating some sort of license requirement; perhaps some copyright, attribution, or re-licensing clause.

    I think it’s only a short matter of time until someone develops a code-scanning tool to look for potential license violations in popular FOSS projects found in commits created by LLMs. They would then use those commits to shake down projects for money, demand licensing fees, or demand IP ownership of certain features, based on those commits.

    If you’re a closed-source software behemoth, maybe you’ll never deal with this, because nobody can directly inspect your code for violations. And besides, it’d take too much money to sue you. But if you’re a FOSS project with any grant or foundation money behind you? You’d look like a pretty juicy target.

    #ai

    💬 16🔄 40⭐ 19

Replies

  • Nov 8, 2026, 8:01 AM

    I’ve never felt comfortable using LLMs to generate code for anything that gets released to the public. Not just for provenance and licensing reasons (although those alone should give you pause), but also for copyrightability reasons. AI art is already deemed un-copyrightable in the US (theverge.com/policy/887678/sup)—not that that stops even large companies from generating AI slop, which boggles my mind—so it seems to me that we are a small step away from finding out that no code generated by LLMs can be copyrighted at all.

    The way I (not a lawyer) see it, using LLMs in my (at least published) software projects puts me in a risky legal situation. I simply don’t do it.

    #ai

    💬 5🔄 3⭐ 6
  • Nov 8, 2026, 8:10 AM

    And before you dismiss my scenario as made-up nonsense, remember that Patent Trolls exist. All these companies do is find/buy/license patents, and look for products that violate those patents. They do this by painstakingly reading patents and finding ways that seemingly random products could be violating those patents.

    Well, guess what we just spent two trillion dollars on that can read a huge bunch of source materials to find potential matches? That’s right: Spicy Autocomplete. Even with low hit rates, these stochastic pattern-matchers will yield enough potential matches to make a shake-down business possible. It doesn’t matter if you actually copied the code; it only has to be *plausible* that you *might* have copied the code—and using LLMs means it is definitely plausible, because the original source is likely somewhere in the training set of whatever model you used.

    I think it’s not going to take much longer until this happens.

    #ai

    💬 2🔄 2⭐ 4
  • 💬 1🔄 0⭐ 2
  • Nov 8, 2026, 8:02 AM

    @photex I don’t know if there is A Plan for anything. I think the money behind AI is just as stupid and ham-fisted as anyone. They’re just looking looking for a way to keep the house of cards standing while building it taller and taller.

    💬 1🔄 0⭐ 3
  • Nov 8, 2026, 8:47 AM

    @drahardja @photex The added bonus is that these scanners won't be 100% correct. So there are a far from non-zero chance your project that has never touched LLM's to create anything still get hit by litigation and has to close down. Great isn't it?

    💬 1🔄 0⭐ 1
  • Nov 8, 2026, 8:56 AM

    @eq @photex Sure. But it sure is a lot easier to argue that you wrote that commit by yourself and put the burden of proof on the troll to show that you plagiarized, than if you used the Plagiarism Robot to extrude your code.

    💬 0🔄 0⭐ 0
  • Nov 8, 2026, 12:23 PM

    @drahardja And lest anyone think a behemoth can shake off these legal challenges no problem, Commodore was sued by a patent troll claiming to have invented the mouse cursor, and Commodore lost. Banned from selling their machines in the US, they were bankrupt within a year.

    All of this has happened before, all of this can happen again.

    💬 3🔄 1⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 16, 2026, 8:18 AM

    @drahardja @juandesant Thanks, that makes a lot more sense than someone patenting the mouse cursor. There's at least _some_ manner of invention behind the inverted blinking cursor, and I do recall the '64 using this method to display its cursor in BASIC.

    💬 0🔄 0⭐ 0
  • Nov 20, 2026, 8:29 PM

    Over the last decade or two, case law has cracked down a lot on overbroad software patents, so it's not nearly as bad as it used to be. But patent trolls do still exist and tie people up in litigation until they pay up or spend a lot in legal fees.
    @Two9A @drahardja

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 20, 2026, 9:55 PM

    @drahardja I've thought for a while that it should be possible (if quite expensive) to train an LLM in such a way that the contribution provided to its weights by each training input might be recorded, allowing one to determine during inference which document of the training material most heavily influenced each emitted token

    I don't have the know-how, time, or energy to do this but I wish somebody would, if only for a 'toy' LLM: it might encourage a shift in how we think about their outputs.

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:03 PM

    @jsbarretto I don’t think that’s practical. The weights in the models encode in a sense a “smeared” approximation of every training input the model has ever received. To record their influences would mean a table that lists every possible input and its influence at every node. The size of that table would be astronomical (billions of entries each for billions of nodes). If each entry takes one byte and there are a billion training inputs for a billion parameters, we’re talking 10^18 bytes, probably more storage than has ever been created in history.

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:05 PM

    @drahardja Oh, for sure. You'd be adding an entire extra dimension of bookkeeping in the general case. But I think it should be possible to draw up a very simple approximation that, say, quantises the contribution of each piece of training material and then comes up with a result for each token based on a weighted sum of that quantised value across the weights for each inference step

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:08 PM

    @drahardja Like, the only thing you need to record is, for each weight (or even just a tiny subset of the weights!) a fairly small vector of numbers that records the contribution to that weight of a particular 'training data bin' and then you have different combinatorial bins for each weight in the model, allowing you to uniquely differentiate them across many weights in a fairly reliable manner

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:26 PM

    @jsbarretto No I think you’re doing a fine job! The problem is the sheer scale of it. We are talking about tens of billions of weights, each recording billions of sources, even if binned.

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:27 PM

    @drahardja Yeah, but you don't need to do it for all of them. Even just a few tens of thousands of weights randomly chosen before training would be enough to give you a pretty reliable answer as to which resource contributed the most in each feed-forward step

    💬 0🔄 0⭐ 0
  • Nov 15, 2026, 9:30 PM

    @drahardja I read a piece recently about an “artist” who recorded themselves refining a series of prompts on the way to producing a final image. This series was deemed enough human judgment to merit copyright. I can’t remember where I saw this.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 20, 2026, 8:15 PM

    @beckermatic It’s a wild scenario, but I can see a large corporation that feels threatened by a successful open-source project dumping a bunch of money into lawyers to claim control of the project by claiming infringement via LLM.

    But again, I am not a lawyer, so maybe that’s pure fantasy.

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 9:07 PM

    @drahardja @beckermatic I mean, except for the LLM part, that was the SCO vs IBM lawsuit, that could have completely derailed Linux adoption back in the early 2000s. Now imagine that lawsuit today with an LLM's output as evidence in favor of SCO and against Linux.

    💬 1🔄 1⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 20, 2026, 9:28 PM

    @drahardja @traecer @beckermatic
    The thing that I don't get: Why does Linus (and to a lesser extent Theo and the FreeBSD guys) accept this risk?
    There is a nonzero chance that SCO or otherwise unlicensed code becomes part of the kernel. And with each slop commit, this chance increases.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 20, 2026, 8:21 PM

    @drahardja I like to use diffusion models to generate images exactly because the results don't belong to anybody. I think intellectual property is wrong and shouldn't exist. Everything that's out in public should be in the public domain. Copyright, patents, trademarks and all that nonsense just give corporations a lever to sue people for all kinds of bullshit.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 20, 2026, 9:40 PM

    @drahardja As far as I'm concerned, when somebody publishes something, it's out of their control. As soon as any kind of text, image, video, audio, etc., is out in public, there is no way to keep people from doing anything they want with it. I don't believe in "intellectual property". The problem is that a bunch of huge corporations want to monopolise the models, and I think all the models should be free for anybody to use, modify, remix. The sooner the bubble pops, the better. I like AI as a R&D field, but I hate AI as a business, and I also hate capitalism in general, the very idea of private property makes me sick. All the world's wealth should belong to all the people, we just need to seize it all and give everybody access to all they need. If every person on this planet had one eight billionth of everything, that would be nice. Who needs money and markets when we could just build a system that monitors all the resources and all the production and give everyone an equal share of everything?

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 2⭐ 1
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 8, 2026, 9:07 AM

    @drahardja rather, i think the opposite is going to happen. Making money from software will cease to exist and everybodoy will just give up trying to enforce software patents.

    💬 1🔄 0⭐ 1
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 16, 2026, 7:47 AM

    @drahardja just had a related thought.

    I’d wager that all the AI models have ingested every public document that they can obtain about every patent that has public documentation.

    Meaning their output likely include elements from all this patents making it likely that not only does their core likely contain copyrighted elements but the business processes and tech it represents likely infringe many patents (even physical objects possibly if ai slop is used with 3d printers etc)

    💬 1🔄 1⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 20, 2026, 7:34 PM

    @drahardja I also believe this scenario will also come to pass, but I have a question I am unhappy to ask: Will refusal to use LLMs actually protect you from this? It might help if you ever get to court, but the whole point of IP trolls is they do their damage before you get to court.

    💬 4🔄 0⭐ 0
  • Nov 20, 2026, 7:36 PM

    @drahardja (TBC I do think this is valid as an argument against LLMs, because LLMs are a little worse off in your hypothetical and a lot worse off in some worse hypotheticals)

    💬 0🔄 0⭐ 0
  • Nov 20, 2026, 7:44 PM

    Nothing we mere mortals do can prevent someone bringing a law suit of course, @mcc.

    But I have to hope there is a significant difference between, on the one hand, operating a project with no clear declaration against #GenAI, versus having an explicit, clearly-previously-established, unambiguous policy document that *declares* one's commitment to never accept #LLM-extruded contributions.

    I have to hope that a project, having done the latter, is less appealing to a copyright troll.

    @drahardja

    💬 0🔄 1⭐ 2
  • Nov 20, 2026, 7:45 PM

    @mcc I think clearly refusing LLMs in your project’s code of conduct/contributor policy probably helps to get rid of a whole class of arguments that could be made in court against you, but hey, I’m not a lawyer so what do I know.

    There are so many other reasons to reject LLMs, this is just one of them.

    💬 0🔄 0⭐ 1
  • Nov 20, 2026, 8:00 PM

    @mcc @drahardja Intent in infringement matters, even in the worst outcome.

    This is still of course a good argument for pseudonymous-only coding.

    Those that were aware of the risk and willingly continued actively using the slop engines? They are considerably more fucked. Especially if they also made money off it.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 20, 2026, 7:51 PM

    @drahardja plagiarism as an academic endeavor has always been a bit of a bitter fight over low stakes.

    At high stakes, plagiarism of that kind is cheered on by our very economic system. They just rebrand it as “market efficiency”.

    The real twist is that it only heavy capital investments could enter that arena, and now 20 dollars and a motivated teen gets you a foot in the door.

    💬 1🔄 0⭐ 1
  • Nov 20, 2026, 7:56 PM

    @Migueldeicaza That may be true, but I’d hardly use the behavior of the Behemoths of Capitalism as a moral or even legal guide for what I do in life. Now that the tech is available to plebs like me, will the protections follow? I don’t think so.

    Copyright, for example, has in theory been accessible to everyone, but it has mainly benefited the Disneys of the world. Just because I have access to it doesn’t mean it now protects me.

    💬 1🔄 0⭐ 3
  • Nov 20, 2026, 8:00 PM

    @Migueldeicaza I think the example of academia is interesting: there’s something humanly grating about plagiarism, isn’t there? Like there’s a sense of stolen valor or dishonor. The stakes don’t even matter; it’s the disrespect and devaluation of human labor that’s more corrosive.

    That’s another argument against this tech. But I guess that’s a different post and thread.

    💬 0🔄 1⭐ 1
  • Nov 20, 2026, 7:51 PM

    @Migueldeicaza Yes, I agree with you: the premise here is not correct (any more). It is of course possible that some plagiarized code enters accidentally to the code that LLM has created, but it is simply not true that LLMs would primarily work by plagiarizing. They may use the patterns they have learned from the code, which has been used in their training, but using common structures is not plagiarizing.

    💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 20, 2026, 8:13 PM

    @etchedpixels @lari That is a fascinating subject, because all intellectual property laws are really agreed-upon rules to advance a particular outcome - which on the surface looks broadly good - until you dig into the details and they are tools that best serve the owning class.

    It is difficult to pass broad laws nowadays, but we could pass "ban all AI", as well as "ban Copyrights and IP, they get in the way of progress" (substitute progress for "my stocks")

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 8:28 PM

    @Migueldeicaza Copyrights and IP are quite recent inventions in the evolution of human culture. It could well be argued that LLMs may be making them de facto meaningless. A good compromise would be to require all LLMs also to be public domain, as they have been trained practically with the whole corpus of human culture.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 20, 2026, 8:21 PM

    @etchedpixels Music is all about allusions, citations, reinterpretations, etc. Someone can compose a cantata in the style of Bach, or music of which everyone agrees that is refers to the sounds and styles of Beatles, and there's nothing violating their intellectual properties or copyrights as that is the way creative works are done.

    💬 1🔄 0⭐ 0
  • Nov 21, 2026, 12:05 AM

    @lari and if you take a four note sample from a song and reuse it then the US precedent says you need to pay up.

    It's not as simple as some software people would like to pretend

    💬 0🔄 0⭐ 0
  • Nov 20, 2026, 7:41 PM

    @drahardja
    More likely code will end up like clothing. Considered too utilitarian to copyright, and all people really pay for is materials and labour and brand names. Nobody owns the concept of tshirt.

    💬 0🔄 0⭐ 0
  • Nov 20, 2026, 7:49 PM

    @Br3nda I don’t think so. That’s like saying books will become utilitarian because LLMs can extrude them.

    💬 0🔄 0⭐ 0