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
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
467
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
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
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
The character training is top notch! 🤩
Bro just roasted the entire AI industry.
121
I think this paper may be onto something… I am not sure this particular representation is the right long-term approach, but the fact that more semantically interpretable representations generalize better seems right to me! (In my old days of pre-deep learning computer vision this seemed obvious, but I think this ancient wisdom was forgotten 😅)
What if Unified Factored Representations (UFR) are what we need to prevent catastrophic forgetting, and thus move towards a world where continual learning works in-weights?
1
3
458
This is very cool. Proprietary security is always layered from fast recall-oriented models to heavy precision-oriented. Nice to see this implemented in open source as well!
Today, we’re launching Project Iris to give developers the tools to deploy open models safely. → Iris Safety Evaluations: reproducible benchmarks across 15 harm categories → Iris Cyber Probe: low-cost, real-time detection of cyber misuse during inference → Iris Content Guard: conversation review at scale on any size GPU reflection.ai/blog/iris-safe…
2
7
276
Cool new eval across various scientific domains! Frontier LLMs are above the human experts, but the benchmark is still far from being saturated (~40% only for Opus 5.5)! @TokenWaveai when Neon? 😄
Can AI agents already beat human expert methods on real research problems?​ Today we’re releasing REE, a Scientific Research Entrance Exam for AI Agents. It covers 100 open-ended problems across 23 scientific domains. Agents start with a working solution and have up to 12 hours to improve it. For each problem, we compared the agent’s solution with the strongest public expert method we could run under comparable time and compute constraints. We then scored both methods on the same unseen data.​ On most problems, the answer was yes. Claude Opus 5.5 beat the expert method on 86% of problems and GPT-6.1 Sol on 81%. At the two-hour checkpoint, both were already ahead on average. Even so, no agent earned a perfect score on any task.​ Every lab has ideas it hasn’t had time to test. REE gives researchers a way to measure how much of that experimental work an agent can take on once a scientist has set the goal.​ 📄 Paper: arxiv.org/abs/2611.34646 🤗 Data: huggingface.co/datasets/Toke… 💻 Code: github.com/TokenWave-AI/REE 🌐 Blog: tokenwave-ai.github.io/REE/ 🤗 Hugging Face Daily Papers: huggingface.co/papers/2611.3… (If you find it interesting, we’d appreciate an upvote!)
1
8
591
💯
scaling search seems very cool
1
227
Real world is chaotic and stochastic, world models are obviously one angle to this, but Search is another one. This affects everything. Evals and post-training sets are either 1) properly modeling current reality, but non-reproducible and very noisy, or 2) stable, but stale and out of distribution. I wonder if we should treat agentic search similarly to how we treat the real world 🤔
New preprint! Look Back: Reinforcement Learning with Counterfactual World Models In worlds too chaotic or complex for world models, we argue that looking back on an experience and imagining the outcomes of untaken actions can be easier & offer better learning signals for agents.
1
1
2
208
All confidence intervals are wrong, some are useful 🤪 LLM-as-a-judge or grader or autorater - whatever you call it - has its own variance that the usual bootstrap confidence intervals do not account for. This can be very subtle and especially tricky across different experiments. The thread and paper below investigates this effect further. My read of it: instead of investing in more items, invest in diversifying among judges, or better yet understand where the uncertainty is coming from first in your particular setup.
If you use LLM-as-judge (autoraters) for text-as-data or to score evals, your CIs are probably too small. Our CIs usually ignore variation from judge model, scoring prompt/rubric, system prompt, harness, reasoning level, temp, infra noise, etc. This variance doesn't shrink w/ N so under-coverage will *worsen* with more data. I introduce a framework called TEE for proper CI estimation 🧵
3
324
👀
It's already coming folks. @sh_reya and I will be talking more about this soon. fsdatalab.github.io/quail/do…
96
Out of all the hacky ways to estimate perplexity across the models - I like this one the most! After the recent openai post, I have seen multiple ways to “estimate” perplexity, most are trying at some combination of available benchmarks. The obvious problem with this is that different model families are post-trained differently to perform in these benchmarks, so this is a bit apples to oranges when it comes to perplexity. This sentence completion benchmark is a lot more simplistic in a sense, but mimics closer the pre-training objective. Still hides a lot of nuance, because the data distribution is unknown. But at least makes the numbers more comparable between model families!
I found a way to estimate log-perplexity/BPB for all frontier models! Introducing the Anpaure Pretrain Index. Results are shocking: Gemini 3.1 Pro was a Fable 5-level pretrain, Chinese pretrains lag behind US by around 8-12 months, and it now makes sense why Opus 5 was a flop!
5
381
Designing a good enough eval specific to your problem is 2/3 of the work. The grader is oftentimes the most difficult part. For any ambitious real-world problem the graders will be noisy, underspecified and probably also expensive. If you evaluate smaller models with the larger ones - a well-tuned grader is probably trustworthy, but once you get into the frontier eval territory - you can no longer blindly trust your evals any more.
1. Don't make decisions based on benchmarks. They have too many flaws. 2. Use your own evals 3. If you must use benchmarks, look at the data. Looking at just one failed task is often enough to uncover major issues. TBH, you'll be convinced not to trust benchmarks if you do this
1
5
392
In verifiable domains it is easy to see the value of ugly solutions, because it is hard to argue with something that works. In unverifiable domains though, it is more subtle. State of the art benchmarks (and yes, lmsys being one of them) incentivize elegance over substance, and LLMs are happy to comply. Well-formatted response with a subtly unfactual claim wins over dry factual response. Overly simplified yes/no answer wins over a more nuanced “it depends” answer. Entertaining response wins over educational one. “Elegance“ as a proxy for “good“ has its limits. But baking “ugly” into the real world products will not work, because real people still value elegance. I do not have a solution, I just want to acknowledge the problem 🫠
"He had ugly solutions when other people were elegantly stuck" may be a quote of a century Elegance in science is human brain inductive bias and we may very well have farmed elegant solutions out. The AI age will be a beginning of solutions that will bring new levels of robustness correctness and performance, but oh boy they will feel ugly and unsatisfying to human brain.
117
Quite a surreal dataset, very curious to see some at-scale analysis of emerging swarm behaviors!
Today we're releasing the message board used to create PyBot! With 1,000 agents, 184k messages, and 32M words, it's the largest open dataset to study swarm dynamics. huggingface.co/spaces/Huggin…
156
If you've ever wondered who those "human experts" are that everyone is comparing their agents against, take a look at this thread! This is probably the best we can do, but still important to understand the limitations of the baseliner selection process and benchmarking.
Part of my job working on this post was recruiting baseliners. We got formal baselines for 3 relatively easy-to-verify tasks. Typically, we asked LLMs who in the world would be most qualified for each task, while being plausibly available, and reaching out offering $200-350/hr🧵
1
105
Great post: gpt-oss-20b being fine-tuned for Search/Information Retrieval tasks with a minimalistic harness around it. Easy to read and quite comprehensive (hyperparameter tuning and scaling up are discussed, for example).
Sharing my first of hopefully many research blog posts! jasperlu.com/blog/training-s… This one is the kind of educational blog post I wish I'd had when I started with RL for LLMs. I tried to make it as open as possible. Every rollout is browsable, the code is open source, and I walk through my entire thought process, from learning rate sweeps to reward shaping.
1
125
Yet another nice paper on the problem of LLMs answering the wrong question instead of clarifying the intent. My hot take is that I blame lmsys/lmarena for this: companies cared too much about this ranking and optimized for one-shot answers over more useful and natural conversational flow and ultimately better product experience 😅
Knowing when to ask may matter more than knowing how to answer. Research agents are too eager to be helpful. They’d rather spend minutes researching the wrong question than seconds asking the right one. 📄 check out more in arxiv.org/abs/2610.39413 lead by amazing @Freya_Wyy !
1
2
202