Dataset Viewer
Auto-converted to Parquet Duplicate
combined_sample_hash
stringlengths
32
32
source_archive_sample_hash
stringlengths
12
12
source_archive
stringclasses
8 values
sample_type
stringclasses
5 values
same_neuron
bool
2 classes
has_single_mask
bool
2 classes
has_dual_mask
bool
2 classes
task_routing
listlengths
0
2
false_split_correction_label
bool
2 classes
false_merge_identification_label
bool
2 classes
split
stringclasses
1 value
species
stringclasses
4 values
has_em
bool
2 classes
present_slots
listlengths
1
6
metadata
stringlengths
685
1.02k
geometry
unknown
geometry_single
unknown
em_xy
imagewidth (px)
224
224
em_xz
imagewidth (px)
224
224
em_yz
imagewidth (px)
224
224
em_best
imagewidth (px)
224
224
40c8462af3f7c6553af40b37a32146b1
31243bf7e34c
edits_and_adj_controls_mouse
merge_edit
true
true
true
[ "false_split_correction" ]
true
false
train
mouse
false
[ "geometry", "geometry_single" ]
{"adjacent_root": null, "after_root_ids": ["864691136052887283"], "base_root": null, "before_root_ids": ["864691134588804007", "864691135375625801"], "cutout_timestamp": null, "image_types": ["geometry", "geometry_single"], "interface_point_nm": [586292.0, 712884.0, 839200.0], "latest_root_id": "864691136052887283", "o...
[ 80, 75, 3, 4, 45, 0, 0, 0, 8, 0, 0, 0, 33, 0, 239, 103, 237, 224, 255, 255, 255, 255, 255, 255, 255, 255, 9, 0, 20, 0, 97, 114, 114, 95, 48, 46, 110, 112, 121, 1, 0, 16, 0, 128, 40, 32, 0, 0, 0, 0, 0, 89, 110, ...
[ 80, 75, 3, 4, 45, 0, 0, 0, 8, 0, 0, 0, 33, 0, 97, 217, 7, 157, 255, 255, 255, 255, 255, 255, 255, 255, 9, 0, 20, 0, 97, 114, 114, 95, 48, 46, 110, 112, 121, 1, 0, 16, 0, 128, 40, 32, 0, 0, 0, 0, 0, 121, 109, 0,...
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
e6a2b4aa5a9aecc14ab72958e94be9c6
1700a69649ab
edits_and_adj_controls_mouse
merge_edit
true
true
true
[ "false_split_correction" ]
true
false
train
mouse
false
[ "geometry", "geometry_single" ]
{"adjacent_root": null, "after_root_ids": ["864691135351051735"], "base_root": null, "before_root_ids": ["864691136524161681", "864691136524161937"], "cutout_timestamp": null, "image_types": ["geometry", "geometry_single"], "interface_point_nm": [1018864.0, 385384.0, 753920.0], "latest_root_id": "864691135351051735", "...
[ 80, 75, 3, 4, 45, 0, 0, 0, 8, 0, 0, 0, 33, 0, 176, 13, 133, 48, 255, 255, 255, 255, 255, 255, 255, 255, 9, 0, 20, 0, 97, 114, 114, 95, 48, 46, 110, 112, 121, 1, 0, 16, 0, 128, 40, 32, 0, 0, 0, 0, 0, 244, 127, 0...
[ 80, 75, 3, 4, 45, 0, 0, 0, 8, 0, 0, 0, 33, 0, 49, 162, 103, 220, 255, 255, 255, 255, 255, 255, 255, 255, 9, 0, 20, 0, 97, 114, 114, 95, 48, 46, 110, 112, 121, 1, 0, 16, 0, 128, 40, 32, 0, 0, 0, 0, 0, 123, 127, ...
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
1afd73f89576e0fbf3931706cdcbc679
c8b867b957be
junction_controls_fly
junction_control
true
true
false
[ "false_merge_identification" ]
true
false
train
fly
true
[ "em_best", "em_xy", "em_xz", "em_yz", "geometry_single" ]
"{\"after_root_ids\": [\"720575940617035521\"], \"before_root_ids\": [\"720575940617035521\"], \"cut(...TRUNCATED)
null
"UEsDBC0AAAAIAAAAIQCY/17d//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAASYsBAAAAAADsnQl8FNX9wKPm8AA8mhC(...TRUNCATED)
c7f6888568d5e0f56a47b0c7e5cc419c
9d58b7190e02
junction_controls_mouse
junction_control
true
true
false
[ "false_merge_identification" ]
true
false
train
mouse
true
[ "em_best", "em_xy", "em_xz", "em_yz", "geometry_single" ]
"{\"after_root_ids\": [\"864691136091634487\"], \"before_root_ids\": [\"864691136091634487\"], \"cut(...TRUNCATED)
null
"UEsDBC0AAAAIAAAAIQDZ1Q2I//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAA8aMBAAAAAADsnQl8VNX1x6NmUWSpmgS(...TRUNCATED)
e14da2f4ee23436d88e548229420d611
f2f9c64e8810
edits_and_adj_controls_fly
merge_edit
true
true
true
[ "false_split_correction" ]
true
false
train
fly
false
[ "geometry", "geometry_single" ]
"{\"adjacent_root\": null, \"after_root_ids\": [\"720575940618511189\"], \"base_root\": null, \"befo(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQAruAo5//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAA+yABAAAAAADs3Qd8VWmdN3DUFAvFkoC(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQBkN+8D//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAFB0BAAAAAADs3Ql8VWedN3Acs8x0WKo(...TRUNCATED)
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
3cbfa0228029297ade6d72c558540a81
4ada9c755075
edits_and_adj_controls_zebrafish
adjacent_control
false
false
true
[ "false_split_correction" ]
false
true
train
zebrafish
true
[ "em_best", "em_xy", "em_xz", "em_yz", "geometry" ]
"{\"adjacent_root\": \"864691128570256963\", \"after_root_ids\": [], \"base_root\": \"86469112863760(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQCsoG5q//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAX8YAAAAAAADs3Ql8FGmZP/AZzbEqh44(...TRUNCATED)
null
f47089417e166a6cb6663a3f29004335
f5573b10fc2b
edits_and_adj_controls_fly
adjacent_control
false
false
true
[ "false_split_correction" ]
false
true
train
fly
true
[ "em_best", "em_xy", "em_xz", "em_yz", "geometry" ]
"{\"adjacent_root\": \"720575940614586783\", \"after_root_ids\": [], \"base_root\": \"72057594061613(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQA2OZol//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAJIcDAAAAAADsnQV8FFcXxRf34O6eEN9(...TRUNCATED)
null
9780e35b553d1639a84d9497f89b2f3c
1d2efe24b1ab
edits_and_adj_controls_mouse
split_edit
false
true
true
[ "false_merge_identification", "split_mask_generation" ]
false
true
train
mouse
false
[ "geometry", "geometry_single" ]
"{\"adjacent_root\": null, \"after_root_ids\": [\"864691136484544044\", \"864691135842647011\"], \"b(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQAgtrZ6//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAQPgAAAAAAADs3Ql8m3d9P/AAPmjrOFB(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQBw+ge1//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAASvcAAAAAAADs3Qlcm/d9P/AkBZEuGOf(...TRUNCATED)
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
ab0c55e923623eecc4a87dc62994eca6
27ff745ad045
edits_and_adj_controls_fly
merge_edit
true
true
true
[ "false_split_correction" ]
true
false
train
fly
false
[ "geometry", "geometry_single" ]
"{\"adjacent_root\": null, \"after_root_ids\": [\"720575940624517867\"], \"base_root\": null, \"befo(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQAstfA1//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAdYMCAAAAAADsnQd8FNXev0Eg9Cq9k76(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQCfQnO6//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAIn0CAAAAAADsnQd8FOX2/gMkoTcJTem(...TRUNCATED)
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
6d94880ba7e875caeb785e36ba887f99
717d7785612c
edits_and_adj_controls_mouse
split_edit
false
true
true
[ "false_merge_identification", "split_mask_generation" ]
false
true
train
mouse
false
[ "geometry", "geometry_single" ]
"{\"adjacent_root\": null, \"after_root_ids\": [\"864691136084824684\", \"864691135162951725\"], \"b(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQC8S2Bi//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAA6GIBAAAAAADsnQl8VFfZ/6NmeVWWWrP(...TRUNCATED)
"UEsDBC0AAAAIAAAAIQB5IIUX//////////8JABQAYXJyXzAubnB5AQAQAIAoIAAAAAAAk2IBAAAAAADsnQl8VFfZ/6NmeVWWtma(...TRUNCATED)
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
End of preview. Expand in Data Studio

ConnectomeBench2

⚠️ This is a smoke-test repo with 1,500 samples (500 per split). The full dataset has 401,170 samples and will be uploaded after upstream loaders/viewer/Croissant are validated against this small repo.

ConnectomeBench2 is a unified benchmark for automated proofreading of connectomic neural-segmentation data. Each row is one candidate proofreading sample (a real human merge edit, a real human split edit, or a synthetic control) with the associated mesh geometry and electron-microscopy (EM) renderings.

Downstream trainers should treat this dataset as the single source of truth for sample identity, labels, train/validation/test split, and which task(s) a row is valid for.

Context: Connectomic Proofreading

Connectomics scans and automatically segments neurons to create large-scale brain maps at cellular resolution. Two types of segmentation errors can occur in this process, which need to be corrected (= proofreading):

  • False Splits — corrected via merge corrections
  • False Merges — corrected via split corrections

Merge corrections (of false splits) are applied to multiple segments that need to be correctly merged together. Split corrections (of false merges) are applied to single segments that need to be correctly split apart.

For this reason, this dataset contains renderings of both single-segment (pre-split or post-merge) and dual-segment (post-split or pre-merge) mesh geometry, where possible. EM data is provided in dual format only — segmentation on imaging level is contiguous, so the single-version can be derived from the union of the dual.

Renderings (geometry and EM imaging data)

channel decomposition: synapse 2-mask vs junction single-mask

(top: synapse merge-pair — both masks populated; bottom: junction control — single-mask only, mask B / seg B empty)

Geometry files (the geometry and geometry_single columns) are compressed .npz payloads that decode to (3, 7, 224, 224) float16 arrays — three 2D views (front, side, top) × seven channels:

ch content
0 silhouette
1 depth
2 normal_x
3 normal_y
4 normal_z
5 mask A
6 mask B (empty in single-segment renders)

Note that single and dual segment renders differ not only in mask channels, but also subtly differ in all other channels, due to slight differences in mesh geometry from merging/splitting.

Free split-mask labels. For split_edit rows, the dual-segment render (post-split) provides ground-truth split-mask labels (Mask A / Mask B channels) for the corresponding single-segment render (pre-split) — split-mask-generation tasks get pixel-level supervision without extra labeling.

EM imaging files (em_xy / em_xz / em_yz / em_best columns) are PNG-encoded 3-channel slices:

ch content
0 raw EM intensity
1 segment A mask
2 segment B mask

Four imaging views per sample: three cardinal slices (xy, xz, yz) + a best slice at an oblique angle that maximizes the visible area of both segments (sum of their logs).

For single-segment tasks, segment A and B should be merged (and B zeroed). The best view may leak some dual-label information (it takes both labels into account); we advise against testing single-segment tasks on em_best.

Loading

from datasets import load_dataset

ds = load_dataset("jeffbbrown2/connectomebench2-smoke", split="train")
sample = ds[0]
# sample["em_xy"] is a PIL Image (HF auto-decodes)
# sample["geometry"] is bytes — decode with:
import io, numpy as np
geom = np.load(io.BytesIO(sample["geometry"]))["arr_0"]   # shape (3, 7, 224, 224) float16

Or with raw pyarrow:

import pyarrow.parquet as pq
import numpy as np, io
df = pq.read_table("train/train-00000.parquet").to_pandas()
geom = np.load(io.BytesIO(df.iloc[0]["geometry"]))["arr_0"]

The metadata/{train,val,test}.parquet sidecars contain identifier/label/modality columns only (no image bytes) — useful for fast filtering or inspection.

Columns

Identifiers

  • combined_sample_hash — primary key (md5 hex 32-char of f"{source_archive}|{source_archive_sample_hash}"); guaranteed unique across the dataset.
  • source_archive_sample_hash — legacy 12-char hex hash from upstream; kept for traceability, not unique alone.
  • source_archive — name of the originating render archive (e.g. edits_and_adj_controls_fly, junction_controls_mouse, synapse_controls_fly). 10 distinct values (5 archives × species).

Sample identity

  • sample_type: str — single source of truth for what kind of sample this row is. Five values:
    • merge_edit — positive merge-correction edit
    • split_edit — positive split-correction edit
    • adjacent_control — synthetic negative for merge-correction (segments adjacent to genuine correction)
    • junction_control — putative junction in proofread neuron (negative merge-error-id sample)
    • synapse_control — synapse pair across neurons (negative merge-correction)
  • same_neuron: bool — derived from sample_type:
    • True for merge_edit, junction_control
    • False for split_edit, adjacent_control, synapse_control
  • species: strfly / mouse / human / zebrafish.

Image content

  • geometry — bytes; compressed npz (key "arr_0") decoding to (3, 7, 224, 224) float16. Null when the sample has no dual-segment render.
  • geometry_single — same shape/dtype, single-segment version. Null when not present.
  • em_xy / em_xz / em_yz / em_best — PIL Images (3-channel PNG, (224, 224, 3) uint8). Null when the row has no EM views.
  • has_single_mask: bool — convenience flag.
  • has_dual_mask: bool — convenience flag.
  • has_em: bool — true if any em_* column is non-null.
  • present_slots: list[str] — modality tags actually present (e.g. ["geometry", "geometry_single", "em_xy", "em_xz", "em_yz", "em_best"]).

Task routing & labels

  • task_routing: list[str] — which downstream task(s) this row can serve as training data for:
    • false_split_correction — merge-correction task; fires when sample_type ∈ {merge_edit, synapse_control, adjacent_control} AND has_dual_mask.
    • false_merge_identification — merge-error binary classification; fires when sample_type ∈ {split_edit, junction_control} AND has_single_mask.
    • split_mask_generation — pixel-level split prediction; fires when sample_type == split_edit AND has_single_mask.
  • false_split_correction_label: bool = same_neuron. Populated for all rows; trainers filter by task_routing.
  • false_merge_identification_label: bool = not same_neuron. Populated for all rows; trainers filter by task_routing.

Usage note. Downstream training scripts must load the appropriate geometry render per task:

  • Merge Correction of false splits should use dual-segment renders
  • Split Correction of false merges should use single-segment renders
    • Furthermore, fuse A/B channels of EM images and discard em_best (it sees both labels at oblique angle and can leak ground truth)

Otherwise, ground-truth task or label information may leak to the model and bias performance.

Train/val/test split

  • split: strtrain / validation / test. ~80/10/10 split assigned by spatial location of the proofreading sample (interface_point_nm), matched via cube splits (50µm cubes tiling the volume and randomly split).

Other

  • metadata: str — JSON-stringified original metadata struct. Parse with json.loads. Useful keys: operation_id, source_operation_id, strategy, image_types, interface_point_nm, before_root_ids, after_root_ids, …

Counts (full dataset, when uploaded)

  • 401,170 rows total · ~80/11/9 train/val/test
  • 251,499 rows with EM views; all 401,170 have geometry
  • ~2.2M model-level samples (EM × 4 views + geom × 3 views), or ~2.8M counting dual + single geom separately

Layout

README.md
shards.csv                    metadata across shards (path, sha256, n_samples, size)
train/train-*.parquet         WebDataset-style parquet shards with image bytes
val/val-*.parquet
test/test-*.parquet
metadata/                     sidecar parquets with identifiers + labels (no bytes)
  train.parquet
  val.parquet
  test.parquet
demo.parquet                  stratified mini-shard (one-line preview)
figures/
  channel_decomposition.png

Sources & License

Derived from the following upstream connectomic proofreading datasets:

  • MICrONS (mouse cortex)
  • FlyWire (Drosophila brain)
  • H01 (human cortex)
  • Zebrafish larval connectome

License = other; users must comply with upstream licenses (which may differ across species/sources). Final outbound license will be set after upstream license review.

Downloads last month
76