Vedant Shah (@veds_12) header
Vedant Shah (@veds_12) profile picture
Pale Blue Dot
Joined March 2013
Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)Photo by Vedant Shah (@veds_12)
Parallel attempts repeat work. Long reasoning chains lose detail through compaction. How can long-horizon inference COMPOUND? 📈 GitSwarm: Decentralized Compounding Inference. A persistent memory swarm that preserves and builds on work in a shared Git repository. 🧵 [1/n]
7
30
13
176
34,594
We tried a similar experiment for one of our GitSwarm AutoResearch runs: 1.) Run k independent GitSwarms 2.) Once they plateau, initialize a new workspace with the best solutions of each as the seed commits Helps escape the performance / ideations plateaus since the workers successfully combine ideas from different runs!
Replying to @ShangyinT
In addition, forgetting works well with communication. We run a team of four agents that read each other's candidates, allowing a good idea found by one agent to spread quickly to the rest of the team. Communication alone still plateaus, since the shared history constrains every agent at once. To overcome this, the whole team forgets together, and every agent restarts from the single best candidate of the round.
3
1
13
1,133
GitSwarm: Decentralized Compounding Inference Thread: nitter.gq/veds_12/status/2108605… Blog: veds12.github.io/git-swarm/ Paper: arxiv.org/abs/2610.04862
Parallel attempts repeat work. Long reasoning chains lose detail through compaction. How can long-horizon inference COMPOUND? 📈 GitSwarm: Decentralized Compounding Inference. A persistent memory swarm that preserves and builds on work in a shared Git repository. 🧵 [1/n]
1
4
172
Interesting work by @Ankur_Samanta_ and team neatly showing that: - Decomposing each autoresearch step into an ideation step following by a focused execution step (separate execution agent) helps - The ideation / meta reasoning step can be trained as a generative critic to improve the performance MIRA uses a git substrate for persistent memory - similarly to GitSwarm: nitter.gq/veds_12/status/2108605… Given the completely decentralised and asynchronous nature of GitSwarm, MIRA can be seen as a way of training GitSwarm agents. Check out this interesting 🧵
We show how to train autoresearch agents by focusing learning on the meta-reasoning decisions that allocate research effort. How it works: • A harness that separates ideation from execution, so credit can be assigned directly to those decisions • A decision-level generative critic, pre-trained across many environments as a prior for partial progress • The same model co-trained as both actor and critic, so it learns to both value partial states and act from them Paper: arxiv.org/abs/2610.02525
2
8
781
Lot of talk about RSI / models improving from their own feedback, but not a lot of work out there which actually evaluates related model behaviors Interesting work by @Harman26Singh and team on evaluating models on their ability to produce and consume reusable artifacts!
🤖 How well do agents learn from experience? We study agents that amortize experience into reusable artifacts and introduce Agent Plasticity to measure how efficiently they improve on held-out environments. Top performer ≠ most efficient learner.
11
722
Come say hi at Imperial Ballroom #65 between 4:30 PM - 6:30 PM today :) !
I'll be in SF, attending #COLM2026 from October 6th - 9th, presenting our work on investigating the use of KL estimators in RL post-training of LLMs. arxiv.org/abs/2512.21852 Come say hi if you'd like to talk about LLM post-training, agentic swarms or automated discovery!
2
19
2,737
I'll be in SF, attending #COLM2026 from October 6th - 9th, presenting our work on investigating the use of KL estimators in RL post-training of LLMs. arxiv.org/abs/2512.21852 Come say hi if you'd like to talk about LLM post-training, agentic swarms or automated discovery!
9
2
48
2,872
Interesting work by @emilianopp_ and others! Just keep streaming your KV caches through compactions
Want to train your SWE agents 2× faster 🏎️💨? We introduce KV-streams, which, rather than flushing the KV cache on agentic compaction, we preserve it and keep generating. This avoids the re-prefill cost on both the inference engine and the trainer. Unlike other works that assume a fixed compaction strategy, we show that KV-streams can work with any compaction method in agentic tasks. Using what we learn from experiments in text-based games. We scale KV-streams to SWE tasks, where we match the performance of re-prefill compaction and full context in half the time 🚀 arxiv.org/pdf/2609.35750 🧵
2
457
Accepted at #COLM25! Learned a ton working on this. See y’all in San Francisco :)
LOTs of discourse lately about the correctness of the KL-regularization term used in RLVR fine-tuning of LLMs. Which estimator to use? Whether to add it to the reward or loss? What’s even the difference? 🤔 In our new preprint, we evaluate these choices empirically. 🧵 1/n
2
3
29
4,555
I'll be in NYC this summer and fall, interning at FAIR @AIatMeta where I'll be working on scaling RL and inference time compute for agentic reasoning and automated discovery! Feel free to hit me up if you'd like to chat about LLM post-training, test-time scaling, AI for scientific discovery, stuff to do in NYC during the summer, or even just grab a cup of coffee!
10
2
108
8,189
RSA continues to demonstrate efficacy at scale, across frontier benchmarks 🚀 Check out this blog post by @JainMoksh !
We have been pushing the limits of test-time scaling with RSA for single-turn reasoning problems in science and math. Check out our blog post with new results on ARC-AGI-2, ArXivMath, and FrontierScience! A lot of gains with just test-time scaling! rsa-llm.github.io/blog
1
2
13
1,152
We used RSA on Gemini 3 Flash (High) for ARC-AGI-2 public evals and the results are beyond impressive! We get one of the top scores on the public eval set, nearly matching the average human performance 😮. Check out the thread below for more details! rsa-llm.github.io
Recursive Self-Aggregation (RSA) + Gemini 3 Flash scores 59.31% on the public ARC-AGI-2 evals, placing it firmly among the top performers! Here are the highlights: > Outperforms Gemini DeepThink at about 1/10th the cost > Bridges the performance gap with GPT-5.2-xHigh for a similar cost > Nearly matches Poetiq while using a much simpler pipeline. Poetiq uses scaffolded refinement (often via generated code), while RSA does not Also, Gemini 3 Flash is impressive; the Gemini team cooked with this one! We're also eager to run evals with GPT-5.2 + RSA in the future (anyone with credits? :P)
2
14
1,461
Exciting results coming out tomorrow! 👀
Recursive Self-Aggregation > Gemini DeepThink. it really is the best test-time scaling algorithm does that claim sound too bold? well, we just crushed ARC-AGI 2 public evals with Gemini 3 Flash and RSA. stay tuned, more details tomorrow :) @arcprize
1
1
19
2,141
We focus on bias with respect to the **sequence-level** reverse KL divergence (not token-level). Considering this, the only unbiased gradient configuration is K1 in reward in on-policy settings. Note that: - Adding token-level K3 in loss weighted with token-level IS ratio still does not give unbiased gradient of sequence-level reverse KL. - In off-policy settings, even K1 in reward would give biased gradients (again, w.r.t sequence level reverse KL).
In case you have GPU time, it will be very helpful to add experiments for k3-with-IS-in-loss. I'm very very curious about the similarities and differences between k1-in-reward and k3-with-IS-in-loss. They are both unbiased, but the learning curves might be different!
3
3
1
11
4,463
Whether to optimize sequence-level or token-level KL is ofc again a design choice and (imo) further investigation needs to be done to figure out which is the ideal objective
3
240
A subtle but important understanding is that these training instabilities / collapses may not be "universal", i.e., they might not occur in every training configuration. For example, arxiv.org/abs/2510.01555 ran a similar "K1 in loss" configurations as we did in a different setting (smaller 1.5B model and different training data) and they do not seem to have observed training instabilities. But the very fact that the behavior is inconsistent / unpredictable across settings, combined with the fact they they do not optimize the desired objective even when stable is reason enough to be mindful of such biases.
Its difficult to tell but we provide a few speculative reasons in the paper. For K1 in loss, although the expected gradient is 0, its possible that the variance resulting from it interferes with the optimizes in a manner that causes collapses. For K3 in reward, one can see mathematically that there is a sizeable bias term which might be more significant than other configurations. In fact, in a toy experiment in Section 3.3, we see that this configuration has the highest bias of all (along with high variance).
2
469
Its difficult to tell but we provide a few speculative reasons in the paper. For K1 in loss, although the expected gradient is 0, its possible that the variance resulting from it interferes with the optimizes in a manner that causes collapses. For K3 in reward, one can see mathematically that there is a sizeable bias term which might be more significant than other configurations. In fact, in a toy experiment in Section 3.3, we see that this configuration has the highest bias of all (along with high variance).
Replying to @veds_12
Very cool! Any intuition why the biased ones are unstable?
1
3
939
LOTs of discourse lately about the correctness of the KL-regularization term used in RLVR fine-tuning of LLMs. Which estimator to use? Whether to add it to the reward or loss? What’s even the difference? 🤔 In our new preprint, we evaluate these choices empirically. 🧵 1/n
8
37
9
139
26,483
We fine-tune Qwen2.5-7B, Llama-3.1-8B-Instruct, and Qwen3-4B-Instruct-2507 with RL on math and general reasoning tasks under four configurations: - Using the “naive” K1 estimator (unbiased; high variance) in the reward - Using the K1 estimator in the loss - Using the “Schulman” K3 estimator (unbiased; low variance) in the reward - Using the K3 estimator in the loss (GRPO style) We report training dynamics and downstream performance on in-distribution and out-of-distribution tasks. 2/n
1
8
973
An interesting perspective on our work from last year. We propose a "first iteration" of what could be a bootstrapping loop for continually coming up with increasingly difficult prompts via iterative updates to the "skill library" followed by skill composition
🧵 What if LLMs improved at math via self-play — not by solving problems, but by creating harder ones? "Old" work : arxiv.org/abs/2407.21009 This paper asks: can we systematically generate harder math questions ?
1
21
4,038
Drop by our poster today if you wanna chat about RSA, or generally about test-time scaling / RL for LLMs!
We’ll be presenting this at the FoRLM workshop between 10:15-11:30am room 33 tomorrow! Drop by if you’d like to chat about this paper, or RL for LLMs in general (I got some juicy new insights)
2
352
Interesting result demonstrating the importance of KL regularization in modern day RLVR settings! KL regularization has been majorly discarded in on-policy “verifiable” settings since language drift / reward hacking is not a major problem. @bartoldson’s result hints that it’s still important in ensuring stability of the training in off-policy “async” settings! Moreover, the performance gap with less stable no-KL setting can be bridged using regular ref policy resets
Replying to @bartoldson
🔬 Ablation 1: KL reference policy Why are both TBA and Kimi K2 performant on highly off-policy data? Both use KL regularization. Both compute KL against a moving reference policy: TBA resets every ρ=50 steps (flexible), Kimi K2 uses the inference policy as the reference.
1
6
880
Please consider applying! @averyryoo has generously agreed to offer free coffee making services (beans included!) for the first week for every successfully admitted candidate
Mila's annual supervision request process is now open to receive MSc and PhD applications for Fall 2026 admission! For more information, visit mila.quebec/en/prospective-s…
2
3
17
1,628