
We work on natural language processing, machine learning, linguistics, and deep learning. PIs: Dan Klein, @alsuhr, @sewon__min
Berkeley, California
Joined September 2019
- Tweets140
- Following37
- Followers6.9K
- Likes145
BerkeleyNLP retweeted
I'm also recruiting PhD students to my group @BerkeleyNLP
If you're interested in, the best place to meet us is at our posters. Come by if you're interested in working with me, joining the broader @BerkeleyNLP group we're building ✨ or just want to hang out with us!
BerkeleyNLP retweeted
My whole group and I @BerkeleyNLP will be in Sydney for #NeurIPS2026!
We'll present 3 papers and 2 talks: we're rethinking how LLMs are trained, structured, and use data, especially as today's standard scaling recipe meets new limits 🔥
Here's where to find us 🙌
Tue, Dec 8, 5-8pm Poster: @RyanYixiang will present EMO, a mixture-of-experts model organized with semantically specialized experts (arxiv.org/abs/2605.06663) -- he may also talk about how we managed to train EMO for 14T tokens (‼️) or other new research he's doing on "how to train MoEs differently" 👀
Thu, Dec 10, 5-8pm Poster: @_sgollapudi will ask "What does it take to make a one-million-token LM handle a realistic retrieval task?" 🤔
(arxiv.org/abs/2607.01538) -- and you can also ask him the bigger question "what's next in retrieval/search?" 🌐
Thu, Dec 10, 5-8pm Poster: @prasann_singhal will present corpus reasoning tasks, whose complexity grows quadratically (or faster 📈) with the corpus size (arxiv.org/abs/2609.29245). Ask him how we've already been using them to inform modeling decisions 🔎
Fri, Dec 11, At pretrain2posttrain.github.io: I'll share my take on how we can pre-train differently as new limits in scaling emerge 🚨
Sat, Dec 12, At attrib-workshop.cc: Hear about how I completely lost track of other models used to build one model, which was why we built ModSleuth (arxiv.org/abs/2606.12385) and also, how to detect distillation🕵️♀️
BerkeleyNLP retweeted
Wait, what was that paper I saw last week with the pink and blue Pareto curves? 🤔 Keep screenshots of your screen, and you can find it again, right on your laptop. 💻
🔥 Introducing 𝑺𝒕𝒓𝒆𝒂𝒎𝑬𝒎𝒃𝒆𝒅: real-time visual indexing of your screen history, fully on-device.
⚖️ The latency–accuracy trade-off
OCR text index: fast, but loses what only pixels show
Screenshot index: accurate, but 2.3s per screenshot on a laptop GPU
𝑺𝒕𝒓𝒆𝒂𝒎𝑬𝒎𝒃𝒆𝒅 gets both: 𝘂𝗽 𝘁𝗼 𝟯.𝟳× 𝗳𝗮𝘀𝘁𝗲𝗿 than full-screenshot encoding at matched accuracy, and +𝟲.𝟯 𝗥𝗲𝗰𝗮𝗹𝗹@𝟭𝟬 over OCR.
💫 How?
(1) 𝗦𝗰𝗿𝗲𝗲𝗻𝘀 𝗯𝗮𝗿𝗲𝗹𝘆 𝗰𝗵𝗮𝗻𝗴𝗲. Often, only a handful of blocks differ.
(2) 𝗦𝗼 𝘄𝗲 𝘀𝘁𝗼𝗽 𝗿𝗲𝗰𝗼𝗺𝗽𝘂𝘁𝗶𝗻𝗴 𝘁𝗵𝗲𝗺. Spatial token pruning drops blocks that repeat a neighbor; temporal KV reuse recomputes only what changed: 57–71% less compute.
(3) 𝗔 𝘁𝗶𝗻𝘆 𝗮𝗱𝗮𝗽𝘁𝗲𝗿 keeps the embedding faithful to the full screenshot.
📝 𝗧𝗮𝗸𝗲𝗮𝘄𝗮𝘆: keeping your entire screen history as pixels is now practical on a laptop. Next: fully local visual agents with memory.
You can try it on your laptop right now: 𝙥𝙞𝙥 𝙞𝙣𝙨𝙩𝙖𝙡𝙡 𝙨𝙩𝙧𝙚𝙖𝙢𝙚𝙢𝙗𝙚𝙙
💻 Code: github.com/StarTrail-org/Str…
📄 Paper: arxiv.org/abs/2611.18516
BerkeleyNLP retweeted
"Reading pixels natively" meets a computer-history agent with *real-time indexing*!
But encoding & indexing raw images is slow and memory-expensive?
@dayoon12161's solution: temporal + spatial pruning cuts redundancy and squeezes the most from minimal encodes!
You can install it now and query your own computer-use history 💻
Wait, what was that paper I saw last week with the pink and blue Pareto curves? 🤔 Keep screenshots of your screen, and you can find it again, right on your laptop. 💻
🔥 Introducing 𝑺𝒕𝒓𝒆𝒂𝒎𝑬𝒎𝒃𝒆𝒅: real-time visual indexing of your screen history, fully on-device.
⚖️ The latency–accuracy trade-off
OCR text index: fast, but loses what only pixels show
Screenshot index: accurate, but 2.3s per screenshot on a laptop GPU
𝑺𝒕𝒓𝒆𝒂𝒎𝑬𝒎𝒃𝒆𝒅 gets both: 𝘂𝗽 𝘁𝗼 𝟯.𝟳× 𝗳𝗮𝘀𝘁𝗲𝗿 than full-screenshot encoding at matched accuracy, and +𝟲.𝟯 𝗥𝗲𝗰𝗮𝗹𝗹@𝟭𝟬 over OCR.
💫 How?
(1) 𝗦𝗰𝗿𝗲𝗲𝗻𝘀 𝗯𝗮𝗿𝗲𝗹𝘆 𝗰𝗵𝗮𝗻𝗴𝗲. Often, only a handful of blocks differ.
(2) 𝗦𝗼 𝘄𝗲 𝘀𝘁𝗼𝗽 𝗿𝗲𝗰𝗼𝗺𝗽𝘂𝘁𝗶𝗻𝗴 𝘁𝗵𝗲𝗺. Spatial token pruning drops blocks that repeat a neighbor; temporal KV reuse recomputes only what changed: 57–71% less compute.
(3) 𝗔 𝘁𝗶𝗻𝘆 𝗮𝗱𝗮𝗽𝘁𝗲𝗿 keeps the embedding faithful to the full screenshot.
📝 𝗧𝗮𝗸𝗲𝗮𝘄𝗮𝘆: keeping your entire screen history as pixels is now practical on a laptop. Next: fully local visual agents with memory.
You can try it on your laptop right now: 𝙥𝙞𝙥 𝙞𝙣𝙨𝙩𝙖𝙡𝙡 𝙨𝙩𝙧𝙚𝙖𝙢𝙚𝙢𝙗𝙚𝙙
💻 Code: github.com/StarTrail-org/Str…
📄 Paper: arxiv.org/abs/2611.18516
BerkeleyNLP retweeted
Model competition is heating up, and distillation is 🔥🔥
Distillation detection is hard, so watermarking can help make it detectable.
But are existing watermarks robust?
We find two ways to break them: distill a model, then distill that model again; or distill only selected tokens that matter.
Then what do we do? We introduce SubWM, which outperforms prior methods and is more robust to laundering.
Excited to present our new work on distillation detection: Subliminal Watermarks (SubWM). SubWM is much more robust compared to existing distillation detectors, is able to distinguish different watermarking keys, and also works reliably for out-of-domain prompts!
Blog: subliminal-watermarks.github…
🧵
BerkeleyNLP retweeted
"No OCR, read text natively from images" continues!
We showed this with deep research agents: it not only improves performance but also reduces tool calls!
Post-training to work with page images gives a big boost - likely because these open-weight models haven't been trained to work with page images yet?
Exciting work led by @Hughie_Hu43 !
(1/7) 🚀 Introducing DR Pixel, the first open-source deep research agent that searches and reasons directly over page images, no OCR. On 1.06M pages, our trained 27B model matches GPT-5.4.
📄 arxiv.org/abs/2611.03097
Joint work from @BerkeleyNLP, @rtnldynamics!
BerkeleyNLP retweeted
(1/7) 🚀 Introducing DR Pixel, the first open-source deep research agent that searches and reasons directly over page images, no OCR. On 1.06M pages, our trained 27B model matches GPT-5.4.
📄 arxiv.org/abs/2611.03097
Joint work from @BerkeleyNLP, @rtnldynamics!
I'm at #COLM2026 this week! 🌉
Lately I'm thinking about what's missing in harmful AI manipulation research and governance (whitepaper soon).
Also on the job market for AI safety research roles, esp. threat modeling, strategy, evals, technical governance...
DMs open :)
BerkeleyNLP retweeted
Long-context LMs seem great at tasks like RULER, but what about tasks like "find every contradiction in the given corpus"?
- Performance suffers, especially as the input corpus scales (even with in-domain fine-tuning, not just zero-shot)
- It changes a lot of core modeling decisions, e.g., whether to use hybrid models, whether to use block sparse attention
TL;DR: if you are a model developer, include our CTC-Bench in your evals! ✨
BerkeleyNLP retweeted
Could long-context architectures “find all contradictions” in a science literature? Not yet! 🧵
We study a new class of "high-complexity” tasks whose difficulty scales quadratically with corpus size (as opposed to linearly), reversing common LCLM decisions! (block-sparse attention, hybrid models…)
BerkeleyNLP retweeted
I'll be speaking at the EMM-QA Workshop tomorrow (Saturday)! #icml2026
Come say hi and hear about PixelRAG -- doing RAG but without text (?) 👀
Don't miss @andylizf's poster as well🙌
pixelrag.ai
arxiv.org/abs/2606.28344
🚀The ICML 2026 EMM-QA Workshop is happening tomorrow!🚀
Join us at 8:00 AM in ASEM Ballroom 201 at COEX.
The program features four excellent invited talks, paper presentations, shared challenge highlights, and the live AI QA competition!
Program:
qanta-org.github.io/competit…
BerkeleyNLP retweeted
As task horizons grow, LLM contexts can’t scale forever. Self-summarization enables concise, interpretable contexts but at a significant performance cost.
Our solution: isolate and *supervise* the information content of summaries in the form of natural-language belief states 🧵
BerkeleyNLP retweeted
One day I tried tracing all of Olmo's dependencies manually. A few hours later, I realized I can't do it and gave up. Then @sadhikesaven and @CoderBak ModSleuth 🔥
Turns out Olmo and Nemotron have hundreds of dependencies that are super deep, recursive, and not easily visible. I'm glad I gave up early 😅
Spoiler: I thought this would be a one-week Claude Code project. It was not.
The hard part wasn't information extraction (which Claude Code is good at). The hard part was something much trickier. Check out the paper to learn more!
(And yes, if a model release says it used Claude Code, ModSleuth will trace that too... which means the model depends on Claude Code, which has its own dependencies, and ModSleuth itself depends on Claude Code 🤯)
BerkeleyNLP retweeted
The web was never meant to be flattened into text.
Yet most web RAG systems start by parsing HTML --- a complex and lossy process.
🔥 Introducing PixelRAG: the first RAG system that retrieves and reads 30M+ web pages as pixels.
Instead of extracting text, PixelRAG retrieves screenshots and lets a VLM read them directly.
PixelRAG not only preserves visual information, but also outperforms text-based RAG on text-only QA benchmarks by +18.1%.
Why?
(1) HTML-to-text conversion often discards layout, structure, tables, and other useful signals.
(2) We continued pretraining a VLM on web page screenshots and turned it into a surprisingly strong visual retriever.
(3) Recent VLMs are remarkably good at understanding web pages, often with better accuracy and token efficiency than text-only pipelines.
Takeaway: HTML parsing may be one of the biggest self-inflicted bottlenecks in web RAG.
Demo below 👇
Code: github.com/StarTrail-org/Pix…
Paper: github.com/StarTrail-org/Pix…
Playground: pixelrag.ai/
BerkeleyNLP retweeted
Super excited about this work, led by @YichuanM and @andylizf ! It is possible to completely remove HTML parsing by directly retrieving and reading web screenshots through VLM.
HTML parsing is a hidden bottleneck that causes significant complexity and information loss that nobody really pays attention to, and it's so exciting that VLM progress made it possible to remove it.
Please check out this demo as well which is really cool!!! pixelrag.ai
The web was never meant to be flattened into text.
Yet most web RAG systems start by parsing HTML --- a complex and lossy process.
🔥 Introducing PixelRAG: the first RAG system that retrieves and reads 30M+ web pages as pixels.
Instead of extracting text, PixelRAG retrieves screenshots and lets a VLM read them directly.
PixelRAG not only preserves visual information, but also outperforms text-based RAG on text-only QA benchmarks by +18.1%.
Why?
(1) HTML-to-text conversion often discards layout, structure, tables, and other useful signals.
(2) We continued pretraining a VLM on web page screenshots and turned it into a surprisingly strong visual retriever.
(3) Recent VLMs are remarkably good at understanding web pages, often with better accuracy and token efficiency than text-only pipelines.
Takeaway: HTML parsing may be one of the biggest self-inflicted bottlenecks in web RAG.
Demo below 👇
Code: github.com/StarTrail-org/Pix…
Paper: github.com/StarTrail-org/Pix…
Playground: pixelrag.ai/
BerkeleyNLP retweeted
Really amazing results analyzing what's creative/novel vs. what's copied from Internet data, enabled by the amazing @liujc1998's Infini-gram! infini-gram.io
This is also enabled in @allen_ai's OlmoTrace allenai.org/blog/olmotrace where anyone can find matching n-grams between LLM-generated text and its training data.
This from @TuhinChakr is brilliant. That prize winning story from Granta? Turns out it's just a bunch of random whole phrases taken directly from existing text on the internet. Tool allows you to trace those n-grams directly to their source, which is mostly random fanfiction.
tuhinchakrabarty.substack.co…
BerkeleyNLP retweeted
1/ Thrilled to introduce T³: a corpus for RAG over reasoning tasks, built from thinking traces.
We show that surprisingly RAG can improve reasoning— with the right corpus.
Rag with Transformed Thinking Traces T³ gain by up to 43.9% on AIME 2025-2026.
🔗 arxiv.org/abs/2605.03344 🧵
BerkeleyNLP retweeted
8/ For reproducibility and to enable further study of modularity in MoEs, we’re releasing EMO, baselines, and code:
Models: hf.co/collections/allenai/em…
Blog: allenai.org/blog/emo
Code: github.com/allenai/EMO
Viz: emovisualization.netlify.app
Shoutout to @AkshitaB93 @sewon__min for making this possible!
BerkeleyNLP retweeted
Full details + results: arxiv.org/abs/2605.06663
Also check this out emovisualization.netlify.app: Our model specializes qualitatively differently (capability-level rather than lexical) -- this emerged naturally even though we didn't expose any domain prior!
BerkeleyNLP retweeted
As MoEs grow larger and sparser, they become memory-bottlenecked.
What if experts were actually composable - so you only keep the subset relevant to your task?
We show that this doesn't emerge in standard MoEs (their training makes this hard), but you can pre-train MoEs to support this kind of modularity!
I hope everyone sees the right figure from @RyanYixiang 's original post - I was so excited when I saw this result!!
MoEs are everywhere in frontier models, and they are deployed as a monolith system.
But many applications only need a narrow slice of capabilities, e.g., math, code, biomedical, etc.
So what if "modularity" is actually the missing opportunity for MoEs?
Today, we're releasing EMO: an end-to-end pretrained MoE where modularity emerges naturally, enabling selective use of experts!


























