polypsegtrack-eval
PolypSegTrack: Unified Foundation Model for Colonoscopy Video Analysis — Choudhuri et al. (2025) (arXiv:2503.24108, 2025)
What this evaluates
Evaluates a unified foundation model's ability to perform joint polyp detection, segmentation, classification, and unsupervised tracking on colonoscopy video frames. It tests generalization to unseen clinical datasets and consistency of object association across frames without task-specific fine-tuning.
Datasets
- Kvasir-SEG — total ?; splits: train (900), test (-1)
- CVC-ClinicDB — total ?; splits: train (550), test (-1)
- CVC-ColonDB — total ?; splits: test (-1)
- ETIS — total ?; splits: test (-1)
- CVC-300 — total ?; splits: test (-1)
- KUMC — total ?; splits: train (28000), val (-1)
- REAL-Colon — total 3000; splits: test (3000)
Metrics
Dice (primary) — range: [0, 1]
- Dice coefficient = 2 * |A ∩ B| / (|A| + |B|), measuring overlap between predicted and ground-truth segmentation masks.
IoU — range: [0, 1]
- Intersection over Union = |A ∩ B| / |A ∪ B|, standard segmentation overlap metric.
Precision — range: [0, 1]
- Ratio of true positive detections to all predicted detections.
Recall — range: [0, 1]
- Ratio of true positive detections to all ground-truth detections.
F1 Score — range: [0, 1]
- Harmonic mean of precision and recall, used for detection and classification performance.
HOTA — range: [0, 1]
- Higher Order Tracking Accuracy, a composite metric balancing detection and association accuracy over multiple thresholds.
MOTA — range: [0, 1]
- Multi-Object Tracking Accuracy = 1 - (FN + FP + ID switches) / GT count.
IDF1 — range: [0, 1]
- ID F1 score, measuring the harmonic mean of ID precision and recall across tracks.
Input / output format
Input: Colonoscopy video frames or static endoscopic images.
Output: Bounding boxes, pixel-level segmentation masks, polyp classification labels (AD/HP), and temporal track IDs.
Scoring recipe
def compute_metrics(preds, gold):
# Segmentation
dice = 2 * (preds.mask & gold.mask).sum() / (preds.mask.sum() + gold.mask.sum())
iou = (preds.mask & gold.mask).sum() / (preds.mask | gold.mask).sum()
# Detection
tp = count_true_positives(preds.bboxes, gold.bboxes, iou_thresh=0.5)
precision = tp / max(len(preds.bboxes), 1)
recall = tp / max(len(gold.bboxes), 1)
# Classification
f1 = 2 * (precision * recall) / (precision + recall + 1e-8)
# Tracking (standard MOT evaluation)
mota = 1 - (fn + fp + id_switches) / len(gold.tracks)
hota = compute_hota(preds.tracks, gold.tracks)
return {'dice': dice, 'iou': iou, 'precision': precision, 'recall': recall, 'f1': f1, 'mota': mota, 'hota': hota}
Common pitfalls
- Training splits are highly restricted (only 900/550 images for Kvasir-SEG/CVC-ClinicDB), making direct comparison with models trained on full datasets unfair.
- Tracking is evaluated unsupervised on a small subset (3 videos, 1000 frames) without fine-tuning, which may not reflect real-world tracking performance.
- KUMC dataset only provides bounding box annotations, so segmentation metrics cannot be computed for it.
- No single dataset covers all four tasks (detection, segmentation, classification, tracking) simultaneously; evaluation is split across multiple benchmarks.
Evidence (verbatim from paper)
For joint detection and segmentation, we use the precision and recall metrics to evaluate the detection performance and the dice and IoU scores to measure the segmentation accuracy to be consistent with prior works. For detection and classification on KUMC dataset, we report the F1 score following prior work. To evaluate tacking, we report the object tracking metrics of DetA (detection accuracy), AssA (association accuracy), HOTA, MOTA (multi-object tracking accuracy) and IDF1 following prior works on multi-object tracking.
Citation
@misc{choudhuri2025polypsegtrack,
title={PolypSegTrack: Unified Foundation Model for Colonoscopy Video Analysis},
author={Choudhuri et al. (2025)},
year={2025},
note={arXiv:2503.24108}
}
1---2name: polypsegtrack-eval3description: Evaluates a unified foundation model's ability to perform joint polyp detection, segmentation, classification, and unsupervised tracking on colonoscopy video frames. It tests generalization to unseen clinical datasets and consistency of object association across frames without task-specific fine-tuning. Use when the user wants to benchmark on Kvasir-SEG, CVC-ClinicDB, CVC-ColonDB, ETIS, CVC-300, KUMC, REAL-Colon, or asks about evaluating this task. Reports Dice.4---56# polypsegtrack-eval78> PolypSegTrack: Unified Foundation Model for Colonoscopy Video Analysis — Choudhuri et al. (2025) (arXiv:2503.24108, 2025)910## What this evaluates1112Evaluates a unified foundation model's ability to perform joint polyp detection, segmentation, classification, and unsupervised tracking on colonoscopy video frames. It tests generalization to unseen clinical datasets and consistency of object association across frames without task-specific fine-tuning.1314## Datasets1516- **Kvasir-SEG** — total ?; splits: train (900), test (-1)17- **CVC-ClinicDB** — total ?; splits: train (550), test (-1)18- **CVC-ColonDB** — total ?; splits: test (-1)19- **ETIS** — total ?; splits: test (-1)20- **CVC-300** — total ?; splits: test (-1)21- **KUMC** — total ?; splits: train (28000), val (-1)22- **REAL-Colon** — total 3000; splits: test (3000)2324## Metrics2526- `Dice` **(primary)** — range: [0, 1]27 - Dice coefficient = 2 * |A ∩ B| / (|A| + |B|), measuring overlap between predicted and ground-truth segmentation masks.28- `IoU` — range: [0, 1]29 - Intersection over Union = |A ∩ B| / |A ∪ B|, standard segmentation overlap metric.30- `Precision` — range: [0, 1]31 - Ratio of true positive detections to all predicted detections.32- `Recall` — range: [0, 1]33 - Ratio of true positive detections to all ground-truth detections.34- `F1 Score` — range: [0, 1]35 - Harmonic mean of precision and recall, used for detection and classification performance.36- `HOTA` — range: [0, 1]37 - Higher Order Tracking Accuracy, a composite metric balancing detection and association accuracy over multiple thresholds.38- `MOTA` — range: [0, 1]39 - Multi-Object Tracking Accuracy = 1 - (FN + FP + ID switches) / GT count.40- `IDF1` — range: [0, 1]41 - ID F1 score, measuring the harmonic mean of ID precision and recall across tracks.4243## Input / output format4445**Input**: Colonoscopy video frames or static endoscopic images.4647**Output**: Bounding boxes, pixel-level segmentation masks, polyp classification labels (AD/HP), and temporal track IDs.4849## Scoring recipe5051```python52def compute_metrics(preds, gold):53 # Segmentation54 dice = 2 * (preds.mask & gold.mask).sum() / (preds.mask.sum() + gold.mask.sum())55 iou = (preds.mask & gold.mask).sum() / (preds.mask | gold.mask).sum()56 # Detection57 tp = count_true_positives(preds.bboxes, gold.bboxes, iou_thresh=0.5)58 precision = tp / max(len(preds.bboxes), 1)59 recall = tp / max(len(gold.bboxes), 1)60 # Classification61 f1 = 2 * (precision * recall) / (precision + recall + 1e-8)62 # Tracking (standard MOT evaluation)63 mota = 1 - (fn + fp + id_switches) / len(gold.tracks)64 hota = compute_hota(preds.tracks, gold.tracks)65 return {'dice': dice, 'iou': iou, 'precision': precision, 'recall': recall, 'f1': f1, 'mota': mota, 'hota': hota}66```6768## Common pitfalls6970- Training splits are highly restricted (only 900/550 images for Kvasir-SEG/CVC-ClinicDB), making direct comparison with models trained on full datasets unfair.71- Tracking is evaluated unsupervised on a small subset (3 videos, 1000 frames) without fine-tuning, which may not reflect real-world tracking performance.72- KUMC dataset only provides bounding box annotations, so segmentation metrics cannot be computed for it.73- No single dataset covers all four tasks (detection, segmentation, classification, tracking) simultaneously; evaluation is split across multiple benchmarks.7475## Evidence (verbatim from paper)7677> For joint detection and segmentation, we use the precision and recall metrics to evaluate the detection performance and the dice and IoU scores to measure the segmentation accuracy to be consistent with prior works. For detection and classification on KUMC dataset, we report the F1 score following prior work. To evaluate tacking, we report the object tracking metrics of DetA (detection accuracy), AssA (association accuracy), HOTA, MOTA (multi-object tracking accuracy) and IDF1 following prior works on multi-object tracking.7879## Citation8081```bibtex82@misc{choudhuri2025polypsegtrack,83 title={PolypSegTrack: Unified Foundation Model for Colonoscopy Video Analysis},84 author={Choudhuri et al. (2025)},85 year={2025},86 note={arXiv:2503.24108}87}88```8990- arXiv: 2503.24108