BASILISC: Bayesian Alignment of Siamese-Integrated Latents for Inferring Single-cell Correspondence

Sepideh Saran, Mahsa Ghanbari, Uwe OhlerarXiv 2026 · arXiv

TL;DR

BASILISC introduces a Bayesian Siamese network framework to match single-cell data across different molecular layers (like RNA and chromatin) while providing a crucial "confidence score." This allows researchers to filter out unreliable matches and detect new cell types the model hasn't seen before, significantly improving the reliability of multimodal data integration.

What Problem Does This Paper Address?

In single-cell biology, researchers often use different assays to measure different molecular layers of a cell—for example, gene expression (RNA) versus chromatin accessibility (DNA structure). Most datasets are "unimodal," meaning they only capture one of these layers. To get a holistic view of cellular function, we need to "align" these different datasets, a task known as diagonal integration.

While existing machine learning models can predict which cells from one assay correspond to cells in another, they typically provide a "point estimate"—a single best guess without any measure of confidence. Because genomic data is notoriously noisy and sparse, these models often make mistakes. The field lacks a principled way to quantify the uncertainty of these cross-modal matches, which is essential for filtering out bad data and identifying novel cell types that weren't present in the training data.

Methods

The authors present BASILISC (Bayesian Alignment of Siamese-Integrated Latents for Inferring Single-cell Correspondence). The core of the framework is a probabilistic Siamese neural network.

The model is instantiated at two levels of granularity:

  1. Cell-type level: This model determines if two cells (one from each modality) belong to the same cell type. It uses "frozen" embeddings from a pre-trained variational autoencoder (Liam) as inputs.
  2. Cell level: This model attempts to find the exact partner for a query cell in the other modality, trained end-to-end from raw molecular counts.

To make the models "Bayesian," the authors place a posterior distribution over the network weights. They compare three common approximation methods: Mean-Field Variational Inference (MFVI), Monte Carlo (MC) Dropout, and Deep Ensembles. Instead of a single prediction, the model generates a distribution of scores over multiple "draws" (stochastic forward passes). The standard deviation of these draws serves as the uncertainty score.

Figure 1: Basilisc at the cell-type level: from frozen embeddings to a predictive distribution. The boxed region, panels (b) and (c), is the siamese model with deterministic legs and shared layers and a probabilistic head; (a) is the frozen embedding as input and (d) is a readout of the predictive distribution over 200 posterior draws.
Figure 2: Basilisc at the cell level: from raw counts to an assignment and its uncertainty. The boxed region, panels (b) and (c), is the trained model, with legs initialized from single-modality Liam weights and a shared projection; (a) is the raw-count input, and (d) is the readout: one assignment π over the batch, and the two uncertainty scores ui and vi read from 200 posterior draws per seed, pooled over the five seeds.

Datasets

The framework was evaluated using the NeurIPS 2021 multimodal single-cell benchmark, which includes:

  • Multiome: Simultaneous measurement of gene expression (GEX) and chromatin accessibility (ATAC) in the same nucleus.
  • CITE-seq: Simultaneous measurement of gene expression and surface protein abundance (ADT) in the same cell.

These "paired" datasets are unique because they provide a ground-truth correspondence that is usually missing in real-world unimodal integration tasks.

Key Insights and Ideas

  • Biological Lineage as a Prior: The model learns a similarity space that reflects biology. When presented with a cell type it has never seen before (Out-of-Distribution), the model doesn't just fail randomly; it matches the cell to its closest biological relative (e.g., a progenitor cell) but flags the match with high uncertainty.
  • Filtering "Harmful" Errors: At the cell level, not all errors are equal. Matching a cell to a different cell of the same type is often harmless for downstream analysis. Matching it to a completely different cell type is "harmful." The Bayesian uncertainty score is specifically better at flagging these harmful, cross-type errors than standard deterministic scores.
  • Uncertainty as a Quality Gate: The uncertainty score can be used to "abstain" from making a prediction. By discarding the 20% of matches the model is least sure about, the researchers could boost matching accuracy significantly.

Key Results

  • Superior Accuracy: At the cell level, a deep ensemble of BASILISC matchers achieved a matching accuracy of 0.062 on the benchmark test set, outperforming the original NeurIPS competition winner (0.058).
  • Effective Filtering: At the cell-type level, discarding the least certain fifth of pairs raised classification accuracy from 0.93 to 0.98.
  • Novelty Detection: The model successfully identified unseen cell types. In "Leave-One-Cell-Type-Out" (LOCTO) experiments, the uncertainty score (psd) separated unseen types from seen ones with an AUROC of 0.627.
  • Error Flagging: The Bayesian posterior flagged wrong matches that crossed cell-type boundaries with an AUROC of 0.68, compared to 0.64 for a deterministic version of the same model.

Limitations and Future Work

  • Cell-Level Novelty Detection: While the model excels at the cell-type level, detecting unseen types at the individual cell level remains challenging. The authors found that the size of the cell population in a batch heavily influences confidence, sometimes leading to overconfidence in small, unseen groups.
  • Scope: The study focused on human bone marrow data. The authors suggest that future work should test the framework across more diverse tissue types and developmental trajectories.
  • Architecture: The authors noted that placing the Bayesian posterior on the encoders (the "legs" of the Siamese network) rather than just the merged head might further improve the model's ability to detect novel biological states.

Summary updated

Abstract

Single-cell assays study the genome one cell at a time. Unimodal assays measure one molecular layer, the newer multimodal assays measure several. Most data are single-modality, so integrating them relies on models trained on multimodal assays, where the cell correspondence across modalities is known. These models return a matching, but rarely a confidence measure. We present BASILISC (Bayesian Alignment of Siamese-Integrated Latents for Inferring Single-cell Correspondence), a framework for matching single-cell representations with uncertainty on the correspondence itself. A BASILISC model is a probabilistic siamese network over the two modalities with a predictive distribution over the correspondence for a cross-modal pair of cells. We instantiate it at two levels: at the cell-type level the question is whether two cells share a cell type, at the cell level which cell is the partner in the other modality. To our knowledge, this is the first uncertainty score on a learned cross-modal correspondence evaluated against a known ground-truth pairing. BASILISC learns a similarity across modalities that reflects cell lineage: an unseen cell type is matched to its lineage relative, matching still works on such held-out types (balanced accuracy 0.86 on unseen against 0.93 on seen types), and the predictive uncertainty rises on these out-of-distribution cells. The uncertainty score also selects high-quality matches for downstream analysis: discarding the least certain fifth of the pairs raises accuracy from 0.93 to 0.98. At the cell level, a deep ensemble of the deterministic matcher reaches 0.062 matching accuracy on the benchmark test set, above the competition winner; on the Bayesian matcher's assignment, the posterior flags the wrong matches that cross a cell-type boundary better than a deterministic read of the same scores (AUROC 0.68 against 0.64).
BibTeX
@misc{saran2026basilisc,
  author = {Sepideh Saran and Mahsa Ghanbari and Uwe Ohler},
  title = {{BASILISC: Bayesian Alignment of Siamese-Integrated Latents for Inferring Single-cell Correspondence}},
  year = {2026},
  eprint = {2610.39050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.39050},
}
Figure