convertdrift-bench / bench /int8_control_selection.json
NagaYu's picture
ConvertDrift v1.0 dev bench (no tensors, no holdout data)
5b26c78 verified
Raw History Blame Contribute Delete
4.33 kB
{
"controls": {
"resnet18": {
"192": {
"output_corr": 0.9991365274767489,
"output_rel_max": 0.08496236242139005,
"top1_agreement": 1.0
},
"224": {
"output_corr": 0.9991699508138637,
"output_rel_max": 0.03474984498712872,
"top1_agreement": 1.0
}
},
"tinyvit": {
"192": {
"output_corr": 0.9996248170685844,
"output_rel_max": 0.09623953818271569,
"top1_agreement": 1.0
},
"224": {
"output_corr": 0.9981100416047951,
"output_rel_max": 0.20939863875495032,
"top1_agreement": 1.0
}
}
},
"criterion_top1_min": 1.0,
"held_out": {
"kind": "natural 1/f^2",
"n": 64,
"seed": 4242
},
"mobilenet_v3_small": {
"s8s8_minmax128": {
"192": {
"output_corr": 0.2511511449324116,
"output_rel_max": 1.3032390078475216,
"top1_agreement": 0.140625
},
"224": {
"output_corr": 0.26799419031962024,
"output_rel_max": 1.1274085792031525,
"top1_agreement": 0.078125
},
"meets_criterion": false
},
"s8s8_minmax16": {
"192": {
"output_corr": 0.2555446275723179,
"output_rel_max": 1.1615138437444845,
"top1_agreement": 0.21875
},
"224": {
"output_corr": 0.2696204787021913,
"output_rel_max": 1.0829674575229238,
"top1_agreement": 0.234375
}
},
"u8s8_entropy128": {
"192": {
"output_corr": 0.23593755803802033,
"output_rel_max": 1.4914460667401712,
"top1_agreement": 0.046875
},
"224": {
"output_corr": 0.28361521547029706,
"output_rel_max": 1.3271688005473536,
"top1_agreement": 0.0
},
"meets_criterion": false
},
"u8s8_minmax128": {
"192": {
"output_corr": 0.23593755803802033,
"output_rel_max": 1.4914460667401712,
"top1_agreement": 0.046875
},
"224": {
"output_corr": 0.28361521547029706,
"output_rel_max": 1.3271688005473536,
"top1_agreement": 0.0
},
"meets_criterion": false
},
"u8s8_minmax16": {
"192": {
"output_corr": 0.23285991293794073,
"output_rel_max": 1.3283542790795446,
"top1_agreement": 0.0625
},
"224": {
"output_corr": 0.2480221969688922,
"output_rel_max": 1.4002231055608272,
"top1_agreement": 0.109375
},
"meets_criterion": false
},
"u8s8_percentile128": {
"192": {
"output_corr": 0.30432351573748295,
"output_rel_max": 1.2994187859421227,
"top1_agreement": 0.15625
},
"224": {
"output_corr": 0.3137325748536168,
"output_rel_max": 1.2656311730075822,
"top1_agreement": 0.234375
},
"meets_criterion": false
}
},
"recipes": {
"s8s8_minmax128": {
"activation": "QInt8",
"calibrate": "MinMax",
"n_calib": 128,
"weight": "QInt8"
},
"s8s8_minmax16": {
"activation": "QInt8",
"calibrate": "MinMax",
"n_calib": 16,
"weight": "QInt8"
},
"u8s8_entropy128": {
"activation": "QUInt8",
"calibrate": "Entropy",
"n_calib": 128,
"weight": "QInt8"
},
"u8s8_minmax128": {
"activation": "QUInt8",
"calibrate": "MinMax",
"n_calib": 128,
"weight": "QInt8"
},
"u8s8_minmax16": {
"activation": "QUInt8",
"calibrate": "MinMax",
"n_calib": 16,
"weight": "QInt8"
},
"u8s8_percentile128": {
"activation": "QUInt8",
"calibrate": "Percentile",
"n_calib": 128,
"weight": "QInt8"
}
},
"rule": "Select a faithful int8 recipe for the MobileNetV3-Small bench control\n(DECISIONS.md Part 7, C-4). Runs in coreml_env.\n\nPre-registered rule (written before any candidate was measured):\n * Held-out set: 64 natural 1/f^2 images, seed 4242 -- disjoint from the\n probe suite (seed 20261121) and the calibration set (seed 777). The\n recipe is chosen on this set only, never on the probe suite.\n * Faithfulness criterion: top-1 agreement with the fp32 PyTorch reference\n on the held-out set, at both bench shapes, must be >= the minimum\n agreement of the bench's existing faithful int8 controls (ResNet-18,\n TinyViT, recipe s8s8_minmax16) measured on the same held-out set.\n * Candidates are tried in the declared order (smallest change first);\n the first that meets the criterion is selected. All are reported.\nThe selected recipe is then produced through onnx_prod.py like every other\nbundle, and its probe-suite verdict is reported separately (it is not the\nselection criterion).",
"selected": null
}