
Cmpnd drops SideQuestions DSPy optimizer for Jev
Drew Breunig's Cmpnd open-sourced SideQuestions (dspy-side-questions), a DSPy optimizer that pairs a reflection LLM with GEPA to discover auxiliary yes/no questions and fit a lightweight regression combiner for non-reasoning "system one" decision models like TypeSafe's Jev. Across benchmarks, it boosts Jev's accuracy by an average of 26 points—and up to 49 points—while adding roughly 6 ms of latency and $0.02 per 1,000 calls.
Decision models like Jev skip chain-of-thought reasoning to hit sub-100ms latency, which usually caps their accuracy on nuanced classification tasks. SideQuestions turns that constraint into an architectural advantage by outsourcing feature discovery to a frontier LLM at compile time and evaluating the resulting yes/no probes in parallel at runtime.
- –Exploits state-caching economics: Because system-one models encode the input state once and answer multiple structured questions against it independently, appending 10 extra yes/no probes adds ~6 ms and roughly doubles call cost ($0.05–$0.06 per 1k calls) rather than scaling linearly.
- –Outperforms reasoning LLMs at a fraction of the cost and speed: On deceptive hotel reviews, Beemo AI-text detection, and Ghostbuster essays, Jev with SideQuestions beat GPT-6-Luna (79.5% vs. 72.0%, 78.2% vs. 53.7%, and 100.0% vs. 79.8%) while running ~25x faster (~0.07s vs. 1.5–2.1s) and 2–4x cheaper.
- –Goes beyond threshold tuning: Unlike DSPy's ReAnchor optimizer, which only calibrates decision boundaries, SideQuestions uses L1-regularized regression to prune unhelpful probes and automatically falls back to ReAnchor or the base student per output on a held-out check set when extra questions do not improve scores.
- –Side questions transfer across decision models: Questions discovered on Jev generalize to clef-flash, djev, and pplx-decider-v1.3 once the regression combiner is refitted, landing within 1.6 points of a fresh per-model compile.
- –Prototype limitations apply: Available under an MIT license via pip (`dspy-side-questions`, requiring Python 3.11+ and DSPy 3.5), it currently only optimizes single-`Predict` programs whose outputs use experimental `Noul`, `Choice`, or `Score` types.
DISCOVERED
1h ago
2026-12-02
PUBLISHED
1h ago
2026-12-02
RELEVANCE
AUTHOR
typesafeai