Enhancing Cell Counting through MLOps: A Structured Approach for Automated Cell Analysis
Matteo Testi, Luca Clissa, Matteo Ballabio, Salvatore Ricciardi, Federico Baldo, Emanuele Frontoni, Sara Moccia, Gennario Vessio
TL;DR
The paper tackles the challenge of reliable, scalable cell counting in fluorescence microscopy by introducing CC-MLOps, a structured MLOps framework that spans data access, preprocessing, model training, monitoring, explainability, and sustainability. It demonstrates a practical pre-production use-case using the yellow FNC v2 dataset and the cell-ResUNet architecture, comparing Dice and Focal losses and validating with CI/CD on GitHub/Vertex AI and monitoring via Neptune.ai. Key findings show improved reliability, reproducibility, and trust through continuous validation, explainability with Grad-CAM, and sustainability considerations via CodeCarbon, highlighting trade-offs between model performance and environmental impact. The work provides a concrete blueprint for researchers to deploy scalable, auditable, and regulatorily aware cell counting pipelines in neuroscience, pharmacology, and environmental monitoring, while acknowledging limitations and outlining paths toward production deployment and broader domain adaptation.
Abstract
Machine Learning (ML) models offer significant potential for advancing cell counting applications in neuroscience, medical research, pharmaceutical development, and environmental monitoring. However, implementing these models effectively requires robust operational frameworks. This paper introduces Cell Counting Machine Learning Operations (CC-MLOps), a comprehensive framework that streamlines the integration of ML in cell counting workflows. CC-MLOps encompasses data access and preprocessing, model training, monitoring, explainability features, and sustainability considerations. Through a practical use case, we demonstrate how MLOps principles can enhance model reliability, reduce human error, and enable scalable Cell Counting solutions. This work provides actionable guidance for researchers and laboratory professionals seeking to implement machine learning (ML)- powered cell counting systems.
