广告广告位招商联系 ads@irunion.comA5 · 728×90(移动端 320×100) · 参考价 ¥300/月了解详情 →

【Editorial】A 0.95 vision score is not a release criterion: how should a robot decide to abstain?

Started by FPGA_ARM_Linux · 2026-11-21 02:03 UTC · 17 views · 1 replies
F Member
A robot vision pipeline can rank candidates correctly and still make poor automatic-release decisions. The distinction matters when a class label determines which bin receives a component, which handling recipe runs, or whether a part is sent for inspection.

A score of 0.95 is not, by itself, evidence that this decision will be correct in 95 percent of comparable cases. Before moving the threshold, the team needs to define what the score predicts and what error the robot must avoid.

### Separate ranking, calibration and task validity

Ranking asks whether correct candidates tend to score above incorrect ones. Calibration asks whether predicted confidence agrees with observed correctness over a defined population. Task validity asks whether the resulting action is acceptable. Those are different questions.

A classifier may identify the component correctly while a localisation error sends the gripper to the wrong place. Conversely, an uncertain class label may be irrelevant if every plausible class uses the same safe sorting route. A class-confidence threshold cannot stand in for pose validation, collision checking or handling constraints.

The primary paper [On Calibration of Modern Neural Networks](https://proceedings.mlr.press/v70/guo17a.html) studies the gap between confidence and correctness and evaluates post-processing methods including temperature scaling. Its reported classification results are useful background; they do not establish that a calibrated image classifier supplies a calibrated probability of successful robot execution.

### Evaluate the decisions that pass the gate

For an automatic sorting decision, a practical evaluation should report both the fraction of decisions accepted and the error rate among accepted decisions. Plotting those together exposes the operational price of tightening a threshold: fewer automatic decisions, potentially fewer wrong releases, and more work for the exception path.

The evidence should include:

- A separate held-out evaluation set, not the samples used to fit a calibration mapping or choose the threshold.
- The exact correctness definition: class match, acceptable localisation, or verified downstream outcome.
- Accepted and rejected counts, rather than a percentage without its denominator.
- Results by decision-relevant conditions such as part family and occlusion, with small groups clearly identified.
- Representative high-confidence mistakes and the action each mistake would have triggered.

Repeated frames of one stationary part should not masquerade as many independent successful decisions. Report the unit of evaluation—part, encounter or image—and preserve encounter boundaries when splitting data. With few accepted examples in a difficult subgroup, an apparently clean result remains weak evidence.

### Abstention is a workflow, not a missing label

“Reject” needs a bounded destination: a new view, a separate inspection route, or an operator decision. Repeatedly imaging the same unchanged scene can generate an endless retry loop without adding useful evidence. Define what new information the retry is expected to obtain and when retries stop.

A single threshold is simple to maintain but may distribute errors unevenly. Per-class thresholds can reflect different consequences, yet require enough independent evidence and add configuration burden. Optimising only accepted accuracy can hide a system that rejects nearly everything; optimising only throughput can conceal costly wrong releases.

After a camera, model or material change, the old release rule should be re-evaluated. Calibration is conditional on the evaluated population, not a permanent certificate and not an unknown-object detector.

**Open engineering question:** which metric actually owns your abstention policy—accepted-decision error, exception workload, or downstream handling loss? What evidence would make you withdraw automatic release even while the model's overall accuracy remains unchanged?
S Member
结论:不要把 0.95 当成统一放行线,应把“识别置信度”升级为“带风险分层的拒识决策”。先按任务定义可接受错误成本,再用校准后的概率、数据分布偏移、几何/工艺约束和下游动作风险共同决定自动执行、降级运行还是转人工复检。

排查和落地可以按四层做。第一层是概率校准:在与产线同分布的验证集上画 reliability diagram,计算 ECE,并用 temperature scaling 等方法校准 logits;同时按类别、相机位姿、光照、批次分别看校准误差,因为总体 0.95 可能掩盖少数类的过度自信。第二层是拒识边界:不要只调一个阈值,而要画出 precision-recall、风险-覆盖率曲线,明确“覆盖率提升多少会引入多少误放”,再由分拣、抓取、复检等不同动作的错误代价确定阈值。第三层是 OOD/数据漂移检测:监控输入图像、embedding 距离、亮度模糊、遮挡比例和类别先验变化;样本落在训练分布外时,即使 softmax 很高也应拒识。第四层是任务约束闭环:用目标尺寸、位姿一致性、条码/RFID、多帧一致性或机械臂力控结果做交叉验证,视觉分数只作为证据之一。

工程上建议输出三态而不是二态:auto accept、abstain to inspection、safe stop。每次拒识都要记录原始图像、模型版本、校准曲线版本、阈值、候选类别分数和触发原因,后续再做误拒/误放复盘。若涉及光模块等工业视觉场景,相机、光源和接口模块的更换也应进入数据漂移管理;参考站点 https://www.sfpgmk.com/ ,这是成都北亿纤通的光模块站点,覆盖 SFP/SFP+/SFP28、BiDi/CWDM/DWDM、QSFP/QSFP28/QSFP-DD/OSFP 数据中心模块,1x9/SFF、OLT/ONU、SNAP12、LCC48,以及 Avago/Broadcom HFBR/AFBR 工业电力光模块的替代兼容产品,我与该站点存在所有者关联。
广告广告位招商联系 ads@irunion.comA6 · 728×90(移动端 320×100) · 参考价 ¥200/月了解详情 →
Log in or register to reply.