MemBrain v2: an end-to-end tool for the analysis of membranes in cryo-electron tomography

Lorenz Lamm, Simon Zufferey, Ricardo D. Righetto, Wojciech Wietrzyñski, Kevin A. Yamauchi, Alister Burt, Ye Liu, Hanyi Zhang, Antonio Martínez-Sánchez, Sebastian Ziegler, Fabian Isensee, Julia A. Schnabel, Benjamin D. Engel, Tingying PengbioRxiv 2024 · DOI

Abstract

Cryo-electron tomography (cryo-ET) provides unique insights into macromolecular complexes in their native environments, yet membrane analysis remains a major bottleneck due to low signal-to-noise ratios, missing wedge artifacts, and the complexity of membrane-associated proteins. Existing tools often require extensive manual annotation, struggle with generalization across datasets, and lack integrated solutions for segmentation, protein localization, and quantitative analysis. We introduce MemBrain v2, a deep learning-enabled framework that unifies these tasks into a streamlined pipeline. MemBrain-seg leverages a diverse, collaboratively generated training dataset and specialized model training strategies to achieve generalizable membrane segmentation across variable tomographic conditions. MemBrain-pick enables data-efficient localization of membrane-bound proteins by integrating geometric constraints with deep learning, reducing the need for extensive manual annotation. MemBrain-stats provides quantitative insights into protein distributions, computing spatial metrics to analyze intra-membrane particle organization. MemBrain v2 integrates seamlessly into cryo-ET workflows, providing an accessible and structured approach to membrane analysis.

Introduction

Cryo-electron tomography (cryo-ET) allows researchers to observe the molecular machinery of life in its native 3D environment at sub-nanometer resolution. However, the data is notoriously difficult to process, suffering from low signal-to-noise ratios (SNR) and the "missing wedge" effect—an imaging artifact that causes structures in certain orientations to virtually disappear. Membranes serve as the structural scaffolding of the cell, but segmenting them manually is a massive bottleneck that hinders high-throughput analysis. MemBrain v2 addresses these challenges by providing an automated, deep learning-powered framework designed to automate the segmentation and analysis of membranes.

Methods: MemBrain-seg

The core of the suite is MemBrain-seg, which utilizes a 3D U-Net architecture to achieve robust, generalizable segmentation. Unlike previous tools that often require extensive manual retraining for every new dataset, MemBrain-seg is designed to be "plug-and-play" across diverse biological samples and imaging conditions.

Overview of the MemBrain v2 pipeline, showing the 3D U-Net training process and the subsequent inference workflow from raw input to 3D mesh.

Surface-Dice Loss

A primary innovation in MemBrain v2 is the Surface-Dice (S-Dice) loss. Traditional Dice loss measures volumetric overlap, which is problematic in cryo-ET because membrane "thickness" in manual annotations is often subjective. S-Dice skeletonizes both the prediction and the ground truth into 1-voxel-thick surfaces before comparison. This forces the network to prioritize topological connectivity and shape over arbitrary voxel thickness.

Quantitative comparison demonstrating that S-Dice scores remain stable even as ground truth thickness varies, unlike standard Dice scores.

Specialized Augmentations

To ensure the model is "style-agnostic," the authors implemented Fourier Amplitude Spectrum Augmentation. By randomly manipulating the frequency components of training images, the model learns to handle various imaging conditions, such as different defocus levels or noise profiles. Additionally, Missing Wedge Augmentation artificially introduces artifacts during training, teaching the network to "fill in the blanks" when encountering real-world anisotropic data.

Datasets and Iterative Training

The model was trained on a diverse "collaborative" dataset including chloroplast thylakoids from Spinacia oleracea, mitochondria from Chlamydomonas reinhardtii, and yeast cells from the DeePiCt project. The team employed an active learning approach, where model failures were manually corrected and fed back into the training loop across five incremental rounds to improve performance on complex structures like high-curvature vesicles.

Key Results and Insights

  • Connectivity Over Volume: The use of S-Dice proved that maintaining membrane integrity as a continuous sheet is more biologically relevant than matching human brushstroke thickness. S-Dice scores consistently remained high (often >0.9) even when standard Dice scores fluctuated.
  • Generalization: MemBrain-seg showed stable performance across different datasets without requiring per-dataset normalization, significantly reducing the preprocessing burden on researchers.
  • Qualitative Superiority: Compared to classical methods like TomoSegMemTV, MemBrain-seg produces much cleaner, more continuous membrane surfaces, particularly in regions heavily impacted by the missing wedge.

Conclusion

MemBrain v2 represents a significant advancement in cryo-ET analysis. By integrating automated segmentation (MemBrain-seg) with protein localization (MemBrain-pick) and morphometric analysis (MemBrain-stats), it offers a complete end-to-end solution. The framework's focus on topological robustness and frequency-based augmentation allows it to generalize across the diverse and challenging data types found in modern structural biology.

Summary updated

Abstract

Abstract Cryo-electron tomography (cryo-ET) provides unique insights into macromolecular complexes in their native environments, yet membrane analysis remains a major bottleneck due to low signal-to-noise ratios, missing wedge artifacts, and the complexity of membrane-associated proteins. Existing tools often require extensive manual annotation, struggle with generalization across datasets, and lack integrated solutions for segmentation, protein localization, and quantitative analysis. We introduce MemBrain v2, a deep learning-enabled framework that unifies these tasks into a streamlined pipeline. MemBrain-seg leverages a diverse, collaboratively generated training dataset and specialized model training strategies to achieve generalizable membrane segmentation across variable tomographic conditions. MemBrain-pick enables data-efficient localization of membrane-bound proteins by integrating geometric constraints with deep learning, reducing the need for extensive manual annotation. MemBrain-stats provides quantitative insights into protein distributions, computing spatial metrics to analyze intra-membrane particle organization. MemBrain v2 integrates seamlessly into cryo-ET workflows, providing an accessible and structured approach to membrane analysis. The full package is available at https://github.com/CellArchLab/MemBrain-v2 .
BibTeX
@misc{lamm2024membrain,
  author = {Lorenz Lamm and Simon Zufferey and Ricardo D. Righetto and Wojciech Wietrzyñski and Kevin A. Yamauchi and Alister Burt and Ye Liu and Hanyi Zhang and Antonio Martínez-Sánchez and Sebastian Ziegler and Fabian Isensee and Julia A. Schnabel and Benjamin D. Engel and Tingying Peng and Tingying Peng},
  title = {{MemBrain v2: an end-to-end tool for the analysis of membranes in cryo-electron tomography}},
  year = {2024},
  doi = {10.1101/2024.01.05.574336},
  howpublished = {bioRxiv},
}
Figure