A versatile information retrieval framework for evaluating profile strength and similarity

Alexandr A. Kalinin, John Arévalo, Erik Serrano, Loan Vulliard, Hillary Tsang, Michael Bornholdt, Alán F Muñoz, Suganya Sivagurunathan, Bartek Rajwa, Anne E. Carpenter, Gregory P. Way, Shantanu Singh

Abstract

Large-scale profiling assays capture a cell population's state by measuring thousands of biological properties per cell or sample. However, evaluating profile strength and similarity remains challenging due to the high dimensionality and non-linear, heterogeneous nature of measurements. Here, we develop a statistical framework using mean average precision (mAP) as a single, data-driven metric to address this challenge. We validate the mAP framework against established metrics through simulations and real-world data, revealing its ability to capture subtle and meaningful biological differences in cell state. Specifically, we use mAP to assess a sample's phenotypic activity relative to controls, as well as the phenotypic consistency of groups of perturbations (or samples). We evaluate the framework across diverse datasets and on different profile types (image, protein, mRNA), perturbations (CRISPR, gene overexpression, small molecules), and resolutions (single-cell, bulk). The mAP framework, together with our open-source software package copairs, is useful for evaluating high-dimensional profiling data in biological research and drug discovery.

Introduction

In modern drug discovery and functional genomics, profiling assays such as Cell Painting or Perturb-seq measure thousands of features per sample to capture cellular states. Interpreting this high-dimensional data is difficult. Traditional multivariate tests like MANOVA often fail due to non-normal distributions in biological data. Machine learning classifiers, while powerful, are prone to overfitting on technical "batch effects" and require extensive parameter tuning. There is a critical need for a robust, data-driven metric to evaluate phenotypic activity (detecting changes relative to controls) and phenotypic consistency (similarity between samples with the same biological mechanism).

Methodology: Biology as Information Retrieval

The proposed framework reframes profile evaluation as a search-and-retrieval task. A perturbation replicate is treated as a "query" ($q$), and the rest of the dataset serves as the "database." If a biological signal is present, other replicates of the same perturbation should rank highly when sorted by similarity to the query.

The mAP framework for evaluating phenotypic activity. Panel A shows the data structure, Panel C illustrates the ranking and precision/recall calculation, and Panel E defines phenotypic activity as replicate retrievability.

The core metric is Mean Average Precision (mAP), widely used in computer vision and search engine evaluation. mAP calculates the area under the precision-recall curve and is "top-heavy," prioritizing correct matches at the top of the ranked list. The framework is distance-metric agnostic (typically using cosine distance) and non-parametric. Statistical significance is determined via permutation testing—repeatedly shuffling the data to see how likely a high mAP score would occur by chance. To mitigate technical noise, the framework employs "blocking," requiring the retrieval of replicates across different plates or wells to ensure true biological signal is measured.

Applications and Consistency

Beyond individual perturbations, the framework assesses phenotypic consistency—the degree to which different perturbations within the same biological group (e.g., same Mechanism of Action, MoA) resemble each other. This allows researchers to determine if a group of diverse treatments shares a common phenotypic signature.

Phenotypic consistency measures group retrievability, where the query seeks other perturbations within the same biological group (e.g., same MoA).

Results and Validation

The framework was validated across an impressive range of modalities and scales, including imaging (Cell Painting), proteomics (nELISA), and transcriptomics (Perturb-seq).

  • Superior Sensitivity: In simulations, mAP consistently detected biological signals at lower replicate counts and higher noise levels than established metrics like mp-value or MMD.
  • Robustness to Dimensionality: Unlike many statistical tests that break down as the number of features increases, mAP remains robust. In simulations with 5,000 features, mAP maintained high sensitivity while other methods stagnated.
  • Biological Correlation: In Perturb-seq datasets, mAP scores correlated perfectly with known activity levels of mismatched CRISPR guides, demonstrating its ability to detect subtle, graded biological changes.
  • Benchmarking Feature Extractors: Using the Mitocheck dataset, mAP effectively compared feature extraction methods, showing that DeepProfiler (AI-based) features were more consistent than traditional CellProfiler features for specific morphological classes.

Conclusion

The mAP framework provides a universal, modality-agnostic tool for evaluating high-dimensional biological profiles. By treating replicates as relevant documents in a search task, it bypasses complex modeling and provides a sensitive measure of biological signal. The open-source copairs package enables efficient implementation of this framework for massive datasets, facilitating more robust analysis in functional genomics and drug discovery.

Summary updated

BibTeX
@inproceedings{kalinin2025versatile,
  author = {Alexandr A. Kalinin and John Arévalo and Erik Serrano and Loan Vulliard and Hillary Tsang and Michael Bornholdt and Alán F Muñoz and Suganya Sivagurunathan and Bartek Rajwa and Anne E. Carpenter and Gregory P. Way and Shantanu Singh},
  title = {{A versatile information retrieval framework for evaluating profile strength and similarity}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-025-60306-2},
}
Figure