Multiclass Yeast Segmentation in Microstructured Environments with Deep Learning

Tim Prangemeier, Christian Wildner, André O. Françani, Christoph Reich, Heinz Koeppl

Abstract

Automated analysis of time-lapse fluorescence microscopy (TLFM) is essential for understanding single-cell dynamics in synthetic biology. However, microfluidic environments often present challenges for standard segmentation algorithms due to the morphological similarity between cells and the microstructures designed to trap them. This paper presents a modified, lightweight U-Net architecture optimized for multiclass segmentation in these environments. By explicitly labeling microfluidic traps as a distinct class and utilizing a boundary-weighted loss function, the proposed model achieves a cell intersection-over-union (IoU) of 0.82. Furthermore, the model reduces inference time to 20 milliseconds per image—a 65-fold speedup over previous state-of-the-art methods—enabling real-time, closed-loop experimental control.

Introduction

In synthetic biology and systems biology, time-lapse fluorescence microscopy (TLFM) is the gold standard for observing the behavior of individual cells over extended periods. To maintain cells within a consistent field of view while providing a continuous supply of nutrients, researchers utilize microfluidic chips. These chips contain thousands of microscopic "traps" that hold cells in place.

Despite the advantages of these microstructured environments, they introduce significant computational hurdles. The primary challenge lies in segmentation: the process of identifying which pixels in an image belong to a cell versus the background. In many microfluidic designs, the traps are geometrically similar to the yeast cells (Saccharomyces cerevisiae) they contain—both are roughly circular and of comparable size. Traditional automated tools, such as the DISCO pipeline, often struggle to differentiate between these structures, leading to high error rates. Additionally, existing pipelines are computationally intensive, often requiring over a second to process a single image. This latency creates a bottleneck that prevents real-time data analysis and dynamic experimental intervention.

Methodology

To address these limitations, this research employs Convolutional Neural Networks (CNNs) based on the U-Net architecture, specifically adapted for the constraints of microfluidic imaging.

Multiclass Classification

Rather than a standard binary segmentation (cell vs. background), the authors implement a multiclass approach. The network is trained to distinguish between three or four distinct classes: background, trap, and cell (with the four-class variant further distinguishing between primary mother cells and auxiliary daughter cells). By treating the microfluidic trap as its own class, the network learns to identify the specific features of the trap geometry, effectively eliminating the confusion between traps and cells.

Architectural Optimization

The study compares two versions of the architecture:

  • Model A: A standard, full-scale U-Net.
  • Model B: A "shrunken" U-Net with a reduced number of feature channels. This model was designed to minimize computational overhead while maintaining sufficient representational power for the specific, highly constrained environment of a microfluidic trap.

Loss Function and Training

To prevent the network from merging adjacent cells—a common issue in dense populations—the researchers utilized a combined loss function. This included a Sørensen-Dice loss to handle class imbalance and a pixel-wise weighted cross-entropy loss. The weighting scheme heavily penalizes errors on the narrow boundaries between cells and between cells and traps, forcing the model to prioritize precise edge detection.

Experimental Setup and Datasets

The models were trained on a curated dataset of 633 annotated brightfield images (128 × 128 pixels) sourced from various microfluidic experiments. The dataset was split into training (487), validation (65), and testing (81) sets. To ensure robustness, the data was balanced to include various occupancy states (empty traps, single cells, and multiple cells) and augmented using random elastic deformations to simulate variations in cell morphology and manufacturing tolerances in the microfluidic chips.

Results

Segmentation Accuracy

The optimized Model B (specifically the three-class variant with weighted loss) achieved a Jaccard index (IoU) of 0.82 for the cell class. This represents a significant improvement over the DISCO pipeline, which achieved an IoU of approximately 0.70. The multiclass approach successfully mitigated the false identification of traps as cells.

Computational Efficiency

The "shrunken" architecture of Model B proved highly effective. It reduced the number of learnable parameters by 84% (from ~31 million to ~5 million) and decreased floating-point operations (FLOPs) fourfold compared to the standard U-Net. These optimizations resulted in an inference speed of approximately 20 milliseconds per specimen image. Compared to the 1300 ms required by DISCO, this represents a 65x speedup, making the pipeline faster than the typical image acquisition rate of the microscope.

Discussion and Conclusion

The results demonstrate that for specialized imaging tasks like microfluidic cell tracking, massive over-parameterization is unnecessary. A lightweight, multiclass CNN can provide both higher accuracy and significantly lower latency than traditional machine learning pipelines.

The primary limitation of the current work is its specificity; the model is tailored to a particular trap geometry and yeast morphology. Future research will focus on expanding the dataset to include diverse trap designs and different organisms, such as E. coli. However, the current speed of 20 ms per image already unlocks the potential for "closed-loop" experiments, where researchers can analyze cell behavior in real-time and automatically adjust chemical or environmental inputs to guide biological processes as they unfold.

Summary updated

BibTeX
@inproceedings{prangemeier2020multiclass,
  author = {Tim Prangemeier and Christian Wildner and André O. Françani and Christoph Reich and Heinz Koeppl},
  title = {{Multiclass Yeast Segmentation in Microstructured Environments with Deep Learning}},
  booktitle = {CIBCB},
  year = {2020},
  doi = {10.1109/cibcb48159.2020.9277693},
}
Figure