File size: 6,935 Bytes
d01f262
 
a931927
 
 
 
 
 
 
 
 
714ccbb
a931927
 
 
 
 
3520391
 
0397589
 
 
3520391
 
 
0397589
 
 
 
 
 
 
 
 
 
 
 
 
 
cffb04c
 
 
 
5c43171
cffb04c
 
5c43171
cffb04c
 
5c43171
cffb04c
 
 
 
5c43171
cffb04c
 
5c43171
cffb04c
 
5c43171
cffb04c
 
 
 
 
a931927
 
d65db61
 
dac144b
d65db61
 
714ccbb
a931927
714ccbb
a931927
 
714ccbb
 
 
a931927
 
 
 
 
714ccbb
 
a931927
714ccbb
a931927
 
 
714ccbb
a931927
 
 
 
 
 
 
 
 
 
 
 
 
 
d53c805
a931927
d65db61
 
a931927
 
 
 
 
5c43171
a931927
 
714ccbb
 
 
 
 
a931927
 
714ccbb
 
 
 
 
 
 
 
 
 
 
 
 
771c0d7
 
 
 
 
 
 
714ccbb
a931927
 
 
714ccbb
 
 
 
 
 
 
 
 
 
 
 
 
 
a931927
 
 
 
 
 
 
 
 
 
 
cffb04c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
---
license: cc-by-4.0
language:
- en
- es
- fr
- it
tags:
- casimedicos
- explainability
- medical exams
- medical question answering
- multilinguality
- LLMs
- LLM
pretty_name: casimedicos-exp
configs:
- config_name: en
  data_files:
  - split: train
    path:
    - data/en/en_train_casimedicos.jsonl
  - split: validation
    path:
    - data/en/en_dev_casimedicos.jsonl
  - split: test
    path:
    - data/en/en_test_casimedicos.jsonl
- config_name: es
  data_files:
  - split: train
    path:
    - data/es/es_train_casimedicos.jsonl
  - split: validation
    path:
    - data/es/es_dev_casimedicos.jsonl
  - split: test
    path:
    - data/es/es_test_casimedicos.jsonl
- config_name: fr
  data_files:
  - split: train
    path:
    - data/fr/fr_train_casimedicos.jsonl
  - split: validation
    path:
    - data/fr/fr_dev_casimedicos.jsonl
  - split: test
    path:
    - data/fr/fr_test_casimedicos.jsonl
- config_name: it
  data_files:
  - split: train
    path:
    - data/it/it_train_casimedicos.jsonl
  - split: validation
    path:
    - data/it/it_dev_casimedicos.jsonl
  - split: test
    path:
    - data/it/it_test_casimedicos.jsonl
task_categories:
- text-generation
- question-answering
size_categories:
- 1K<n<10K
---

<p align="center">
    <br>
    <img src="http://www.ixa.eus/sites/default/files/anitdote.png" style="height: 200px;">
    <br>

# Antidote CasiMedicos Dataset - Possible Answers Explanations in Resident Medical Exams

We present a new multilingual parallel medical dataset of commented medical exams which includes not only explanatory arguments
for the correct answer but also arguments to explain why the remaining possible answers are incorrect.

This dataset can be used for various NLP tasks including: **Medical Question Answering**, **Explanatory Argument Extraction** or **Explanation Generation**.

The data source consists of Resident Medical Intern or Médico Interno Residente (MIR) exams, originally
created by [CasiMedicos](https://www.casimedicos.com), a Spanish community of medical professionals who collaboratively, voluntarily, 
and free of charge, publishes written explanations about the possible answers included in the MIR exams. The aim is to generate a resource that
helps future medical doctors to study towards the MIR examinations. The commented MIR exams, including the explanations, are published in the [CasiMedicos 
Project MIR 2.0 website](https://www.casimedicos.com/mir-2-0/).

We have extracted, clean, structure and annotated the available data so that each document in **casimedicos-raw** dataset includes the clinical case, the correct answer, 
the multiple-choice questions and the annotated explanations written by native Spanish medical doctors.

Furthermore, the original Spanish data has been translated to create a **parallel multilingual dataset** in 4 languages: **English, French, Italian and Spanish**.

<table style="width:33%">
    <tr>
         <th>Antidote CasiMedicos splits</th>
     <tr>
         <td>train</td>
         <td>434</td>
     </tr>
     <tr>
         <td>validation</td>
         <td>63</td>
     </tr>
     <tr>
         <td>test</td>
         <td>125</td>
     </tr>
 </table>

- 📖 Paper:[HiTZ@Antidote: Argumentation-driven Explainable Artificial Intelligence for Digital Medicine](https://arxiv.org/abs/2306.06029)
- 💻 Github Repo (Data and Code): [https://github.com/ixa-ehu/antidote-casimedicos](https://github.com/ixa-ehu/antidote-casimedicos)
- 🌐 Project Website: [https://univ-cotedazur.eu/antidote](https://univ-cotedazur.eu/antidote)
- Funding: CHIST-ERA XAI 2019 call. Antidote (PCI2020-120717-2) funded by MCIN/AEI /10.13039/501100011033 and by European Union NextGenerationEU/PRTR


## Example

<p align="center">
<img src="https://github.com/ixa-ehu/antidote-casimedicos/blob/main/casimedicos-exp.png?raw=true" style="height: 650px;">
</p>

In this repository you can find the following data:

- **casimedicos-raw**: The textual content including Clinical Case (C), Question (Q), Possible Answers (P), and Explanation (E) as shown in the example above.
- **casimedicos-exp**: The manual annotations linking the explanations of the correct and incorrect possible answers.

## Data Explanation

The following attributes composed **casimedicos-raw**:

- **id**: unique doc identifier.
- **year**: year in which the exam was published by the Spanish Ministry of Health.
- **question_id_specific**: id given to the original exam published by the Spanish Ministry of Health.
- **full_question**: Clinical Case (C) and Question (Q) as illustrated in the example document above.
- **full answer**: Full commented explanation (E) as illustrated in the example document above.
- **type**: medical speciality.
- **options**: Possible Answers (P) as illustrated in the example document above.
- **correct option**: solution to the exam question.

Additionally, the following jsonl attribute was added to create **casimedicos-exp**:

- **explanations**: for each possible answer above, manual annotation states whether:
  1. the explanation for each possible answer exists in the full comment (E) and
  2. if present, then we provide character and token offsets plus the text corresponding to the explanation for each possible answer.

 The process of manually annotating the corpus consisted of specifying where the explanations of the correct and incorrect answers begin and end. 
 In order to obtain grammatically complete correct answer explanations, annotating full sentences or subordinate clauses was preferred over
 shorter spans. 


## Citation

If you use the textual content **casimedicos-raw** of the Antidote CasiMedicos dataset then please **cite the following paper**:

```bibtex
@inproceedings{Agerri2023HiTZAntidoteAE,
  title={HiTZ@Antidote: Argumentation-driven Explainable Artificial Intelligence for Digital Medicine},
  author={Rodrigo Agerri and I{\~n}igo Alonso and Aitziber Atutxa and Ander Berrondo and Ainara Estarrona and Iker Garc{\'i}a-Ferrero and Iakes Goenaga and Koldo Gojenola and Maite Oronoz and Igor Perez-Tejedor and German Rigau and Anar Yeginbergenova},
  booktitle={SEPLN 2023: 39th International Conference of the Spanish Society for Natural Language Processing.},
  year={2023}
}
```

Additionally, **cite the previous and the following** paper if you also use **casimedicos-exp**, namely, the manual annotations linking the 
explanations with the correct and incorrect possible answers ("explanations" attribute in the jsonl data):

```bibtex
@misc{goenaga2023explanatory,
      title={Explanatory Argument Extraction of Correct Answers in Resident Medical Exams}, 
      author={Iakes Goenaga and Aitziber Atutxa and Koldo Gojenola and Maite Oronoz and Rodrigo Agerri},
      year={2023},
      eprint={2312.00567},
      archivePrefix={arXiv}
}
```

**Contact**: [Rodrigo Agerri](https://ragerri.github.io/)
HiTZ Center - Ixa, University of the Basque Country UPV/EHU