Download README.md from 336labs/VisionEncoder-Features: direct link, hf CLI and curl.
- Browser
- Download file 65.3 kB
-
https://huggingface.co/datasets/336labs/VisionEncoder-Features/resolve/main/README.md
- Command line
-
hf download hf://datasets/336labs/VisionEncoder-Features/README.md
-
curl -L -o README.md https://huggingface.co/datasets/336labs/VisionEncoder-Features/resolve/main/README.md
pretty_name: RAVEL Vision Encoder Features
language:
- en
task_categories:
- image-classification
- other
license: other
license_name: upstream-data-and-model-terms
license_link: >-
https://huggingface.co/datasets/336labs/VisionEncoder-Features/blob/main/LICENSES.md
size_categories:
- 100K<n<1M
source_datasets:
- liuhaotian/LLaVA-Pretrain
- ILSVRC/imagenet-1k
tags:
- vision-encoder-evaluation
- multimodal
- feature-extraction
- ravel
- numpy
- arxiv:2610.05413
configs:
- config_name: lcs558k_n1000_seed42
default: true
data_files:
- split: train
path: lcs558k/n1000_seed42/samples/samples.jsonl
- config_name: lcs558k_n10000_seed42plus43
data_files:
- split: train
path: lcs558k/n10000_seed42plus43/samples/samples.jsonl
- config_name: imagenet1k_train200k
data_files:
- split: train
path: imagenet1k/train200k/samples/samples.jsonl
A Strong Baseline for Evaluating Vision Encoders
in Multimodal Large Language Models
RAVEL · Vision Encoder Feature Dataset
Yilin Yang · Jun-Tao Tang · Kengyi Wang
Siyuan Su · Gaoyong Luo · Mingda Chen
Dataset Summary
This dataset provides cached representations for the 70 vision encoders / visual tokenizers evaluated in A Strong Baseline for Evaluating Vision Encoders in Multimodal Large Language Models. It includes 43 language-supervised, 22 self-supervised, and 5 discrete encoders, with shared sample order across encoders within each subset.
The release contains LCS-558K image patch features for RAVEL and other paired image–text probes, three matching language-model text feature arrays, and ImageNet-1K pooled image features for kNN and linear probes. Each encoder has its own metadata. The original NumPy arrays and storage precision are retained.
Release status: Complete. The LCS-1000, LCS-10000, and ImageNet200k release file paths, sizes, and SHA-256 values have been verified against the Hub.
Resources: Paper · Evaluation code · MLLM Model Zoo and encoder weights · Encoder catalog · File inventory
Datasets Required by the Evaluation Pipelines
The paper evaluates trained MLLMs on 11 downstream benchmarks and compares their scores with vision-only and cross-modal encoder metrics. The tables below map those experiments to their data dependencies, using the server's current experiment recipes and data loaders. This Hub repository releases cached LCS and ImageNet200k features; the raw MLLM training/test sets and other baseline datasets must be obtained separately from the linked sources.
Which data does each method use?
| Method / experiment | Dataset and required inputs | Relevant released cache / additional data |
|---|---|---|
| RAVEL | Paired images and captions sampled from LCS-558K; patch tokens [N,T,D], LLM text vectors [N,D], and matching ordered sample IDs |
LCS-1000 for the current mean-token text setting; LCS-10000 for the larger historical cache, with last-token text |
| RSA, CCA, GW, MutualNN | The same LCS image–text pairs, with one global image vector and one text vector per sample | The released LCS samples/text can be reused. These workers require [N,D] visual inputs; separately exported global/CLS features are not included in this release. Match the chosen baseline's readout and sample order when preparing global vectors from an encoder or patch cache. |
| kNN classification | ImageNet-1K training subset, 200 images/class, with pooled features, class labels, source indices, and a fixed support/query protocol | ImageNet200k. Its released protocol uses 195 support-pool images + 5 held-out queries/class; support sizes are 5/10/20/45/95/195. Queries come from the training subset, not the official validation split. |
| Linear probing | Official ImageNet-1K train + val and the DINOv2 extra/ metadata. The current paper worker uses 5 train images/class, support seed 0, and a separate 5,000-image validation sample, seed 42. |
Obtain ImageNet-1K. The 200k export can support a separately defined cached linear probe after checking indices/readout, but it lacks the independent validation features needed to reproduce this worker's protocol. |
| Alignment probing | COCO Karpathy captions for the current COCO-2K recipe; DreamLIP-recaptioned CC3M for the supported SAIL-style cross-dataset/budget variants. Requires paired image/text embeddings and train/test membership. | COCO-2K: sample 2,000 images with seed 42, use 1,600 train / 400 test, retaining five captions/image. CC3M uses raw_caption and longSV_captions; cross-dataset evaluation can use COCO-2K. These data/caches are outside this release. |
| AC Policy / Law of Vision Representation | A-score: LCS-558K captions/images and Stage-1 projector checkpoints. C-score: SPair-71k images, pair annotations, and keypoints. Policy fitting also uses downstream scores for its reference encoders. | Obtain LLaVA-Pretrain and SPair-71k. The A-score loader takes the first 100 valid image/conversation records; this differs from the random LCS feature subsets. |
| Mid-training loss | LCS-558K Stage-1 projector training under the specified FLOP budget, plus the resulting training-loss logs | Use the raw pretraining manifest/images and the MLLM training recipe. Cached image/text vectors alone do not provide the projector-training loss. |
| TokBench (T-ACC, T-NED, F-Sim) | The official TokBench image bundle, text/face annotations, and reconstructions from each evaluated visual tokenizer/decoder | Obtain Junfeng5/TokBench. Use the image evaluation route and preserve the original folder/file identities in the reconstructed image tree; patch features alone do not supply reconstructions. |
| Downstream MLLM ground truth | Two-stage MLLM training data plus the 11 test benchmarks listed below; for correlation-only analysis, the already computed score table is sufficient | MLLM checkpoints and the project's bundled ground_truth.json. Raw test images/questions are outside this feature release. |
ImageNet kNN features contain classification labels, not paired captions or LLM text embeddings, so they do not directly satisfy the alignment-probe input contract. An LCS alignment-probe experiment is possible with an explicit new train/test split and matching representations, but it would be a different protocol from the COCO/CC3M recipes above. Likewise, patch-mean pooling should not be assumed identical to a historical CLS/global readout.
The code also retains zero-shot ImageNet evaluation (requires official ImageNet validation images and class-name prompts) and CKA-X recipes. CKA-X draws a frozen calibration pool from LMUData benchmark TSVs and OCR-VQA book-cover data, then requires per-encoder/text features, cka_diverse.pt, cross-modal statistics, and downstream labels. These are additional supported code paths; they are not additional methods in the paper's main comparison table. Their calibration artifacts are not part of this feature release.
MLLM training data and directory layout
| Stage | Source | Project files relative to DATA_ROOT |
|---|---|---|
| Stage 1: projector pretraining | LLaVA-Pretrain / LCS-558K, including the annotation JSON and image archive | instructions/pretrain/blip_laion_cc_sbu_558k.json; images/pretrain/ |
| Stage 2: instruction finetuning | LLaVA-v1.5 mix665k annotations and their referenced COCO/GQA/OCR-VQA/TextVQA/Visual Genome images, following the LLaVA preparation recipe | instructions/finetune/llava_v1_5_mix665k_drop_ge8kchars.json; images/finetune/ |
The current training configuration uses the filtered mix665k manifest: it removes 395 examples whose conversation text has at least 8,000 characters. Obtain the source images as well as the JSON, preserve each record's relative image path, and reproduce the configured filtering rather than silently substituting the unfiltered file.
DATA_ROOT/
instructions/
pretrain/blip_laion_cc_sbu_558k.json
finetune/llava_v1_5_mix665k_drop_ge8kchars.json
test/<dataset_id>.tsv
images/
pretrain/<relative_image_path>
finetune/<relative_image_path>
test/<dataset_id>/<image_files>
.lmudata/
<dataset_id>.tsv
images/<dataset_id>/<image_files>
SPair-71k/
JPEGImages/
ImageAnnotation/
PairAnnotation/test/
DATA_ROOT is a placeholder for your raw-data directory; the reference server uses /cache/data. Set paths.datasets in configs/local.yaml and the corresponding datasets_root in configs/mllm/data.yaml. The project's loader builds .lmudata/ as a VLMEvalKit view of instructions/test/ and images/test/. It is a runtime view, separate from the independently copied /cache/vision_encoder_eval_data data archive.
The 11 downstream MLLM test datasets
These are the exact dataset IDs in configs/mllm/eval_datasets.yaml and the continuous/discrete runtime recipes. Each requires its project/VLMEvalKit TSV plus the images referenced by that TSV.
| Dataset ID | Source / download instructions | Required TSV under DATA_ROOT/instructions/test/ |
|---|---|---|
MMMU_TEST |
MMMU official dataset, test split | MMMU_TEST.tsv |
MMBench_TEST_EN_V11 |
MMBench, English test v1.1 | MMBench_TEST_EN_V11.tsv |
VQAv2_VAL |
VQA v2 downloads, validation questions, annotations, and COCO images | VQAv2_VAL.tsv |
ScienceQA_VAL |
ScienceQA, validation split | ScienceQA_VAL.tsv |
ChartQA_TEST |
ChartQA, test split | ChartQA_TEST.tsv |
DocVQA_VAL |
DocVQA, validation split | DocVQA_VAL.tsv |
TextVQA_VAL |
TextVQA, validation split | TextVQA_VAL.tsv |
POPE |
POPE, benchmark questions and corresponding images | POPE.tsv |
GQA_TestDev_Balanced |
GQA downloads, balanced test-dev questions and images | GQA_TestDev_Balanced.tsv (the loader also accepts GQA_TESTDEV_BALANCED.tsv) |
MSCOCO_KARPATHY_TEST |
Karpathy caption annotations/splits and the matching COCO images, Karpathy test split | MSCOCO_KARPATHY_TEST.tsv |
FLICKR30K_KARPATHY_TEST |
Karpathy caption annotations/splits and Flickr30k images, Karpathy test split | FLICKR30K_KARPATHY_TEST.tsv |
The VLMEvalKit dataset loaders provide download mappings for supported benchmarks. Restore or prepare the exact project TSVs, including questions/options, reference answers/captions, image IDs, and any shared-image references; downloading an upstream image archive alone does not satisfy this layout. The Karpathy caption splits are distinct from ordinary COCO validation and Flickr30k training splits. Keep all reference captions for caption scoring and alignment-probe evaluation.
The current runtime sets max_samples: 1000 and sample_seed: 42 for each benchmark, using seeded sampling rather than the TSV head. Preserve the source TSV order and subset settings when comparing runs. Full benchmarks are not reduced to 1,000 examples in this feature repository, because their raw test data are not included here.
Other baseline raw-data layouts
| Data root / configuration | Required contents | Source |
|---|---|---|
paths.imagenet |
train/, val/, and DINOv2 extra/ index/class metadata; a linear probe needs both training and independent validation inputs |
ImageNet downloads; DINOv2 ImageNet metadata loader |
paths.cc3m |
cc3m_3long_3short_1raw_captions_url.csv and images at its Image Path values; preserve raw_caption and longSV_captions |
DreamLIP caption release; SAIL data preparation |
DATA_ROOT/SPair-71k |
JPEGImages/<category>/, ImageAnnotation/<category>/, PairAnnotation/test/ for the current C-score loader |
SPair-71k official download |
| TokBench image root | Official images.zip extracted as images/, annotations/text_*.json, and annotations/face_meta.json; a separate matching reconstruction tree |
TokBench files; image evaluation instructions |
For the CC3M variants, the builder samples only available, decodable images with all requested captions; a partially downloaded URL pool changes the selected subset. Preserve its generated cc3m2k.json / selected-row CSV (and the corresponding larger-budget manifests) to reproduce the same experiment. The COCO control uses alignment/data/coco2k.json with five captions/image; derived probe caches live under alignment/cache/{vision,text}/<dataset>/. These manifests and caches have not been uploaded to this repository.
Reference server paths and availability
Checked on 2026-10-07 (Asia/Shanghai). Paths below describe the current server; replace them with your own local paths when reproducing experiments. “Required, missing” means the inspected configured path has no usable copy, not that the upstream dataset is unavailable.
| Asset | Actual or required server path | Availability |
|---|---|---|
| LCS raw annotations | /cache/vision_encoder_eval_data/datasets/lcs558k/annotations/blip_laion_cc_sbu_558k.json |
Present; the active MLLM recipe also retains /cache/data/instructions/pretrain/blip_laion_cc_sbu_558k.json |
| LCS raw images | /cache/vision_encoder_eval_data/datasets/lcs558k/images/ |
Present; active recipe copy: /cache/data/images/pretrain/ |
| LCS-1000 visual patches | /cache/vision_encoder_eval_data/features/lcs558k/n1000_seed42/ravel_recovered_patches/ |
Present and published as lcs558k/n1000_seed42/vision/ |
| LCS-1000 baseline global vectors | /cache/vision_encoder_eval_data/features/lcs558k/n1000_seed42/gw/outputs/gw_reproduction/features/vision/ |
Present locally; not a separate published global-vector subset |
| Current LCS-1000 mean-token text | /home/ma-user/MLLM-VisionEncoder-Eval/runs/ravel_paper_features/b8608d4b92a2/ |
Present and published as lcs558k/n1000_seed42/text/ |
| Complete published LCS-10000 block layout | /cache/hf_visionencoder_features_n10000_20261006/payload/lcs558k/n10000_seed42plus43/ |
Present; prepared upload copy of the original organized caches, with vision/, text/, and samples/ matching the Hub layout |
| ImageNet200k pooled features / labels / source indices | /cache/vision_encoder_eval_data/features/imagenet1k/train200k/ |
Present and published as imagenet1k/train200k/ |
| ImageNet kNN split protocol | /cache/vision_encoder_eval_data/protocols/knn/imagenet_train_195pool_5query_seed42.json |
Present; released counterpart: imagenet1k/train200k/protocols/knn_seed42.json |
| MLLM finetune data | /cache/data/instructions/finetune/llava_v1_5_mix665k_drop_ge8kchars.json and /cache/data/images/finetune/ |
Required, missing |
| All 11 MLLM test sets | /cache/data/instructions/test/, /cache/data/images/test/, runtime view /cache/data/.lmudata/ |
Required, missing; /home/ma-user/LMUData/ exists but is empty |
| Raw ImageNet train/val and validation feature cache | Configure paths.imagenet to a populated root with train/, val/, extra/ |
Not configured to a usable data root; the available 200k training export does not supply validation data |
| COCO alignment data, DreamLIP CC3M, SPair-71k, TokBench | COCO TSV: /cache/data/instructions/test/MSCOCO_KARPATHY_TEST.tsv; CC3M: configure paths.cc3m; SPair: /cache/data/SPair-71k; TokBench: configure its image/annotation root |
Required raw data not found in the inspected project inventory; paths.cc3m / paths.tokbench remain placeholders |
Paths in FILES.json, encoders.json, and the download examples below are relative to the downloaded Hub snapshot, not relative to the server's features/ directory. The generic experiment templates also contain example cache paths: point each run to the selected array and ordered manifest explicitly. Keep the LCS-1000 mean-token and LCS-10000 historical last-token text settings distinct.
Dataset Structure
| Component | Arrays | Shape | Storage dtype | Size (GiB) |
|---|---|---|---|---|
| LCS-1000 visual patches | 70 | [1000, T, D] |
float16 | 55.27 |
| Aligned LLM text vectors | 3 | [1000, D] |
float32 | 0.02 |
| LCS-10000 visual patches (two blocks per encoder) | 140 | [5000, T, D] |
float16 | 552.74 |
| LCS-10000 historical last-token text (two blocks per model) | 6 | [5000, D] |
float32 | 0.21 |
| ImageNet200k pooled features | 70 | [200000, D] |
float32 | 59.89 |
Total prepared contents, including shared metadata and protocols: approximately 668.18 GiB. NumPy sizes include their headers; no extra precision conversion was applied.
README.md
LICENSES.md
encoders.json
FILES.json
checksums.sha256
lcs558k/n1000_seed42/
samples/
samples.jsonl
manifest.json
images_manifest.json
source_indices.npy
vision/
<tokenizer_id>_patch_n1000_seed42.npy
<tokenizer_id>_patch_n1000_seed42.json
text/
<llm_id>_penultimate_mean_n1000_seed42.npy
<llm_id>_penultimate_mean_n1000_seed42.audit.json
lcs558k/n10000_seed42plus43/
feature_manifest.json
samples/{samples.jsonl,manifest.json,source_indices.npy}
samples/part0_seed42/{samples.jsonl,manifest.json,source_indices.npy}
samples/part1_seed43_disjoint/{samples.jsonl,manifest.json,source_indices.npy}
samples/{disjoint_sample_audit.json,index_semantics.json}
vision/<tokenizer_id>/{part0_seed42,part1_seed43_disjoint}.npy
vision/<tokenizer_id>/{part0_seed42,part1_seed43_disjoint}.json
text/<llm_id>/{part0_seed42,part1_seed43_disjoint}_penultimate_lasttok.npy
text/<llm_id>/{part0_seed42,part1_seed43_disjoint}_penultimate_lasttok.audit.json
imagenet1k/train200k/
samples/{samples.jsonl,manifest.json}
features/<rank>_<tokenizer_id>.npy
metadata/<rank>_<tokenizer_id>.json
labels.npy
source_indices.npy
export_manifest.json
manifest.tsv
protocols/{knn_seed42.json,generation_receipt.json}
LCS-558K: 1,000 paired examples, seed 42
The source is the blip_laion_cc_sbu_558k.json alignment annotation set from LLaVA-Pretrain. The cached subset was sampled with numpy.default_rng(42).choice, without replacement, retaining the unsorted sampled order. The ordered manifest identifies the exact selected records; the original full-source annotation hash/revision is not recorded in every historical audit.
Each visual array has shape [1000, T, D], stored as float16; patch count T and dimension D depend on the encoder. The text arrays are float32, with one vector per matching caption:
| ID | Language model | Shape | Text extraction |
|---|---|---|---|
qwen25 |
Qwen2.5-1.5B-Instruct | [1000, 1536] |
Penultimate hidden state, mean over valid tokens |
qwen3 |
Qwen3-1.7B | [1000, 2048] |
Penultimate hidden state, mean over valid tokens |
smollm2 |
SmolLM2-1.7B-Instruct | [1000, 2048] |
Penultimate hidden state, mean over valid tokens |
Text extraction uses layer -2, right padding, no truncation, bfloat16 inference, and float32 storage. The audits record pinned model revisions, file hashes, extraction settings, and software versions. These are the mean-token text features used by the current paper reproduction pipeline.
Row i in every visual array and every text array refers to row i of samples/samples.jsonl. Keep this order when comparing encoders. Fields are:
| Field | Meaning |
|---|---|
row_index |
Zero-based row in the released arrays |
source_index |
Record index in the original LCS alignment annotation list |
image_id |
Image path relative to the upstream image archive |
text_id |
Source text/example identifier |
text |
Caption used for text feature extraction |
The full manifest additionally retains the source conversation records and sampling information. Raw images are available from the upstream dataset.
LCS-558K: 10,000 paired examples, seed 42 + disjoint seed 43
This larger cache contains 70 encoders × 10,000 images as raw float16 patch tokens, stored in two ordered 5,000-row blocks per encoder. The first block uses the fixed seed-42 sample; the second uses seed 43 after excluding the first block by source annotation index, image ID, text ID, and image-file content hash. The original first block contains 11 repeated image-content rows; the disjoint-content check applies between blocks and within the new block. The two blocks have matching patch shapes and storage dtypes for each encoder.
| Block | Combined rows | Visual array shape | Sample order |
|---|---|---|---|
part0_seed42 |
0:5000 |
[5000, T, D] |
Fixed seed-42 sample, unsorted |
part1_seed43_disjoint |
5000:10000 |
[5000, T, D] |
Disjoint seed-43 complement, unsorted |
The combined sample table has 10,000 records. row_index addresses the combined sample table; block_index and block_row_index address the stored feature array. source_index identifies the original LCS annotation record. The released source_indices.npy files are reconstructed from the canonical manifests. Historical indices_n5000 / indices_new5000 files contained only 0..4999 block row positions; those positions are not original annotation indices.
The paired text cache contains Qwen2.5-1.5B-Instruct, Qwen3-1.7B, and SmolLM2-1.7B-Instruct, each as two float32 arrays of [5000, D] (D=1536, 2048, 2048). These historical arrays use the penultimate hidden state at the last non-padding token. Their metadata retains the original extraction audit and manifest hashes. Exact historical model revisions are absent from these audits. This text surface differs from the mean over valid tokens used by the published LCS-1000 paper cache; choose the intended surface explicitly.
Use feature_manifest.json, the block sample manifests, and index_semantics.json when loading the arrays. The 1,000- and 5,000-sample seed-42 draws were sampled independently; do not assume the LCS-1000 cache is the first 1,000 rows of this larger cache. No visual pooling, PCA, whitening, or precision conversion was applied to these blocks.
ImageNet-1K: 200,000 training examples
The subset contains 200 examples per class, across 1,000 classes, from the official ImageNet-1K training split. The export records a support-sampling seed of 0; the exact selected examples are given by source_indices.npy. All 70 arrays have shape [200000, D] and are stored as float32. Shared source_indices.npy is strictly increasing in the original train-index order; labels.npy contains integer class IDs 0–999.
The sample table contains row_index, source_index, and label. Each array's readout is recorded in its metadata: for example, CLIP uses its final post-LayerNorm CLS before the visual projection, while the DINO readout concatenates normalized CLS and mean patch features. Use the per-encoder representation description when interpreting dimensions. These pooled/readout arrays have different semantics from the LCS patch-token arrays.
protocols/knn_seed42.json provides the existing deterministic 195-example training pool / 5-example query split per class, with nested training subsets of 5, 10, 20, 45, 95, and 195 examples per class. Protocol indices address the released 200,000-row arrays; source indices identify examples in the original training split. The query split consists of held-out examples from that training subset. Full ImageNet training and validation features are outside this release.
Download and Use
Install huggingface_hub and numpy; install datasets to load the sample tables.
Download one encoder with aligned text features
import json
from pathlib import Path
import numpy as np
from huggingface_hub import snapshot_download
root = Path(snapshot_download(
repo_id="336labs/VisionEncoder-Features",
repo_type="dataset",
allow_patterns=[
"encoders.json", "README.md", "LICENSES.md",
"lcs558k/n1000_seed42/samples/**",
"lcs558k/n1000_seed42/vision/clip_openai__l14*",
"lcs558k/n1000_seed42/text/qwen3*",
],
local_dir="VisionEncoder-Features",
))
base = root / "lcs558k/n1000_seed42"
vision = np.load(base / "vision/clip_openai__l14_patch_n1000_seed42.npy",
mmap_mode="r", allow_pickle=False)
text = np.load(base / "text/qwen3_penultimate_mean_n1000_seed42.npy",
mmap_mode="r", allow_pickle=False)
samples = json.loads((base / "samples/manifest.json").read_text())["records"]
assert vision.shape[0] == text.shape[0] == len(samples) == 1000
Download one encoder from the 10,000-sample cache
import json
from pathlib import Path
import numpy as np
from huggingface_hub import snapshot_download
root = Path(snapshot_download(
repo_id="336labs/VisionEncoder-Features",
repo_type="dataset",
allow_patterns=[
"encoders.json", "README.md", "LICENSES.md",
"lcs558k/n10000_seed42plus43/feature_manifest.json",
"lcs558k/n10000_seed42plus43/samples/**",
"lcs558k/n10000_seed42plus43/vision/clip_openai__l14/**",
"lcs558k/n10000_seed42plus43/text/qwen3/**",
],
local_dir="VisionEncoder-Features",
))
base = root / "lcs558k/n10000_seed42plus43"
blocks = ["part0_seed42", "part1_seed43_disjoint"]
vision_parts = [np.load(base / f"vision/clip_openai__l14/{part}.npy",
mmap_mode="r", allow_pickle=False) for part in blocks]
text_parts = [np.load(base / f"text/qwen3/{part}_penultimate_lasttok.npy",
mmap_mode="r", allow_pickle=False) for part in blocks]
samples = json.loads((base / "samples/manifest.json").read_text())["records"]
assert len(samples) == sum(x.shape[0] for x in vision_parts) == 10000
for block_index in range(2):
assert vision_parts[block_index].shape[0] == text_parts[block_index].shape[0] == 5000
# A combined row r maps to vision_parts[r // 5000][r % 5000].
# Process the blocks in order to avoid allocating a full concatenated array.
Download pooled ImageNet features
import json
from pathlib import Path
import numpy as np
from huggingface_hub import snapshot_download
root = Path(snapshot_download(
repo_id="336labs/VisionEncoder-Features",
repo_type="dataset",
allow_patterns=[
"encoders.json", "README.md", "LICENSES.md",
"imagenet1k/train200k/features/001_clip_openai__l14.npy",
"imagenet1k/train200k/metadata/001_clip_openai__l14.json",
"imagenet1k/train200k/labels.npy",
"imagenet1k/train200k/source_indices.npy",
"imagenet1k/train200k/samples/**",
"imagenet1k/train200k/protocols/**",
],
local_dir="VisionEncoder-Features",
))
base = root / "imagenet1k/train200k"
features = np.load(base / "features/001_clip_openai__l14.npy",
mmap_mode="r", allow_pickle=False)
labels = np.load(base / "labels.npy", allow_pickle=False)
protocol = json.loads((base / "protocols/knn_seed42.json").read_text())
train_rows = np.asarray(protocol["train_indices_by_shot"]["20"])
query_rows = np.asarray(protocol["query_indices"])
Load the sample tables with Hugging Face Datasets
from datasets import load_dataset
lcs_samples = load_dataset("336labs/VisionEncoder-Features",
"lcs558k_n1000_seed42", split="train")
lcs10k_samples = load_dataset("336labs/VisionEncoder-Features",
"lcs558k_n10000_seed42plus43", split="train")
imagenet_samples = load_dataset("336labs/VisionEncoder-Features",
"imagenet1k_train200k", split="train")
The three dataset configurations expose sample metadata tables in the Dataset Viewer and load_dataset. Download the large feature arrays separately and load them with NumPy. A complete download uses snapshot_download with repo_type="dataset" and no allow_patterns; selective downloads are usually sufficient.
Encoder Catalog
encoders.json maps all 70 tokenizer IDs to their LCS-1000, LCS-10000 block, and ImageNet array paths, metadata, shapes, and upstream encoder sources. The lcs_patch_n10000.blocks entries specify each block's global row range and shared sample manifest. Upstream links identify the encoder projects and downloadable weights; an exact historical weight revision is provided only where the original audit recorded one.
Dataset Creation and Provenance
This release assembles the project's existing feature caches. Feature arrays are published without additional pooling, quantization, or re-extraction. Released metadata uses repository-relative paths for shared samples and arrays. Inaccessible historical local paths are marked source-local:<filename>.
SHA-256 hashes of original metadata and original sample manifests are retained separately from the hashes of sanitized release files. For text features, extraction_identity preserves the original extraction identity; its manifest hash refers to the original manifest. The top-level sample_manifest_sha256 refers to the sanitized published manifest, and source_sample_manifest_sha256 retains the original hash.
All arrays passed finite-value checks before upload. Shapes/dtypes and row-order fingerprints were checked; the 70 encoder IDs match across both subsets. The ImageNet subset has exactly 200 examples per class; the kNN pool/query split is disjoint and shot subsets are nested. The repaired UniAR array matches its recorded repaired hash.
The added 140 patch arrays and six last-token text arrays passed full-file finite-value and SHA-256 checks before publication. All 70 encoder pairs have matching block shapes and dtypes. The component manifests concatenate exactly to the 10,000-row manifest, with no overlap in source index, image ID, or text ID. Text file hashes match their original extraction audits. Full source-index arrays are derived from the ordered canonical manifests, preserving the original caches.
The dataset inventory records array shapes, dtypes, byte sizes, SHA-256 hashes, and nonfinite-value counts. checksums.sha256 verifies all listed files; it excludes itself and FILES.json to avoid circular hashes. Sources were preserved during publication.
Intended Uses and Limitations
- RAVEL and alignment probes: use paired LCS visual and text features, preserving the shared row order. LCS-1000 uses mean-token text; the historical LCS-10000 cache uses last-token text. Keep these surfaces distinct. Captions and text embeddings are required for cross-modal probes.
- kNN and linear probes: use ImageNet pooled features with shared labels and the provided split. A full ImageNet linear-probe benchmark additionally requires the appropriate training and validation data.
- Historical patch provenance: the original visual audits do not record a uniform feature-layer specification. Missing extraction-layer, processor, or weight-revision fields remain explicitly unverified in this release. The arrays should be interpreted using available per-encoder metadata and the extraction code, rather than assuming a common layer/readout.
- UniAR correction (LCS-1000 only): the published LCS-1000 UniAR array uses the documented legacy BSQ deepstack concatenation. One NaN at
[630, 295, 1051]was replaced by1.7109375, obtained by re-extraction with the official model. Its metadata retains original/repaired hashes, pinned model/source revisions, weight hash, and verification of the remaining 1,151 components in that BSQ vector. - Coverage and bias: LCS-1000 and LCS-10000 are captioned-image samples; ImageNet200k is a class-balanced training subset. Findings depend on these data sources and selected encoders. Features inherit the content and representation biases of the upstream datasets and models.
- Scope: this release contains the three feature subsets described above. Obtain raw images and encoder weights from the upstream sources, and MLLM checkpoints from the Model Zoo. Derived PCA/distance caches and additional experiments beyond the documented subsets are outside the current release.
Licensing and Attribution
See LICENSES.md. Use of the artifacts is subject to the applicable source-dataset and encoder terms. Source license information should be checked at the upstream links before reuse or redistribution; this card does not grant new rights over upstream images, captions, or model-derived artifacts.
Citation
If you use these feature caches or RAVEL, please cite the paper and the relevant source datasets and encoders:
@misc{yang2026strong,
title={A Strong Baseline for Evaluating Vision Encoders in Multimodal Large Language Models},
author={Yang, Yilin and Tang, Jun-Tao and Wang, Kengyi and Su, Siyuan and Luo, Gaoyong and Chen, Mingda},
year={2026},
eprint={2610.05413},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2610.05413}
}
Questions or corrections: open a discussion on this dataset or an issue in the evaluation code repository.