Personal Learnings← Interconnects  Library

Interconnects · Tech & AI

Different development paths of LLMs

TIER 4   2023-06-14

Before ChatGPT, most language models were accepted as being primarily research endeavors. In this landscape, you can get away with more rough edges on the models in terms of ease of use and cost scaling. In the immediate months around ChatGPT's launch, it actually seemed like every large language model (LLM) of the future needed to be what ChatGPT was, but this is turning out to be far from the case. Language models have a remarkable range of capabilities in terms of upfront costs, inference costs, prediction capabilities, amount of control, etc. We're early on in exploring these options. Given all of the opportunities, reproducing ChatGPT is more of a vibes goal for the open-source community rather than a real necessity because of how different open-source's stakeholders are. This article focuses on LLMs because they're timely, but I expect we see these dynamics play out for many other types of ML models in the future.

Open-source will develop LLMs that are mode capable over a specific set of needs, but less cumulatively capable. What this looks like is instead of taking the giant scorecard that GPT4 was touted on, you take 10-50% as the targets for an open-source model and beat GPT4. The other metrics will likely be behind, not equal. The language models coming out of the open-source community will also be substantially different for many reasons, including:

In this worldview, if base models are rare, they'll be the cadence by which the wide trees of open models are "reset", giving open source opportunities to take jumps ahead (while companies will likely have much more consistent progress with regular improvements to the base model and fine-tuning). We've seen this once with LLaMA, which was one of the most fun times to follow AI, and we're maybe going to see that again in the next few weeks if Falcon is notably better than LLaMA (I'm not sure it is). If not, we eagerly await the next base model! The popular figure from an LLM survey after ChatGPT (below) is about to get much wider:

While we want to recreate ChatGPT, I think we're getting to the point where we should move on and accept we're getting something different. A big part of my thinking on this aligns with this poignant thread from Susan Zhang of Meta AI -- the upfront costs to training models at the scale OpenAI operates is not going to be available to anyone except organizations that are committed to training the best models as their competitive advantage. Even in the company of startups with $10s million to spend on computing, the actual compute you get (whether AWS GPUs vs. TPUs) can result in a 2-4x difference in training throughput. These differences are all things OpenAI and Google have almost surely worked through. There are extreme synergies that come when optimizing each point of the stack that will not be available soon to the long tail of people applying pressure to close this gap.

The cumulative spend of organizations/individuals committed to building in public could very well be higher than Google or OpenAI's, but this results in more options not one obviously better artifact.

Subscribe now


Side note on if we should try to precisely reproduce ChatGPT / GPT4 or not: The power dynamics can dictate this conversation in a very different way, where if the things the OpenAI executives say are true about AGI + LLMs, then reproducing in nearly exact terms becomes much more pressing because of the political / power concerns. To me, the path to AGI via LLMs, if it exists, is very much not restricted to the path OpenAI is on, so we should be okay.


Within this worldview, we have a few buckets of players that'll contribute to which development direction of LLMs wins out most in the coming months. We're in the era of abundance, so how success is viewed by each of these groups really comes down to the relative margin to their peers. Generally, I think the buckets are most interesting to consider in a) how they train models, b) how they use them, and c) who uses them.

Of course, there are companies that fall at the border of these groups, but they then tend to demonstrate characteristics from both.

The last three groups will mix and match advancements with each other making the development paths look mixed at first, but I think the trends will start to emerge in the long term. After the early years of AI research when things were chill and cushy, we need to re-establish the roles of each stakeholder creating AI artifacts.

Before the comments about Vicuna / Koala / etc. being academic and huge steps forward, I think these are results of the rapidly changing landscape rather than something we'll see sustainably from core academics. Most academics will be contributing demonstrations like new types of human feedback or fine-tuning techniques, rather than dropping the best models on a regular basis. We're at the stage where open model alternatives are transitioning from instruction fine-tuning (IFT) to full reinforcement learning from human feedback (RLHF) where the requirements on data costs and logistical management are easily 2-4x. The organizations that are successful with RLHF will likely be a strict subset of those releasing capable instruction/chat-tuned models.

At the same time, this academic angle is actually the one I'm most uncertain about. The landscape of AI research had a solidly set equilibrium before this LLM-as-a-product phase kicked off. Now, I suspect the research where academics collaborate with industry continues to be quite similar, but those outside these privileged collaborations take a different approach (which is the majority of people, even if it is not the majority of work that you see). Supposedly, NLP research was already withering away to be just GPT3 fine-tunes before ChatGPT, so this craze may be nothing new, just an acceleration.

Where the majority of independent academic’s work is likely to be fairly indicative of where developments in the field will emerge. The academic system, for all of its flaws, does regularly produce insight. People will start figuring out how to do LLM research other than fine-tuning OpenAI's APIs now that there is more industrial and open-source competition in that space, but it takes a bit for new research incentives (such as the tons of AI safety for LLM research money).

Leave a comment

Research reproduction as a hype mitigation factor

I've been trying to come up with more reasons for the argument for open-sourcing language models and research other than the "we've always done it this way" and "accountability," two reasons that corporations are always going to be quick to fold on. The counterfactual I would love to run is: does the release ChatGPT and GPT4 with full technical papers release the hype dynamics endemic to society right now? When the process is obscure, it's easier for corporations and influencers to dictate communications trends that are based on vibes and not reality. Flipping the switch of both AI's capabilities and how AI is discussed in the public sector at the same time is unfortunate.

That comes to the increasingly rare topic of open reproduction. It's what we're trying to do at HuggingFace this year even though we're yet to release a paper. This type of work would hopefully inform the public about the little things needed to reproduce AI artifacts that are in the average-American discourse, even if has a 12-18 month delay.

The more the groups that are willing to be open about LLMs progress, the more grounded our society's communications could become, I hope.


Elsewhere:

1

Training tools for multi-parallel, large ML like deepspeed and others for high throughput probably matter a lot too. Though, I am not an expert here.