EAP4EMSIG - Enhancing Event-Driven Microscopy for Microfluidic Single-Cell Analysis

Nils Friederich, Angelo Jovin Yamachui Sitcheu, Annika Nassal, Erenus Yildiz, Matthias Pesch, Maximilian Beichter, Lukas Scholtes, Bahar Akbaba, Thomas Lautenschlager, Oliver Neumann, Dietrich Kohlheyer, Hanno Scharr, Johannes Seiffarth, Katharina Nöh, Ralf MikutarXiv 2025 · DOI

Introduction

Microfluidic Live-Cell Imaging (MLCI) is a cornerstone of modern microbiology, enabling researchers to observe the growth and production of microbial cell factories at high resolution. However, the transition to high-throughput experimentation introduces significant technical hurdles. Monitoring thousands of microfluidic chambers simultaneously often leads to two critical failures: focus drift due to thermal or mechanical changes, and high latency in data analysis. Traditionally, analysis occurs post-experiment, meaning rare biological events or technical glitches are only discovered after the data collection is complete, precluding any real-time intervention.

The EAP4EMSIG framework addresses these challenges by transforming MLCI into an active, "event-driven" system. By integrating real-time AI-driven modules, the system can detect biological milestones and technical failures as they happen, allowing for immediate experimental adjustment.

System Architecture and Methods

The core of the EAP4EMSIG framework is the Experiment Automation Pipeline (EAP), which consists of three primary modules designed for speed and integration. The system utilizes the Dataflow-Oriented Robotic Architecture (DORA) middleware to connect analysis directly to microscope control.

The EAP4EMSIG system architecture, integrating real-time image processing, data analysis, and experiment planning for closed-loop microscopy control.
  1. MLP-based Autofocusing: To combat focus drift without the overhead of complex deep learning models, the authors implemented a Multi-Layer Perceptron (MLP). This model utilizes rapidly computable features, such as image pyramids and wavelet transforms, to predict the required stage adjustment in micrometers.
  2. Real-Time Segmentation: The pipeline utilizes optimized deep learning architectures to segment individual cells within crowded colonies. After benchmarking 11 different models, including specialized bacterial segmenters and general foundation models like SAM, the authors identified a distance-based method as the optimal balance between accuracy and inference speed.
  3. Dashboard and Event Detection: The system provides a modular UI that allows researchers to define automated triggers—such as sending notifications or adjusting imaging parameters—based on real-time cell count or growth rate changes.

Performance and Key Results

The framework was validated using an internal dataset of 13,000 high-resolution images for autofocus training and a public benchmark of 4,000 Corynebacterium glutamicum images for segmentation.

The MLP-based autofocusing achieved remarkable precision, with a Mean Absolute Error (MAE) of 0.105 µm and an R² of 0.998. This level of accuracy is nearly as precise as the microscope's own mechanical positioning hardware (0.065 µm).

Performance of the MLP-based autofocusing model, showing high correlation (R² = 0.998) between predicted and true focus offsets.

In terms of speed, the autofocusing inference requires only 87 ms, while the fastest high-quality segmentation method takes 121 ms. These sub-100ms processing times are essential for maintaining real-time control across thousands of experimental chambers. Interestingly, while large "Foundation Models" like SAM were tested, they proved unsuitable for this application, often failing to distinguish individual cells and exhibiting excessive latency.

Conclusion and Future Directions

EAP4EMSIG demonstrates that "shallow" learning with intelligent feature engineering can outperform deep architectures for specific technical tasks like autofocusing. By closing the loop between analysis and control, the system moves beyond passive observation to reactive experimentation.

Future work will focus on improving the generalizability of the autofocusing models across different chip types and illumination settings. Additionally, the authors plan to integrate the pipeline with electronic lab notebooks to automate the documentation of AI-detected biological events.

Summary updated

BibTeX
@misc{friederich2025eap,
  author = {Nils Friederich and Angelo Jovin Yamachui Sitcheu and Annika Nassal and Erenus Yildiz and Matthias Pesch and Maximilian Beichter and Lukas Scholtes and Bahar Akbaba and Thomas Lautenschlager and Oliver Neumann and Dietrich Kohlheyer and Hanno Scharr and Johannes Seiffarth and Katharina Nöh and Ralf Mikut},
  title = {{EAP4EMSIG - Enhancing Event-Driven Microscopy for Microfluidic Single-Cell Analysis}},
  year = {2025},
  eprint = {2504.00047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.00047},
}
Figure