Optimizing Model Selection for Compound AI
Free while signed in. Answers cite the passages they came from.

Researchers from Microsoft Research and collaborators introduce LLMSelector, a framework to improve multi-call LLM pipelines by selecting the best model per module instead of using one LLM everywhere. Key insights include:
Large performance boost with per-module model choices ā Rather than relying on a single LLM for each sub-task in compound systems, the authors show that mixing different LLMs can yield 5%ā70% higher accuracy. Each model has unique strengths (e.g., better at critique vs. generation), so assigning modules selectively substantially improves end-to-end results.
LLMSelector algorithm ā They propose an iterative routine that assigns an optimal model to each module, guided by a novel āLLM diagnoserā to estimate per-module performance. The procedure scales linearly with the number of modulesāfar more efficient than exhaustive search.
Monotonicity insights ā Empirically, boosting any single moduleās performance (while holding others fixed) often improves the overall system. This motivates an approximate factorization approach, where local gains translate into global improvements. LLMSelector works for any static compound system with fixed modules (e.g., generatorācriticārefiner).
Get next weekās papers.
The same picks and the same summaries, in your inbox. Free, and 176 issues deep.
Subscribe on Substack