A chest-pain case may begin with just one clue: a 30-year-old man’s first symptom. Microsoft’s MAI-DxO system was built to work through that kind of uncertainty, asking questions and weighing tests before settling on a diagnosis. In a study, it outperformed doctors on both difficult medical mysteries and typical emergency room cases.

The results matter because diagnosis is a process, not a quiz. Patients often arrive with only some of the information a clinician needs. Doctors gather more details, order tests and revise their ideas as results come in. Getting the answer wrong can delay care, while a long path of testing can add cost. In the United States, more than one-third of households carried some type of medical debt in 2024, according to one estimate.

The Microsoft researchers tested MAI-DxO on 304 complex cases drawn from the New England Journal of Medicine, along with a similar number of emergency room encounters from a database. The cases included common illnesses and rare disorders, and the study turned each into an interactive challenge. Doctors and AI began with limited details, then could ask about a patient’s history, request tests and change their working diagnosis before making a final call.

MAI-DxO is powered by GPT-5 and designed to act like a team of specialists. One part suggests possible diagnoses; others propose questions and tests, challenge the developing answer and consider costs. A coordinating system reviews new results and decides whether another test is worth the expense. The benchmark measured both whether the final diagnosis was right and how costly the route to it was.

The system diagnosed 83 percent of the complex cases correctly. The 40 doctors in the comparison, each with roughly 12 years of clinical experience, got 22 percent right when relying on their own knowledge. Access to the internet and other resources raised the physicians’ performance only slightly; MAI-DxO was more than twice as accurate as doctors using reference materials. In typical emergency room cases, the AI reached 80 percent accuracy, compared with 47 percent for physicians.

The researchers also tested a cost-conscious version on the complex cases. It kept accuracy near 80 percent while spending an estimated $1,300 per case, using 2023 hospital pricing data from a national health system. That suggests the system may be able to balance diagnostic accuracy with the expense of testing, though the study does not show that it is ready to treat patients in hospitals.

The findings add to earlier work showing AI can spot patterns in medical images and handle written clinical problems. But the study’s step-by-step format is closer to the back-and-forth of diagnosis than a test where all the clues appear at once. Microsoft researcher Eric Horvitz, who has worked on AI in medicine since the 1980s, said he hopes advances like this will help bring timely, effective care to more people.

For now, MAI-DxO is a research system, not a replacement for doctors. Its next test is whether it can support clinicians safely in real care, where records are imperfect and patients’ needs are individual. If it can, a tool that asks better questions and avoids low-value tests could help make difficult diagnoses faster and less costly.