This AI Analyzes Spacetime Distortions 10 Million Times Faster Than Current Methods

It's stronger evidence that AI can really improve how we do science.

9. 3. 17 by Dom Galeon
SLAC National Accelerator Laboratory

A Fraction of a Second

Gravitational lensing is a curious phenomenon. Not only does it demonstrate properties associated with the invisible dark matter, gravitational lensing is a distortion or bending of spacetime that was one of the predictions in Einstein’s general theory of relativity. Due to their uniqueness and what they can tell us about the universe, astronomers continue to study images showing gravitational lensing.

To do this faster, researchers may turn to artificial intelligence (AI). “Analyses that typically take weeks to months to complete, that require the input of experts and that are computationally demanding, can be done by neural nets within a fraction of a second, in a fully automated way and, in principle, on a cell phone’s computer chip,” postdoctoral fellow Laurence Perreault Levasseur said in a press release.


Levasseur is a co-author of a study published in Nature that discusses the work of a team from the Kavli Institute for Particle Astrophysics and Cosmology (KIPAC), a joint effort by the U.S. Department of Energy’s SLAC National Accelerator Laboratory and Stanford University.


The researchers used an artificial neural network trained by being exposed for almost a day to half a million simulated images of gravitational lenses. These were then shown actual images of new gravitational lenses, and it was able to analyze the distortions 10 million times faster than traditional methods.

This is significant because while the traditional method weeks or a month just to analyze one lens using computer simulations and mathematical models, the same can be done by AI in less than half a second.

“The amazing thing is that neural networks learn by themselves what features to look for,” co-author and KIPAC staff scientist Phil Marshall said. “This is comparable to the way small children learn to recognize objects. You don’t tell them exactly what a dog is; you just show them pictures of dogs.”

The Perks of AI

Gravitational lensing occurs when light from an observed distant source bends or appears distorted because of some distribution of matter, usually galaxy clusters, between the source and Earth. This lensing or distortion of spacetime gives us clues about how mass can be distributed in space, which also changes over time.



The SLAC study isn’t the first time researchers have turned to AI to study gravitational lensing. Previous works included having a neural network identify if an image showed gravitational lensing or not. The new study went beyond this. “The neural networks we tested – three publicly available neural nets and one that we developed ourselves – were able to determine the properties of each lens, including how its mass was distributed and how much it magnified the image of the background galaxy,” lead author Yashar Hezaveh explained in the press release.

Interestingly, the researchers also used the same neural networks to figure out the uncertainties of their study. They published this second paper in the Astrophysical Journal Letters.

There’s no doubt that AI systems are trained to do things better than humans do, be it in ancient boardgames or modern video games. In becoming better than us in certain tasks, AI can help us do a number of things better — whether it be in driving cars or in facilitating various fields of research.


Care about supporting clean energy adoption? Find out how much money (and planet!) you could save by switching to solar power at By signing up through this link, may receive a small commission.

Share This Article

Keep up.
Subscribe to our daily newsletter to keep in touch with the subjects shaping our future.
I understand and agree that registration on or use of this site constitutes agreement to its User Agreement and Privacy Policy


Copyright ©, Camden Media Inc All Rights Reserved. See our User Agreement, Privacy Policy and Data Use Policy. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Futurism. Fonts by Typekit and Monotype.