Dataset Viewer
Auto-converted to Parquet Duplicate
image_rgb
dict
ra
float64
0.01
359
dec
float64
-18.76
31
Galaxy10_DECals_index
int64
3
17.7k
label
int64
0
9
label_name
stringclasses
10 values
image_bands
listlengths
4
4
aion_embedding
list
embeddinggemma2_embedding
list
dinov3vitl_embedding
list
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nCz9WZMcybalB+6ts6pN7h4RADLz3HuKVe(...TRUNCATED)
341.343305
0.658176
3
0
Disturbed Galaxies
[[[0.0013442749623209238,0.003876767121255398,0.002023368375375867,0.0023809177801012993,0.004603006(...TRUNCATED)
[[0.035755809396505356,0.4951585531234741,-1.0126456022262573,0.496817946434021,0.05096080154180527,(...TRUNCATED)
[[-187.7677001953125,107.85151672363281,55.09958267211914,-124.51496887207031,10.998103141784668,37.(...TRUNCATED)
[[0.5860275030136108,-0.1825854480266571,-0.21606411039829254,0.388187974691391,-0.1517971158027649,(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nBz9R5MkW5YmiF1OlZmZsyBJKru6q6dkBj(...TRUNCATED)
349.189982
0.926543
4
0
Disturbed Galaxies
[[[0.0008358071791008115,0.0012464490719139576,-0.0007665198063477874,-0.00011103698489023373,0.0005(...TRUNCATED)
[[0.227536141872406,0.4106650948524475,-1.0473955869674683,0.5364125967025757,0.04528093338012695,0.(...TRUNCATED)
[[-202.45477294921875,129.8362579345703,42.92305374145508,-139.23545837402344,48.05263900756836,9.03(...TRUNCATED)
[[0.45410943031311035,-0.1569880098104477,-0.4099039137363434,0.17676560580730438,-0.381195455789566(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nGz953JkWZImCB5OLjUCwEmQzKyq7p2S3p(...TRUNCATED)
321.324714
0.177516
17
0
Disturbed Galaxies
[[[-0.0014458198565989733,-0.00013739545829594135,-0.00027979398146271706,-0.0018937833374366164,-0.(...TRUNCATED)
[[0.8794037103652954,0.30316808819770813,-0.34377235174179077,-0.15079960227012634,0.59638512134552,(...TRUNCATED)
[[-181.07955932617188,197.93946838378906,45.01310729980469,-197.7095184326172,45.35075378417969,76.7(...TRUNCATED)
[[0.3919306695461273,-0.19731801748275757,-0.20000752806663513,0.1800648719072342,-0.277233749628067(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nCz955JsWXaliy0ttnYZEUdlZhWqcNEkcY(...TRUNCATED)
331.300617
-0.809537
20
0
Disturbed Galaxies
[[[0.0012667671544477344,-0.00017407133418601006,-0.0005585731705650687,0.0005130006466060877,0.0000(...TRUNCATED)
[[0.03123849630355835,0.573006808757782,-1.1971478462219238,0.5644972324371338,0.08932366222143173,0(...TRUNCATED)
[[-136.0350799560547,44.39292907714844,71.80536651611328,-127.7314682006836,62.06284713745117,56.193(...TRUNCATED)
[[0.5378976464271545,-0.09146714955568314,-0.24245843291282654,0.021559590473771095,-0.2046709358692(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nCT9V5MlV5Ymim0tXPtREZECQKGqq7tHXg(...TRUNCATED)
132.180277
28.055105
35
0
Disturbed Galaxies
[[[0.00002321984175068792,0.0010438531171530485,-0.0018255123868584633,-0.001866628648713231,0.00023(...TRUNCATED)
[[0.8256704211235046,0.2908259928226471,-0.6468076109886169,0.22792242467403412,0.6124054193496704,-(...TRUNCATED)
[[-176.21737670898438,27.7643985748291,9.777457237243652,-98.10916137695312,21.194637298583984,28.90(...TRUNCATED)
[[0.4965527355670929,-0.22573360800743103,-0.40744248032569885,0.07434993237257004,-0.27103841304779(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nBz9564syYIeioVN77N81XLb9G5zzJwzQ1(...TRUNCATED)
244.393332
7.102846
39
0
Disturbed Galaxies
[[[0.004125889390707016,0.0042178453877568245,0.0035735953133553267,0.003872400615364313,0.004486736(...TRUNCATED)
[[0.2548714876174927,0.4468477964401245,1.2961318492889404,-0.29880642890930176,-0.4141688942909241,(...TRUNCATED)
[[-257.2857666015625,151.2589569091797,16.62325096130371,-136.0629425048828,48.226009368896484,35.31(...TRUNCATED)
[[0.44440653920173645,-0.11673305928707123,-0.2159239947795868,0.11940477043390274,-0.38704475760459(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nBz9R68tyZqmiZmbm2stl957bXlExImrM7(...TRUNCATED)
171.607971
1.334059
61
0
Disturbed Galaxies
[[[-0.00027453756774775684,0.00014867087884340435,0.0008841223898343742,0.0005832091555930674,-0.000(...TRUNCATED)
[[0.8850675225257874,0.13601189851760864,-0.7863842248916626,0.506406843662262,0.5199352502822876,-0(...TRUNCATED)
[[-120.16571044921875,20.100595474243164,21.745656967163086,-84.21879577636719,36.55171203613281,65.(...TRUNCATED)
[[0.47918733954429626,-0.1863040030002594,-0.49994727969169617,0.15543194115161896,-0.21811600029468(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nBz917IlWbaeic3pWmv3pdfaOnaoFJV1qo(...TRUNCATED)
243.212495
29.04338
79
0
Disturbed Galaxies
[[[0.0013316760305315256,0.0016773751704022288,0.00014047700096853077,-0.0007312960806302726,-0.0013(...TRUNCATED)
[[0.7266161441802979,0.15890872478485107,-0.7884122729301453,0.3704977035522461,0.5433576107025146,-(...TRUNCATED)
[[-257.2743835449219,116.11268615722656,25.535520553588867,-189.59706115722656,55.919498443603516,10(...TRUNCATED)
[[0.3471425473690033,-0.11409839987754822,-0.34053149819374084,0.19906096160411835,-0.29732286930084(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nBz9Z68kyXrnCZpyM9cydByZqrLU5b3NZk(...TRUNCATED)
193.719774
-0.502511
171
0
Disturbed Galaxies
[[[0.0018986384384334087,0.0005042063421569765,-0.0002801513473968953,0.0015076547861099243,0.001130(...TRUNCATED)
[[1.011695146560669,0.22323328256607056,-0.644342839717865,0.23967914283275604,0.4984046220779419,-0(...TRUNCATED)
[[-219.9099884033203,95.92454528808594,5.098010540008545,-181.87599182128906,11.527966499328613,76.3(...TRUNCATED)
[[0.4758211672306061,-0.0724124014377594,-0.293607234954834,0.13762728869915009,-0.3409503400325775,(...TRUNCATED)
{"bytes":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nBz919LtupaliwEk6D05OPz4/bTLbZ9ZWV(...TRUNCATED)
160.541514
3.974022
174
0
Disturbed Galaxies
[[[0.0002772480365820229,0.0003225110413040966,0.0011403083335608244,0.001508562359958887,0.00112470(...TRUNCATED)
[[0.9787940979003906,0.2553318440914154,-0.48766854405403137,0.35392141342163086,0.37703394889831543(...TRUNCATED)
[[-128.8306884765625,95.7325439453125,54.900054931640625,-121.39712524414062,66.17195892333984,68.52(...TRUNCATED)
[[0.5706340670585632,-0.1604016274213791,0.025887703523039818,0.05989784374833107,-0.270360231399536(...TRUNCATED)
End of preview. Expand in Data Studio

Galaxy10 AION-1 Benchmark β€” Test Patch Activations

This dataset preserves only the 796-row test split, with all original test columns unchanged, used to produce the Galaxy Morphology Classification results in the AION-1 paper (Table 2, Section 7.2.2).

Task

Classify galaxy images into 10 morphology classes from Galaxy Zoo DECaLS:

Label Class Name
0 Disturbed Galaxies
1 Merging Galaxies
2 Round Smooth Galaxies
3 In-between Round Smooth Galaxies
4 Cigar Shaped Smooth Galaxies
5 Barred Spiral Galaxies
6 Unbarred Tight Spiral Galaxies
7 Unbarred Loose Spiral Galaxies
8 Edge-on Galaxies without Bulge
9 Edge-on Galaxies with Bulge

Splits

Split Count Description
test 796 10% held-out evaluation set

These are the exact test indices used in the AION-1 paper. The training split is omitted.

Columns

Column Type Description
image_rgb image 256x256x3 uint8 RGB from Galaxy10_DECals.h5 (PNG)
ra float64 Right ascension (degrees)
dec float64 Declination (degrees)
Galaxy10_DECals_index int64 Row index into Galaxy10_DECals.h5
label int64 Morphology class (0-9)
label_name string Human-readable class name
image_bands binary 96x96 4-band (g,r,i,z) float32 cutout from Legacy Survey DR10

Reconstructing image_bands

The image_bands column stores float32 flux values as a nested list (4 bands x 96 x 96 pixels). To reconstruct:

import numpy as np
cutout = np.array(row["image_bands"], dtype=np.float32)  # (4, 96, 96)
# cutout[0] = g-band, cutout[1] = r-band, cutout[2] = i-band, cutout[3] = z-band

Using with AION-1

To tokenize with the AION codec and compute embeddings:

import torch
from aion.codecs import CodecManager
from aion.modalities import LegacySurveyImage
from aion.model import AION

codec_manager = CodecManager(device="cuda")
model = AION.from_pretrained("polymathic-ai/aion-base").to("cuda").eval()

cutout = np.array(row["image_bands"], dtype=np.float32)  # (4, 96, 96)
image_flux = torch.tensor(cutout).unsqueeze(0).to("cuda")
image = LegacySurveyImage(flux=image_flux, bands=["DES-G", "DES-R", "DES-I", "DES-Z"])
tokens = codec_manager.encode(image)
embeddings = model.encode({"tok_image": tokens["tok_image"]}, num_encoder_tokens=600)
patch_embeddings = embeddings  # (1, 576, 768); keep every spatial token
Model Accuracy (%)
EfficientNet 80.0
AION-B + MLP Probe 84.0
AION-L + MLP Probe 87.2
AION-XL + MLP Probe 86.5
DINOv2 + MLP Probe 71.4
ZooBot + MLP Probe 89.6
Human (Author N.K.) 90.1
GPT-4.1-mini (zero-shot + judge) 50.8

Data Sources

The underlying image data is from the DESI Legacy Imaging Surveys and Galaxy Zoo, subject to their respective data-use policies.

Final-layer patch activations

The following float32 columns retain every spatial token in row-major order. No image-level pooling or additional L2 normalization is applied.

Column Shape per image Spatial grid Activation
aion_embedding 576 Γ— 768 24 Γ— 24 polymathic-ai/aion-base: unpooled AION.encode() output after encoder block 12, final normalization, context projection, and positional addition. Input is the original 4 Γ— 96 Γ— 96 image_bands, ordered DES-G, DES-R, DES-I, DES-Z.
embeddinggemma2_embedding 256 Γ— 768 16 Γ— 16 google/embeddinggemma-2: image-token entries in last_hidden_state, after text-encoder layer 24, final RMSNorm, and the 512β†’768 projection. All special and padding tokens are excluded. The default 280-soft-token maximum yields 256 actual image tokens for square images; no task prompt is used.
dinov3vitl_embedding 196 Γ— 1024 14 Γ— 14 facebook/dinov3-vitl16-pretrain-lvd1689m: final-layer, model-normalized patch entries in last_hidden_state after block 24. The CLS token and four register tokens are excluded. The published RGB processor resizes to 224 Γ— 224.

EmbeddingGemma 2 and DINOv3 use the original image_rgb values with their published processors. The model's internal final normalization is retained; no extra vector normalization is applied.

These patch activations support fitting block-sparse featurizers as described in Structuring Sparsity: Block-Sparse Featurizers Capture Visual Concept Manifolds. Each image remains one dataset row; flatten the first two tensor axes across rows when assembling per-patch training matrices. Spatial grids are retained for concept maps. The paper's DINO experiment uses ViT-B; this dataset uses the requested ViT-L checkpoint.

import numpy as np
from datasets import load_dataset

test = load_dataset("astronolan/galaxy10-aion-embedded", split="test", streaming=True)
row = next(iter(test))
aion = np.asarray(row["aion_embedding"], dtype=np.float32)  # (576, 768)
gemma = np.asarray(row["embeddinggemma2_embedding"], dtype=np.float32)  # (256, 768)
dino = np.asarray(row["dinov3vitl_embedding"], dtype=np.float32)  # (196, 1024)

Pinned revisions

Source dataset: astronolan/galaxy10-aion@81afc8d8b83555a51e0e43260a5dae4c4e4db7df.

  • polymathic-ai/aion-base@40541618104bab0fa85c8af68daeb867a720bb8c
  • google/embeddinggemma-2@914f7f89142e33e77833254d9c9b90c3cef7303b
  • facebook/dinov3-vitl16-pretrain-lvd1689m@ea8dc2863c51be0a264bab82070e3e8836b02d51
Downloads last month
26

Papers for astronolan/galaxy10-aion-embedded