MUSE
ICLR'24 | Multimodal Patient Representation Learning with Missing Modalities and Labels
Install / Use
/learn @zzachw/MUSEREADME
Multimodal Patient Representation Learning with Missing Modalities and Labels (ICLR 2024)
This repository contains code for the ICLR'24 paper: Multimodal Patient Representation Learning with Missing Modalities and Labels.
Dependencies
python==3.8.18
torch==2.0.1
Repository Structure
src/: Source code for MedLinkpreprocess/: Scripts for data preprocessingdataset/: Data, Dataset, Tokenizer, Vocabulary, and collate_fncore/: Core implementation for the MUSE methodmetrics.py: Metrics for model evaluationhelper.py: Helper class for model training, evaluation, and inferenceutils.py: Utility functions
How to Reproduce
Follow these steps to reproduce the results:
- Edit the path in
src/utils.pyto your local path. - Obtain the eICU and MIMIC-IV datasets and place it under
{raw_data_path}. - Run the following notebooks under
src/preprocessin the specified order to prepare the data:- eICU:
- Run
parse_eicu_remote.ipynb - Run
preprocess_eicu.py - Run
build_vocab_eicu.py - Run
data_split_eicu.py
- Run
- MIMIC-IV:
- Run
parse_mimic4_remote.ipynb - Run
preprocess_mimic4.py - Run
build_vocab_mimic4.py - Run
data_split_mimic4.py
- Run
- Run
get_code_embeddings.py
- eICU:
- Execute
run.pyundersrc/coreto train the model:python run.py \ --dataset [mimic4/eicu] \ --task [mortality/readmission] \ --official_run
Citation
@inproceedings{
wu2024multimodal,
title={Multimodal Patient Representation Learning with Missing Modalities and Labels},
author={Zhenbang Wu and Anant Dadu and Nicholas Tustison and Brian Avants and Mike Nalls and Jimeng Sun and Faraz Faghri},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=Je5SHCKpPa}
}
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
