EDIT: it turns out I missed a crucial detail: indemnity clauses in EULAs have very specific scope and restrictions, so unless we're talking about using Copilot, specifically, none of those would indeed save Wine from possibly hitting some murky waters when it comes to IP.
Original text below.
I've been using AI for getting some long-standing projects of mine out, a chunk of which are reverse engineering efforts and so on. I even managed to upstream a Linux kernel patch in the process.
And then it ocurred to me: why not use AI to help improve WINE? Getting it to do reverse engineering in a clean room way is not hard at all, after all.
I googled some stuff and found out about their stance on LLM-generated code and their concerns about it... And I have no idea why that's their stance.
I'm talking specifically about this, found here:
Don't use an LLM tool to generate code. There's no guarantee that the training material of that LLM respects our Clean Room Guidelines, or that its output is compatible with the LGPL.
Here's why it does not hold up anymore:
- There is no guarantee that the training material of that LLM respects our Clean Room Guidelines: there is also no guarantee that a human respected them either. What changes here is accountability. And even then, AI vendors do have clear policies regarding protecting their customers regarding the code produced by LLMs. Or else, LLMs would be absolutely unusable to every single company out there. Plus, it's widely argued that weights produced by LLM training and the resulting code produced by them cannot be considered derivative work regarding the original training data. I myself don't love that notion because humans are technically do not copy anything -- it's all a bunch of weights in someone's neurons, but hey, if that's the technicality big tech is going with we might as well benefit too.
- or that its output is compatible with the LGPL: same for human-produded code, again. The guidelines establish humans cannot read, decompile Microsoft code, etc., but there is again no guarantee whatsoever that the human work being submitted has not had any of that done to it. But I think it's also funny that this bit of irony goes undetected: it's not OSS projects that should be afraid that LLMs got perhaps trained on proprietary code, but companies are the ones who should be scared that LLMs have been known to train on a myriad of copyleft-licensed projects with licenses ranging from GPLv2 to AGPLv3. Due to the viral nature of those licenses, should the code produced by LLMs ever be considered a derivative of the proprietary code they're trained on, every single company that's ever coded with LLMs would immediately find their software fully licensed under the AGPLv3 and being forced to open up their entire codebase. This is obviously never going to happen, and so is LLM-produced code also never going to be deemed unsuitable for LGPL licensing. Plus, it's clearly good enough to go into the Linux kernel under GPLv2, so it's also obviously good enough to go on Wine under the LGPL.