Abstract
Large reasoning models have shown strong performance through extended chain-of-thought reasoning, yet their computational cost remains significant. Probably approximately correct (PAC) reasoning provides statistical guarantees for efficient reasoning by adaptively switching between thinking and non-thinking models, but the guarantee holds only in the marginal case and does not provide exact conditional coverage. We propose G-PAC reasoning, a practical framework that provides PAC-style guarantees at the group level by partitioning the input space. We develop two instantiations: Group PAC (G-PAC) reasoning for known group structures and Clustered PAC (C-PAC) reasoning for unknown groupings. We prove that both G-PAC and C-PAC achieve group-conditional risk control, and that grouping can strictly improve efficiency over marginal PAC reasoning in heterogeneous settings. Our experiments on diverse reasoning benchmarks demonstrate that G-PAC and C-PAC successfully achieve group-conditional risk control while maintaining substantial computational savings.
Introduction
Modern Large Language Models (LLMs), such as DeepSeek-R1 or the Qwen-Thinking series, utilize extended chain-of-thought (CoT) processes to solve complex problems. While highly accurate, this "thinking" process is computationally expensive and slow. To optimize resource usage, developers often employ adaptive routing: simpler queries are directed to fast, "non-thinking" models, while complex prompts are reserved for expensive thinking models.
Recent advancements introduced PAC (Probably Approximately Correct) reasoning, which offers a statistical guarantee that the average performance loss from routing will not exceed a user-defined tolerance (e.g., 5% error). However, this guarantee is marginal—it only holds on average across the entire dataset. A system might meet a 5% global target while suffering from a 20% error rate in a specific high-stakes subpopulation, such as medical or legal queries. This paper addresses the need for group-conditional guarantees to ensure safety across all data segments.
Methodology: G-PAC and C-PAC
The authors propose Group-conditional PAC-efficient reasoning, shifting the statistical guarantee from the global dataset to specific partitions.
G-PAC (Group PAC)
G-PAC is utilized when group labels are known (e.g., subject categories like "Biology" or "Physics"). The system uses a calibration dataset to calculate an Upper Confidence Bound (UCB) for the error within each group. It then establishes a custom uncertainty threshold for each group. If a non-thinking model's uncertainty for a prompt is below its group-specific threshold, it provides the answer; otherwise, the prompt is routed to the thinking model.
C-PAC (Clustered PAC)
C-PAC is designed for scenarios where group labels are unknown. It first clusters the calibration data based on the non-thinking model's 1D uncertainty scores. Once these "difficulty clusters" are formed, the G-PAC logic is applied to calibrate thresholds for each learned cluster.
Crucially, the "error" controlled is the relative performance loss compared to the expensive thinking model, not absolute ground-truth accuracy. The framework is agnostic to the uncertainty scoring method, supporting white-box logits, black-box verbalized confidence, and external router models.
Experimental Evaluation
The framework was evaluated on several reasoning benchmarks, including MATH-500, ZebraLogic, GPQA, and Arena-Hard. For open-domain benchmarks like Arena-Hard, where answers lack strict binary correctness, the authors used a semantic similarity loss (cosine distance of embeddings) to measure performance degradation.
Key Results: Safety and Efficiency
The experiments revealed that Vanilla PAC consistently violates group-level error limits. For instance, on the ZebraLogic dataset, Vanilla PAC missed the target error rate by over 10% on specific subgroups. In contrast, both G-PAC and C-PAC achieved a 0.00% group-conditional error gap across all datasets.
Despite these stricter safety constraints, the framework maintained significant computational savings. On MATH-500, G-PAC saved between 41% and 49% of generated tokens compared to a baseline that always uses the thinking model. Furthermore, the researchers found that partitioning data can actually increase overall efficiency. A single global threshold must be conservative to account for the hardest queries; by grouping, the system can use aggressive, efficient thresholds for easy groups while reserving conservative thresholds for difficult ones.
Discussion and Limitations
While G-PAC provides robust safety, it is more data-intensive than marginal PAC. Partitioning the input space reduces the sample size per group, leading to wider statistical confidence intervals and slightly more conservative routing thresholds. Additionally, for C-PAC, developers must manage the trade-off between clustering quality and calibration sample size.
Finally, while the safety guarantee holds regardless of the uncertainty score's quality, the efficiency of the system is highly dependent on it. If an uncertainty score is uninformative, the framework will default to routing most queries to the thinking model to remain safe, resulting in minimal compute savings. Improving uncertainty estimation remains a vital path for future research in adaptive reasoning.
Summary updated