Researchers develop artificial intelligence tool to help detect brain aneurysms

Radiologists improved their diagnoses of brain aneurysms with the help of an artificial intelligence algorithm developed by Stanford medical experts and computer scientists.

- By Taylor Kubota

HeadXNet team members (from left to right, Andrew Ng, Kristen Yeom, Christopher Chute, Pranav Rajpurkar and Allison Park) looking at a brain scan. Scans like this were used to train and test their artificial intelligence tool, which helps identify brain aneurysms.
L.A. Cicero/Stanford News Service

Doctors could soon get some help from an artificial intelligence tool when diagnosing brain aneurysms — bulges in blood vessels in the brain that can leak or burst open, potentially leading to stroke, brain damage or death.

The AI tool, developed by researchers at Stanford and detailed in a paper published June 7 in JAMA Network Open, highlights areas of a brain scan that are likely to contain an aneurysm.

“There’s been a lot of concern about how machine learning will actually work within the medical field,” said Allison Park, a graduate student in statistics and co-lead author of the paper. “This research is an example of how humans stay involved in the diagnostic process, aided by an artificial intelligence tool.”

This tool, which is built around an algorithm called HeadXNet, improved clinicians’ ability to correctly identify aneurysms at a level equivalent to finding six more aneurysms in 100 scans that contain aneurysms. It also improved consensus among the interpreting clinicians. While the success of HeadXNet in these experiments is promising, the team of researchers — who have expertise in machine learning, radiology and neurosurgery — cautions that further investigation is needed to evaluate the generalizability of the AI tool prior to clinical deployment, given differences in scanner hardware and imaging protocols across different hospital centers. The researchers plan to address such problems through multicenter collaboration.

Augmented expertise

Combing brain scans for signs of an aneurysm can mean scrolling through hundreds of images. Aneurysms come in many sizes and shapes and balloon out at tricky angles. Some register as no more than a blip within the movielike succession of images.

“Search for an aneurysm is one of the most labor-intensive and critical tasks radiologists undertake,” said Kristen Yeom, MD, associate professor of radiology and co-senior author of the paper. “Given inherent challenges of complex neurovascular anatomy and potential fatal outcome of a missed aneurysm, it prompted me to apply advances in computer science and vision to neuroimaging.”

Yeom brought the idea to the AI for Healthcare Bootcamp run by Stanford’s Machine Learning Group, which is led by Andrew Ng, PhD, adjunct professor of computer science and co-senior author of the paper. The central challenge was creating an artificial intelligence tool that could accurately process these large stacks of 3D images and complement clinical diagnostic practice.

Rather than just having the algorithm say that a scan contained an aneurysm, we were able to bring the exact locations of the aneurysms to the clinician’s attention.

To train the algorithm, Yeom worked with Park and Christopher Chute, a graduate student in computer science, on labeling clinically significant aneurysms detectable on 611 computerized tomography angiogram head scans.

“We labelled, by hand, every voxel — the 3D equivalent to a pixel — with whether or not it was part of an aneurysm,” said Chute, who is also co-lead author of the paper. “Building the training data was a pretty grueling task, and there were a lot of data.”

Following the training, the algorithm decides for each voxel of a scan whether there is an aneurysm present. The end result of the HeadXNet tool is the algorithm’s conclusions overlaid as a semi-transparent highlight on top of the scan. This representation of the algorithm’s decision makes it easy for the clinicians to still see what the scans look like without HeadXNet’s input.

“We were interested in how these scans with AI-added overlays would improve the performance of clinicians,” said Pranav Rajpurkar, a graduate student in computer science and co-lead author of the paper. “Rather than just having the algorithm say that a scan contained an aneurysm, we were able to bring the exact locations of the aneurysms to the clinician’s attention.”

Eight clinicians tested HeadXNet by evaluating a set of 115 brain scans for aneurysm, once with the help of HeadXNet and once without. With the tool, the clinicians correctly identified more aneurysms, and therefore reduced the “miss” rate, and the clinicians were more likely to agree with one another on what constituted an aneurysm. HeadXNet did not influence how long it took the clinicians to decide on a diagnosis or their ability to correctly identify scans without aneurysms — a guard against telling someone they have an aneurysm when they don’t.

To other tasks and institutions

The machine learning methods at the heart of HeadXNet could likely be used to identify other diseases inside and outside the brain. For example, Yeom imagines a future version could focus on speeding up the identification of aneurysms after they have burst, saving precious time in an urgent situation. But a considerable hurdle remains in integrating any artificial intelligence medical tools with daily clinical workflow in radiology across hospitals.

Current scan viewers aren’t designed to work with deep learning assistance, so the researchers had to custom-build tools to integrate HeadXNet within scan viewers. Similarly, variations in real-world data — as opposed to the data on which the algorithm is tested and trained — could reduce model performance. If the algorithm processes data from different kinds of scanners or imaging protocols, or a patient population that wasn’t part of its original training, it might not work as expected.

“Because of these issues, I think deployment will come faster not with pure AI automation, but instead with AI and radiologists collaborating,” Ng said. “We still have technical and nontechnical work to do, but we as a community will get there, and AI-radiologist collaboration is the most promising path.”

Other Stanford co-authors are Joe Lou, undergraduate student in computer science; Robyn Ball, PhD, senior biostatistician at the Quantitative Sciences Unit; graduate students Katie Shpanskaya, Rashad Jabarkheel, Lily Kim and Emily McKenna; radiology residents Joe Tseng, MD, and Jason Ni, MD; Fidaa Wishah, MD, clinical instructor of radiology; Fred Wittber, MD, diagnostic radiology fellow; David Hong, MD, assistant professor of psychiatry and behavioral sciences; Thomas Wilson, MD, clinical assistant professor of neurosurgery; Safwan Halabi, MD, clinical associate professor of radiology; Sanjay Basu, MD, PhD,  assistant professor of medicine; Bhavik Patel, MD, MBA, assistant professor of radiology; and Matthew Lungren, MD, MPH, assistant professor of radiology.

Hong and Yeom are also members of Stanford Bio-X, the Stanford Maternal and Child Health Research Institute and the Wu Tsai Neurosciences Instituteat Stanford. Patel is also a member of Stanford Bio-X and the Stanford Cancer Institute. Lungren is a member of Stanford Bio-X, the Stanford Maternal and Child Health Research Institute and the Stanford Cancer Institute.

The work was supported by the National Center for Advancing Translational Science.

Stanford’s departments of Computer Science and of Radiology also supported the work.

About Stanford Medicine

Stanford Medicine is an integrated academic health system comprising the Stanford School of Medicine and adult and pediatric health care delivery systems. Together, they harness the full potential of biomedicine through collaborative research, education and clinical care for patients. For more information, please visit med.stanford.edu.

2023 ISSUE 3

Exploring ways AI is applied to health care