chenxz commited on
Commit
7fb3306
·
verified ·
1 Parent(s): 0458ac1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -111
README.md CHANGED
@@ -15,149 +15,88 @@ viewer: false
15
 
16
  # RareBench
17
 
18
- <!-- Provide a quick summary of the dataset. -->
19
-
20
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
21
 
22
  Github Repo for RareBench: https://github.com/chenxz1111/RareBench
23
-
24
  Arxiv Paper for RareBench: https://arxiv.org/pdf/2402.06341.pdf
25
 
26
- ## Dataset Details
27
-
28
- ### Dataset Description
29
-
30
- <!-- Provide a longer summary of what this dataset is. -->
31
-
32
-
33
-
34
- - **Curated by:** [More Information Needed]
35
- - **Funded by [optional]:** [More Information Needed]
36
- - **Shared by [optional]:** [More Information Needed]
37
- - **Language(s) (NLP):** [More Information Needed]
38
- - **License:** [More Information Needed]
39
-
40
- ### Dataset Sources [optional]
41
-
42
- <!-- Provide the basic links for the dataset. -->
43
-
44
- - **Repository:** [More Information Needed]
45
- - **Paper [optional]:** [More Information Needed]
46
- - **Demo [optional]:** [More Information Needed]
47
-
48
- ## Uses
49
-
50
- <!-- Address questions around how the dataset is intended to be used. -->
51
-
52
- ### Direct Use
53
-
54
- <!-- This section describes suitable use cases for the dataset. -->
55
-
56
- [More Information Needed]
57
-
58
- ### Out-of-Scope Use
59
-
60
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Dataset Structure
65
-
66
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
67
-
68
- [More Information Needed]
69
-
70
- ## Dataset Creation
71
 
72
- ### Curation Rationale
73
 
74
- <!-- Motivation for the creation of this dataset. -->
75
 
76
- [More Information Needed]
77
 
78
- ### Source Data
 
79
 
80
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
81
 
82
- #### Data Collection and Processing
83
-
84
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
 
85
 
86
- [More Information Needed]
87
 
88
- #### Who are the source data producers?
 
 
 
 
 
 
89
 
90
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
91
 
92
- [More Information Needed]
93
 
94
- ### Annotations [optional]
95
 
96
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
97
 
98
- #### Annotation process
99
 
100
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
101
 
102
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
104
- #### Who are the annotators?
105
 
106
- <!-- This section describes the people or systems who created the annotations. -->
107
 
108
- [More Information Needed]
109
 
110
  #### Personal and Sensitive Information
111
 
112
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
113
-
114
- [More Information Needed]
115
-
116
- ## Bias, Risks, and Limitations
117
-
118
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
119
-
120
- [More Information Needed]
121
-
122
- ### Recommendations
123
-
124
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
125
-
126
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
127
-
128
- ## Citation [optional]
129
-
130
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
131
-
132
- **BibTeX:**
133
-
134
- [More Information Needed]
135
-
136
- **APA:**
137
-
138
- [More Information Needed]
139
-
140
- ## Glossary [optional]
141
-
142
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
143
-
144
- [More Information Needed]
145
-
146
- ## More Information [optional]
147
 
148
- [More Information Needed]
149
 
150
- ## Dataset Card Authors [optional]
151
 
152
- [More Information Needed]
153
 
154
- ## Dataset Card Contact
155
 
156
- [More Information Needed]
157
 
 
158
 
159
- <a name="citation"></a>
160
- ## 📝 Citation
161
  ```
162
  @article{chen2024rarebench,
163
  title={RareBench: Can LLMs Serve as Rare Diseases Specialists?},
 
15
 
16
  # RareBench
17
 
18
+ **RareBench** is a pioneering benchmark designed to systematically evaluate the capabilities of LLMs on 4 critical dimensions within the realm of rare diseases.
19
+ Meanwhile, we have compiled the largest open-source dataset on rare disease patients, establishing a benchmark for future studies in this domain. To facilitate differential diagnosis of rare diseases, we develop a dynamic few-shot prompt methodology, leveraging a comprehensive rare disease knowledge graph synthesized from multiple knowledge bases, significantly enhancing LLMs’ diagnos-
20
+ tic performance. Moreover, we present an exhaustive comparative study of GPT-4’s diagnostic capabilities against those of specialist physicians. Our experimental findings underscore the promising potential of integrating LLMs into the clinical diagnostic process for rare diseases.
21
 
22
  Github Repo for RareBench: https://github.com/chenxz1111/RareBench
 
23
  Arxiv Paper for RareBench: https://arxiv.org/pdf/2402.06341.pdf
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
 
26
 
27
+ ## How to use it?
28
 
29
+ #### Loading Data
30
 
31
+ ```python
32
+ from datasets import load_dataset
33
 
34
+ datasets = ["RAMEDIS", "MME", "HMS", "LIRICAL", "PUMCH_ADM"]
35
 
36
+ for dataset in datasets:
37
+ data = load_dataset('chenxz/RareBench', dataset, split='test')
38
+ print(data)
39
+ ```
40
 
41
+ #### Data Format
42
 
43
+ ```json
44
+ {
45
+ "Phenotype": "The list of phenotypes presented in HPO codes",
46
+ "RareDisease": "The list of rare diseases code including OMIM, Orphanet and CCRD format",
47
+ "Department": "(Optional) Only provided in PUMCH_ADM"
48
+ }
49
+ ```
50
 
51
+ #### Evaluation
52
 
53
+ This repository provides data and mapping files for **RareBench**. Please refer to our [github](https://github.com/chenxz1111/RareBench) for further automated evaluation.
54
 
 
55
 
56
+ ## Source Data
57
 
58
+ #### Data Collection and statistics
59
 
60
+ This study categorizes datasets into two main groups: publicly available datasets and the Peking Union Medical College Hospital (PUMCH) datasets.
61
 
62
+ | Dataset | RAMEDIS | MME | HMS | LIRICAL | PUMCH_ADM |
63
+ | :---------------- | :------:| :------: |:------: | :-----------: |:--------: |
64
+ | Countries/Regions | Europe | Canada | Germany | Multi-Country | China |
65
+ | \#Cases | 624 | 40 | 88 | 370 | 75 |
66
+ | \#Disease | 624 | 17 | 39 | 252 | 16 |
67
+ | \#Department | N/A | N/A | N/A | N/A | 5 |
68
+ |\#Cases per disease| | | | | |
69
+ |--- Minimum | 1 | 1 | 1 | 1 | 3 |
70
+ |--- Median | 2 | 1 | 1 | 1 | 5 |
71
+ |--- Maximum |82 |11 |11 | 19 | 8 |
72
+ |\#HPO terms per case| | | | | |
73
+ |--- Minimum | 3 | 3 | 5 | 3 | 3 |
74
+ |--- Median | 9 | 10.5 | 17.5 | 11 | 16 |
75
+ |--- Maximum |46 |26 |54 | 95 | 47 |
76
 
77
+ > Note: The total number of cases in PUMCH is 1,650. We have currently only made public the 75 cases used in the Human versus LLMs experiment.
78
 
79
+ #### Data Processing
80
 
81
+ We apply reasonable filtering criteria to identify and remove cases of low quality that may be caused by recording errors or missing information, such as those with uncertain or imprecise diagnoses and those lacking sufficient relevant information, i.e., fewer than three phenotypes.
82
 
83
  #### Personal and Sensitive Information
84
 
85
+ Doctors from PUMCH monitored all cases before uploading text information, ensuring the absence of any potential personal information leaks.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
+ #### Mapping Files
88
 
89
+ Files in mapping directory, including:
90
 
91
+ `phenotype_mapping.json`: HPO phenotype code mapping to term name
92
 
93
+ `disease_mapping.json`: OMIM/Orphanet/CCRD code mapping to disease name
94
 
95
+ `ic_dict.json`: HPO phenotype terms' Information Content(IC) values obtained from HPO hierarchical structure
96
 
97
+ `phe2embedding.json`: HPO phenotype terms' 256 dimension embedding vectors learned by IC-based random walk
98
 
99
+ ## Citation
 
100
  ```
101
  @article{chen2024rarebench,
102
  title={RareBench: Can LLMs Serve as Rare Diseases Specialists?},