Datasets:

Modalities:
Text
ArXiv:
Libraries:
Datasets
License:
mvarma commited on
Commit
01e0aed
1 Parent(s): 6b41765

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +178 -0
README.md ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ YAML tags:
3
+ annotations_creators:
4
+ - machine-generated
5
+ language_creators:
6
+ - crowdsourced
7
+ languages:
8
+ - en-US
9
+ licenses:
10
+ - cc-by-4.0
11
+ multilinguality:
12
+ - monolingual
13
+ pretty_name: medwiki
14
+ size_categories:
15
+ - unknown
16
+ source_datasets:
17
+ - extended|wikipedia
18
+ task_categories:
19
+ - text-retrieval
20
+ task_ids:
21
+ - entity-linking-retrieval
22
+ ---
23
+
24
+ # Dataset Card for [MedWiki]
25
+
26
+ ## Table of Contents
27
+ - [Table of Contents](#table-of-contents)
28
+ - [Dataset Description](#dataset-description)
29
+ - [Dataset Summary](#dataset-summary)
30
+ - [Languages](#languages)
31
+ - [Dataset Structure](#dataset-structure)
32
+ - [Data Instances](#data-instances)
33
+ - [Data Fields](#data-fields)
34
+ - [Data Splits](#data-splits)
35
+ - [Dataset Creation](#dataset-creation)
36
+ - [Curation Rationale](#curation-rationale)
37
+ - [Source Data](#source-data)
38
+ - [Annotations](#annotations)
39
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
40
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
41
+ - [Social Impact of Dataset](#social-impact-of-dataset)
42
+ - [Discussion of Biases](#discussion-of-biases)
43
+ - [Other Known Limitations](#other-known-limitations)
44
+ - [Additional Information](#additional-information)
45
+ - [Dataset Curators](#dataset-curators)
46
+ - [Licensing Information](#licensing-information)
47
+ - [Citation Information](#citation-information)
48
+ - [Contributions](#contributions)
49
+
50
+ ## Dataset Description
51
+
52
+ - **Paper: [Cross-Domain Data Integration for Named Entity Disambiguation in Biomedical Text](https://arxiv.org/abs/2110.08228)**
53
+ - **Point of Contact: [Maya Varma](mailto:[email protected])**
54
+
55
+ ### Dataset Summary
56
+
57
+ MedWiki is a large sentence dataset collected from a medically-relevant subset of Wikipedia and annotated with biomedical entities in the Unified Medical Language System (UMLS) knowledge base. For each entity, we include a rich set of types sourced from both UMLS and WikiData. Consisting of over 13 million sentences and 17 million entity annotations, MedWiki can be utilized as a pretraining resource for language models and can improve performance of medical named entity recognition and disambiguation systems, especially on rare entities.
58
+
59
+ Here, we include two configurations of MedWiki (further details in [Dataset Creation](#dataset-creation)):
60
+ - `MedWiki-Full` is a large sentence dataset with UMLS medical entity annotations generated through the following two steps: (1) a weak labeling proecedure to annotate WikiData entities in sentences and (2) a data integration approach that maps WikiData entities to their counterparts in UMLS.
61
+ - `MedWiki-HQ` is a subset of MedWiki-Full with higher quality labels designed to limit noise that arises from the annotation procedure listed above.
62
+
63
+ ### Languages
64
+
65
+ The text in the dataset is in English and was obtained from English Wikipedia.
66
+
67
+ ## Dataset Structure
68
+
69
+ ### Data Instances
70
+
71
+ A typical data point includes a sentence collected from Wikipedia annotated with UMLS medical entities and associated titles and types.
72
+
73
+ An example from the MedWiki test set looks as follows:
74
+ ```
75
+ {'sent_idx_unq': 57000409,
76
+ 'sentence': "The hair , teeth , and skeletal side effects of TDO are lifelong , and treatment is used to manage those effects .",
77
+ 'mentions': ['tdo'],
78
+ 'entities': ['C2931236'],
79
+ 'entity_titles': ['Tricho-dento-osseous syndrome 1'],
80
+ 'types': [['Disease or Syndrome', 'disease', 'rare disease', 'developmental defect during embryogenesis', 'malformation syndrome with odontal and/or periodontal component', 'primary bone dysplasia with increased bone density', 'syndromic hair shaft abnormality']],
81
+ 'spans': [[10, 11]]}
82
+ ```
83
+
84
+ ### Data Fields
85
+
86
+ - `sent_idx_unq`: a unique integer identifier for the data instance
87
+ - `sentence`: a string sentence collected from English Wikipedia. Punctuation is separated from words, and the sentence can be tokenized into word-pieces with the .split() method.
88
+ - `mentions`: list of medical mentions in the sentence.
89
+ - `entities`: list of UMLS medical entity identifiers corresponding to mentions. There is exactly one entity for each mention, and the length of the `entities` list is equal to the length of the `mentions` list.
90
+ - `entity_titles`: List of English titles collected from UMLS that describe each entity. The length of the `entity_titles` list is equal to the length of the `entities` list.
91
+ - `types`: List of category types associated with each entity, including types collected from UMLS and WikiData.
92
+ - `spans`: List of integer pairs representing the word span of each mention in the sentence.
93
+
94
+ ### Data Splits
95
+
96
+ MedWiki includes two configurations: MedWiki-Full and MedWiki-HQ (described further in [Dataset Creation](#dataset-creation)). For each configuration, data is split into training, development, and test sets. The split sizes are as follow:
97
+
98
+ | | Train | Dev | Test |
99
+ | ----- | ------ | ----- | ---- |
100
+ | MedWiki-Full Sentences |11,784,235 | 649,132 | 648,608 |
101
+ | MedWiki-Full Mentions |15,981,347 | 876,586 | 877,090 |
102
+ | MedWiki-Full Unique Entities | 230,871 | 55,002 | 54,772 |
103
+ | MedWiki-HQ Sentences | 2,962,089 | 165,941 | 164,193 |
104
+ | MedWiki-HQ Mentions | 3,366,108 | 188,957 | 186,622 |
105
+ | MedWiki-HQ Unique Entities | 118,572 | 19,725 | 19,437 |
106
+
107
+ ## Dataset Creation
108
+
109
+ ### Curation Rationale
110
+
111
+ Existing medical text datasets are generally limited in scope, often obtaining low coverage over the entities and structural resources in the UMLS medical knowledge base. When language models are trained across such datasets, the lack of adequate examples may prevent models from learning the complex reasoning patterns that are necessary for performing effective entity linking or disambiguation, especially for rare entities as shown in prior work by [Orr et al.](http://cidrdb.org/cidr2021/papers/cidr2021_paper13.pdf). Wikipedia, which is often utilized as a rich knowledge source in general text settings, contains references to medical terms and can help address this issue. Here, we curate the MedWiki dataset, which is a large-scale, weakly-labeled dataset that consists of sentences from Wikipedia annotated with medical entities in the UMLS knowledge base. MedWiki can serve as a pretraining dataset for language models and holds potential for improving performance on medical named entity recognition tasks, especially on rare entities.
112
+
113
+ ### Source Data
114
+
115
+ #### Initial Data Collection and Normalization
116
+
117
+ MedWiki consists of sentences obtained from the November 2019 dump of English Wikipedia. We split pages into an 80/10/10 train/dev/test split and then segment each page at the sentence-level. This ensures that all sentences associated with a single Wikipedia page are placed in the same split.
118
+
119
+ #### Who are the source language producers?
120
+
121
+ The source language producers are editors on English Wikipedia.
122
+
123
+ ### Annotations
124
+
125
+ #### Annotation process
126
+
127
+ We create two configurations of our dataset: MedWiki-Full and MedWiki-HQ. We label MedWiki-Full by first annotating all English Wikipedia articles with textual mentions and corresponding WikiData entities; we do so by obtaining gold entity labels from internal page links as well as generating weak labels based on pronouns and alternative entity names (see [Orr et al. 2020](http://cidrdb.org/cidr2021/papers/cidr2021_paper13.pdf) for additional information). Then, we use the off-the-shelf entity linker [Bootleg](https://github.com/HazyResearch/bootleg) to map entities in WikiData to their counterparts in the 2017AA release of the Unified Medical Language System (UMLS), a standard knowledge base for biomedical entities (additional implementation details in forthcoming publication). Any sentence containing at least one UMLS entity is included in MedWiki-Full. We also include types associated with each entity, which are collected from both WikiData and UMLS using the generated UMLS-Wikidata mapping. It is important to note that types obtained from WikiData are filtered according to methods described in [Orr et al. 2020](http://cidrdb.org/cidr2021/papers/cidr2021_paper13.pdf).
128
+
129
+ Since our labeling procedure introduces some noise into annotations, we also release the MedWiki-HQ dataset configuration with higher-quality labels. To generate MedWiki-HQ, we filtered the UMLS-Wikidata mappings to only include pairs of UMLS medical entities and WikiData items that share a high textual overlap between titles. MedWiki-HQ is a subset of MedWiki-Full.
130
+
131
+ To evaluate the quality of our UMLS-Wikidata mappings, we find that WikiData includes a small set of "true" labeled mappings between UMLS entities and WikiData items. (Note that we only include WikiData items associated with linked Wikipedia pages.) This set comprises approximately 9.3k UMLS entities in the original UMLS-Wikidata mapping (used for MedWiki-Full) and 5.6k entities in the filtered UMLS-Wikidata mapping (used for MedWiki-HQ). Using these labeled sets, we find that our mapping accuracy is 80.2% for the original UMLS-Wikidata mapping and 94.5% for the filtered UMLS-Wikidata mapping. We also evaluate integration performance on this segment as the proportion of mapped WikiData entities that share a WikiData type with the true entity, suggesting the predicted mapping adds relevant structural resources. Integration performance is 85.4% for the original UMLS-Wikidata mapping and 95.9% for the filtered UMLS-Wikidata mapping. The remainder of items in UMLS have no “true” mappings to WikiData.
132
+
133
+ #### Who are the annotators?
134
+
135
+ The dataset was labeled using weak-labeling techniques as described above.
136
+
137
+ ### Personal and Sensitive Information
138
+
139
+ No personal or sensitive information is included in MedWiki.
140
+
141
+ ## Considerations for Using the Data
142
+
143
+ ### Social Impact of Dataset
144
+
145
+ The purpose of this dataset is to enable the creation of better named entity recognition systems for biomedical text. MedWiki encompasses a large set of entities in the UMLS knowledge base and includes a rich set of types associated with each entity, which can enable the creation of models that achieve high performance on named entity recognition tasks, especially on rare or unpopular entities. Such systems hold potential for improving automated parsing and information retrieval from large quantities of biomedical text.
146
+
147
+ ### Discussion of Biases
148
+
149
+ The data included in MedWiki comes from English Wikipedia. Generally, Wikipedia articles are neutral in point of view and aim to avoid bias. However, some [prior work](https://www.hbs.edu/ris/Publication%20Files/15-023_e044cf50-f621-4759-a827-e9a3bf8920c0.pdf) has shown that ideological biases may exist within some Wikipedia articles, especially those that are focused on political issues or those that are written by fewer authors. We anticipate that such biases are rare for medical articles, which are typically comprised of scientific facts. However, it is important to note that bias encoded in Wikipedia is likely to be reflected by MedWiki.
150
+
151
+ ### Other Known Limitations
152
+
153
+ Since MedWiki was annotated using weak labeling techniques, there is likely some noise in entity annotations. (Note that to address this, we include the MedWiki-HQ configuration, which is a subset of MedWiki-Full with higher quality labels. Additional details in [Dataset Creation](#dataset-creation)).
154
+
155
+ ## Additional Information
156
+
157
+ ### Dataset Curators
158
+
159
+ MedWiki was curated by Maya Varma, Laurel Orr, Sen Wu, Megan Leszczynski, Xiao Ling, and Chris Ré.
160
+
161
+ ### Licensing Information
162
+
163
+ Dataset licensed under CC BY 4.0.
164
+
165
+ ### Citation Information
166
+
167
+ ```
168
+ @inproceedings{medwiki,
169
+ title={Cross-Domain Data Integration for Named Entity Disambiguation in Biomedical Text},
170
+ author={Maya Varma and Laurel Orr and Sen Wu and Megan Leszczynski and Xiao Ling and Christopher Ré},
171
+ year={2021},
172
+ booktitle={Findings of the Association for Computational Linguistics: EMNLP 2021}
173
+ }
174
+ ```
175
+
176
+ ### Contributions
177
+
178
+ Thanks to [@maya124](https://github.com/maya124) for adding this dataset.