Agent Frameworks

DoctorAgents: LLM agents auto-build clinical ML pipelines, beating AutoML

DoctorAgents replaces brute-force AutoML with LLM agents that reason and refine pipelines.

Deep Dive

Building reliable machine learning pipelines for clinical data is notoriously difficult—data is scarce, heterogeneous, and temporal. Traditional AutoML systems brute-force search predefined spaces, wasting compute and lacking explicit reasoning or memory. DoctorAgents, a new framework from a team including Yue Li at the University of Waterloo, reframes AutoML from exhaustive search to reasoning-driven refinement. Its core innovation: a trio of specialized large language model agents—one generates pipeline configurations, one validates them against data, and another refines failures. These agents communicate through natural-language feedback, allowing the system to backpropagate textual gradients for targeted updates without exploring the whole search space.

In experiments across diverse clinical tasks, DoctorAgents consistently outperformed established AutoML baselines, all while producing more interpretable, task-specific representations. Crucially, the framework is designed for small temporal datasets—like longitudinal patient records—where standard deep learning and AutoML often overfit. By combining LLM reasoning with explicit memory of past iterations, DoctorAgents adapts pipelines based on what failed and why, rather than randomly retrying. The 34-page paper (arXiv:2608.05375) includes five figures and benchmarks against multiple baselines. This approach could significantly reduce the human effort needed to build robust ML systems for high-stakes medical decisions, while making the pipeline design process more explainable to clinicians and regulators.

Key Points
  • DoctorAgents uses specialized LLM agents for generation, validation, and refinement of ML pipelines
  • Employs textual gradient descent—backpropagating natural-language feedback—to avoid exhaustive search
  • Outperforms established AutoML baselines on small clinical temporal datasets while improving interpretability

Why It Matters

DoctorAgents could slash the time and expertise needed to build trustworthy clinical ML models from sparse temporal data.

📬 Get the top 10 AI stories daily