Learning Crossmodal Interaction Patterns via Attributed Bipartite Graphs for Single-Cell Omics

Xiaotang Wang, Xuanwei Lin, Yun Zhu, Hao Li, Yongqi ZhangNeurIPS 2025

TL;DR

$\text{Bi}^2\text{Former}$ reformulates single-cell crossmodal matching—the task of linking gene expression to chromatin accessibility—as a graph classification problem on Attributed Bipartite Graphs (ABGs). By treating expressed biological signals as nodes and using a biologically-constrained transformer, the model achieves state-of-the-art accuracy while uncovering the actual regulatory "wiring" that governs cell behavior.

What Problem Does This Paper Address?

In single-cell omics, researchers often look at two different "views" of a cell: scRNA-seq (which genes are being expressed) and scATAC-seq (which parts of the DNA are accessible for regulation). A core challenge is crossmodal matching: determining if a specific RNA profile and an ATAC profile originated from the same individual cell.

Existing methods typically rely on Variational Autoencoders (VAEs) to project these modalities into a shared latent space. However, the authors identify three major flaws in this approach:

  1. Noise from Sparsity: Biological data is naturally sparse, but VAEs often use dense vectors that introduce noise from unexpressed signals.
  2. Underutilized Metadata: Standard models ignore "biological attributes," such as where a gene is physically located on a chromosome.
  3. Black-box Interactions: They do not explicitly model regulatory interactions (how an ATAC peak actually influences a gene), making the results hard to interpret.

Methods

The authors introduce a framework that moves away from dense vectors and toward Attributed Bipartite Graphs (ABGs).

1. Graph Construction

Instead of a flat vector, each cell is represented as a bipartite graph.

  • Nodes: Only expressed RNAs and accessible ATAC peaks become nodes. Each node is "attributed" with its unique ID, expression level, and biological metadata (like genomic location).
  • Edges: To reduce noise, the authors use a "chromosomal mask." Edges only exist between RNA and ATAC nodes that are physically near each other on the same chromosome, reflecting biological reality.

2. The $\text{Bi}^2\text{Former}$ Architecture

The core of the model is a Biologically-driven Bipartite Graph Transformer.

Architecture of Bi2Former

It features:

  • Crossmodal Attention: It treats RNA as "queries" and ATAC regions as "keys," calculating how much influence a regulatory region has on a gene.
  • Biological Pruning: To mimic nature—where a gene is typically regulated by only a few specific peaks—the model applies a sigmoid threshold and a top-k filter to the attention weights. This sparsifies the interaction map.
  • Message Passing: Node embeddings are updated by aggregating information from their neighbors across the modalities.
  • Graph-Level Classification: The final output is a binary prediction: "Match" or "No Match."

Key Insights and Ideas

  • Sparsity is a Feature: By only creating nodes for active signals, the model performs "natural denoising," ignoring the thousands of zeros that usually clutter single-cell data.
  • Inductive Bias via Biology: Using chromosomal co-location as a hard constraint (the mask) prevents the model from learning "hallucinated" long-distance correlations that are physically impossible.
  • The Power of Top-k: Forcing the model to pick only the top-k most confident interactions significantly improved generalization to unseen cell types. It prevents the model from over-fitting to random co-occurrences in the training data.
  • Attention as a Regulatory Map: Because the attention mechanism is grounded in biological constraints, the resulting attention weights correlate with real-world Transcription Factor (TF) binding sites.

Key Results

Evaluated on five widely recognized benchmark datasets (ISSAAC-seq, 10x PBMC, SHARE-seq, SNARE-seq, and 10x Multiome), the model demonstrated significant improvements:

  • State-of-the-Art (SOTA): $\text{Bi}^2\text{Former}$ outperformed VAE-based baselines by an average of 11.3% in matching accuracy.
  • Robustness to Sparse Data: Even when training data was slashed to just 5-20%, $\text{Bi}^2\text{Former}$ maintained high performance, while VAE models' accuracy plummeted.
Performance robustness under sparse training data
  • Zero-Shot Generalization: The model successfully matched RNA and ATAC profiles in cell types it had never seen during training, proving it learns general biological rules rather than just memorizing specific datasets.
  • Biological Validation: The authors compared their learned attention scores to experimental ground truth (TF binding scores) and found a strong correlation, confirming the model "discovered" real biological relationships.

Limitations and Future Work

The authors acknowledge that while their node attributes are rich, their edge attributes are currently simple (binary or masked). Future iterations could incorporate more complex edge information, such as 3D genomic folding data (Hi-C). Additionally, while the graph approach is efficient for sparse data, scaling to datasets with millions of cells will require further optimization of the graph construction pipeline.

Summary updated

BibTeX
@inproceedings{wang2025learning,
  author = {Xiaotang Wang and Xuanwei Lin and Yun Zhu and Hao Li and Yongqi Zhang},
  title = {{Learning Crossmodal Interaction Patterns via Attributed Bipartite Graphs for Single-Cell Omics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=swf3Hbc3Qe},
}
Figure