SEMASIA: A Large-Scale Dataset of Semantically Structured Latent Representations
Paper • 2605.09485 • Published
id int64 | objects dict | captions large list | captions_ids large list | license int64 | coco_url large_string | flickr_url large_string | model_name large_string | embedding list |
|---|---|---|---|---|---|---|---|---|
147,328 | {
"id": [
152628
],
"area": [
85550.11445000001
],
"bbox": [
[
39.90999984741211,
97.08000183105469,
511.2799987792969,
326.8299865722656
]
],
"label": [
4
],
"iscrowd": [
false
]
} | [
"Motorcycle parked out on the path at the state park",
"a black and silver parked motorcycle a sign and trees",
"The motorcycle is next to a wood sign.",
"A motorcycle sitting on the pavement at Powhatan State Park.",
"A very sunny day at the state park for a motorcycle ride. "
] | [
366767,
370355,
371099,
376940,
379604
] | 1 | http://images.cocodataset.org/train2017/000000147328.jpg | http://farm4.staticflickr.com/3788/9236783325_8d51a28914_z.jpg | aimv2_1b_patch14_224.apple_pt | [
-1.369724988937378,
-0.16052654385566711,
-0.9125256538391113,
-0.8311527371406555,
-0.0010098814964294434,
0.21005746722221375,
0.08211344480514526,
-0.5117572546005249,
-0.5673619508743286,
-0.20563113689422607,
-0.10679042339324951,
0.6653339862823486,
0.1836237758398056,
-0.23874019086... |
414,738 | {
"id": [
341560,
425599,
1982651
],
"area": [
632.9258500000003,
82680.72434999997,
12868.869650000002
],
"bbox": [
[
265.05999755859375,
126.02999877929688,
33.86000061035156,
66.26000213623047
],
[
20.600000381469727,
1.070000052452087... | [
"a person wearing Levi jeans is holding a toothbrush",
"A person holding a toothbrush in his hand.",
"a man holding a brush standing in a room",
"A person is holding a toothbrush in a bathroom. ",
"A man standing in front of a counter holding a tooth brush."
] | [
543668,
545657,
547562,
547769,
548360
] | 4 | http://images.cocodataset.org/train2017/000000414738.jpg | http://farm4.staticflickr.com/3056/2757832548_5d28858afb_z.jpg | aimv2_1b_patch14_224.apple_pt | [
-0.6200768947601318,
-0.3611692190170288,
-0.7755870819091797,
0.8380556106567383,
-0.7618973255157471,
-0.35534435510635376,
-0.1198640763759613,
-0.6442378163337708,
-0.23217755556106567,
-0.36721888184547424,
1.1769380569458008,
-0.15828217566013336,
0.3036140203475952,
0.72246295213699... |
281,563 | {
"id": [
435260,
474294,
517321,
562804,
565540,
1042342,
1044205,
1045269,
1045368,
1046442,
1046668,
1245662,
1370458,
1542652,
1899986,
2110381,
2110889,
2110962,
2160368,
2186237
],
"area": [
12333.025599999999,
11494.345... | [
"A woman with a bowl of bananas on her head.",
"A woman stares at the camera with a basket of bananas on her head.",
"A woman with a bucket on her head filled with bananas. ",
"a woman walking around with a bushel of bananas on her head",
"A women on a busy street carrying a metal bowl full of ripe plantain... | [
610058,
611108,
614396,
615128,
617981
] | 2 | http://images.cocodataset.org/train2017/000000281563.jpg | http://farm3.staticflickr.com/2563/4344277744_ae0c9c76b2_z.jpg | aimv2_1b_patch14_224.apple_pt | [
-1.925913691520691,
-1.5089917182922363,
-0.14456909894943237,
0.3243640065193176,
2.7305126190185547,
-0.5647070407867432,
-1.3316974639892578,
0.29018503427505493,
0.579439640045166,
-0.02290695160627365,
-0.6750432252883911,
-0.21092122793197632,
0.6454206705093384,
-1.3100248575210571,... |
63,879 | {
"id": [
336129,
674780,
1142474,
1145089,
1158532
],
"area": [
4737.597749999999,
4254.8196499999995,
2210.926700000001,
4068.0025500000015,
2373.64885
],
"bbox": [
[
467.8900146484375,
55.63999938964844,
101.25,
49
],
[
364.6... | [
"A shelf with a written note on the wall, a small organization drawer set, various office supplies and a clock and photo on the wall.",
"A view of a corner of a desk with some items.",
"A shelf filled with a plastic storage unit and an alarm clock next to other office supplies.",
"A shelf containing books, st... | [
133790,
135701,
136748,
142106,
142115
] | 1 | http://images.cocodataset.org/train2017/000000063879.jpg | http://farm4.staticflickr.com/3004/2727611872_a9c818e566_z.jpg | aimv2_1b_patch14_224.apple_pt | [
-0.4757474958896637,
0.5231743454933167,
0.2911281883716583,
0.24699610471725464,
0.24603693187236786,
-0.3935686945915222,
0.7735550999641418,
0.33445626497268677,
-0.25578126311302185,
-1.1248050928115845,
-0.08039587736129761,
-0.21587884426116943,
-0.557266116142273,
0.1796289682388305... |
531,349 | {"id":[164213],"area":[180817.83764999997],"bbox":[[70.47000122070312,106.43000030517578,512.0,431.4(...TRUNCATED) | ["A red double decker bus driving past a river.","A double decker bus parked near the water ","A dou(...TRUNCATED) | [
676210,
676840,
678430,
678907,
688285
] | 6 | http://images.cocodataset.org/train2017/000000531349.jpg | http://farm6.staticflickr.com/5550/10306393726_18807c5f6f_z.jpg | aimv2_1b_patch14_224.apple_pt | [-0.48022088408470154,-0.3701479434967041,-0.11106915771961212,0.10920454561710358,-0.21114224195480(...TRUNCATED) |
340,329 | {"id":[169542,190010,209572,1734846],"area":[83685.95475,5129.4541000000045,2984.7365500000005,544.6(...TRUNCATED) | ["A small train traveling past a building surrounded by a fence.","The engineer and driver stand on (...TRUNCATED) | [
189550,
206629,
207172,
208207,
208501
] | 4 | http://images.cocodataset.org/train2017/000000340329.jpg | http://farm1.staticflickr.com/70/165600282_9bf7400418_z.jpg | aimv2_1b_patch14_224.apple_pt | [-0.24369195103645325,-1.2954661846160889,-1.4550832509994507,-0.2764126658439636,0.3095894157886505(...TRUNCATED) |
182,236 | {"id":[668510,1101850,1108728,1176077,1440035,1607696,1632673,1648960,1656876,2141797,2163198],"area(...TRUNCATED) | ["A laptop computer is open with a cup of coffee next to it.","An open laptop computer sitting on to(...TRUNCATED) | [
528782,
531008,
534818,
535793,
536120
] | 5 | http://images.cocodataset.org/train2017/000000182236.jpg | http://farm3.staticflickr.com/2401/2057541074_04a72297e6_z.jpg | aimv2_1b_patch14_224.apple_pt | [-2.056717872619629,0.8618119359016418,-1.0012377500534058,-1.5501567125320435,0.3995077311992645,0.(...TRUNCATED) |
326,820 | {"id":[19655,1153039],"area":[166835.23820000008,10704.127099999992],"bbox":[[41.29999923706055,21.4(...TRUNCATED) | ["A blue vase holding a bunch of white and yellow flowers.","A blue ceramic vase filled with yellow (...TRUNCATED) | [
139922,
146876,
147818,
154328,
158042
] | 3 | http://images.cocodataset.org/train2017/000000326820.jpg | http://farm7.staticflickr.com/6227/6248487100_0359e3b5bf_z.jpg | aimv2_1b_patch14_224.apple_pt | [-1.293917179107666,-0.32704710960388184,-1.3151887655258179,-0.7593986988067627,0.767090380191803,1(...TRUNCATED) |
149,364 | {"id":[355114,362386,362831,364422,364458,394135,1337463,1388228,1798342,2053638],"area":[419.725499(...TRUNCATED) | ["A yellow moving truck on a snow covered street.","a yellow business truck on a snowy road","A larg(...TRUNCATED) | [
41208,
48399,
48732,
56883,
60156
] | 3 | http://images.cocodataset.org/train2017/000000149364.jpg | http://farm8.staticflickr.com/7408/10063782964_891eedde4e_z.jpg | aimv2_1b_patch14_224.apple_pt | [-1.5699000358581543,-0.21743616461753845,0.19503846764564514,-0.07254797220230103,-0.85200989246368(...TRUNCATED) |
166,598 | {"id":[82194,1129850],"area":[719.4571500000005,17206.651100000006],"bbox":[[134.5399932861328,348.3(...TRUNCATED) | ["A bathroom with a sink, counters, mirror and basket. ","A bathroom sink that has a mirror above it(...TRUNCATED) | [
663822,
664806,
665841,
666933,
668208
] | 1 | http://images.cocodataset.org/train2017/000000166598.jpg | http://farm9.staticflickr.com/8401/8650895296_a76713edfa_z.jpg | aimv2_1b_patch14_224.apple_pt | [-0.9643166065216064,0.6365112066268921,0.5364935398101807,0.2819440960884094,-1.9428761005401611,-0(...TRUNCATED) |
This repository hosts precomputed latent representations (embeddings) extracted from timm image-classification backbones on coco2017, released as part of SEMASIA — a large-scale resource for studying semantic communication, cross-model latent space alignment, and explainability.
Each config corresponds to a single model;
only that model's Parquet files are read on load_dataset.
Load with datasets and convert to torch:
from datasets import load_dataset
import torch
ds = load_dataset(
"spaicom-lab/semasia-coco2017", # repository → which benchmark
"aimv2_1b_patch14_224.apple_pt", # config → which model
split="train", # split → which partition
).with_format("torch")
embeddings = torch.vstack(list(ds["embedding"])) # (N, d)
id = torch.tensor(ds["id"]) # (N,)
Or read the Parquet files directly with polars:
import polars as pl
df = pl.read_parquet(
"hf://datasets/spaicom-lab/semasia-coco2017/train/aimv2_1b_patch14_224.apple_pt/*.parquet"
)
embeddings = df["embedding"].to_numpy() # shape (N, d)
id = df["id"].to_numpy() # shape (N,)
Columns available in each Parquet file for this dataset:
| Field | Description |
|---|---|
id |
Official COCO 2017 image_id of the image (not a row index): unique within a split and the same for every model, so it maps a row back to the image in COCO. |
model_name |
timm model that produced this row's embedding (constant within a config). |
embedding |
Precomputed latent representation extracted by the model (dimensionality depends on config; see model registry). |
objects |
Annotations of the objects in the image, as lists with one entry per object (empty if the image has none): id (id of the object), area, bbox (x, y, width, height in absolute coordinates), label (index of the category in the 92-class list of COCO, of which 80 are used) and iscrowd. |
captions |
Captions of the image (5 to 7 per image). |
captions_ids |
Ids of the captions, in the same order as captions (they are not ids of the objects). |
license |
Integer code of the license of the image, as in the COCO 2017 annotations. |
coco_url |
URL of the image on cocodataset.org. |
flickr_url |
URL of the image on Flickr. |
Number of models with precomputed embeddings, per split:
| Split | # Models |
|---|---|
| train | 1658 |
| validation | 1660 |
The embeddings are released under cc-by-nc-4.0.
If you use this dataset, please cite:
@misc{pandolfo2026semasialargescaledatasetsemantically,
title={SEMASIA: A Large-Scale Dataset of Semantically Structured Latent Representations},
author={Mario Edoardo Pandolfo and Enrico Grimaldi and Lorenzo Marinucci and Leonardo Di Nino and Simone Fiorellino and Sergio Barbarossa and Paolo Di Lorenzo},
year={2026},
eprint={2605.09485},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2605.09485},
}