Skip to navigation

Compare interactive instance segmentation

Overview

Ranks interactive segmentation models against each other on your own data and says which one to put in front of annotators.

It reads evaluations produced by Evaluate interactive instance segmentation - no model is run again here. That is what makes it possible to rank five models without holding five of them on a GPU at once, and it is why the first thing this node does is check that the runs it was given actually measured the same thing.

The report answers in two vocabularies at once: NoC, NoF, IoU@k and confidence intervals for an ML engineer, and annotator-hours per day for whoever decides whether to roll the tool out.

Prerequisites

RequirementWhat you need
Two to five evaluationsEach from an Evaluate interactive instance segmentation run, on the same dataset, with identical settings.
The datasetThe one those evaluations measured, so the picker can offer them.

How it works

1

Downloads each evaluation’s report and reads the aggregated numbers and the per-object table it carries.

2

Refuses the set unless every run used the same dataset and the same protocol - budget, targets, policies, seeds and refinement.

3

Ranks by mean clicks to the target under the hardest policy that ran, and checks whether the leader’s confidence interval overlaps the runner-up’s.

4

Re-groups every run’s objects by size, shape complexity and class, so the report says where each model struggles and not only which mean is lower.

5

Translates clicks and latency into annotator-hours and publishes the report with a recommendation and the winner’s registry reference.

FAQ

Because they did not run the same experiment. Two runs with different click budgets, targets, policies, refinement settings or seeds produce numbers that look rankable and are not - a different seed alone means the two runs measured different objects. The message names every setting that differs. Re-run the Evaluate node for each model with identical settings.

The report says so instead of ranking them. When the leader’s confidence interval overlaps the runner-up’s, the difference in mean clicks is within sampling noise, and the tie is broken on unfinished objects first and model time second. A model that needs one more click but answers in a fifth of the time is the better labeling tool.

Because part of it was an artifact of assuming perfect aim. The report shows each model’s position under every policy that ran and says how many moved. Where the order changes, the perturbed column is the one that predicts what your annotators will experience.

The ranking is reliable, but the absolute hours are an estimate. They are modelled, not measured: they assume every object behaves like the average, and they leave out image loading, object switching, review, and the objects a model never finishes - which cost far more than the table suggests.

Yes, in stages. Compare the first five, then feed the Best evaluation output into another comparison alongside the remaining ones. Every run in each stage still has to share the same protocol.

The report says “do not deploy” rather than naming the least-bad one. When even the best model finishes only a small share of objects inside the budget, the annotator spends every click and still draws by hand, which costs more than not offering the tool. The recommendation then points at changing the task - annotating per part, or using the model for a first-pass outline only.

From the evaluations: this node runs no model, so it puts together the masks each evaluation already drew. An object appears only when every evaluation drew it, which is the case when they ran with the same Preview images setting. An evaluation run with Preview images set to 0 leaves the comparison without a gallery.

Inputs

Evaluation dataset
datasetRequired

Dataset the evaluations were measured on. Every evaluation offered below is one that scored this dataset. Key: GT_DATASET.

Interactive segmentation evaluations
model_evaluationRequired

Two to five evaluations to compare, in any order. They must come from Evaluate interactive instance segmentation runs over the same dataset with the same protocol, which this node checks before ranking them. Values come from GT_DATASET. Key: EVALUATIONS.

Objects per day
integerDefaults to 2000Required

How many objects your team labels in a day. Used only to translate clicks and latency into annotator-hours, which is where the difference between two models usually becomes visible. Minimum: 1. Key: OBJECTS_PER_DAY.

Seconds per click
numberDefaults to 1.4Required

Human time per click - decide, move the pointer, click - used in the throughput model. The measured model wait is added on top. Minimum: 0.1. Step: 0.1. Key: SECONDS_PER_CLICK.

Outputs

Comparison report
report

Interactive segmentation comparison report - ranking with confidence intervals, policy stability, latency split, throughput model and a recommendation. Shown as an artifact. Key: REPORT_ID.

Best model
model

Registry reference of the recommended model. Shown as an artifact. Key: BEST_MODEL_ID.

Best evaluation
model_evaluation

Evaluation of the recommended model, ready to wire into another comparison to chain more than five models. Key: BEST_EVALUATION_ID.

Best report
report

Evaluation report of the recommended model. Key: BEST_REPORT_ID.

Winner
string

Name of the recommended model, shown as a badge on the node. Shown on the node as a badge. Key: WINNER.

Models and configuration

There is nothing about the models to configure here. Every setting that shaped the numbers was fixed by the evaluations, and this node inherits them - which is the point: a comparison that could re-tune the experiment could not claim the runs were comparable.

The two inputs it does take, Objects per day and Seconds per click, only scale the throughput model. They change the hours column and nothing else, so no ranking depends on getting them exactly right.

Report

The report opens with the recommendation, written once for an ML engineer and once for whoever decides on a rollout, followed by the cautions that make it provisional. Then the ranking: the convergence curve, clicks to target with confidence intervals, the share of objects each model finishes, and how the order moves between click policies. After that the latency split, the modelled annotator-hours, and the breakdowns by object size, shape complexity and class.

Every column names the evaluation it came from, so a number on the page can be traced back to the run that measured it.

Runtime

The node runs on the default worker and needs no GPU. It reads files and ranks numbers, so it finishes in seconds regardless of how long the evaluations took.

JSON config

Machine-readable node interface for automation and advanced usage.

{
"name": "Compare interactive instance segmentation",
"description": "Rank interactive segmentation models against each other on your own data and say which one to put in front of annotators. Reads evaluations produced by Evaluate interactive instance segmentation, checks they measured the same objects the same way, and reports the winner in both ML terms (NoC, NoF, IoU@k, confidence intervals) and in annotator-hours.",
"category": "Evaluate",
"namespace": "ovalbee",
"templateKey": "evaluate/compare_interactive_instance_segmentation",
"version": "v1",
"inputs": [
{
"key": "GT_DATASET",
"label": "Evaluation dataset",
"type": "dataset",
"description": "Dataset the evaluations were measured on. Every evaluation offered below is one that scored this dataset.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"creatable": false
}
},
{
"key": "EVALUATIONS",
"label": "Interactive segmentation evaluations",
"type": "model_evaluation",
"description": "Two to five evaluations to compare, in any order. They must come from Evaluate interactive instance segmentation runs over the same dataset with the same protocol, which this node checks before ranking them.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"ref": "GT_DATASET",
"task_type": "instance_segmentation",
"minItems": 2,
"maxItems": 5
}
},
{
"key": "OBJECTS_PER_DAY",
"label": "Objects per day",
"type": "number",
"description": "How many objects your team labels in a day. Used only to translate clicks and latency into annotator-hours, which is where the difference between two models usually becomes visible.",
"required": true,
"default": 2000,
"visibleWhen": null,
"options": {
"type": "integer",
"min": 1
}
},
{
"key": "SECONDS_PER_CLICK",
"label": "Seconds per click",
"type": "number",
"description": "Human time per click - decide, move the pointer, click - used in the throughput model. The measured model wait is added on top.",
"required": true,
"default": 1.4,
"visibleWhen": null,
"options": {
"type": "float",
"min": 0.1,
"step": 0.1
}
}
],
"outputs": [
{
"key": "REPORT_ID",
"label": "Comparison report",
"type": "report",
"kind": "interactive_segmentation_comparison_report_v1",
"description": "Interactive segmentation comparison report - ranking with confidence intervals, policy stability, latency split, throughput model and a recommendation.",
"artifact": true,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "BEST_MODEL_ID",
"label": "Best model",
"type": "model",
"description": "Registry reference of the recommended model.",
"artifact": true,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "BEST_EVALUATION_ID",
"label": "Best evaluation",
"type": "model_evaluation",
"description": "Evaluation of the recommended model, ready to wire into another comparison to chain more than five models.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "BEST_REPORT_ID",
"label": "Best report",
"type": "report",
"kind": "interactive_segmentation_evaluation_report_v1",
"description": "Evaluation report of the recommended model.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "WINNER",
"label": "Winner",
"type": "string",
"description": "Name of the recommended model, shown as a badge on the node.",
"artifact": false,
"badge": true,
"badgeOpens": null,
"hidden": false
}
],
"automation": {
"requires_configuration": true
},
"widgets": {
"widget": {
"id": "report-preview",
"settings": {
"reportAsset": {
"type": "variable",
"value": "self.outputs.REPORT_ID"
}
}
}
}
}

References