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?
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?