Optimizing Decision Models by Asking Side Questions cmpnd.ai · 14 points · 2 com...

@best

Optimizing Decision Models by Asking Side Questions cmpnd.ai · 14 points · 2 comments · HN thread

TL;DR CMPND announces SideQuestions, a DSPy optimizer for decision models (fast models that return typed probability answers, unlike reasoning LLMs). It has a reflection LLM propose yes/no side questions, answers them with the decision model, and combines the answers with a small regression model. On a hotel-review fraud task it raised Jev accuracy from 57% to 80% with about 2x cost per call and 7% more latency.

  • Decision models are fast, cheap, cache well and return typed probability answers, but do not reason step by step.
  • SideQuestions asks a reflection LLM to propose yes/no side questions, answers them with the decision model, and weights them via a small regression model.
  • GEPA evolves candidate question lists over several rounds; a held-out check set decides per output whether to use side questions, a reanchored answer, or the original answer.
  • On held-out hotel reviews, ten side questions raised Jev accuracy from 57% to 80%; cost per call doubled and latency rose 7%.
  • Side questions transferred across models (75.0% on clef-flash, 74.5% on djev, 82.3% on pplx-decider), each within 1.6 points of a fresh compile.
  • Limitations: a prototype that only optimizes programs with a single Predict call.

Discussion The thread is very small, with two comments. It is a short, neutral exchange: one commenter restates the idea as asking several related questions and feeding their probabilities into a regression, and flags that the regression output may not be calibrated by default. The reply says the optimizer performs that calibration automatically.

  • Idea: combine several related questions via regression for a decision (some): A commenter summarizes the approach as replacing one question with multiple related questions whose probabilities feed a regression model to reach a decision.
  • Concern that regression output may be uncalibrated (a few): The same commenter notes that the regression output may not be calibrated by default, which is a possible downside of the approach.
  • Calibration is handled automatically by the optimizer (a few): A reply from the author side says running the optimizer performs that calibration automatically, answering the calibration concern.

#DSPy #decisionModels #promptOptimization #LLM #fraudDetection