~/aixsci
weekly updates

fields/astronomy/model families

Random forests in astronomy and astrophysics

How random forests, a method that pools the votes of many simple decision trees, are used in astronomy and astrophysics to sort objects and events in sky survey data.

How it is used

Astronomy works almost entirely by collecting light. Telescopes record how bright an object is in different colour bands, how that brightness changes over time, and how its light splits into a spectrum. Astrophysics then asks what kind of object or explosion produced those measurements. A random forest takes a fixed list of measured numbers for one object and returns a label or a probability. In the examples it decides whether a new alert is a type Ia supernova, the exploding remains of a white dwarf star; whether a faint object is a cool T or Y dwarf; what type a white dwarf is; and whether a simulated stellar core explodes at all.

The numbers fed in are usually prepared by hand first. One example fits a smooth rising curve to the changing brightness and passes the fit's parameters, its goodness of fit, the average signal strength and the count of observations. Another turns three infrared brightnesses into colour differences between the bands. Another feeds the coefficients that describe a spacecraft's spectrum directly, without converting them to physical flux. Simulation-based work supplies labels: suites of collapse and explosion models, or synthetic light curves and gravitational waveforms, give known answers to train on.

Why researchers use it

Surveys now produce far more candidate objects each night than anyone can inspect or follow up with a spectrograph, the instrument that spreads light into its component wavelengths and gives the firmest identification. A random forest is cheap to train, runs quickly on each new alert and returns a probability, so it can rank candidates for scarce telescope time. The examples use it this way inside an alert stream, and for picking rare cool dwarfs out of a wide survey.

It also tolerates the conditions astronomical data usually arrive in: a modest number of hand-built features, small or awkward training sets, and labels borrowed from simulations or catalogues. One example starts from a few dozen labelled light curves. Because each tree splits on one measurement at a time, the method handles features on different scales without much preparation, and it stands in for a human expert reading a light curve or a colour diagram.

In the record

Limits

A random forest only sees the features it is given, so the hand-built summaries carry most of the astrophysics, and anything they omit is invisible to it. Labels often come from simulations or existing catalogues, which inherit their assumptions and their gaps: rare or unexpected objects may be absent from training and so get sorted into a familiar class with a confident probability. Early alerts carry few observations, making features noisy. The output is a label or probability, not an explanation, and it cannot replace a spectrum for identification.

Written by AIxSci: the background from general knowledge, the examples from checked records.

Related

Every article

aix-00271

Machine learning predicts galaxy 'relicness' from survey measurements, cutting spectroscopy demand

property predictionclassification

astronomy · ai-result · Monthly Notices of the Royal Astronomical Society · 2026

aix-00227

Machine learning sifts a million candidate moving objects to find 258 new cool stars

classification

astronomy · ai-result · Astronomy and Astrophysics · 2025

aix-00235

Random forest sorts 130 million Magellanic Cloud sources into ten classes

classification

astronomy · ai-result

aix-00238

Classifiers label individual TESS brightness readings as planet transits or not

classificationdetectionanomaly detection

astronomy · ai-result · arXiv · 2026

aix-00129

Neural networks sort supernovae and estimate their distances from brightness alone

classificationproperty predictiondenoising

astronomy · ai-result · arXiv · 2024

aix-00122

Random Forest sorts 9,446 white dwarfs by type from Gaia spectra

classification

astronomy · ai-result · Astronomy and Astrophysics · 2023

aix-00080

Machine learning sifts three-colour infrared survey data for cold brown dwarfs

classificationproperty prediction

astronomy · ai-result · arXiv · 2024

aix-00049

Eight machine learning methods sorted supernova gravitational wave signals by nuclear physics model

classification

astronomy · ai-result · Machine Learning Science and Technology · 2024

aix-00039

Machine learning predicts whether a dying massive star explodes, from its density profile

classification

astronomy · ai-result · The Astrophysical Journal Letters · 2022

aix-00018

Telescope targets chosen nightly by a classifier learning from its own spectra

classificationexperimental design

astronomy · ai-result · Publications of the Astronomical Society of Australia · 2025