Skip to main content
QUICK REVIEW

[Paper Review] Masked Autoencoders are Scalable Learners of Cellular Morphology

Oren Kraus, Kian Kenyon-Dean|arXiv (Cornell University)|Sep 27, 2023
Cell Image Analysis TechniquesBiochemistry, Genetics and Molecular Biology6 citations
TL;DR

This paper demonstrates that masked autoencoders (MAEs), particularly Vision Transformer-based models, scale effectively to learn cellular morphology from massive high-content screening (HCS) datasets. Trained on over 93 million microscopy images, a ViT-L/8 MAE achieves up to 28% relative improvement in inferring known biological relationships compared to weakly supervised baselines, establishing MAEs as powerful, scalable self-supervised learners for cellular phenomics.

ABSTRACT

Inferring biological relationships from cellular phenotypes in high-content microscopy screens provides significant opportunity and challenge in biological research. Prior results have shown that deep vision models can capture biological signal better than hand-crafted features. This work explores how self-supervised deep learning approaches scale when training larger models on larger microscopy datasets. Our results show that both CNN- and ViT-based masked autoencoders significantly outperform weakly supervised baselines. At the high-end of our scale, a ViT-L/8 trained on over 3.5-billion unique crops sampled from 93-million microscopy images achieves relative improvements as high as 28% over our best weakly supervised baseline at inferring known biological relationships curated from public databases. Relevant code and select models released with this work can be found at: https://github.com/recursionpharma/maes_microscopy.

Motivation & Objective

  • To investigate whether self-supervised learning via masked autoencoders can scale effectively to large-scale high-content screening (HCS) datasets for cellular morphology representation learning.
  • To compare the performance of MAE-based models against weakly supervised learning baselines in inferring known biological relationships from whole-genome HCS screens.
  • To evaluate the impact of model size and dataset scale on representation quality in cellular image analysis.
  • To establish a new state-of-the-art in self-supervised cellular representation learning using large-scale HCS data.

Proposed method

  • Trained masked autoencoders (MAEs) on four HCS datasets, including RPI-93M with 93 million proprietary microscopy images, to learn representations without human-annotated labels.
  • Used Vision Transformer (ViT) and U-Net architectures for masked autoencoding, with reconstruction of masked image patches from unmasked patches.
  • Applied large-batch training with the Lion optimizer and optimized hyperparameters (learning rate, weight decay, stochastic depth) for optimal convergence and performance.
  • Employed a deterministic inference pipeline: for each 2048×2048×6 well image, generated 64 non-overlapping 256×256×6 crops, encoded each via the MAE encoder, and averaged the resulting embeddings for final representation.
  • Used a global batch size of 16,384 for RPI-52M and RPI-93M, and 4,096 for RxRx3, with cyclic cosine learning rate and no gradient clipping.
  • Evaluated models on downstream recall of known biological relationships using curated databases (CORUM, hu.MAP, Reactome, StringDB), comparing to random, shallow feature, and weakly supervised baselines.

Experimental results

Research questions

  • RQ1Can masked autoencoders scale effectively to large HCS datasets to learn meaningful cellular morphology representations without supervision?
  • RQ2How do MAE-based models compare to weakly supervised learning baselines in inferring known biological relationships in whole-genome HCS screens?
  • RQ3Does increasing model size and dataset scale lead to consistent performance gains in cellular representation learning?
  • RQ4What training configurations (optimizer, batch size, learning rate) yield optimal performance for MAEs on HCS data?

Key findings

  • A ViT-L/8 MAE trained on over 3.5 billion unique image crops from 93 million microscopy images achieved a relative improvement of up to 28% in recall of known biological relationships compared to the best weakly supervised baseline.
  • The performance of MAE-based models, especially ViT variants, consistently improved with increasing model size and dataset scale, demonstrating strong scalability.
  • The ViT-L/8 model outperformed all other models, including CNN-based MAEs and weakly supervised models, across all benchmark databases (CORUM, hu.MAP, Reactome, StringDB).
  • Training with the Lion optimizer and large batch sizes significantly improved training dynamics and downstream performance compared to AdamW with smaller batches.
  • Random and shallow feature baselines recalled only ~10% of known relationships, confirming the superiority of learned representations from MAEs.
  • Pre-training from ImageNet weights provided no benefit; models trained from random initialization achieved superior performance, indicating domain shift between natural images and HCS data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.