Circuits of LLM Classifiers
Hadi Khalaf, Sajani Vithana, Kunal Talreja, Haewon Jeong, Viveck R. Cadambe, Flavio Calmon
Key points
From the paper's conclusion- To this end, we introduce circuits that organize LLM classifiers into an adaptive sequence of queries and decisions.
Abstract
Language models make it easy to build classifiers by simply prompting a model with the sample to classify. However, their predictions are neither deterministic nor uniformly reliable across samples. How can we combine predictions from different models to improve reliability? We view LLM classifiers as noisy measurement instruments of an underlying target label. Our goal is to maximize average classification accuracy at a given average query cost. To this end, we introduce circuits that organize LLM classifiers into an adaptive sequence of queries and decisions. We then characterize the optimal circuit, obtain the fundamental limits of achievable accuracy, and provide practical insights on realizing the optimal circuit. Across seven classification tasks spanning safety, health, political science, human preference, agent evaluation, decision-making and reasoning, our method improves the cost-accuracy frontier over routing and cascading baselines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Predictable performance is suboptimal, and what it means for model routingarXiv · 2026
- Smart Model Routing for Order-of-Magnitude LLM Cost ReductionarXiv · 2026
- LLM-as-a-Judge Is Not an Oracle: Why Self-Improving Agents Need Deterministic GuardrailsarXiv · 2026
- A Review of Prompt Engineering Techniques for Large Language ModelsInternational Journal of Human-Computer Interaction · 2025
- Chance-Constrained Personalized LLM Routing with Online Preference LearningarXiv · 2026
- Sequential diagnosis with language models.Science (New York, N.Y.) · 2026