Skip to content
STAR-ComputingPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

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

ProCerDCL checks how often a compiled model changes the prediction of its reference model under a chosen input distribution. It draws perturbed inputs, evaluates a binary property on each draw, and stops when the observations support a verdict or the test reaches its sampling budget.

What it does

  • Certifies a violation probability. Given independent draws and a stateless oracle, the main sequential test returns Yes for evidence that the violation probability is at most theta, No for evidence that it exceeds theta + eta, and None when the evidence is inconclusive. The error budget is delta. Method and assumptions
  • Distinguishes two kinds of disagreement. The pointwise property counts any difference between the reference and compiled predictions. The reference-stable property counts draws where the reference keeps the seed label and the compiled prediction changes. Property definitions
  • Measures the cost of a certificate. A draw cache lets ProCerDCL and the PROVERO baseline see the same perturbations. The paired experiments report the sample count and the certified radius for each method. Draw cache · Paired results

Layout

Path Contents
src/verification/ Sequential tests, the PROVERO baseline, property samplers and paired replay
src/models/ and utils.py Model definitions, the registry of 27 model–dataset tasks and compiler IDs
verify_bound.py and verifier.py Clean-label radius search library and verifier registry
rq1/, rq2/, rq3/, rq4/ and rq5/ Per-input records, aggregate results, table generators and CPU checks
docs/ Method, reproduction commands and the paper artifact index
archive/ Saved plots and tables from exploratory analyses

Experiments

Study Question Results
RQ1 · Properties and verdicts What do local consistency verdicts and the clean-label radius tell us? Radius table · Property table · Pointwise verdicts
RQ2 · Sampling cost and conclusiveness How many draws do the methods use, and how often do they reach a decision? Sample counts · Paired comparison · Seed stability
RQ3 · Robustness across configurations How do quantization, GPU choice and perturbation norm affect the radius? Simulated INT8 · TensorRT INT8 · GPU comparison · L-infinity
RQ4 · Parameter sensitivity How sensitive are the results to the threshold, margin and error budget? Parameter table · Sweep data
RQ5 · Other distributions What changes when perturbations are confined to a 3 × 3 patch? Patch table · Measurements

At theta = 0.001, the pointwise study covers 21 image tasks on TorchInductor and TensorRT. Across 840 input–backend pairs, the verifier returned 817 Yes, 4 No and 19 None. The per-input records identify the model, backend and verdict behind each summary row. Per-input records · Artifact index

Reproduce

Rebuild the pointwise summary on CPU. From the repository root, run the following command with Python 3. It reads the included per-input CSVs, prints counts for each backend and writes rq1/pointwise24_summary.csv.

python rq1/analyze_pointwise24.py

Try the sequential test on CPU. Install NumPy and SciPy, then run this example from the repository root. The seeded sampler returns a violation with probability 0.001. The example prints the verdict and the number of draws the test used.

from random import Random
from src.verification.ProCerDCL.demo_alg import certify_single

rng = Random(7)
result = certify_single(
    theta=0.01, eta=0.005, delta=0.01, batch_size=32,
    draw=lambda: int(rng.random() < 0.001), tester="cs",
)
print(result.answer, result.n_samples)

The table generators rebuild the parameter-study and radius-sweep exports from their recorded CSV snapshots. Reproduction guide · Artifact index

Reference

Zexin Li, Weibo Zhang, Linyi Li, Arvind Easwaran, and Simin Chen. “ProCerDCL: Query-Efficient Black-Box Probabilistic Verification of Deep Learning Compiler Optimization.” 2026. arXiv:2610.36499 · Google Scholar

@article{li2026procerdcl,
  title   = {{ProCerDCL}: Query-Efficient Black-Box Probabilistic Verification of Deep Learning Compiler Optimization},
  author  = {Li, Zexin and Zhang, Weibo and Li, Linyi and Easwaran, Arvind and Chen, Simin},
  journal = {arXiv preprint arXiv:2610.36499},
  year    = {2026}
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages