Interconnects

Interconnects

By Nathan LambertScienceTechnology
Download on the App Store

All Interconnects episodes

  • Stop "reinventing" everything to "solve" alignment

    Integrating some non computing science into reinforcement learning from human feedback can give us the models we want.
    This is AI generated audio with Python and 11Labs.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/reinventing-llm-alignment

    0:00 Stop "reinventing" everything to "solve" AI alignment
    2:19 Social Choice for AI Alignment: Dealing with Diverse Human Feedback
    7:03 OLMo 1.7 7B: A truly open model with actually good benchmarks


    Fig 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/reinvention/img_013.png
    Fig 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/reinvention/img_015.png
    Fig 3: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/reinvention/img_018.png
    Fig 4: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/reinvention/img_024.png
    Fig 5: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/reinvention/img_027.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    8 min
  • The end of the "best open LLM"

    Modeling the compute versus performance tradeoff of many open LLMs.
    This is AI generated audio with Python and 11Labs.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/compute-efficient-open-llms

    0:00 The end of the "best open LLM"
    3:05 Compute efficient open LLMs

    Fig 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_004.jpeg
    Fig 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_009.png
    Fig 3: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_014.png
    Fig 4: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_016.png
    Fig 5: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_018.png
    Fig 6: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_020.png
    Fig 7: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_022.png
    Fig 8: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_024.png
    Fig 9: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/scaling/img_028.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    7 min
  • Why we disagree on what open-source AI should be

    Last minute title change from: The tech industry can't agree on what open-source AI means. That's the process.
    How to read what multiple people mean by the word openness and see through the PR speak.
    This is AI generated audio with Python and 11Labs.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/flavors-of-open-source-ai

    0:00 The tech industry can't agree on what open-source AI means. That's the process.
    2:45 1. Effective Accelerationists, Techno-Optimists, capitalists, etc.
    3:39 2. Scientists, promoting understanding and transparency
    5:16 3. Inclusion, public interest, and fighting concentration of power
    6:19 4. Freedom advocates
    7:25 Dissecting "openness"

    Fig 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/openness/img_004.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    9 min
  • DBRX: The new best open LLM and Databricks' ML strategy

    Databricks' new model is surpassing the performance of Mixtral and Llama 2 while still being in a size category that's reasonably accessible.
    This is AI generated audio with Python and 11Labs.
    Source code: https://github.com/natolambert/interconnects-tools
    https://www.interconnects.ai/p/databricks-dbrx-open-llm

    00:00 DBRX: The new best open model and Databricks' ML strategy
    03:36 The DBRX narrative
    07:33 Databricks' open LLM (and AI) strategy
    09:42 Playing with DBRX Instruct
    14:54 Digging for details

    Fig 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_007.png
    Fig 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_012.png
    Fig 3: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_023.png
    Fig 4: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_045.png
    Fig 5: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_047.png
    Fig 6: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_059.png
    Fig 7: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_066.jpeg
    Fig 8: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/dbrx/img_068.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    17 min
  • Evaluations: Trust, performance, and price (bonus, announcing RewardBench)

    Evaluation is not only getting harder with modern LLMs, it's getting harder because it means something different.
    This is AI generated audio with Python and 11Labs. Music generated by Meta's MusicGen.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/evaluations-trust-performance-and-price

    00:00 Evaluations: Trust, performance, and price (bonus, announcing RewardBench)
    03:14 The rising price of evaluation
    05:40 Announcing RewardBench: The First reward model evaluation tool
    08:37 Updates to RLHF evaluation tools

    YouTube code intro: https://youtu.be/CAaHAfCqrBA

    Figure 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/evals/img_026.png
    Figure 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/evals/img_030.png
    Figure 3: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/evals/img_034.png
    Figure 4: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/evals/img_040.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    13 min
  • Model commoditization and product moats

    Where moats are tested now that so many people have trained GPT4 class models. Claude 3, Gemini 1.5, Inflection 2.5, and Mistral Large are here to party.
    This is AI generated audio with Python and 11Labs. Music generated by Meta's MusicGen.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/gpt4-commoditization-and-moats

    00:00 Building LLM moats despite the commoditization of GPT4
    04:38 The Open's opportunities
    08:02 It's amazing people still think LLMs aren't going to be useful
    09:50 Things that are coming

    Figure 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/moats/img_004.png
    Figure 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/moats/img_028.png
    Figure 3: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/moats/img_032.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    11 min
  • The koan of an open-source LLM

    A proposal for a new definition of an "open source" LLM and why no definition will ever just work.
    This is AI generated audio with Python and 11Labs. Music generated by Meta's MusicGen.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/an-open-source-llm

    00:00 The koan of an open-source LLM
    03:22 A new naming scheme for open LLMs
    07:09 Pivot points and politics
    08:16 Claude 3, arms race, commoditization, and national security
    10:01 Doomers debunking bio risks of LLMs themselves
    11:21 Mistral's perceived reversal and the EU
    13:22 Messy points: Transparency, safety, and copyright
    13:32 The muddling of transparency
    15:22 The muddling of "safety"
    16:30 The muddling of licenses and copyright
    20:12 Vibes points and next steps

    Figure 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/open-source/img_046.png
    Figure 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/open-source/img_064.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    24 min
  • Interviewing Louis Castricato of Synth Labs and Eleuther AI on RLHF, Gemini Drama, DPO, founding Carper AI, preference data, reward models, and everything in between

    This interview is available on podcast players and YouTube.

    I’m excited to bring you another interview! This one is a deep dive right in my wheelhouse — all things RLHF. Louis Castricato is probably the hidden star of RLHF in the open. I’m not sure anyone who can speak freely knows as much as him. As I’ve said again and again on Interconnects:

    Giving a voice to researchers is the best way to cut through the noise and understand what is happening with core developments of LLM technologies.

    Louis recently has been founding a new startup focused on synthetic data for alignment, Synth Labs, and is a researcher at Eleuether AI. This interview should speak for itself, and it’ll need re-listens, even for myself. The list of topics we cover touches on pretty much every major and minor issue facing model fine-tuning. Please reach out or comment if there’s a paper we mention that I didn’t link before. Happy to dig it up for you.

    For more on Synth Labs, there was a profile in Bloomberg from Rachel Metz.

    This post is very technical, more than usual. If you’re having a hard time with it, I suggest you listen to my RLHF 201 post on Latent Space first.

    Chapters

    These are generated with smol-podcaster with moderate edits.

    High-level chapters

    * 00:00:00: Introduction

    * 00:01:24: Gemini News and RLHF’s Part in it

    * 00:09:05: Long Context, In-Context, and Multimodal RLHF

    * 00:21:20: What are people missing about RLHF these days?

    * 00:30:30: OpenAI's Influence and the Need for Alternatives

    * 00:39:20: Synth Labs and the Future of Alignment

    * 00:55:00: Evaluation Talk p2: Open-ended Evaluation and Data Diversity

    * 00:59:20: Algorithm Roundup: PPO, DPO, KTO, IPO

    * 01:18:38: CarperAI, Early Days of RLHF, Reflecting on ChatGPT

    Detailed chapters

    * 00:00:00: Introduction and Overview of RLHF

    * 00:02:02: Gemini News, Custom Demographics in Image Prompts, and Controllability Issues in AI Models

    * 00:05:21: Fixing Biases in AI Models Post-Training, Representation in AI Data

    * 00:09:00: Multimodal RLHF and Video RLHF

    * 00:16:09: Evaluating Long Context Behavior in AI Models

    * 00:17:05: The Potential of In-Context RLHF

    * 00:21:24: Shift from PPO to DPO in RLHF

    * 00:23:19: Generalization and Evaluation in RLHF, Human Evaluation

    * 00:27:03: The Discrepancy Between Research and Company Needs in Alignment

    * 00:29:20: Impact of ChatGPT and Language Model Outputs on Data Sets

    * 00:31:39: The Concept of Uncensoring Models

    * 00:34:05: Lack of Safety Data Sets in Instruction Tuning

    * 00:35:23: LMSYS ChatBotArena, AlpacaEval, MT Bench p1

    * 00:39:25: Introduction to Synth Labs and Alignment Platform

    * 00:43:05: Developing OpenCAI Constitutional AI Data Set

    * 00:49:41: The Need for Open-Ended Evaluation in RLHF, eval p2

    * 00:54:13: The Importance of Releasing Models for RLHF Research

    * 00:58:17: Self-Instruction and Self-Rewarding LMs

    * 01:01:03: Working on RLHF at Carper AI

    * 01:04:25: Scaling PPO in RLHF

    * 01:08:01: The Impact of ChatGPT on Carper AI

    * 01:10:56: The Potential of KTO (Kahneman-Tversky Optimization)

    * 01:17:39: The Importance of Implementation Details in RLHF

    * 01:20:14: The Initial Focus at Carper AI

    * 01:23:36: The Future of RLHF and Open Science Collaboration

    Interconnects is a reader-supported publication. Consider becoming a subscriber.

    Papers & artifacts we discuss

    * Recursively Summarizing Books with Human Feedback

    * Needle in a haystack recent example repository.

    * Urial paper: The unlocking spell on base llms: Rethinking alignment via in-context learning

    * Misha paper from Deepmind: In-context Reinforcement Learning with Algorithm Distillation

    * Museli Optimizer: Muesli: Combining Improvements in Policy Optimization

    * Unintended Impacts of LLM Alignment on Global Representation

    * Pink Elephants Problem: Suppressing Pink Elephants with Direct Principle Feedback

    * Cut the Carp: Cut the CARP: Fishing for zero-shot story evaluation

    * MT Bench data for correlating human to GPT4 preferences

    Full transcript

    Note: this is generated by smol-podcaster and has minor bugs post human edits.

    Nathan [00:00:01]: The ticker's going up. Welcome, Louis. You're the second guest on the InterConnects podcast, I think. It's an interesting one for me because everyone kind of points to me now as the person that is in the face of RLHF and I get a lot of questions and to me Louis has represented that person. I think Louis provided a lot most of the information on the first RLHF blog post that I wrote for Hugging Face back in the day. If there's somebody that I want to ask questions about RLHF, it generally goes to him. So now you all are gonna know this in the open. We're gonna cover a lot of things. As always, I'm trying to talk with researchers on the ground and people actually doing things in these topics. I think we're gonna cover a lot of things today. We're in the Latent Space podcast. If you're watching on video, you may have noticed that we're in the Latent Space studio and they reminded us we've got to start off with covering the Gemini news and what that means for RLHF and then most of this is a long docket of the core questions facing the two of us as we're trying to make RLHF more open, more useful, not only about safety but safety is important to it and important to us. So I think we can kind of get going. I think the first question that I have is just get rolling. What is your favorite Rhode Island fact?

    Louis C [00:01:28]: My favorite Rhode Island fact? Oh man, all the H.P. Lovecraft stuff. Like walking around Providence with like friends who like H.P. Lovecraft and be like, oh yeah, you know, this was like that building in Call of Cthulhu or like...

    Nathan [00:01:36]: I don't even know this. I mean, for the record, I grew up in Rhode Island if people didn't know and then that's where Louis spends most of his time these days. Providence. So we'll come back to this. I think I'm just gonna start with kind of the hardest question then it'll get easier for us from here. It's like what was your first reaction when you saw all this Gemini stuff?

    Louis C [00:02:02]: The, you know, the adding custom like races and demographics to like image prompts component, right? Yeah. So Dawley had done that back when Dawley 2 first came out and was like an in beta and people were reporting like a person holding a sign that that says X and then this sign would say black or this line would say white or this line would say Asian. And I, you know, it was a very hacky solution then and I thought a lot about it then as well and I almost felt like, you know, it gets you 90% there for like 1% of the time of the way that you're doing this like, you know, like in a more proper and auditable way of like making sure your training data has like equal representation or making sure your ROHF data has good representation. And, you know, you can't do those things after the fact but what you can do after the fact is like inject things into the prompt to make it more controllable. And it really comes down to the fact that controllability right now is not a solved problem and most of our solutions to controllability are a little bit hacky.

    Nathan [00:03:16]: Yeah, that makes sense. I think to summarize for people this has been an ongoing issue and we're recording on the 27th here. Gemini initially got flack for like actually forcing diversity into historical scenes and then it started getting more flack for flat-out refusing certain requests on race. Like all of this stuff is just like it's like ouch to somebody. Like I know people working on this stuff and it's just like the way that it ends up here is not is not like what a lot of people think. Like the Gemini team is obviously moving fast and it seems to me that the image stuff has always been like a red herring. That's the way that Swicks phrased it as well. It's like somehow he got to the point where a prompt was shipped in this final solution with the further image editing and that's just hard. It's just like obviously there's a big goof up there. But then it's like we're looking at examples and still today like Meta's image generator. So I'm like WhatsApp or whatever you can ask an AI that it'll have similar is…



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    1 hr 27 min
  • How to cultivate a high-signal AI feed

    Basic tips on how to assess inbound ML content and cultivate your news feed.
    This is AI generated audio with Python and 11Labs. Music generated by Meta's MusicGen.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/making-a-ml-feed

    00:00 How I assess all these AI releases
    01:22 1. Model access and demos are king of credibility
    02:31 2. Focus your feed on depth or breadth
    03:09 3. Examples of using the model normally show its usable, shockingly
    04:10 4. Leaderboards as the single leading claim is often anti-signal
    05:00 5. Basic deep learning conceptual checks will often save you
    06:13 6. If it's not even remotely reproducible or verifiable, it's not science
    07:10 7. Don't over-index on Twitter
    08:32 8. Data sharing, licenses, communication clarity, and small things add up
    08:58 9. Research papers, technical reports, blog posts, and Tweets all serve different purposes
    09:49 10. Socialize your information and build relationships



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    11 min
  • Google ships it: Gemma open LLMs and Gemini backlash

    Google rejoins the open model party and gets some backlash for a frequent problem for generative AI.
    This is AI generated audio with Python and 11Labs. Music generated by Meta's MusicGen.
    Source code: https://github.com/natolambert/interconnects-tools
    Original post: https://www.interconnects.ai/p/gemma-google-ships-it

    00:00 Google ships it: Gemma open LLMs and Gemini backlash
    03:12 Getting to know Gemma
    07:11 Alignment details
    08:55 Aside: What is REINFORCE? Some history of RL
    11:08 Implementation details and RLHF
    12:18 Terms of use: RAIL Licenses history repeated
    14:05 Is Google back on top? Gemini's woes

    Figure 1: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/gemma/img_008.webp
    Figure 2: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/gemma/img_014.png
    Figure 3: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/gemma/img_035.png
    Figure 4: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/gemma/img_051.png
    Figure 5: https://huggingface.co/datasets/natolambert/interconnects-figures/resolve/main/gemma/img_055.png



    This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
    18 min