FireANTs unlocks faster medical image matching, cutting analysis from a week to minutes
· Medical Xpressedited by Sadie Harley, reviewed by Robert Egan
Sadie Harley
Scientific Editor
Meet our editorial team
Behind our editorial process
Robert Egan
Associate Editor
Meet our editorial team
Behind our editorial process Editors' notes
This article has been reviewed according to Science X's editorial process and policies. Editors have highlighted the following attributes while ensuring the content's credibility:
fact-checked
peer-reviewed publication
trusted source
proofread
The GIST Add as preferred source
Penn Engineers have developed an open-source algorithm that combines the speed of AI with the precision of geometry to compare complex medical images quickly and accurately, helping detect subtle changes that, over time, can signal disease. In some cases, the new algorithm can accomplish in minutes what would have taken prior techniques an entire week.
Dubbed "FireANTs," the algorithm operates differently from many AI approaches to analyzing medical images. "Typically, AI systems make predictions based on their training data," says Pratik Chaudhari, assistant professor in electrical and systems engineering and co-senior author of a study in Nature Communications.
"FireANTs, by contrast, borrows optimization techniques from modern AI but solves the matching problem mathematically, determining how one image actually corresponds to another without relying too much on guessing based on past examples."
In tests, the team evaluated FireANTs across more than a dozen datasets spanning more than 15,000 image pairs, multiple organ systems, different imaging modalities and various species, showing that the method could generalize across a wide range of imaging challenges.
Because FireANTs operates so quickly—running hundreds to thousands of times faster than its predecessor, ANTs, depending on the problem, with no loss in accuracy—the algorithm could be used not just in medical research, but in clinical practice as well.
"In radiology, a large fraction of radiology reads involve follow-up imaging, to see what changes have occurred between scans," says James C. Gee, professor of radiologic science in radiology and the study's other co-senior author.
"Image registration can help automatically pinpoint any differences, but if the processing takes too long, it simply doesn't fit into the clinical workflow. The speed makes a huge difference in making this practical for patient care."
The challenge of dense correspondence
FireANTs is designed to solve a common problem in medical imaging: dense correspondence matching, or the process of identifying similar patterns in data-rich images, like sets of MRIs or CT scans from the same patient.
This challenge frequently arises in radiology, where clinicians may want to know not just whether two images look substantially different, but exactly how particular regions of tissue have changed over time, and by how much. Even subtle changes in, say, brain volume can matter: unusually rapid shrinkage, for example, could be an early sign of cognitive decline.
The next evolution of ANTs
More than a decade ago, Gee's lab led the development of ANTs, short for Advanced Normalization Tools, an open-source software toolkit for analyzing medical images. While ANTs remains a powerful and widely used tool, it was created before recent advances in AI made it possible to process much larger datasets far more quickly.
When first author Rohit Jena, a doctoral student in computer and information science mentored by both Chaudhari and Gee, tested the software, he wondered whether it could run faster.
"ANTs worked much better than existing methods in the literature," Jena says. "But ANTs simply wasn't built for the kind of massive datasets that have become standard in medical and biological imaging research today."
At first, Jena tried adapting ANTs for use on a graphics processing unit (GPU), the same kind of advanced computer chips used to train AI models, a request that frequently appeared in online forums devoted to using ANTs, indicating the project's value to the research community.
But after spending time "under the hood" and seeing how ANTs worked, he realized that simply moving the software onto faster hardware would not be enough. He would have to rethink the geometry underlying the algorithm itself.
A shortcut through curved space
Training a typical AI model is like riding a bicycle on flat ground: Optimizing the system involves updating numerical "weights" that exist in Euclidean, or flat, space. In that setting, the direction of travel, like the bicycle's handlebars, stays even from one step to the next.
Comparing two dense images, by contrast, is like riding over hills and through valleys. The problem requires updating a "diffeomorphism," a non-Euclidean object that exists in curved space. To keep the bicycle traveling straight, you have to keep adjusting the angle of the handlebars.
That adjustment, known as parallel transport, is computationally expensive. But Jena wondered whether it could be avoided.
What if, instead of constantly adapting the algorithm to the landscape, he could adapt the landscape to the algorithm?
In essence, FireANTs keeps the cyclist stationary while the world reorients itself, making the journey through curved space behave like one across flat ground. "Mathematically speaking, the algorithm reaches the same destination with far less computational effort," says Jena.
Future directions
Ultimately, the researchers say, the promise of FireANTs lies not just in speed—around two to seven times that of state-of-the-art optimization toolkits deployed on a standard computer chip, and up to three orders of magnitude faster on a GPU—but in what that speed makes possible.
In clinical settings, faster image matching could make advanced analysis more practical.
"Being able to perform advanced medical imaging analysis, such as change detection, in real time would be game-changing for patients and doctors," says Gee. "For AI to be clinically useful, there's a very high bar: Medical imaging software has to be both fast and accurate."
The potential impact also extends beyond standard medical imaging to fields as varied as geospatial mapping and robotics. Because FireANTs reduces computational cost, it could help smaller labs tackle analyses that once required the resources of much larger consortia.
"FireANTs is not just a faster tool," says Chaudhari. "It's a way to make advanced image matching both performant and reliable, so researchers and clinicians can work at a scale and speed that wasn't possible before, unlocking totally new workflows and applications."
Publication details
FireANTs: Adaptive Riemannian Optimization for Multi-Scale Diffeomorphic Matching, Nature Communications (2026). DOI: 10.1038/s41467-026-72508-3
Journal information: Nature Communications
Key medical concepts
Diagnostic ImagingMagnetic Resonance ImagingCT ScansCognitive Declinesbrain volume
Clinical categories
Diagnostic radiology Provided by University of Pennsylvania Who's behind this story?
Sadie Harley
BSc Life Sciences & Ecology. Microbiology lab background with pharmaceutical news experience in oil, gas, and renewable industries. Full profile →
Robert Egan
Bachelor's in mathematical biology, Master's in creative writing. Well-traveled with unique perspectives on science and language. Full profile →
Citation: FireANTs unlocks faster medical image matching, cutting analysis from a week to minutes (2026, June 9) retrieved 9 June 2026 from https://medicalxpress.com/news/2026-06-fireants-faster-medical-image-analysis.html This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.