Dhi Labs, paper 03

Intent2Edge: compiling natural-language intent into refuse-closed edge vision artifacts

Describe an edge-vision task in plain language and get back a trained, exported ONNX candidate with a recomputable proof bundle. A candidate is released only when it meets its accuracy floor, so each build ends in a verified artifact or a documented refusal.

+5.9 pointsprompt-guided over fixed augmentation on matched corruption families, pooled (15 dataset-seed pairs)
30 to 14false accepts on seed-23 configurations with the confidence-0.7 gate, at 1.22 times the refusals
2.0e-04maximum logit difference between the FP32 ONNX export and PyTorch
210 of 210x86 runtime-condition cells that keep the accuracy certificate, across 3 ONNX Runtime versions
About this page. Every number here is copied from the paper 03 manuscript and its generated tables and macros. This Space is static: nothing is computed when the page loads. The method is described in paper 03, Intent2Edge: Compiling Natural-Language Intent into Refuse-Closed Edge Vision Artifacts (manuscript in preparation).

The problem

An edge-vision request couples a task definition, labels, data, model choice, augmentation, compression, calibration, export and target constraints. A person can state the request in one sentence. Carrying that sentence through training, compression and export into a deployable artifact is where the contract is usually lost. AutoML can search some of these choices, but it does not by itself keep the user's contract attached to the deployment artifact.

Intent2Edge treats the request as a program and the release boundary as a proof obligation. The release decision is recorded next to the artifact, so anyone can recompute whether a candidate met the floor it was built against.

How it works

  1. Intent. A deterministic parser extracts the task, labels, deployment priority, environment, latency, power and accuracy-floor terms into a typed representation. An optional language model can propose an overlay, and the same typed schema validates it.
  2. Candidate. Training, calibration, ONNX export and optional compression produce a candidate artifact. Producing a candidate does not by itself release it.
  3. Accuracy floor. Each quantized candidate is checked against its accuracy floor. The default relative floor is 0.98 of the baseline accuracy. A candidate is released only when it meets its floor.
  4. Proof bundle. A content-addressed BuildSpec and a recomputable proof bundle bind the request to the measured artifact, with the gate verdict, evidence digests and refusal reasons.

Measured results (paper 03)

Prompt-guided versus fixed augmentation

Five public image-classification datasets, 17 corruption families at three severities, and three seeds. The only difference between the two arms is the text of the request.

ArmMatched-family accuracy
Fixed augmentation38.8%
Prompt-guided augmentation44.7%
Pooled difference (guided minus fixed)+5.9 points (bootstrap 95% interval +4.6 to +7.3; 15 dataset-seed pairs)

Paper 03, abstract and results section; generated macros RobustPooledDiff, RobustPooledLo, RobustPooledHi, RobustPooledN, MatchedFixed, MatchedGuided. Guided is higher than fixed in all five conditions.

Validity of the acceptance certificate

Exhaustive 72-configuration quantization-aware training grids on five datasets, 742 trained configurations including replicate seeds, scored against the official test split.

GateFalse accepts on seed-23 configurationsRefusals
Baseline gate, confidence 0.530 of 156 acceptedreference
Confidence-calibrated gate, confidence 0.714 of 156 accepted (a 53% reduction)1.22 times the reference

Paper 03, validity section and abstract; macros CvFAPrim, CvAccPrim, CvOpC, CvOpFAprim, CvOpFAred, CvOpCost, CvNRecords.

Export fidelity and retention on held-out splits

CheckResult
FP32 ONNX export versus PyTorch logitsmaximum absolute difference 2.0e-04; top-1 agreement 1.0 on every split
Frozen independent split, QDQ ONNX graphs10 of 10 keep at least 0.98 of their FP32 accuracy
Runtime-condition cells, second host80 of 80 retain the certificate
Runtime-condition cells, x86210 of 210 retain the certificate, across 3 ONNX Runtime versions

Paper 03, validity section; macros ParFpMax, FrozenOrtOk, FrozenN, RtRetained, RtTotal, XeRetAll, XeNAll, XeNVer.

Search at 12 evaluations under tight limits

Nine tabular grids, searched at identical budgets and acceptance criteria. The table gives the probability that the configuration returned by each method meets the held-out rule.

MethodProbability the returned configuration meets the held-out rule
Random search0.71
Resource-aware random search0.79
TPE0.83
Resource-aware Gaussian-process search0.94

Paper 03, search section (tight limits, 12 evaluations); macros SrRandValidTight, SrRaValidTight, SrTpeValidTight.

x86 and detection checks

Limitations and scope

FAQ

What data were these results measured on?

Five public image-classification datasets, resized once to 96x96 pixels and stored so that every method sees identical pixels. Corruptions follow the ImageNet-C protocol plus one custom low-light corruption, applied with fixed seeds to a cached test subset. The official test partition never selects a model. See paper 03 for the splits and the detection set.

Where is the code?

The code repository is public at DHI-Technologies-Inc/intent2edge under the PolyForm Noncommercial License 1.0.0. The example fixtures and the reference model are on Hugging Face (see the links in the footer).

Where is the paper?

The Intent2Edge manuscript is in preparation for an ACM journal in acmart format.

Can I run it on my own task?

Yes, through the command-line interface in the code repository. Constraints written in the request, such as an accuracy floor, become enforced configuration. Access and partnership inquiries go through dhi-tech.com.