NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SDOH-NLI: a Dataset for Inferring Social Determinants of Health from Clinical Notes

Ádám D. Lelkes, Eric Loreaux, Tal Schuster, Ming-Jun Chen, Alvin Rajkomar

Social Determinants of Health (SDOH)—the environmental and social conditions in which people live, work, and age—often dictate health outcomes more significantly than clinical interventions alone. Factors such as housing instability, food insecurity, and transportation barriers are critical for holistic patient care. However, this information is typically buried within the unstructured "Social History" sections of clinical notes, making it difficult to extract at scale for population health management.

The Challenge of Clinical Extraction

Automated extraction of SDOH faces two primary obstacles. First, privacy regulations like HIPAA restrict the sharing of clinical data, hindering the development of open-source benchmarks and reproducible research. Second, traditional NLP methods like Named Entity Recognition (NER) often struggle with context. For instance, a model must distinguish between "Patient denies smoking" and "Patient is a heavy smoker," a task where simple keyword matching or retrieval-based search often fails due to the nuances of negation and temporal status.

Framing SDOH Extraction as Natural Language Inference

To address these challenges, researchers from Google and Curai Health introduced SDOH-NLI. This dataset frames SDOH extraction as a Natural Language Inference (NLI) task. In this framework, a model evaluates a "premise" (a clinical note snippet) against a "hypothesis" (a specific SDOH statement) to determine if the premise entails the hypothesis.

Example: * Premise: "The patient lives alone in a senior living facility." * Hypothesis: "The person lives alone." * Label: Entailment (True).

Unlike traditional NLI datasets where hypotheses are written specifically for premises—often introducing "annotation artifacts" or linguistic shortcuts—SDOH-NLI uses a fixed set of 60 curated SDOH statements. This independent construction forces the model to understand the underlying logic of the clinical text rather than relying on superficial patterns.

Dataset Composition

The SDOH-NLI dataset is derived from MTSamples.com, a public repository of transcribed medical reports. It comprises 29,635 labeled premise-hypothesis pairs across 1,398 unique social history snippets. The dataset covers 10 critical SDOH domains:

  • Smoking, Alcohol, and Drug use
  • Employment and Financial situation
  • Housing and Food security
  • Transportation and Health insurance
  • Social support

Reflecting real-world clinical documentation, the dataset is highly imbalanced, with only 4.6% of pairs representing positive entailment. This sparsity mirrors the reality of clinical notes, where most entries only mention one or two specific social factors.

Performance and Key Insights

The researchers evaluated several state-of-the-art Large Language Models (LLMs), including the Flan-T5 and Flan-UL2 families. Several key findings emerged:

  • Zero-shot limitations: Even the largest models (e.g., Flan-T5 XXL with 11B parameters) struggled in a zero-shot setting, achieving an F1 score of only 0.67. Standard NLI models trained on general benchmarks (like Wikipedia) often failed to distinguish between a patient's past history and current status.
  • The necessity of fine-tuning: Fine-tuning on the SDOH-NLI training set led to a dramatic performance increase. The Flan-T5 XXL model reached an F1 score of 0.8788 and a Precision of 0.9295.
  • Domain-specific data vs. Scale: Interestingly, small T5 models fine-tuned on SDOH-NLI outperformed much larger "off-the-shelf" models. This emphasizes that domain-specific, high-quality labeled data is often more impactful than raw parameter count.
  • Logical Generalization: Models fine-tuned on a combination of general NLI data and SDOH-NLI demonstrated an ability to generalize to social factors not seen during training. This suggests the models learned the logical structure of medical social histories rather than just memorizing keywords.

Limitations and Ethical Outlook

While SDOH-NLI represents a significant step forward, the authors note several limitations. The dataset is currently limited to English and reflects the U.S. healthcare context. Furthermore, the source data consists of transcribed reports, which are cleaner than the shorthand-heavy, "messy" notes found in actual Electronic Health Records (EHRs).

Ethically, the authors stress that SDOH extraction tools should be used to facilitate support and resource allocation. These tools should never be used to deny care or discriminate against patients based on their identified social circumstances.

Conclusion

By providing a public, logically rigorous dataset, SDOH-NLI enables the research community to develop more robust tools for identifying patient needs. This work bridges the gap between unstructured clinical narratives and the actionable data required to address the social factors influencing global health outcomes.

Summary updated

BibTeX
@inproceedings{lelkes2023sdoh,
  author = {Ádám D. Lelkes and Eric Loreaux and Tal Schuster and Ming-Jun Chen and Alvin Rajkomar},
  title = {{SDOH-NLI: a Dataset for Inferring Social Determinants of Health from Clinical Notes}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.317},
}
Figure