medvidbench-eval
MedGRPO: Multi-Task Reinforcement Learning for Heterogeneous Medical Video Understanding — Su et al. (2025) (arXiv:2512.06581, 2025)
What this evaluates
Evaluates heterogeneous medical video understanding across classification, grounding, and captioning tasks. Probes a model's ability to perform clinical safety checks, predict surgical actions, assess skills, localize temporal/spatial events, and generate precise medical video descriptions.
Datasets
- MedVidBench (Standard) — total 51505; splits: train (45260), test (6245)
Metrics
accuracy (primary) — range: [0, 1]
- Proportion of correct predictions for classification tasks (CVS, NA, SA). Computed as correct predictions divided by total samples.
mIoU — range: [0, 1]
- Mean Intersection over Union for temporal (TAG) and spatiotemporal (STG) grounding tasks. Computed as the intersection of predicted and ground-truth bounding boxes divided by their union, averaged across samples at IoU thresholds of 0.3 and 0.5.
F1 score — range: [0, 1]
- Harmonic mean of precision and recall for Dense Video Captioning (DVC), evaluating the overlap between generated and ground-truth captions.
LLM judge score — range: other
- Comparative similarity score generated by a medical LLM judge evaluating five clinical dimensions: terminology precision, instrument/anatomy identification, specificity, procedural context, and action accuracy.
Input / output format
Input: Video frames (sampled at 1 FPS) paired with a text prompt/question specifying the task (e.g., region captioning, action prediction, safety assessment).
Output: Text response: clinical description, action label, safety status, or structured caption depending on the task.
Scoring recipe
def compute_metric(task, pred, gold):
if task in ['CVS', 'NA', 'SA']:
return 'accuracy', 1.0 if pred == gold else 0.0
elif task in ['STG', 'TAG']:
iou = intersection(pred_box, gold_box) / union(pred_box, gold_box)
return 'mIoU', iou
elif task == 'DVC':
return 'F1 score', f1_score(pred_caption, gold_caption)
elif task in ['DVC', 'VS', 'RC']:
return 'LLM judge score', medical_llm_judge.evaluate(pred_caption, gold_caption)
return None, None
Common pitfalls
- Removing cross-dataset reward normalization causes catastrophic training collapse due to high magnitude differences between tasks.
- Using standard semantic similarity metrics for captioning inflates scores without capturing clinical terminology precision or anatomical accuracy.
- The LargeScale version has natural task imbalance favoring captioning, which can skew scaling law experiments if not accounted for.
Evidence (verbatim from paper)
Video-level tasks include Video Summarization (VS) measured by LLM judge score; Critical View of Safety (CVS) assessed by accuracy; Next Action Prediction (NA) evaluated by accuracy; and Skill Assessment (SA) measured by accuracy. Segment-level tasks include Temporal Action Grounding (TAG) measured by mean IoU at thresholds 0.3 and 0.5; Dense Video Captioning (DVC) evaluated by LLM judge score and F1 score; and Region Captioning (RC) assessed by LLM judge score. Frame-level tasks include Spatiotemporal Grounding (STG) measured by mIoU.
Citation
@misc{su2025medgrpo,
title={MedGRPO: Multi-Task Reinforcement Learning for Heterogeneous Medical Video Understanding},
author={Su et al. (2025)},
year={2025},
note={arXiv:2512.06581}
}
1---2name: medvidbench-eval3description: Evaluates heterogeneous medical video understanding across classification, grounding, and captioning tasks. Probes a model's ability to perform clinical safety checks, predict surgical actions, assess skills, localize temporal/spatial events, and generate precise medical video descriptions. Use when the user wants to benchmark on MedVidBench (Standard), or asks about evaluating this task. Reports accuracy.4---56# medvidbench-eval78> MedGRPO: Multi-Task Reinforcement Learning for Heterogeneous Medical Video Understanding — Su et al. (2025) (arXiv:2512.06581, 2025)910## What this evaluates1112Evaluates heterogeneous medical video understanding across classification, grounding, and captioning tasks. Probes a model's ability to perform clinical safety checks, predict surgical actions, assess skills, localize temporal/spatial events, and generate precise medical video descriptions.1314## Datasets1516- **MedVidBench (Standard)** — total 51505; splits: train (45260), test (6245)1718## Metrics1920- `accuracy` **(primary)** — range: [0, 1]21 - Proportion of correct predictions for classification tasks (CVS, NA, SA). Computed as correct predictions divided by total samples.22- `mIoU` — range: [0, 1]23 - Mean Intersection over Union for temporal (TAG) and spatiotemporal (STG) grounding tasks. Computed as the intersection of predicted and ground-truth bounding boxes divided by their union, averaged across samples at IoU thresholds of 0.3 and 0.5.24- `F1 score` — range: [0, 1]25 - Harmonic mean of precision and recall for Dense Video Captioning (DVC), evaluating the overlap between generated and ground-truth captions.26- `LLM judge score` — range: other27 - Comparative similarity score generated by a medical LLM judge evaluating five clinical dimensions: terminology precision, instrument/anatomy identification, specificity, procedural context, and action accuracy.2829## Input / output format3031**Input**: Video frames (sampled at 1 FPS) paired with a text prompt/question specifying the task (e.g., region captioning, action prediction, safety assessment).3233**Output**: Text response: clinical description, action label, safety status, or structured caption depending on the task.3435## Scoring recipe3637```python38def compute_metric(task, pred, gold):39 if task in ['CVS', 'NA', 'SA']:40 return 'accuracy', 1.0 if pred == gold else 0.041 elif task in ['STG', 'TAG']:42 iou = intersection(pred_box, gold_box) / union(pred_box, gold_box)43 return 'mIoU', iou44 elif task == 'DVC':45 return 'F1 score', f1_score(pred_caption, gold_caption)46 elif task in ['DVC', 'VS', 'RC']:47 return 'LLM judge score', medical_llm_judge.evaluate(pred_caption, gold_caption)48 return None, None49```5051## Common pitfalls5253- Removing cross-dataset reward normalization causes catastrophic training collapse due to high magnitude differences between tasks.54- Using standard semantic similarity metrics for captioning inflates scores without capturing clinical terminology precision or anatomical accuracy.55- The LargeScale version has natural task imbalance favoring captioning, which can skew scaling law experiments if not accounted for.5657## Evidence (verbatim from paper)5859> Video-level tasks include Video Summarization (VS) measured by LLM judge score; Critical View of Safety (CVS) assessed by accuracy; Next Action Prediction (NA) evaluated by accuracy; and Skill Assessment (SA) measured by accuracy. Segment-level tasks include Temporal Action Grounding (TAG) measured by mean IoU at thresholds 0.3 and 0.5; Dense Video Captioning (DVC) evaluated by LLM judge score and F1 score; and Region Captioning (RC) assessed by LLM judge score. Frame-level tasks include Spatiotemporal Grounding (STG) measured by mIoU.6061## Citation6263```bibtex64@misc{su2025medgrpo,65 title={MedGRPO: Multi-Task Reinforcement Learning for Heterogeneous Medical Video Understanding},66 author={Su et al. (2025)},67 year={2025},68 note={arXiv:2512.06581}69}70```7172- arXiv: 2512.06581