<HashMap><database>biostudies-literature</database><scores/><additional><omics_type>Unknown</omics_type><submitter>Haber E</submitter><funding>NIBIB NIH HHS</funding><funding>NIDA NIH HHS</funding><funding>NHGRI NIH HHS</funding><funding>NCI NIH HHS</funding><funding>NIH HHS</funding><pubmed_abstract>Foundation models trained on single-cell RNA-sequencing (scRNA-seq) data have rapidly become powerful tools for single-cell analysis. Their performance, however, depends critically on how cells are tokenized into model inputs - a design space that remains poorly understood. Here, we present Heimdall, a comprehensive framework and open-source toolkit for systematically evaluating tokenization strategies in single-cell foundation models (scFMs). Heimdall decomposes each scFM into modular components: a gene identity encoder (&lt;i>F&lt;/i> &lt;sub>G&lt;/sub>), an expression encoder (&lt;i>F&lt;/i> &lt;sub>E&lt;/sub>), and a "cell sentence" constructor (&lt;i>F&lt;/i> &lt;sub>C&lt;/sub>) with submodules (order, sequence, and reduce) enabling fine-grained control and attribution. Using a transformer trained from scratch, we evalu</pubmed_abstract><journal>bioRxiv : the preprint server for biology</journal><pagination>2025.11.09.687403</pagination><full_dataset_link>https://www.ebi.ac.uk/biostudies/studies/S-EPMC12642435</full_dataset_link><repository>biostudies-literature</repository><pubmed_title>Heimdall: A Modular Framework for Tokenization in Single-Cell Foundation Models.</pubmed_title><pmcid>PMC12642435</pmcid><funding_grant_id>R21 DA061481</funding_grant_id><funding_grant_id>R03 OD039980</funding_grant_id><funding_grant_id>UM1 HG011593</funding_grant_id><funding_grant_id>R01 HG012303</funding_grant_id><funding_grant_id>UH3 CA268202</funding_grant_id><funding_grant_id>T32 EB009403</funding_grant_id><funding_grant_id>R01 HG007352</funding_grant_id><pubmed_authors>Haber E</pubmed_authors><pubmed_authors>Alam S</pubmed_authors><pubmed_authors>Liang S</pubmed_authors><pubmed_authors>Krieger S</pubmed_authors><pubmed_authors>Trop E</pubmed_authors><pubmed_authors>Ho N</pubmed_authors><pubmed_authors>Yang M</pubmed_authors><pubmed_authors>Liu R</pubmed_authors><pubmed_authors>Ma J</pubmed_authors></additional><is_claimable>false</is_claimable><name>Heimdall: A Modular Framework for Tokenization in Single-Cell Foundation Models.</name><description>Foundation models trained on single-cell RNA-sequencing (scRNA-seq) data have rapidly become powerful tools for single-cell analysis. Their performance, however, depends critically on how cells are tokenized into model inputs - a design space that remains poorly understood. Here, we present Heimdall, a comprehensive framework and open-source toolkit for systematically evaluating tokenization strategies in single-cell foundation models (scFMs). Heimdall decomposes each scFM into modular components: a gene identity encoder (&lt;i>F&lt;/i> &lt;sub>G&lt;/sub>), an expression encoder (&lt;i>F&lt;/i> &lt;sub>E&lt;/sub>), and a "cell sentence" constructor (&lt;i>F&lt;/i> &lt;sub>C&lt;/sub>) with submodules (order, sequence, and reduce) enabling fine-grained control and attribution. Using a transformer trained from scratch, we evalu</description><dates><release>2025-01-01T00:00:00Z</release><publication>2025 Nov</publication><modification>2026-06-10T03:13:54.034Z</modification><creation>2026-06-10T03:07:46.916Z</creation></dates><accession>S-EPMC12642435</accession><cross_references><pubmed>41292913</pubmed><doi>10.1101/2025.11.09.687403</doi></cross_references></HashMap>