convertdrift-bench / README.md
NagaYu's picture
ConvertDrift v1.0 dev bench (no tensors, no holdout data)
5b26c78 verified
|
Raw History Blame Contribute Delete
3.25 kB
---
license: other
license_name: all-rights-reserved-evaluation-only
license_link: LICENSE
pretty_name: ConvertDrift dev bench
tags:
- model-conversion
- on-device
- coreml
- litert
- onnx
- quantization
- fidelity
size_categories:
- n<1K
---
# ConvertDrift dev bench
This is the dev bench of [ConvertDrift](https://github.com/NagaYu/convertdrift), a cross-converter fidelity judge for on-device model conversions (Core ML, LiteRT, ONNX Runtime). It contains the files exactly as exported in the v1.0 repository's `bench/` directory, minus every tensor file.
**Gate record.** The judge passed this dev bench (**Gate 1 = PASS**). It then **failed Gate 2 on two independent sealed holdouts (Gate 2 = FAIL)**. This bench is self-authored, so the Gate 1 result shows self-consistency only. The full record is in the [README](https://github.com/NagaYu/convertdrift#gate-record). Neither holdout is in this dataset, and no file here comes from either holdout.
## Contents
The dev bench covers ResNet-18, MobileNetV3-Small and TinyViT. Each model goes through 3 converter paths, at fp32, fp16 and int8. There are 136 scored cases, 20 of them faithful.
| Path | What it holds |
|---|---|
| `bench/bundles/` | case manifests (138): which reference, converted output and probe digests a verdict is judged from |
| `bench/labels/` | planted-fault labels: declared class and site, plus measured per-tap effect |
| `bench/verdicts*/` | judge verdicts, one directory per gating mode. `verdicts_calibrated4/` is the shipped `d04-cal4` semantics |
| `bench/gate1*.json` | Gate 1 scorings per semantics version. `gate1_calibrated4.json` is the shipped one and has per-case `rows` |
| `bench/judge_log*.json` | judge run logs |
| `bench/manifest.json`, `envs.json`, `zoo_spec.json` | bench identity (`bench_id` a046bb51c7aa2ec8), pinned producer environments and the zoo spec |
| `bench/audit_*.json`, `sensitivity.json`, `int8_diagnosis/`, `reference_cross_torch.json`, `regen_check.json`, `int8_control_selection.json`, `g1_cross_shape_cal3.json`, `probes/probes.json` | supporting evidence cited by the fidelity audit |
**Not included:** the converted and reference tensors (`bench/conv/`, `bench/refs/`), the probe tensors (`bench/probes/*.npz`) and the seeded TinyViT weights (`bench/weights/tinyvit-v1.pt`). The probe tensors and weights are in the GitHub repository, and the probes regenerate byte-identically from their seed. Without the tensors, a verdict cannot be re-judged. The scorings can still be re-checked from the verdicts and labels (`tests/verify_dev_record.py` in the repository).
## Shipped dev-bench numbers (`d04-cal4`)
| Bar (fixed before measurement) | Result |
|---|---|
| Reproducibility ≤ 1e-6, byte-identical verdicts | run-to-run 0.0; 136/136 byte-identical over 3 judgements |
| Recall D1 · D2 · D3 · D4 · D6 (≥ 0.95) | 9/9 · 38/38 · 36/36 · 4/4 · 18/18 (10 fp16 plants sub-band, excluded) |
| Attribution exact ≥ 0.90 or within ±1 ≥ 0.95 | 0.896 / 0.979 (met on ±1) |
| False alarms ≤ 0.02 | 0/20 |
## License
All Rights Reserved, evaluation only. See [LICENSE](LICENSE). You may view and evaluate this data. You may not redistribute it or create derivative works from it without written permission.