New AI Dataset Helps Machines Think More Like Doctors When Diagnosing Patients

Photo of author

By Sophia Chen

Researchers have developed a new method to teach artificial intelligence (AI) systems how to reason through medical diagnoses step-by-step, much like doctors do. While AI models have shown skill in solving math problems or writing code by breaking down tasks into logical steps, they often jump straight from patient notes to a final diagnosis without explaining their reasoning. This new research aims to fill that gap by creating a large dataset that captures the intermediate thought process behind clinical decisions, potentially improving AI’s accuracy and trustworthiness in healthcare.

Key Takeaways

  • The team created MERLIN-DDx, a dataset with over 124,000 detailed reasoning steps from more than 10,000 real patient hospital admissions.
  • Each diagnostic step is verified against a trusted medical reference (WikiDoc) and actual patient outcomes from hospital records (MIMIC-IV) to ensure accuracy.
  • Fine-tuning AI models on MERLIN-DDx improved their ability to predict medical diagnosis codes, especially for rare conditions.
  • The dataset and tools are publicly released, enabling further research on AI that can explain its clinical reasoning.

Traditional clinical notes often summarize the final diagnosis without documenting the reasoning trail that led to it. This makes it hard to train AI systems to mimic doctors’ decision-making processes because there isn’t enough detailed supervision data showing how diagnoses are formed step-by-step. To address this, the researchers designed a four-stage “generator-verifier” pipeline. First, the system generates possible diagnostic reasoning steps for a patient’s hospital admission. Then, it verifies each step by comparing it against an external medical knowledge base called WikiDoc, as well as the patient’s actual health outcome recorded in the MIMIC-IV database.

This approach produces a large, structured dataset called MERLIN-DDx, which includes not only final diagnoses but also the intermediate reasoning steps leading up to them. In a sample of reviewed cases, clinicians agreed with the verified diagnoses 77% of the time, indicating strong reliability. The researchers then tested how training AI models on this reasoning-rich dataset affected performance on two tasks: differential diagnosis (identifying possible conditions from symptoms) and ICD coding (assigning standardized diagnosis codes). Both tasks used only information available at patient admission, making the challenge closer to real-world clinical decision support.

The results showed that AI models fine-tuned on MERLIN-DDx performed better at predicting diagnosis codes across all model sizes tested, with the biggest improvements seen for less common conditions. The study also included control experiments where models were trained only on final labels without reasoning steps, highlighting that the added reasoning information contributed 1.7 to 6.9 points improvement in macro-F1 scores—a metric that balances performance across common and rare diagnoses. Interestingly, stricter quality checks on the reasoning steps led to better performance, although fewer examples were retained.

By releasing MERLIN-DDx along with the generation and verification tools, the researchers hope to enable future AI systems that are not only more accurate but also more transparent about how they arrive at medical conclusions. This could enhance trust and usability in clinical settings, where understanding the rationale behind a diagnosis is crucial. While challenges remain—especially in perfectly diagnosing rare conditions—this work marks a meaningful step towards AI that thinks more like a human doctor.

Based on research published on arXiv by Jan Frick, Dennis Fast, Conor Fallon et al..

Editor's note

Editors matched this AI update with related coverage to show where it sits in the broader race over models, regulation and product strategy.

Article briefing

Researchers have developed a new method to teach artificial intelligence (AI) systems how to reason through medical diagnoses step-by-step, much like doctors...

Story details

  • Author: Sophia Chen
  • Published: November 30, 2026
  • Category: AI

Key developments

  • Researchers have developed a new method to teach artificial intelligence (AI) systems how to reason through medical diagnoses step-by-step, much like doctors do.
  • While AI models have shown skill in solving math problems or writing code by breaking down tasks into logical steps, they often jump straight from patient notes to a final diagnosis without explaining their reasoning.
  • This new research aims to fill that gap by creating a large dataset that captures the intermediate thought process behind clinical decisions, potentially improving AI’s accuracy and trustworthiness in healthcare.

Why this matters

This could enhance trust and usability in clinical settings, where understanding the rationale behind a diagnosis is crucial.

Source

This article is based on source material from arxiv.org.

About the author

Sophia Chen

Sophia Chen covers artificial intelligence and emerging technology. With a background in computer science and a decade of tech journalism, she specialises in AI policy, machine learning applications and the societal impact of automation.

editorial@peacknews.com

Categories AI