SideQuestions is an optimizer for fast, probability-producing decision models, which differ from large reasoning models because they do not explain their conclusions or explore evidence in multiple ways. Rather than changing a decision model’s weights, the tool improves a DSPy program by finding extra yes/no questions whose answers help classify an example. In a hotel-review fraud task, questions about booking intermediaries, specific expenses, generic descriptions, and comparisons with other hotels helped Jev distinguish fabricated reviews. On held-out data, ten added questions raised accuracy from 57.3% to 79.5%, while median latency increased from 0.06 to 0.07 seconds and cost per 1,000 calls from $0.026 to $0.059.
The optimizer runs a program on training examples, uses a reflection language model to propose useful questions, and fits a small regression model to combine their answers with the original prediction. GEPA iterates on question sets, while a held-out validation set selects whether to use the augmented, reanchored, or original answer. Reported gains extend beyond hotel reviews: SideQuestions raised accuracy from 50.2% to 78.2% on AI-generated responses and from 51.2% to 100% on student essays. Questions discovered for Jev also transferred effectively to other decision models, performing within 1.6 percentage points of newly optimized versions. The prototype currently supports only programs with a single Predict call; it can be installed as a Python package and used with existing DSPy decision-model programs.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.