128
submitted 1 day ago by behuman@lemmy.ml to c/linux@lemmy.ml

https://news.ycombinator.com/item?id=50698903

https://github.com/QuixiAI/nvdriver

https://rust-for-linux.com/nova-gpu-driver

I'm also not fan of AI tools but... FCK Nvidia/adobe and other monster corporations by Reverse Engineering is okay for me!

you are viewing a single comment's thread
view the rest of the comments
[-] lnxtx@sopuli.xyz 93 points 1 day ago

I like the phrasing (bold is mine):

nvdriver (nvidia_rs.ko) is a clean-room, open-source [...]

AI and clean-room 👍

~/s~

[-] fruitycoder@sh.itjust.works 1 points 1 hour ago

I feel like you'd have to use something like https://apertus-ai.org/ on the coding side to get closer to that meaning anything

[-] Bakkoda@lemmy.world 12 points 1 day ago* (last edited 1 day ago)

Is this a common term? I always get very critical when i hear a term like that used over and over in a video. They always sound like they are trying to convince me about something

[-] ozymandias117@lemmy.world 7 points 7 hours ago

It comes from the early days of computers.

The idea is one group of engineers that may have read the source code document the specific behaviors of the program

That specification is then handed off to another group of engineers that have definitely never seen the source code.

That second group then reimplements the same behaviors through their own source.

This means there can't be any copyrightable code in the second implementation.

That's how what are called IBM compatible machines became ubiquitous. The implementation can be copyrighted, but if you have an independent implementation then you're fine.

The problem is there's no way to independently say an AI hasn't been trained on the source of the original program, so anything written by AI may be copyright infringement

[-] umbrella@lemmy.ml 42 points 1 day ago

clean room reverse engineering avoids copyright.

[-] Clambake0351@piefed.zip 19 points 1 day ago

While it can apply to human-written code, it's almost always used today in the context of AI reproducing proprietary code without the owners source material or insider knowledge from someone that had access to the source.

The glaring omission in that statement is, unless you trained your AI by hand, you likely have no idea what if any proprietary training data went into the model, so it only "avoids copyright" so long as your AI model isn't violating any copyright laws, which....

[-] Cethin@lemmy.zip 5 points 9 hours ago

I wonder who's legally responsible, if it turns out it is violating copyright laws. Is it the user, who created the copy, or is it the AI developer, who sold a product that they claim wasn't an issue. The user has no reasonable way to know what the training data was, so they probably shouldn't be the one accountable.

[-] wewbull@feddit.uk 4 points 6 hours ago

wonder who's legally responsible

The person with the smallest legal fund.

[-] Cethin@lemmy.zip 2 points 5 hours ago

In this case, it sets a precedent. Does the AI company have more money, or do all the users? It's more than just the person in this case. It's also all the companies using it.

[-] girsaysdoom@sh.itjust.works 2 points 9 minutes ago

Imagine if they did lose a case to copyright because they used AI. I think that would damning for a lot of businesses that use mainstream models.

[-] p03locke@lemmy.dbzer0.com 1 points 10 hours ago

LLMs don't "own" code, the writing process, and certainly can't reverse engineer anything. It's just a tool used by a human.

An AI model can't "violate any copyright laws".

[-] lenabee@lemmy.blahaj.zone 11 points 1 day ago

Yes. I agree 100%. That to me is also some of the beauty in this trend. I personally believe that these are not clean room reverse engineering due to AI having knowledge that they "shouldn't" have. But it puts the AI companies in a logical trap.

If this counts as clean-room, then every computer program will continue to be reverse engineered legally for maybe forever. If this doesn't count as clean room, then that term has to be redefined to arbitrarily exclude AI as an allowed tool or the AI companies will need to disclose what forbidden knowledge their models actually know.

It looks like a lose-lose for AI companies. Barring corrupt legislation favoring corporations over people, seems like the machine they built ignoring copyright is being used to ignore copyright.

[-] admin@lemmy.my-box.dev 2 points 1 day ago

It's just the term for a method of working. By itself if doesn't mean anything good or bad.

[-] theparadox@lemmy.world 2 points 8 hours ago

I interpret it as "we made efforts not to violate any copyright so if the code looks familiar, blame the model's owner not us".

[-] nik282000@lemmy.ca 3 points 20 hours ago

You can not have "clean-room" software if an LLM was involved. They are trained on other peoples code, both free and non-free and even if it is not incorporated char for char in the final project, other people's work was involved, thus making it not a clean-room project.

[-] admin@lemmy.my-box.dev 1 points 11 hours ago

That sounds like nitpicking to me. I might be wrong, but in my understanding, the idea of clean room reverse engineering is that you don't look at the compiled code to see what it does, but just by how it reacts.

Let's assume for the moment that the LLM was not trained on nvidia's closed source code. (after all, if it wat leaked, there wouldn't be a need for this project)

If a human developer used Wikipedia or looks up stuff on githib during an otherwise clean room reverse engineering session, is that then also no longer a clean room session? That seems... Very arbitrary.

[-] fhein@lemmy.world 5 points 9 hours ago* (last edited 9 hours ago)

I think clean room reverse engineering usually means that you have one person/team/agent that decompiles and analyses the binaries, they write a detailed specification of what it does, and then a different person/team/agent writes a new implementation based on that spec. I.e. it involves looking at the compiled code, just not by the same person who writes the new implementation. And it doesn't depend on any information already being available.

However, I wouldn't take for granted that this actually is a clean room implementation just because the AI says it is.

[-] admin@lemmy.my-box.dev 1 points 9 hours ago

Thank you for the explanation, that makes it so much clearer.

And while I agree we shouldn't trust anything written on the internet - that this was actually the method they used, it sounds like the methodology you described can definitely be executed through the use of AI.

Either way, personally I still think it's an incredible achievement.

[-] Jako302@feddit.org 1 points 3 hours ago

it sounds like the methodology you described can definitely be executed through the use of AI.

It quite literally can't cause the AI most likely has the code already in its training data.

You could use it to write the documentation, but once AI was used to write any code, it could only be considered cleanroom if the original code is with 100% certainty not in the training data.

[-] admin@lemmy.my-box.dev 1 points 3 hours ago

If that code was so readily available that all LLMs were trained on it, this reverse engineering wouldn't have been necessary in the first place.

What makes you think it's so likely that the model has been trained on this? Reminder: nvidia has not open sourced the code for the gsp.

For the stuff that they have released, I'd agree with you (but there would be no point in it). However, for their closed code, I think it's extremely unlikely.

[-] Jako302@feddit.org 1 points 2 hours ago* (last edited 2 hours ago)

Pretty much every big software company has gone AI first, so there is a 99.9% certainty that their codebase has been audited by at least one AI agent, probably much more than that.

We also know that all those chatbots and agents send that data home where its than stored on the parent companies servers. There have been multiple incidents were thousands of supposedly private conversation with different chatbots were fully indexed and searchable on google cause they fucked up. That also means said data is stored in a readable format for those companies.

While some of the big ones claim they won't use data as long as you are on a commercial plan, zhe chance that they dont use readily available data they already have on their servers is abysmal, especially considering how desperate they are for fresh data sources. Nearly every single big AI provider has shown us that they don't care about laws even if they get caught, why would they care about it now that it can't even be proven.

[-] admin@lemmy.my-box.dev 1 points 2 hours ago

I'm pretty sure nvidia, of all tech companies, is aware of that, and is the first and foremost company in existence who doesn't need to rely on third parties to host an LLM.

Anyway, you think it's likely their code has been leaked and trained on, I think it's not.
Since that is what this clean room argument comes down to, let's agree to disagree. Have a nice evening.

[-] wewbull@feddit.uk 0 points 6 hours ago

It's not nitpicking. It's the reason US courts have stated that copyrighted LLM code is not a thing.

[-] admin@lemmy.my-box.dev 2 points 6 hours ago

Can you elaborate? If one LLM writes the spec, and the other implements it, why doesn't that qualify as clean room? What makes it different than with humans?

(again, I'm working on the basis that those LLMs haven't been trained on nvidia's closed source code, Ockhams razor and all)

[-] wewbull@feddit.uk 1 points 47 minutes ago

In a human "clean room" the implementors can never have had any previous exposure to any thing related to the original product.

A logical extension of this is that a "clean room" implementation is impossible using LLMs because an LLM always carries all of the things it was trained on within it. It's not implementing from just a spec, but from all of the things it's seen before, which more than likely includes the thing you are trying to "clean room".

this post was submitted on 02 Dec 2026
128 points (90.5% liked)

Linux

68994 readers
746 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS