When a doctor reads a brain MRI, they're looking for the shape of a tumor hidden in shades of gray. But even the sharpest radiologist can't always tell exactly where a tumor ends and healthy tissue begins. Now researchers at the University of California, San Francisco have built an artificial intelligence model that does something remarkable: it knows when it's not sure.
The problem starts with meningiomas, the most common type of primary brain tumor. They account for more than one-third of all intracranial tumors and nearly half of all primary brain tumors. Some have crisp, well-defined edges. But others grow right up against anatomical structures that blur their boundaries, or take unusual shapes that fool even experienced eyes. The traditional way of measuring these tumors uses simple two-dimensional lines on a scan, which can badly miss the true size of slow-growing or irregular tumors. Three-dimensional analysis gives a far more accurate picture.
AI can segment tumors in 3D far faster than a human, and it does the job with impressive accuracy. The problem is trust. Every AI makes mistakes in segmentation, and the level of uncertainty is higher in some cases than others — but older AI models treated every case as if its answer were perfect. That lack of honesty kept many doctors from adopting AI in the first place.
So the UCSF team, led by assistant professor of radiology Andreas Rauschecker, built a different kind of model. Their "Evidential Deep Learning" framework measures its own uncertainty, producing both a tumor volume measurement and a map showing exactly which regions of the image are ambiguous. If the model isn't confident, it says so.
The team trained their framework on 1,655 MRIs from 788 patients, including postoperative scans where treatment-related changes can mimic tumor tissue and push uncertainty scores higher. They tested it on an independent set of 68 MRIs from 43 patients, checking whether the model's uncertainty maps lined up with the ambiguous regions flagged by neuroradiologists. They did — the model achieved high accuracy with well-calibrated volume estimates, and external validation in 353 patients confirmed it works beyond the lab that built it.
"Even with a good segmentation algorithm, there is always going to be some level of uncertainty about the volume of the tumor because AI can make mistakes in segmentation," Rauschecker said. "Our objective was to capture a mathematical, quantifiable way of assessing the amount of uncertainty."
The impact extends far beyond meningiomas. The researchers say the same calibrated uncertainty estimation can be applied to other kinds of lesion segmentation, helping build a future where AI in medicine is transparent, safe, and genuinely trustworthy. The study, published in npj Digital Medicine, is a step toward routine clinical care where an AI doesn't just give an answer — it tells you how much to believe it. And that honesty may be exactly what wins doctors over.
