Cmpnd releases SideQuestions optimizer for DSPy decision models
Start here
Cmpnd released SideQuestions, an open-source DSPy optimizer for decision models such as Jev. It reviews a program's traces and adds yes/no side questions whose answers feed a small regression model that produces the final output. On a fake hotel review benchmark, the optimized program reached about 80% accuracy versus 57% for the base program, at roughly twice the cost per call and 1.0 to 1.2 times the latency. The package requires Python 3.11 or later and DSPy 3.5, and installs via pip install dspy-side-questions. Cmpnd describes it as a prototype limited to programs consisting of a single Predict call, with every output field typed as Noul, Choice or Score; the decision and reflection models each need their provider's API key set in the environment.
Generated from reports · updated 11 h ago
Report timeline
Follow the reports to see the event from different sides.
- Hacker News · AICmpnd releases SideQuestions, a DSPy optimizer that improves decision models with side questions
Cmpnd released SideQuestions, an open-source DSPy optimizer that reviews a decision model's traces and adds yes/no side questions whose answers feed a small regression model to produce the final output. On a fake hotel review benchmark, the optimized program reached 80% accuracy versus 57% for the base program, at about twice the cost per call and 1.0 to 1.2 times the latency. The package requires Python 3.11 or later and DSPy 3.5, and installs via pip install dspy-side-questions.
- Hacker News · AIDSPy introduces SideQuestions optimizer that raises decision model accuracy with generated side questions
DSPy introduced SideQuestions, an optimizer for decision models that generates additional yes/no questions to inform a program's final answer. On held-out hotel reviews, ten side questions raised Jev's accuracy from 57.3% to 79.5%, with latency rising only 7% and cost per call roughly doubling thanks to decision models' caching behavior. The tool installs via pip install dspy-side-questions and is described as a prototype limited to programs with a single Predict call.
Heat for this event
- Current, comparable range
- 7
- Peak, comparable range
- 10December 2 01:00
- Change in 24 hours
- –
The trend compares the same participants over hours observed continuously, so its range can be narrower than the current heat count. Hover or tap the chart for hourly heat; the arrow keys move through it.