Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# CLIN-X-EN: a pre-trained language model for the English clinical domain
|
2 |
+
Details on the model, the pre-training corpus and the downstream task performance are given in the paper: "CLIN-X: pre-trained language models and a study on cross-task transfer for concept extraction in the clinical domain" by Lukas Lange, Heike Adel, Jannik Strötgen and Dietrich Klakow.
|
3 |
+
The paper can be found [here](https://github.com/boschresearch/clin_x).
|
4 |
+
In case of questions, please contact the authors as listed on the paper.
|
5 |
+
|
6 |
+
Please cite the above paper when reporting, reproducing or extending the results.
|
7 |
+
|
8 |
+
@misc{lange-etal-2021-clin-x,
|
9 |
+
author = {Lukas Lange and
|
10 |
+
Heike Adel and
|
11 |
+
Jannik Str{\"{o}}tgen and
|
12 |
+
Dietrich Klakow},
|
13 |
+
title = {CLIN-X: pre-trained language models and a study on cross-task transfer for concept extraction in the clinical domain},
|
14 |
+
year={2021},
|
15 |
+
eprint={},
|
16 |
+
archivePrefix={arXiv},
|
17 |
+
primaryClass={cs.CL},
|
18 |
+
url={}
|
19 |
+
}
|
20 |
+
|
21 |
+
## Training details
|
22 |
+
The model is based on the multilingual XLM-R transformer `(xlm-roberta-large)`, which was trained on 100 languages and showed superior performance in many different tasks across languages and can even outperform monolingual models in certain settings (Conneau et al. 2020).
|
23 |
+
We train the CLIN-X model on clinical Pubmed abstracts (850MB) filtered
|
24 |
+
following Haynes et al. (2005). Pubmed is used with the courtesy of the U.S. National Library of Medicine
|
25 |
+
|
26 |
+
We initialize CLIN-X using the pre-trained XLM-R weights and train masked language modeling (MLM) on the Spanish clinical corpus for 3 epochs which roughly corresponds to 32k steps. This allows researchers and practitioners to address
|
27 |
+
the English clinical domain with an out-of-the-box tailored model.
|
28 |
+
|
29 |
+
## Results for Spanish concept extraction
|
30 |
+
We apply CLIN-X-EN to five different English sequence labeling tasks from i2b2 in a standard sequence labeling architecture similar to Devlin et al. 2019 and compare to BERT and ClinicalBERT. In addition, we perform experiments with an improved architecture `(+ OurArchitecture)` as described in the paper linked above. The code for our model architecture can be found [here](https://github.com/boschresearch/clin_x).
|
31 |
+
|
32 |
+
| | i2b2 2006 | i2b2 2010 | i2b2 2012 (Concept) | i2b2 2012 (Time) | i2b2 2014 |
|
33 |
+
|-------------------------------|-----------|-----------|---------------------|------------------|-----------|
|
34 |
+
| BERT | 94.80 | 82.25 | 76.51 | 75.28 | 94.86 |
|
35 |
+
| ClinicalBERT | 94.8 | 87.8 | 78.9 | 76.6 | 93.0 |
|
36 |
+
| CLIN-X (EN) | 96.25 | 88.10 | 79.58 | 77.70 | 96.73 |
|
37 |
+
| CLIN-X (EN) + OurArchitecture | **98.49** | **89.23** | **80.62** | **78.50** | **97.60** |
|
38 |
+
|
39 |
+
## Purpose of the project
|
40 |
+
This software is a research prototype, solely developed for and published as part of the publication cited above. It will neither be maintained nor monitored in any way.
|
41 |
+
|
42 |
+
## License
|
43 |
+
The CLIN-X models are open-sourced under the CC-BY 4.0 license.
|
44 |
+
See the [LICENSE](LICENSE) file for details.
|