# The Cells Out of Sample (COOS) dataset and benchmarks for measuring out-of-sample generalization of image classifiers

arXiv: https://arxiv.org/abs/1906.07282 · HTML: https://mlsanity.com/paper/1906.07282/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 Jun 2019.

## Built on by (most cited first, 3 of 3)

- [Communication-Efficient Distributionally Robust Decentralized Learning](https://mlsanity.com/paper/2205.15614/) (2022)
- [CytoImageNet: A large-scale pretraining dataset for bioimage transfer learning](https://mlsanity.com/paper/2111.11646/) (2021)
- [General Intelligent Imaging and Uncertainty Quantification by Deterministic Diffusion Model](https://mlsanity.com/paper/2408.13061/) (2024)

## Abstract (arXiv)

Understanding if classifiers generalize to out-of-sample datasets is a central problem in machine learning. Microscopy images provide a standardized way to measure the generalization capacity of image classifiers, as we can image the same classes of objects under increasingly divergent, but controlled factors of variation. We created a public dataset of 132,209 images of mouse cells, COOS-7 (Cells Out Of Sample 7-Class). COOS-7 provides a classification setting where four test datasets have increasing degrees of covariate shift: some images are random subsets of the training data, while others are from experiments reproduced months later and imaged by different instruments. We benchmarked a range of classification models using different representations, including transferred neural network features, end-to-end classification with a supervised deep CNN, and features from a self-supervised CNN. While most classifiers perform well on test datasets similar to the training dataset, all classifiers failed to generalize their performance to datasets with greater covariate shifts. These baselines highlight the challenges of covariate shifts in image data, and establish metrics for improving the generalization capacity of image classifiers.
