logoalt Hacker News

mattr03 • yesterday at 12:59 PM • 11 replies • view on HN

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


Replies

papua_is_being_ • yesterday at 1:04 PM

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?

➕ show 7 replies
spystath • yesterday at 1:27 PM

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.

➕ show 1 reply
embedding-shape • yesterday at 1:02 PM

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.

imtringued • yesterday at 1:36 PM

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.

Pannoniae • yesterday at 1:09 PM

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

➕ show 1 reply
mungoman2 • yesterday at 1:02 PM

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

➕ show 1 reply
egeozcan • yesterday at 1:26 PM

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 • yesterday at 1:47 PM

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

Rapzid • yesterday at 6:33 PM

Add "Make it look legal." to your prompt.

phendrenad2 • yesterday at 5:59 PM

Because "clean room unless the courts decide that all code written since 2024 is now potentially infringing on someone's code that was in the training data, single-handedly crashing the world economy" doesn't have quite the same ring to it, you know?

gspr • yesterday at 1:01 PM

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.

➕ show 1 reply