DARC: Distributionally Robust Budget-Aware Adaptive Computation for Risk-Constrained AI Inference
Deployed neural networks must decide, input by input, whether to release a prediction, spend more computation on it, reroute it to another model, or abstain, while a computation budget is shared across a stream of requests. We formulate this as a constrained sequential decision problem with a budget that must hold on every sample path and a reliability constraint calibrated on held-out data, and we propose DARC (Distributionally robust, Adaptive, Risk-Constrained computation). DARC combines a Learn-then-Test risk gate calibrated on a loss that dominates the released error of every routing policy, learned estimates of the reward and cost of each possible continuation, and a primal–dual price of computation with a filter that reserves the mandatory cost of all future inputs. We prove pathwise budget feasibility, finite-sample control of the released-error rate uniformly over all routings, an O(T) regret bound for the price controller with an explicit decomposition of the value-estimation error, validity under bounded density-ratio shift for a sample-split monitor that recalibrates repeatedly, and a selective-risk certificate under an observable coverage floor; counterexamples show that selective risk without such a floor and adversarial orderings cannot be covered. In seven settings on CIFAR-100, CIFAR-10 and AG News, with backbones trained in this study (two independent training runs each) and with pre-trained CNN cascades and RoBERTa, DARC never violated its budget, and its released-error rate exceeded the target only within the permitted error probability. DARC improved on greedy risk-controlled early exiting at the tightest budget in every setting and was clearly best at tight and medium budgets with a ResNet backbone. Against the strongest competitor in each setting and budget, including cascades and static plans with the same alternative models, it was significantly better in 9 of 42 cases and worse in 30, 13 of them by practically negligible margins; the conservative routing-uniform gate explains most losses. A serving benchmark with real model execution measured a controller overhead of 0.2–0.4 ms per request.
Authors
- Sharif Naser Makhadmeh (ORCID: https://orcid.org/0000-0002-2894-7998)
- Fuad Alhosban (ORCID: https://orcid.org/0000-0003-1139-0705)
- Salam Al-E’mari (ORCID: https://orcid.org/0000-0002-2134-4158)
- Ahmad A. Al-Daraiseh (ORCID: https://orcid.org/0000-0001-5240-286X)
- Ola Shalbak
- Yousef K. Sanjalawe (ORCID: https://orcid.org/0000-0002-4442-1865)
Institutions
- University of Jordan (JO)
- American University of Madaba (JO)
- King Abdullah University Hospital (JO)
- Petra University (JO)
- University of Al Dhaid (AE)
Publication Details
- Journal
- Algorithms
- Published
- 2026-11-30
- DOI
- https://doi.org/10.3390/a19121059
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00