arXiv:2610.36499cs.SEOct 2026

Manuscript Offprint

arXiv:2610.36499

ProCerDCL: Query-Efficient Black-Box Probabilistic Verification of Deep Learning Compiler Optimization

Zexin Li, Weibo Zhang, Linyi Li, Arvind Easwaran, Simin Chen

GEORGE MASON UNIVERSITY.

SFU

SIMON FRASER UNIVERSITY

NANYANG TECHNOLOGICAL UNIVERSITY SINGAPORE

SYSTEM TRUSTWORTHINESS AND AI RELIABILITY

PREPRINT / v1

ProCerDCL: Query-Efficient Black-Box Probabilistic Verification of Deep Learning Compiler Optimization

Zexin Li 1,∗^{1,*},† ID Weibo Zhang 1,∗^{1,*},† ID Linyi Li 2^{2} ID Arvind Easwaran 3^{3} ID Simin Chen 1^{1} ID

1^{1}STAR Lab, George Mason University 2^{2}Simon Fraser University 3^{3}Nanyang Technological University

ABSTRACT

Deep learning (DL) compiler optimizations can alter model semantics by changing finite-precision execution, potentially causing decision-level inconsistencies between reference and compiled models. Differential testing can reveal such inconsistencies on selected inputs, but observing consistency on tested cases does not, by itself, bound the probability of inconsistency on unseen inputs. Establishing trust under a specified input distribution therefore requires statistical guarantees that account for sampling uncertainty. Obtaining these guarantees, however, can require many expensive model executions. We present ProCerDCL, a query-efficient framework for black-box probabilistic verification. Given a fixed, sampleable input distribution and a binary property oracle, ProCerDCL assesses the property's violation probability pp against a threshold θ\theta. Under independent sampling and stateless oracle behavior, acceptance asserts p≤θp \leq \theta, rejection asserts p>θ+ηp > \theta + \eta for a user-specified separation margin, and an inconclusive verdict indicates insufficient evidence for either conclusion. The probability of each type of erroneous verdict is bounded by its specified error budget. To support this three-valued contract efficiently, ProCerDCL uses a single sequential test, eliminating the interval family required by the baseline. The test accounts for repeated sampling checks through either corrected exact binomial confidence intervals or an anytime-valid confidence sequence. We apply ProCerDCL to probabilistic local model semantic consistency, where the property oracle detects decision-level inconsistencies between reference and compiled executions under a specified perturbation distribution. Our evaluation covers 24 tasks across TorchInductor and TensorRT and examines sampling efficiency, conclusiveness, and diagnostic behavior. For sampling efficiency, we use paired one-model clean-label radius searches: the baseline requires 3.6-4.2 times as many unique samples under matched numerical parameters while providing a weaker decision contract. For model semantic consistency, checks at θ=10−3\theta = 10^{-3} yield 817 acceptances, 19 inconclusive verdicts, and 4 rejections across 840 input–backend instances from 21 tasks. Case studies of two documented compiler faults further demonstrate what these local verdicts can diagnose.

<|> GitHub: https://github.com/STAR-Computing/ProCerDCL

Keywords probabilistic verification; sequential testing; deep learning compilers; local robustness

References (57)