mmContext: an open framework for multimodal contrastive learning of omics and text data
Jasper MengeriD, Sonia Maria KrissmeriD, Clemens KreutziD, Harald BinderiD, Maren HackenbergiD
Abstract
SummaryMultimodal approaches are increasingly leveraged for integrating omics data with textual biological knowledge. Yet there is still no accessible, standardized framework that enables systematic comparison of omics representations with different text encoders within a unified workflow. We present mmContext, a lightweight and extensible multimodal embedding framework built on top of the open-source Sentence Transformers library. The software allows researchers to train or apply models that jointly embed omics and text data using any numeric representation stored in an AnnData .obsm layer and any text encoder available in Hugging Face. mmContext supports integration of diverse biological text sources and provides pipelines for training, evaluation, and data preparation. We train and evaluate models for a RNA-Seq and text integration task, and demonstrate their utility through zero-shot classification of cell types and diseases across four independent datasets. By releasing all models, datasets, and tutorials openly, mmContext enables reproducible and accessible multimodal learning for omics-text integration. Availability and implementationPretrained checkpoints and full source code for our custom MMContextEncoder are available on Hugging Face huggingface.co/jo-mengr. The Python package github.com/mengerj/mmcontext provides the model implementation and training and evaluation scripts for custom training.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- FWCI
- 0.00
- Field percentile
- 1th percentile
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Language may be all omics needs: Harmonizing multimodal data for omics understanding with CellHermes
Yicheng Gao, Weixu Wang, … Qi Liu·bioRxiv·Nov 7, 2025
- OmicsFUSION: A Pretrained Hyena-Based Framework for Encoding, Reconstruction, and Representation of the Omics and DNA Data
Nazar Beknazarov, Nikita Pavlichenko, … Alan G. Herbert·bioRxiv·Sep 5, 2025
- MASIv2 enables standardization and integration of multi-modal single-cell and spatial omics data with one general framework
Yang Xu, Sikander Hayat·bioRxiv·May 15, 2023
- Beyond Integration: SuperGLUE Facilitates Explainable Training Framework for Multi-modal Data Analysis
Tianyu Liu, Jia Zhao, Hongyu Zhao·bioRxiv·Nov 19, 2024
- Representation Learning to Effectively Integrate and Interpret Omics Data
Sara Masarone·bioRxiv·Apr 23, 2023
- Single-cell multiomics data integration and generation with scPairing
Jeffrey Niu, Carlos Vasquez-Rios, Jiarui Ding·Cell Reports MethodsPeer-reviewed·Oct 28, 2025