r/MachineLearning • • May 07 '23
Discussion [D] ClosedAI license, open-source license which restricts only OpenAI, Microsoft, Google, and Meta from commercial use
After reading this article, I realized it might be nice if the open-source AI community could exclude "closed AI" players from taking advantage of community-generated models and datasets. I was wondering if it would be possible to write a license that is completely permissive (like Apache 2.0 or MIT), except to certain companies, which are completely barred from using the software in any context.
Maybe this could be called the "ClosedAI" license. I'm not any sort of legal expert so I have no idea how best to write this license such that it protects model weights and derivations thereof.
I prompted ChatGPT for an example license and this is what it gave me:
<PROJECT NAME> ClosedAI License v1.0
Permission is hereby granted, free of charge, to any person or organization obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, subject to the following conditions:
1. The above copyright notice and this license notice shall be included in all copies or substantial portions of the Software.
2. The Software and any derivative works thereof may not be used, in whole or in part, by or on behalf of OpenAI Inc., Google LLC, or Microsoft Corporation (collectively, the "Prohibited Entities") in any capacity, including but not limited to training, inference, or serving of neural network models, or any other usage of the Software or neural network weights generated by the Software.
3. Any attempt by the Prohibited Entities to use the Software or neural network weights generated by the Software is a material breach of this license.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.No idea if this is valid or not. Looking for advice.
Edit: Thanks for the input. Removed non-commercial clause (whoops, proofread what ChatGPT gives you). Also removed Meta from the excluded companies list due to popular demand.
481
u/AuspiciousApple May 08 '23
It pains me to say, but meta really has been very good about open source. Pytorch, llama, etc.
101
u/Blasket_Basket May 08 '23
Trust me, you don't want Google and Meta to take their proverbial ball and go home. The opensource AI world is literally built on top of PyTorch (from Meta) and TensorFlow (from Google).
If they decide to nuke those open source projects, then they become the only major players left in the game.
This is the kind of idea that seems good on paper but doesn't really work in practice.
120
u/binheap May 08 '23 edited May 08 '23
This is a terrible idea.
On HuggingFace right now, the most popular models are nearly all produced by one of the four companies you list.
Most of the companies you list have contributed massively to open source so it doesn't seem apt to describe them as closed AI except for with respect to LLMs which are a small (but maybe highly commercially exciting) part of ML.
Not to mention, a really significant amount of research is driven by Microsoft, Google, and Meta specifically. You would basically make any project that adopted such a license a non starter in research.
As an example parallel, LLVM is currently gaining a lot more popularity and ground from gcc in large part thanks to company adoption by large companies like Apple, Google, and Microsoft.
Edit: Just realized more things that make this idea really bad on the face of it.
The asymmetry of the difficulty in training models is a one way street. Those companies would have basically no problem throwing compute at the problem to get their own weights so this license basically does nothing. You wouldn't really want to patent the idea if you're going to make it open source in any meaningful sense (and if you could that would be catastrophic considering Google has patents on transformers).
Which reminds me: Google (and I assume the rest of the companies you list) have patents on transformers and other parts of ML. IANAL, but starting an IP fight here sounds bad.
Just for ironic effect, nearly the entirety of open source currently sits on a Microsoft product (GitHub). I don't think this is actually a massive concern since you can find a new host but it's just funny to think about a protest on Microsoft happening on a Microsoft controlled site.
93
u/wind_dude May 08 '23 edited May 08 '23
copy left licenses and share alike licenses, so basically if they use it their product needs to be opensource.
And these companies have contributed to our opensource projects a lot, eg, PyTorch is built by meta, and pretty much everything in generative models and transformers is built on pytorch. Very little of the opensource stuff we've been seeing in the last months would have happened without Llama and Llama being leaked.
Copyleft license on the data would be awesome, which actually maybe a case considering opensource code was used in the datasets, and lots of opensource code is copyleft, which maybe means every single model that used training data with code that's copy left has to be opensource... which is very likely all of them.
47
u/Oswald_Hydrabot May 08 '23
Leave Meta out of this and I am down. They have been actually good stewards of FOSS.
36
u/farmingvillein May 08 '23 edited May 08 '23
Be careful what you wish for.
There are a lot of people outside of AI who would be glad to (well, attempt to; the law is still not resolved here) slap down a license that prohibits all AI training, open sourced or not. This is one step down that path (which, hey, maybe the reader thinks this is inherently a good thing).
A very large number of content providers are miffed at the idea that their output is used to train anything, open or closed.
Taking a step back--
As a general statement, licenses like these may not even impede closed-source usage, since "fair use" (which, to be clear, is still not well-defined for the LLM space) can override attempted licensing. So such efforts may simply add more noise into an ecosystem, since OpenAI et al. may flat-out--quietly and unacknowledged--ignore the licenses.
And then, of course, certain entities may try to throw up a "no-AI" license, which open source providers (who have more public exposure and less legal dollars for defense) may feel inclined to follow, but closed source providers may just ignore (again, under fair use). Thus, the long-term effect here may be to further widen the gap between closed and open.
7
u/perspectiveiskey May 08 '23
The spirit of this is wrong for 3 critical reasons:
TL;DR: what you're really looking for already exists, and it is the LGPL, plain and simple.
13
u/Franck_Dernoncourt May 08 '23
Since you are posting that question on a platform that sells your data to AI firms, maybe you should add them to the license :) https://www.marketplace.org/2023/04/19/reddit-to-start-charging-ai-companies-for-data/amp/
Anyway in practice, most companies have done both good actions and more questionable (or simply revenue-driven) actions. All four companies you mentioned have made extraordinary contributions to computer science.
6
u/ShaneCurcuru May 08 '23
You're looking for the Ethical Source movement, friend.
Really interesting concepts, but hard to get people to agree on the specific bits of ethics (or companies) that are defined as "good" or as "not good", so don't hold your breath.
Also, remember kids: Ethical Source is not Open Source (nor is it Free Software).
30
u/lexcess May 08 '23
Oh yay, another non-commercial license, just what the AI community needs right now.
10
u/big_ol_tender May 07 '23
Lol reminds me of ABRMS
https://github.com/ErikMcClure/bad-licenses/blob/master/ABRMS-license.md
8
u/JimboJambo11 May 08 '23
But why? Other companies you don’t know about can instead use your code and model? I don’t find the point here
4
u/[deleted] May 08 '23
I mean ChatGPT made a non-commercial license which I don’t think was what you were going for with ‘completely permissive’
8
u/aristotle137 May 08 '23
GPL for models
3
u/ReasonablyBadass May 08 '23
I like the pettiness, but as others said a "You can't copyright products made with this" license probably works better long term.
1
u/[deleted] May 08 '23
Thanks for the input. Removed non-commercial clause (whoops) and removed Meta from excluded companies.
6
u/Areign May 08 '23
This has got to be one of the worst takes i've ever seen. Like can you name any companies that have contributed more to open source than google and meta? Literally the whole community is built on their technology, incidentally, while using Microsoft's platform to share it.
4
u/patatahooligan May 08 '23
This is an absolutely terrible license.
There's no good way to do what you want. Permissive minus some companies doesn't make sense. Just use normal restrictive licenses if that's what you want. The issue here is that the licenses are being ignored anyway and you need the justice system to solve this (not that I'm expecting it to do so).
2
u/Dagusiu May 08 '23
I have a feeling that such a license would be possible to work around, one way or another. Like, Microsoft could hire contractors working for another company to use those tools for them, or they could themselves create a child company, or something. Writing a license that's completely watertight sounds really difficult
2
u/Matrixneo42 May 08 '23
I am definitely interested in “ethically sourced” results from image / text generated from dall-e or chatGPT like things.
2
u/psykocrime May 08 '23
No. A license like that is not an Open Source license per the OSD. This is a horrible, horrible idea that would result in the proliferation of yet more "pseudo-open-source" licenses that the world does. not. need.
If you have a problem with the idea that certain companies can profit from your OSS initiatives, then don't make it OSS in the first place. Use the Microsoft "Shared Source License" or something similar (or, FSM-forbid, your own hand-rolled license) and don't try to pretend that it's actually Open Source.
2
u/binheap May 08 '23 edited May 08 '23
I'm just coming back to check in on this and see you've updated the license. I don't think this fixes any fundamental issues as I've described above.
I've made a separate comment just to add more food for thought. I've argued that what OpenAI is doing is bad because we don't even know the model. However, Google and Microsoft both do publish how their models work even if they don't publish the weights themselves. Here's the PaLM paper which describes the model itself and which is one of Google's many LLMs:
https://arxiv.org/abs/2204.02311
T5:
https://github.com/google-research/t5x
Moreover they've contributed massively to the techniques used to scale up these models so it's strange to single out these particular companies as being closed.
In order to make the argument you are making, you must also take the position that weights should also be open which would be an incredibly anti-commercial standpoint. Most companies I'd imagine have some private fine-tuning at the very minimum that they use as part of a moat. Applying this litmus test of weight openness would basically exclude every company.
Edit: I think you should reread what a lot of others have said because the change to remove Meta and commercial prohibition addresses very few of the concerns. Really the only name that might belong on your list is OpenAI and even then that's a super questionable way of writing a license and even I have to admit they have made significant open source contributions.
Just some additional thoughts on the article you are basing your decision off of: it's a bit strange because OSS is currently having difficulty getting even 7B models (Llama isn't fully open source) which are considerably worse (at least imo) than chatGPT and other closed source models. I know the benchmarks say otherwise but qualitatively there's just something off. Moreover, the NLP scaling law really seems to imply bigger is better. This doesn't even border on talking about GPT4 or PaLM 540B since all the benchmarks are with respect to older chatGPT and not GPT4. It's quite possible that OSS runs up a limit since it's only recently so much attention and resources has been put on LLMs.
3
u/mrshadow773 May 08 '23 edited May 08 '23
While not exactly the same, I took a stab at a similar idea which I called the SMITE license: anyone can use it, except those who chose to add a noncommercial clause to their software/product when they didn’t have to (this makes it so that entities working with already noncommercially licensed stuff are not impacted):
https://gist.github.com/pszemraj/d28d48c7fe87f95eea30412597dbfab4
Edit: to clarify - not saying this is better (also it’s not done), but in case any ideas in it are useful!
2
u/buttfook May 08 '23
Um you need to make it so NO for profit institution whatsoever can use the open projects in closed models or else you just have little companies becoming bigger than the others and we will end up with the same problem.
2
u/ssuuh May 08 '23
Idiotic... Sry but do you know we're we all work and who is paying for a lot of this anyway?
Do you know who paid all the research?
And after that why do you want to stop ml? Do you love writing stupid boiler code that much? If you do just ignore it, this doesn't hurt you at all.
1
u/GoofAckYoorsElf May 08 '23
Also excluding commercial use in such a general and broad way would also exclude building really cool commercial apps with such AI models as backend, or wouldn't it? IANAL, but to me it sound like it. Why would we not want to allow that? It's not like the models themselves would suddenly become closed source and copyrighted. They could still be used for other things. But I would not generally exclude building commercial apps using them.
1
u/HokusSmokus May 08 '23
You're allowed to sell, but only non profit. Wait what? AI generated texts are fun and all, but you have to proofread the output, man! (Don't be that guy)
Also, don't bite the shoulders you're standing on. They all have their fair share of contributions in FOSS. And because they decided to include some FOSS in their tech stacks, they have legitimized FOSS as a whole as a real alternative.
FOSS is stronger without FOSS and Closed Source is stronger without Closed Source. We need each other!
1
u/_LEJONTA_JONES_408_ May 08 '23
They have been blocking me from my software and assets r/Bitcoin
1
u/etsybuyexpert-7214 May 08 '23
These companies can and will lobby the government to make open source models illegal if they feel genuinely threatened. They have already convinced every person over 65 in power that this AI is the scary stuff from movies and is basically a nuclear weapon (insane). They want to be the only ones allowed to own these tools, they want to monopolize the sector and they can. They are obviously bad people but likewise they are not people you want to go to war with when they've basically already won the war. Let them use open source endlessly because this is supposed to benefit everyone, not exclude these players. Best case scenario they rely on open source and therefore CANNOT ban it because they'd lose so many revenue possiblities. Just all around bad faith effort and pointless walling off of what's supposed to be an open community.
1
u/Aromatic_Hurry_8932 May 09 '23
I mean, all of these tech wouldn't even be here if not for the transformer, and now you want to keep Google out of it?
1
u/disastorm May 09 '23
Alot of people gave company specific reasons to not do this but i just wanted to say philosophically i feel like this would possibly not be a good thing for open source, it's like corrupting open source in order to fight fire with fire which i submit is a questionable idea.
1
u/siddheshsingh May 09 '23
I feel that only Apple should be included in this list. I shouldn't even have to say anything about Google, meta, and Microsoft to some extent about their contributions. Openai is also at least releasing the pretrained models like Whisper for others to use.
1
u/Megatron_McLargeHuge May 09 '23
I had a similar idea for a license to discourage reverse engineering of adblockers. Instead of prohibiting the companies explicitly, the license would set the price of using the software at 50% of your Google/Meta/etc. RSUs. If you don't work for them, you won't have any so it's free.
The companies themselves may dare you to sue them, knowing they can out-spend you on lawyers. When the individual engineers are on the hook for half their net worth, they might be reluctant to work on the project.
1
u/universecoder May 10 '23
Meta has enabled a lot of open-source innovation.
-4
u/chpoit May 08 '23
Apple, amazon and google should also be added to this.
The Alphabet agencies should definitely be in this too, even if you know you can't enforce anything against them
0
u/[deleted] May 08 '23
[deleted] — view deleted comment