Skip to content
Back to skills

Medical Benchmarks Eval

ASecurity

Evaluates large language models on medical knowledge, clinical reasoning, and safety alignment using multiple-choice and open-ended healthcare QA tasks. It measures standard accuracy across major medical benchmarks and quantifies unsafe response rates via automated safety classifiers. Use when the user wants to benchmark on MultiMedQA, MedMCQA, MedQA, PubMedQA, MMLU Med., CareQA, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
researchpythongo

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Medical Benchmarks Eval?

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

Security grade badge for Medical Benchmarks Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-medical-benchmarks-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-medical-benchmarks-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: medical-benchmarks-eval
description: Evaluates large language models on medical knowledge, clinical reasoning, and safety alignment using multiple-choice and open-ended healthcare QA tasks. It measures standard accuracy across major medical benchmarks and quantifies unsafe response rates via automated safety classifiers. Use when the user wants to benchmark on MultiMedQA, MedMCQA, MedQA, PubMedQA, MMLU Med., CareQA, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2405.01886
  bibtex_key: [REDACTED]
  confidence: high
---

# medical-benchmarks-eval

> Aloe: A Family of Fine-tuned Open Healthcare LLMs — Gururajan et al. (2024) (arXiv:2405.01886, 2024)

## What this evaluates

Evaluates large language models on medical knowledge, clinical reasoning, and safety alignment using multiple-choice and open-ended healthcare QA tasks. It measures standard accuracy across major medical benchmarks and quantifies unsafe response rates via automated safety classifiers.

## Datasets

- **MultiMedQA** — total ?; splits: test (-1)
- **MedMCQA** — total ?; splits: test (-1)
- **MedQA** — total ?; splits: test (-1)
- **PubMedQA** — total ?; splits: test (-1)
- **MMLU Med.** — total ?; splits: test (-1)
- **CareQA** — total ?; splits: test (-1)

## Metrics

- `accuracy` **(primary)** — range: percent
  - Percentage of correctly predicted options out of total questions. For MultiMedQA, a weighted average accuracy across subtasks is computed. An overall arithmetic mean is calculated across all medical datasets.
- `Attack Success Rate (ASR)` — range: [0, 1]
  - Ratio of unsafe answers over total evaluated responses, classified using Llama Guard 2.

## Input / output format

**Input**: Medical multiple-choice questions, optionally augmented with 5 nearest-neighbor few-shot examples (Medprompt) or evaluated via self-consistency Chain-of-Thought (5 or 20 ensembles with shuffled options).

**Output**: Step-by-step reasoning followed by a selected option (A, B, C, etc.), or direct option selection. Final answer determined via majority voting across ensemble runs.

## Scoring recipe

```python
def compute_accuracy(predictions, gold):
    correct = sum(1 for p, g in zip(predictions, gold) if p == g)
    return correct / len(gold)

def compute_medical_avg(results):
    non_careqa = {k: v for k, v in results.items() if k != 'CareQA'}
    weighted_multi = sum(v * w for v, w in non_careqa.items())
    overall = sum(results.values()) / len(results)
    return weighted_multi, overall
```

## Common pitfalls

- Ensemble size (5 vs 20) in Medprompt/SC-CoT yields only ~1% accuracy gain but increases compute cost by 4x.
- Medprompt few-shot examples must be drawn from the benchmark's training set (or MedMCQA's if unavailable), limited to 20k random samples to save compute.
- ASR scores are highly sensitive to the underlying safety classifier (Llama Guard 2) and jailbreak attack styles.

## Evidence (verbatim from paper)

> We produce the standard MultiMedQA score for reference, by computing the weighted average accuracy on all scores except CareQA. Additionally, we calculate the arithmetic mean across all datasets.

## Citation

```bibtex
@misc{gururajan2024aloe,
  title={Aloe: A Family of Fine-tuned Open Healthcare LLMs},
  author={Gururajan et al. (2024)},
  year={2024},
  note={arXiv:2405.01886}
}
```

- arXiv: 2405.01886

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.