care-eval
CARE: Extracting Experimental Findings From Clinical Literature — Naik et al. (2023) (arXiv:2311.09736, 2023)
What this evaluates
Evaluates information extraction systems on clinical literature for fine-grained extraction of experimental findings, including entities, attributes, and complex n-ary relations with discontinuous spans and variable arity.
Datasets
Metrics
entity-level F1 — range: [0, 1]
- Standard entity-level precision, recall, and F1 score computed over extracted entity spans.
attribute-level F1 — range: [0, 1]
- Standard entity-level precision, recall, and F1 score computed over extracted attribute spans.
relaxed overlap F1 (primary) — range: [0, 1]
- Aligns predicted relations with gold relations by highest overlap. Computes partial match score as #shared_entities/total_entities, then calculates F1 using this score instead of binary 0/1. Reported in both typed (entity types must match) and untyped (types ignored) settings.
Input / output format
Input: Clinical abstract text. For generative models, input may include gold entity/attribute markers () or few-shot examples selected by SPECTER v2.0 similarity.
Output: JSON format adhering to the CARE schema for entities, attributes, and relations, or span/label predictions for extractive models.
Scoring recipe
def compute_relaxed_overlap_f1(pred_rels, gold_rels):
prec_scores, rec_scores = [], []
for pred in pred_rels:
best_overlap = 0
for gold in gold_rels:
shared = len(set(pred.entities) & set(gold.entities))
total = len(gold.entities)
overlap = shared / total if total > 0 else 0
best_overlap = max(best_overlap, overlap)
prec_scores.append(best_overlap)
# Recall computed similarly by swapping pred/gold roles
# F1 = 2 * P * R / (P + R)
Common pitfalls
- Many extractive models cannot handle discontinuous spans, requiring strict or no-discontinuity F1 variants for fair comparison.
- Evaluating relation extraction in isolation requires ignoring entity type mismatches (untyped F1), as mistyping entities should not penalize relation structure prediction.
- N-ary relation extraction with variable arity causes combinatorial explosion, making some baseline systems infeasible on this dataset.
Evidence (verbatim from paper)
Model performance on entity and attribute extraction is evaluated using entity-level F1. Relation extraction performance is evaluated using a relaxed overlap F1 score inspired by Tiktinsky et al. (2022), which assigns partial credit to correctly identified subsets of entities in a relation, even if all identified entities do not match. As with agreement score calculation, predicted relations are first aligned with gold relations by choosing the gold relation with highest overlap per predicted relation. Then a partial match score is computed as #shared_entities/total_entities and used in the F1 computation instead of binary 0/1 score.
Citation
@misc{naik2023care,
title={CARE: Extracting Experimental Findings From Clinical Literature},
author={Naik et al. (2023)},
year={2023},
note={arXiv:2311.09736}
}
1---2name: care-eval3description: Evaluates information extraction systems on clinical literature for fine-grained extraction of experimental findings, including entities, attributes, and complex n-ary relations with discontinuous spans and variable arity. Use when the user wants to benchmark on CARE, or asks about evaluating this task. Reports relaxed overlap F1.4---56# care-eval78> CARE: Extracting Experimental Findings From Clinical Literature — Naik et al. (2023) (arXiv:2311.09736, 2023)910## What this evaluates1112Evaluates information extraction systems on clinical literature for fine-grained extraction of experimental findings, including entities, attributes, and complex n-ary relations with discontinuous spans and variable arity.1314## Datasets1516- **CARE** — total 700; splits: train (-1), test (-1); repo https://github.com/aakanksha19/clinical-findings-extraction1718## Metrics1920- `entity-level F1` — range: [0, 1]21 - Standard entity-level precision, recall, and F1 score computed over extracted entity spans.22- `attribute-level F1` — range: [0, 1]23 - Standard entity-level precision, recall, and F1 score computed over extracted attribute spans.24- `relaxed overlap F1` **(primary)** — range: [0, 1]25 - Aligns predicted relations with gold relations by highest overlap. Computes partial match score as #shared_entities/total_entities, then calculates F1 using this score instead of binary 0/1. Reported in both typed (entity types must match) and untyped (types ignored) settings.2627## Input / output format2829**Input**: Clinical abstract text. For generative models, input may include gold entity/attribute markers (<ent></ent>) or few-shot examples selected by SPECTER v2.0 similarity.3031**Output**: JSON format adhering to the CARE schema for entities, attributes, and relations, or span/label predictions for extractive models.3233## Scoring recipe3435```python36def compute_relaxed_overlap_f1(pred_rels, gold_rels):37 prec_scores, rec_scores = [], []38 for pred in pred_rels:39 best_overlap = 040 for gold in gold_rels:41 shared = len(set(pred.entities) & set(gold.entities))42 total = len(gold.entities)43 overlap = shared / total if total > 0 else 044 best_overlap = max(best_overlap, overlap)45 prec_scores.append(best_overlap)46 # Recall computed similarly by swapping pred/gold roles47 # F1 = 2 * P * R / (P + R)48```4950## Common pitfalls5152- Many extractive models cannot handle discontinuous spans, requiring strict or no-discontinuity F1 variants for fair comparison.53- Evaluating relation extraction in isolation requires ignoring entity type mismatches (untyped F1), as mistyping entities should not penalize relation structure prediction.54- N-ary relation extraction with variable arity causes combinatorial explosion, making some baseline systems infeasible on this dataset.5556## Evidence (verbatim from paper)5758> Model performance on entity and attribute extraction is evaluated using entity-level F1. Relation extraction performance is evaluated using a relaxed overlap F1 score inspired by Tiktinsky et al. (2022), which assigns partial credit to correctly identified subsets of entities in a relation, even if all identified entities do not match. As with agreement score calculation, predicted relations are first aligned with gold relations by choosing the gold relation with highest overlap per predicted relation. Then a partial match score is computed as #shared_entities/total_entities and used in the F1 computation instead of binary 0/1 score.5960## Citation6162```bibtex63@misc{naik2023care,64 title={CARE: Extracting Experimental Findings From Clinical Literature},65 author={Naik et al. (2023)},66 year={2023},67 note={arXiv:2311.09736}68}69```7071- arXiv: 2311.09736