Melissa Pan (@melissapan) header
Melissa Pan (@melissapan) profile picture

CS PhD @UCBerkeley Sky Lab 🐻 Systems & AI & Sustainability 🌍 Prev: @google, @ibm, @CarnegieMellonπŸ•β€πŸ¦Ί, @UofTπŸ‡¨πŸ‡¦

Berkeley
Joined October 2023
Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)Photo by Melissa Pan (@melissapan)
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. 🧡
182
189
104
1,360
370,009
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.
12
38
2
553
70,071
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.
5
1
65
6,732
Melissa Pan retweeted
Hey everyone! I am super excited to share our new research report! πŸŽ‰ Scaling Reranked Retrieval πŸš€ Thread with more details! 🧡 (1/17)
19
71
14
311
23,701
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
23
42
3
356
309,993
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
X's automated reporting system don't think this is a scam πŸ€·β€β™€οΈ while both astra and opus 5.5 unanimously determines that it is a scam maybe should consider improving the safety detection system...
7
1,604
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%
36
127
18
872
109,225
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)
29
31
14
214
31,987
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)
23
43
15
274
50,664
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)
29
95
19
431
44,324
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.…
2,366
7,252
5,757
55,894
10,107,025
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 πŸ§΅πŸ‘‡
16
49
17
316
43,318
Thank you Luis for sharing our work! Glad to see how much MAST has been adopted by the community!
Paper Spotlight: Why do teams of AI agents fail? Multi-agent systems can split work between different LLM "employees": a CEO agent, a coder, a tester. But on benchmarks they often barely beat a single agent, so why do they fail?
1
35
2,413
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.
32
77
43
530
337,844
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πŸ§΅πŸ‘‡
28
64
14
364
48,072
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
1
17
1,602
SkyDiscover // @shulynnliu, @mertcemri, @shagarw21, @AlexKrentsel (@UCBerkeley) β€” An open-source framework that uses AI to discover better algorithms and assemble complete systems from a specification.
1
6
4
23
5,362
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/
10
25
6
75
14,772
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 πŸ˜πŸ«ΆπŸ™Œ
68
17
3
1,253
58,259
unironically i wore a leather jacket today, maybe that's why i got blessed by the god of leather jacket 🫑🫑🫑
17
2,457