Conformal Constrained Policy Optimization for Cost-Effective LLM Agents

📅 2025-11-14
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the problem of minimizing computational and API costs for LLM inference while strictly satisfying user-specified reliability constraints. We propose a cost-aware agent orchestration framework wherein a lightweight orchestrator model dynamically schedules heterogeneous LLMs and toolchains, jointly optimizing invocation policies and adaptive confidence thresholds. To our knowledge, this is the first approach to integrate calibrated prediction—ensuring theoretically grounded reliability guarantees—with constrained policy optimization, enhanced by off-policy reinforcement learning for efficient, stable policy updates. Evaluated on two multi-hop question-answering benchmarks, our method reduces total cost by up to 30% over state-of-the-art cost-aware baselines, without compromising reliability. The core contribution is the first LLM decision-making framework that simultaneously ensures theoretical calibration, policy optimality under constraints, and online adaptability—enabling rigorous, cost-controllable inference.

Technology Category

Application Category

📝 Abstract
While large language models (LLMs) have recently made tremendous progress towards solving challenging AI problems, they have done so at increasingly steep computational and API costs. We propose a novel strategy where we combine multiple LLM models with varying cost/accuracy tradeoffs in an agentic manner, where models and tools are run in sequence as determined by an orchestration model to minimize cost subject to a user-specified level of reliability; this constraint is formalized using conformal prediction to provide guarantees. To solve this problem, we propose Conformal Constrained Policy Optimization (CCPO), a training paradigm that integrates constrained policy optimization with off-policy reinforcement learning and recent advances in online conformal prediction. CCPO jointly optimizes a cost-aware policy (score function) and an adaptive threshold. Across two multi-hop question answering benchmarks, CCPO achieves up to a 30% cost reduction compared to other cost-aware baselines and LLM-guided methods without compromising reliability. Our approach provides a principled and practical framework for deploying LLM agents that are significantly more cost-effective while maintaining reliability.
Problem

Research questions and friction points this paper is trying to address.

Optimizing cost-accuracy tradeoffs in multi-LLM agent systems
Providing reliability guarantees through conformal prediction constraints
Reducing computational costs while maintaining performance standards
Innovation

Methods, ideas, or system contributions that make the work stand out.

Combines multiple LLM models with cost-accuracy tradeoffs
Uses conformal prediction for reliability guarantees
Optimizes cost-aware policy with adaptive threshold
🔎 Similar Papers
W
Wenwen Si
Department of Computer and Information Science, University of Pennsylvania
Sooyong Jang
Sooyong Jang
University of Pennsylvania
I
Insup Lee
Department of Computer and Information Science, University of Pennsylvania
Osbert Bastani
Osbert Bastani
University of Pennsylvania
Machine LearningArtificial IntelligenceProgramming LanguagesSecurity