1. Home
  2. No Priors: AI, Machine Learning, Tech, & Startups

Nov 9, 2023

How Mistral builds smaller, cheaper AI models

Arthur Mensch

32 min → 2:31

Overview

Mistral AI CEO Arthur Mensch explains how his company builds powerful, efficient open-source models, the debate between open and closed AI, and why smaller models are crucial for unlocking new applications.

3 things to know

The "Chinchilla" Insight

A key technical principle is that for a given compute budget, training smaller models on significantly more data yields better performance and dramatically lower inference costs compared to simply building the largest possible model.

▶ Watch at 1:07

The Case for Open Source

Arthur argues that the rapid progress in AI until ~2020 was driven by open collaboration.

More

Mistral aims to restore this dynamic, believing that open-sourcing models accelerates innovation, fosters a competitive ecosystem, and enhances safety through broad community scrutiny.

▶ Watch at 11:28

Modular Safety and Guardrails

Mistral's approach to safety is to empower developers.

More

They advocate for providing a raw, capable base model and then offering separate, modular guardrail systems that developers can implement to filter inputs and outputs according to their application's specific needs.

▶ Watch at 24:03

Also in this episode

Future of AI

The path forward involves both training larger, more capable models and using those to distill knowledge into smaller, highly efficient models.

More

This efficiency is critical for making complex applications, such as AI agents, economically viable.

▶ Watch at 4:22

Founding of Mistral

The company was founded by former researchers from DeepMind and Meta who saw an opportunity to build frontier AI models more efficiently, leveraging insights like the Chinchilla scaling laws.

More

Their core values include advancing frontier AI and championing open source.

▶ Watch at 14:18

Quotes

“Assuming that the model should be well-behaved is the wrong assumption. You need to make the assumption that the model should know everything. And then on top of that, have some modules that moderate and guardrail the model.”

▶ Watch at 24:03

“Is open-sourcing today a model that we do, is it a dangerous thing? Is it actually enabling bad actors to misuse the model?... The answer to these questions is no.”

▶ Watch at 14:18

“We definitely saw that there was an opportunity for compressing models more... we've seen with Llama that it was actually possible.”

▶ Watch at 4:22

2 more quotes

“how to make a good model with a limited amount of compute and money... not so limited, but at least more limited than where we were coming from.”

▶ Watch at 1:07

“That's the way we went from something potentially interesting to something very interesting.”

▶ Watch at 11:28

Full summary

Episode Overview

  • This episode features an interview with Arthur Mensch, CEO and co-founder of Mistral AI, a French company that recently released the highly performant open-source model, Mistral 7B.
  • Arthur discusses the founding of Mistral, the technical insights that allow them to build powerful yet efficient models, and the company's commitment to an open-source approach.
  • The conversation covers the debate between open and closed AI models, Mistral's pragmatic philosophy on safety and guardrails, and the future of AI agents.
  • Arthur explains why Europe has the talent to build a leading AI company and how smaller, cost-effective models are crucial for unlocking new applications.

Key Concepts

  • Founding of Mistral: The company was founded by former researchers from DeepMind and Meta who saw an opportunity to build frontier AI models more efficiently, leveraging insights like the Chinchilla scaling laws. Their core values include advancing frontier AI and championing open source.
  • The "Chinchilla" Insight: A key technical principle is that for a given compute budget, training smaller models on significantly more data yields better performance and dramatically lower inference costs compared to simply building the largest possible model.
  • The Case for Open Source: Arthur argues that the rapid progress in AI until ~2020 was driven by open collaboration. Mistral aims to restore this dynamic, believing that open-sourcing models accelerates innovation, fosters a competitive ecosystem, and enhances safety through broad community scrutiny.
  • Modular Safety and Guardrails: Mistral's approach to safety is to empower developers. They advocate for providing a raw, capable base model and then offering separate, modular guardrail systems that developers can implement to filter inputs and outputs according to their application's specific needs.
  • Future of AI: The path forward involves both training larger, more capable models and using those to distill knowledge into smaller, highly efficient models. This efficiency is critical for making complex applications, such as AI agents, economically viable.

Quotes

  • At 01:07 - "how to make a good model with a limited amount of compute and money... not so limited, but at least more limited than where we were coming from." - On the core technical motivation for starting Mistral AI and building efficient models.
  • At 04:22 - "We definitely saw that there was an opportunity for compressing models more... we've seen with Llama that it was actually possible." - On realizing the potential to create smaller, yet powerful models based on new scaling law insights.
  • At 11:28 - "That's the way we went from something potentially interesting to something very interesting." - Explaining how the open exchange of ideas in the research community until ~2020 led to rapid progress in AI.
  • At 14:18 - "Is open-sourcing today a model that we do, is it a dangerous thing? Is it actually enabling bad actors to misuse the model?... The answer to these questions is no." - Stating Mistral's pragmatic conclusion on the current safety risks of open-sourcing models like Mistral 7B.
  • At 24:03 - "Assuming that the model should be well-behaved is the wrong assumption. You need to make the assumption that the model should know everything. And then on top of that, have some modules that moderate and guardrail the model." - Outlining Mistral's philosophy on AI safety, favoring a modular approach over baking restrictions into the base model.

Takeaways

  • Model performance is not just about parameter count; training smaller models on more data is key to achieving high performance with low inference costs.
  • Open-sourcing models can accelerate scientific progress and improve safety by allowing a wider community to innovate on and scrutinize the technology.
  • A layered approach to safety, separating the raw model from its guardrails, allows for greater customization and empowers application developers to define their own policies.
  • The high cost of inference for large models is a major bottleneck for advanced applications like AI agents; efficient, smaller models are crucial for making these economically viable.
  • Europe's deep talent pool in mathematics and computer science creates a fertile ground for building globally competitive AI companies outside of Silicon Valley.

Watch the full episode 32 min

Read along with the audio summary

Arthur Mensch asks a pointed question about open source artificial intelligence: is releasing the models his company builds today actually a dangerous thing that enables bad actors to misuse them? This episode, which came out on November 9, 2023, features an interview with Arthur, the chief executive and cofounder of the French company Mistral AI. By the end, you will understand how smaller, open models are built for high performance and why they are essential for the future of artificial intelligence.

How former tech giant researchers are building frontier AI with less money and computing power.

Arthur and his cofounders wanted to figure out how to make a good model with a more limited amount of compute and money than they had at their previous jobs. As former researchers from DeepMind and Meta, they saw an opportunity to build cutting edge AI models more efficiently while championing open source software, which is technology made freely available for anyone to use and modify.

This drive for efficiency relies on a specific technical discovery that changes how models are built.

Why a smaller AI model can actually beat a massive one on the same budget.

Simply building the largest possible model is not the best way to spend a fixed computing budget. A technical principle known as the Chinchilla scaling laws shows that training smaller models on significantly more data yields better performance than just making a giant model. Because the model is smaller, it also has dramatically lower inference costs, which is the expense of actually running the AI to generate answers.

Why sharing AI code freely with the public could actually make the technology safer.

Arthur argues that the rapid progress in AI up until around 2020 was driven by open collaboration across the research community. Mistral aims to restore that dynamic, believing that open sourcing models accelerates innovation, builds a competitive ecosystem, and enhances safety through broad community scrutiny. As for whether open sourcing a model like theirs today is dangerous or enables bad actors, Arthur states the answer to those questions is no.

Still, releasing open models requires a pragmatic philosophy on how to handle safety.

How separating an AI's knowledge from its safety rules gives developers more control.

Arthur states that assuming a base model should be well behaved is the wrong assumption. Instead, Mistral's philosophy is that the raw base model should know everything, and safety should come from separate, modular guardrail systems placed on top. It works like installing a water filter on your kitchen tap rather than trying to purify the entire city reservoir for every possible use.

Why the future of complex AI agents depends on shrinking down giant models.

The high cost of running large models is a major bottleneck for advanced applications like AI agents. The path forward involves both training larger, more capable models and using those big models to distill knowledge into smaller, highly efficient ones.

Remember that AI performance is not just about model size. Training smaller, open models on more data while using modular guardrails cuts running costs, empowers developers, and unlocks the next wave of AI applications. And then on top of that, have some modules that moderate and guardrail the model.

More from No Priors: AI, Machine Learning, Tech, & Startups

Related Episodes