Alibi: Can any universe explain this map?

Sachin Konan, Princeton University

FAIR Universe Weak Lensing Challenge, NeurIPS 2026

One simulated weak-lensing map with shape noise and the survey mask

Weak lensing maps the matter in front of distant galaxies

Matter bends the light of distant galaxies.

Each galaxy’s image is stretched by about 1%.

From millions of shapes, astronomers build a map of the matter in between.

The stretching is exaggerated here. The map is a real patch from the challenge.

Differences between universes can hide a distortion

Left, the same patch of sky in three normal universes. Right, the first map distorted three ways.

The task is to flag the distorted maps. The score is the share of them caught while flagging only 0.1% to 5% of normal maps.

0% catches none. 100% catches all. Guessing catches about 1%.

Normal maps form a family, one group per universe

Summarize each map by a few hundred statistics. Each map becomes a point.

One universe gives one group of points.

As the 5 parameters change, the groups trace out a sheet.

Drawn in 3 of the hundreds of dimensions.

Looking for unusual maps misses distortions

Classical anomaly detection draws one cloud around all normal maps.

A distorted map can sit inside the cloud.

A rare but normal universe sits at its edge.

On distortions we simulated, this catches 1% to 13%.

Alibi makes three checks

A map is suspect until some universe can explain it. That universe is its alibi.

1  Misfit. Does the map have an alibi, a universe that explains it?

2  Agreement. Do different views of the map give the same alibi?

3  Trained detector. Does the map resemble a distortion we simulated?

Each check is there because the one before it can be fooled.

1 Misfit  ·  2 Agreement  ·  3 Trained detector

Find the universe that explains the map best

Networks predict each statistic’s typical value and spread, for any parameters.

We freeze them and fit the map’s 5 parameters by gradient descent.

The score is what stays unexplained.

1 Misfit  ·  2 Agreement  ·  3 Trained detector

The gap between predicted and measured statistics

Each dot is one statistic. Its height is measured minus predicted, in units of the predicted spread.

As the fit runs, the dots of a normal map settle inside the grey band.

For a distorted map, some stay outside. Their squared gaps add up to the misfit.

a normal map

the same map with 5% more noise

misfit

1 Misfit  ·  2 Agreement  ·  3 Trained detector

The same check, applied to what a denoiser removes

A real map as observed, the denoised map, and the difference between them

For a normal map, what a denoiser removes is plain noise. We turn it into statistics and check their misfit too.

The largest single gain: 8 more points of distorted maps caught.

1 Misfit  ·  2 Agreement  ·  3 Trained detector

But a distortion can fake a change of universe

Pushed off the sheet,
a map keeps a misfit.

Pushed along the sheet, it looks like another universe, and the fit follows.

One simulated distortion is caught 74% of the time with the true parameters, 4% after fitting.

So a good fit is not proof. We need a second check.

1 Misfit  ·  2 Agreement  ·  3 Trained detector

Different views of a map must agree

We fit the parameters separately from different scales, statistics and networks.

A normal map gives compatible answers.

A distortion pulls each view toward a different universe.
The gap is the score.

one view

another view

1 Misfit  ·  2 Agreement  ·  3 Trained detector

Some distortions move every view the same way

A normal map and five simulated distortions of it

Then the views still agree.
So we train a network on 14 kinds of distortion that we simulate.

Three checks, one score

checkquestionweight
1 MisfitCan any universe explain the statistics, including the denoiser’s?40%
2 AgreementDo different views give compatible parameters?30%
3 Trained detectorDoes the map resemble a simulated distortion?30%

Ten scores in all. Each is put on one scale using normal maps, then averaged.

Second of 17 on distortions never seen before

Alibi catches 45% on the final test. The winner catches 47%.

9th on the public test, 2nd on the final.

Second-smallest drop of all entries.

Share of distorted maps caught on the public test against the final test, for all 17 entries

Built in two days of parallel experiments

Each idea became a study with its own hardware. Up to six studies ran at once, and the TPU chips trained 16 models at a time.

Me + Claude Code

denoiser

agreement

trained detector

new statistics

diffusion model

literature search

16 TPU chips,
one model per chip

shared GPU node
for fits and checks

about 150 experiments

9 leaderboard submissions

Withheld cosmologies helped, with a blind spot

We retrained without 20 of the 101 cosmologies and tested on them.

This checks new universes, not new kinds of distortion.

At the end our check preferred a change the leaderboard rejected.

Our check on withheld cosmologies against the public leaderboard, in percent caught

Fuzzy dark matter still fools Alibi

It erases small structure, as gas blown out of galaxies does.

Every view moves the same way along its sheet. The fit absorbs it and the views agree.

Alibi catches about 15% of these maps. The winner catches 26%.

one view

another view

Summary

Alibi scores what no normal universe can explain in a map.

Agreement between views and a trained detector cover what the fit absorbs.

It caught 45% of distorted maps on the final test, second of 17.

Fuzzy dark matter remains open.

github.com/SachinKonan/FAIR-Universe-2026-Competition-Submission

Backup: how the misfit is computed

candidate universepredicted peaksmap is off bymisfit
high clumpiness300 ± 203.0 spreads7.5
medium250 ± 180.6 spreads3.0
low clumpiness180 ± 154.0 spreads10.7

A map with 240 peaks. Misfit = ½ × (spreads off)² + log(spread). The fit picks the lowest row.

With hundreds of statistics, a distorted map has no row that fits them all.

Backup: what each parallel study found

parallel studyoutcome
agreement between viewskept
denoiserkept, largest gain
trained detectorkept
new statistics2 of 7 kept
diffusion modeldropped
28-model ensemblesno gain
search over 47 statistics1 kept

Backup: the public test, step by step

Share of distorted maps caught on the public test after each step, from 53% to 70%
← Sachin Konan