atlas

Research map / Large language models / Language, safety and interpretability

Memorize and Rank: Elevating Large Language Models for Clinical Diagnosis Prediction

AAAI 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Mera fine-tunes generative LLMs to memorize ICD code definitions and then trains them with hierarchical contrastive learning and a dynamic EOV-threshold loss to rank diagnoses for next-visit prediction on MIMIC-III/IV.

Problem

Clinical diagnosis prediction from patient visit histories is hard due to scarce patient data and a huge ICD candidate space (13k+ codes), and generative LLMs have not been effectively used for it because they do not know medical codes and token-level training mismatches the ranking task.

Approach

Teach the LM to memorize bidirectional code-definition mappings and ICD hierarchy, then optimize the token-probability distribution over all code tokens with a level-wise InfoNCE loss over ICD disease groups plus a dynamic cross-entropy loss that places a special EOV token as the confidence threshold, with teacher-forced intra-visit training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Mera instead of KGxDPDiagnosis prediction · MIMIC-III (ICD-9)w-F1: 27.35 -> 33.24Helped
Use Mera instead of KGxDPDiagnosis prediction · MIMIC-III (ICD-9)R@20: 41.29 -> 49.01Helped
Use Mera instead of KGxDPDiagnosis prediction · MIMIC-IV (ICD-9)w-F1: 30.38 -> 36.16Helped
Use Mera instead of KGxDPHeart failure prediction · MIMIC-IVAUC: 95.66 -> 98.74Helped
Remove concept memorization and provide no external knowledge (ablation)Mera · MIMIC-III diagnosis predictionR@20: 3.54Hurt
Provide code definitions in the input prompt instead of concept memorization (ablation)Mera · MIMIC-III diagnosis predictionR@20: 2.46Hurt
Remove hierarchical contrastive learning (ablation)Mera · MIMIC-III diagnosis predictionw-F1: 10.34Hurt
Remove the 0-th level contrastive loss (ablation)Mera · MIMIC-III diagnosis predictionw-F1: 9.24Hurt
Remove the chapter-level contrastive loss (ablation)Mera · MIMIC-III diagnosis predictionw-F1: 5.86Hurt
Remove the finest-level contrastive loss (ablation)Mera · MIMIC-III diagnosis predictionw-F1: 7.74Hurt
Remove the dynamic confidence threshold (ablation)Mera · MIMIC-III diagnosis predictionw-F1: 4.10Hurt
Use autoregressive decoding with cross-entropy loss instead of Mera's objectives (ablation)Diagnosis prediction · MIMIC-IIIR@20: 17.33Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MIMIC-III MIMIC-IV ICD-9 ontology ICD-10 ontology

Benchmarks: MIMIC-III diagnosis prediction MIMIC-IV diagnosis prediction MIMIC-III heart failure prediction MIMIC-IV heart failure prediction

Metrics: weighted F1 recall@10 recall@20 AUC F1 code accuracy definition accuracy

Baselines: RETAIN Dipole Timeline HiTANet Deepr GRAM G-BERT CGL Chet MCDP KGxDP RoBERTa

Builds on: InfoNCE LLaMA2 BioMistral MedBERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy