Perspective: Leveraging Domain Knowledge for Tabular Machine Learning in the Medical Domain

Arijana Bohr, Thomas Altstidl, Bjoern Eskofier, Emmanuelle SalinTRL @ ACL 2025

Abstract

There has been limited exploration of how to effectively integrate domain knowledge into machine learning for medical tabular data. Traditional approaches often rely on non-generalizable processes tailored to specific datasets. In contrast, recent advances in deep learning for language and tabular data are leading the way toward more generalizable and scalable methods of domain knowledge inclusion. In this paper, we first explore the need for domain knowledge in medical tabular data, categorize types of medical domain knowledge, and discuss how each can be leveraged in tabular machine learning. We then outline strategies for integrating this knowledge at various stages of the machine learning pipeline. Finally, building on recent advances in tabular deep learning, we propose future research directions to support the integration of domain knowledge.

Introduction

In the medical world, tabular data—such as Electronic Health Records (EHR) or laboratory results—is the primary format for clinical information. However, standard machine learning (ML) models are often "tabula rasa," starting with zero inherent knowledge of biology or clinical practice. Relying purely on statistical associations can lead to dangerous "shortcut" predictions. For instance, a model might predict that asthma patients have a lower risk of dying from pneumonia because the training data shows better outcomes for them; in reality, these patients received more aggressive care because they were recognized as high-risk. To prevent such failures, we must move beyond "data-only" approaches and find scalable ways to inject human expertise into medical AI.

A Taxonomy of Medical Knowledge

To systematically integrate domain expertise, the authors categorize medical knowledge into five distinct types:

  1. Patient Data: Population statistics and longitudinal records.
  2. Formal Knowledge: Quantitative mathematical models (e.g., drug absorption rates) and qualitative guidelines found in textbooks.
  3. Medical Semantics: Standardized ontologies like SNOMED CT or UMLS that help models understand synonymous terms (e.g., "heart attack" vs. "myocardial infarction").
  4. Experimental Findings: Results from clinical trials that provide "soft rules" or priors.
  5. Professional Insights: The "clinical gestalt"—unstructured reasoning and "gut feelings" developed by experienced clinicians.

Integration Roadmap: Knowledge-Informed ML Pipeline

Domain knowledge can be baked into every stage of the machine learning lifecycle, from initial data collection to final validation. This systematic approach ensures that models respect biological laws and clinical realities.

Strategies for integrating domain knowledge across the machine learning pipeline, from dataset gathering to validation.

1. Dataset Gathering

Experts can identify critical confounders to improve the interpretability of outcomes. Additionally, knowledge-informed kernels can generate biologically plausible synthetic data to overcome data scarcity.

2. Data Preprocessing

Knowledge bases can be used to semantically link symptoms, identify outliers based on clinical ranges, and handle "missingness" that is not random (e.g., a test not ordered because a patient appeared stable).

3. Feature Engineering

Large Language Models (LLMs) can act as "knowledge translators," reading medical guidelines to suggest clinically meaningful features or modeling temporal progressions using known mathematical relationships.

4. Training

Models can be constrained using graphs of feature relationships or "physics-informed" loss functions. Leveraging transfer learning from pre-trained models also allows the injection of broad medical knowledge into specific tabular tasks.

5. Validation

Beyond raw accuracy, models should be validated by comparing feature importance against clinical plausibility and assessing generalizability to variations in clinical workflows, such as lab test ordering patterns.

Key Insights and Results

The integration of domain knowledge has shown significant quantitative benefits in various medical tasks:

  • Tumor Prediction: Incorporating mathematical model outputs into ML models increased tumor size prediction accuracy from 72.5% to 86.33%.
  • Bladder Cancer: Adding socio-demographic domain knowledge yielded an 8.14% performance gain over baseline models.
  • Inductive Biases: Domain knowledge provides the necessary "inductive bias" to help neural networks learn faster and more accurately from tabular data, which they otherwise struggle with compared to images or text.

Limitations and Future Directions

While promising, several challenges remain for the field:

  • The Expert Bottleneck: Manually extracting clinical expertise is expensive. Future work should explore automated knowledge extraction via Retrieval-Augmented Generation (RAG).
  • Knowledge Evolution: Medical guidelines change over time; models must be designed to update as ontologies evolve to avoid becoming brittle.
  • Multimodal Foundation Models: A key future direction is the development of models that can simultaneously process tabular lab results alongside medical literature and textbooks.

Summary updated

BibTeX
@inproceedings{bohr2025perspective,
  author = {Arijana Bohr and Thomas Altstidl and Bjoern Eskofier and Emmanuelle Salin},
  title = {{Perspective: Leveraging Domain Knowledge for Tabular Machine Learning in the Medical Domain}},
  booktitle = {TRL @ ACL},
  year = {2025},
  url = {https://openreview.net/forum?id=Dx3xJXjsw6},
}
Figure