Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,202 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
# Model Card for KEEP
|
6 |
+
|
7 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
+
|
9 |
+
[Preprint](https://arxiv.org/abs/2412.13126) | [Github](https://github.com/MAGIC-AI4Med/KEEP) | [Webpage](https://loiesun.github.io/keep/) | [Cite](#reference)
|
10 |
+
|
11 |
+
**KEEP** (**K**nowledg**E**-**E**nhanced **P**athology) is a foundation model designed for cancer diagnosis that integrates disease knowledge into vision-language pre-training. It utilizes a comprehensive disease knowledge graph (KG) containing 11,454 human diseases and 139,143 disease attributes, such as synonyms, definitions, and hierarchical relationships. KEEP reorganizes millions of publicly available noisy pathology image-text pairs into 143K well-structured semantic groups based on the hierarchical relations of the disease KG. By incorporating disease knowledge into the alignment process, KEEP achieves more nuanced image and text representations. The model is validated on 18 diverse benchmarks with over 14,000 whole-slide images (WSIs), demonstrating state-of-the-art performance in zero-shot cancer diagnosis, including an average sensitivity of 89.8% for cancer detection across 7 cancer types. KEEP also excels in subtyping rare cancers, achieving strong generalizability in diagnosing rare tumor subtypes.
|
12 |
+
|
13 |
+
|
14 |
+
## Model Details
|
15 |
+
|
16 |
+
### Model Description
|
17 |
+
|
18 |
+
<!-- Provide a longer summary of what this model is. -->
|
19 |
+
|
20 |
+
|
21 |
+
- **Developed by:** MAGIC-AI4Med team from Shanghai Jiao Tong University and Shanghai AI Lab.
|
22 |
+
- **Model type:** Vision-language models (vision encoder: ViT-L/16; text encoder: Bert)
|
23 |
+
- **Pretrain datasets:** 143K pathology semantic groups, each with a single caption and multiple images.
|
24 |
+
- **License:** MIT
|
25 |
+
|
26 |
+
### Model Sources [optional]
|
27 |
+
|
28 |
+
<!-- Provide the basic links for the model. -->
|
29 |
+
|
30 |
+
- **Repository:** https://github.com/MAGIC-AI4Med/KEEP
|
31 |
+
- **Paper [optional]:** https://arxiv.org/abs/2412.13126
|
32 |
+
- **Demo [optional]:** [More Information Needed]
|
33 |
+
|
34 |
+
## Uses
|
35 |
+
|
36 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
37 |
+
|
38 |
+
### Direct Use
|
39 |
+
|
40 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
41 |
+
|
42 |
+
[More Information Needed]
|
43 |
+
|
44 |
+
### Downstream Use [optional]
|
45 |
+
|
46 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
47 |
+
|
48 |
+
[More Information Needed]
|
49 |
+
|
50 |
+
### Out-of-Scope Use
|
51 |
+
|
52 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
53 |
+
|
54 |
+
[More Information Needed]
|
55 |
+
|
56 |
+
## Bias, Risks, and Limitations
|
57 |
+
|
58 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
59 |
+
|
60 |
+
[More Information Needed]
|
61 |
+
|
62 |
+
### Recommendations
|
63 |
+
|
64 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
65 |
+
|
66 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
67 |
+
|
68 |
+
## How to Get Started with the Model
|
69 |
+
|
70 |
+
Use the code below to get started with the model.
|
71 |
+
|
72 |
+
[More Information Needed]
|
73 |
+
|
74 |
+
## Training Details
|
75 |
+
|
76 |
+
### Training Data
|
77 |
+
|
78 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
79 |
+
|
80 |
+
[More Information Needed]
|
81 |
+
|
82 |
+
### Training Procedure
|
83 |
+
|
84 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
85 |
+
|
86 |
+
#### Preprocessing [optional]
|
87 |
+
|
88 |
+
[More Information Needed]
|
89 |
+
|
90 |
+
|
91 |
+
#### Training Hyperparameters
|
92 |
+
|
93 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
94 |
+
|
95 |
+
#### Speeds, Sizes, Times [optional]
|
96 |
+
|
97 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
98 |
+
|
99 |
+
[More Information Needed]
|
100 |
+
|
101 |
+
## Evaluation
|
102 |
+
|
103 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
104 |
+
|
105 |
+
### Testing Data, Factors & Metrics
|
106 |
+
|
107 |
+
#### Testing Data
|
108 |
+
|
109 |
+
<!-- This should link to a Dataset Card if possible. -->
|
110 |
+
|
111 |
+
[More Information Needed]
|
112 |
+
|
113 |
+
#### Factors
|
114 |
+
|
115 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
116 |
+
|
117 |
+
[More Information Needed]
|
118 |
+
|
119 |
+
#### Metrics
|
120 |
+
|
121 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
122 |
+
|
123 |
+
[More Information Needed]
|
124 |
+
|
125 |
+
### Results
|
126 |
+
|
127 |
+
[More Information Needed]
|
128 |
+
|
129 |
+
#### Summary
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
## Model Examination [optional]
|
134 |
+
|
135 |
+
<!-- Relevant interpretability work for the model goes here -->
|
136 |
+
|
137 |
+
[More Information Needed]
|
138 |
+
|
139 |
+
## Environmental Impact
|
140 |
+
|
141 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
142 |
+
|
143 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
144 |
+
|
145 |
+
- **Hardware Type:** [More Information Needed]
|
146 |
+
- **Hours used:** [More Information Needed]
|
147 |
+
- **Cloud Provider:** [More Information Needed]
|
148 |
+
- **Compute Region:** [More Information Needed]
|
149 |
+
- **Carbon Emitted:** [More Information Needed]
|
150 |
+
|
151 |
+
## Technical Specifications [optional]
|
152 |
+
|
153 |
+
### Model Architecture and Objective
|
154 |
+
|
155 |
+
[More Information Needed]
|
156 |
+
|
157 |
+
### Compute Infrastructure
|
158 |
+
|
159 |
+
[More Information Needed]
|
160 |
+
|
161 |
+
#### Hardware
|
162 |
+
|
163 |
+
[More Information Needed]
|
164 |
+
|
165 |
+
#### Software
|
166 |
+
|
167 |
+
[More Information Needed]
|
168 |
+
|
169 |
+
## Citation [optional]
|
170 |
+
|
171 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
172 |
+
|
173 |
+
**BibTeX:**
|
174 |
+
|
175 |
+
@article{zhou2024keep,
|
176 |
+
title={A Knowledge-enhanced Pathology Vision-language Foundation Model for Cancer Diagnosis},
|
177 |
+
author={Xiao Zhou, Luoyi Sun, Dexuan He, Wenbin Guan, Ruifen Wang, Lifeng Wang, Xin Sun, Kun Sun, Ya Zhang, Yanfeng Wang, Weidi Xie},
|
178 |
+
journal={arXiv preprint arXiv:2412.13126},
|
179 |
+
year={2024}
|
180 |
+
}
|
181 |
+
|
182 |
+
**APA:**
|
183 |
+
|
184 |
+
[More Information Needed]
|
185 |
+
|
186 |
+
## Glossary [optional]
|
187 |
+
|
188 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
189 |
+
|
190 |
+
[More Information Needed]
|
191 |
+
|
192 |
+
## More Information [optional]
|
193 |
+
|
194 |
+
[More Information Needed]
|
195 |
+
|
196 |
+
## Model Card Authors [optional]
|
197 |
+
|
198 |
+
[More Information Needed]
|
199 |
+
|
200 |
+
## Model Card Contact
|
201 |
+
|
202 |
+
[More Information Needed]
|