Skip to content
Back to skills

Benchx Eval

ASecurity

Evaluates Medical Vision-Language Pretraining (MedVLP) models on chest X-ray tasks including multi-label/binary classification, segmentation, report generation, and image-text retrieval. It specifically probes how standardized preprocessing and finetuning strategies affect model performance across heterogeneous architectures. Use when the user wants to benchmark on NIH, VinDr, COVIDx, SIIM, RSNA, Object-CXR, TBX11K, IUXray, MIMIC 5x200, or asks about evaluating this task. Reports AUROC.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill benchx-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Benchx Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Benchx Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-benchx-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-benchx-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: benchx-eval
description: Evaluates Medical Vision-Language Pretraining (MedVLP) models on chest X-ray tasks including multi-label/binary classification, segmentation, report generation, and image-text retrieval. It specifically probes how standardized preprocessing and finetuning strategies affect model performance across heterogeneous architectures. Use when the user wants to benchmark on NIH, VinDr, COVIDx, SIIM, RSNA, Object-CXR, TBX11K, IUXray, MIMIC 5x200, or asks about evaluating this task. Reports AUROC.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2410.21969
  bibtex_key: zhou2024benchx
  confidence: high
---

# benchx-eval

> BenchX: A Unified Benchmark Framework for Medical Vision-Language Pretraining on Chest X-Rays — Yang Zhou et al. (2024) (arXiv:2410.21969, 2024)

## What this evaluates

Evaluates Medical Vision-Language Pretraining (MedVLP) models on chest X-ray tasks including multi-label/binary classification, segmentation, report generation, and image-text retrieval. It specifically probes how standardized preprocessing and finetuning strategies affect model performance across heterogeneous architectures.

## Datasets

- **NIH** — total ?; splits: train (-1), test (-1)
- **VinDr** — total ?; splits: train (-1), test (-1)
- **COVIDx** — total ?; splits: train (-1), test (-1)
- **SIIM** — total ?; splits: train (-1), test (-1)
- **RSNA** — total ?; splits: train (-1), test (-1)
- **Object-CXR** — total ?; splits: train (-1), test (-1)
- **TBX11K** — total ?; splits: train (-1), test (-1)
- **IUXray** — total ?; splits: train (-1), test (-1)
- **MIMIC 5x200** — total ?; splits: train (-1), test (-1)

## Metrics

- `AUROC` **(primary)** — range: [0, 1]
  - Area Under the Receiver Operating Characteristic Curve. Measures the probability that a randomly chosen positive instance is ranked higher than a randomly chosen negative instance across all classification thresholds.
- `F1` — range: [0, 1]
  - Harmonic mean of precision and recall: 2 * (precision * recall) / (precision + recall). Used for binary classification tasks where AUROC may not reflect performance differences accurately.
- `mDice` — range: [0, 1]
  - Mean Dice coefficient across classes/instances. Measures spatial overlap between predicted and ground truth segmentation masks.
- `BLEU/ROUGE-L/METEOR` — range: [0, 1]
  - Standard NLG metrics: BLEU measures n-gram precision, ROUGE-L measures longest common subsequence recall, METEOR combines precision, recall, and alignment.
- `Hit@K / Precision@K` — range: [0, 1]
  - Hit@K (H@K) indicates whether the correct report is in the top K retrieved items. Precision@K (P@K) measures the proportion of correct reports among the top K predictions.

## Input / output format

**Input**: Chest X-ray images. For retrieval tasks, an image query is paired against a candidate pool of radiology reports.

**Output**: Predicted class labels (multi-label or binary), segmentation masks, generated medical reports, or a ranked list of candidate reports.

## Scoring recipe

```python
def score(preds, golds, task):
    if task == 'multilabel':
        return roc_auc_score(golds, preds, average='macro')
    elif task == 'binary':
        preds_bin = (preds >= 0.5).astype(int)
        return f1_score(golds, preds_bin, average='macro')
    elif task == 'seg':
        return 2 * (preds * golds).sum() / (preds.sum() + golds.sum() + 1e-8)
    elif task == 'retrieval':
        ranks = np.argsort(-preds, axis=1)
        correct_idx = (ranks == golds[:, None]).argmax(axis=1)
        return (correct_idx < K).mean(), (correct_idx < K).sum() / K
```

## Common pitfalls

- Using AUROC for binary classification instead of F1, as the paper notes AUROC may not fully reflect performance differences.
- Applying naive finetuning protocols (e.g., simple linear head) without task-specific hyperparameter tuning, which significantly underestimates model capabilities.
- Benchmarking image-text retrieval without accounting for factors beyond image encoders, leading to misleading similarity scores.

## Evidence (verbatim from paper)

> The evaluation metrics include the area under the ROC curve (AUROC) for multilabel classification, measuring the model’s ability to differentiate between true positives and false positives across various threshold values. For binary classification, we employ F1, the harmonic mean of precision and recall, because we find that AUROC may not fully reflect the performance difference across MedVLP methods.

## Citation

```bibtex
@misc{zhou2024benchx,
  title={BenchX: A Unified Benchmark Framework for Medical Vision-Language Pretraining on Chest X-Rays},
  author={Yang Zhou et al. (2024)},
  year={2024},
  note={arXiv:2410.21969}
}
```

- arXiv: 2410.21969

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.