DropboxIlya Yakovlev,Andrew Cheung,Binoy Dash,Simran Jumani,Dmitriy Meyerzon,Mark Breitenbach,Ishan Mishra,Kazuaki Okumura,Mike White,Kevin Altschuler,Facundo Agriel,Ishan Mishra,Eric Wang,Dmitriy Meyerzon
How we optimized Dash's relevance judge with DSPy
Summary
Dropbox Dash optimized its LLM-as-a-judge relevance scoring system using DSPy to migrate from expensive proprietary models to cheaper open-weight alternatives. By establishing automated feedback loops based on human agreement and strict JSON format validation, the team systematically generated robust prompts for new models. This reduced human-score disagreement by 45% and slashed model adaptation time from weeks to days while enabling 10x to 100x more data labeling.
Takeaways
Using DSPy with the GEPA reflection optimizer cut model adaptation time from up to two weeks of manual prompt engineering to just one to two days.
Automated prompt optimization loops require guardrails to prevent the optimizer from overfitting to specific dataset keywords or mutating core task definitions like rating scales.
Optimizing against structural reliability as part of the objective function reduced malformed JSON responses in smaller models (like Gemma-3-12B) by more than 97%.
Source and freshness
- Source
- dropbox.tech
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.