Download README.md from MrPatoVera/lexical-consensus-data: direct link, hf CLI and curl.
- Browser
- Download file 14 kB
-
https://huggingface.co/datasets/MrPatoVera/lexical-consensus-data/resolve/main/README.md
- Command line
-
hf download hf://datasets/MrPatoVera/lexical-consensus-data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/MrPatoVera/lexical-consensus-data/resolve/main/README.md
license: cc-by-4.0
pretty_name: Visual similarity, human similarity and artificial word learning (CIFAR)
language:
- en
task_categories:
- tabular-classification
- tabular-regression
tags:
- cognitive-science
- word-learning
- representational-alignment
- dinov2
- things
- imagenet-hsj
- lewis-frank
- multi-encoder
- arxiv:2611.14116
size_categories:
- 1M<n<10M
configs:
- config_name: pairs_c100
data_files: pairs_c100/pairs_c100.parquet
- config_name: learner_c100
data_files: learner_c100/learner_c100.parquet
- config_name: xtmem_aggregates
data_files: xtmem_aggregates/xtmem_aggregates.parquet
- config_name: word_norms
data_files: word_norms/word_norms.parquet
- config_name: v2_trials_centroid
data_files: v2_encoders/trials_centroid/*.parquet
- config_name: v2_trials_exemplar
data_files: v2_encoders/trials_exemplar/*.parquet
Visual similarity, human similarity and artificial word learning (CIFAR)
Companion dataset for Visual Similarity in Adult Word Extension and Artificial Word Learning (Vera, 2026). Author: Patricio M. Vera (ORCID 0009-0004-5384-5952), Simbionte.org. Code: github.com/patriciomvera/lexical-consensus. Preprint: arXiv:2611.14116 (pdf, doi:10.48550/arXiv.2611.14116). CIFAR-10H companion (CC BY-NC-SA 4.0):
MrPatoVera/lexical-consensus-data-cifar10h. Collection: Lexical Consensus.
Summary
Tabular companion to analyses that relate a frozen self-supervised visual
encoder (DINOv2-small) to human similarity and word-extension behaviour, and to
an artificial prototype learner over the same space. This repository holds the
CC BY 4.0 configs. A separate repository,
MrPatoVera/lexical-consensus-data-cifar10h,
holds the CIFAR-10H-derived tables under CC BY-NC-SA 4.0.
| Config | Unit | Rows | What it is |
|---|---|---|---|
pairs_c100 |
CIFAR-100 class pair | 4,950 | DINOv2 / CVCL / WordNet / THINGS / HSJ distances |
learner_c100 |
Sampled two-category word | 100 | Prototype-learner naming accuracy + distances |
xtmem_aggregates |
Image × teaching condition | 96 | Aggregated adult extension (Lewis & Frank 2018) |
word_norms |
Word | 95 | Glasgow AoA + our DINOv2 dispersion |
Auxiliary files (not HF configs): maps/map_things_v1.json, maps/map_hsj_v1.json,
and recipe/ (rebuild instructions for XTMEM aggregates).
Version 2 additions (v2_encoders/)
Added on 2026-11-24 for version 2 of the paper (the multi-encoder study: eight trained encoders, a randomly initialized ResNet-50 and raw pixels; arXiv:2611.14116). The v1 files above are unchanged. Every file is copied from the code repository at github.com/patriciomvera/lexical-consensus (visual_similarity_v2/, main branch; locations noted in commit 75aa9e7), except the exemplar tables, which are written by visual_similarity_v2/paper_v2/posthoc_v2c/scripts/p01_prep_exemplar.py. CSV trial tables are converted to Parquet (zstd) with one added column, representation; values are otherwise identical (checked row by row). Total about 43 MB. Material derived from CIFAR-10H is in the sister repository (v2_encoders/ there).
Version 2 ships per-trial tables. In v1 only aggregates were shipped (see below). The per-trial tables of v2 are already published in the code repository, and Lewis & Frank (2018) release their data under CC BY 4.0, which permits redistribution of adapted material with attribution. They contain the anonymized participant ids of the original deposit and no images.
| Path | Files | Size | What it is |
|---|---|---|---|
trials_centroid/h4_long_<ID>.parquet (config v2_trials_centroid) |
23 | 1.4 MB | One row per session × trial × test image (172,800 rows per file; 3,974,400 total), frozen distance to the teaching centroid for each representation and sensitivity variant |
trials_exemplar/ex_long_<ID>.parquet (config v2_trials_exemplar) |
10 + check | 1.2 MB | Same rows for the 10 main representations, plus nearest- and mean-exemplar distances and teaching-set dispersion (post hoc, Appendix E; 1,728,000 rows); p01_check.json confirms that dist reproduces the frozen tables |
embeddings_xtmem/ |
31 | 5.2 MB | Float32 embeddings of the 45 XTMEM stimulus images (emb_<ID>.npz: emb, names), encoder specifications (checkpoints, revisions, preprocessing) and checks |
adult_results/ |
63 | 0.4 MB | Frozen adult multi-encoder results: positive-control fits, two-stage permutation outputs, equivalence regions and sensitivities |
agents_cifar/ |
299 | 32 MB | CIFAR agent results not derived from CIFAR-10H: dissociation (D_*, Dall_*) and tier (T_*) results, parity checks, by-encoder H4, episode and pair records (sims/), embedding manifest (CIFAR embedding caches themselves are not shipped; hashes are in emb/embed_manifest.jsonl) |
matched_stimulus/ |
6 | 3.1 MB | Exploratory matched-stimulus task: item decisions of the agents on the adults' teaching sets and test photographs, broad-minus-narrow gains, three-word task, input hashes (run.json) |
posthoc/ |
24 | 0.05 MB | Post hoc outputs B1–B4 (p02_*: by-image slopes; p03_*: exemplar models; p04_*: H2 estimates and minimum detectable effect; p05_*: superordinate distances), the source of Tables 13 and 14 and Figure 8 |
Trial columns. representation, exp (experiment 1–12), subid (anonymized participant id of the original data), trial (1–12), category, condition (teaching condition as spelled in the original data), image (test image id, e.g. c1_sub1), in_target (1 if the test image is in the taught domain), level (sub/bas/sup), selected (1 if the participant extended the word to the image), dist (1 − cosine to the normalized centroid of the teaching images), exp_recoded, preregistered. The exemplar tables add dmin and dmean (nearest and mean cosine distance to the teaching images), disp (mean pairwise cosine distance among the teaching images; 0 with one example) and nsup (number of teaching images).
Representation ids. R0_dinov2s DINOv2-small (reference), O1_dinov2b DINOv2-base, R1_cvcl CVCL, E1_siglip SigLIP, O2_openclip OpenCLIP, E2_vitsup supervised ViT, E3_rn50sup supervised ResNet-50, E4_mae MAE (mean of patch tokens), F1_rn50rand0 randomly initialized ResNet-50, F2_pixels raw pixels. Variants: E4s_mae_cls (MAE with CLS pooling), F1_rn50rand1/F1_rn50rand2 (other random seeds), *_s6common (sensitivity S6, common preprocessing for all encoders). Exact checkpoints and revisions are in embeddings_xtmem/encoder_specs.json.
Provenance and licenses. Adult choices: Lewis & Frank (2018), XTMEM, OSF yekhj, CC BY 4.0 (all_raw_A.csv, md5 e42712b8a15187983620a1d9f6edb5e9); the stimulus images (not shipped) are in the same OSF project. CIFAR-100 class-pair records as in v1. Encoder weights are not shipped; see each model's own license. Our derived values are CC BY 4.0. Cite Lewis & Frank (2018) and the paper when using these files. Some JSON and ledger files keep the run-machine paths recorded at run time, unchanged so that their hashes match the repository.
from datasets import load_dataset
trials = load_dataset("MrPatoVera/lexical-consensus-data", "v2_trials_exemplar", split="train").to_pandas()
How it was built (recipe)
Encoder. DINOv2-small CLS embeddings (384-d), L2-normalised. Default Hugging Face image processor: RGB, bicubic resize of the shorter side to 256, 224×224 centre crop, ImageNet normalisation. Pair distance = cosine distance between class centroids (all CIFAR-100 training images per class).
Learner. Prototype (normalised centroid) in 3-way, 5-shot episodes; naming
accuracy on held-out images. The two native contrast classes (contrast1,
contrast2) are sampled with the same deterministic seed schedule used in the
DINOv2 dissociation experiment and reused for the CVCL re-run; they are episode
metadata for both encoders, not CVCL-only.
Human similarity.
- THINGS SPoSE 66-d distances via a versioned CIFAR→THINGS map (
map_things_v1.json). - ImageNet-HSJ:
d_hsjis defined only whenhsj_n ≥ 10; raw means and counts are also shipped. Trial-level HSJ data are not shipped (rebuild from OSF cn2s3). - Glasgow Norms age of acquisition (
aoa_glasgow). Word-frequency (zipffrom wordfreq) is not redistributed (author request not to repackage). dispersioninword_normsis our own derived value: within-class coherence of DINOv2 embeddings for that CIFAR label (not a Glasgow Norms field).
Adult word extension (XTMEM / Lewis & Frank 2018). Only aggregates are
shipped: one row per image × harmonized teaching condition over target-domain
trials (in_target = 1). Seven raw condition spellings are unified to four
canonical labels (one, three_subordinate, three_basic,
three_superordinate), matching the paper's exploratory figure. That yields
96 units (= paper \XUnits).
Suppression rule (formal). Any aggregate cell with n_participants < 5
is omitted from xtmem_aggregates. In the full Lewis & Frank sample no cell
falls below this threshold at the published grain.
Why n_participants is 520 in every cell. Each person-session runs 12
trials = 4 teaching conditions × 3 categories. Every test image belongs to one
category domain, so with in_target = 1 every session contributes exactly one
observation to every image × condition cell. Unique people = 520 (paper
HFourPersons); unique sessions = 600 (56 people repeated across experiments).
Column n_sessions makes this transparent. The constant is a property of the
crossed design, not a broadcast of a global total.
Per-participant / per-trial tables (h4_long.csv, h4_first_session.csv) are
not redistributed in v1 — see recipe/ to rebuild locally from OSF yekhj.
Update (v2, 24-11-2026): the per-trial tables of the multi-encoder study
(h4_long_<ID>, ex_long_<ID>) are now available under v2_encoders/
(configs v2_trials_centroid and v2_trials_exemplar; see Version 2 additions).
CVCL. Distances and accuracies from the CVCL vision encoder (MIT-licensed model; weights not included). Same episode design as DINOv2 for the 100 pairs.
What we tried that did not ship
- Redistributing per-participant XTMEM derivatives — rejected in v1 to keep the paper,
the code repository and
this dataset consistent, and because stimulus-image provenance is undocumented
in the upstream GitHub tree. Revised in v2 (24-11-2026): the code repository
now publishes per-trial tables, the OSF deposit (yekhj, CC BY 4.0) also holds the
stimulus images, and the v2 per-trial tables are shipped under
v2_encoders/. - Packing wordfreq
zipfvalues — rejected at the author's request. - Shipping CIFAR / ImageNet / THINGS / XTMEM images or embedding caches — out of
scope; large and not ours to rehost. (v2 adds only the embeddings of the 45 XTMEM
stimulus images,
v2_encoders/embeddings_xtmem/; no images and no CIFAR caches.) - A single shared license covering CIFAR-10H — impossible without forcing NC-SA onto CC BY material; CIFAR-10H tables live in the sister repository.
- Publishing
hsj_trials.csv.gz(~511k rows) — optional; omitted (rebuild from OSF cn2s3).
Limitations
- THINGS / HSJ coverage is partial (see
covered_*columns). Class mappings involve judgements; scout / strict / origmap variants are included where they exist. - XTMEM aggregates do not support re-analysis of person-level random effects;
use the recipe and the original OSF deposit for that, or the v2 per-trial tables
in
v2_encoders/. - No images. Learner results are for frozen encoders, CIFAR, two-category words and shallow learners. Post hoc paper analyses are exploratory.
- Research use; not a production model-evaluation suite.
Sources and licenses
| Source | License | What enters this repo |
|---|---|---|
| Lewis & Frank 2018 (OSF yekhj) | CC BY 4.0 | Aggregates (v1); per-trial tables (v2, v2_encoders/) |
| THINGS (OSF f5rn6) | CC BY 4.0 | Distances + map |
| ImageNet-HSJ (OSF cn2s3) | CC BY 4.0 | Distances + map |
| Glasgow Norms | CC BY 4.0 | aoa_glasgow |
| CVCL model | MIT | Distances / accuracies only |
Our distances, learner outputs, and dispersion |
CC BY 4.0 (this dataset) | All remaining columns |
Third-party values remain under their own licenses. Attribution in any redistribution must preserve the chain above.
Citation
@misc{vera2026visualsimilarity,
title = {Visual Similarity in Adult Word Extension and Artificial Word Learning},
author = {Vera, Patricio M.},
year = {2026},
eprint = {2611.14116},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
doi = {10.48550/arXiv.2611.14116},
url = {https://arxiv.org/abs/2611.14116},
note = {Affiliation: Simbionte.org. ORCID: 0009-0004-5384-5952.
Code: https://github.com/patriciomvera/lexical-consensus}
}
Files
pairs_c100/pairs_c100.parquet
learner_c100/learner_c100.parquet
xtmem_aggregates/xtmem_aggregates.parquet
xtmem_aggregates/condition_label_map.json
word_norms/word_norms.parquet
maps/map_things_v1.json
maps/map_hsj_v1.json
recipe/
v2_encoders/ (version 2, see above)