AI
RL model can't beat simple rules for scheduling hospital ultrasound exams
A Stanford simulation study pits rule-based scheduling against deep reinforcement learning for pediatric echocardiography—and finds the simpler approach wins.
Researchers at Stanford University's Lucile Packard Children's Hospital have tested whether machine learning can outperform straightforward heuristics at one of healthcare's grinding logistical problems: scheduling ultrasound exams when patients no-show, arrive unpredictably, and exams take variable amounts of time.
The scheduling problem#
Pediatric echocardiography labs juggle two distinct patient streams—fetal exams (specialized ultrasounds during pregnancy) and non-fetal diagnostic echocardiograms—each competing for limited ultrasound rooms and trained sonographers. The researchers modeled a realistic setup with seven ultrasound rooms and six sonographers, where capacity is tighter than demand and unpredictability is baked into the operation.
To capture real-world messiness, the team analyzed one week of operational data from Stanford's echo lab (184 patients), extracting empirical distributions of no-show rates, arrival times, and exam durations. They built a discrete-event simulation using SimPy and exposed it as an open-source Gymnasium environment—making their setup reproducible for future work.
Rule-based versus learning-based policies#
The study compared two broad scheduling philosophies: on-the-fly allocation (patients served in order of arrival without pre-booked slots) and reservation-based allocation (resources pre-assigned to fetal or non-fetal cohorts in fixed proportions). Across every reservation-based variant they tested, on-the-fly allocation reduced average patient waiting time substantially.
Building on that finding, the researchers trained a Dueling Double Deep Q-Network (DQN) with prioritized experience replay to learn an optimal on-the-fly policy. The model aimed to beat the best rule-based strategy by dynamically adapting to arrival patterns and room availability.
The result: simple wins#
The trained RL policy performed comparably to the best on-the-fly rule-based policy—but did not outperform it. In a setting where waiting times matter for patient experience and operational efficiency, the simpler heuristic held its ground against a sophisticated neural approach. The finding aligns with a growing theme in operations research: for many practical scheduling tasks, algorithmic elegance can outpace learned complexity when the rule captures the underlying logic well.
The work, submitted to arXiv in May 2025 and revised in October 2026, suggests that before deploying reinforcement learning in hospital scheduling, operators should carefully benchmark against strong baselines—and may find that classical methods already do the job.

