
CS PhD @UCBerkeley Sky Lab π» Systems & AI & Sustainability π Prev: @google, @ibm, @CarnegieMellonπβπ¦Ί, @UofTπ¨π¦
Berkeley
Joined October 2023
- Tweets1.5K
- Following721
- Followers6K
- Likes8.2K
Pinned Tweet
Does your Claude model really need Claude Codeβ¦? π€
We evaluate 7 models on Claude Code, Codex, and Pi. Three surprising findings emerge:
1οΈβ£Harness choice has little effect on task success rate, but can significantly affect the cost
2οΈβ£A simple harness can be competitive
3οΈβ£The native harness isnβt always the best.
Millions of people are using coding agents, but the impact of harness choice remains unclear.
(1/n) More details in the thread. π§΅
Melissa Pan retweeted
Itβs PhD / grad school application season againπ±
Iβve been getting reach out about SoPs, research fit, βshould I do PhD at all??β
Here's the dump of my honest thoughts from my application experience - what worked for me, and how I decided if a PhD was right for me. Wrote it last year, now updated with some new notes.
Hope it helps π Link in thread.
itβs that time of the year again, getting some student reach out for application help in my inbox, so here we go βΊοΈ
Itβs PhD / grad school application season againπ±
Iβve been getting reach out about SoPs, research fit, βshould I do PhD at all??β
Here's the dump of my honest thoughts from my application experience - what worked for me, and how I decided if a PhD was right for me. Wrote it last year, now updated with some new notes.
Hope it helps π Link in thread.
Melissa Pan retweeted
Hey everyone! I am super excited to share our new research report! π
Scaling Reranked Retrieval π
Thread with more details! π§΅ (1/17)
Melissa Pan retweeted
Beyond Score Centering: what else can we fix in async RL? π§΅
Score centering (SC) is the hot new trick for off-policy LLM RL. We stress-tested it under real async staleness (every batch up to 127 steps old) and found what it fixes, what it doesn't, and two cheap wins on top
π What SC actually fixes
β’ Without SC, a trajectory's gradient norm grows ~linearly with its age: at age 64 it's 3.2Γ an on-policy one. With SC: 1.5Γ
β’ The culprit is a hidden drift term, an uncontrolled βAΒ·KL(ΞΌβΟ) baked into the policy gradient. SC removes it
β οΈ What SC + IS gets wrong
β’ SC then IS β adds a new drift
β’ IS then SC β a no-op without truncation; with truncation it centers on a distribution with no guarantee of being closer to Ο
β’ So "IS and SC are orthogonal" (from the SC paper) doesn't hold
Two wins on top of SC
1οΈβ£ State-level KL mask: drop states where KL(ΞΌβΟ) > Ο, instead of masking by token-level ratios. It depends only on the state, so SC's baseline property survives. At age 127: 3/3 seeds climb steadily, while TIS+SC and MIS+SC spike and crash
2οΈβ£ Random buffer sampling, a free lunch from the system: same buffer, sample at random instead of FIFO. Mean age 127 β 52, better for every method at equal wall-clock
Recipe = SC + KL penalty + KL mask. At lr 4e-2 (w/ SGD), MIS+SC and DPPO collapse and TIS+SC swings, while every recipe seed trains and learns faster early
π€ So far, weβve only tested on Countdown with Qwen3-0.6B (wants to scale it up!). When staleness is low, all the fixes perform similarly, but the differences become clearer as staleness increases. We also havenβt compared against sequence-level masking (which might already be enough!) or isolated kernel mismatch from async lag. Both are worth looking into next.
#LLM #RL #AsyncRL #ReinforcementLearning
Invitation to be featured at Anthropic? Pretty good phishing strategy for PhD students π£
But i actually did my security training without using a computer use agent π
8
95
15,035
Melissa Pan retweeted
π Qwen, Kimi, GLM are all betting on linear attention. But it's still slow: the recurrent state is read & rewritten every token.
Meet LeapQuant: the first training-free method to make 8-bit or 4-bit recurrent states work.
π Across Qwen, Kimi, and GLM models:
β’ Matches FP32 accuracy
β’ 4.25Γ faster linear attention kernels
β’ Up to 2Γ higher inference throughput
β’ Cuts memory by up to 56%
Melissa Pan retweeted
Agent harnesses are usually hand-tuned, or optimized offline against benchmarks. What if an agent could improve its own harness *while doing the work*?
Introducing Exo, a harness architecture for runtime self-improvement π§΅
(paper: arxiv.org/abs/2611.00463)

ALT Diagram: during a service incident, the agent starts with a policy that feeds full log history to the model and uses basic log/service tools. It self-edits mid-task, revising context assembly to summaries plus retrieved details and building a batched diagnostic tool, then continues the same incident with the revised harness.
Melissa Pan retweeted
What if you could synthesize an LLM inference engine customized for your model and Mac, just in time?
Meet JITEngine: custom engines built with SkyDiscover for Apple Silicon, up to 2.7Γ faster than the fastest alternatives we tested.
jitengine.ai π§΅ (1/n)
Melissa Pan retweeted
Pretraining data comes from the open internet, where attackers can implant their data. Can π©π¨π’π¬π¨π§ππ π©π«πππ«ππ’π§π’π§π ππππ πππππ’ππ‘ π΄πΌ πππππ‘π , even after SFT, RL, and other safety training?
The answer is yes! By controlling even π/πππ,πππ of the pretraining data, attackers can backdoor an agent to ππ₯πππ’π‘π πππππππππ ππ‘π‘πππππ-πβππ ππ ππππ.
Our new @AnthropicAI Fellows paper: arxiv.org/abs/2610.37741
π§΅(1/N)
Melissa Pan retweeted
We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math.
It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training.
We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! π§΅
Blog: rikiyat.github.io/blog/weighβ¦
Readers added context they thought people might want to know
LLM was given weights explicitly as text in prompt and used code/forward passes (per authors' logs) to ablate Qwen looping direction, a known thinking-mode issue per model card. Primarily fixed repetition in that mode, not general 'natively' improving weights/math.
rikiyat.github.io/blog/weight-spβ¦
github.com/RikiyaT/lm_undβ¦
huggingface.co/Qwen/Qwen3.5-0β¦
huggingface.co/RikiyaT/Qwen3.β¦
Melissa Pan retweeted
1/n
Introducing our NeurIPSβ26 work πEvolving Agent Teams (EAT) π, where a supervisor diagnoses why an agent team stalls and restructures it to escape local optima, for long-running optimization tasks.
EAT shows superior performance across domains:
π Open Kernel Challenge, decode layer on H200: 2.449Γ over SGLang, #4 of 1,180 (as of Nov 1, 2026)
β‘οΈ NVIDIA kernels: KDA prefill on B200, 3.44Γ over FlashKDA (previous best: 2.96Γ)
π₯ AMD kernels: KDA prefill on MI350X, 3.01Γ over vLLM
π» MoE serving on Mac: Qwen3.8-Flash-Next (Unsloth UD-IQ4_XS GGUF) on M5 Pro, ~3.3Γ faster prefill (930 tok/s) and 1.22Γ faster decode (43.7 tok/s) than Strata at the same memory
π¦Ύ RoboDojo: 62.1 on held-out seeds (the best leaderboard entry as of Oct 26, 2026 is 55.3)
- Paper: arxiv.org/abs/2610.36848
- Code: github.com/caoshiyi/EAT
π§΅π
Thank you Luis for sharing our work! Glad to see how much MAST has been adopted by the community!
Fun night debating what makes agent harness a harness!!
My favorite analogy is harness is a car π What do I mean by that? Stay tune for what's coming up next ππ
The middle of harness-land is pretty clear. What we found tougher to align on in the room with a bunch of different harness developers and researchers is:
(1) the lower bound -- e.g. why wouldn't an auto-regressive LLM be considered to have a harness when it's doing forward passes in a loop and appending the context of what it's already produced as it goes?
(2) the upper bound -- e.g. why can't you consider an entire SaaS application with a model at its core a harness when you can model almost all of it as tools and context for the model?
Like "agent", "harness" means a lot of things to a lot of people right now, and has mostly been commandeered by the marketing machine now. Doesn't mean research in the area isn't useful though. We'll just have to invent new terms to restore linguistic precision (if we can ever all agree on how to define it).
3
32
1,923
Melissa Pan retweeted
FrontierCS 2 is our new benchmark for CS research & development.
Each task is based on a paper: we delete the contribution from the released code, and ask agents to outdo the original method, as judged by the authors' chosen metrics. Agents don't have access to the paper or web.
Melissa Pan retweeted
Introducing β¨Token-Gated Language Modelsβ¨ for up to 11x faster prefill by learning to skim context, conditionally forwarding only tokens that matter.
Akin to the shift from dense models to MoEs, the next frontier of efficient LLMs is conditional computation over a new scaling axis: context tokensπ§΅π
The program has been super helpful for me π So glad to see Laude expanding the support for more open science projects!
applications for slingshots more than doubled from batch 3 to batch 4.
funding open science is critical to democracy.
never in the past have scientists had to turn down so much money to do research they can talk about openly. top PhD students are receiving offers of millions of dollars per year from closed labs.
i'm proud that at Laude we support open research.
great work on slingshots batch four @bradenhancock and the @laudeinstitute team
Melissa Pan retweeted
SkyDiscover // @shulynnliu, @mertcemri, @shagarw21, @AlexKrentsel (@UCBerkeley) β An open-source framework that uses AI to discover better algorithms and assemble complete systems from a specification.
Melissa Pan retweeted
Superintelligence should benefit human intelligence. Mathematics is our starting point.
Weβre launching Readable Intelligence, and we invite the math and AI communities to build it with us.
π Pick a paper.
π¬ Flag an unclear step.
π Contribute a more readable version....
readable-intelligence.com/
OpenAI released 722 math manuscripts in a day.
Will mathematicians read them?
A proof can settle a question. Understanding it can open up a thousand more.
Introducing Readable Intelligence: making AI-generated math easier to understand and build on. readable-intelligence.com/
Got a free 5080 from Nvidiaβs BAIR & SKY research panel today!!!
THANK YOU @nvidia! First time in my life to win in a raffle π₯Ή
Time to setup an always-on FreeToken server on this 5080 ππ«Άπ






























