← deltasata.github.io
Interactive · rare-event detection in a live image stream

Catch the rare event, one image at a time.

A telescope revisits the same patch of sky at irregular times, and each visit returns one image in one of four colour filters. Very rarely the stream contains a gravitationally lensed supernova; far more often, a look-alike. OASIS is a transformer that updates its verdict after every new image, using only the images that have actually arrived: no fixed grid, no zero-padding, no peeking at the future.

82%of lensed SNe flagged after 7 images, at 1 false alarm per 10,000
30%lower loss than the recurrent baseline
75%of a fixed band × time grid is zero-padding that OASIS never needs
7transformer architectures, each trained ~10 times

01Play a stream

day 0.0
image 1 / 14simulated
Arrivals by filter · true time axis
days since first detection
1 / 14 images
space play / pause · ← → step · Home End first / last

02What the model gets to work with

4slots so far 1real image 3zero-padded 75%empty
real imageempty slot, filled with zeros

A recurrent grid model (the ConvLSTM+LSTM baseline) expects all four filters at every step. Each new image fills one slot; the other three are padded with zeros, so 3 of every 4 inputs carry no information. After 14 images: 56 slots, 42 empty.

03Live results · after 1 image

Test-set statistics over ~88,000 simulated streams, synced to the player. Not a score for the stream being played.

0.4%of lensed SNe flagged by OASIS, with only 1 false alarm per 10,000 look-alikes
OASIS (A2), early-warning rateclick a point to jump

False alarms when tuned to catch 80% of lensed SNe

Share of each look-alike population wrongly flagged after 1 image(s). Log scale; lower is better.

OASIS (A2)ConvLSTM+LSTM baselinenone in test set

Seven OASIS designs vs the baseline

Ranking quality (AUC, 1.0 = perfect) vs images seen. From the second image on, factorized attention (space, then time) matches or beats every joint space-time design; all except flat joint B1 stay above the baseline throughout.

factorized A1–A3 joint B1–B3 baseline

Decide after every frame

A fresh probability after each new image, not after the stream ends. For rare, short-lived events, early alerts are what make follow-up possible.

Irregular, multi-sensor input

Frames arrive at uneven times from four different filters. The model takes the stream as it comes, with real timestamps, instead of forcing it onto a schedule.

No imputation

A grid model must invent values for 75% of its inputs. Attention works directly on the observations that exist, so nothing is filled in.

Beyond astronomy

The same shape of problem appears wherever images arrive irregularly from several sensors and a decision cannot wait for the full sequence.

How OASIS works, in five lines

Tokens. Each image is cut into a 9 × 9 grid of patches; every patch becomes a token tagged with its filter and its exact arrival time.

Space, then time. Attention first mixes the 81 patches within an image, then lets each patch position look at the same position in earlier images. A causal mask forbids looking ahead.

Readout. In the best design (A2), one learned query per time step reads the tokens visible so far and outputs the probability of a lensed SN.

Training. The loss is applied after every image, so every partial stream is a valid prediction point. All seven designs share one recipe; only the architecture changes.

Evaluation. All numbers on this page are held-out test-set statistics from the paper; the streams shown are real simulated test examples, but no per-stream score is shown.