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

Ouverte
#44 0 commentaires 0 réactions 2 personnes assignées Voir sur GitHub

@vianamp y travaille déjà.

Depuis le 27/5/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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

Langage dominant
Python
Étoiles
0
Forks
0
Merge moyen
1 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de AllenCell/MegaSeg

Toutes les issues de AllenCell/MegaSeg

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.