Open the WaytoAGI knowledge base on Feishu · 100M+ visits, open to everyone →
WaytoAGI

Knowledge Base · Learning paths

4 Breakthroughs in Generative AI

Generative AI is advancing on four key fronts: grounding (reducing hallucinations and bias), memory (expanding context and retrieval), tool use (giving models the ability to act), and multimodality (combining text, image, and audio). These advances are expected to make LLMs more reliable, personalized, and practical within 6–12 months, accelerating adoption in enterprise and consumer applications.

generative AI breakthroughsLLM reliabilityAI hallucination reductioncontext windowretrieval augmented generation

Translated from Chinese by AI. Spotted an issue? Use the feedback button.

Original link: https://a16z.com/2023/06/23/the-next-token-of-progress-4-unlocks-on-the-generative-ai-horizon/

Translator: DoraFactory. If there are any flaws, please correct them in the paragraph comments. Many thanks.

Date: June 23, 2023

Large language models (LLMs) have become a hot topic in the tech industry, offering us some astonishing experiences—from writing a week's worth of code in seconds to generating conversations that are more empathetic than those with humans. Trained on trillions of tokens using tens of thousands of GPUs, LLMs demonstrate outstanding natural language understanding and have transformed fields such as copywriting and code, propelling us into a new and exciting era of generative AI. As with any emerging technology, generative AI has also drawn criticism. While some of this criticism reflects the current limitations of LLMs' capabilities, we see these obstacles as opportunities for further innovation rather than as inherent flaws of the technology.

To better understand the near-term technological breakthroughs in LLMs and to prepare founders and operators for the future, we spoke with some leading generative AI researchers who are actively building and training some of the largest and most cutting-edge models, including Dario Amodei, CEO of Anthropic; Aidan Gomez, CEO of Cohere; Noam Shazeer, CEO of Character.AI; and Yoav Shoham of AI21 Labs. These conversations identified four key innovation directions that are coming soon: steering, memory, "hands and feet," and multimodality. In this article, we discuss how these key innovations will develop over the next 6 to 12 months, and how founders interested in integrating AI into their businesses can take advantage of these new developments.

Steering

Many founders are concerned about using LLMs in their products and workflows because these models may hallucinate and reproduce biases. To address these issues, some leading model companies are working on improving steering techniques—a way to better control model outputs in LLMs, enabling models to better understand and execute complex user requests. Noam Shazeer noted the similarities between LLMs and children in this regard: "It's a question of how to better guide [the model]... The problem we face with LLMs is that we need the right way to tell them how to act as we ask. It's the same with young children—they sometimes make things up and don't have a clear understanding of fantasy versus reality." Although significant progress has been made in steering capabilities with the emergence of model providers and tools such as Guardrails and LMQL, researchers continue to make advances, which we believe are essential to better productizing LLMs for end users.

Improved steering is especially important in enterprise companies, where the consequences of unpredictable behavior can be costly. Amodei points out that the unpredictability of LLMs makes people uneasy, and as an API provider, he wants to be able to "tell customers 'no, the model won't do this,' or at least that it will do so only very rarely." By improving LLM outputs, founders can be more confident that model performance matches customer needs. Improved steering will also pave the way for broad adoption in other industries with higher requirements for precision and reliability, such as advertising, where the stakes of ad placement are high. Amodei also believes improved steering can be applied to "legal use cases, medical use cases, storing financial information and managing financial bets, and scenarios where corporate brands need to be protected. You don't want the technology you integrate to be unpredictable, hard to predict, or hard to characterize." With better steering, LLMs will also be able to complete more complex tasks with less prompt engineering, because they will be better able to understand overall intent.

Progress in LLM steering may also open up new possibilities in sensitive consumer applications where users expect customization and accurate responses. While users may tolerate lower-accuracy outputs when conversing or interacting creatively with LLMs, they expect more accurate outputs when using LLMs to assist with daily tasks, guide important decisions, or augment professionals such as life coaches, therapists, and doctors. Some have noted that LLMs hold promise for replacing deeply entrenched consumer applications such as search, but before that becomes truly possible, we may need better steering to improve model outputs and build user trust.

Key breakthrough: Users can better customize LLM outputs.

Memory

LLM-powered copywriting and ad-generation applications have achieved tremendous success, rapidly gaining popularity among marketers, advertisers, and entrepreneurs. However, most current LLM outputs are relatively generic, making them difficult to use for cases that require personalization and contextual understanding. Although prompt engineering and fine-tuning can provide some degree of personalization, prompt engineering scales poorly, and fine-tuning is often costly because it requires some retraining and usually close collaboration with most closed-source LLMs. Fine-tuning a model for each individual user is usually infeasible or undesirable.

In-context learning is the holy grail for achieving this, with LLMs drawing information from content generated by your company, your company's specific jargon, and specific contexts to create more refined, use-case-specific outputs. To achieve this, LLMs need enhanced memory capabilities. LLM memory has two main components: the context window and retrieval. The context window is the text that a model can process and use to guide its output, in addition to the data corpus on which it was trained. Retrieval refers to retrieving and referencing relevant information and documents ("context data") from data sources outside the model's training data corpus. Currently, most LLMs have limited context windows and cannot natively retrieve additional information, so their generated outputs lack personalization. However, with larger context windows and improved retrieval, LLMs can directly provide more refined outputs tailored to individual use cases.

In particular, by expanding the context window, models will be able to process larger amounts of text and better maintain context, including maintaining coherence in conversations. This will further significantly improve the model's ability in tasks requiring a deeper understanding of longer inputs, such as summarizing long articles or generating coherent and contextually accurate responses in long conversations. In terms of context windows, we have already seen significant improvements—GPT-4 has 8k and 32k token context windows, compared with 4k and 16k tokens for GPT-3.5 and ChatGPT respectively, while Claude recently expanded its context window to an impressive 100k tokens.

Expanding the context window alone does not sufficiently improve memory, because the cost and time of inference scale quasi-linearly or even quadratically with prompt length. Retrieval mechanisms augment and refine the LLM's original training corpus with context data relevant to the prompt. Because LLMs are trained on a body of information and are generally difficult to update, the two main benefits of retrieval, according to Shoham, are: "First, it allows you to access information sources that were not available at training time. Second, it allows you to focus the language model on the information you consider relevant to the task." Vector databases (such as Pinecone) have become the de facto standard for efficiently retrieving relevant information and serve as a memory layer for LLMs, making it easier for models to quickly and accurately search and reference the right data within massive amounts of information.

Increased context windows and retrieval will be especially important in enterprise use cases, such as navigating large knowledge bases or complex databases. Companies will be able to better leverage their proprietary data—such as internal knowledge, historical customer support tickets, or financial results—as input to LLMs without fine-tuning. Improved LLM memory will bring improved and deeply customized capabilities in areas such as training, reporting, internal search, data analytics and business intelligence, and customer support.

In the consumer space, improved context windows and retrieval will enable powerful personalization, revolutionizing user experience. Noam Shazeer believes: "One of the major breakthroughs will be developing a model with very high memory capacity that can be customized for each user while still being cost-effective at scale. You want your therapist to know every aspect of your life; you want your teacher to know what you have already mastered; you want your life coach to be able to advise you on what is happening. They all need context." Aidan Gomez is also excited about this development. "By giving the model access to data uniquely relevant to you, such as your emails, calendar, or direct messages," he said, "the model will understand your relationships with different people and how you talk with friends or colleagues, and in that context help you be as helpful as possible."

Key breakthrough: LLMs will be able to take into account large amounts of relevant information and provide more personalized, customized, and useful outputs.

"Arms and Legs": Giving Models the Ability to Use Tools

The real power of LLMs lies in making natural language a medium for action. LLMs have a sophisticated understanding of common, well-documented systems, but they cannot execute any of the information extracted from those systems. For example, OpenAI's ChatGPT, Anthropic's Claude, and Character AI's Lily can describe in detail how to book a flight, but they cannot natively book a flight themselves (though technological advances such as ChatGPT plugins are pushing this boundary). Amodei said: "This brain theoretically has all this knowledge; it is just missing the mapping from names to buttons." He said: "It doesn't take much training to connect these cables. You have a brain without a body; it knows how to move, but it hasn't been connected to arms and legs yet."

Over time, we have seen companies continuously improve LLMs' ability to use tools. Established companies like Bing and Google, and startups like Perplexity and You.com, launched search APIs. AI21 Labs launched Jurassic-X, which addresses many shortcomings of standalone LLMs by combining the model with a set of predefined tools (including a calculator, weather API, Wikipedia API, and databases). OpenAI launched a beta of ChatGPT plugins, allowing ChatGPT to interact with tools such as Expedia, OpenTable, Wolfram, Instacart, Speak, a web browser, and a code interpreter; this breakthrough is considered akin to Apple's "App Store" moment. Recently, OpenAI introduced function calling in GPT-3.5 and GPT-4, allowing developers to link GPT's capabilities with any external tool.

By shifting from knowledge mining to action orientation, adding arms and legs is expected to enable a range of use cases across various companies and user types. For consumers, LLMs may soon be able to suggest a recipe and then order the ingredients you need, or suggest a brunch spot and book a table for you. In the enterprise space, founders can make their applications easier to use by connecting to LLMs. As Amodei noted: "For functions that are very difficult to use from a UI perspective, we may be able to accomplish complex operations simply by describing them in natural language." For example, for applications like Salesforce, LLM integration should allow users to make updates in natural language and have the model automatically make those changes, greatly reducing the time required to maintain a CRM. Startups like Cohere and Adept are working on integrating LLMs into such complex tools.

Gomez believes that while the likelihood of LLMs being able to use applications like Excel within 2 years is increasing, "there is still a lot of refinement work to be done. We will have the first generation of models capable of using tools, and it will be compelling but fragile. Eventually, we will get the dream system where we can hand any software to the model with some description, such as 'this is what the tool does, this is how to use it,' and it will be able to use it. Once we can provide LLMs with specific and general tools, the automation it brings will be the pinnacle of our field."

Key breakthrough: LLMs will be able to interact more effectively with the tools we use today.

Multimodality

Although chat interfaces are exciting and intuitive to many users, humans may hear and speak language as often or more often than they write or read it. As Amodei points out: "There are limits to what AI systems can do because not everything is text." Models with multimodal capabilities can seamlessly process and generate content in multiple audio or visual formats, extending this interaction beyond language. Models like GPT-4, Character.AI, and Meta's ImageBind can already process and generate images, audio, and other modalities, but their abilities in this area are still fairly basic, despite rapid progress. In Gomez's words, our models are literally blind today, and this needs to change. We have built many graphical user interfaces (GUIs) that assume users can see.

As LLMs continue to evolve and better understand and interact with multiple modalities, they will be able to use existing applications that rely on GUIs, such as browsers. They can also provide consumers with more engaging, coherent, and comprehensive experiences, enabling users to interact beyond the chat interface. Shazeer notes: "Many excellent integrations of multimodal models can make things more engaging and more closely connected to users." He also says: "I think most of the core intelligence today comes from text, but audio and video can make these things more interesting." From video chatting with an AI tutor to collaborating with AI to iterate on and write TV drama scripts, multimodality has the potential to transform entertainment, learning and development, and content generation across a variety of consumer and enterprise use cases.

Multimodality is closely related to tool use. Although LLMs may initially connect to external software through APIs, multimodality will enable LLMs to use tools designed for humans but without custom integrations, such as traditional enterprise resource planning (ERP) systems, desktop applications, medical devices, or manufacturing machinery. In this area, we have already seen exciting progress: for example, Google's Med-PaLM-2 model can synthesize mammography and X-ray images. And in the long run, multimodality (especially integration with computer vision) can extend LLMs into our own physical reality through robots, autonomous vehicles, and other applications that require real-time interaction with the physical world.

Key breakthrough point: Multimodal models can reason about images, video, and even the physical environment without significant customization.

Although LLMs have some practical limitations, researchers have made astonishing improvements to these models in a short period of time. In fact, we have updated this article multiple times while writing it, which proves the rapid development of technology in this field. Gomez agrees: "An LLM fabricating facts 1 out of 20 times is clearly still too high. But I am really quite confident that this is the first time we have built such a system. People's expectations are quite high, so the goal has shifted from 'computers are dumb and can only do math' to 'a person might do better.' We have bridged the gap enough that criticism is focused on what humans can do."

We are especially excited about the following four innovations, which are at the tipping point of changing how entrepreneurs build products and run companies. In the long run, the potential is even greater. Amodei predicts: "At some point, we may have a model that can read all biological data and find a cure for cancer." The reality is that the best new applications may still be unknown. At Character.AI, Shazeer lets users develop these use cases: "We will see many new applications unlocked. It is hard for me to say what those applications will be. There will be millions of applications, and users are better than a few engineers at discovering how to use technology." We cannot wait to see how these advances will affect the way we live and work as entrepreneurs and companies, because these new tools and capabilities empower us in new ways.