Skip to main content

How NASA is using AI on the Perseverance rover to study Mars rocks

Space engineers have been using AI in rovers for some time now — hence why today’s Mars explorers are able to pick a safe landing site and to drive around a region autonomously. But something they haven’t been able to do before now is to do science themselves, as most of that work is done by scientists on Earth who analyze data and point the rover toward targets they want to investigate.

Now, though, NASA’s Perseverance rover is taking the first steps toward autonomous science investigation on Mars. The rover has been testing out an AI capability for the last three years, which allows it to search for and identify particular minerals in Mars rocks. The system works using the rover’s PIXL instrument (Planetary Instrument for X-ray Lithochemistry), a spectrometer that uses light to analyze what rocks are made of. The software, called adaptive sampling, looks though PIXL’s data and identifies minerals to be studied in more detail.

“We use PIXL’s AI to home in on key science,” explained PIXL’s principal investigator, Abigail Allwood of NASA’s Jet Propulsion Laboratory, in a statement. “Without it, you’d see a hint of something interesting in the data and then need to rescan the rock to study it more. This lets PIXL reach a conclusion without humans examining the data.”

The system runs on board the rover, with no intervention from Earth required. That means it saves on precious time, not only by choosing targets for the scientists but also because it doesn’t require lengthy communication times.

“The idea behind PIXL’s adaptive sampling is to help scientists find the needle within a haystack of data, freeing up time and energy for them to focus on other things,” said Peter Lawson, one of the developers of the software. “Ultimately, it helps us gather the best science more quickly.”

The AI system works by taking data from PIXL, then repositioning the instrument (which is mounted on Perseverance’s arm) using its camera so it can get in close to take a detailed reading without hitting the rock. You can see the system in action in a (kind of adorable) video of an Earth-based model of PIXL. The system will take a reading from one small patch of rock, and if it finds indications of minerals that are interesting to science, it can automatically collect more data on that area.

“PIXL is kind of a Swiss army knife in that it can be configured depending on what the scientists are looking for at a given time,” said David Thompson, who helped develop the software. “Mars is a great place to test out AI since we have regular communications each day, giving us a chance to make tweaks along the way.”

Georgina Torbet
Georgina is the Digital Trends space writer, covering human space exploration, planetary science, and cosmology. She…
NASA’s Mars Odyssey Orbiter just reached a major milestone
NASA's Mars Odyssey Orbiter.

NASA's Mars Odyssey Orbiter NASA

NASA’s Mars Odyssey Orbiter is one of seven currently circling the red planet (three of them belonging to NASA), capturing imagery and performing tasks from way up to help scientists learn more about the fourth planet from the sun.

Read more
Mushroom houses: NASA wants to grow its own Mars habitats from fungi
A stool constructed out of mycelia after two weeks of growth. The next step is a baking process process that leads to a clean and functional piece of furniture.

Bricks produced using mycelium, yard waste, and wood chips as a part of the myco-architecture project. Similar materials could be used to build habitats on the Moon or Mars. NASA

When future astronauts set out for the moon or for Mars, they'll need some shelter. And while you might imagine cities on other planets being made of steel, or glass, or some high-tech carbon fiber compound, NASA has other ideas. The agency is funding research into growing their own habitats out of fungi.

Read more
This is how a NASA astronaut will swab the ISS exterior for microbes
An animation showing a preview of NASA's first spacewalk of 2024.

Two astronauts will soon be embarking on NASA’s first spacewalk of 2024 at the International Space Station (ISS).

Today, Americans Tracy C. Dyson and Matt Dominick will conduct some maintenance work and also swab exterior surfaces on the station’s Destiny and Quest modules for analysis that should determine whether microorganisms released through station vents can survive the external, and very hostile, microgravity environment.

Read more