Remix.run Logo
▲ mattr03 3 hours ago

Genuine question: how can you claim your code is a clean-room re-implementation when you're using LLMs?

▲papua_is_being_ 3 hours ago | parent | next [-]

I'm assuming the authors never ever saw the source. Are you suggesting the LLM model was trained on leaked nvdriver code, proprietary snippets? Maybe it is not strictly 'clean-room' since who knows what the LLM may have seen but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?

▲DannyBee 3 hours ago | parent | next [-]

Lawyer here - they don't have to prove conclusive unambiguous anything. The standard is access and substantial similarity.

Most time would be spent arguing about access and whether the LLM effectively had access.

Civil law standard in general is preponderance of the evidence - Ie evidence tips slightly in your favor. Unambiguous proof type standards are very rare

▲ttul 2 hours ago | parent | next [-]

There is also the legal reality that a multi-trillion-dollar corporation can sue you for longer than you can remain alive, never mind solvent.

▲briansm 39 minutes ago | parent [-]

(bear in mind its stock market value is shakier than an earthquake just now, it tanked and recovered almost 50% recently and is on the hook for trillions in dodgy data-center build-outs just now)

▲swiftcoder 24 minutes ago | parent [-]

> bear in mind its stock market value is shakier than an earthquake just now

It only costs a few million in legal fees to keep you in court till the bank repossesses your house. A rounding error, even to an embattled corporation of this size

▲LastTrain 2 hours ago | parent | prev | next [-]

Maybe you should mention this is unsettled law and what that means with respect to whatever guidance you would give?

▲DannyBee 2 hours ago | parent [-]

The standard for infringement is not unsettled law. It's very well settled law. I was pretty clear most of the argument would be over access, and I believe that is correct.

Most of the time substantial similarity is a blocker to even getting started - despite lots of word-blood being spilled, llms generally do not output like 50 pages of your favorite book. Once you get over that hump and find substantial similarlity somewhere (IE it outputs 10 pages of code someone else wrote), most of the actual argument is over access.

▲jpambrun 3 hours ago | parent | prev | next [-]

Peasant here - For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.

Secondly, with reverse engineering being trivially accessible the, genie is out of the bottle and no amount of court order or DMCA takedown will bring it back it.

▲DannyBee an hour ago | parent | next [-]

You seem very confused. I didnt argue anything was or wasnt infringement. I argued nobody will have to prove conclusive unambiguous anything. This is not an argument. This is very well settled law that has so far been applied in the age of AI

you seem to believe this would make everything infringe on something. I dont. As I said most of the argument would be around whether or not LLMs have access to protected works or not, just because they were nearby when they were trained or used as feedback or whatever. whether that argument succeeds remains to be seen. I do not believe it will change the standard for infringement overall.

As for the second for what it’s worth, you’re talking to someone who uses thousands of dollars worth of tokens for coding per week, including reverse engineering. i’ve also run many high-level reverse engineering projects for companies.

just because it’s easy to do something doesn’t mean we don’t make it illegal or expensive to do it. we do that all the time. probably the majority of civil laws fall into the case of making easy things illegal or expensive. it is wildly naive to believe that just because something became easy means that the law will do to do nothing about it.

people porting video games to Windows using reverse engineering is very different than starting and running a viable business around it that won't cause you to be on the run legally forever

while it’s accurate to say the law will roughly not achieve anything against the former, and doesn't really try for the most part (except to establish a basic social barrier to entry), it tends to be very good against the latter.

Finally, it's useful to keep in mind so far every major AI company has lost or settled every single case where someone could prove substantial similarity to a protectable work. Losing every case and paying billions is fairly hard to square with your view that we have reached the Assassin's Creed stage of "nothing is true everything is permitted". Maybe you don't like the amounts won or settled for, thinking them too small or whatever, but that is not quite the same.

▲jpambrun 25 minutes ago | parent [-]

I don't feel very confused.. I guess you limit LLM access to runtime while I am considering training time. It's very likely private IP were used to train models by accident. Accepting this argument is the risk I was mentioning.

Obviously if antropic and openai are liable for end user actions, or unfortunate IP inclusion on training data, they won't be able to compete with Chinese and open weight models. I can't imagine the current administration letting this happen.

▲crote 2 hours ago | parent | prev | next [-]

You are missing the point of clean-room reimplementation.

A clean-room reimplementation is never required. You can definitely get away with far less strict separation - but there is no strictly defined line line of what is okay and what isn't, which opens you up to billion-dollar lawsuits.

A clean-room reimplementation is the nuclear approach. You are ruling out every possibility of a lawsuit because copyright violation is by definition impossible. It is a huge pain for everyone involved, but it is worth it when you can 100% rule out a decade-long lawsuit with a company like Oracle.

In reality "your honor, the genie is out of the bottle" is not exactly a watertight legal argument, and until someone gets sued to oblivion we won't know for sure which side of the LLM argument will win. The fact that this doubt exists at all makes any "LLM-written cleanroom implementation" claim worse than useless.

▲0xpgm 2 hours ago | parent | prev | next [-]

There are some projects that reject LLM-generated code because of the legal gray area surrounding it.

▲snarfy 2 hours ago | parent [-]

All of the hyperscalers are rewriting their stacks with LLM-generated code. If there is a gray area they are all deep in it.

▲marmarama 2 hours ago | parent | prev [-]

> For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.

Does it? None of this has really been tested in court yet. There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.

Wishful thinking and scale does not guarantee the courts.

▲crote 2 hours ago | parent [-]

My bet is on large companies treating it like mutually-assured destruction: when everyone is both doing the stealing and being stolen from, then nobody can call foul without also self-implicating. To have a real test in court we'd need a Microsoft v. Google, which is never going to happen.

Of course, that's not going to stop Big Tech from using it to crush smaller parties...

▲lelanthran an hour ago | parent [-]

> Of course, that's not going to stop Big Tech from using it to crush smaller parties...

They may not; it only takes a single loss to set precedence, which none of the big tech companies want right now.

Not sure how they are going to handle this going forward; all their software is now effectively clonable for almost nothing. They are going to need to rely on network effects, if that, and that's fickle as hell.

At this point there is no need for a Microsoft Windows license[1].

-------------------------

[1] Last night I wanted to play Project Diablo on Wine. It didn't start up (no crash, just a refusal to load a DLL). Claude helpfully investigated, resulting in it making a change to the Wine version I had installed (from Ubuntu), compiling an entire new system dll, and then copying it over the Ubuntu provided one. It did this because it found, just from the binary, a NULL-pointer exception in a DLL.

All I did was prompt "Project Diablo is installed in $FOO; make it work".

▲zaptheimpaler 2 hours ago | parent | prev [-]

My dumb civilian logic is these companies stole the entire worlds knowledge including pirating huge datasets and taking copyrighted code and it somehow counts as “fair use”. So they don’t have any right to accuse anyone else of stealing, they are the ultimate thieves.

▲swiftcoder 21 minutes ago | parent | next [-]

> So they don’t have any right to accuse anyone else of stealing

They may not have the moral right, but they definitely have the legal right

▲lioeters 2 hours ago | parent | prev | next [-]

For context: https://en.wikipedia.org/wiki/Robber_baron_(industrialist)

▲crote 2 hours ago | parent | prev [-]

Don't worry, they'll still keep suing individuals and startups.

▲Yoric 3 hours ago | parent | prev | next [-]

I feel that it's very likely that the LLM model was trained at least on existing open-source drivers, no? If so, wouldn't this already mean that it's not 'clean-room' (although not in the sense you're using)?

▲piker 3 hours ago | parent | prev | next [-]

Subpoena the model providers in discovery to see if the Nvidia source was in the lake.

▲teekert 3 hours ago | parent [-]

Even if it was... Nvidia took Anna's Archive to train their models, so ethically they gave up their rights when taking this action? This knife cuts on both sides (not sure if this Dutch saying is also an English saying ;))

▲jnovek 3 hours ago | parent | next [-]

It is an English saying! The English variation is “the knife cuts both ways”.

I don’t know why but I’m always tickled when the same idiom exists in other languages.

▲lelanthran an hour ago | parent | next [-]

> It is an English saying! The English variation is “the knife cuts both ways”.

That's funny; I remember it as "That sword cuts both ways".[1]

------------------------------

[1] Many knives typically cut only one way - the blade has only one sharp edge.

▲larsonian 3 hours ago | parent | prev | next [-]

The Russian equivalent is "this is a two-ended stick", which I've always found a bit funny, because doesn't every stick have two ends?

▲embedding-shape 3 hours ago | parent | next [-]

This becomes funnier and funnier; "every stick has two ends" is an English proverb :) Never heard that Russian variant though, maybe it's half loaned half translated?

▲ahartmetz 2 hours ago | parent [-]

In German, there's a saying "Everything has an end but the sausage has two". (It just means "Everything will eventually come to an end".)

▲tomxor 3 hours ago | parent | prev [-]

> doesn't every stick have two ends?

Yes but you don't want to get the wrong end of the stick.. the sponge end to be specific.

▲Yoric 3 hours ago | parent | prev [-]

In French, "it's a double-edged knife".

▲ an hour ago | parent [-]
[deleted]
▲myrmidon 3 hours ago | parent | prev | next [-]

There's also "live by the sword, die by the sword" in english if you want it to be more biblical.

▲rubyfan 3 hours ago | parent | prev | next [-]

Ethics notwithstanding, I think courts have called training on copyrighted works fair use.

▲breakwaterlabs 2 hours ago | parent [-]

I think they found the opposite, didnt Anthropic just get handed a monstrous judgement for using copyrighted works?

▲ketzu 2 hours ago | parent [-]

My understanding was: training on copyrighted material is fair use. Acquiring the copyrighted material via Anna's archive etc is still not allowed.

(I think downloading was already infringement before, reading is allowed with all the usual consequences like possibly learning something new)

▲skrap 3 hours ago | parent | prev [-]

Another English version of the same would be to say "It's a double-edged sword". Language is neat.

▲larodi an hour ago | parent | prev | next [-]

all of this is clean room for as long as nobody proves LLMs were not trained on everything they could reverse-engineer in advance. because it actually seems a very good idea, and particularly if we are taking measures to first shuffle it a little, and clean the traces of it in post-training.

until then, though, most software will already have been reversed and rewritten. ordinary joe and jane's wouldn't mind that much, trust me on this, if they even understand what all the hassle is about.

▲zelphirkalt 3 hours ago | parent | prev | next [-]

If an LLM wrote code, it is also one of the authors. Did it see parts of Nvidia's driver code? Does the statement that authors didn't see the source still hold then?

It is pretty much is guaranteed to be the case, that one of the authors is an LLM, when the repo presents itself as a working driver for Nvidia graphics cards, yet has laughable 40 commits. Any hobby static blog implementation will have more commits than that, and we are talking about one of the, if not the most complex driver out there. This smells severely vibe-coded from the get go. Which in turn means the LLM is basically the main author/contributor.

▲onionisafruit 3 hours ago | parent | next [-]

I’m not saying it wasn’t vibe coded, but a low commit count for a newly published project can also be a sign of squashing all the ugly trial and error commits shortly before publication.

▲singpolyma3 3 hours ago | parent | next [-]

Indeed. I often have quite complex projects pre-LLM with one commit I made after I got everything to work.

▲cozzyd an hour ago | parent | prev [-]

Or not bothering committing until a full "first draft" is done

▲singpolyma3 3 hours ago | parent | prev | next [-]

> If an LLM wrote code, it is also one of the authors

Legally, many jurisdictions have already rejected this premise.

Which seems correct to me. An LLM has no agency, it cannot be an author.

▲lioeters 2 hours ago | parent [-]

No author, no copyright.

However, in this particular case of a "clean room" driver - the human controlling the LLM is then responsible for any potential and relevant copyright violations in the training data. Or perhaps language models are the perfect copyright-laundering process, it consumes any and all data and generates copyright-free public domain code, text, images, sounds.

▲kikoreis 3 hours ago | parent | prev | next [-]

LLMs don't author code (in the same way compilers aren't copyright holders of the binaries they generate).

▲simianparrot 3 hours ago | parent | prev [-]

LLM's have no agency without human input. It's an algorithm, not a legal entity. It would be like listing Word as co-author of your research paper, it helped you fix grammatical errors so why not, right?

▲gspr 3 hours ago | parent | prev [-]

> Maybe it is not strictly 'clean-room' since who knows what the LLM may have seen

So it's a "room" implementation, then. The adjective clean is meant to convey something, not "oh well, who knows anyway". So it's an implementation in a room that may or may not be clean.

> but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?

"Well, it's maybe murder, but they'll never find the body".

▲ape4 3 hours ago | parent | next [-]

[dead]

▲papua_is_being_ 3 hours ago | parent | prev [-]

> "Well, it's maybe murder, but they'll never find the body".

Nvidia's own proprietary driver links to the GPL 2.0 kernel. So Jensen's team buried the first murder in a binary blob.

▲spystath 3 hours ago | parent | prev | next [-]

If an LLM touches your code is impossible to know if it's cleanroom or not, so better default to "no". In practice I don't think it matters.

▲imtringued 3 hours ago | parent | prev | next [-]

Presumably because the LLM didn't have access to the binaries in the development process but if that was the case, it would be more interesting if they published their CUDA driver conformance suite.

Or at least let you run your own driver against it.

▲embedding-shape 3 hours ago | parent | prev | next [-]

First, I think they meant "Clean-room design", not "Clean-room engineering", the latter I don't see why you couldn't do with LLMs, while obviously the first is really hard (impossible?). The repository itself just says "clean-room ... Rust Linux kernel driver for NVIDIA GPUs" and doesn't actually clarify which one of those it's referring to, I'm guessing the first? But yeah, as you say, wouldn't make sense given the tooling involved.

▲Pannoniae 3 hours ago | parent | prev | next [-]

IMO a better question is, "does it need to be clean-room?" (I think the answer is no)

So you're right, it's probably not clean-room. I think the author (or his LLM) just added those words to sound fancy.

EDIT: I was dead wrong and I will take the L.

Check this. https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md Yes it mentions REA, it's just decompiling the drivers, this is 0% clean-room

▲mungoman2 3 hours ago | parent | prev | next [-]

This is technically grey but politically it is very clear that washing via LLM is acceptable.

▲gspr 3 hours ago | parent [-]

> This is technically grey but politically it is very clear that washing via LLM is acceptable.

This isn't about the technical, legal, ethical or political aspects of LLM-washing. It's about f'ing words! Clean room means something! OP chose to add those two words even though they don't fit at all.

▲alkonaut an hour ago | parent | next [-]

If you knowingly point your LLM at material that would preclude clean room (e.g. ask it to disassemble proprietary code, or use "leaked" docs etc) then it's certainly not clean room.

But if I say ask an LLM to produce an application that mimics that of another app, only by observing its behavior from the outside as a black box, then I'd argue it's very much clean room. Even if I have no idea of what the LLM itself was trained on (It could have been trained on the source of the proprietary app, through a leak!).

▲Joker_vD 3 hours ago | parent | prev | next [-]

Wait, do LLMs have the source code of NVIDIA drivers in their learning data set? If not, how is "clean room" inapplicable here?

▲xiphias2 3 hours ago | parent [-]

It's enough for them to have the NVIDIA binaries in the data set at this point

▲Marha01 3 hours ago | parent [-]

I doubt that LLMs are trained on binary data.

▲shawnz 2 hours ago | parent | next [-]

See https://news.ycombinator.com/item?id=50546587 and associated discussion

▲InsidiousWombat 2 hours ago | parent | prev [-]

doesn't matter. Reverse engineering a driver from binary isn't clean room implementation

▲embedding-shape 3 hours ago | parent | prev | next [-]

> It's about f'ing words! Clean room means something!

It's ambiguous though! "Clean room" doesn't tell you enough since "clean room engineering" is a whole other thing than "clean room design". You could do the former with LLMs, but seems unlikely to me you could claim "clean room design" when you don't know the training data of the LLM.

▲geraldwhen 3 hours ago | parent | prev | next [-]

Not any more. All software is produced via AI that roughly encodes the IP theft of everyone alive.

It’s the dream of 90s hacker culture, realized in a strange way in the end.

▲singpolyma3 3 hours ago | parent | next [-]

It's been interesting to me how many people who were pretty hackery before suddenly really believe in "IP theft" now

▲cozzyd an hour ago | parent | next [-]

Stealing IP to make something proprietary should be morally questionable actoss the hacker spectrum.

▲ragnese an hour ago | parent | prev [-]

As one of those anti-copyright (really: just way less powerful copyright) people, myself, I agree- if those people are not expanding with any context or nuance. For me, I'm pissed that these guys are getting away with the "IP theft" just because they're rich and powerful, while the rest of us plebes would still be punished today if we did any fraction of what Zuck had Meta employees doing with copyright materials.

Given the choice between "everyone has to follow copyright law" and "most people have to follow copyright law; but connected, wealthy, people/companies don't", I much rather have the former than the latter. That's in spite of the fact that fewer people restricted by copyright is, in some way, technically closer to what I want (i.e., zero people restricted).

▲zelphirkalt 3 hours ago | parent | prev | next [-]

If that was true, then we would have global announcements of IP and copyright no longer being applicable to software at all, and that whoever gets hold of any source code can do whatever they want with it, without legal repercussions.

Instead it is rather a case of: "Upsides of copyright for me, but only the downsides for thee."

▲adrianN 3 hours ago | parent [-]

It is my understanding that copyright applying to LLM generated code is currently a bit unclear and it is conceivable that all autonomously generated code is public domain

▲zelphirkalt an hour ago | parent [-]

This current situation is very convenient for some players, of course. As long as the copyright is in this Schroedinger state, the individual can get sued into oblivion and must still conform to copyright laws, or risk their freedom and existence, while big tech can delay as much as needed, or just write a cost-of-business check and not get into trouble.

▲gspr 3 hours ago | parent | prev [-]

> It’s the dream of 90s hacker culture, realized in a strange way in the end.

I couldn't think of anything further from the 90s hacker culture. To me, this all feels a lot closer to the "dream" of "oh hey, I found it for cheap on Aliexpress".

▲cfiggers 2 hours ago | parent | prev [-]

The one and only unambiguous thing "clean room" means in this context is that the authors are trying to position themselves in line with the legal precedent that would protect them from being sued over this project. That's it.

▲egeozcan 3 hours ago | parent | prev | next [-]

I claimed clean-room for a red alert 2 YR engine project I have:

https://github.com/egeozcan/glasnost#how-glasnost-is-made-cl...

I don't call it licensed clean-room because you need lawyers as scrubbers to be able to claim no implementation details were actually shared to the clean room. My scrubber was a claude instance, soo...

If this is about training data, I think that wouldn't hold up in court against a project, but I'm no lawyer.

▲InsidiousWombat 2 hours ago | parent | prev | next [-]

well the LLM industry and govt that supported it decided that not only stealing content to train your LLM is "fair use" but that the code output can't be really called copying (or even copyrighted in the first place) so that's just a fallout of that

▲gspr 3 hours ago | parent | prev [-]

Words don't have meaning anymore.

Prediction: People are gonna flock to your comment saying "this is a good thing!", "why are you defending nvidia?", and so on, completely missing the point.