Compressing Biology: Evaluating the Stable Diffusion VAE for Phenotypic Drug Discovery
Télio Cropsal, Rocío Mercado
TL;DR
High-dimensional Cell Painting data challenge generative modeling, motivating the use of Stable Diffusion's VAE (SD-VAE) for image reconstruction. The authors present a systematic benchmarking framework that evaluates pixel-level, embedding-based, latent-space, and retrieval-based metrics, using CPJUMP1 and LSUN to assess reconstruction fidelity and biological signal retention. They find that SD-VAE reconstructions preserve phenotypic information with minimal loss and that general-purpose embeddings (e.g., InceptionV3) can match or exceed domain-specific OpenPhenom in retrieval tasks, despite higher latent-space irregularity in microscopy data. The work provides practical guidelines for validating microscopy generative models and supports deploying off-the-shelf components in phenotypic drug discovery workflows.
Abstract
High-throughput phenotypic screens generate vast microscopy image datasets that push the limits of generative models due to their large dimensionality. Despite the growing popularity of general-purpose models trained on natural images for microscopy data analysis, their suitability in this domain has not been quantitatively demonstrated. We present the first systematic evaluation of Stable Diffusion's variational autoencoder (SD-VAE) for reconstructing Cell Painting images, assessing performance across a large dataset with diverse molecular perturbations and cell types. We find that SD-VAE reconstructions preserve phenotypic signals with minimal loss, supporting its use in microscopy workflows. To benchmark reconstruction quality, we compare pixel-level, embedding-based, latent-space, and retrieval-based metrics for a biologically informed evaluation. We show that general-purpose feature extractors like InceptionV3 match or surpass publicly available bespoke models in retrieval tasks, simplifying future pipelines. Our findings offer practical guidelines for evaluating generative models on microscopy data and support the use of off-the-shelf models in phenotypic drug discovery.
