atlas

Research map / Large language models / Reasoning and chain of thought

AutoMix: Automatically Mixing Language Models

NeurIPS 2024 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning · 12 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AutoMix, which routes queries from a small black-box LM to a larger LM using few-shot self-verification (entailment-style) and a POMDP-based router, evaluated on five context-grounded reasoning datasets.

Problem

Choosing which LLM of varying size and cost to query for each input under black-box API access, without large task-specific routing training data, while balancing cost and performance.

Approach

Few-shot self-verification framed as context-grounded entailment by the small model itself, with a POMDP router that treats noisy verifier probabilities as observations of query difficulty and decides whether to accept the answer or route to a larger model; it also supports unsolvable-query detection and needs as few as 50 training examples.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the POMDP router instead of FrugalGPT or HybridLLM routingAutoMix with Mistral-7B as the small model · Diplomat, Mutual, CoQA, QASPER, and QuaLITYΔIBC (%)Helped
Use the POMDP router instead of FrugalGPT or HybridLLM routingAutoMix with Llama2-13B as the small model · Diplomat, Mutual, CoQA, and QuaLITYΔIBC (%)Helped
Use the POMDP router instead of FrugalGPT routingAutoMix with Llama2-13B as the small model · QASPERΔIBC (%): 8.5 vs 9.4No clear effect
Use the POMDP router instead of FrugalGPT or HybridLLM routingAutoMix with GPT-3.5 as the small model · Diplomat, Mutual, CoQA, QASPER, and QuaLITYΔIBC (%)Helped
Replace the threshold router with the POMDP router (ablation)AutoMix · Across the five datasets and three small modelsΔIBC (%)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: QASPER QuALITY CoQA MuTual DIPLOMAT

Benchmarks: QASPER QuALITY CoQA MuTual DIPLOMAT

Metrics: IBC lift (Delta IBC) F1 accuracy cost-performance curves

Baselines: FrugalGPT HybridLLM Chained AutoMix Union AutoMix

Builds on: FrugalGPT HybridLLM AdaOps AdaptiveConsistency

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy