upvote
The original story behind the "clean room" decompilation that made affordable PCs possible involved having one person decompile/decode instructions, describe what it does, and having another re-implement the code.

An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.

This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.

reply
The original "clean room" didn't involve any decompiling, IIRC, only describing directly observable behavior in excruciating detail.
reply
The source code to the IBM BIOS was printed in the PC technical reference manual. The "dirty" team read the manual and the source and produced detailed specifications, then a programmer implemented a new BIOS based on the specifications.
reply
My friendly AI fooled me if so, it told me that is 100% ok to observer and re-implement, its the decompile which is problematic.
reply
What did you ask it?

If what you are trying to do is make your own program that is a clone (partial or full) of some other program and it is just you, then decompilation is risky because if you write code that is similar to the decompiled code it can be hard to defend against a copyright infringement claim.

The burden of proof will be on them to show you copied, but they only need a "preponderance of the evidence" to meet that burden. That's usually done by showing that the alleged infringer had access to the copyrighted work and made a work that is substantially similar.

If you don't decompile and just implement based on the behavior you observe in their program you are much safer.

If you have more than one person involved and you split the work in a proper clean room fashion, then decompilation can be fine. The people that decompile just use the decompilation to figure out what the program does, write a spec for that behavior, and pass just that spec to the people who implement. Ideally the people who implement should not even have the binary of the original program.

Since the implementers have no access to the copyrighted work they cannot have copied it. If the owners of the original program want to claim copyright infringement they have to go after the people who wrote the spec and that usually will be very difficult since the spec should just be documenting behavior.

reply
I think that just shows you should not rely on that "friendly AI" for legal questions :p
reply
And then this repo goes in a training set that another chatbot reproduces. Why is copyright only a concern for tech companies and not the literally everyone else on the planet that they’ve ripped off? I’d love for nvidia to litigate this and set a legal precedent that lights the entire AI theft business model on fire. How brave are the creators of the brave new world?
reply
I'd even see this as the point of this repo. If the owners go through with it.
reply
Even the first option is sus, since the recent navier-stokes-and-friends scenarios strongly suggest that the models directly learn from prompting in a way that breaks the clean-room premises.
reply
How does it strongly suggest that? Mathematicians were on the brink of solving NS, GRH, VP≠VNP, the complexity of matrix multiplication, showing factoring is subexponential, and myriad other problems all within a couple months of each other? And the AI companies took their work and scooped them all? People still believe this?
reply
It is explicitly acknowledged by the frontier labs that they train on your promptings.

And it is demonstrable that an LLM will one day say "I never thought of that" and months later will intuitively know it.

And there have been multiple cases where research thrown through an LLM get scooped by the AI lab, not just navier-stokes.

I do not think there is any reasonable doubt that just about every lab uses chat transcripts to train or finetune.

reply
Yeah they explicitly fine tune on your inputs, e.g. even asking which responses you like better. The question is whether that actually matters and they learned some trick specifically from that one person in a billion users so far that it explains the apparently superhuman math ability, or whether the more obvious explanation of them being given a compiler to train on contributed more. Especially when it's now producing results experts did not expect any progress to be made on, and developing new unifying theories to explain the results.
reply
probably 'clean room agents laundering': one agent reverse engineered and wrote a spec then other agent worked on implementation based on spec. Which is how it may work in theory but unlikely anyone really can believe that is no leak of original in that spec.
reply
Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

If you have a different view of clean room that's cool, you can make your own clean room reimplementation, and rightfully claim it's better than mine.

reply
> Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

That's the opposite of what clean room means, not just a "different view".

reply
I'm no expert, but I think most people would call that "reverse engineered", not "clean room". And BTW, I think no need to get defensive. Up this thread I have not seem criticisms of the code, just questioning if it's actually clean-room, because that matters for whether someone is gonna have a better chance of taking down the repository, how likely is gonna end up in distributions, and the like.
reply
That is definitionally not clean-room, by any historically-understood meaning of the term. There might be multiple definitions of the subtleties of "clean-room", but its stable core is "not one person decompiling + reimplementing".
reply
FWIW, reversing is considered acceptable by ReactOS contribution terms, so you're probably fine-ish.

It's interesting because it's the largest relevant effort that I'm aware of.

https://reactos.org/intellectual-property-guideline/

https://reactos.org/project-news/reactos-and-tinykrnl-projec...

reply
Can you point to the wording that accepts this?

It surprised me, so I checked. I understood the opposite. From your first link:

…contributors often need to conduct research to understand the internal architecture of the NT™ operating system. In such cases, the project follows the GNU guidelines for referencing non-free code. This applies both to usage of reverse engineering and exposure to proprietary code such as in the Windows Research Kernel.

The GNU guidelines don’t seem to cover reverse engineering specifically, but they do say:

Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation internally along different lines, because this is likely to make the details of the Unix version irrelevant and dissimilar to your results.

And from your second link:

…due to copyright laws and other law-related stuff, ReactOS (which aims at commercial usage too) can not directly utilize methods of development like dirty reverse engineering, and thus ReactOS can not share all code with the TinyKRNL project.

reply
You're probably right and I misunderstood it. Wikipedia has a decent explanation:

https://en.wikipedia.org/wiki/Chinese_wall#Reverse_engineeri...

https://en.wikipedia.org/wiki/ReactOS#:~:text=In%20a%20state...

So it looks like you're fine as long as one person reverses and other writes code. No idea how it applies when one clanker reverses and other writes, with a person as a middle man.

reply
This is a bit of an aside, but have ReactOS devs ever tried to build an NT based OS without the Win32 compat layer?
reply
They vacuumed before firing up claude code.
reply
good one
reply
im here to register my dismay at the use of "clean room" too. vague nonsense
reply
Nobody actually knows. Clean room is a bit of a BS term. You can take a piece of hardware/software, poke, prod and disassemble it, and write a detailed spec.

You are 'dirty' at this point, but then somebody else can come along and produce a 'clean' implementation of the spec.

This sounds like an LLM skill at this point tbh, so you just copy the .md file into the repo, and then 'do the thing, make no mistakes'

reply
> makes me wonder what the author thinks "clean room" means.

"My parents refused to buy me any more Clod tokens unless I cleaned my room."

reply
I see "REA" - I know that the person doing RE is not a professional, I'm sorry, REA - is a bundle of semi-random tools glued with slop'd guidelines. This reconstruction needed to be gated with byte-identical verification done with the original toolchain (it's easy to fingerprint it and its flags). And only when you have it verified in the original language (C/C++? whatever nvidia used), did multi-pass review with names reconstruction, covered with tests and so on -> you could port it to Rust. Right now is a ticking bomb (just bc it speaks with hw low-level), let's be honest.
reply
I call this development model "clean room theater". No judgement on my part but LLMs make decompiling so easy.
reply
> "And makes me wonder what the author thinks "clean room" means."

Either the whole definition of clean-room changed or he just cleaned his room before release... /s

This Markdown is quite a gem. It describes "We are building a clean-room Rust driver" in the title, with Step #1 asking to decompile the driver and "Understand the subsystem's full call graph, object ownership, state machines, and lock hierarchy before writing any code."...

It literally asks to reverse-engineer the original implementation and then rewrite it with "new code".

I doubt this can be used to circumvent any IP-claim...

reply
Author forgot to get a billion dollar valuation before shrugging off IP law
reply
people dilute phrases that have high impact for clout. Remember when "air gapped" actually meant something different than "I configured a switch and router like you normally would"?
reply