Dmitry Laptev (@dm_laptev) header
Dmitry Laptev (@dm_laptev) profile picture

Leading a team building agentic search @Google. Focused on factuality, grounding, and quality at scale. Views my own.

Zurich, Switzerland
Joined April 2017
Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)Photo by Dmitry Laptev (@dm_laptev)
Retrieval is about so much more than BM25 or embeddings or grep. It is about the magical experience where it "gets" you even if you are not sure yourself what exactly you are looking for. I like the framing of "retrievers intuition" from @ohmyksh and @yoonholeee below. This intuition is what differentiates frontier Agentic Search systems from the baseline RAG setups today. Three more practical notes for low-latency production applications. 1. Retrieving relevant data right away cuts the number of agentic loop iterations and enables more use cases. 2. Context is a valuable resource, so filling it with repetitive keyword-matched documents actively degrades models ability to reason, especially on smaller models. 3. Apart from just tuning the retriever, a lot of headroom lies in co-training and co-tuning the retrievers together with harness and the LLM itself.
Research Intuition as a Retrieval Task We wrote a @StanfordAILab blog post exploring intuition (taste) in discovery and proposing a path forward. Open-ended discovery depends on intuition to recognize what is worth reasoning about. Even the strongest reasoning or decision models can explore only a small part of the search space, so they need quick intuition to surface promising directions. We argue that retrievers are the natural place to learn this intuition, and that the ceiling for learned intuition sits far above human level, since retrievers can scale work in ways humans cannot. We hope ScholarCatalyst is a step toward a new generation of retrievers that learn intuition beyond semantic similarity. Blog: ai.stanford.edu/blog/scholar… Paper: arxiv.org/pdf/2610.02202 w/ @yoonholeee
15
11
87
4,343
Wow, these folks just keep shipping awesome benchmarks! Yes, and the Fable gap is remarkable and feeds right into the conspiracy theories 😆
⚡Today we release PreTrainBench: Can Agents Automate Pre-Training? We give agents 16 H100 GPUs, 24 hours, and full freedom over the model size, architecture, data, etc. The goal is to train base models that score well on 22 few-shot benchmarks in language, knowledge, math, and code. We have many important findings: - Gemini 4 Neon is the best model (35.6%) closely followed by GPT-6.2 Astra (34.7%), - perplexity/BPB is not a great predictor of benchmark scores, - Fable 5.2 underperforms, scoring at the level of Haiku 5.5 (!). This is our third major benchmark, alongside PostTrainBench and InferenceBench, aimed at measuring progress toward recursive self-improvement. Our goal is to provide the public with reliable indicators of RSI, as we believe transparency around RSI is one of the key issues in AI safety. Project website: pretrainbench.org/
14
What I would say about OpenAI models, which are brilliant, in face of slow revenue growth is that they’re falling behind because they’re harder to use than Claude or Gemini. The growth phase of this technology is about getting new users.
15
8
5
191
17,408
Does it take longer to finish the task with codex?
20
YMMV, but for my sets of tasks Codex was noticeably faster than Claude, but now they are both noticeably slower than Antigravity with Neon.
1
16
Embedding models are underrated! Nemotron-8B models tuned for retrieval from @nvidia folks below
How do you build SOTA Text Embedding model? 🏆 Today we're releasing the full recipe behind our MMTEB-winning model: @nvidia llama-embed-nemotron-8b. Technical report, training data, and full code. 🧵 (1/4)
2
21
1,684
I hope you can find your answers in the repost i sent ahaha, tried to get some numbers to better answer you!
1
1
26
Nice! Expected, but still nice to have concrete numbers, thanks!
1
18
Perplexity may be a proxy to intelligence, but it does not generalize across model families and post-training regimes. This paper investigates the details and alternatives. TL;DR. is that fine-grained token statistics over expert reasoning traces (entropy or top-k accuracy) is a better measure.
Replying to @mariusmosbach
@mariusmosbach presented yesterday at @MPI_IS his work on how perplexity is not a great predictor of a model’s generalization! check out his NeurIPS’26 paper for more details: arxiv.org/abs/2605.18607 (interesting in the context of OpenAI’s perplexity plot!)
1
1
10
470
For long context better use a late interaction or sparse retriever hehe
1
1
29
Actually interesting to hear your thoughts, @paulomouraj, how do sparse retrievers evolve with the length of a document? Is the effective sparsity gradually decreasing? And do you need to also increase embeddings dimensionality as well?
1
1
634
New AI Safety paper with a very simple message: MONITORABILITY IS TRAINABLE! With @timbbakker, @ChrLouizos, and @DavidSKrueger We propose a post-training stage that rewards CoTs for being informative—in the mutual information sense—about the model’s own output, and show that this significantly improves CoT monitorability across various models without any need for behavioral labels or monitor feedback. Paper: arxiv.org/abs/2610.29734 Blog post: lesswrong.com/posts/h8jvRHDA… Tweetprint below.
18
27
5
300
14,529
Very nice work! I still think it can be a slippery slope to put too much faith in CoT monitoring given that more and more of reasoning seems to happen in the latent space, but getting more reliable CoT monitoring seems like a good idea regardless
3
100
Replying to @dm_laptev @nvidia
how does it do on long docs?
1
63
I did not try, but I honestly would not hold my breath, embeddings never work well for long documents, that is why we do chunking in the first place
2
1
37
Level 1 debugging: your model is wrong; Level 2 debugging: your harness is wrong; Level 3 debugging: your LLM judge is wrong; Level 4 debugging: your human raters are wrong 🫠 This paper is about level 3 - this is where things go wrong probably most often in practice. 👏
If your LLM judge is wrong, everything you optimize against it is wrong too: best-of-N, self-refinement, RL rewards. On open-ended tasks, LLM judges often disagree with people. EvalOpt fixes the judge. It learns the evaluation procedure from pairwise human preferences: prompts, tool calls, what evidence to check, how to score. Model weights stay frozen. Results across 19 domains (slides, webpages, slide decks, images and 3D, summarization, translation, dialogue, research ideas, review judgments and more): - 69.6% agreement with held-out human judgments, up from 61.5% (+8.0) - Best method in all 19 domains, not just on average - Ahead of GEPA (+5.5), SkillOpt (+5.7) and Meta-Harness (+5.9), with the same human feedback and the same search budget - Up to +11 points over the starting evaluator in a single domain A better judge also gives better outputs. In blinded human comparisons on four domains: - as a critic for self-refinement, EvalOpt-guided outputs win 60.8% vs outputs guided by the starting evaluator - as the reward for RL training, they win 59.1% - fewer major regressions in both settings (7.5% vs 10.0% as a critic, 10.0% vs 12.5% as a reward) What makes it work: real fixes to an evaluator rarely land on the first try. A new check fails to run, or runs but never reaches the score. Most self-evolving loops see no improvement and switch to a different idea. EvalOpt keeps the direction, rolls back the failed candidate, keeps its diagnostics, and repairs. On four analysis domains this beats a fixed retry budget 72.1 vs 68.2. It also spends human labels carefully: it asks about pairs where existing signals disagree. With the same 400-question budget, that yields 37% more decisive labels than random sampling. Paper: arxiv.org/abs/2612.02431 Code: github.com/microsoft/EvalOpt Page: microsoft.github.io/EvalOpt/ Part of AgentOpt, our series on optimizing every part of an agent system: SkillOpt (skills), EnvOpt (environments), EvalOpt (evaluators), Freehand (harness).
4
3
61
4,286
Level 5 debugging: your agentic critic jury is wrong
2
1
47
But I am the agent critic jury 🤣
1
44
This is smart! Instead of RL'ing your deep research agents on the real internet with real search - you train it on fake mini-internet with stupid search 😆 1) Pick "needle" documents, 2) generate hard questions around these documents, 3) mix them with other relevant documents in a "haystack" of sorts, 4) only allow BM25 to retrieve from this "haystack". That is it, you got yourself an environment! From one point of view using a simpler simulation of a search forces the model itself to search better. From another point of view this makes the simulation unrealistic for real world production systems. I would rather co-optimize both the retriever and the model 🤔
Introducing 🎓DR Tulu 2: We scale simulated Deep Research training environments. SOTA open agent with a 4B size, matching models 2 orders of magnitude larger. - No distillation. - No dependency on web APIs during training. - No sim-to-real gap to web search at test time.
2
2
25
1,482
Thank you and totally agree they should be co-optimized! Another thinking: there will always be mismatch between train and test search systems (users want to deploy to search different things, or simply the web changes). Instead of trying to mimic the web as much as possible during training, can we leverage this mismatch? For example, training on something deliberately harder will generalize better to easier settings at test time? We made a first shot, but still lots of things to try here 🙂
1
1
63
I am definitely not criticizing, different solutions for different circumstances. The mismatch will indeed always be there and if you cannot close the gap - you might as well teach the model to work around it!
1
1
22
MobileLLM-R2 is out. It's a 2.5B model we trained from scratch for long-horizon reasoning and agentic tool use, and it scores 30.9% on SWE-Bench Verified. The best baseline under 3.5B parameters, Qwen3.5-2B, gets 15.6%, and Olmo-3-7B gets 0.6%. It also beats Olmo-3-7B-Instruct on AIME'24, AIME'25, HumanEval and LiveCodeBench with a third of the parameters. Against models under 3.5B, it's best or within a point of the best on 12 of 14 benchmarks. It trails on the knowledge-heavy ones, MMLU and GPQA. Pretraining used 1.2T tokens, 9.3x fewer than SmolLM3-3B and 30x fewer than Qwen3. After that come two 105B-token mid-training phases distilled from a 30B teacher, SFT on general and agentic reasoning data, and on-policy distillation to finish. With Q4_K_M weights and an 8-bit KV cache, it needs 3.0 GiB at 32K context and decodes 137 tokens/s at 4K context on an M4 Max. The project page has replays of it working as a coding agent, running locally through llama.cpp and solving SWE-bench tasks end to end. The base checkpoint, the final model and the GGUF quants are on Hugging Face under the FAIR Noncommercial Research License. Project: facebookresearch.github.io/M… Models: huggingface.co/facebook/Mobi… Paper: arxiv.org/abs/2611.39870
16
27
3
189
5,984
These are wild results for such a small model, even if they are a bit benchmaxxed! Special kudos for including the base model as well!
27
Replying to @dm_laptev
Makes sense, a moving target on both sides 😅 We can't train the providers, so we're going one layer up: fan out to several indexes and collect what the agent actually cites and rejects, to train a ranker on top. Do you think a ranker can keep up with the model, or does the retrieval underneath eventually have to adapt too? 🤔
1
1
25
That is smart, I like it! Most Search systems are layered, and the larges headroom is usually at the top (reranking over various indices in your case), you might want to eventually go down the stack, but just casting a wide net there will get you quite far IMO
1
46
Replying to @dm_laptev
When you say co-optimize the retriever and the model, do you mean training the retriever on the queries the agent actually writes?
1
1
29
Yes, but more :) once you optimized the retriever for the queries the model outputs, it will probably be good enough to answer more complex queries, so the model also needs to adapt accordingly.
1
1
46
Beamer is so back: github.com/bamos/presentatio… at least for me this first experience test driving it has been much better than any other agent-assisted presentation editing I've tried: any coding agent understands the source code of LaTeX, TikZ, and Beamer better than the opaque binary presentation formats without requiring any special interfaces or adapters. and the agent can use all of the other tools they already have access to it's easy to use an AGENTS.md file to remember preferences. here's mine: github.com/bamos/presentatio… agents here help overcome the old issue of Beamer presentations being too text-heavy and difficult to visually edit. once somebody told me their expectations of a presentation immediately lower if they recognize a Beamer theme since it'll likely be too text-heavy and not visual. although somebody else in statistics has told me that in that field, that style is respected and probably raises the expectations of the presentation... downsides are that last-minute edits can be trickier and AI slop is easy to make it into the presentation 😅 I also found it useful to have the agent write speaker notes inline with the slide's source code to help keep track of the flow and additional context around the slides beyond this, I have posted the source files behind the 39 presentations I have given over the past 10 years in this repo. I enjoy crafting my presentations and hope others may find these pieces useful: bamos.github.io/presentation… github.com/bamos/presentatio…
I recently gave a talk going through our AdvGame paper on aligning LMs via an attacker-defender game. Here are the slides: bamos.github.io/presentation…
6
8
2
60
4,535
Lol, who would have thought that what we really need agents for are ancient technologies like Beamer and RegEx 😆
1
9
I'm kind of nostalgic of old school ML It was fun to see some smart tricks and think about them Yeah, the bitter lesson made all of this mostly useless and now it's mostly about compute & data But it was still much more fun
7
1
1
85
5,684
Almost like writing code 😅
1
189
Can an LLM know too much? Breakthroughs often come from outsiders. Bicycle makers with no degrees built the first airplane by not trusting what experts “knew.” Einstein, a patent clerk, revolutionized physics. A monk named Mendel founded genetics with pea plants. So why would we expect LLMs that already know "everything" to find new, creative paths? New paper: "The Value of Not Knowing: How Fresh Eyes through Naive LLMs Fuel Creativity." Huge thanks to my co-authors @AlbalakAlon, @joelbot3000, and @kenneth0stanley, and to the whole open-endedness team at @LilaSciences. Explainer video below, more details in the replies 🧵
11
7
7
61
5,994
Nice work! We also observe another common loss pattern that fits into this "know too much" territory. Sometimes the model is so confident in its parametric knowledge that it refuses to use tools like search, leading to unfactual responses.
1
1
75
Looped models can recover from steering/perturbations using extra loops. Inkling, Dory, Ouro, Nanbeige. How does this happen, and what does it imply for AI safety? Read more in my latest work supported by @MATSprogram and @OpenAI.
15
35
6
379
20,017
Interesting and beautifully visualized! But is it mostly theoretical for the moment or already practical? For example, are there any models that only do steering on the first loop?
1
2
144