Hacker News new | ask | show | jobs
by tqi 12 days ago
What is the state of software patents these days? People are barely looking at the code their agents generate, what happens when if/when infringing stuff is shipped? Do we implicitly take on liability for this when we "review" and "approve" pull requests?
1 comments

This is usually among the list of reasons FOSS projects / people reject the use of LLM generated code entirely, see for example Codeberg. The answer is, it's almost certainly shipping infringing code, since there's pretty damning examples of this happening. [0]

Whether this matters is to be decided. Given that AI technologies are the backbone of the American economy right now, and given that the people running these companies are all very rich and have lots of rich friends, as well as friends in the government, and given that the world of FOSS is generally not full of very rich or very well connected people, I suspect it won't matter in the end. Some kind of carve-out will be created for LLM generated code, if necessary. Or they can just depend on the fact that nobody can afford to sue over it.

[0] https://pmc.ncbi.nlm.nih.gov/articles/PMC12377501

Putting aside copyright, since that wasn't what the question was about, while agents can tend to end up verbatim reproducing someone else's code in some cases, they do not make the patent problem worse.

It's already basically impossible to tell if you are infringing on a software patent without someone or thing actively attempting to describe what your code is doing in vague ways and looking for applicable patents.

Software patents are often incredibly vague, and mostly describe completely unexciting solutions applied to somewhat specific problems. Whether you end up dealing with patent problems depends mostly on whether some patent troll happens to take interest in you in particular and whether they can understand your code/project enough to match it up to some vague patent they happen to hold.

I don't think software patents are to be completely abolished per se, but their period of action should be much shorter, and they should require some relatively high bar of scrutiny. Of course, that would never happen because it would cost too much, take too long and people would stop bothering to file such patents. Which is why it's probably easier to just abolish the concept of patenting anything that describes a software solution to a problem.

This is such a obscure take for foss projects which historically have been stolen from without any reprecution or even pushback. Every time I see a foss project do this I immediately abandon it because I'm not interested in dying on some hill of "ethical" superiority, I'd rather stick to what foss is about - freedom not legal chess.
Are you mixing up copyright infringement with patent infringement? Your link doesn't mention patients in the abstract.

Patent infringement is something humans can do entirely by accident without ever having seen the original code. That's kind of their point. It's copyright infringement that LLMs enable doing by accident.