Datasets:
Create README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336---license: mittask_categories:- text-classification- token-classificationlanguage:- entags:- Biomedical- Causality- causal-relation-extraction- pubmed- relation-extraction- span-extraction- natural-language-processingpretty_name: PubMedCausalsize_categories:- 10K<n<100K---
# PubMedCausal
**PubMedCausal** is a span-level annotated corpus for **causal relation extraction in biomedical text**.
The dataset contains **30,000 paragraph-level samples derived from PubMed abstracts**, including **3,945 samples containing at least one causal relation** and **6,491 adjudicated cause–effect pairs**.
Unlike datasets that represent causality only through sentence-level labels or explicit causal keywords, PubMedCausal provides the textual spans corresponding to the **cause** and **effect** of each relation. Relations are additionally categorized by whether causality is explicit or implicit and whether the relation occurs within or across sentences.
PubMedCausal supports research on:
- causal relation detection;- cause–effect span extraction;- biomedical relation extraction;- explicit and implicit causal language;- intra-sentential and inter-sentential causality;- transfer learning and cross-dataset evaluation.
## Dataset Summary
| Property | Value ||---|---:|| Total text samples | 30,000 || Causal samples | 3,945 || Non-causal samples | 26,055 || Causal prevalence | 13.15% || Adjudicated cause–effect pairs | 6,491 || Domain | Biomedical literature || Source | PubMed abstracts || Language | English || Annotation level | Full cause/effect spans |
A text sample can contain more than one causal relation. Consequently, the number of annotated cause–effect pairs is greater than the number of causal samples.
## What Makes PubMedCausal Different?
Biomedical causal claims are often more complex than a simple sentence containing words such as *because*, *causes*, or *results in*.
PubMedCausal was designed to represent this complexity by including:
**Full-span causal arguments**
The dataset identifies the complete textual spans expressing a cause and its corresponding effect rather than only identifying causal trigger words.
**Implicit causality**
Causal relations can be annotated even when causality is not expressed through an obvious causal connective.
**Inter-sentential relations**
Cause and effect do not have to occur within the same sentence.
**Multiple relations**
A passage can contain multiple independently annotated cause–effect pairs.
These properties make the corpus suitable for evaluating causal extraction under conditions that more closely resemble causal statements encountered in biomedical literature.
# Dataset Structure
PubMedCausal can be used in three related task formulations.
## 1. Causality Detection
The causality-detection task asks:
> **Does this text contain at least one causal relation?**
Each of the 30,000 samples receives a binary label indicating whether one or more causal relations are present.
Approximate distribution:
| Class | Samples ||---|---:|| Causal | 3,945 || Non-causal | 26,055 || Total | 30,000 |
Because only **13.15%** of the dataset is causal, the detection task is substantially class-imbalanced.
### Example
```pythonfrom datasets import load_dataset
dataset = load_dataset( "thagen/PubMedCausal", "causality detection")```
Typical fields include the source text and a binary causality label.
---
## 2. Causal Candidate Extraction
This configuration identifies textual spans participating in causal relations.
The task is useful for models that must first identify candidate causal arguments before determining how the arguments are related.
```pythonfrom datasets import load_dataset
dataset = load_dataset( "thagen/PubMedCausal", "causal candidate extraction")```
---
## 3. Causality Identification
The causality-identification configuration represents the annotated cause–effect relations found in causal passages.
Each relation identifies:
- the **cause span**;- the **effect span**;- the **causality type**; and- the **sententiality type**.
```pythonfrom datasets import load_dataset
dataset = load_dataset( "thagen/PubMedCausal", "causality identification")```
# Annotation Schema
Each causal relation is described along two additional dimensions.
## Causality Type
### Explicit
The causal relationship is overtly expressed in the text, typically through lexical or syntactic causal signalling.
### Implicit
The text communicates a causal relationship without relying on an explicit causal connective.
---
## Sententiality
### Intra-sentential
The cause and effect occur within the same sentence.
### Inter-sentential
The causal relationship spans sentence boundaries.
This distinction allows PubMedCausal to represent causal relations that cannot be recovered by sentence-isolated extraction systems.
# Cause and Effect Spans
Annotations aim to preserve the **complete semantic arguments** participating in a causal relation.
Conceptually, a relation can be represented as:
```textCAUSE → EFFECT```
For example:
```text[CAUSE: Increased exposure to X]was associated with[EFFECT: reduced expression of Y].```
The actual dataset preserves the corresponding locations or textual representations of the annotated spans.
Where multiple causal relationships occur in the same passage, each cause–effect pair is represented independently.
# Dataset Splits
The Hugging Face release provides train and test partitions for the supported task configurations.
For causality detection, the 30,000 samples are divided into two approximately equal partitions:
| Split | Total | Causal ||---|---:|---:|| Train | 15,000 | 1,972 || Test | 15,000 | 1,973 || **Total** | **30,000** | **3,945** |
The remaining task configurations contain only the samples or relations relevant to their respective extraction tasks.
# Dataset Creation
## Source Data
PubMedCausal was constructed from biomedical research abstracts indexed in **PubMed**.
The corpus uses paragraph-level textual units containing approximately **2–5 sentences**, allowing causal relations to be represented across sentence boundaries rather than restricting annotation to individual sentences.
## Annotation
Human annotators examined the selected biomedical passages and determined whether they contained causal relations.
For passages containing causality, annotators identified the textual spans corresponding to the cause and effect.
Relations were additionally labelled according to:
- explicit vs. implicit causality;- intra-sentential vs. inter-sentential structure.
Annotations were subsequently reviewed and adjudicated to produce the final corpus.
The resulting dataset contains **6,491 adjudicated cause–effect pairs**.
# Intended Uses
PubMedCausal is intended primarily for research on biomedical natural language processing and causal relation extraction.
Potential uses include:
- binary causal-text detection;- cause and effect span extraction;- causal relation identification;- biomedical information extraction;- comparison of encoder and generative language models;- evaluation of explicit versus implicit causality;- evaluation of intra- versus inter-sentential reasoning;- transfer learning between causal relation datasets;- development of biomedical causal knowledge graphs.
# Out-of-Scope Uses
PubMedCausal contains **linguistic annotations of causal claims made in biomedical literature**.
An annotated relation indicates that a passage expresses a causal relationship. It does not independently establish that the stated causal claim is scientifically or clinically true.
Consequently, model predictions derived from PubMedCausal should not be interpreted as medical advice, clinical evidence, or independent validation of causal effects.
# Limitations
## Class Imbalance
Only **13.15%** of the 30,000 samples contain annotated causality. Models evaluated using accuracy alone may therefore appear strong while performing poorly on causal examples.
Precision, recall, and F1 for the causal class are more informative for causality detection.
## Biomedical Domain
The corpus is derived from PubMed abstracts. Models trained exclusively on PubMedCausal may not generalize directly to causal language in domains such as finance, law, news, or everyday discourse.
## Complex Causal Spans
Cause and effect arguments can be relatively long and may include clauses or other extended spans. Exact-match extraction can therefore be challenging.
## Implicit Relations
Some relations express causality without explicit causal keywords. Systems based primarily on trigger-word detection may therefore underperform.
## Inter-sentential Relations
Some causal relations cross sentence boundaries. Systems that independently process single sentences may fail to recover these examples.
## Expressed Claims vs. Verified Causality
PubMedCausal captures causal relations **expressed by authors in biomedical text**. Annotation does not constitute independent verification that a causal relationship holds in the underlying scientific or clinical world.
# Benchmark Results
The PubMedCausal paper evaluates both discriminative encoder models and open generative language models.
For binary causal detection, biomedical encoder models perform strongly, with **PubMedBERT obtaining an F1 score of 0.7391**.
For span-level causal extraction, **DeepSeek-R1-Distill-Qwen-32B with few-shot prompting** achieved the strongest reported generative baseline, with a **Cosine Pair F1 of 0.6765**.
These results highlight the difficulty of biomedical causal extraction, particularly under class imbalance, implicit causality, long argument spans, inter-sentential relations, and prompt sensitivity.
# Citation
If you use PubMedCausal, please cite:
```bibtex@article{kunlejohn2026pubmedcausal, title={PubMedCausal: A Span-Level Annotated Corpus for Causal Relation Extraction in Biomedical Text}, author={Kunle-John, Ifeoluwa and Paul, Josiah and Agbaakin, Oluwatosin and Aina, Peter and Odezuligbo, Ikenna and Anuyah, Sydney}, journal={arXiv preprint arXiv:2605.28363}, year={2026}}```
# Paper and Code
**Paper:** *PubMedCausal: A Span-Level Annotated Corpus for Causal Relation Extraction in Biomedical Text*
**arXiv:** `2605.28363`
**Code and data:** `https://github.com/josiahpaul07/PubMedCausal_Exp`
# Authors
- Ifeoluwa Kunle-John- Josiah Paul- Oluwatosin Agbaakin- Peter Aina- Ikenna Odezuligbo- Sydney Anuyah
# Contact
For questions about the dataset, annotation procedure, or benchmark experiments, please refer to the project repository or contact the authors through the corresponding information provided in the paper.README.mdAdded+336