What is an LLM? A Brief History of Large Language Models

February 21, 2024

What is an LLM? A Brief History of Large Language Models and AI

Over the past decade, artificial intelligence (AI) has advanced tremendously thanks to a class of machine learning models called Large Language Models (LLMs). As the name suggests, LLMs are language-based AI models that have been trained on massive text datasets, allowing them to generate human-like text and engage in tasks like translation, summarization, and question answering.

A Bit of History

The origins of LLMs trace back to 2018-2019 with OpenAI's creation of GPT-2. Up until that point, most language models were relatively small in size, constrained by the available computation power. However, advances in model architecture, data, and compute enabled the training of much larger models.

GPT-2 astonished the AI community by its ability to generate coherent paragraphs of text, while exhibiting some understanding of context and even humor. While not intended for public release due to concerns over misuse, the capabilities of GPT-2 demonstrated the potential of scaling up language models.

This set off a race between organizations like Google, Facebook, OpenAI, and others to create ever-larger LLMs. Each new model achieved better performance on natural language tasks while requiring more computational resources to train.

The Rise of Foundation Models

In 2020, OpenAI unveiled GPT-3, which contained over 175 billion parameters. This LLM was notable not just for its size, but because it could be adapted to perform well on many different NLP tasks using a technique called fine-tuning. By training the base model on a downstream task using a much smaller dataset, strong performance could be achieved without nearly as much compute.

As a result, LLMs like GPT-3 are often referred to as Foundation Models. The pre-trained weights encode substantial linguistic knowledge that can serve as a foundation for downstream use cases. This paradigm shift has enabled new applications using AI to be developed faster and achieve greater capabilities.

LLMs Continue to Grow

As of 2024, LLMs continue to rapidly scale in size. 2022 saw the introduction of models like PaLM with 540 billion parameters, as well as Anthropic's Constitutional AI Assistant (Claude) with 128 billion parameters.

Most well known in 2023, OpenAI unveiled the Generative AI Assistant (ChatGPT) and Google introduced Bard. Both ChatGPT and Bard are believed to have over 100 billion parameters.

The LLMs powering these AI assistants have been fine-tuned for dialogue applications. They can engage in multi-turn conversations, answer follow-up questions, challenge incorrect premises, and even admit mistakes.

Behind the Scenes

But what exactly does it mean for an LLM to have billions of parameters? And why does scale lead to improved performance?

In simple terms, the parameters refer to the weights learned during training between the artificial neurons in these neural networks. More parameters allow the model to encode more concepts and patterns related to language.

Training occurs by showing these models vast datasets of text from books, Wikipedia, web pages, and more. The models optimize their internal parameters to get better at predicting the next word in a sentence across this diverse range of content.

Over time and with enough data, the models develop substantial understanding about language structure, factual knowledge, causality, and even social dynamics. Combined with increased model depth and advanced training techniques like reinforcement learning, this ultimately leads to strong language generation capabilities.

Current Capabilities and Limitations

The latest LLMs like ChatGPT showcase remarkable abilities. They can summarize complex information, translate between languages, write essays, code simple programs, and even generate images based on text descriptions.

However, these models do still have significant limitations:

  • They lack deeper reasoning abilities and struggle with complex logical inferences or mathematical word problems.
  • Their knowledge cuts off in 2021-2022 since that's when they were trained. So they excel at general knowledge but do poorly on recent events.
  • They can occasionally generate factually incorrect or nonsensical statements.
  • There are still concerns around bias, fairness, and misuse of the technology.

Nonetheless, rapid progress is being made to address these weaknesses through techniques like chain-of-thought prompting, reinforcement learning from human feedback, and alignment techniques to embed human values.

The Future of LLMs

It's an incredibly exciting time for natural language processing. With model sizes continuing to scale exponentially thanks to advances in supercomputing, so do the capabilities of these models.

Many experts believe that within the next 1-2 years, LLMs will reach human-level proficiency at most language tasks. Beyond aiding human productivity, this could enable applications like intelligent search engines, voice assistants, and even AI tutors.

However, responsible development of LLMs will require continued vigilance around safety and ethics in addition to technical progress. But if developed properly, these models could profoundly transform how we acquire knowledge and accelerate scientific progress.

The next decade will reveal just how far LLMs can continue to scale. Perhaps one day in the future they may come to match or even exceed human linguistic intelligence across the board. Only time will tell, but the future looks bright for this rapidly developing technology that promises to push the frontiers of artificial intelligence.

Grow your business.
The time is now for enterprises to explore how LLMs can address their pain points and supercharge their operations. Start with small pilots, learn iteratively, partner strategically, and focus on use cases that improve productivity, efficiency and customer satisfaction. With the right strategy, LLMs can help future-proof your business. Don't get left behind in the AI revolution.
Join our Mailing List