Domain Adaptive Synapse Detection with Weak Point Annotations

Qi Chen, Wei Huang, Yueyi Zhang, Zhiwei Xiong

TL;DR

The AdaSyn framework tackles the challenge of detecting synapses in massive electron microscopy (EM) volumes when moving across different brain regions. By transforming simple point annotations into geometric masks and employing a two-stage pseudo-labeling strategy, the authors achieved 1st place in the WASPSYN challenge at ISBI 2023, significantly outperforming existing domain adaptation methods.

What Problem Does This Paper Address?

Mapping the "connectome"—the complex web of synaptic connections in the brain—requires analyzing terabytes of 3D electron microscopy data. While deep learning has automated much of this, two major hurdles remain:

  1. Annotation Bottleneck: Creating pixel-perfect masks for synapses is incredibly labor-intensive. Researchers prefer "weak annotations" (just a single point at the center of a synapse), but these are harder for standard segmentation models to learn from.
  2. Domain Shift: A model trained on one part of the brain often fails when applied to another because the "texture" of the tissue and the appearance of synapses change.

The authors address how to build a robust detector that generalizes to new "target" domains using only weak point labels from a "source" domain.

Methods

The authors propose a two-stage framework called AdaSyn:

  • Stage 1: Weak-to-Semantic Training. Since they only have point annotations, they expand each point into a 3D square mask with a radius ($R$). They train a SegNet (a 3D Res-UNet) to predict two channels: one for pre-synaptic regions and one for post-synaptic regions.
  • Stage 2: Domain Adaptation via Pseudo-Labeling. To help the model handle new brain regions, they use the Stage 1 model to predict synapses on the unlabeled target data. Instead of using the raw, noisy probability maps as labels, they find the center of the predicted clusters and "regenerate" clean square masks. They then fine-tune the SegNet using both the original source data and these new "pseudo-labeled" target samples.
  • Inference & Pairing: After segmentation, they use connected component labeling to identify individual synapse instances. To determine which pre-synapse belongs to which post-synapse (polarity), they use a "distance nearest principle," matching pairs based on spatial proximity.

Datasets

The study utilizes the WASPSYN dataset (introduced at ISBI 2023), which contains 14 image chunks from the brain of the tiny wasp Megaphragma viggianii.

  • Source Data: 5 volumes from "specimen three" with point annotations.
  • Target Data: 9 volumes from "specimen one," "specimen two," and other parts of "specimen three." These represent the domain shift the model must overcome.

Key Insights and Ideas

  • Segmentation Trumps Keypoints: One might think regressing a heatmap peak (keypoint detection) is more natural for point labels. However, the authors found that treating the problem as a segmentation task (by expanding points into masks) significantly improved performance. The extra "spatial context" of the mask helps the network learn more robust features.
  • The Power of Geometric Pseudo-labels: In the domain adaptation stage, the authors found that regenerating square masks from predicted centers was superior to using the raw segmentation output. This acts as a form of "denoising"—it forces the model to focus on the presence and location of the synapse rather than getting distracted by the exact (and potentially incorrect) predicted shape.
  • Isotropic Advantage: Because the FIB-SEM imaging used provides isotropic voxels (equal resolution in X, Y, and Z), the authors could use standard 3D convolutions effectively, which is often a struggle in traditional anisotropic EM data.

Key Results

  • Challenge Winner: AdaSyn ranked 1st place in the WASPSYN Challenge.
  • Performance Gap: On the target data, AdaSyn achieved an F1-score of 0.6160, a massive lead over the 2nd place entry (0.4917).
  • Ablation Success: The two-stage approach (Stage II) improved the mean F1-score across all target volumes from 0.5835 to 0.6160, proving that the pseudo-labeling strategy successfully mitigated domain shift.
  • Optimal Radius: Through testing, they found that a square mask radius of $R=3$ was the "sweet spot" for balancing localization and feature learning.

Limitations and Future Work

  • Heuristic Pairing: The "nearest neighbor" principle for matching pre- and post-synaptic sites is relatively simple. In very dense brain regions where many synapses are crowded together, this spatial heuristic might lead to incorrect connectivity assignments.
  • Fixed Geometry: The use of square masks is a simplification of actual synapse morphology. While effective for detection, it doesn't capture the biological complexity of the synaptic cleft.
  • Future Directions: The authors suggest that further refining the pseudo-labeling process or incorporating more sophisticated structural priors could further enhance generalizability.

Summary updated

BibTeX
@inproceedings{chen2024domain,
  author = {Qi Chen and Wei Huang and Yueyi Zhang and Zhiwei Xiong},
  title = {{Domain Adaptive Synapse Detection with Weak Point Annotations}},
  booktitle = {ISBI},
  year = {2024},
  url = {https://openreview.net/forum?id=Sxi565OrTC},
}
Figure