Skip to content

By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.

a16za16z

Safety in Numbers: Keeping AI Open

Arthur Mensch, co-founder of Mistral and co-author of Deepmind's 2022 "Chinchilla" paper, recently released Mistral-7B, a popular open-source language model. Their latest offering, Mixtral, a mixture of experts model, is attracting attention in the AI community. Join Arthur and a16z General Partner Anjney Midha in a discussion about the nuances of open source, the comparative performance of open and closed models, and the innovations needed for scaling large language models (LLMs) effectively. Topics covered: 00:00 - Introduction to scaling laws and their impact 02:14 - Arthur Mensch and the Founding of Mistral 07:57 - Mistral 7b and the launch of Mixtral 13:27 - Misconceptions about open source, the state of open vs. closed models, and future requirements for scaling LLMs 18:41 - Open Source in AI: Scaling laws, Industry Impact, data efficiency, and new model architectures 22:56 - Safety concerns of open source models. 25:17 - Recommendations for policymakers in regulating AI technologies. 33:17 - Predictions on how advancements in LLMs will change user interactions with technology 36:36 - Potential applications in various fields like gaming and enterprise. 38:53 - Call to action for builders, researchers, and developers Resources: Find Arthur on Twitter: https://twitter.com/arthurmensch Find Anjney on Twitter: https://twitter.com/AnjneyMidha Learn more about Mistral: https://mistral.ai Stay Updated: Find a16z on Twitter: https://twitter.com/a16z Find a16z on LinkedIn: https://www.linkedin.com/company/a16z Subscribe on your favorite podcast app: https://a16z.simplecast.com/ Follow our host: https://twitter.com/stephsmithio Please note that the content here is for informational purposes only; should NOT be taken as legal, business, tax, or investment advice or be used to evaluate any investment or security; and is not directed at any investors or potential investors in any a16z fund. a16z and its affiliates may maintain investments in the companies discussed. For more details please see a16z.com/disclosures.

Anjney MidhahostArthur Menschguest
Dec 28, 202339mWatch on YouTube ↗

Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.

CHAPTERS

  1. 0:00 – 2:15

    Scaling Laws and the Episode Setup

    Anjney Midha introduces scaling laws, the 2022 Chinchilla paper, and Arthur Mensch's role in it. He explains how Mensch co-founded Mistral with two former Meta researchers and previews the topics of the conversation.

    • •The 2022 paper showed data sets mattered more than sheer model size
    • •Mensch co-authored it while at DeepMind
    • •Mistral was founded with Guillaume Lample and Timothée Lacroix, who worked on Llama
    • •Mistral 7B and the new Mixtral mixture of experts model are introduced
    • •Preview of open versus closed models and compute, data and algorithmic innovation
  2. 2:15 – 4:40

    The Chinchilla Paper and Compute-Optimal Scaling

    Mensch explains how earlier scaling-law work led to a misconception that model size should grow much faster than data. His team found that compute, model size and data should scale together, which led to Chinchilla.

    • •Earlier work advised scaling model size much faster than data
    • •Papers in 2021, including work at DeepMind on Gopher, made this mistake
    • •The corrected rule is that 4x compute means roughly 2x model size and 2x data
    • •This scaling stays consistent as everything grows, and multiple runs confirmed it
  3. 4:40 – 8:26

    Founding Mistral and Llama's Over-Training Insight

    Mensch describes how the three founders knew each other from school and parallel careers at DeepMind and Meta. He explains that ChatGPT signaled an opportunity for a more open approach, and how Llama showed that over-training smaller models cuts inference cost.

    • •The founders met through school and earlier collaborations in Paris
    • •Mensch's DeepMind work included RETRO, Chinchilla and Flamingo
    • •ChatGPT signaled an opportunity for a small team distributing the technology openly
    • •Llama went beyond Chinchilla by training on more tokens for cheaper inference
  4. 8:26 – 13:19

    Mixtral and Sparse Mixture of Experts

    Mensch explains how Mixtral's sparse mixture of experts works and how it differs from dense models. He covers the cost and latency benefits and the training and deployment challenges.

    • •Dense layers are duplicated into experts with a router sending each token to two of eight
    • •46 billion total parameters but only about 12 billion executed per token
    • •Mixtral is on par with Llama 2 70B while about six times cheaper or faster
    • •Challenges include mathematically correct training, hardware efficiency and communication between experts
    • •An open source package based on vLLM was released for inference
  5. 13:19 – 17:56

    Why Mistral Chose Open Source

    Mensch explains that Mistral's open approach is both ideological and pragmatic. He recounts how information sharing drove AI progress until companies became opaque after GPT-3, and describes the open-weights, modular philosophy and the open core business model.

    • •Progress from 2012 to 2022 was driven by the free flow of information
    • •Communication largely stopped around 2020 to 2022, which the founders regretted
    • •Developers want deep access to modify models
    • •Open weights allow interpretability and adaptation to proprietary data
    • •Pre-trained models should be neutral, with customers setting their own editorial approach
  6. 17:56 – 21:26

    Open vs. Closed Models and Community Innovation

    Mensch gives his view of the performance gap between open and closed models, saying it is around six months and closing. He describes how the community has built on Mistral 7B and why he expects open models to converge with proprietary ones.

    • •Mixtral performs similarly to GPT-3.5, and internal models sit between 3.5 and 4
    • •The gap is about six months, and open source moves faster
    • •Mensch compares open source in AI to Linux on the internet
    • •Community work includes 128K context extension, image encoders and DPO from Hugging Face
    • •Mistral 7B has run on laptops, an iPhone and a stuffed parrot
  7. 21:26 – 23:49

    Is Open Source Less Safe?

    Asked about the common view that open models are less safe, Mensch argues that current models are a compression of the internet. He says scrutiny of open models helps find misuse and build countermeasures, as with cybersecurity.

    • •Current models are compared to the printing press as a way of making knowledge flow
    • •Misuse risks exist for both open and closed models
    • •Closed APIs can be exploited, including through fine-tuning access
    • •Open scrutiny is likened to how breaches are found in operating systems and networks
    • •Midha adds that many red teamers raise the odds of finding biases and risks
  8. 23:49 – 31:47

    Advice for Policymakers: Regulate Applications, Not Math

    Mensch describes what Mistral tells regulators, including that independent safety checkers need open models. He argues that models are like programming languages and that regulation should target applications, not the technology or training FLOPS.

    • •Empirical monitoring is best done through open source
    • •Independent product-safety evaluation needs strong open models they can own
    • •Regulation burden and the need to stay at the frontier are risks to open models
    • •A model is like a programming language, while the application is the product to regulate
    • •Pre-market FLOPS thresholds are not a good measure, and strong evaluations are favored
  9. 31:47 – 35:08

    Next Frontiers: Data Efficiency, Reasoning and Adaptive Compute

    Mensch names reasoning and training inefficiency as the weak points of current models. He discusses data quality, adaptive compute, and how to judge whether models truly reason.

    • •Training is inefficient compared to the brain, by a factor he puts around 100,000
    • •The frontier includes data efficiency, reasoning and adaptive compute
    • •Better data filtering and new techniques are still to be invented
    • •Whether models reason or retrieve is hard to tell, but what matters is whether it works
    • •Evaluating out of distribution, for example in mathematics, helps, and mathematicians like Terence Tao are using LLMs
  10. 35:08 – 37:25

    The Future of Applications: Specialized Models, Games and Enterprise

    Mensch predicts that in five years developers will use specialized small models inside complex systems, tuned for low cost and latency. He expects more interactive interfaces, with examples in games and enterprise personas.

    • •Developers will want the smallest, lowest-latency model suited to each task
    • •Different LLMs will serve different parts of complex applications
    • •The internet in five years will be much more interactive
    • •Games could use swarms of small interacting models
    • •Enterprise applications could use different personas on the same model with different prompts and fine-tuning
  11. 37:25 – 39:02

    Call to Action for Builders

    Mensch urges application makers to build with Mistral models. He says the stack is clear and efficient and can run on a few GPUs or even a MacBook Pro, then Midha closes the episode.

    • •Builders should take Mistral models and build applications
    • •The stack is becoming clear and efficient
    • •A couple of GPUs, or even a MacBook Pro, are enough to start
    • •Software development today differs greatly from a year ago
    • •Mistral aims to enable application makers to build as fast as possible

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.