Khoury News
Khoury, Kentucky researchers awarded NSF grant to model volcanoes with machine learning
Volcanic and geothermal systems are so vast and complex that computers struggle to model them. But Robin Walters and Noah Randolph-Flagg believe that their approach to machine learning could boost models' speed and accuracy.
Much of Earth’s story begins with water. In bubbling hot springs, water may have helped give rise to life and concentrated the metals that power modern technology. When trapped beneath a volcano and heated to extreme temperatures, it can help set off some of the planet’s most violent explosions.
Water, says University of Kentucky Assistant Professor Noah Randolph-Flagg, is the key to understanding volcanic eruptions. He’s now collaborating with Khoury Assistant Professor Robin Walters on a project, Hydrother-ML, that aims to improve computer models for underground fluid flow in volcanic and geothermal systems. The duo was recently awarded a $700,000 NSF grant to do so.
“Our goal is an AI system that is both fast and accurate,” Walters said. “So, we’re using something called geometric deep learning, or you might call it physics-aware learning, where we build certain invariances — so conservation laws — into the model to improve its physical fidelity.”

Existing models do not work well for hydrothermal systems: areas where hot water or steam circulate beneath Earth’s surface. These systems are at the heart of what Randolph-Flagg and Walters hope to better understand, a subject that is especially meaningful for Randolph-Flagg, who grew up in Hawaii, home to some of the world’s most frequently erupting volcanoes.
“I think there’s been a lot of productive work done by people doing atmospheric modeling and ocean modeling, and there’s just not been as much work done on the type of systems that I study,” Randolph-Flagg said. “Nobody’s been able to leverage some of the ideas about machine learning and symmetry in my field despite the critical importance of that.”

In climate modeling, for instance, simulations can be computationally intensive, and models often operate at a resolution that can’t accommodate the scale of the physical processes scientists are interested in. This challenge that applies to studying volcanoes, too.
“What a computer model does is cut up all of the earth into little boxes and then solve these complicated equations to figure out how fluids are moving from one box to the next box,” Randolph-Flagg said. “The challenge for climate modeling is that it’s really, really slow to calculate that for all of the different boxes.”
To counter the inefficiency, Walters and Randolph-Flagg propose integrating a new type of machine learning model. They hope to embed physical laws, such as the conservation of mass, to make predictions faster without sacrificing accuracy. By training the models on thousands of realistic simulations, the models will reproduce the simulations much more quickly. The approach takes advantage of patterns and symmetries in physical systems to reduce unnecessary computation, rather than simulating every part in equal detail.
“There’s a lot of inefficiency in the way that we’re cutting this up,” Walters said. “There’s a lot of intrinsic symmetry and lot of behavior in the physical system that you don’t actually need to resolve every single column.”
The strategy could also help address one of the most common challenges of AI: its tendency to hallucinate. When it comes to scientific modeling, hallucination errors can be particularly consequential, especially in rare scenarios.
Physics-based constraints provide a way to catch some of these errors. If a model begins producing a physically impossible result, the underlying laws can serve as a check against it.
“If the AI starts creating more fluid where there wasn’t before, then you know that it’s hallucinating,” Walters said.
Measures to test the AI’s outputs become crucial. They include relying on “geoscience intuition” to spot obvious red flags, as well as spectral analysis to examine the distribution of patterns and energy across different spatial scales. A model may produce an answer that looks plausible on the surface, but its spectral signature can reveal whether it is actually capturing the underlying physical behavior.
Unlike LLMs that were trained on vast volumes of data, volcanic data is relatively scarce.
Walters and Randolph-Flagg’s physics-based approach leans into that ostensible shortcoming, using known physical laws to help the model learn from less data.
Ultimately, by making simulations more efficient, the tool has the potential to transform the way machine learning is used by volcano researchers. Beyond helping scientists better predict the timing and magnitude of a volcanic eruption, the tool could give communities and emergency officials better information to prepare for hazards. The project will also support researcher training and bring these concepts into classrooms.
“The AI is staggeringly inefficient at learning. It can get there, but it needs a lot of data,” Walters said. “And so, we need to build a learning paradigm that can be as efficient as old-school, physical mathematical modeling, but can also be data driven the way AI is.”
“Rather than trying to describe one volcano, we’re trying to make models that are representative of the range of volcanoes that exist,” Randolph-Flagg said. “And rather than describing one type of hot spring, we’re trying to capture the full range of what is possible.”
The project’s software, datasets, and models will all be open source.
“Ultimately the goal would be for people and companies to take note of what Noah and I are doing, and these capabilities and lessons would be integrated into larger models,” Walters said. “When you do research that is easy to build on top of, people will build on top of it and use it more.”
The Khoury Network: Be in the know
Subscribe now to our monthly newsletter for the latest stories and achievements of our students and faculty