AutoMix Selection
AutoMix optimizes the trade-off between response quality and cost using a cascading approach with self-verification. It starts with cheaper models and escalates to more expensive ones only when confidence is low.
This approach can achieve >50% cost reduction while maintaining comparable performance (AutoMix, Madaan et al., NeurIPS 2024).
Algorithm Flow
How It Works
- Query is first sent to the cheapest model in the escalation order
- Response is evaluated using few-shot self-verification to estimate reliability
- If confidence is below threshold, a POMDP-based meta-verifier decides whether to escalate
- Process repeats until confidence threshold is met or max escalations reached