Beyond GPT-4: What’s New?

Four major trends in Gen AI: LLMs to multimodal, connections to vector DB, agents to OS, and fine-tuning to plugins

Luhui Hu
Towards AI
Published in
6 min readSep 15, 2023

--

Nvidia’s CEO likened ChatGPT to the “iPhone Moment” for AI, making a milestone in iPhone-like technological innovation and economic impact. This shows AI is ushering in the next era of mobile and cloud, which is currently the largest technology ecosystem. Please refer to the four computing eras in the opening diagram.

GPT-4 is the ceiling for all LLMs. And Meta’s Llama 2 is the leader in the LLM open-source community. What’s new after GPT-4?

The AI evolution never stops. There are four exciting trends after GPT-4: from LLMs to multimodal, from connections to vector DB, from agents to OS, and from fine-tuning to plugins.

LLM Variants and Meta’s Open Source

Before shedding light on four major trends, I’d share the latest Meta’s Llama 2 and Code Llama.

Meta’s Llama 2 represents a sophisticated evolution in LLMs. This suite spans models pretrained and fine-tuned across a parameter spectrum of 7 billion to 70 billion. A specialized derivative, Llama 2-Chat, has been engineered explicitly for dialogue-centric applications.

Benchmarking revealed Llama 2’s superior performance over most extant open-source chat models. Human-centric evaluations, focusing on safety and utility metrics, positioned Llama 2-Chat as a potential contender against proprietary, closed-source counterparts.

The development trajectory of Llama 2 emphasized rigorous fine-tuning methodologies. Meta’s transparent delineation of these processes aims to catalyze community-driven advancements in LLMs, underscoring a commitment to collaborative and responsible AI development.

Code Llama is built on top of Llama 2 and is available in three models:

  • Code Llama, the foundational code model;
  • Codel Llama — Python specialized for Python;
  • and Code Llama — Instruct, which is fine-tuned for understanding natural language instructions.

Based on its benchmark testing, Code Llama outperformed state-of-the-art publicly available LLMs (except GPT-4) on code tasks.

Llama 2, Llama 2-Chat, and Code Llama are key steps in LLM development but still have a way to go compared to GPT-4. Meta’s open access and commitment to improving these models promise transparent and faster LLM progress in the future.

Please refer to the LLM and Llama variants below:

Source: Yann LeCun post on LinkedIn
Source: Twitter@HippoAI

From LLMs to Multimodal

LLMs, like OpenAI’s ChatGPT (GPT-3.5), primarily focus on understanding and generating human language. They’ve been instrumental in tasks like text generation, translation, and even creative writing. However, their scope is limited to text.

Enter multimodal models like GPT-4. These are a new breed of AI models that can understand and generate not just text, but also images, sounds, and potentially other types of data. The term “multimodal” refers to their ability to process multiple modes or types of data simultaneously. This is a game-changer. Imagine an AI that can not only read a description of a dress but also visualize it or even design it!

Multimodal AI models are moving us towards more holistic AI systems. These systems can potentially understand our world in a more comprehensive manner, bridging the gap between different forms of data and providing richer, more integrated solutions.

As we stand on the cusp of this new era, it’s exciting to envision the myriad of applications and innovations that Multimodal models will bring to the table. The future of AI looks more integrated and versatile than ever before.

From Connections to Vector DB

The AI landscape is witnessing a fascinating transition: from Language Model (LLM) connections or integrations, e.g., LangChain and LlamaIndex, to the rise of Vector Databases (Vector DB) such as Weaviate, Milvus, Pinecone, Chroma, and Vespa.ai. But what’s driving this shift, and why does it matter?

LLM connections, like the LlamaIndex, primarily focus on linking and understanding vast amounts of external data. They’ve been pivotal in creating semantic connections, enabling more intuitive search experiences, and enhancing data accessibility. However, as the volume and variety of data grow, the need for more advanced storage and retrieval mechanisms becomes evident.

This is where Vector DBs come into play. Unlike traditional databases that store data in rows and columns, Vector DBs store data in high-dimensional space, allowing for more efficient and accurate similarity searches. Tools like Weaviate and Milvus are designed to handle massive datasets, making them ideal for tasks like image recognition, recommendation systems, and more.

The rise of Vector DBs represents a broader trend in AI: the quest for more efficient, scalable, and versatile data handling solutions. As we navigate this evolution, it’s clear that the combination of LLMs and Vector DBs will redefine how we store, access, and understand data in the AI-driven future.

From Agents to OS

The AI realm is abuzz with innovations, and one of the most intriguing shifts we’re witnessing is the transition from LLM agents to using LLMs as Operating Systems (OS). Let’s delve into this evolution and its implications.

LLM agents, like AutoGPT, AgentGPT, BabyAGI, and HuggingGPT, have been groundbreaking in automating tasks based on user requests. These agents leverage the power of Language Models (LLMs) to understand and execute commands, making them invaluable in tasks ranging from content generation to data analysis. Their adaptability and intelligence have made them a staple in many AI toolkits.

However, the vision for AI doesn’t stop there. The concept of LLM as an OS is emerging as the next big thing. Imagine an operating system where the core is a language model, orchestrating everything around it. Such a system would not just execute tasks but would understand context, anticipate needs, and offer solutions in real time. It’s like turning the LLM into the brain of the digital ecosystem, making devices and applications more intuitive and responsive than ever.

The move towards LLM as OS signifies a paradigm shift in how we perceive and utilize AI. It’s not just about automation anymore; it’s about creating a seamless, intelligent interface between humans and technology. As we stand on the brink of this transformation, the potential for LLM-driven OS to revolutionize our digital interactions is immense.

From Fine-tuning to Plugins

The world of LLMs is undergoing a transformative shift, moving from intricate fine-tuning processes to the more dynamic realm of plugins. Let’s unpack this evolution.

Historically, fine-tuning has been the cornerstone of LLM optimization. There are two primary ways to fine-tune LLMs: feeding data into the LLM in real-time and directly fine-tuning on the LLM. From a technical standpoint, this involves three methods:

  1. Transfer Learning: Adapting a pre-trained model to new tasks.
  2. Sequential Fine-tuning: Refining models in stages for specific tasks.
  3. Task-specific Fine-tuning: Tailoring models for a particular function.

Moreover, LLM techniques like In-context learning, Few-shot learning, and Zero-shot learning have further enhanced the model’s adaptability, allowing them to understand and generate content with minimal data.

However, the future of LLMs is leaning towards plugins. With the introduction of tools like GPT-4 Plugins, the focus is on extending LLMs seamlessly. Instead of running LLMs as a service, they’re envisioned as platforms. This means integrating LLMs with various tools, enhancing their capabilities, and offering a more modular and scalable approach to AI applications.

The journey from fine-tuning to plugins represents a move from static optimization to dynamic adaptability, ensuring that LLMs remain at the forefront of AI innovation.

In a Nutshell

The AI domain is witnessing rapid shifts, with LLMs playing a central role. Initially, the move was from LLMs to Multimodal models, expanding from text to include images and sounds. Simultaneously, the trend shifted from LLM connections, which linked external data, to Vector Databases for efficient high-dimensional storage.

Another evolution saw LLM agents, which automated tasks, transitioning towards LLMs as Operating Systems. This change aims for more intuitive, context-aware devices and applications. Furthermore, the traditional fine-tuning processes of LLMs are now being replaced by dynamic plugins, turning LLMs into platforms integrated with various tools.

Leading this LLM revolution are OpenAI’s GPT-4 and Meta’s LLaMA2. Their pioneering efforts are setting the stage for an AI future that’s more integrated, responsive, and attuned to human interactions.

More Readings

  1. Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond: https://arxiv.org/abs/2304.13712
  2. Sparks of Artificial General Intelligence: Early experiments with GPT-4: https://arxiv.org/abs/2303.12712
  3. GPT4All-J: https://huggingface.co/nomic-ai/gpt4all-j
  4. Introducing Code Llama, a state-of-the-art large language model for coding: https://ai.meta.com/blog/code-llama-large-language-model-coding/
  5. Llama 2: Open Foundation and Fine-Tuned Chat Models: https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/

--

--

Founder@Aurorain, VC investor. ex-Meta, Microsoft, Amazon. 30+ patents and applications in ML and data cloud.