The light of a star is stretched into a rainbow band. Dark lines — scars from absorbed elements, bright peaks — traces of hot gas. That’s a spectrum, the astronomer’s key piece of evidence. Cecilia Payne-Gaposchkin was the first to read that almost all stars are made of hydrogen. Subrahmanyan Chandrasekhar glimpsed a limit: a white dwarf heavier than 1,4 solar masses inevitably collapses. Today, telescopes churn out millions of spectra. Searching them for rare objects is like looking for a needle in a haystack.
Spec-o3 approaches the haystack with a digital magnifying glass. It’s a Machine Learning agent based on the Qwen2.5-VL model, which zooms in on any part of a spectrum via an interactive visualization. It doesn’t just classify — it reasons out loud. It points the magnifying glass at suspicious wavelengths, analyzes what it sees, and records each step. Thus an inspection trajectory is born — a complete logical path from question to diagnosis.
Training unfolded in two stages. Cold start: a thousand expert trajectories where the model learned to call up the magnifying glass at the right time and interpret details. Then — reinforcement learning. A correct answer brought a reward; a mistake, a penalty. The agent discovered strategies that its teachers never demonstrated. It learned to be cunning.
Its trial by fire was the SpecVI-Bench test. Spec-o3-7B scored a macro-F1 of 76,5%, beating the specialized GaiaNet (64,9%) and the commercial o3 (52,3%). But there’s a bigger story: the agent explains its decisions. It doesn’t hide behind probabilities; it lays out a chain of reasons.
How does it think? For a white dwarf, the tell-tale sign is broadened lines. Enormous gravity squeezes atoms, blurring quantum levels. The matter is packed so densely that a teaspoon would weigh five tons. Spec-o3 searches for exactly that signature. Cataclysmic variables give themselves away differently: broad emission lines of the Balmer series. Hot gas swirls in an accretion disk; the Doppler effect smears the rotation into the line wings. For stars with anomalous composition — carbon giants — the agent aims for molecular bands of C₂ and ZrO.
And once, on spectra of quasars — which it was never trained to handle — it achieved an F1 of about 72%. That’s zero-shot generalization. The model applies logic to unfamiliar objects.
Transparency transforms the workflow. The astronomer gets not a black box but a verifiable chain of steps. Catalogs of rare objects grow faster. That means theories of stellar evolution and accretion physics advance faster.
Expansion lies ahead. The architecture is open: soon Spec-o3 will be able to look not only at spectra but also at light curves, images, and proper motions. A confidence mechanism will hand off doubtful cases to a human. Data from LAMOST, DESI, 4MOST will flow through the agent like a smart filter. The drudgery of screening will become a background task.
The digital magnifying glass ceases to be just a tool. It becomes a partner with whom the astronomer examines the faintest and rarest sparks in a boundless sea of data. And who knows what other patterns, which have eluded the human eye, it will help uncover — perhaps beyond the known horizon lie keys to understanding the most mysterious explosions in the Universe.
An expert spends 10 seconds on one spectrum. A million candidates means three years of uninterrupted work. Spec-o3 on a server with 8 H100 GPUs processes them in 2,3 days.
In Arthur C. Clarke’s “Rendezvous with Rama,” astronomers manually combed through photographic plates searching for asteroids. Spec-o3 does the same for spectra, leaving only the unusual finds to humans.