TotalVI (Total Variational Inference) is a deep generative model based on the scVI framework that learns a Joint Latent Space representing both transcriptomic and proteomic states from CITE-seq data. It uses a Variational Autoencoder architecture to simultaneously model RNA counts (negative binomial distribution) and surface protein levels (mixture of background and foreground components), capturing the correlation structure between modalities.
Glossary
TotalVI

What is TotalVI?
TotalVI is a deep generative model for end-to-end analysis of paired CITE-seq data, jointly modeling RNA expression and surface protein abundance in single cells.
The model performs Cross-Modal Embedding Alignment by projecting both data types into a shared low-dimensional representation, enabling Missing Modality Imputation for proteins not measured in a given experiment. TotalVI corrects for batch effects and library size variation, producing denoised, integrated visualizations that reveal cellular heterogeneity invisible to unimodal analysis.
Key Features of TotalVI
A deep generative model for end-to-end analysis of paired CITE-seq data, jointly modeling RNA expression and surface protein abundance.
Joint Probabilistic Modeling
TotalVI uses a variational autoencoder (VAE) framework to learn a shared Joint Latent Space that simultaneously captures RNA transcript counts and surface protein levels. Unlike concatenation-based methods, it explicitly models the distinct statistical distributions of each modality—Negative Binomial for RNA and Mixture-of-Gaussians for proteins—within a single generative process. This unified posterior distribution enables the model to denoise both data types while preserving cross-modal correlations.
Missing Modality Imputation
A defining capability of TotalVI is computationally predicting protein abundance from RNA expression alone. After training on paired CITE-seq data, the learned Cross-Modal Translation mapping in the latent space allows the decoder to generate realistic protein profiles for cells where only transcriptomic data is available. This is critical for integrating legacy scRNA-seq datasets with newer multi-omic atlases, effectively backfilling missing surface marker information without additional experimental cost.
Library-Size Normalization
TotalVI incorporates a dedicated latent variable that explicitly captures library size—the total number of sequenced reads per cell. By isolating this technical confounder from the biological latent factors, the model achieves robust normalization without the distortions introduced by heuristic scaling methods. This design ensures that downstream differential expression and clustering analyses reflect genuine biological variation rather than sequencing depth artifacts.
Batch Effect Correction
The model can condition its latent representation on categorical batch labels, functioning as a Batch Effect Correction Autoencoder. By learning a batch-invariant latent space, TotalVI harmonizes data collected across different laboratories, time points, or sequencing platforms. This enables the construction of large-scale harmonized cell atlases where technical variation is removed while preserving true biological signals such as disease state or cell type identity.
Scalable Amortized Inference
TotalVI employs amortized inference via neural network encoders, meaning that once trained, the model can infer latent representations for millions of new cells without re-optimization. This contrasts with non-amortized methods like Multi-Omic Factor Analysis (MOFA) that require iterative optimization per dataset. The encoder maps raw counts directly to the approximate posterior in a single forward pass, making TotalVI suitable for atlas-scale integration projects involving millions of single-cell profiles.
Differential Expression Testing
TotalVI includes a built-in Bayesian hypothesis testing framework for identifying differentially expressed genes and differentially abundant proteins between cell populations. By leveraging the full posterior distribution rather than point estimates, it quantifies uncertainty in effect sizes. Users can specify contrasts—such as treatment versus control—and obtain Bayes factors that measure the strength of evidence for differential expression, providing statistically rigorous results without external tools.
Frequently Asked Questions
Clear, technical answers to the most common questions about the TotalVI model for joint analysis of paired CITE-seq data.
TotalVI (Total Variational Inference) is a deep generative model specifically designed for the end-to-end analysis of paired CITE-seq data, jointly modeling RNA expression and surface protein abundance in single cells. It works by learning a shared Joint Latent Space that captures the combined biological signal from both modalities. The model uses a variational autoencoder framework with modality-specific likelihoods: a negative binomial distribution for RNA counts and a mixture of log-normal distributions for protein counts. By conditioning protein prediction on the latent representation of the cell, TotalVI accounts for the technical noise and background binding inherent in antibody-derived tags. This unified probabilistic approach enables simultaneous denoising, dimensionality reduction, and the imputation of missing protein data, providing a holistic view of cellular identity that neither modality could achieve alone.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core architectural concepts and complementary methods that underpin TotalVI's joint modeling of RNA and protein data in single cells.
Joint Latent Space
The shared, lower-dimensional mathematical representation where TotalVI embeds both RNA expression and surface protein abundance. This space captures the covariance between modalities, allowing the model to represent a cell's state holistically. Proximity in this space indicates functional similarity, enabling accurate cell-type clustering and visualization that reflects both transcriptomic and proteomic identity.
Cross-Modal Translation
The computational task of converting one data modality into another. TotalVI performs protein-to-RNA and RNA-to-protein translation via its shared latent space. For example, the model can computationally predict surface marker abundance from a cell's transcriptome alone. This is invaluable for mapping legacy scRNA-seq datasets onto CITE-seq references without performing new experiments.
Batch Effect Correction
A core capability of TotalVI's generative design. The model explicitly accounts for technical confounders like donor variability or sequencing lane using a conditional architecture. It learns a latent representation of biological state that is invariant to batch effects, allowing for seamless integration of CITE-seq data collected across multiple experiments without distorting true biological signals.
Single-Cell Multi-Omic Integration
TotalVI belongs to the broader class of computational methods designed to align and jointly analyze multiple data types measured from the same individual cells. Unlike horizontal integration (mapping scRNA-seq to scATAC-seq across different cells), TotalVI performs vertical integration on simultaneously measured modalities. This provides a direct, paired view of the central dogma at single-cell resolution.
Modality Dropout
A regularization technique used during TotalVI's training where one data modality (e.g., all protein data) is randomly zeroed out for a subset of cells. This forces the model to learn robust, cross-modal predictive distributions and prevents it from over-relying on a single data type. The result is a model that gracefully handles inference scenarios where one modality is partially or completely missing.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us