Classic segmentation workflow reproducibility issue for ACTN1,MYH10,SEC61B, & ST6GAL1

Abierto
#44 0 comentarios 0 reacciones 2 asignados Ver en GitHub

@vianamp ya está trabajando en esto.

Desde el 27/5/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

We are training MegaSeg on the public AICS variance dataset (https://animatedcell-test-data.s3.us-west-2.amazonaws.com/variance/{FOV_ID}.zarr). Channel C=4 of each zarr is the segmentation we use as training/eval GT for 14 structures.

For most structures, when we re-run an aicssegmentation classical workflow on the raw images today, the output matches C=4 to Dice ≥ 0.99. For ACTN1, MYH10, SEC61B, and ST6GAL1, it does not, and the pattern of disagreement is structure-specific in a way that suggests different pipelines or different parameters were used to produce C=4 for these four structures.

What we have confirmed

  1. Our staged GT TIFFs are byte-identical to C=4 of the public zarrs. On 20 sampled images across the 4 structures, Dice = 1.000000, and the nonzero-pixel counts match to the integer. So the GT we trained on is not a custom local mask, it is exactly the public dataset's C=4.
  2. Our re-run pipeline is deterministic. Two independent runs of the classical workflow, six weeks apart, matched bit-identically on 24 sampled images. The single deviation (ST6GAL1) differed by 0.003 Dice, a floating-point sensitivity, not a real change.
  3. So the discrepancy below is not library drift between 2021 and 2026 and not noise in our pipeline. There is a real difference between whatever pipeline produced C=4 for these four structures and the aicssegmentation classical workflow we run today.

What we observe

Dice between the classical workflow output and C=4 of the public zarr, across all images for which we have a measurement (test split = full coverage at N=67 per structure; train+val = sparse sample):

Structure N mean median min max <0.8 0.8–0.99 ≥0.99
ACTN1 121 0.865 0.998 0.618 1.000 49 0 72
MYH10 73 0.962 0.960 0.939 0.987 0 73 0
SEC61B 73 0.949 0.936 0.758 0.998 1 48 24
ST6GAL1 73 0.913 0.886 0.842 0.999 0 53 20
  • ACTN1 is sharply bimodal. 49 images cluster near 0.65, 72 cluster near 1.0, and zero images fall in between. This is the clearest "two pipelines were applied per-image" signature in the dataset.
  • ST6GAL1 shows a weaker version of the same. A high cluster at ~1.0 and a lower mode at ~0.87, but with more spread.
  • MYH10 is uniformly offset. Every measured image is in [0.94, 0.99]. Looks like a single parameter difference (threshold, smoothing,
    morphology), not a different pipeline.
  • SEC61B has the widest spread (0.76–1.00), without a clean bimodal split.

What we'd like from you

For these 4 structures, could you help us pin down what produced C=4 in the public zarrs, by reproducing the masks and provding us the pipeline.

How our team re-ran the workflow (for reference)

Repo: https://github.com/AllenCell/MegaSeg (branch verify-classic-gt, PR #15, Issue #3).

Key files:

  • benchmark/scripts/classic_workflows.py — workflow loader / registry
  • benchmark/scripts/run_classic.py — generic CLI runner
  • benchmark/scripts/verify_classic_gt.py — verification harness
  • docs/2026-02-26-classic-gt-reproducibility-report.md — full report

Workflow functions used per structure (single-channel):

  • ACTN1 → Workflow_actn1 from ms_classic/ms_seg_ACTN1.py
  • MYH10 → Workflow_myh10 from ms_classic/classic_segmentation_MYH10.py
  • SEC61B → Workflow_sec61b from ms_classic/classic_segmentation_SEC61B.py
  • ST6GAL1 → Workflow_st6gal1 from ms_classic/classic_segmentation_ST6GAL1.py

Environment: aicssegmentation 0.5.3, scikit-image 0.25.2, numpy 2.3.5, scipy 1.17.1, Python 3.11.

Attached: megaseg_4struct_for_issue_final.csv

Provides image paths for these 4 structures and the dice scores for existing vs. recreated masks.
megaseg_4struct_for_issue_final.csv

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
1 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AllenCell/MegaSeg

Todos los issues de AllenCell/MegaSeg

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.