HyPAC: Cost-Efficient LLMs-Human Hybrid Annotation with PAC Error Guarantees
Hao Zeng, Huipeng Huang, Xinhao Qu, Jianguo Huang, Bingyi Jing, Hongxin Wei
TL;DR
HyPAC tackles the problem of cost-efficient, multi-source data annotation with provable error control. It formulates hybrid labeling with a three-source routing scheme and trains two uncertainty thresholds using importance sampling and upper confidence bounds to guarantee the annotation error remains below a user-specified budget with high probability, while minimizing cost. The approach is distribution-free and proves both PAC-style error guarantees and cost optimality, supported by experiments showing substantial annotation cost reductions (e.g., up to 78.51% on MATH-500) across diverse datasets and uncertainty scores. This yields a principled, scalable framework for cost-quality trade-offs in data labeling, enabling practitioners to deploy efficient annotation pipelines with formal guarantees.
Abstract
Data annotation often involves multiple sources with different cost-quality trade-offs, such as fast large language models (LLMs), slow reasoning models, and human experts. In this work, we study the problem of routing inputs to the most cost-efficient annotation source while controlling the labeling error on test instances. We propose \textbf{HyPAC}, a method that adaptively labels inputs to the most cost-efficient annotation source while providing distribution-free guarantees on annotation error. HyPAC calibrates two decision thresholds using importance sampling and upper confidence bounds, partitioning inputs into three regions based on uncertainty and routing each to the appropriate annotation source. We prove that HyPAC achieves the minimum expected cost with a probably approximately correct (PAC) guarantee on the annotation error, free of data distribution and pre-trained models. Experiments on common benchmarks demonstrate the effectiveness of our method, reducing the annotation cost by 78.51\% while tightly controlling the annotation error.
