MIRAProject, 2025

SecondOpinion: Anatomy-Aware Gated Reasoning for Efficient Medical Image Analysis

secondopinion-main

Medical AI is often built to analyse every image the same way, using the same amount of computing power whether the case is simple or difficult. Doctors don't work like that. A clinician often relies on an initial assessment and seeks a second opinion only for ambiguous or difficult cases. SecondOpinion mimics this process: it uses a fast primary model for most cases and brings in anatomical reasoning only when needed. The aim is AI that stays accurate on hard cases without wasting effort on easy ones.

The first step is the first opinion: a fast model reads every X-ray and gives an initial answer. A second model, the GateKeeper, then checks that answer and estimates whether it is likely to be right. If the first opinion looks reliable, the system stops there and returns a quick answer.

If the GateKeeper is unsure, SecondOpinion calls in a second opinion. This model looks only at the relevant anatomy, the lungs in a chest X-ray or the pelvic bone in a pelvic X-ray, segmented from the original image. The two opinions are then combined into a final answer. Across 21,865 chest X-rays and 263 pelvic X-rays, SecondOpinion reached 98.41% accuracy on chest disease (previous best 96.21%), 91.40% on visible pelvic fractures (previous best 88.68%), and 84.60% on invisible fractures, which only show up on CT (previous best 82.29%). It did this with 48% less computing than running both opinions on every image.

The effort follows the difficulty. The second opinion was needed for 9.2% of chest X-rays, 24.1% of visible fractures and 45.7% of invisible fractures. The harder the case, the more it helped: its AUROC gain grew from +1.2 to +8.4 to +15.8 points.

To make its decisions easier to understand, we use Grad-CAM visualization, which highlights the parts of the X-ray the model focused on. On an invisible fracture, the first opinion alone looks at the corners of the image. With the second opinion, attention moves to the hip bone and the answer is correct.

By spending extra effort only where it is needed, SecondOpinion could make accurate medical AI cheaper and faster to run, which matters for hospitals with limited computing resources and heavy caseloads.

Team

Related publications