
Building tools for AI devs @nvidia // CS @ Berkeley, GA Tech // Sharing what I'm learning
UC Berkeley
Joined January 2015
- Tweets167
- Following696
- Followers202
- Likes1.3K
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
adding CacheFuse (@rishiskhare, COLM 2026 workshop) to the latent communication series, because it's the simplest version of the idea I've seen work
Qwen3-8B and Qwen3-4B have KV caches of exactly the same shape, so you can just blend them (roughly half and half) and let the 4B answer from the mix so there's no training at all
the 4B gains up to 8.6 points and beats the standalone 8B on all four benchmarks (best mix picked per benchmark, though a held-out calibration lands close)
however this trick needs siblings with matching cache shapes and a shared tokenizer, while e.g. models different by x200 is sizes and from different families have nothing to blend, which is the case we train a bridge for at @mostik_ai 🌉
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Very excited to share that GEPA is now live on @DSPyOSS as dspy.GEPA!
This is an early code release. We’re looking forward to community feedback, especially about any practical challenges in switching optimizers.
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
🤯 must watch
GEPA is a SUPER exciting advancement for @DSPyOSS and a new generation of optimization algorithms re-imagined with LLMs! 🧩🚀
Starting with the title of the paper, the authors find that Reflective Prompt Evolution can outperform Reinforcement Learning!! 🤯
Using LLMs to write and refine prompts (for another LLM to complete a task) is outperforming (!!) highly targeted gradient descent updates using cutting-edge RL algorithms! ⚖️
GEPA makes three key innovations on how exactly we use LLMs to propose prompts for LLMs -- (1) Pareto Optimal Candidate Selection, (2) Reflective Prompt Mutation, and (3) System-Aware Merging for optimizing Compound AI Systems. 🧠🧠
The authors further present how GEPA can be used for training at test-time, one of the most exciting directions AI is evolving in! 🚀
Here is my review of the paper! I hope you find it useful! 🎙️
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Guy has his fingers positioned wrong on his keyboard and types gibberish into ChatGPT.
It decodes what he meant to say by assuming his hand was shifted right and re-mapping his fingers 🤯
(from u/mimic751)
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Iterative reflections for LLMs can outperform heavy RL?
This paper shows that having the LLM reflects on its own trajectories, rewrite its own prompts, and evolve a diverse pool of candidates beats RL w/ GRPO so far on four reasoning tasks .
10% improv with 35x fewer rollouts!
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Elon Musk has uncovered Vine video archives that were thought to be lost media
He's restoring access so users can watch their favorite Vines again
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Infrastructure for Multi-Agent Systems
@koomen
Multi-agent systems are powerful but hard to build. Think agentic MapReduce with thousands of subagents running in parallel. We're looking for folks who've felt the pain of scaling these systems and want to make operating fleets of agents as easy as deploying a web service.
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Our latest optimizer GEPA writes beautiful prompts, even with a “mini” model. Stay tuned for a lot more these coming days.
Replying to @LakshyAAAgrawal
We implemented GEPA as a new @DSPyOSS optimizer (release soon!). This means that it works for even sophisticated agents or compound systems you've already implemented.
GEPA outperforms the MIPROv2 optimizer by as much as 11% across 4 tasks for Qwen3 and GPT-4.1-mini.
Of course: Weight updates remain necessary to teach the models completely new tasks and still excel at general-purpose (massively multi-task!) post-training!
However, we show that for specialization to downstream systems, reflective prompt optimization can go really far with tiny data sizes and rollout budgets!
(2/n)
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
this seems really important:
it is totally plausible that a model could get IMO gold without *any* reinforcement learning, given a perfectly-crafted prompt
we just don't know, and lack tools to efficiently search through prompt space. glad to see at least someone is trying
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Methods that may not have even existed when you wrote your DSPy program...
Policy gradient RL (GRPO) vs Bayesian search over grounded instruction/fewshot proposals (MIPRO) vs Reflective prompt learning (GEPA)
All optimizing identical DSPy programs! And better optimizers to come
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
New paper: Reflective Prompt Evolution Can Outperform GRPO.
It's becoming clear that learning via natural-language reflection (aka prompt optimization) will long be a central learning paradigm for building AI systems.
Great work by @LakshyAAAgrawal and team on GEPA and SIMBA.
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Brilliant paper.
GEPA (Genetic-Pareto), a prompt optimizer that thoroughly incorporates natural language reflection to learn high-level rules from trial and error.
GEPA shows that evolving prompts with natural‑language feedback outperforms reinforcement learning by up to 19% and needs 35× fewer rollouts.
It teaches a multi‑step AI system by rewriting its own prompts instead of tweaking model weights.
The standard approach, reinforcement learning (RL), particularly Group Relative Policy Optimization (GRPO), is effective but computationally expensive.
A full rollout is expensive, which is 1 complete try where the language model tackles a task, gets judged, and sends that score back to the training loop. Algorithms like GRPO need a huge batch of these episodes, often 10 000 – 100 000, because policy‑gradient math works on averages. A reliable gradient estimate appears only after you have sampled lots of different action paths across the problem space. Fewer samples would leave the update too noisy, so the optimiser keeps asking for more runs.
🧬 What GEPA actually is
GEPA flips the script by reading its own traces, writing natural‑language notes, and fixing prompts in place, so the learning signal is richer than a single score
After each run it asks the model what went wrong, writes plain‑text notes, mutates the prompt, and keeps only candidates on a Pareto frontier so exploration stays broad.
The Pareto‑based rule chooses a candidate that looks good but has room to improve. This avoids wasting time on hopeless or already‑perfect options.
Quick tests on tiny batches spare rollouts, and winning changes migrate into the live prompt.
Across 4 tasks it beats GRPO by up to 19% while needing up to 35X fewer runs, also overtaking MIPROv2.
🧵 Read on 👇
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
How does prompt optimization compare to RL algos like GRPO?
GRPO needs 1000s of rollouts, but humans can learn from a few trials—by reflecting on what worked & what didn't.
Meet GEPA: a reflective prompt optimizer that can outperform GRPO by up to 20% with 35x fewer rollouts!🧵
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Paper: arxiv.org/abs/2507.19457
GEPA will be open-sourced soon as a new DSPy optimizer. Stay tuned!
Incredibly grateful to the wonderful team @ShangyinT @dilarafsoylu @NoahZiems @rishiskhare @kristahopsalong @arnav_thebigman @krypticmouse @michaelryan207 @Meng_CS @ChrisGPotts @koushik77 @AlexGDimakis @istoica05, Dan Klein, @matei_zaharia @lateinteraction
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
this is so scary
Chinese AI agent runs 50 social media accounts 24/7 automatically
how can I complete with this..
Rishi Khare @ NeurIPS 2026 (Atlanta) retweeted
Naval Ravikant on the “single-most important indicator of an entrepreneur’s success”
Naval admits it’s very difficult to predict which startups will work—only 1 out of 10 of his angel investments succeed—but he has noticed a common trait among many of the great companies:
“The founders are in it for the long haul. And the way you see that evidence very early on. They are extremely deliberate about all kinds of small decisions. Stuff you might think that doesn’t matter… And what you realize is is it’s their nature to obsess over these things because they feel like like they’re laying the bricks and the foundation of a skyscraper.”
He contrasts this to entrepreneurs are more careless early on:
“The people who are flippant about things… they’re often signaling to you that they’ll sell the company the first chance they get, or the moment that it looks like they’re gonna run out of cash, they’ll shut down.”
He continues:
“So I think that long-term mentality is probably the single-most important indicator of an entrepreneur’s success. But it’s by no means the only thing. It’s a very competitive environment. Most startups fail. And so you just gotta stick with it.”
Video source: @StartupGrind (2013)


































