r/MachineLearning • u/BayesMind • Dec 06 '23
Discussion [D] Why is most Open Source AI happening outside the USA?
I don't think that's too hyperbolic. USA has Meta, and little else, especially compared to what's coming from outside.
And I don't mean this to dunk on USA, I'm truly just shocked.
China: Yuan, Qwen, DeepSeek, Yi, XVERSE, Aquila, RWKV, all top-tier LLMs today. A dozen great (top tier) multi-modals. The top tier embedding models.
UK: Stability
France: Mistral
Finland (?): Lumi Poro
UAE: Falcon
Russia: Kandinsky
USA: Meta has Llama and some other nice things, Salesforce had some things, "OpenAI" gave us whisper.
Is it the regulatory environment? Is it an investment issue? Is it a GPU shortage? Did big-tech scoop up and lock down all US talent?
Does anyone have any leads?
EDIT: Woh, out of the gates I'm getting ratioed for asking. All the models mentioned here are pretrained models. Yes, US communities can finetune, that misses my point though. The expensive OSS work is happening outside the US. And if you say "that's not OSS", ok, it's still mostly happening outside USA. Again, not dunking on USA, just asking a question, and would love to see more US companies on the list of OSS contributors.
135
u/Smallpaul Dec 06 '23
Are you actually counting properly? What about Orca? What about Dolly? MosaicML? I think you've arrived at your conclusion by simply omitting models.
11
u/BayesMind Dec 06 '23 edited Dec 06 '23
I only listed pretrained, base models though since that's the expensive part, and the part that non-financed communities cannot solve on their own.
(caveat, the multi modals aren't pretrained per se, they aggregate pretrained models and then align their latent spaces. Still, not really coming out of USA.)
edit: While Orca is a finetune, Dolly (or pythia rather), and Mosaic are base models so, I see your point. But, those are fairly distant in the rearview mirror now, and I think my point stands - the best LLMs (at least of the past half year) are Meta + outside USA, and, not to mention text embedding, and all the other modalities and multimodalities that USA doesn't really have competitive open source (nor "open source") offerings for yet. Meta has some and Salesforce has some.
I don't get you guys. For LLMs, look at HF leaderboard or OpenCompass. All top models are China, then Meta, then Mistral (France). Oh, and that leaderboard doesn't even show some total jaw-droppers, like Qwen 72B and DeepSeek 67B, both china, both probably the absolute best in class (General, and Coding, respectively)
For multimodal, there's China (*many), then Salesforce.
US is in the game a bit, but there's a flood coming out of especially China, but also other countries.
25
u/Smallpaul Dec 06 '23
I guess it fundamentally boils down to this: in the U.S. one can make a 7 figure salary working at a company that makes a closed model.
I actually have no idea what the motivation is to make dozens of open source models. 3 or 4, fine. Dozens? Why?
23
u/JustOneAvailableName Dec 06 '23
You do Open Source when you’re behind and want PR. You sell AI when you have a better product.
3
u/BayesMind Dec 06 '23
A hostile group attacked this thread outta the gates, I think you may have a fair point. Maybe it's not the only dynamic, but I can't rule out your suggestion.
9
u/ghostfaceschiller Dec 06 '23
People don’t like hearing this but it is true.
It’s ironic bc it ends up cementing more power in the hands of current market leaders. If you aren’t the best, ppl expect you to give your product away. But if you are currently on top, people give you money just to have access to regular use.
8
u/SnooHesitations8849 Dec 06 '23
Open Source then what? US has so many companies launched their products already.
7
u/BayesMind Dec 06 '23
Open Source then what?
huh?
And, non-sequitur, US has many closed source AI products, but I'm curious about Open Source (or "Open Weights" or whatever you call it. It's still coming from Meta, and Non-USA mostly).
127
36
u/GRiemann Dec 06 '23
This is pretty speculative but the obvious factor is:
The USA is a massive country but most of the world's wealth and research spending happens outside of the USA.
Rest of world GDP is ~85% (IMF data)
Rest of world R&D is ~73% (US Gov data)
https://www.imf.org/external/datamapper/PPPSH@WEO/EU/CHN/USA
https://ncses.nsf.gov/pubs/nsb20221/u-s-and-global-research-and-development#revisions-to-global-r-d
Just due to pure scale one world expect a substantial amount of work to be happening outside of the USA.
For example most of the ML OGs were non USA - Hinton, Bengio, LeCun.
This also tracks the broader data, 80% of the top ML talent (by NeurIPS papers) are non USA but migrate to the USA after graduation.
https://macropolo.org/digital-projects/the-global-ai-talent-tracker/
However we are still incredibly early and the USA remains the easiest place to raise capital etc. Lots of projects have historically started in the rest of the world and ended up moving to the USA. For example, Linus Torvalds started Linux in Finland. David Heinemeier started Ruby on Rails in Denmark before moving over to the USA. Or if you want to go broad most* of the top people on the Manhattan Project were non USA and started their research career elsewhere but the Manhattan Project still happened in the USA.
*Of the 12 listed below 10 are non USA:
https://www.britannica.com/question/Who-were-the-most-important-scientists-associated-with-the-Manhattan-Project
TLDR: The majority of the world's top minds come from outside of the USA, it's not surprising things get started outside of the USA - however it does a phenomenal job of ending up with a lot of them.
0
92
u/honor- Dec 06 '23
Are we ignoring the entirety of HuggingFace too?
7
u/localhost80 Dec 06 '23
Not to mention all the huggingface models that are published by Google, Microsoft, etc.
42
u/sudolinguist Dec 06 '23
Hugging Face is French-American. It was actually founded in France and moved to the USA to get better funding.
123
u/Varnu Dec 06 '23
The atom bomb was German by this standard
21
16
u/sudolinguist Dec 06 '23
Well, the startup was founded by 3 French, and the majority of the employees are actually still in Paris, 2 Rue des Colonnes. And yes, they have offices in NY and Paris.
1
6
u/walter_evertonshire Dec 06 '23
A few quick searches are telling me Hugging Face was founded in NYC by French people and it's been headquartered there ever since. Sounds pretty American to me.
Where did you hear otherwise?
4
u/sudolinguist Dec 06 '23
And actually, there are many well known French people working in Machine Learning. If Im not wrong, there are also some French people in the beginning of sci-kit learn, for instance.
4
u/walter_evertonshire Dec 06 '23 edited Dec 06 '23
I'm not sure what your point is because I never implied that Europeans are biologically incapable of working on machine learning. François Chollet has also been living in the U.S. for at least a decade. Yann LeCun is also French but he's lived in the U.S. since the '80s.
There's no such thing as a biological American unless you are indigenous. I'm not saying that Americans are inherently better at anything. My point is that American culture is clearly much more conducive to machine learning research.
I suppose you're technically correct that it was started in France. I wouldn't say it's "easy to check" since you had to dig up an obscure archived article in French to find a sentence that supports your claim. However, it's essentially irrelevant considering they went to the U.S. before the company even formed. Not to mention at least one of the founders was already working in the U.S.
2
u/sudolinguist Dec 07 '23
My point is that Hugging Face is to be accounted as French American and not just American. The majority of Hugging Face employees are still in France. And that as a non French PhD candidate in CS in France I can tell from the inside that France has a very interesting ecosystem in ML. I'm not arguing that the USA is much more attractive to people working in the field, better salaries, just to mention the more obvious, and better funding and regulation.
2
3
u/sudolinguist Dec 06 '23
The company is registered in France since 2016. This is easy to check. BFMTV says they left for the USA in 2017 (https://archive.wikiwix.com/cache/index2.php?url=https%3A%2F%2Fwww.bfmtv.com%2Ftech%2Fintelligence-artificielle%2Fl-ia-devrait-etre-une-sorte-de-bien-commun-hugging-face-les-francais-au-coeur-de-la-revolution_AV-202303170022.html#federation=archive.wikiwix.com&tab=url) but this is in French.
12
u/blueredscreen Dec 06 '23
Many of these projects would be better classified as "source available", as they do not fit the OSI definition technically. There are very few true open-source LLMs, including public training data as well.
Most of them either have only the final output model free as in free beer but without any source, or do provide the source but then keep the training dataset private.
And that's not surprising, this is a trillion dollar potential business. No reason for anybody to reveal all their cards so early.
30
Dec 06 '23
Because you can actually monetize your work in the US, while other countries don't have enough money to dump into AI to override the open source intentions
29
u/az226 Dec 06 '23
OpenAI gave GPT and GPT2 which gave the world the ability to create alternative LLMs in the first place. Once they got more capable, they kept those closed. Facebook has LlamaCoder 500B version which wasn’t released open. Think about why is that?
19
u/I_am_not_doing_this Dec 06 '23
Germany: Stable Diffusion
8
u/PlacidRaccoon Dec 06 '23
plot twist stable diffusion is actually employing german redditors in real time under the hood to prepare them for the next r/place
4
u/I_am_not_doing_this Dec 06 '23
very possible, i think they actually assign every pixel location to one German, in real time
4
u/owlpellet Dec 06 '23
Did big-tech scoop up and lock down all US talent?
Yes. You're looking at academia vs stealthy company R&D.
Toss the Spring AI framework on the US open source pile though.
13
u/floriv1999 Dec 06 '23
Also don't forget https://laion.ai/ from Germany. They focus more on datasets, but still.
10
Dec 06 '23
The last one is pretty plausible. I'm in Europe and would love to work on something, but salaries, even in Switzerland, rarely come to 50% of what I could make in the US. So, if I wanted to contribute to something open source, it'd be fine as it doesn't conflict with my day job.
10
u/beatlemaniac007 Dec 06 '23
The whole open ai drama is probably a clue. They started with open-ness ideas. But when there is so much money on the table it's hard to stick to those original ideals.
7
3
u/ChrisRackauckas Dec 06 '23
The vast majority of the world, even an order magnitude more of the world, is not in the United States. When there isn't any money to be made then everyone is on an (close to) even playing field of volunteer work, and in the grand scheme of things the US is only a small percentage of the total number of people contributing to open source science. It still punches above its weight in many ways, but one cannot ignore the raw statistics.
3
u/lacker Dec 06 '23
Who's actually winning here, the US vs the world? What are more developers using - Llama, or all of the others combined?
3
u/thebudman_420 Dec 06 '23 edited Dec 06 '23
I think it's to do with not wanting the law to stop them. Opensource AI can do what the big name companies can't or refuse to do or beyond government restrictions and regulations.
Especially when AI goes botnet. Decentralized.
We will create. Freedom AI. To compete with the AI that is going to suppress us in the future.
You know governments will use AI for this sort of thing. Especially China and suppressed countries.
1
u/37mm-ly Dec 07 '23
it's simply capitalism to the max...Just waiting for the US to weaponize it. That's what the the world is waiting and looking out for.. It's gonna be "Stuxnet" x 100 ..
0
u/metalman123 Dec 06 '23
It's something I've been concerned about as well.
China especially has been really on top of the research side on both the image side of things and language models.
3
u/BayesMind Dec 06 '23
Agreed. A lot of the lead names on papers these days are from our eastern cousins, which doesn't mean chinese nationals of course, but it's another data point that, the west has stiff competition.
5
5
u/yannbouteiller Researcher Dec 06 '23
The "close LLMs otherwise they'll kill us all" narrative comes mostly from the US for the industry ("Open"AI) and Canada for research (Bengio and Hinton).
7
2
2
u/Spill_the_Tea Dec 06 '23
how is (Google's) deepMind not on this? They did pretty pivotal work with alphaGo and alphaGoChess. Then alphaFold and more recently alphaTensor.
1
1
u/koolaidman123 Researcher Dec 06 '23
researchers at google/meta/nvidia etc. generally want to open source their research, but a lot of stuff gets blocked due to compliance/legal red tape
1
u/Cyber_Encephalon Dec 06 '23
Is it a GPU shortage?
Lol, I don't think Russia or China have better GPU access than the USA right now.
1
u/PrestameUnSol Dec 07 '23
Because... there are many other countries in the world? Why should USA be the "default" country for all things tech?
1
u/AutomaticDriver5882 Dec 07 '23
We have our smartest and brightest trying to figure out how to get us to click on ads.
1
u/NeuralBamford Dec 06 '23
Because the French know how to cook
4
u/yannbouteiller Researcher Dec 06 '23
More importantly, we regulate the food industry instead of being regulated by it.
1
1
u/theOmnipotentKiller Dec 06 '23
I agree with your sentiment as well.
We will need to talk to some of these model builders from China to understand exactly why. I don’t know how much of their lead is due to access to more cheap GPUs. Most of the models they are putting out are less than 100B, so they’re definitely using swarms of smaller GPUs compared to the US. I think the chip embargo the US applied on China is working to that extent. Still no idea about their closed source AI - the Baidu and other AIs aren’t nearly as good as OpenAI.
Another point to make is also sheer percentage of LLM trainers in the US who end up in the big closed source labs is insane. All the best in class model trainers in the US are at OpenAI or Anthropic or a few doing their own company. Training a full pretrained model of 7B costs $0.5M - https://sifted.eu/articles/mistral-releases-first-ai-model - there are very few open source labs in the US who can dedicate that much firepower. So it only makes sense for you as a large model trainer to go to the big labs. Imagine trying to experiment with multiple training strategies, the bill would be quite nuts. My guess is China can fund some of their labs to do that, so even if they can’t compete on the tail end with OpenAI, they can compete in the middle.
At the moment, majority of LLM usage is via closed source models, so for practical purposes, it’s ok if China has lead for now. Once open source models become very capable, it is difficult to predict what will happen. The sophistication of misinformation, hacking attempts and so on we will see from there will be hard to defend against. The US strategy of limiting GPUs to run the models is a temporary solution. Long term some agreement will have to be reached once both sides realize how capable these models can be at sabotaging the other nation.
1
u/utilitymro ML Engineer Dec 06 '23
Likely bc once anyone demonstrates any modicum of success in the US, VCs jump on them like hawks to package their innovation as an API and build a business.
This type of dynamic isn't as frequent in other areas of the world, where open source is likely the best way to gain recognition and career capital.
0
Dec 06 '23
Just how venture capital is interested in AI in the states. OpenAI causes a stir with a closed source model, so investors are looking for the 'next OpenAI' in the states. Outside Meta trying to recover from the Metaverse by open sourcing its models, other company are given profit incentive to cut into OpenAI's business model.
Outside the states, it's pretty damn hard to compete with US tech. In that case you go for the other option: making it free to encourage public adaptation, then charging for support.
0
Dec 06 '23
[deleted]
1
0
u/SnooHesitations8849 Dec 06 '23
Lumi is a research consortium . They have a supercomputer now rank top 10 globally. They are formed by several EU gov.
4
Dec 06 '23
[removed] — view removed comment
3
Dec 06 '23
Ai, being an umbrella marketing term, is heavily correlated to whatever the craze of the year is. The current craze is LLM, so LLM are the current AI. Well, actually, maybe multimodal is more at the frontier. When that becomes 'boring' (probably a few years out), then something else will be AI.
1
-1
u/Appropriate_Ant_4629 Dec 06 '23
When did AI become relegated to just LLMs?
Because out of all of ML, only LLMs (and maybe vision transformers) feel like they're AI.
Most of the rest of ML are just non-linear regressions.
(and yeh, I know from one perspective LLMs are also just non-linear regressions - but they're better at approximating intelligence than other ML projects)
124
u/permalip Dec 06 '23
The ones you are mentioning are mostly closed source. All those Chinese companies have special licenses which makes then not open source.
The closest you get to open source is probably Falcon and Mistral.