SEMASIA: A Large-Scale Dataset of Semantically Structured Latent Representations
Paper • 2605.09485 • Published
The dataset viewer should be available soon. Please retry later.
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
"bat_resnext26ts.ch_in1k", # 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/bat_resnext26ts.ch_in1k/*.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 | 655 |
| validation | 655 |
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},
}