Programming by Example in Healthcare

An Aritificial Intelligence PhD and a Healthcare PhD walk into a bar. The Healthcare PhD starts telling the AI PhD tales from the trenches of clinical research.

Tale 1: Patient parsing

The UVA/PADOVA Type 1 Diabetes Simulator is an example of a mathematical smulator used for in sillico trials of diabetes treatments. The researchers assessed a dataset of diabetes patients collected in a bihormonal closed-loop clinical trial and developed a set of equations that describe these training data. These equations have become the standard tool to forecast how a certain treatment affects a diabetes patient.

Tale 2: Doctor parsing

Workaround studies in Healthcare explore the deviations between prescribed clinical protocols and what doctors and nurses end up actually doing in real life practice. The reasons for these workarounds as well as their desirablitily are debated, but be they caused by individual clinicans’ failures, organizational issues like understaffing and unrealistic expectations with regard to speed, poor quality of protocols themselves or (most likely) all of the above, workarounds have to be studied and understood. Such research can shed more light on the ongoing debate, as well as on particular protocols in question. To that end, researchers reverse engineer the de facto protocols that clinicans follow.

Programming by example

“So”, drawls the AI PhD, examining the bottom of his old fashioned glass, “these researchers are like a homo sapiens programming by example system?” AI PhD hiccups and looks up from the glass to give the Healthcare PhD a glance of bemusement “You have a dataset of trajectories and you are tasked with writing a protocol (a program) that can produce these trajectories. You write it, you test that it’s consistent with the data and you publish it. You know we have”, AI PhD pauses for another hearty hiccup, “apps for that, right?”

AI PhD is, at this point, too intoxicated to explain that programming by example

Programming by example in Healthcare: a modest proposal

This post is a proposal for a new field of research at the intersection of Program Synthesis, Process Mining, Imitation Learning and Healthcare. Doctor parsing and patient parsing are tasks that can and should be solved algorithmically by applying PbE techniques to datasets like MIMIC-IV. Healthcare is, after all, one of the most exciting applications of Programming Synthesis.

Feel free to click around this diagram to learn more:

Confessions

This work is taxpayer funded