TL;DR
Space telescopes often suffer from complex, glowing "stray light" reflections from the Earth and Moon that obscure faint stars—and because you can't just turn the universe off to photograph this glare in isolation, standard AI denoising fails. This paper flips the problem on its head with BEAM, a generative framework that learns what clean star fields look like instead, using that knowledge to sculpt away noise after an image is taken and even forecast glare months in advance. In fact, NASA recently used BEAM to aim the TESS space telescope, successfully steering a once-in-a-lifetime observation of an interstellar comet out of blinding glare.
What Problem Does This Paper Address?
Imagine trying to photograph fireflies while someone shines a flashlight across your camera lens at shifting angles. This is daily life for NASA’s Transiting Exoplanet Survey Satellite (TESS). As TESS orbits, sunlight reflecting off the Earth and Moon bounces through its optics, creating complex, glowing patterns of "stray light" across its images.
Standard supervised machine learning needs paired data (the exact same image with and without glare), which doesn't exist here—you can't photograph the glare without the stars behind it. Classical spatial filters try to blur out broad shapes, but because stray light overlaps with astrophysical signals at similar scales, filters accidentally swallow up starlight too. Sometimes, pipelines simply throw away contaminated frames altogether, losing real exoplanet transits in the process.
Methods
The authors propose BEAM (Background Estimation via Additive Modeling), operating on a simple additive premise: Observed Image ($Y$) = Structured Noise ($X$) + Clean Signal ($S$). BEAM tackles two distinct tasks using U-Net backbones:
- Post-Observation Cleaning (The Role Reversal): Usually, generative inverse methods model the noise likelihood. Here, isolated noise is unavailable, but clean star fields are abundant whenever the Earth and Moon dip below TESS’s sunshade. BEAM trains a score-based generative model (via denoising score matching) on clean star patches to learn the gradient of the log-density of clean signals ($\nabla_s \log p_S$). To clean a noisy image, it starts with a rough classical median-filter guess of the glare and refines it using annealed Langevin dynamics—iteratively nudging the noise estimate until subtracting it from the observation leaves behind something that mathematically looks like a crisp, plausible star field.
- Pre-Observation Forecasting: Stray light isn't random; it is dictated by geometry. Using conditional flow matching, BEAM trains a second model to predict the 2D glare pattern purely from a 12-parameter geometric metadata vector (angles and distances of the Earth and Moon relative to the spacecraft), using median-filtered historical images as approximate training targets.
Datasets
The authors construct their training and evaluation data from archival TESS Full-Frame Images (FFIs) calibrated by the TESS Image CAlibrator (TICA), splitting data temporally by orbit to ensure the models generalize to unseen geometries:
- Clean Signal Data: $256 \times 256$ patches extracted from FFIs where the Earth and Moon were at least $5^\circ$ below the TESS sunshade.
- Approximate Noise Targets & Metadata: Observed TESS images processed with a median filter and background subtraction to suppress stars, paired with spacecraft–Earth–Moon ephemeris data.
- Evaluation Benchmarks: Held-out contaminated frames from TESS Sector 30 (Camera 3) cross-matched with 1,651 stars from the TESS Input Catalog (TIC), alongside real-world observations from Sector 1751 of the interstellar comet 3I/ATLAS.
Key Insights and Ideas
- Flipping Signal and Noise: If you can't sample the noise to learn what it looks like, sample the clean signal instead. Under an additive model, a generative prior over clean stars directly acts as a likelihood function for candidate noise fields ($p_{Y|X}(y|x) = p_S(y - x)$).
- Don't Throw Out Classical Tools—Anchor With Them: Classical median filters leak stellar flux, but they get the broad strokes right. Initializing Langevin dynamics at a classical estimate gives the generative model a massive head start, letting it focus purely on fixing subtle starlight leakage.
- Prospective Telescope Scheduling: Because orbital geometry is computable months in advance, generative flow matching turns noise modeling from a post-hoc cleanup chore into a mission planning tool—especially vital for moving or transient targets where you only get one shot.
Key Results
- Sharper Glare Forecasts: Across held-out orbits, BEAM’s geometry-only predictions outperformed a deterministic CNN baseline in per-image MSE and achieved lower shape error in 97% of test samples, retaining fine-scale spatial power where the CNN produced blurry averages.
- Cleaner Stellar Photometry: Evaluated on 1,651 stars across 440 contaminated frames, BEAM improved photometric precision (scatter) by 36% over Nebuliser (the current TESS pipeline spatial filter) and 66% over raw images when using standard local background subtraction. Without local background subtraction—isolating the cleaner's raw performance—BEAM slashed flux bias by 3× compared to Nebuliser.
- Saving Interstellar Comet 3I/ATLAS: Before TESS observed 3I/ATLAS in January 2026 (just before the comet exited the solar system forever), BEAM forecasted stray light from orbital geometry alone to guide NASA's telescope pointing. BEAM predicted < 0.54 counts/s of glare along the chosen track; actual observations months later measured 0.64 counts/s, safely tucking the comet into a dark pocket with 470× less glare than the brightest part of the frame (> 300 counts/s).
Limitations and Future Work
Even after BEAM’s cleaning, contaminated frames don't quite match true clean-frame quality: photometric scatter remains 4.8× higher (61.4 ppt vs. 12.8 ppt) with a lingering +8.8 ppt flux bias. The authors attribute this to non-additive TESS camera quirks—like reflective CCD straps—that violate the simple $Y = X + S$ model, making richer physical observation models a natural next step. Looking ahead, the authors aim to adapt BEAM to agile, targeted observatories like JWST and ground-based telescopes, where Moon and atmospheric glow can be forecasted to dynamically schedule observations on the fly.
Summary updated