Skip to content
Back to skills

Clinical Text Robustness Eval

ASecurity

Evaluates the robustness of clinical NLP models against real-world input noise across four standard tasks. It probes whether models maintain performance when text contains character- or word-level perturbations (e.g., misspellings, deletions, negations) that remain human-readable. Use when the user wants to benchmark on i2b2, MedSTS, MedNLI, or asks about evaluating this task. Reports evaluation scores (accuracy/F1).

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

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill clinical-text-robustness-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clinical Text Robustness Eval?

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

Security grade badge for Clinical Text Robustness Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-clinical-text-robustness-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-clinical-text-robustness-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: clinical-text-robustness-eval
description: Evaluates the robustness of clinical NLP models against real-world input noise across four standard tasks. It probes whether models maintain performance when text contains character- or word-level perturbations (e.g., misspellings, deletions, negations) that remain human-readable. Use when the user wants to benchmark on i2b2, MedSTS, MedNLI, or asks about evaluating this task. Reports evaluation scores (accuracy/F1).
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2108.12242
  bibtex_key: [REDACTED]
  confidence: high
---

# clinical-text-robustness-eval

> Deep learning models are not robust against noise in clinical text — Moradi et al. (2021) (arXiv:2108.12242, 2021)

## What this evaluates

Evaluates the robustness of clinical NLP models against real-world input noise across four standard tasks. It probes whether models maintain performance when text contains character- or word-level perturbations (e.g., misspellings, deletions, negations) that remain human-readable.

## Datasets

- **i2b2** — total ?; splits: test (-1)
- **MedSTS** — total ?; splits: test (-1)
- **MedNLI** — total ?; splits: test (-1)

## Metrics

- `evaluation scores (accuracy/F1)` **(primary)** — range: percent
  - Task-specific accuracy or F1 score calculated as (correct predictions / total predictions) * 100 or standard F1 formula. Reported as percentage.

## Input / output format

**Input**: Clinical text sentences or documents, optionally perturbed with character-level or word-level noise according to a specified Perturbation Per Sample (PPS) parameter.

**Output**: Task-specific predictions: NER entity tags, relation extraction labels, textual inference labels, or semantic similarity scores.

## Scoring recipe

```python
original_score = compute_metric(model.predict(original_text), gold)
perturbed_score = compute_metric(model.predict(perturbed_text), gold)
drop = original_score - perturbed_score
return perturbed_score, drop
```

## Common pitfalls

- Only PPS=1 results are reported in the main table, though PPS up to 4 is tested.
- Human readability does not guarantee model robustness; models fail on noise that humans find understandable.
- Task sensitivity varies significantly: semantic similarity degrades more than relation extraction under identical noise.

## Evidence (verbatim from paper)

> Table 3 also presents the evaluation scores obtained by the neural language models on the perturbed samples from the clinical NLP datasets. In the experiments, a parameter named Perturbation Per Sample (PPS) controlled the maximum number of perturbations per sample. For brevity reasons, only the results for PPS=1 are reported in Table 3.

## Citation

```bibtex
@misc{moradi2021clinicaltextperturbation,
  title={Deep learning models are not robust against noise in clinical text},
  author={Moradi et al. (2021)},
  year={2021},
  note={arXiv:2108.12242}
}
```

- arXiv: 2108.12242

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.