Skip to content
Information Theory for Language Models: Jack Morris episode artwork

Jul 2, 2025 1 hr 18 min

Information Theory for Language Models: Jack Morris

from Latent Space: The AI Engineer Podcast Hosted by Latent.Space

Our last AI PhD grad student feature was Shunyu Yao, who happened to focus on Language Agents for his thesis and immediately went to work on them for OpenAI. Our pick this year is Jack Morris, who bucks the “hot” trends by -not- working on agents, benc...

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Information Theory for Language Models: Jack Morris

0:00 1:18:13
of matches

Transcript Auto-generated, may contain errors

Hello, this is Layton Space, Jess Swix today with our special guest, Jack Morris, a guest from Columbia. That's your affiliation right now? Cornell. It's actually confusing because I'm in the New York City outpost of Cornell. So you have the city, right? But it's Cornell Tech, which is like a small Cornell campus in New York. I just, you're a student of Sasha Rush who teaches at Cornell. So I should have made that connection. Okay, yeah, I'm sorry. Wow, that's a horrible mistake to make right off the bat. But you're one of, look, you're one of the, there are not that many PhD students that make an impact with their research. The last time.

someone like this happens was Shen Yu from Princeton and he joined the OpenAI operator team quite shortly after he graduated. So like you're one of those like high profile PhD students at least that's like coming out of the program and like I figured like it was a good time to just like talk about your work and also the fact that you're looking for like which lab you're going to join. That's like a whole interesting meta discussion especially with like the insane market for AI talent these days. What's it like to be an AI grad student these days? Yeah and thanks for having me. I guess maybe we can go back to when things first started or like put yourself in my shoes and

2017, 2018, I really learned a lot about machine learning. And I went to a state university. It's a good school, but they didn't have like a deep learning research department or anything. They had people doing it, but it was just not as big at that time. But I was getting really interested in those topics, especially as applied to language. And then in 2019, I kind of was starting to do research. And I think thinking about my career, I mean, at that point, I was 20, 21. I was thinking about...

Like, where do I want to be career-wise or like who's doing the coolest stuff right now? Like looking at like what kind of stuff is coming out at that time. I mean, I think AlphaGo, I thought AlphaGo was really good. At that time, I was playing a lot with like BERT and BERT-based models. So like, you know, Google, DeepMind, they're doing great work. GPT-2, GPT-1 from OpenAI were like interesting. But I think most people were into BERT at that time. I still have a soft spot for like that parameter class of like 100 million to 1 billion scale models. But this is all to say, I think at that time, I felt like the people doing a lot of the most impactful work were like...

professors and PhD students, like just a ton of like interesting ideas being explored and cool opportunities in academia. So I ended up applying to grad school. Well, at first I did this Google AI residency program, which was mostly during the pandemic, like 2020 and then 2021. And then I was also applying to grad school, started grad school in 2021. That's still what was going on at that time. Like around, I guess GPT-3, 175 billion had been released, but not InstructGPT. So like we had pre-training and sort of the science of pre-training was emerging, but that's where the models were. And I still think like...

I'm glad that I went to grad school and like I had a great experience, but the last five years have changed a lot. Like the whole meta has shifted, you know, like the kind of power dynamics are completely different. The ideas are coming from different places. Most stuff is open. Now most of it's not open. The types of questions people are asking are different. And so, yeah, I mean, for better or for worse, I did go to do the full grad school thing and here I am. It's been really interesting perspective watching.

the science kind of emerged with the products. Like the biggest thing that happened by far was like ChatGPT coming out, which was right in the middle, like what, 2022 before Christmas, like November. I remember that year, like my grandma was asking me about it. And that's when it hit me like, oh, this is actually becoming like a real area that people will know about and understand. Like I was trying to explain it to my parents. And that's when I think things really started to change in terms of the types of questions you wanted to ask.

can't always be answered with academic resources. So a lot of the like fundamental kind of like boundary pushing and AI science moved into companies. That was the year when like, you know, just around Europe as well, everyone in NLP and deep learning were like very confused that like, I think some people were like kind of expecting this already in a sense that they had, they were obviously more clued into large language models. But I think that the sheer amount of consumer level interests that was around at the time in 2022, that completely changed the world. Like now we're just like in a different sphere. Did you have to pivot your research or were you already, you just went from BERT to like...

other stuff. You've done a lot of embeddings work. I mean, you're always heads down working on a problem. So I don't think most people in academia are the type to say, oh, look at this new product that came out. I'm going to abandon everything I'm doing. That can be the right move, you know? Oh, it definitely can. Honestly, if I were to give advice to a younger grad student, I think the way to do it would be literally just like sit and wait until the next kind of paradigm shift and then just immediately start working as fast as you can to like re-implement it. Like, I don't think that's like maybe the best way to do science, but it's probably the best way to play the sort of academic game in the days of AI.

seen that so many times most recently probably with the reasoning models like 01 came out of open ai september 2024 last year and then there's just been this explosion of like you build like abstraction ladders on top of that like first it was re-implementation like how do we even do this and now it's like a lot about the data what's the right data what are the right evals what are the right training schemes like there's so many different axes you can test and publish research in and like i think the easiest way to do that probably is just work in a field like that that like has it only existed for less than one year and so no one has any like big advantage i guess That is mostly correct. I think anyone who jumped on reasoning and RL for LLabs is doing super well. I just saw this morning that one of the recent Stanford Glass students who worked on RL, they just started their company and they're worth $500 million. It's absolutely bonkers right now. No product, just three dudes sitting in some basement somewhere. I mean, undoubtedly cracked, but also not worth $500 million. Yeah, but maybe it's not paying for the product, right? It's like the ideas behind it. Yeah.

there was this big shift from in scale of working with 100 million parameter models. Really what happened is like, I think the company's invested a ton more into training and infra. And like, we all kind of had to catch up. Like, you know, me, I go to Cornell, work with a professor there. He has to buy GPUs. Like, should he buy last year's GPUs or this year's GPUs? How many should he get? That we were kind of like trying to figure that out. And there was like a big lag, I think, where basically the seven and eight billion parameter scale, like there's a huge difference between the bird size models, which are 125 million parameters to 200. And then like the eight billion parameters. I mean, obviously it's two orders of magnitude, but just like,

This idea of emergence, like if you're talking to a model that's 100 million parameters, no matter how well it's trained, it knows nothing. Like if you ask it, like, what's the capital of the state? Or like if you ask who was president of the United States in 1990 or whatever, it'll just always say George Washington because it just associates the words like president United States with George Washington. And then... When you get to the 8 billion parameter scale, suddenly it knows every single president. It knows every single capital of every single country. And I really do think that changes the type of research you can do. And so like it took us a while, I think, in academia to catch up, like getting good 7 billion parameter models and then running them and getting GPUs to run them. Now I think things have stabilized a lot. Like we have access to compute and we can kind of like fine tune and inference that scale of models. And that's like kind of fine. But there was like kind of two years where everyone in academia was working on like smaller models and none of it really mattered. I think sort of branch that discussion in two ways. And we should sort of go to your research at some point. But I'm enjoying this because I think like we don't get to talk about this on the podcast too often.

One is there's an often bit of advice from the industry people to grad students, which is give up, don't work on models, just do benchmarks, right? Like a really good benchmark will get our attention and then we'll hire you and then you can switch to models later. You have, for better or worse, avoided that, which is cool. And we can talk about that as well. But the other thing I think is that around about 7, 8B, maybe 4B is when you start switching from like a single GPU setup to like a distributed setup. And I'm wondering, like, do grad students get HPC training? How much do they teach you of like just how to work with like large clusters of stuff?

Oh, to be clear, they don't teach you anything. Like anything, like if you see a paper coming out from even, you know, Stanford, they're probably the best school in AI if you had to choose. And it's not like they're learning how to do like multi-node distributed FSTP training, like with whatever deep speed. You have to learn that from the internet and from other people. And like, there's no classes that really do that. I mean, that's hard to facilitate like as one person. I would say most grad students are doing stuff on single GPU. Some people are doing multi-GPU training.

probably basically no grad students doing multi-node training. I mean, there's probably a few, especially if they have like company affiliations, but that's really unusual, I think. Okay, for grad students who are looking to get up to speed on that, I would recommend the GPU mode Discord, where basically the PyTorch team is hanging out in there just waiting to help you. And then the other one would be the FastAI team. If you have some kind of thing, Jeremy Howard will basically help you out and they have some distributed training. Honestly, try to reach out to the DeepSpeed team at Microsoft. Like actually, they're reasonably accessible. Nobody talks to them. Like, it's so funny. I like met them in Europe and like they had nobody out there. Like there was presenting DeepSpeed 3. I was the only one asking questions.

Yeah. Yeah, that's good. That's good advice. Listen to this guy. Yeah, I mean, just basically like people are there if you want to ask. This is very, very valuable experience. Once you're like a GPU guide, like you're basically, you know, in like a different tier as a researcher because you don't rely on someone else helping you out. Like you can just kind of be your own research engineer, you know? Yeah, I'll comment on that quickly because if someone has been listening to this and also following me online for a while, I think I've made a couple comments like saying something like you shouldn't learn about CUDA or things to that nature. And I'll give some more color to that.

it's definitely a great idea to learn CUDA if you can. I think my point was that if you're trying to enter this space, like learn about the models, learn about how they're trained, what the data looks like, what the compute looks like, one axis of that is how to do more efficient training and inference. And one part of doing more efficient training and inference is studying the hardware, which is GPUs. So like, I think that's a very small subset of all possible knowledge that you could acquire. And it's probably not the best place for a lot of people to start. That said, if you do it, you've got to be one of the most hireable people in the world. Like if you like...

really deeply understand the architecture of the new GPUs coming out and how to control it, you're in a very small handful of people and like everyone will want to hire you. Actually, the sweet spot is not even CUDA right now. I would say actually it is Mojo. I don't know if you've been paying attention to modular Mojo. Oh, I listened to your podcast, man. You had that guy on the other day. The whole story is Chris Lanner, industry legends, LLVM, Swift, all these things. And now he's turned his attention to the Python CUDA relationship, right? And he wants to basically create a viable CUDA replacement.

It's basically Python married with Rust. For the last two and a half years, it was basically kind of stealth, not ready for production. When he came on our podcast, he was basically announcing to the world, like, we're open for business. Like, you can use this now for most models. And, like, we actually are faster than, like, the native, like, sometimes the PTX implementation. I don't know how that works precisely, but he's a compiler that the language has got. I think there's one of those windows now, like, like you said, like, you know, better early on something that's a shift. It's one of those windows now where you try to implement things. You basically, like, you know, modulates 100 people. If you run into issues, you'll get Chris's personal help on things. Like, I'm not promising it, but, like, probably, you know, like, because he wants to work on...

improving the toolkit. And all you have to do is just like, it's not really about becoming a CUDA god because obviously like once you ramp up on the general concepts and principles, you can probably translate ecosystems pretty effectively. A lot of people switch from like JAX to CUDA. But like the thing is just like being able to experiment very quickly on a limited budget. Like efficiency is not just because you are trying to be an efficiency guru and that's your career and that's kind of boring. But it's really also just about being able to experiment very quickly and finding these ideas.

I also think VLLM and SGLang seem like really good and important and here to stay. Like they'll probably just get larger and more complex to accommodate future systems. But if I were like starting out grad student and working in that area, I'd probably like want to learn more about how they work. Awesome. Let's go to your research. I like to mention that I first came across you because of CDE, the contextual document and bidding paper. You can tell me the story about that, but I just want to show you proof that, you know, I get one slot per day to highlight the number one AI story and you were the slot of the day for October 5th. Oh, no way.

I mean, obviously you were producing work before that, but like I thought CDE was a really cool exploration of like, oh yeah, you know, embedding models are kind of like stuck in a rut. Like here's actually how to make them very efficient by just doing it in two stages. That seems like a relatively simple insight that was done very well. But you have a general maybe information theory thing that maybe we should start with and then we can sort of create this in our way. Yeah, sure. That sounds good. So we can circle back on that. That's really cool that you wrote about it. What was that? Almost coming up on two years ago. Yeah, this is the post I wrote. I called it a new type of information theory. We don't need to...

go into there's this paper about a concept called the information maybe i'll give like the most simple explanation which is if you say you have two text files one text file contains a paragraph of information about new york city and then the other text file contains the same text but encrypted with like saw whatever encryption algorithm so it looks like random letters but if you decrypt it it has the same text as the first text file from the perspective of like shannon's information theory These two files contain the same information content, like relative to everything. They have the same number of bits. But it's very clear to the observer that the first text file, which is plain English text, is like much easier to read and easier to process, even though they have the same information. And so there's this theoretical framework proposed in this paper, which is a theory of usable information under computational constraints from 2020. It really doesn't have that much press. There aren't as many citations as you would think. But I think it's a really, really neat idea. It's like we should measure information with computational.

power as a constraint so like they have this idea they call the information of how much information is extractable from a given like file or code so in that case we could say the left text file actually has more extractable information than the the right text file i think that's like really good that captures a lot of our ideas of how these deep learning systems work like why does pre-training work like if you have two sets of weights and you want to train on some downstream data set one set of weights is pre-trained one set of weights is randomly initialized why is the pre-trained model better at all even though it's never seen your data maybe one way of looking at that is that it has like it makes the information like more extractable somehow like there's this concept of like computational processing that you can almost like store up i like this as a just like a lens to view problems with like how much information is stored where like if you get a set of model weights or like an activation vector and you open it up like print some tensor or an umpire array it looks like random numbers right like there's nothing human intelligible about that but really it's this complex combination of like the training data and the training algorithm which get compressed into model weights and then the actual computation that the model is doing which involves like manipulating these numbers in ways that we don't understand so it's like this really highly compressed non-linear combination of all these information sources mixed with like computation and i just think we don't have like the right words of discussing this i think i like the information theory analogy because

Back in the day, you know, we had phones and like telegraphs and people were just sort of like building the phone system with these crazy heuristics to like send information across the country or send telegraphs across the Atlantic. People were just like trying stuff. And then we kind of found stuff that worked and we ran with it, but it wasn't really optimal. And it wasn't until someone came along and proposed this concept of like a bit, like a one or a zero that tells you something. And once we have a bit, we can do all these things. We can like...

count the amount of information to signal. We can do really good error correction. We can measure properties of distributions of things. And we can build like a really good system for phones. And then eventually, which led to computers. I'm bringing this all up because I don't think we have, I don't think we know what a bit is yet in terms of like deep learning models. I'm going to graduate from my PhD this year, but I didn't figure it out. So if you're listening to this, maybe you can like, I don't know, spend more time on it or you're smarter than me or you have a group of collaborators. You can all get together and figure out what the right lens to look at this stuff is. But even by just asking these questions, I think I was able to conduct this.

research agenda that I'm kind of still working on, actually. Yeah. What do you call this field? I don't know. I don't know. I called the post a new type of information theory. I don't think it exists yet, I guess. So maybe it'll get a name once someone actually comes up with the right set of definitions. I think the information is a really good start. There's a couple of related threads. So first of all, you don't know this, but I actually have been trying to accumulate data about Shannon, like it's sort of like a Shannon information theory view of language models. I have a lot of notes. This is actually on my GitHub for people who are watching along.

You know, at the limit, if a language model has 175 billion parameters using 16-bit, it would take up 350 gigabytes. You can compare that to Wikipedia. Wikipedia is about 150 gigabytes. You know, let's say GPC3 can store two Wikipedias. But like, is that a relevant measure of information storage, right? It is not because you can compress Wikipedia a lot. There's a lot of repeated patterns. Tokenization is like the first form of compression. But I think there's a related talk from Elia Sutskiver about how deep learning...

is machine learning and kind of is compression. Like you have a data set, you compress it into a model that is smaller than a data set, but generalizes and like has like, you know, some amount of acceptable loss. I think that one of your commenters on the post made this direct comparison with Komagawa complexity, which is how Ilya sees it. So I think like people have this information theory idea or approach to language models. It is just not precise because exactly what you say, like we don't know what a bit really means. We don't know what like the most...

legible legibility is a word that comes to mind in terms of like like it matters to us that it's human readable like even if it's shot one shot two five six i don't care but like that is less readable and therefore there's more i guess i don't know entropy is not the word because it's it's directly convertible but it's just less useful yeah yeah yeah useful is a good word i think maybe useful information or usable information is the right lens and komagorov is a really interesting connection like a longer of complexity. I think that's a really good concept for computer scientists. So I'm not sure exactly about this specific talk or like what he was trying to say, but I think that we have a very good understanding of language model pre-training and there's a deep connection between language models and compression. Actually, maybe let's start with the embedding so we can come back to that. Okay. So is this, are we going to the first paper? Actually, let's go to your Wikipedia numbers if you still have access to that. So this 50 gigabytes for text of Wikipedia, that sounds like a pretty high to me. Is that that's uncompressed?

Text files or something? I grabbed it from Andrew Yang, so I don't know. Okay, okay. No, no, I'm probably off. I just sort of have the sense that like when you store text, it's generally like very, very small, especially when you zip it. Maybe he's including all the languages, all the edits. I don't know. Yeah, yeah, that can make sense. That can make sense because I guess what you say from, you know, if you want to do Apple to Apple comparisons, GP3 can store two Wikipedias. Is that right? 2.3 Wikipedias? Two point something, yeah. So I thought it would be a lot more and this is actually an experiment that you could do. You could like just train.

a model on Wikipedia and keep training it until you can perfectly extract all of Wikipedia. And that would be like a good way of knowing like how many Wikipedias can CPT store. I like that idea. But I think this type of like back of the envelope math is really useful for thinking about problems and like grounding yourself in the real world, even if you can never quite answer the questions you want to answer, at least like in four years. If we think about embeddings, you know, vectors that people use for search, we can do the exact same kind of math. So if you use the OpenAI embeddings, which last time I checked, I think have 1,536 dimensions. So that if you say there's 16 bits.

per dimension and like half precision floating point. It's something like 20 kilobytes of information in a vector. And if you want to store 20 kilobytes of text, that's a lot of text, like many, many paragraphs that you can perfectly compress into 20 kilobytes. And so I think this is kind of like the idea we had. I'll give you the practical explanation, which was, well, first of all, I'm a second year grad student. I'm like going to these conferences, seeing all these other things people working on and thinking, you know, like, what the heck, like, how am I going to like have my own little area to do work in that no one else is working in already? And so I spent a lot of time coming up with bad ideas.

My advisor would say, no, like that's not a good idea to work on. Many times this happened. And like even my first year and a half of grad school was like a lot of exploration and a lot of like coming up with bad ideas. And then honestly, I'd be interested to see how he remembers it. But I think I wrote a sequence of proposals about different projects. And then I came up with this idea. I was like, oh, we should just try to do as well as we can to reverse engineer the text that's in embeddings. And then we were talking about it. He was like, oh yeah, you should just do that. And then that was the end of the proposals. And then I was just working on that problem for a long time. Which at the time I was really motivated by that because I was like, cool, like my first.

as a grad student, my first sort of like official like sign off on like coming up with a good research idea. And at the same time, there was this big rise of this startup business model called like a vector database. And there are all these companies popping up, raising money, raising money, getting like crazy funding. And then actual applications being built that do something where instead of exchanging customer data, they exchange vectors. So we had this like very grounded question of like, what data are they actually sending when they send the vectors? Like, first of all, you have this information theoretic argument that when you send one vector, there should be a lot of text recoverable just in terms of like a lot of these things.

represent very short documents, but they actually have many, many bits. So, like, the problem seems trackable. And then second of all, we had this justification of how the product is actually being used. Like, if someone hacks into a vector database, what do they actually find, if that makes sense? So we were working on that for a while. I think I have the talk that you did that Sasha highlighted is this one. Oh, yeah, yeah, yeah. Maybe that has the graphic that would kind of... Oh, go one before, I think. One before? This is actually... Yeah, this one's good, yeah. I like having visual aid. I like giving people breadcrumbs to follow up if they're interested in digging more. But yeah, I remember this was a pretty hot area of research at the time.

And there's been some really interesting follow-ups. Like we ended up building a system that can do this quite well, like taking an embedding and I think our highlight number is like at a certain length, like a long sentence length, we can get 90% of the text back exactly. And a lot of people were able to do stuff with that. Like they can, for example, I know these people that work on a problem of like debiasing embeddings and like on one data set they do something, they have a procedure for like removing all latent features that correlate with gender. So they can produce like useful embeddings that...

from some perspective, have no like information or usable information about gender. And they've been doing that for a while. And then they actually just use our tool. And they, so like they would put in a sentence like, this woman is a doctor at Weill Cornell Hospital in New York. Or say this woman is a doctor. She works at Weill Cornell. And then they would run their procedure. And then they run our embedding to text model. And now it would say like, this person is a doctor. They work at Weill Cornell, which is pretty cool. So they have like sort of text-based evidence that their method is actually removing gender features. But let me talk for a second about.

the research phase here because I thought it would be I mean I know if you ever heard me talk about this I probably told you about it but just for a wider audience I like thinking back on this because it was probably my in some sense like my greatest victory of grad school was like working on this embedding inversion problem for a while for quite a while and proposing a lot of approaches and like testing stuff I think sometimes you do stuff and it's clear it was a bad idea sometimes you think you should have figured it out earlier and then sometimes you do stuff and you kind of realize it's really complicated and probably not worth it so I was testing different decoding algorithms for embeddings that are closer or text that's closer to the text that's in embeddings. And I was testing these kind of like inference time adaptation models for samplers. I think we tried a lot of architecture and like kind of training tweaks. We should have tried RL. I think that would work. But we finally found something that ended up working. And I guess I'm just saying this all because I thought it was like so rewarding. Like we were just banging our heads against the wall. I have biweekly meetings with my advisor who kind of suggests things. Sometimes we agree we're mutually stuck. Sometimes.

And we get feedback one way or another and try something new or try a couple things. And we had this idea that it was possible from the information theory arguments and this other thing where we would kind of like take our best guess at what the text was and re-embed it and see that it was kind of far from the true embedding. So we had this proof that like a better method could like leverage this kind of information. And then when we finally solved it, it was awesome. Like we had this number that was like 30 for months. I think at one point I got it to 35.

And actually, I think I was like, oh, I'm done. Like I got it to 35. And my advisor told me, oh, no, like that's, you can't really just propose a new problem and show you push a metric from 30 to 35. That's like confusing and probably not that meaningful to people. And I think I was, you know, that was kind of like a local minimum for me where I was like bums. But then we ended up getting the number to like 97 or something, which neither of us knew were possible. We were all just, we're just kind of staring at this graph like, oh my God, like who knew you could get this much information from an embedding. And that was like so great. Like just sort of this, it was so rewarding. And so it was invigorating, honestly, like that research process of like.

we picked a good problem and then we spent so long trying stuff that didn't work, which I'm probably forgetting how frustrating that was. I'm sure it was terrible. But then like actually solving, or at least like coming up with a much better way of solving the problem. I don't know if I'd say we solved it, but we definitely learned a lot from where we started was like, was great. And it completely solidified for me the fact that I should have gone to grad school to have this like life experience and like makes me want to do research forever. You're clearly sort of in love with the journey, which I think is important because this is what keeps you going through the tough parts. Is this a good time to talk about the universal geometry side then?

Yeah, yeah, yeah. Let's do that next. I think that's a good idea. So we have this more recent follow-up. So the first part I was talking about ended up in this paper called Text Embeddings Reveal Almost As Much As Text, which was published in 2023. And then we recently had a paper come out on Archive, which will hopefully be published at some point. And it's called Harnessing the Universal Geometry of Embeddings, which was also, that was probably like the only other time I felt like we've made, like, maybe there have been two more times, but that was probably the second of three times where I felt like we made like a real...

discovery about like the unknown and it was like very rewarding just for its own intrinsic kind of elusiveness and i'll start from explaining it in terms of the prior paper so we built a system that can you know do embeddings to text and it works very well and we're very pleased with ourselves and then we went to a conference we talked to people about it we talked to like the vector databases i think some of them changed our privacy policies which was like somewhat gratifying um and then we kept getting this perpetual question which is like well you're just assuming we use the open ai model or you're just assuming we use the most popular text embedding model if they fine-tune their own model or if they use a model that you're not training an adversary for then you can't solve the problem which is like true like none of the vector detect stuff works unless you have this assumption of like knowing the encoder and also being able to make a lot of queries to it but we had this kind of underlying theory that all of the models learn very similar things like we have some preliminary evidence for that like certain models that are fine-tuned from the same base you can kind of swap their representations without doing much or if you look at the nearest neighbors a lot of the models will give you the exact same nearest neighbors even though they have completely different training bases

And then there's this paper that came out last year called the Platonic Representation Hypothesis from some folks at MIT, which is really, really compelling. And I think just like great intersection of philosophy, representation learning, deep learning research. Like I love this paper and it's such a beautiful idea, which is something like all models are trained on data from the world and there's only one world. And so as the models get better by scaling data and scaling model size, they're sort of converging to learn the exact same thing. And in this paper, they have evidence based on correlations for doing this with vision and language models.

It's very neat. And so we saw this. So basically think about, you know, you're us. You see this platonic representation hypothesis paper. A lot of people have this shared idea. Like, you know, Claude and GBT4 probably do a lot of very similar internal computation because both of them are trained on trillions of tokens of human written text. Even if they have different architectures, like maybe, you know, the actual basis or like the numbers, if you look at them, look different. But in some way, they're like kind of computing the same thing. And I think it's even more true with these like...

embedding models, which have like really only one objective that works. And they're probably all trained on like MS Marco, which is a really popular data set and pre-trained maybe on Wikipedia. But we wanted to basically combine this platonic representation hypothesis idea with the vector text thing and produce a system that can like align models so that we can do embedding inversion. You know, it's valuable for more than just embedding inversion, but you can use this to kind of glue together models. Like that's what actually got me like super excited. And by the way, like I think there's a few related threads. I think we did an episode with Nicholas Carlini where he had an extraction attack on one of the...

the GPT models and they got it fixed. The other thing I want to, I want to just really respond to people just in case they're not taking it through. Being able to invert embeddings also means that you can back out secret prompts or context that might be customer information that's potentially harmful and obviously an attack vector issue. I think one of the things I had a question about was whether or not position embedding does affect it and extension of position embeddings affects it because obviously that context is going to get longer and longer. Your ability to invert will obviously decrease with longer context. Well, now, maybe not that important. No, no, no. You're totally right. So we're operating in this

space in our work where the sequences are relatively short and the embeddings are relatively large. I think we're kind of at a great advantage from that perspective. And you're definitely right. If you embed an entire book to a 500-dimensional vector, there's just no way you could get the entire book back. There must be these kind of collisions. In information theory, if you have lossy compression, two different inputs map to the same code, which means that you can never determine which input.

formed the code and i think that's probably what will start to happen like if you have two books and you swap just one word and you embed them i don't know someone can try this you'll probably get like a perfect collision in that case inversion is impossible and even like when you don't take it to the limit it probably just gets very very hard like things get super compressed so i don't know how well this work scales like it's a great question like exactly how much information you can sort of cram into one of these vectors and i don't have a sense of where the boundary is it'd be interesting to talk to some one of the like linear algebra people from like the math department on like how literally can we take inversion like you know how like what measures of a matrix do they have where we can like kind of run that and like try to get some meaningful information out of that this is like where information theory starts to collide with linear algebra and all the other stuff totally yeah there's always this um this detail where we're running these on computers and so we don't actually have like real decimal numbers or real numbers we have like floating point representations of numbers which are like very it kind of like throws a wrench into the mix do you have any consideration of like superposition when like sort of non-linearity like you can keep like stuff information in the lower bits but i don't know if that matters i really don't it's just like a nice thing to think about yeah yeah it is a great question and

I get a sense that like a lot of the less important bits are more useful for computation and maybe the higher order bits are more important for like storing data or something like that. But I'm not sure. These are the kinds of questions I'm actually hoping to explore over the next few years. Like I'll skip ahead for a second. So we have this result that's like maybe the third sort of like discovery I was alluding to, which is like a way to measure the exact capacity of a language model. And we get this number. If you train a language model on a ton of random data and you measure its rate of memorization, yeah, can you open the right curve? This is sort of the discovery I'm talking about. Like no matter how you scale the training size, you hit this like perfect.

perfect-ish plateau in total memorization, which we call the model capacity. And the question I've been stuck on in the back of my mind for a while is like, how is that actually implemented? So like, this is a transformer that is trained for many, many data points and many, many training steps. And so like, it's almost like if you have, okay, the 10 to the 6 point on the x-axis, the capacity, we don't have to actually say the numbers, but it's basically perfectly dividing its computation between... all of the data points like every one of the 10 to the 6 data points gets like a tiny sliver of the model parameters because they're completely independent random strings so i don't really know if superposition is occurring here like it seems possible to me that the model would learn like these completely independent columns of computation one per data point but it's also possible it's learning some kind of like combined thing where it's maybe it learns like a load in a store and it's like sort of like loading and storing bits using these generic operations and then in the end it reconstructs the random string so even though like the data is completely independent the kind of like compute is very similar in terms of like predicting random strings. But yeah, I guess this is all to say like about superposition and everything. I have no idea how the mechanisms are actually implemented inside the models. And that's like one thing I'm hoping to learn about in the next couple of years. It's a reasonable question whether it's meaningful to learn. I think there's a lot of things that is like nice to know, but maybe not that useful. Latent space alignment is very, very useful. Dataset efficiency in theory, cool, but like practically people are just going to go for the biggest dataset they can. Like the scaling laws that kind of worked out.

insofar as like the relationship of compute and data. Amount of memorization, I don't know. I think maybe this is a good point to maybe also bring in the idea that Andre has been pushing for the last, I think, year and a bit of the cognitive core. Like what is the dumbest possible model that knows nothing, but is smart enough for tool use to do everything else, right? So you can run it on device and fast inference, it's open source, whatever. So Gemma 3N is like a really good candidate right now because it's like a 4B model that is like claimed to be better than Lama 4 and GPC 4.1, according to certain arenas that shall not be named. This is where things get complicated. Like it feels like language models

kind of implement things and know things almost in the same way. And it's like really difficult to disentangle like whether they're memorizing facts from whether they're like learning useful ways to generalize about new stuff. But I agree this would be really nice. I don't think we have a lot of evidence that we can build a system like this that like is really, really good at reasoning, but really dumb about the world. Like, I don't know if we have the tools. Yeah, maybe, maybe not. I think the existence proof is humans, right? People always lean on humans as like the existence proof. It's not a great existence proof because I think if you've talked to people about the number of neurons that we have and you make a neuron roughly equivalent to a parameter, we have something like 100 trillion.

in our brains. So, like, and, like, we consume, like, 20 watts of energy. Like, it's nothing. Like, we're so much better than language models. It's not even funny. And then the last feature of us is that we're self-prooting, which is not something that language models do as well. Oh, like, we forget stuff? No, like, we are not deeply, densely connected. Like, we, like, connections will drop, therefore we're more efficient, you know? See, I'm, like, a language model where everything is always connected all the time. Yeah, or, like, you preset the skip layers or whatever, and that's it. You know, like, it's not really actually anything that involves learning. It's just, like, something you do based on applications and, like, guesstimates. Even if we did want that, I'm not sure if we have, like...

the right frameworks or methods for actually building like what you're talking about yet. I think the world is much closer to where you're at than where Andre is at. Andre is like kind of wishing for an optimistic world. Our conversation with Noam Brown was like, yeah, reasoning is emergent. If you gave the O1 harness on top of GPT-2, you would get nothing because GPT-2 didn't know enough. You need a GPT-3 and GPT-4 in order to then get O1, like as GPT-4 is the base model.

Which is like, yeah, I mean, that's reasonable. The way I put it is like in order to use tools, you need to like, you know, to search Google, you need to know at least search terms in order to like then search Google and then learn what you need. And if you don't know what to search, then like you might just be too dumb. I like the kind of ethos, like maybe you could do some kind of free training or whenever the model doesn't know something, it can just Google for it. And that way you try to encourage it to learn words without or like to guess words correctly without actually storing the information into its weights. It seems like a nice goal at least. Yeah, you need some kind of online learning.

probably, or memory and some combination of that. Yeah. It's exciting. You know, like, I think, like, if that is the direction of where this all ends up, that's great. But, like, people are not doing that. Instead, we're building, you know, $500 billion data centers in the middle of Texas. And, like, you know, all hail the God cluster that just will, you know, eventually wrap around the sun and consume solar energy because that's what we need. Did we finish out the universal geometry thing? Let me finish the kind of...

methodological description so so we had this goal so yeah back to the embedding universality we started with going from embeddings to text we know about this platonic representation hypothesis and maybe i'll skip over the details but basically we had total inspiration from computer vision and this model from 2017 called cycle gan which is among other things uh it's a way to map between two different distributions without any underlying notion of like which thing should be mapped where it's just based on some kind of idea of closeness So like the cool thing about this, if you look at the top left, so I guess the top left is Monet. So impressionist paintings and this picture on the right is a photograph. So like it's learning this kind of like semantic notion of what content goes where just by mapping a distribution of Monet pictures to a distribution of photographs without actually telling it which Monet picture should map to which photograph. It's kind of a subtle point I'm making. It takes a little bit of time to wrap your head around or maybe like go to the middle one if you don't mind the zebras and the horses. So like it's clearly learning like what an animal is and what legs are and sort of like.

more abstract stuff like what the camera position should be and what grass is and stuff like that. And it's learning like what a horse that looks like a zebra is, which is actually like a complicated semantic concept. Like we don't have a data set that has a horse and then that horse as a zebra. We just have separate horses and separate zebras. But somehow this GAN system is able to like elicit this sort of mapping property. It's like kind of a magical connection that it learns. And I'm still like in awe that it's possible at all. But we more or less like...

repurpose this system. And like we built our own, but like this idea, we took it and we applied it to model embeddings where instead of zebras and horses, we have like BERT embeddings and GPT embeddings or like two completely different models with different architectures. So I think these are GTR, which is a T5 based retrieval model and GTE, which is based on BERT. So they have different training data, different architectures, different downstream objectives, different embeddings. But yet when we do this cycle GAN in the embedding space, they just perfectly sort of snap to the same place, which is amazing and has some pretty deep implications of like the platonic stuff. Like maybe the models actually are learning a lot of the same functions or something. And in some semantic way, they're like very clear.

close. And yeah, this is a diagram of how our system looks. It's weird to me how profound it seems. You seem deeply impressed by it. And then the other thing is when we talked to Emmanuel from Anthropic who did the circuit tracing and mechanistic interpretability work, they were excited that the same thing in different languages maps to the same circuits. And I'm like, what do you expect? I don't know why. I don't know. I feel like this feels more profound to you than it does to me. I'm like, yeah, obviously. No, that's so fair. Maybe it's just self-congratulatory and we're happy that we're like...

the people that got it to work. Yeah, exactly. Yeah, it does seem obvious in retrospect. And I think that's like constant feedback I've gotten from research from, you know, people tell you that this seems obvious to them. But you have to realize that like you came from a perspective of no one ever having done this before. And they're coming from a perspective of you telling them it's true. And like if someone had told you that this was true, it would be like maybe obvious to you too, if that makes sense. The way I put it is that we have the intuition, but not the proof. You did the work and you have at least some evidence that it's true, whereas we just have intuitions, right? So part of research is just confirming intuitions.

The applied part comes from like, okay, now that you know this for a fact, what do you do with it? Yeah, right. I think the details can be really interesting, like the details of the proof, like which models are most similar to one another and to what degree can you get them to align and on which distributions does this property actually emerge? And like, that's why reading papers can be fun sometimes is because they kind of answer all those little questions. Yeah, I would say, okay, I pulled out something very current, which is Gemma 3N, which launched, which sort of was generally available yesterday. I would say that for me, and you can correct me if I'm wrong, the most immediate implication is mapping adapters to language models. So the dream is that you have a language model backbone, let's say this one is like a 2B language model backbone, and then you offload your vision. So you only load in the vision and parameters of the vision adapter when you need vision. You only load in audio, you only load in text-to-speech whenever you need it, because these are all separately trained. You're just sort of aligning latent spaces, and you can sort of train them separately. And I think this helps to make...

us more confident in... One, it's more efficient. That's a given. Two, it also makes us confident that we can just add capabilities without taking away or catastrophically forgetting others. So they're just sort of like stacking more parameters. Just stackable. So that's very cool, yeah. Swappable, stackable. It's like a fatter version of Laura's that is not really that model specific. I would say Apple and Google are pursuing this on-device stuff, is my sense. Is this open source? Yeah, for a given definition of open source, which is like, we release the waste of a new face. Here you go. Oh, that sounds like open source to me. Oh yeah, I guess it's open waste, but not the data. Not the data, not the code. Not the code, yeah, right. Yeah, I would say that this is quite soda in terms of efficient models. Maybe...

a small LM also from Hugging Face would be also in that category. It's not that many people working on very good, very efficient models. Yeah, this is a very deeply related question and something that really interests me, which is like, what is the limit of like a 100 million parameter model? Like if you imagine, you know, 100 years from now when we have maybe our computers are gelatinous blobs and we all communicate through telepathy, will we have 100 million parameter models that are at... the level of today's 03 Pro or whatever? And like, if so, like, how would that even be the case? Like, based on scaling laws, like, do we have special data? Do we come up with like a brilliant new training scheme or some type of magical architecture? Like, I really don't know. Or maybe we really are at the plateau already. I don't know. It seems like when we are doing things like calling a small model, like a 27B model, as small, like that's what Mr. I was doing.

You know, we've plateaued a little bit in terms of like what we can do to compress things. I have a fun theory that this is where we mix quantum computing with models. Like we have to change what a parameter means. We have to search through very high dimensional space and resolve them much quicker than we can with a conventional compute. That would be my pie in the sky thing. I said 100 years. That's very reasonable to me. Throw quantum at it. Yeah, I probably have to get a second PhD to know what's going on there. I think that we should establish the definition of small model as being a model that a grad student can inference at reasonable time on a single,

GPU, which is probably like 7B, maybe. I don't think 27 is small under any reasonable. Is it MOE? Mistral? I don't think so. I think their stuff is default dense. Don't call me on that. This is coming off of just a lot of pre-trained data that is potentially collided. Okay, there's two more papers that we wanted to cover and then we can sort of wrap it. You had an approximating, you had a language model training data. I think this is a little bit also newer. How does this rank in terms of your overall work? Yeah, let's return to the kind of information theory question.

Yeah, maybe we'll skip over the contextual embeddings in the case of time, but we'll group those papers. Great paper. Hopefully people start training with that technique. It's kind of a free lunch. Those questions are all about information and model activations. Like how much can we recover from this given vector? Or like what data does this vector represent? Or what computation does this vector represent? And there's really two types of, like if you want to taxonomize, there's two types of whatever you call it, dense information storage mechanisms. One of them is activations or embeddings, which we were discussing already. And then the other is weights, which are the things that...

are used to perform the computation, but not the computation itself. And so we have now two papers in this direction of what is stored in the weights. The first one is about language model capacity, which is called how much can language models memorize or how much do language models memorize? I never remember which one we settled on. And then the other one is called approximating language model training data from weights. The first one is like, I think has a lot of deep messages about how language models store information and how they work in general. The second thing is like a proof of concept of maybe like a longer term research project. Let's start with the capacity stuff, if that's good with you. Do I have the paper for that? I don't know.

You know, we can return to the question you asked me, which is something like, why do we care? Or like, what is this useful for? And I don't know if I have a good answer for this. I think this is somewhat profound. Like, it's kind of like in physics, you know, when they try to measure these constants, like gravity. People try to measure the rate of acceleration of gravity for a long time. Or like those Greek guys, like back in the BC era, when they were trying to approximate the radius of the Earth based on shadows. We're trying to take the GPT architecture, like the main one, and just measure how much information it can store. And we did this through the...

the lens of memorization, which I think we can skip over for the podcast. And we'll just talk about like information storage and weights. Like these curves to me are pretty crazy. Again, maybe it's like the sort of discoverers fat folly or something where I'm like, oh, this didn't exist before. So it seems so cool. But then you're saying like, it seems somewhat obvious.

No, no, no. Don't let me take that away from you. Yeah, no. Again, like, I independently was asking how come there's not enough people exploring LLMs from information theory. And then, like, you used to come along and your bidding works become, like, an information theory exploration. And I'm, like, suddenly, like, I'm very aligned to, like, exploring this, promoting this, and encouraging more people to figure it out. Because, like, that's ultimately how we figure out this whole compression issue and, you know, what Andre wants, which is, like, the cognitive core, right? The most efficient model for the most capability. Like, that is an information theory question. Totally agree with that. We could start here. Like, so transformers that are trained in...

32-bit precision, we approximately can store about 3.6 bits of information to maybe 3.9 bits somewhere in there per parameter. And like, why is this? I mean, for some perspective, this is quite bad. Like, if you have 32 bits available and you can only use three to four of them, like you're... Just store 32, bro. Yeah, yeah. Then you'll like, you know, you could build your own AI lab if you can make these models that much more efficient. I don't know how they're implementing this mechanism or where the kind of bottlenecks come from.

Or even now that we know this, what it's necessarily useful for. I guess the tools that would be interesting to me are knowing like given a data set, if you could predetermine the exact model size and maybe architectural properties required to get a certain level of performance, that would be really neat. And like, we don't even know how to do that. We don't even know what the difference is between doing lower training, which trains less than 1% of the parameters and full fine tuning, which trains all the parameters. We don't even really understand the difference there. So I think this is like maybe like a baby step sort of in that direction, but there's a lot of unknown ahead of us. Okay. Do you think this is a hard limit? Do you think someone can come up with a better algorithm, buy better architecture and then sort of just change the slope?

There are two axes here. One is the ability of the model to store data. And I think we can definitely improve that. I think like maybe even if we tested this with the LLAMA architecture, like there's sort of like a GPT++ architecture, like I would guess that can store better data just because the kind of numerical flow is a little bit better. The nonlinearities are maybe like a little bit more suitable to training. Like that will probably raise the bound a little bit. And then the second axis is that our measurement tools are just not that good. Like this is, you know, me, I'm a grad student. I'm running all these hyperparameter sweeps and sort of like we draw conclusions from them. But even that being said, like there are probably ways to measure this better.

all that would do is push the number up. So it's possible like there is a way to store five bits per parameter if you have like a better optimization technique or if you were a super genius and you could just perfectly set the weights to store the data, then maybe you can do better. And this is just sort of like what we can reach through optimization is this 3.6 bits per parameter. But I would be happy if someone came along with a much better measurement tool. Like this is just sort of like the first measurement. I mean, I would guess in the future, like, you know, people will look back and say like, this is like somewhat, oh.

in one direction or another for whatever reason. And that's just how science goes. I have no problem with it. What we do is we call this the Morse constant 3.6, right? And then we set out like a challenge, like a leaderboard of like, beat this, right? And like, let people go. Yeah, that assumes that we know the true constant ahead of time and we can measure the error rate. It's doable. You laid it out here. Yeah, yeah, yeah, yeah. That makes sense. One minor doubt I have is like, the goal actually is that memorization is generalization, right? The best memorizer model may not be the best generalizer model. And you're like, this incentivizing people to...

to max this number might actually just be fruitless in terms of actual intelligence. Like you just get the best actual compressor. Like you're just going to get to use it. That's totally true. And there's this pattern in research, you know, time after time, it's like someone poses a question and then people answer it over and over and over again. But it's often much more fruitful to just ask a new question. Maybe it just doesn't matter how much GPT models can store and you should just like work on something else. We'll figure that out. Did you want to dwell on this side at all?

Yeah, let's just talk about it real quick. Definitely not the algorithm itself. By the way, what are your tools for doing these kinds of charts and these kinds of diagrams? I just kind of curious about behind the scenes on the tools. I think like visualization has definitely been some hobby of mine during grad school. This one actually, Oscar, my co-author made this one. Maybe I gave some like prompting, but he made it. I think most the last few papers have all been in diagrams, Google diagrams. I was using Figma for a while and Illustrator. I think Illustrator actually is the best tool. Oh, did you know the Transformers diagram was in Adobe Illustrator?

Oh, yeah, yeah. I did know that, actually. Yeah, because that's the only way you can get arrows that sort of like curve like that. And then they've got shadows. Diagrams is like the least robust, but it's the most accessible. And honestly, if you're good, you can make pretty good stuff. Excalibur is nice too if it's not going in a paper. Yeah, it's just too rough for a paper, but you need something professional looking, you know? It helps, like if you're going to publish your work, you need to make it look nice and professional and official, right? So this is what it is. Yeah, yeah. And I think there's something worthwhile about saying like, okay, if I'm going to put my name behind this, like I want to spend time making all the references perfect and all the diagrams professional, all the captions are correct. And I think it's like important to put that level of detail into.

That's a little chewy, but let's finish this off. So, okay, we're talking about bits, information theory, what information sort of embeddings. We're talking about language model capacity. I think a much more practical question is, maybe this is more analogous to the vector database hacking embedding threat model we discussed, is like, if you have access to a set of model weights, what can you learn about the data? So like you were just mentioning, Gemma 3B came out yesterday, and you can download it, and it takes up a certain amount of space on disk, and it was trained on some data, but we have no insight into what the data was. I mean, it's probably English, it's probably some distribution of web text. I guess there's a lot of code.

And we seem to have a lot of information about the model, right? You have this file and there's like many ones and zeros, which means something, but it's kind of like a very highly compressed version of the training data. But I would be extremely surprised if they do any type of like private training. Like there are these mechanisms for doing like differentially private. language model training or even just anonymization in the pre-training pipeline. I bet they don't do any of that. They just sort of like train on the data and then they kind of know that we don't have the right tools to decrypt the model weights. And so that's like my dream is we can come up with some way of translating model weights back into text data sets. And so in the most recent kind of drop, paper drop is that paper approximating language model training data from weights. And it turns out to be a really hard problem. Like trying to go from model weights to text is really hard. And we do something a lot simpler, which is like...

Well, there's two ways we make it simpler. The first thing is we assume access to two checkpoints, which I think is probably not the case in Gemma. But in the case of DeepSeek, if you download the 400 billion parameter model weights, it's this giant file. And you can actually get two of them. You can get the base model weights and the fine-tuned model weights. So the way we put this, you have this kind of like difference in parameter space telling you what DeepSeek fine-tuned on.

It's very controversial. I mean, they're sort of like geopolitical, definitely at the corporation level, they're really interested in the implications of like what did DeepSeek train on. And they've released this kind of treasure trove of information of what they trained on, which is the actual model weights. But we have no tool for like interpreting or kind of decrypting this weight difference. And so we started with something really simple, which is instead of even just trying to like regenerate the training data, we take just a web corpus and try to do selection of training data that kind of like looks like the training data and gives us...

performance that's as close as possible to the true training data so there's this complicated method but it's something like you just sort of like look at the data point gradient and see if it points in the direction and weight space of the fine tune and then you take like the top data set there's some tricks to it but it's basically just like gradient based selection based on this weight difference and it seems to be okay like it can get us pretty good training data so i guess if you actually wanted to use this it would be like your competitor releases a base model and a fine tune and you're trying to recreate their data set so you can take this weight difference and take a giant web dataset. Like if I was doing this at a company, I'd probably try to scale it up to trillions of tokens and then select the exact data points that try to produce the model. And it turns out you can train a pretty good model with that. We don't get to quite the performance of the original model, but it does seem to be like trending in that direction. This is like very creative. I don't know what the use of it exactly is. Yeah. Like when would you be in this exact situation? Decently often for the open model labs. Like even DeepSeek R1 has released an update. Mistral does it pretty frequently. Lama does it frequently.

It's not impossible, but I think I really like the creativity in using quote-unquote synthetic checkpoints to do this, which is, I don't think I've heard less from any other place, so I don't know if you came up with the idea. It's like linear interpolation in weight space. Okay, that's a bunch of the recent work. I wanted to sort of cap things off with the datasets question. Is that a good? You can ask me whatever you want. Well, it's not that good.

It's not an ask. It's just like, I think this is a very good thesis. I think it's a hot take. I almost invited you to speak based on just this alone, but it was a little bit late. For the conference. Yes. When I look for conference keynotes, I look for something that has a broad overview that can put the last few years in perspective, or it's an insight that you can reasonably rely on to last for a while so you can get some mileage out of it. I think a lot of ideas in AI come and go, but things that are scaling laws, things that are trend lines, things that are like, there's no new ideas in AI, that I pay attention to.

So maybe you want to recap. What's the backstory? Yeah, yeah, sure. So the meta backstory is I've sort of started writing on Substack and this is a post that I wrote a few months ago. The highest art form.

Yeah, publishing papers wasn't doing it for me anymore. And I moved to Substack. And this is the name of the post. There are no new ideas in AI, only new data sets. One guy pledged me, but then I found out he was like my former student from a class I was teaching. So I don't think it really counts. It counts. He's a friend. He's our first supporter. A pledge is a pledge, man. I'll take whatever I can get. So the underlying thesis is that whenever, maybe I'll lay out this framework first. So there's this book called The Structure of Scientific Revolutions by Thomas Kuhn.

that I read near the beginning of my PhD, which suggests that science kind of moves in these cycles where not very often there's something he calls a paradigm shift, which is like a, you could think of it as a zero to one innovation where everything changes. And then it's followed by a rapid period of small innovations, a lot of like reapplication of previous techniques, pre-paradigm shift techniques to the new era. And then things sort of slow down as we wait for a new paradigm shift. And I was kind of asking myself what's unique to the paradigm shifts that we've seen in AI. And by the way, to me, AI and language models are somewhat synonymous at this point, like at least for the foreseeable future. I'm certain that will change, but basically everything that's pushed the boundary to whatever we have now that resembles like intelligence has come from language models. And so those breakthroughs came in a few steps. So I think the idea...

is also like a meta commentary on the research community because what everyone wants as a researcher is some kind of like cute new method that no one has thought of before that just works on the existing data better than the previous methods. That's like, for whatever reason, like the kind of most glamorous thing people think you can do as a researcher, like Mamba. It's like a transformer, but it's like more efficient and works better. So that's what a good idea looks like. And I think everyone wants to like find something like that. But if you look at what's actually borne out in practice, it's never been like that. I think like all of the things that I would consider paradigm shifts in the Kuhnian sense came from...

a new technique, but trained on new data. And I think the new data is super, super important. So I wrote it as a series of four paradigm shifts. The first is the emergence of deep neural networks with AlexNet, which I think was like 2010 to 2012 era, where we just started training on ImageNet, which is like a scale no one had ever seen before of millions of images. And then the second thing was transformers.

and BERT and this attention is all you need paper 2017 and the first GPT 2018 which is web scale pre-training like no one had ever done that before no one had ever tried to scrape all the text off the internet and then tokenize it and feed it into models like it's a crazy idea and I think like we should be honest I mean transformers are incredible and like their staying power is never going to cease to amaze me they're like much more optimal than I think anyone ever knew and I don't know if we'll ever beat them But the real innovation is web scale pre-training. And I think like we honestly probably could have gotten this with RNNs. I know like the scaling laws paper shows that RNNs have worse curves for scaling, but probably people would have been like, I bet you could have built ChatGPT with a very sophisticated RNN. Like you didn't even need transformers. What you need is web scale pre-training and the third innovation, which is instruction tuning. And we thought it came with like reinforcement learning. But I think the big innovation of instruction tuning is actually the human preference data, which is like gathering positive and negative pairs of what looks good, like in terms of a chatbot interface. And actually it turns out you can do supervised learning on that too.

can do dpo which is a form of supervised learning you don't even need the instruct gpt techniques you just need the data so like i'm sort of playing devil's advocate here but i actually think this is true that like if we had the right data sets we almost could have scaled like 2015 era techniques and gotten something that looks like at least instruct gpt reasoning models are a little different like they're i'm not sure if we could have that with rnns or not like i don't know if i'm in a position to comment on that with certainty but they do fall into this framework which is they really did emerge from a new data source in this case it's something like a little different it's like verification with symbolic systems like math calculators coding environment unit tests like things where we can provide numerical feedback to language model outputs but we built a way to learn that and leverage it to get more intelligent systems and so whatever the fifth thing is whether it's video or embodied ai or some kind of crazy innovation on reasoning models whatever comes next will probably be some type of new data source that we're not using yet that's a really good thesis i would say that the researchers i talked to

would somewhat disagree. Obviously, this is like a hot take type of thing. And like you already acknowledge that RNNs don't scale to the same extent. Like they operate on the slope of the curve. Whereas, you know, I guess like the amount of data or the type of data or the core insight just changes the order of magnitude of the x-axis, right? That we are mostly working on. But like both are important. The way that I think someone put it to me.

was an improvement on compute or data efficiency is the equivalent of having a whole bunch more data that we, you know, otherwise would be a lot more expensive to collect. It's likely that, you know, the frontier models right now are just a collection of hundreds of these small little experiments that just stack up. You mentioned Muon in your post, which seems to be the atom killer. Curiously enough, like still none of the big models use Muon, but like... Vibes are good. Yeah, yeah. And the value of building better optimizers is really incredible. Like it's just a free launch. You can just sort of like plug in a slightly better training mechanism and then you save like a ton of compute and a ton of training time. That's like hugely valuable. I think this is cool because I think like it puts us in a mode of like if you were ever to ask what comes after reasoning, it has to be something on the order of this. And most ideas are not. Most ideas are not. And so this is cool in a sense of like it just jolts you out of incremental thinking into like what really is missing for the next paradigm. And I don't have an answer. Do you have one? Do you have candidates?

Oh, I really haven't even considered that too much. I guess like scaling reasoning. You got to do the autocomplete. For step five. I mean, you got us all the way there and you were like, you know, you got to show us the way now. We can say it's an exercise left to the reader. But I mean, the reality is like predicting the future is too damn hard. You know, like maybe it'll be obvious to me in hindsight in five years. But sitting here today, I really can't derive from first principles what the next wave of innovation will come from. Yeah, I think we have a few years left.

phases lasted for a few years. Reasoning just started last year, kind of. We got some juice on this one. Cool. I think that is a broad overview. We've went way over time, but I really enjoyed this. I guess my parting question for you is kind of a meta one. So I'm not an academic. I'm kind of self-taught. I just read a bunch of papers and I talk to people all day as part of the podcast. How do I rate in terms of my questions? As though, could I pass as a grad student? Or what's my distribution? Maybe I was more industry-oriented than academics. I think you got to realize that

the only person that's an expert in your area as a grad student is you. And even like eventually your advisor defers to you for a small set of questions that fall within your very niche expertise. So like, I think you're clearly like a very good generalist and have like a huge amount of background on these topics. And to the point where I would say you're passing the grad student Turing test. And I think if you went to a talk, like people would just assume you have some weird research area of your own that they don't understand, you know? My research area is AI engineering. Like I'm trying to like making it up as I go. But no, this is super helpful. Okay, well, that's about all we prepared.

all the best in your search, all the best in your PhD. I assume, like, apparently the current PhD meta is you do a bunch of small papers, you staple them together and, like, find an overall theme, you do a defense, and that's it. Like, that's the journey, which is kind of cool. Like, I would love to do that. I'm too old to do it, but, like, it's cool. Yeah, yeah, it's a great thing to do at any age. Well, it's better to do a Substack, right? And then you have, like, people, like, subscribing and pledging along the way and, like, getting validation and, like, yeah, that's better than a PhD. Substack. That's the title of the episode, like, Substack Better Than PhD. But no. Yeah, thanks for your time. This is really great.

Where can people find you? What are you looking for, really? I'm online. You know, you can follow my substack in Twitter. I tweet pretty consistently. And you're putting papers out. I guess like the most meaningful thing, to be honest, is to engage with the research and send me an email if you really care. That's amazing. And like, I love having those kinds of discussions. And you mean like when I'm looking for in a job or out of life? Your research direction. Like what interests you over anything else? Like if there's someone out there looking who has a problem and is looking for someone to help them on it, like you are the guy for?

underscore oh yeah hopefully if you listen this long like i think like my research is a lot more well connected than some people's phd research and that it all falls into like a very small manifold of like all possible problems and so if you if you want to work on anything within that space or that's sort of like adjacent to the problems that we discussed in terms of like language model maybe not even language but model weight and activation information i think anything that can be described as that is very interesting to me and i would love to talk awesome well we'll put your contact info in the show notes and thanks for your time thank you

Frequently asked questions

How long is this episode of Latent Space: The AI Engineer Podcast?

This episode is 1 hour and 18 minutes long.

When was this Latent Space: The AI Engineer Podcast episode published?

This episode was published on July 2, 2025.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Latent Space: The AI Engineer Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.