

29 Oct 2026 · 53m · 20 chapters

Jacob X. Li discusses “machine studying,” where an agent gets only a corpus (e.g., codebase, papers, logs) and must prepare for an unknown downstream “exam” task, later still having access to the same corpus. He contrasts this with continual learning and with discovery, emphasizing measuring how well agents convert extra compute/training/context preparation into performance.
Jacob X. Li, author of the machine studying paper; researcher focused on agentic AI, retrieval/search, and evaluation. Host is Connor (Weaviate Podcast).
“Expertise” is defined as accuracy as a function of inference-time search budget, summarized by weighted area under the performance-vs-compute curve. Machine studying methods fall into three buckets: self-supervised objectives, updating weights/retrievers, and amortized context/cheat sheets. Even with weaker retrievers like BM25, agents can still study effectively via iterative search; newer models mainly help when using retrieved results to write (e.g., literature reviews).
writing literature reviews from a new paper’s title/abstract; BM25 vs vector retrieval in agentic search; cheat sheet vs LoRA/weight updates; React-style tool-call loops controlling inference budget.
Written by AI. May contain mistakes.
Exploration of machine studying, its definition, and its implications.
“Sometimes it can be logs of your machines when you're trying to debug your system.”
Discussion on the differences between discovery and studying in AI agents.
“I don't think there are a few topics in AI more exciting than the kind of always-on agent, 24-7 agent, especially when it's like multi-agent.”
An explanation of how expertise is defined in the context of machine studying.
“And I think that maybe transitions to start talking about some of the formal definitions and experiments in the paper.”
Insight into how agent performance is measured and controlled in inference time.
“and what we think it means to study, especially with, I just love how the paper explores like jointly context augmentation as well as like weight optimization and like that kind of cheat sheet versus the lore updates.”
Explore how inference parameters and search capabilities influence machine learning models.
“So you have like more than 10 points on the XS.”
Learn why crafting good search queries is crucial for model efficiency and accuracy.
“And then you're saying like, therefore, it knows how to search more effectively.”
Discuss the strengths and weaknesses of different search methods in machine learning.
“maybe vector search or late interaction models.”
Understand the differences between machine studying and continual learning frameworks.
“And I've also heard that same argument for late interaction because it gives you these per token scores.”
Dive into various methods and approaches for improving machine studying techniques.
“I guess it's always kind of presented like this idea that you have sequential tasks presented is like what is definitely going to happen or the idea that the distribution.”
Explore Jacob's insights on machine learning methods and their implications for memory.
“with like agent memory products and it comes to mean like, you know, if you come to me and say, Jacob's a student at MIT, but say you, I don't know, transfer to Berkeley and then it's like, where does Jacob study?”
Discuss the implications of training models with human-prepared data and sample complexity.
“The thing is, one degenerate form of continual learning or machine studying even that we see every day is from these frontier labs.”
Examine the role of cheat sheets in machine learning and compare with traditional training methods.
“And we did not elaborate in very detail because this will involve comparing different sorts of training method under different training budget, which is probably too expensive for me to conduct.”
Analyze the debate between weight-based and context-based learning algorithms.
“because maybe OpenClaw is just a newer code base or plus it's much larger and the teaching might not be good enough.”
Discuss how AI can discover new tasks and improve understanding through procedures.
“and context-based setting algorithm open.”
Explore personal study techniques and their impact on understanding and retention.
“Yeah, I guess like like entertain you with what it's discovered compared to like discovering tasks and studying tasks.”
Explore the connections between human studying methods and machine learning.
“For example, if we read papers, we are doing nothing but just like, you know, like reading word by word.”
Discuss how AI can aid in the design of study materials and tests.
“Yeah, Jacob, welcome to the Andrew Huberman podcast.”
Envision how personal knowledge bases can expand with AI assistance.
“But then these studying algorithms are like creating more data.”
Learn about the importance of evaluation methods in machine learning.
“well, I'd say that maybe we need not only...”
Discuss the potential for AI agents to personalize learning experiences.
“Because it seems like we are talking a lot about, okay, recursive self-improvement.”

Get the gist, explore an idea or ask about something said.
On Weaviate Podcast, what are the key points of this episode?
Automatic transcript. May contain errors.
0:00Jacob X. Li: Jacob, welcome to the Weaviate Podcast. Thank you so much for joining.
0:04Weaviate Podcast Host: Thank you, Connor. Thanks for inviting me to this wonderful podcast. Yeah, I've been following this for a super long time.
0:11Jacob X. Li: Awesome. Well, yeah, I've been aware of machine studying for a long time, and I'm just so excited to be diving into it. Do you mind kicking it off for our audience who aren't already familiar with machine studying and your paper? What is machine studying?
0:25Weaviate Podcast Host: sounds good so basically when we look at a lot of the new field today they are pretty much defined in a corpus of documents let's say if you have a new repository right this corpus of documents going to be your code base if you have a certain drug discovery kind of research then this corpus is going to be a pile of papers, right? Sometimes it can be logs of your machines when you're trying to debug your system. So basically a lot of this new field, I would say emerging field or sometimes field that is conditioned on your confidential data, is pretty much just a few documents, right? And if we're looking at these documents, there's a new problem, a new preparation problem showing up where basically we wonder these agents can also look at these documents and then decide what to learn from these documents when we don't have a downstream task in mind yet.
1:31Weaviate Podcast Host: For example, if I give it my coding repository, I will have a few different tasks to have it done. Maybe just rewrite my whole complete code base or maybe run a set of experiments for my next research paper. There is a few possibilities about what downstream questions can be given to these agents. And we wonder whether they can actually prepare themselves to answer these questions better. And this is pretty much similar to how we study, if you think about how we study in school. And we study a subject and then ultimately we'll be quizzed with an exam. We don't get to see what the exam is, but we know it's pretty much conditioned on the materials we are taught in the class.
2:18Weaviate Podcast Host: So basically, machine studying asks whether given nothing but this corpus, all the definition about this new field is in the corpus. Can these agents develop expertise in these underlying domains? But I think just for now, I will not use the word expertise, because we can probably elaborate a little bit more. But now I'll pretty much say that can these agents develop arbitrarily deep understanding in these fields? And if you think about it, like current agents, let's just say codecs or clock code, they're mostly relying on inference time compute. Which means that if we give them our code base, they will be launching lots of queries after we give them our first questions.
3:05Weaviate Podcast Host: And it's going to explore the code base a little bit. So it's pretty much relying on these inference time compute. And in a realistic, you know, agentic settings, no matter what sort of studying or preparation we give these models doesn't really replace access to these source materials, right, to this corpus. So here we pretty much have everything you need to know about machine studying where we are given these agents a corpus of documents. And they don't know about the downstream task yet, but they are pretty sure that these tasks are going to be conditioned on the corpus. And then the model, when they're actually handling the exam, they will still have access to the corpus.
3:50Weaviate Podcast Host: So this is pretty much the setup of machine studying.
3:54Jacob X. Li: Yeah, amazing. I don't think there are a few topics in AI more exciting than the kind of always-on agent, 24-7 agent, especially when it's like multi-agent. So that's kind of the first thought I had with reading machine studying and this idea. It reminds me a lot of, Letta had this paper called Sleep Time Compute, which is generally this idea of you have the corpus of documents and preparing for questions, just, I guess, expanding on the data. it's just such a captivating idea to think about our agents just working with our data I guess just to my new knowledge and so I guess kind of the first question just sort of setting the stage and in particularly this language of machine studying is I'm curious my first thought of after reading your paper is maybe just the difference between like studying compared to a lot of these works on discovery like we recently had a podcast with UC Berkeley's Sky Discover team I think there's kind of an interesting notion that the always-on agent, the agent that works while you sleep, maybe going through your data to try to discover something compared to maybe studying for an upcoming questions that you're going to ask it.
5:02Jacob X. Li: I guess just maybe this particular use of studying, I think, is a really interesting way to think about what the 24-7 agent is doing while you're not actively using it.
5:13Weaviate Podcast Host: Yeah, that's a great question. I think for discovery, definitely there's this emphasis on revealing something new. And there's this same spirit as in studying because a lot of time when we read textbook or we look at the code base, sometimes we have new ideas just conditioned on the code base, which is not necessarily written down in the code base. Like if you think of it, all these corpus, Because if you don't mind me using some weird languages, they kind of define the physics of the field, right? Because if you have a code base, you pretty much have everything you need to understand how to use this code base.
6:01Weaviate Podcast Host: Like everything, how to manipulate this object, how to use it for a practical task, right? But a lot of things that related to understanding might not be written down. For example, if there's a code base where a senior user might be like, okay, it is more reliable to call this API instead of that API. Because this API may have a faster reaction time. A lot of these understanding or experiences may not be included in the documents, but are completely reachable if it's given to a human. You know, it's like, for example, if I actually give you a code base and I have you to play around with it, you will probably find this pretty efficiently.
6:50Weaviate Podcast Host: So I think for machine studying, it's also, I would say, similar to this discovery from within this corpus. You know, we're not necessarily saying that, okay, by just studying this corpus, we expect completely new knowledge to be discovered. But we do expect some sort of like internal connections or things to be revealed by carefully prepared for this field.
7:23Jacob X. Li: Yeah, super interesting. And I think that maybe transitions to start talking about some of the formal definitions and experiments in the paper. I love the definition of expertise. I think it's just a really cool experiment and a really interesting way of thinking about it. Before I read too much into it, do you mind explaining how you're defining expertise in machine setting?
7:45Weaviate Podcast Host: For sure, yeah. I think one, I'll just repeat this setup a little bit again. Basically, when you're considering any of these realistic, agentic setup nowadays, we have them interacting with the environment, right? We most of the time have the exact same documents that we want to give them to study. And also later when we are quizzing them, when we're giving them this exam, we want them to search around, right? So for this definition on expertise, I think an expert is an agent that can effectively and efficiently turn this inference time search, inference time compute into accurate work. You know, and this, this sense of like turning or like the efficiency of turning inference time compute into accuracy is measured by this weighted area under the performance versus compute curve.
8:47Weaviate Podcast Host: Because like when, like most of the time when people think about inference time compute, probably they will be thinking about the BrowseCamp paper where they have this log linear increase on performance when they're given more time, more budgets to search around, right? So this is, I think, the same curve, but we care about the area under the curve. So that basically, if you think about it, if you have someone who doesn't understand the code base, and if you're giving them something that's reasonably hard, but not unsolvable, just by giving them a little bit more time, maybe not a little bit, but like a lot of time, they can probably brute force, exhaustively search through everything, every corner, and then answer them correctly.
9:39Weaviate Podcast Host: But an expert might have some heuristics, some better understanding of where to search and how to better interpret the search results and just give you the same results much faster. So, yeah, I think most of the reason we choose machine studying and expertise is pretty much because we have very good definition of these terms on us over human learning theory. right because like when i say like how do you uh uh define like expert over a human expert over human novice or human beginners uh we we might not like not maybe not everyone has a very formal definition of this but we have a pretty good sense about or a very good intuition about like what differentiate expert and beginners i think we can pretty much borrow that intuition into this
10:30Jacob X. Li: setup as well yeah super cool and i'm super excited to dive back into the human intuition and what we think it means to study, especially with, I just love how the paper explores like jointly context augmentation as well as like weight optimization and like that kind of cheat sheet versus the lore updates. And yeah, I'm so excited for that topic, but I guess just saying a little more on this definition of expertise. So I understand the definition is about, you know, how much test time compute do you need? And particularly in this sort of React agent harness where, you know, the agent has these turns of thinking tool calls, thinking tool calls.
11:06Jacob X. Li: And so you have first answering with no tool calls, then you have up to five tool call like loops and up to 20 loops, and then you force 20 loops. So you get four points on the graph. And then you have the accuracy. And I think that's just a really novel way to think about just measuring the intelligence of the agent system, which is combination of the model, the particular data that's in the database, as well as say, how it's using the tools. And I guess I'm just curious a little further into that metric of like the area under the expertise curve and just how you came to it and just I guess what your current thinking is on it.
11:49Weaviate Podcast Host: Okay, so I think basically the the xx as you were describing where we allow model to have like maybe search up to 20 times or we force them to search like up to 20 times is just a knob on controlling the inference and compute because we want to understand how these models can perform on their different inference budget and usually in I would say a lot of the pre-agentic paper, like pre-agentic setup, most of the people are controlling the reasoning effort. You know, should we reason for, there isn't really a number. Sometimes it's just X high, max, or should we do medium reasoning, right? So this is basically how they're controlling a reasoning effort.
12:45Weaviate Podcast Host: we basically port that knob and decide to control the inference time budget by how many times can you search right can you search like the most basic form when it has to answer directly pretty much says like you have to remember everything although like we kind of allow the model to think for a bit it's still like it's still allowed to reason but in our in our about to be released version, we have made a few changes to how we control this inference time budget. But I think the overall intuition under this is that we want to check how well these models are performing on their different budget. If we give them a little bit more time, can they search more effectively and actually just turn this huge inference time budget into better performance, right?
13:38So yeah, the four points on the graphs
13:42Weaviate Podcast Host: are just like for different inference time budget, just like low reasoning, medium reasoning, high and XI reasoning. In the Valtteri release version, we actually find a way to make more fine grained knobs of the inference time compute. So you have like more than 10 points on the XS.
14:04Jacob X. Li: Yeah, I guess that first point about like the, how you construct the points on the inference time access, it's very interesting that we've got like, either this like kind of, you know, reasoning parameter of just like medium, high, X high. And it's just kind of like how many tokens are sampled before it answers. And then the agent harness gives you this nice like number of loops abstraction for thinking about how much inference time your computer is spending. I'm also very interested in these like, you know, like DSPy style harnesses you could design where you could have like these really intricate inference patterns that kind of govern how much computers spend.
14:35Jacob X. Li: But I'm maybe spending a little more time on that, on the React loop, the agent function calling loop. And just sort of what you just said has inspired me thinking about another work from MIT called Peak about like creating like a context map. I like this paper. It's called like Compass Rag or something about like using topic modeling to come up with the topics that are in the corpus. And I guess generally not without previewing too much about the cheat sheet approach when we're talking about the actual studying methods you test, but like it sounds a lot to me kind of like learning to search and how the agent is going through the corpus to search more effectively?
15:17Weaviate Podcast Host: I think how to search more effectively is definitely part of machine studying. And in the blog post, we have this third example where we kind of touch on how well the language model can be used to write literature review for a new paper, let's say. So if you think of this task, It basically can be reduced into two steps. One is that can the model launch correct queries conditioned on some new contents? Basically, if I give a title and an abstract of a new paper that the model has never seen, can the model launch correct queries to find related papers? And the second part of it is that out of all these papers that it retrieved, maybe like hundreds of them, can it decide which one is actually the useful one, the correct one that will be actually used by a real human writer, real human researchers, right?
16:13So just like if you think of studying or like doing research as a problem of search,
16:23Weaviate Podcast Host: it's pretty much like search is only part of research. we kind of have to search iteratively and we have to decide which one actually when we condition on the search results which part of the search results is actually going to contribute to the actually downstream research. So one finding from this mini experiment was that even if you use a very outdated model the model and given one of the worst retriever BM25 compared to a better model, like a newer model. These two models will pretty much cover the same set of paper. So basically, if I give it a new, like a title and some new content, the model will launch a lot of searches.
17:14Weaviate Podcast Host: And if you go through all the searches trajectories, both models will cover pretty much like a set of paper that's believed to be useful. Both of them will see a lot of useful papers, and there isn't a clear advantage of a new model here. However, when the model are actually writing the literature review conditioned on these search results, these retrieved papers from the past, these new models have a huge advantage over which paper is important to this potential new field because probably this new model has been trained on some of the later papers that's not seen by the older model. So you see that this old model and the new model might not have that much difference in its searching capability.
18:11Weaviate Podcast Host: But based on its conditional search and retrieved results, there is indeed a difference in the capability of it using it more efficiently to answer, uh, like, uh, I'd say like research type of questions, right. For example, writing a literature review. So, yeah. Yeah.
18:32Jacob X. Li: There's so many interesting ideas in that, I guess, like you're, it firstly reminds me of that kind of like browse comp plus evaluation where you're, you're using, you have the agents searching in a loop and then you're using that to compare, say, you know, GPT-6 Luna with GPT-6 Sol with the idea that how many, you know, it takes so less search turns to find the correct document. And then you're saying like, therefore, it knows how to search more effectively. And I guess just that topic of like, how do you search more effectively? How do agents learn to search more effectively? What does it really mean to like write good search queries?
19:07Jacob X. Li: I also find that topic to just be really interesting. And I guess the other one talking about like using BM25 as a search tool compared to say, maybe vector search or late interaction models. I know we're maybe getting a little off topic, but just if you don't mind humoring me a little more, I love this kind of agentic search and just taking down this topic. What do you think about the kind of role of VM25 versus vector search in this particular context? I think it really depends.
19:41Weaviate Podcast Host: And so basically there's this, so when you're talking about agentic searches, I always kind of think about this other work from our lab, the Oblique Bench, right? Like when it's basically like, can you, let's say if I'm giving you a math question that's solved by certain, like a specific theorem or a specific like procedure, can I find similar question that's solved in the same way? I feel like these type of questions will definitely not be so easy for a VM25 keyword search type of retriever. and maybe people would probably think about training better retriever just to have a better sense of I would say similarities.
20:32Weaviate Podcast Host: How do you compare the similarity of two questions? Definitely training a better retriever will help you to increase the performance but I think one premise of studying is that because first of all, we never stop any studying algorithm from training a new retriever. If the model feels like, okay, in this new field, maybe what I need is just a new retriever and the model autonomously derived that decision then sure, just have it design the new retriever by itself. The second thing is that even the model is only given a BM25, what we believe is that there should still be a way to effectively learn.
21:27Weaviate Podcast Host: Because after all, I think human doesn't have something better than BM25, right? If I give you a textbook, all we have is probably read it page by page. And if you really want to find something, you probably go to the glossary and find, like, you do the keyword search yourself. We probably have something worse than PM25, but that doesn't stop us from effectively studying, right? So that's why I think in my blog, I made this claim that retrieval is, well, like basically studying is not just retrieval, right? Retrieval is definitely like how to retrieve more efficiently is definitely a very important topic.
22:12Weaviate Podcast Host: but just like I said even with the worst retriever the model should still be able to study and apparently even humans are only given BM25 we can still navigate the textbook very effectively right
22:29Jacob X. Li: yeah it's a super interesting topic and yeah I guess just on that one I think the strongest argument I've heard for BM25 is the retriever in agentic search is that it gives the agent really great feedback because if you search for a keyword and then it's like no matches found, it's just like really great for that kind of iterative on the fly learning. And then also when you incorporate this machine studying, you get this sort of context map if you don't mind me using or cheat sheet where it gives you like kind of like some terms and it gives you that preliminary context that helps you then use BM25.
23:05Jacob X. Li: And I've also heard that same argument for late interaction because it gives you these per token scores. And I think all that's really interesting. I guess on the single vector search side, I think there's maybe something to diversity ranking methods like maximal marginal relevance and how that can maybe help agents explore the space. But yeah, generally, I do think the feedback it gets is a really strong argument for BM25 and agentic search. Yeah, so I think coming out, I think we kind of expanded the scope of machine setting, like we started to talk about the kind of methods and I really want to dive into the methods Because you mentioned it might be able to train a retriever, which maybe even before we come into that context, just explain the sort of how do machines study?
23:49Jacob X. Li: What are some of the different methods that we know to do this?
23:52Weaviate Podcast Host: I think before talking about how machines study, I kind of also want to talk a little bit about my understanding of machine study versus control learning. because I would say these two topics are pretty much put together to discuss by a lot of people. And I think one thing that Contrional Learning really did great is to lay this foundation of, or it kind of promised us that agents can keep learning after they're deployed. But one thing that it didn't really talk about is it really says where or what the model should learn from For example, when we are given a new corpus to the agent, what should the model do?
24:39Weaviate Podcast Host: How should it learn? How should it continue to learn? This is not really clearly defined in the control learning literature. And to be honest, I think this term is a little bit overloaded. And in practice, even control learning can end up getting reduced unfairly to just long context kind of processing. Can we just have a model to get incredibly long context? And then there's no... Control learning just becomes putting more things in the context. right so uh but like there's one you know uh other difference i kind of want to hear a highlight here is that control learning is usually framed around the sequence of tasks of benchmarks right so like for example if i give it 10 benchmarks or 10 reinforcement learning environments can the model uh learn the 10th one without forgetting the first one right and a more ambitious version is that can a model learn the first one, then second one?
25:42Weaviate Podcast Host: And when it's learning the third one, can it take advantage from what it has learned from the first and second one, right? But I feel like for machine setting, it's more like, can we learn a new field, like a first environment when we don't have a clear benchmark or clear reinforcement learning environment yet? Can the model itself decide what actually should be learned or extracted from the corpus itself? Where does the supervision come from? At all, right? So then when it comes to machine studying, we kind of, this is also part of my ongoing research, but I feel like every existing approaches will make one of the three bets, right?
26:29Weaviate Podcast Host: So it's either doing some sort of self-supervised, like it's following some sort of self-supervised objectives on the corpus, for example, conducting neck token prediction laws, or it's self-synthesizing some training data or some environment. And when it's updating itself, it could update its own weights through, let's say, LoRa or it can update a prefix tuning cache, right? I think there's a word called cartridges, which is like doing, like it's training the KB caches. Or you can update or train a retriever, right? For example, can you synthesize some questions to train your own retriever? That's also definitely a, viable solution, right?
27:10Weaviate Podcast Host: And the third batch is like, uh, this amortized context management, like notes and cheat sheets or, um, preparing a context or dynamic context for itself when answering the question. So I think, uh, even for future sitting method, we should still look at the three batches and, and maybe a better studying algorithm can emerge if we just be smart enough and play around with all these three different directions.
27:37Jacob X. Li: Yeah, I love that framing of machine setting versus continual. I guess it's always kind of presented like this idea that you have sequential tasks presented is like what is definitely going to happen or the idea that the distribution. I think my favorite understanding of continual learning is kind of the distribution of data could shift and that could cause the kind of catastrophic forgetting. And I think continual learning has come up a lot lately with like agent memory products and it comes to mean like, you know, if you come to me and say, Jacob's a student at MIT, but say you, I don't know, transfer to Berkeley and then it's like, where does Jacob study?
28:11Jacob X. Li: And that's, that's kind of like somehow sort of confounded with continual learning now. And yeah, I think this machine setting framework, I, yeah, I think it's a, like, I agree with the sort of framing of it. Yeah. Definitely. Yeah. Sorry. Yeah. So I think that would transition nicely then to talking about, yeah just these methods for machine studying and yeah this is the space of it yeah
28:41Weaviate Podcast Host: for the memories and I would say a lot of the recent approaches on training models to let's say better taken into consideration of its interaction history with human or inaction history of, let's say, part of the hidden exam is definitely very important. And I would say a lot of the time, even if we think of just having the model to be trained on some human prepared data, one thing I kind of want to highlight is that we should be aware of some sort of sample complexity there, no matter if it's RL. or if it's any sorts of SFT. The thing is, one degenerate form of continual learning or machine studying even that we see every day is from these frontier labs.
29:51They actually, they can just, let's say,
29:55Weaviate Podcast Host: retrain their whole model from scratch. Just take all the new data and maybe some of the synthetic traces that they want the model to be specifically good on into their pre-training data set and train on these models. And then they just replay their mid-training and post-training pipelines. And then they probably get a model that's potentially good on a field that you want. Or at least they kind of solve the learning from literature kind of questions Like maybe if we just replay a lot of time, the part of literature we care about, it's pre-training data. The model can be really good on that specific field.
30:41Weaviate Podcast Host: So that's also another question in machine study is that how effective can you study? And we did not elaborate in very detail because this will involve comparing different sorts of training method under different training budget, which is probably too expensive for me to conduct. But a good thing is that in our framework, we keep that comparison possible by pushing one layer above, like by actually collecting the expertise with your different training budgets, right? Just like imagine how we are collecting performance versus inference time budget. Now we are collecting expertise versus like training time or studying time budget.
31:29Weaviate Podcast Host: we are able to compute this area under this curve, which we call studying intelligence. And this intelligence allows you to compare different sort of setting method. And here, a baseline is literally just training your model from scratch or maybe training your model from scratch plus some of the synthetic data you want to include. And I think this also gives you a view of how to see machines studying and future studying algorithm or like how to compare future studying algorithm because like some algorithm will probably do better than, you know, pre-training from scratch. That's what we hope to have.
32:13Weaviate Podcast Host: And some method, if you actually see maybe, let's say if we're training on completely synthetic questions, then that sample complexity might even be lower than, or like the samples needed to train the model to be good or to achieve certain level of expertise might even be worse or be even more inefficient than training from scratch.
32:38Jacob X. Li: Yeah, these studying algorithms, we recently had researchers from Humans and on the WeVA podcast who talked about the training of persimmon and how they started from mid-training to get the model to sound, to mimic human behavior in the data. and just that kind of thinking about like, when do you need to use mid training compared to post training? Like how far do you kind of like rewind back up to the pre-training stack? I find that topic to be super interesting. But yeah, I guess just maybe like unpacking these. I love maybe just like the high level topic of when you can get away just with sort of a cheat sheet, like prompt, basically like taking notes and having an augmented prompt compared to when you actually update the weights of the neural network and this kind of idea that you have this interplay between the two.
33:28Jacob X. Li: And yeah, just, I guess, maybe jumping ahead to the results that I think you're finding that you found in the first paper that's out now is that the cheat sheet seems to be just way more effective than the sort of LoRa updates and training on synthetic question-answer pairs. So I guess just maybe unpacking these, like what are the studying algorithms? Yeah.
33:49Weaviate Podcast Host: So cheat tree being, I think one results that we can get from the block version is that cheat tree actually helps for DSPype, but not so much for OpenClaw. because maybe OpenClaw is just a newer code base or plus it's much larger and the teaching might not be good enough. Plus the model itself might not be smart enough to actually understand what it needs or explore the harder side of the questions, like harder side of the repository.
34:24Weaviate Podcast Host: But one thing that we kind of don't want people to take is that we didn't really want to show that maybe just relying on context instead of relying on weights is the right path to future studying algorithm. Soon we'll have some more experiments showing that, okay, if we do some sort of reinforcement learning over some synthetic data set, you can also get pretty good gain on expertise. it's just that at the time of the block cheat sheet is still one of the best ways because after all the model is allowed to interact with the code base more like with more agency I would say and you would actually expect a smarter model to be able to do this smarter than in a smarter way than a lot of the smaller QN models but you would also expect that these models will be just think of this hypothetical case where we're given this model a new domain and the defining corpus.
35:40Weaviate Podcast Host: The model itself can synthesize a lot of question and answer pairs and then there's no reward but the model itself can verify the answer so basically the model synthesizes the question by itself, grade itself and train itself this is a pretty much you know uh a degenerate form of reinforcement learning and i think most of the time in in the past literature you all expect it to fail but if we actually think about like maybe uh having the best model to do this um it might not lead to the optimal uh you know the optimal expert but it might actually take this model to somewhere that's better than original self.
36:25Weaviate Podcast Host: So I think we would like to leave the comparison between weight-based and context-based setting algorithm open. And we believe that those are going to be very important for future learning algorithms, like future setting algorithm.
36:46Jacob X. Li: Yeah, I guess I'm also even curious just how the gap of prompt optimization might interact with the cheat sheet. and you I've had this talk like hundreds of times in the podcast it feels like where it's like how to think about weights versus prompt optimization and I guess it's kind of like cheat sheet memory adds sort of like a third layer to it I think kind of or yeah I'm not sure it does but I feel like it is isn't quite the same way of thinking about prompt optimization as like a lot of the kind of dspi predecessors of like say opro or mipro or gepa and just it's like it it still feels like a slightly different way of thinking about it.
37:22Jacob X. Li: I guess the difference between the sort of cheat sheet approach compared to if you were to optimize a prompt with a formal prompt optimization algorithm. Well, I don't see them contradicting to each other.
37:39Weaviate Podcast Host: Maybe if we condition on the actual downstream, if we have some sort of... We can just have the model itself to decide. For example, the model itself writes some questions that treat them as their own held-up dataset because they have no access to the hidden exam. So they themselves could just write an exam. And then they have the condition on that exam score, that exam score. You can definitely optimize your prompt for writing the cheat sheet. Right. And of course, you can run all sorts of prompt optimization from past literature. And then you can definitely have a better cheat sheet condition on the self-generated exam.
38:29Weaviate Podcast Host: But again, I think this also goes back to the topics on whether the model itself can write these questions in the first place. Can it actually understand what are the questions that's worth practice on in the first place? This also goes back to this comparison to controlled learning. Because if you are talking about controlled learning or learning a specific task where there is a benchmark that exists, it's fairly easy to see, okay, which method is better than the other ones. Because the model are directly optimizing, directly help climbing the specific benchmarks. Let's say if we want the model just to be better on browse comp, then we are directly comparing, should we train a better retriever?
39:15Weaviate Podcast Host: Should we fine-tune the model over all the browse comp literature? Should we do something else? Should we write a cheat sheet? Should we prompt optimize it? But here, again, the model are only given the corpus. So should the model itself write some questions and then do prompt optimization or directly train on these questions? or like what is, like how should the model even learn from this corpus is pretty much open. And I think this is why I think machine setting has been really exciting to us is because like there are so many unknowns and a lot of the previous method can directly be applied here if you actually figure out how, like, or if the model feel like they're the right way.
40:01Jacob X. Li: Yeah, that's such a fascinating idea. Yeah, I think like we've had like the needle in the haystack question generation philosophy where it's like the prompt is write the question that this document uniquely contains the answer to. And then it sounds like you're opening up the box of like, how would we come up with other sort of synthetic tasks just given the corpus? I don't even think there's a really great way to synthesize deep research style questions. They mostly come out as like these riddles kind of. Yeah, I think, yeah, it's such an interesting aspect of this. Yeah. It kind of ties me back to what we were talking about earlier with like discovery, because it sounds like it's kind of like the discovery of tasks.
40:43Jacob X. Li: And I guess the framing of discovery is usually in the sort of like auto research framing where it's like discovering new knowledge or, you know, you dump all your notes into your database and it's going to. Yeah, I guess like like entertain you with what it's discovered compared to like discovering tasks and studying tasks.
41:01Weaviate Podcast Host: Yeah, pretty much. I think you can think of a discovery of new tasks or discovery of a procedure that itself can follow. And after following the procedure, it just automatically gains so much better understanding and more expertise over potential downstream exam.
41:21Jacob X. Li: Yeah, so interesting. And maybe coming back to the human intuition, I'm curious if you think a lot about the meta of how you study things and if that influences your work. Like me personally, I like to just kind of transcribe things. Like I'll read a paper and I'll transcribe it. And for some reason that just works for me.
41:39Weaviate Podcast Host: Definitely. I think thinking about how we study has definitely shaped a lot of my approaches, especially like if you. I think the three bats that we're talking about earlier is pretty much. or very tightly connected to how we study, right? For example, if we read papers, we are doing nothing but just like, you know, like reading word by word. And that sounds like, that just seems to be some sort of self-supervised learning. Like next to competition, maybe. Sometimes we practice a little bit, right? We might get that quiz from the textbook or we might just sometimes like we, after reading a chapter, I'll write down some questions for my tomorrow self, right?
42:32Weaviate Podcast Host: Can I do this question tomorrow? And if I can, I am sure that I gain a pretty good understanding of the first chapter, right? And we can also transcribe, write notes, or even just annotate the paper, right? So that when we are reading the book next time, so maybe we can read the book multiple times, right? When we have nodes on the side of the book and the next time we write, we are not only reasoning over the book, we are reasoning over our past reasoning, right? So there might be some sort of interesting synergy where we can study more carefully from how human learn. And maybe that's also very important to future machine studying algorithm.
43:18Yeah.
43:19Jacob X. Li: Yeah, Jacob, welcome to the Andrew Huberman podcast. Thank you. Yeah, I tried that like active recall method where you would like, kind of like you mentioned, like write some questions for yourself to answer the next day. And I would do that kind of thing of before I started studying, I'm going to write down as much as I remember. And I thought that worked pretty well. I did a lot of like the I think everyone is doing this thing where you give the what you're trying to study to AI and say, hey, design me a test. Yeah, but I think I think that's actually I also use that way to learn to like.
43:57Weaviate Podcast Host: Yeah, yeah. I'll give it a paper and be like, OK, test me on on on the paper or something.
44:06Jacob X. Li: yeah yeah it's really interesting thinking just about how this can teach us how to learn better to be interesting to give a like to give a machine setting algorithm the thing i'm trying to learn and see how it figured out how to teach itself best and maybe if that would transfer to teaching me yeah awesome uh cool so yeah i guess um maybe just sort of talking about these algorithms, I'm curious if there's sort of like a vision for database systems and AI that I find really interesting, which is like the sort of creation of big data and more people working with big data, because imagine like, say you or I were studying, say like we have eight papers and that you chunk that up in your database and that creates maybe like a hundred unique objects, or it's just the 15 papers or objects.
44:52Jacob X. Li: But then these studying algorithms are like creating more data. And I'm curious what you think about that sort of vision of like people's personal knowledge base is becoming really massive because we have these sort of always on agents that are just working with our knowledge. I think that when we are thinking about better understanding users' own corpuses, a good machine study algorithm is definitely very important because
45:26Weaviate Podcast Host: because of the scattered nature of a lot of human information, like our own personal information, like the scattered nature of it. And that's why I feel like,
45:41well, I'd say that maybe we need not only...
45:51Weaviate Podcast Host: I just feel like this requires a lot of engineering and a smarter algorithm because maybe all we should do is that we have an agent controlling how these information are scattered in the first place. How do we index them more carefully? Maybe agents can help with this. But when we are given this whole corpus to a new agent, there seems to be this missing capability that we kind of described here, right? That the model can really learn or like try to understand about you deeply yet. And we do believe that if this is possible, there will be so many exciting downstream applications that can be used not only for personalization, but also just as you said, like maybe education, maybe the model can understand more about how you're, like what is your current understanding on this topic in a faster way, right?
46:56Yeah.
46:57Jacob X. Li: Yeah, and I guess maybe like the sort of clod.md files are kind of like occupying, it's like definitely the first thought I just had when I think about this. It feels like it's doing a little bit of a machine studying with my code base when I give it a task and it starts keeping its notes in the clod.md file. And in the kind of deep personalization, I think the counter argument to that is like, while I just bring that CloudMD file around with me from project to project, I'm like, it's coming on the road with me.
47:28Weaviate Podcast Host: I think these scales.md, cloud.md are very handy. I use them as well. For some reason, they contradicted with my own design philosophy a little bit. But I'd love to use them. They're doing great. But yeah. so I wouldn't be commenting too much on this but apparently they work for me too
47:59Jacob X. Li: awesome well Jacob I think this work is already so forward looking but I'd love to just know what directions for AI excite you the most
48:13Weaviate Podcast Host: well one very I think one very related area to machine studying is evaluation as a science, right? Because if you think about all of these tasks we were just discussing, for example, how well your language model can, or your agents can understand you, how well can it do deep research? It requires a lot of evaluations and apparently not all of them are so easily defined. And let's say most of the time, time, we've observed that as soon as there's a very good benchmark in a field, people will find a way. We are scaling human labor, right? We can find a way to help climb these benchmarks. But there will always be a new field.
49:02Weaviate Podcast Host: Let's say, how well does your model understand you instead of me, right? You might need a benchmark yourself rather than using my benchmarks. and how these benchmarks are created are very interesting questions, right? Because to be honest, there's nobody understanding you better than yourself. But a lot of the time, or like when we are dealing with these types of questions, even though, let's say me, I know myself more than anyone, but I might not be capable enough to actually design a great benchmark. You know, the hard questions for me might not be hard for agents. And this is such an exciting direction of how do we actually create benchmarks for these newer, for this emerging field, for this more nuanced domain, right?
50:01Because it seems like we are talking a lot about, okay, recursive self-improvement.
50:10Weaviate Podcast Host: But when we are actually talking about recursive self-improvement on understanding of a new domain where a benchmark doesn't exist, how are you even monitoring the progress? How do you evaluate studying algorithm at all? It is a very, very interesting question. and I think we'll briefly touch on this in our about to be released paper soon so but like in general evaluation as a science is such a fascinating topic said that interests me
50:45Jacob X. Li: yeah yeah I think yeah just kind of what we're talking about with like the studying and just what questions to ask how to particularly study I guess I'm a little curious further into this idea of like knowing myself and just, I guess, your view on personalized agents and maybe just further into what you mean by that.
51:06Weaviate Podcast Host: Oh, well, for example, like, let me give you an example. Like, for example, if I'm teaching myself on a new topic, let's say I'm studying quantum mechanics today, I just want to learn it more efficiently and more effectively. Why can't an agent teach me? But I feel like the first step is to have the agent study me, like where I, like where my understanding is at. Am I still capable of doing anything like high school physics or am I just like incapable at all? Right. So can these agents actually try to study me from, let's say, maybe my own chat history or maybe give me a short quiz and look at the answer and then maybe just how well can it actually understand me?
51:55Weaviate Podcast Host: And this sort of things can, I think, definitely fall under machine studying questions. and while we were talking about this how do we even measure this do you actually want to scale me as let's have agents teach me 10 different fields and actually let me learn them first and then see how I'm performing and to conduct some sort of RL algorithm to teach the model better at teaching me I think that will work but I might be exhausted learning like night or 10 unrelated field just to have the agent better teaching me about quantum physics you know yeah that inspires me thinking about like instead of writing a short
52:44Jacob X. Li: question it writes an open-ended question to realize oh connor actually is missing several
52:48Weaviate Podcast Host: concepts yeah that's i i also yeah that's definitely fascinating yeah yeah amazing well
52:56Jacob X. Li: jacob thank you so much for joining the weva podcast i think this uh framing of studying intelligence, just this field, particularly, I think, like, when you just read this paper, and you're contrasting it with continual learning, the highlighting the missing gaps. And I just, I mean, who doesn't like this framing is awesome machine setting, setting intelligence is so captivating. And congratulations on this work. And thanks again.
53:18Weaviate Podcast Host: Thank you so much.
53:19Jacob X. Li: Thanks for having me.
Jacob X. Li , a Ph.D. student at MIT joins the Weaviate Podcast to explain Machine Studying, a new framing for how AI agents can prepare themselves for a domain defined only by a corpus of documents, whether that's a code base, a pile of drug discovery papers, or a system's logs. Just like a student studying for an exam they haven't seen, the agent studies the corpus without knowing the downstream tasks, and still has full access to the corpus at test time. Rather than leaning entirely on inference-time compute the way Codex or Claude Code explore a repository from scratch, can an agent develop arbitrarily deep understanding ahead of time?The conversation dives into how the paper defines expertise: an expert is an agent that efficiently turns inference-time search into accurate work, measured as the weighted area under the performance versus compute curve, with the search budget of a ReAct-style agent loop as the knob instead of reasoning effort. Stacking that one level higher gives studying intelligence, expertise as a function of study-time budget, with retraining from scratch as the baseline. From there, Jacob and Connor discuss learning to search, including a literature review experiment where an outdated model with BM25 finds roughly the same papers as a newer model but is far worse at deciding which ones matter, and why studying is more than retrieval.Jacob then separates Machine Studying from continual learning, which is framed around sequences of benchmarks and often collapses into long-context processing, and lays out the three bets every studying method makes: self-supervised objectives or synthetic data, updating weights through LoRA, KV-cache cartridges or a trained retriever, and amortized context management like notes and cheat sheets. Cheat sheets helped on DSPy but less on the larger, newer OpenClaw code base, and weights versus context, along with where prompt optimization like GEPA fits, is left deliberately open.The episode closes with how human study habits like self-quizzing and annotating inspire these algorithms, agents that study you before teaching you, and why evaluation as a science matters when recursive self-improvement happens in domains with no benchmark at all!