{"@attributes":{"version":"2.0"},"channel":{"title":"Genomics x AI","link":"https:\/\/genomicsxai.github.io\/","description":"Recent content on Genomics x AI","generator":"Hugo -- gohugo.io","language":"en","lastBuildDate":"Wed, 25 Nov 2026 14:42:39 -0500","item":[{"title":"Modeling gene regulation across cellular contexts with deep learning","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/","pubDate":"Thu, 19 Nov 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Modeling gene regulation across cellular contexts with deep learning\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n Understanding how cells regulate gene expression is a longstanding goal of biology. Deep learning has advanced this effort through sequence-to-function models that predict functional genomic measurements from DNA and cell state models that learn patterns of coordinated gene expression. Connecting these approaches could help predict how sequence effects depend on the cellular environment and how regulatory sequence shapes responses to regulator perturbations. Here, we review emerging approaches to joint modeling and examine how biological measurements, model design, and training data shape the regulatory relationships they can learn. We discuss evaluations that test generalization to unmeasured sequences and cellular conditions, alongside interpretation methods that generate mechanistic hypotheses. We then consider how incorporating cellular dynamics could help predict the propagation and persistence of regulatory responses. Finally, we discuss how pilot scaling studies could guide data acquisition and how AI agents could support model development, interpretation, and experimental design.\n <\/div>\n<\/aside>\n\n<p><em>Alan Murphy, Ekin D. Aksu and Selin Jessa contributed equally. Corresponding authors: Peter K. Koo (<a class=\"link\" href=\"mailto:koo@cshl.edu\" >koo@cshl.edu<\/a>) and Anshul Kundaje (<a class=\"link\" href=\"mailto:akundaje@stanford.edu\" >akundaje@stanford.edu<\/a>).<\/em><\/p>\n<hr>\n<h2 id=\"introduction\">Introduction\n<\/h2><p>Understanding how cells regulate gene expression is a longstanding challenge in biology. Transcription depends on interactions between <em>cis<\/em>-regulatory DNA, <em>trans<\/em>-acting factors such as transcription factors (TFs) and cofactors, and chromatin state<sup><a class=\"link\" href=\"#ref-1\" >1<\/a><\/sup>. These interactions allow cells with nearly identical genomes to maintain distinct identities and respond to developmental and environmental signals. A sequence change may alter transcription only when particular regulators are active<sup><a class=\"link\" href=\"#ref-2\" >2<\/a><\/sup>, while changing regulator activity can affect many loci and initiate further regulatory responses<sup><a class=\"link\" href=\"#ref-3\" >3<\/a><\/sup>. A predictive understanding of these relationships would connect genetic variation to its cellular consequences and support the design of interventions that alter gene expression in specific contexts. The possible combinations of sequences, regulator activities, and cellular conditions far exceed what experiments can exhaustively measure, motivating AI models that learn from available data to predict regulatory activity in unmeasured conditions and responses to new interventions.<\/p>\n<p>AI modeling of gene regulation has developed along two largely separate directions, one centered on regulatory DNA sequence and the other on cellular state. Regulatory sequence modeling uses sequence-to-function (seq2func) models to predict molecular measurements, including chromatin accessibility and gene expression, from DNA<sup><a class=\"link\" href=\"#ref-4\" >4<\/a>,<a class=\"link\" href=\"#ref-5\" >5<\/a><\/sup>. These models support variant-effect prediction and the design of regulatory sequences with specified activities<sup><a class=\"link\" href=\"#ref-6\" >6<\/a>,<a class=\"link\" href=\"#ref-7\" >7<\/a><\/sup>. Model interpretation can also help decipher <em>cis<\/em>-regulatory grammar by examining how the identity, spacing, and combinations of TF-binding sites contribute to regulatory activity<sup><a class=\"link\" href=\"#ref-8\" >8<\/a><\/sup>. Cell state models learn representations from molecular profiles, primarily gene expression, to characterize cellular variation<sup><a class=\"link\" href=\"#ref-9\" >9<\/a><\/sup>. These representations support cell type annotation and integration across datasets, helping identify cell populations and expression programs associated with development or disease. Models trained on perturbation measurements aim to predict responses to genetic or pharmacological interventions<sup><a class=\"link\" href=\"#ref-10\" >10<\/a><\/sup>. Extending these capabilities to new combinations of sequence and cellular state requires predicting how the regulatory environment modifies sequence effects. In sequence-only models, each output is trained to predict a molecular readout in a specified cellular context, while transcriptomics-based cell state models generally leave regulatory DNA implicit.<\/p>\n<p>Emerging approaches have begun to connect sequence and cell state modeling by conditioning sequence predictions on cellular measurements or incorporating sequence information into models of cellular regulation<sup><a class=\"link\" href=\"#ref-11\" >11<\/a>\u2013<a class=\"link\" href=\"#ref-16\" >16<\/a><\/sup>. Joint models could, in principle, predict how a variant\u2019s effect depends on regulator abundance or activity and how the response to a regulator perturbation depends on regulatory sequence. Learning regulatory relationships shared across loci and cellular states could extend these predictions to sequence\u2013context combinations not observed during training. These capabilities would support identifying the cellular contexts and mechanisms through which disease-associated variants act, designing regulatory sequences with specified activities across cellular states, and selecting regulator interventions that alter gene expression in a given genetic background. Grounding these models in cellular dynamics could help predict how regulatory effects propagate over time and whether interventions produce lasting changes in cellular state.<\/p>\n<p>Here, we review emerging approaches that connect regulatory sequence with cellular state to predict context-dependent gene regulation. We examine which cellular measurements provide context, how sequence and context are represented, and how their representations are combined. We then consider how training data support learning regulatory relationships, how evaluation tests their predictive value across sequences and cellular states, and how interpretation generates mechanistic hypotheses for experimental testing. Finally, we discuss how grounding models in cellular dynamics, guiding data acquisition through scaling studies, and using AI agents for model development, interpretation, and experimental design could accelerate their development and expand their biological applications.<\/p>\n<h2 id=\"interplay-between-regulatory-sequence-and-cellular-state\">Interplay between regulatory sequence and cellular state\n<\/h2><p>Transcriptional output of a gene depends on its <em>cis<\/em>-regulatory sequence, the <em>trans<\/em>-regulatory environment, and local chromatin features<sup><a class=\"link\" href=\"#ref-1\" >1<\/a><\/sup> (<strong>Figure 1<\/strong>). Here, <strong>cell state<\/strong> includes the chromatin environment and the abundance and activity of <em>trans<\/em>-acting regulators.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig1-sequence-state-interplay.png\" class=\"image-link\" data-pswp-width=\"1320\" data-pswp-height=\"820\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig1-sequence-state-interplay.png.optimized.webp\" width=\"1000px\" height=\"621\"loading=\"lazy\"\n\t\t\talt=\"Figure 1. Interdependence of regulatory sequence and cellular state. At a focal locus, cis-regulatory DNA, local chromatin, and the abundance and activity of trans-acting factors jointly influence transcription. TFs, cofactors, and chromatin regulators interpret sequence features while also shaping the chromatin environment in which they act. Gene expression can in turn alter regulator abundance, connecting regulation at individual loci to changes in cellular state. RNA processing and decay, translation, and protein turnover influence this relationship, while protein localization and post-translational modifications can change regulatory activity without corresponding changes in RNA abundance. Extracellular signals and mechanical or metabolic cues act through these regulatory processes, and secreted proteins can influence the cell and its neighbors. Black arrows indicate the production, processing, transport, and turnover of RNA and proteins, with \u2205 denoting degradation. Red arrows indicate regulation of these processes. The circled P represents protein post-translational modifications, illustrated by phosphorylation. The chromatin self-loop denotes maintenance of features established by prior regulatory activity17. Regulatory RNAs can act in cis or trans, with XIST-mediated silencing illustrating RNA-dependent chromatin regulation on the chromosome from which the RNA is transcribed18. Bolts mark experimental intervention points. Perturbations are classified relative to the focal gene, with changes to its linked regulatory elements affecting cis regulation and changes to the abundance or activity of regulators acting on it affecting its trans-regulatory environment.\"\n\t\t\t>\n\t\t<\/a><figcaption><strong>Figure 1. Interdependence of regulatory sequence and cellular state.<\/strong> At a focal locus, <em>cis<\/em>-regulatory DNA, local chromatin, and the abundance and activity of <em>trans<\/em>-acting factors jointly influence transcription. TFs, cofactors, and chromatin regulators interpret sequence features while also shaping the chromatin environment in which they act. Gene expression can in turn alter regulator abundance, connecting regulation at individual loci to changes in cellular state. RNA processing and decay, translation, and protein turnover influence this relationship, while protein localization and post-translational modifications can change regulatory activity without corresponding changes in RNA abundance. Extracellular signals and mechanical or metabolic cues act through these regulatory processes, and secreted proteins can influence the cell and its neighbors. Black arrows indicate the production, processing, transport, and turnover of RNA and proteins, with \u2205 denoting degradation. Red arrows indicate regulation of these processes. The circled P represents protein post-translational modifications, illustrated by phosphorylation. The chromatin self-loop denotes maintenance of features established by prior regulatory activity<sup><a class=\"link\" href=\"#ref-17\" >17<\/a><\/sup>. Regulatory RNAs can act in <em>cis<\/em> or <em>trans<\/em>, with XIST-mediated silencing illustrating RNA-dependent chromatin regulation on the chromosome from which the RNA is transcribed<sup><a class=\"link\" href=\"#ref-18\" >18<\/a><\/sup>. Bolts mark experimental intervention points. Perturbations are classified relative to the focal gene, with changes to its linked regulatory elements affecting <em>cis<\/em> regulation and changes to the abundance or activity of regulators acting on it affecting its <em>trans<\/em>-regulatory environment.<\/figcaption><\/figure><p>The <strong><em>trans<\/em>-regulatory environment<\/strong> includes TFs, cofactors, chromatin regulators and regulatory RNAs that act in <em>trans<\/em>. Their regulatory effects depend on their abundance, interactions with molecular partners, biochemical state and subcellular localization<sup><a class=\"link\" href=\"#ref-19\" >19<\/a>,<a class=\"link\" href=\"#ref-20\" >20<\/a><\/sup>. For proteins, post-translational modifications such as phosphorylation and changes in localization can alter activity without a corresponding change in RNA abundance<sup><a class=\"link\" href=\"#ref-21\" >21<\/a>,<a class=\"link\" href=\"#ref-22\" >22<\/a><\/sup>. Extracellular signals and mechanical or metabolic cues can modify these properties, allowing the <em>trans<\/em>-regulatory environment to change as cells respond to their surroundings<sup><a class=\"link\" href=\"#ref-23\" >23<\/a>\u2013<a class=\"link\" href=\"#ref-25\" >25<\/a><\/sup>.<\/p>\n<p><strong><em>Cis<\/em>-regulatory elements (CREs)<\/strong> are DNA sequences that regulate transcription of genes on the same DNA molecule. Their effects depend on the regulatory proteins they recruit and their interactions with other regulatory elements. CREs include promoters, which support transcription initiation, and enhancers, which can modulate transcription from target promoters over short or long genomic distances<sup><a class=\"link\" href=\"#ref-1\" >1<\/a><\/sup>. Within individual elements, TF binding depends on both the recognized motif and its local sequence context. Flanking nucleotides, for example, can influence binding affinity through direct DNA contacts and effects on DNA shape and flexibility<sup><a class=\"link\" href=\"#ref-26\" >26<\/a>,<a class=\"link\" href=\"#ref-27\" >27<\/a><\/sup>. Surrounding sequence can also tune binding through weak interactions that locally enrich TFs, as observed for short tandem repeats<sup><a class=\"link\" href=\"#ref-28\" >28<\/a><\/sup>. Binding by one TF can also influence the occupancy of other factors through cooperative or competitive interactions. These interactions can depend on the identities and affinities of the binding sites, their spacing and orientation, and the concentrations of the available TFs<sup><a class=\"link\" href=\"#ref-20\" >20<\/a>,<a class=\"link\" href=\"#ref-29\" >29<\/a>,<a class=\"link\" href=\"#ref-30\" >30<\/a><\/sup>. The same regulatory sequence can therefore support different binding configurations as regulator availability changes.<\/p>\n<p>The <strong>chromatin state<\/strong> includes nucleosome organization, chromatin accessibility, histone modifications, DNA methylation, and three-dimensional genome organization<sup><a class=\"link\" href=\"#ref-31\" >31<\/a><\/sup>. These properties influence regulatory-factor binding and communication between regulatory elements, while being shaped by DNA sequence and regulator activity. Nucleosomes can restrict access to binding sites, although some TFs can bind nucleosomal DNA<sup><a class=\"link\" href=\"#ref-32\" >32<\/a><\/sup>. DNA methylation can increase or decrease binding affinity depending on the TF and sequence<sup><a class=\"link\" href=\"#ref-33\" >33<\/a><\/sup>. TFs can in turn recruit histone-modifying enzymes and nucleosome remodelers through their effector domains, helping establish or alter accessibility and transcription<sup><a class=\"link\" href=\"#ref-34\" >34<\/a>,<a class=\"link\" href=\"#ref-35\" >35<\/a><\/sup>. At larger genomic scales, three-dimensional organization influences communication between distal enhancers and promoters<sup><a class=\"link\" href=\"#ref-36\" >36<\/a><\/sup>. Sequence-dependent changes in regulator expression can in turn alter the <em>trans<\/em>-regulatory environment at other loci, connecting regulation of individual genes to changes in cellular state<sup><a class=\"link\" href=\"#ref-37\" >37<\/a><\/sup>.<\/p>\n<p>Regulatory measurements reflect the combined effects of sequence, chromatin, and the <em>trans<\/em>-regulatory environment. Comparisons that hold sequence or environment constant help distinguish these contributions. Testing the same sequence features across cellular states reveals whether their contributions change with context. At the <em>Drosophila shavenbaby<\/em> locus, enhancer dissection showed that some TF-binding sites contribute to expression in both embryos and pupae, whereas others have stage-specific contributions<sup><a class=\"link\" href=\"#ref-38\" >38<\/a><\/sup>. Comparing different sequences in a shared environment addresses the contribution of sequence variation. In F1 hybrids, parental alleles share the same <em>trans<\/em>-acting factors, so allelic differences in expression or TF binding support <em>cis<\/em>-regulatory effects. Comparing these differences with those between the parents helps identify contributions from their distinct <em>trans<\/em> environments<sup><a class=\"link\" href=\"#ref-39\" >39<\/a>,<a class=\"link\" href=\"#ref-40\" >40<\/a><\/sup>.<\/p>\n<p>Interpreting these comparisons requires specifying which molecular quantity is measured. Nascent RNA assays report ongoing transcription, whereas conventional RNA sequencing measures RNA abundance, which also depends on processing and decay<sup><a class=\"link\" href=\"#ref-41\" >41<\/a><\/sup>. When RNA profiles are used to characterize cellular state, regulator RNA abundance does not necessarily reflect the corresponding protein abundance or activity. Following irradiation, p53 protein levels oscillate through changes in protein stability while <em>TP53<\/em> mRNA remains unchanged<sup><a class=\"link\" href=\"#ref-42\" >42<\/a><\/sup>. Expression of downstream targets may provide indirect evidence of this response, but the regulator\u2019s own RNA abundance does not report the protein dynamics driving it.<\/p>\n<p>Destructive sequencing assays also leave individual-cell transitions unobserved. Combining genetic perturbations with single-cell RNA sequencing links expression profiles to interventions on specific genes<sup><a class=\"link\" href=\"#ref-43\" >43<\/a><\/sup>, but control and perturbed conditions generally contain different measured cells. Measurements at successive time points reveal changes in expression distributions, while connections between individual cells\u2019 earlier and later states must be inferred<sup><a class=\"link\" href=\"#ref-44\" >44<\/a><\/sup>.<\/p>\n<h2 id=\"computational-models-of-gene-regulation\">Computational models of gene regulation\n<\/h2><p>Computational modeling of gene regulation has developed along two largely separate directions, focused on cellular state and regulatory sequence (<strong>Figure 2a,b<\/strong>). We review their applications and the evidence for their ability to predict molecular activity and perturbation responses across sequences and cellular conditions.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig2-model-classes.png\" class=\"image-link\" data-pswp-width=\"2040\" data-pswp-height=\"1510\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig2-model-classes.png.optimized.webp\" width=\"1000px\" height=\"740\"loading=\"lazy\"\n\t\t\talt=\"Figure 2. Modeling approaches represent different aspects of gene regulation. Each panel highlights the inputs and predictions of a model class within the regulatory system shown in Figure 1. (A) Cell state models learn relationships among RNA measurements, including how expression of some genes predicts expression of others. Models of perturbation responses additionally receive information about the intervention. (B) Sequence-only seq2func models predict molecular readouts from DNA. Cellular context is specified by the output being predicted. (C) Sequence-informed cell state models incorporate features of regulatory DNA, sometimes together with chromatin measurements (dashed purple line), into models relating regulators to target genes. (D) Context-aware sequence models predict molecular readouts from DNA together with measurements of cellular context. These inputs can include local chromatin accessibility, cellular RNA profiles, or representations derived from them. The dashed purple arrow shows RNA measurements supplying a proxy for the trans-regulatory environment. Green arrows show the prediction task, while grey components highlight unrepresented biology. Bolts mark inputs that can be modified in silico. Regulator protein abundance and activity are not directly supplied as inputs in the examples illustrated here.\"\n\t\t\t>\n\t\t<\/a><figcaption><strong>Figure 2. Modeling approaches represent different aspects of gene regulation.<\/strong> Each panel highlights the inputs and predictions of a model class within the regulatory system shown in <strong>Figure 1<\/strong>. <strong>(A)<\/strong> Cell state models learn relationships among RNA measurements, including how expression of some genes predicts expression of others. Models of perturbation responses additionally receive information about the intervention. <strong>(B)<\/strong> Sequence-only seq2func models predict molecular readouts from DNA. Cellular context is specified by the output being predicted. <strong>(C)<\/strong> Sequence-informed cell state models incorporate features of regulatory DNA, sometimes together with chromatin measurements (dashed purple line), into models relating regulators to target genes. <strong>(D)<\/strong> Context-aware sequence models predict molecular readouts from DNA together with measurements of cellular context. These inputs can include local chromatin accessibility, cellular RNA profiles, or representations derived from them. The dashed purple arrow shows RNA measurements supplying a proxy for the <em>trans<\/em>-regulatory environment. Green arrows show the prediction task, while grey components highlight unrepresented biology. Bolts mark inputs that can be modified <em>in silico<\/em>. Regulator protein abundance and activity are not directly supplied as inputs in the examples illustrated here.<\/figcaption><\/figure><h3 id=\"cell-state-models\">Cell state models\n<\/h3><p>Cell state models use molecular profiles to characterize cell types<sup><a class=\"link\" href=\"#ref-45\" >45<\/a>,<a class=\"link\" href=\"#ref-46\" >46<\/a><\/sup>, compare cellular states across datasets and conditions<sup><a class=\"link\" href=\"#ref-47\" >47<\/a>,<a class=\"link\" href=\"#ref-48\" >48<\/a><\/sup>, impute missing measurements<sup><a class=\"link\" href=\"#ref-49\" >49<\/a>,<a class=\"link\" href=\"#ref-50\" >50<\/a><\/sup>, and predict responses to interventions<sup><a class=\"link\" href=\"#ref-51\" >51<\/a>,<a class=\"link\" href=\"#ref-52\" >52<\/a><\/sup>. Due to the abundance of single-cell RNA-seq (scRNA-seq) data, most models learn from transcriptomic profiles of individual cells, capturing coordinated expression patterns associated with cell identity and physiological state. Many recent cell state models learn latent representations (<em>i.e.<\/em>, embeddings) by reconstructing cellular profiles, predicting masked expression values, or using contrastive objectives that bring selected pairs of related profiles closer in representation space while separating other pairs<sup><a class=\"link\" href=\"#ref-53\" >53<\/a>\u2013<a class=\"link\" href=\"#ref-55\" >55<\/a><\/sup>. Transcriptomic profiles provide an indirect view of the regulatory environment, while regulatory DNA and regulator protein abundance and activity generally remain implicit (<strong>Figure 2a<\/strong>).<\/p>\n<p>Comparing cellular states across datasets requires accounting for technical differences among samples. For example, scVI<sup><a class=\"link\" href=\"#ref-47\" >47<\/a><\/sup> uses a variational autoencoder to model RNA counts through a latent cellular representation together with library size (the total measured counts per cell) and covariates identifying experimental batch. To support transfer of cell-type annotations and comparison of disease-associated states with reference populations, scArches<sup><a class=\"link\" href=\"#ref-48\" >48<\/a><\/sup> uses transfer learning to map new datasets into pre-trained reference space that can be obtained using existing models like scVI. Across species, similarities among encoded proteins can help relate expression profiles whose gene repertoires differ<sup><a class=\"link\" href=\"#ref-56\" >56<\/a>,<a class=\"link\" href=\"#ref-57\" >57<\/a><\/sup>. SATURN combines protein representations with expression to learn weighted gene groups, termed macrogenes, that provide shared features for comparing cell types across species<sup><a class=\"link\" href=\"#ref-58\" >58<\/a><\/sup>.<\/p>\n<p>Single-cell foundation models (scFMs) aim to learn representations that support multiple downstream tasks by learning expression relationships across broad collections of scRNA-seq data<sup><a class=\"link\" href=\"#ref-53\" >53<\/a><\/sup>. Pretrained representations can place newly measured cells alongside characterized reference populations or retrieve similar cells from other studies in a zero-shot fashion without updating model parameters, helping identify cell types and states that recur across tissues or conditions<sup><a class=\"link\" href=\"#ref-56\" >56<\/a>,<a class=\"link\" href=\"#ref-59\" >59<\/a><\/sup>. For supervised tasks, pretrained embeddings can serve as fixed inputs to a task-specific predictor, or the model can be adapted through fine-tuning, which updates some or all pretrained parameters for the new task. Geneformer and scGPT illustrate this transfer to cell type annotation, with Geneformer also supporting disease-state classification<sup><a class=\"link\" href=\"#ref-60\" >60<\/a>,<a class=\"link\" href=\"#ref-61\" >61<\/a><\/sup>.<\/p>\n<p>The value of pretraining depends on the additional data and how the pretrained model is used. Controlled comparisons found that self-supervised pretraining on auxiliary datasets improved cell type annotation relative to training on the target dataset alone<sup><a class=\"link\" href=\"#ref-62\" >62<\/a><\/sup>. In evaluations without fine-tuning, Geneformer and scGPT embeddings showed no consistent advantage over scVI and simpler approaches fitted to the evaluation datasets for cell type separation and batch integration<sup><a class=\"link\" href=\"#ref-63\" >63<\/a><\/sup>. Increasing pretraining dataset size also produced diminishing gains in the tested scFMs, with plateaus varying by architecture and downstream task<sup><a class=\"link\" href=\"#ref-64\" >64<\/a><\/sup>.<\/p>\n<p>Paired RNA and chromatin accessibility measurements<sup><a class=\"link\" href=\"#ref-65\" >65<\/a><\/sup> extend cellular representations by relating expression patterns to the accessibility of regulatory elements. Models can learn shared representations from these measurements, allowing information from jointly profiled cells to support integration and imputation in datasets where one modality is missing<sup><a class=\"link\" href=\"#ref-66\" >66<\/a><\/sup>. Pretraining directly on accessibility profiles also provides representations for cell annotation and imputation<sup><a class=\"link\" href=\"#ref-67\" >67<\/a><\/sup>. These approaches incorporate measured variation in the chromatin environment while generally leaving the underlying regulatory sequences implicit.<\/p>\n<p>Representations learned from observational data describe variation among cells, while perturbation measurements reveal how interventions change their expression programs. Perturbation-response models can be trained directly on intervention measurements<sup><a class=\"link\" href=\"#ref-52\" >52<\/a><\/sup> or adapted from pretrained models using intervention identities and measured responses<sup><a class=\"link\" href=\"#ref-61\" >61<\/a><\/sup>. Models use different strategies for predictions beyond the interventions measured during training. For example, in CPA learned representations of constituent interventions are combined to predict new combinations<sup><a class=\"link\" href=\"#ref-68\" >68<\/a><\/sup>. In GEARS, prior knowledge of functional similarity of genes is used to relate genes not perturbed during training to genes with measured responses<sup><a class=\"link\" href=\"#ref-52\" >52<\/a>,<a class=\"link\" href=\"#ref-69\" >69<\/a><\/sup>. scFMs seek to exploit relationships learned during large-scale pretraining<sup><a class=\"link\" href=\"#ref-61\" >61<\/a><\/sup>.<\/p>\n<p>In a benchmark comparing perturbed-gene representations, embeddings from functional protein interaction networks supported more accurate response predictions than embeddings from the tested scFMs and protein language models<sup><a class=\"link\" href=\"#ref-70\" >70<\/a><\/sup>. However, recent benchmarks have challenged claims of generalization to unseen genetic perturbations, finding that the evaluated deep learning models did not consistently outperform simple baselines that assign the same training-derived mean expression profile to unseen gene perturbations or predict unseen combinations by summing individual perturbation effects relative to control<sup><a class=\"link\" href=\"#ref-71\" >71<\/a>,<a class=\"link\" href=\"#ref-72\" >72<\/a><\/sup>. In these evaluations, metrics could reward expression changes shared across interventions, producing favorable scores even when intervention-specific responses were poorly predicted<sup><a class=\"link\" href=\"#ref-72\" >72<\/a><\/sup>. Positive-control analyses using measured responses showed that metric sensitivity affects these comparisons, with gains for some deep learning models becoming apparent when evaluation resolved perturbation-specific changes<sup><a class=\"link\" href=\"#ref-73\" >73<\/a><\/sup>.<\/p>\n<p>A complementary challenge is predicting the effects of the same intervention across different cellular states. The State model uses cellular embeddings learned from observational data to support response prediction in contexts for which no perturbation measurements were supplied during training<sup><a class=\"link\" href=\"#ref-74\" >74<\/a><\/sup>. Within a given context, responses can also vary among cells, and predicting a mean profile leaves this variation unresolved. Distributional approaches aim to capture these differences by learning transformations between control and perturbed expression distributions<sup><a class=\"link\" href=\"#ref-75\" >75<\/a>,<a class=\"link\" href=\"#ref-76\" >76<\/a><\/sup>. Because single-cell assays generally measure different cells in each condition, the training data constrain population responses while leaving individual-cell transitions unobserved<sup><a class=\"link\" href=\"#ref-77\" >77<\/a><\/sup>.<\/p>\n<h3 id=\"sequence-based-models\">Sequence-based models\n<\/h3><p>Supervised seq2func models are trained to predict molecular measurements or functional annotations from DNA sequence (<strong>Figure 2b<\/strong>). Here, \u201cfunction\u201d refers to the molecular activity or property being modeled. Once trained, models can predict these properties for unmeasured sequences, supporting variant-effect prediction<sup><a class=\"link\" href=\"#ref-78\" >78<\/a>,<a class=\"link\" href=\"#ref-79\" >79<\/a><\/sup>, <em>in silico<\/em> experiments to interrogate the <em>cis<\/em>-regulatory syntax they have learned<sup><a class=\"link\" href=\"#ref-1\" >1<\/a>,<a class=\"link\" href=\"#ref-80\" >80<\/a>\u2013<a class=\"link\" href=\"#ref-82\" >82<\/a><\/sup>, and the design of regulatory sequences with specified predicted activities<sup><a class=\"link\" href=\"#ref-83\" >83<\/a>\u2013<a class=\"link\" href=\"#ref-85\" >85<\/a><\/sup>.<\/p>\n<p>Single-task seq2func models predict a specified molecular readout in one cellular context, with training objectives tailored to the assay. For example, a reporter-activity task predicts the expression of a reporter gene driven by each tested regulatory sequence in a massively parallel reporter assay<sup><a class=\"link\" href=\"#ref-86\" >86<\/a>\u2013<a class=\"link\" href=\"#ref-88\" >88<\/a><\/sup>. Models trained on TF-binding or chromatin-accessibility profiles can predict both the total signal and its distribution across nucleotide positions. These profiles provide supervision on where signal occurs relative to sequence features, information that is lost when each region is reduced to a binary label or aggregate count<sup><a class=\"link\" href=\"#ref-81\" >81<\/a>,<a class=\"link\" href=\"#ref-89\" >89<\/a><\/sup>. The measured profiles also reflect technical processes with their own sequence dependencies. ChromBPNet, for example, uses a separately trained model of the sequence preferences of Tn5 in ATAC-seq or DNase I in DNase-seq to distinguish assay bias from sequence contributions associated with chromatin accessibility<sup><a class=\"link\" href=\"#ref-90\" >90<\/a><\/sup>.<\/p>\n<p>Multi-task seq2func models share sequence representations across assays or cellular contexts, with task-specific outputs predicting each molecular readout<sup><a class=\"link\" href=\"#ref-91\" >91<\/a>,<a class=\"link\" href=\"#ref-92\" >92<\/a><\/sup>. A TF-binding motif may inform predictions of TF occupancy, chromatin accessibility, and histone modifications, allowing evidence from several assays to shape a shared sequence representation. Basenji extended multi-task sequence modeling to quantitative epigenomic profiles and cap analysis of gene expression (CAGE) measurements along the genome<sup><a class=\"link\" href=\"#ref-93\" >93<\/a><\/sup>. Subsequent models, including Enformer<sup><a class=\"link\" href=\"#ref-94\" >94<\/a><\/sup>, Borzoi<sup><a class=\"link\" href=\"#ref-95\" >95<\/a><\/sup>, and AlphaGenome<sup><a class=\"link\" href=\"#ref-79\" >79<\/a><\/sup>, expanded the sequence context to make distal regulatory elements available for predicting target-gene expression. Single-cell atlases also provide training targets for sequence-only models. Decima predicts gene expression across cell types and conditions from DNA surrounding each gene<sup><a class=\"link\" href=\"#ref-96\" >96<\/a><\/sup>.<\/p>\n<p>Genomic language models (gLMs) learn from genomes by reconstructing masked sequence or predicting successive nucleotides or nucleotide groups from preceding sequence<sup><a class=\"link\" href=\"#ref-97\" >97<\/a>,<a class=\"link\" href=\"#ref-98\" >98<\/a><\/sup>. Training across species can capture patterns of evolutionary constraint<sup><a class=\"link\" href=\"#ref-99\" >99<\/a><\/sup>, with some models using alignments to relate positions across homologous sequences<sup><a class=\"link\" href=\"#ref-100\" >100<\/a>,<a class=\"link\" href=\"#ref-101\" >101<\/a><\/sup>. These patterns can inform variant interpretation, particularly in coding and splice-associated regions<sup><a class=\"link\" href=\"#ref-99\" >99<\/a>,<a class=\"link\" href=\"#ref-100\" >100<\/a><\/sup>. Connecting them to regulatory activity in a specified cellular context generally requires functional supervision, supplied through fine-tuning<sup><a class=\"link\" href=\"#ref-102\" >102<\/a><\/sup> or combined with continued sequence prediction, as in Nucleotide Transformer v3<sup><a class=\"link\" href=\"#ref-103\" >103<\/a><\/sup>. In regulatory benchmarks, the tested frozen or fine-tuned gLMs did not consistently outperform seq2func models trained directly on functional measurements<sup><a class=\"link\" href=\"#ref-104\" >104<\/a>,<a class=\"link\" href=\"#ref-105\" >105<\/a><\/sup>.<\/p>\n<p>For seq2func models trained on reference-genome profiles, variant-effect prediction tests whether sequence\u2013activity relationships learned across loci transfer to differences between alleles. ChromBPNet and CREsted predictions agree well with measured effects at chromatin accessibility quantitative trait loci (caQTLs) and with allele-specific accessibility differences<sup><a class=\"link\" href=\"#ref-90\" >90<\/a>,<a class=\"link\" href=\"#ref-106\" >106<\/a><\/sup>. In personal-genome expression benchmarks, however, models can achieve high correlations across genes within an individual yet struggle to predict differences among individuals for the same gene, sometimes predicting genetic effects in the wrong direction<sup><a class=\"link\" href=\"#ref-107\" >107<\/a>\u2013<a class=\"link\" href=\"#ref-109\" >109<\/a><\/sup>.<\/p>\n<p>For variants in distal regulatory elements, predicting expression effects also requires learning which genes those elements regulate and how strongly they contribute to expression<sup><a class=\"link\" href=\"#ref-110\" >110<\/a>,<a class=\"link\" href=\"#ref-111\" >111<\/a><\/sup>. Earlier benchmarks found that Enformer captured many promoter determinants but underestimated distal enhancer effects<sup><a class=\"link\" href=\"#ref-112\" >112<\/a><\/sup>. Recent benchmarks show that improved enhancer\u2013gene link identification can coexist with inaccurate estimates of regulatory effects. AlphaGenome identified enhancer\u2013gene links more accurately than Borzoi<sup><a class=\"link\" href=\"#ref-79\" >79<\/a><\/sup>. Predicted expression changes from <em>in silico<\/em> enhancer disruption in AlphaGenome and other tested models were substantially smaller than those measured by CRISPR interference (CRISPRi) at experimentally supported links, with larger discrepancies at greater enhancer\u2013promoter distances<sup><a class=\"link\" href=\"#ref-113\" >113<\/a><\/sup>. AlphaGenome\u2019s predictions of expression quantitative trait locus (eQTL) effects likewise became less accurate with increasing distance from the target transcription start site<sup><a class=\"link\" href=\"#ref-79\" >79<\/a><\/sup>.<\/p>\n<p>Sharing sequence features across cellular contexts introduces tradeoffs in both predictive accuracy and interpretation. In chromatin accessibility models, strong predictions at broadly accessible regions can mask poorer performance at cell-type-specific regions<sup><a class=\"link\" href=\"#ref-114\" >114<\/a><\/sup>. Shared representations can also introduce <em>feature leakage<\/em>. A motif learned from accessible regions in one cell type can acquire a negative contribution in another because it helps distinguish their accessibility patterns, even when the TF associated with the motif is absent from the second cell type. Interpreting that contribution as repression by the TF would assign a biological mechanism to an association learned across training tasks. In a CREsted model, positive E-box contributions in interneurons and negative contributions in excitatory neurons were consistent with this failure mode<sup><a class=\"link\" href=\"#ref-115\" >115<\/a><\/sup>. Training separate models removes this route for transferring feature associations across cellular outputs, while forgoing shared learning across tasks.<\/p>\n<h2 id=\"joint-sequence-and-cell-state-models\">Joint sequence and cell state models\n<\/h2><p>Joint sequence and cell state models connect regulation at individual loci with expression programs across genes. <strong>Sequence-informed cell state models<\/strong> use features of regulatory DNA to constrain regulatory relationships or predict expression from cellular measurements. <strong>Context-aware seq2func models<\/strong> condition predictions from nucleotide sequence on measurements or representations of cellular state (<strong>Figure 2c,d<\/strong>). A goal of joint modeling is to predict how sequence effects change with cellular state and how regulatory sequence shapes responses to regulator perturbations. Learning these dependencies could support predictions for sequence\u2013context combinations that have not been measured together.<\/p>\n<p>One use of sequence information is to constrain gene regulatory networks (GRNs), which describe relationships between regulators and their targets. Co-expression programs and regulator\u2013target associations inferred from expression nominate relationships<sup><a class=\"link\" href=\"#ref-116\" >116<\/a>,<a class=\"link\" href=\"#ref-117\" >117<\/a><\/sup>, while potential TF-binding sites provide sequence evidence for candidate connections. SCENIC uses motif enrichment to refine expression-derived relationships into regulons comprising a TF and its candidate target genes, and scores their activity through enrichment of those targets among highly expressed genes in each cell<sup><a class=\"link\" href=\"#ref-118\" >118<\/a><\/sup>. Chromatin accessibility extends this framework through candidate regulatory elements. Motif matches in accessible regions nominate TF\u2013element links, while proximity and associations between accessibility and expression support element\u2013gene links<sup><a class=\"link\" href=\"#ref-14\" >14<\/a>,<a class=\"link\" href=\"#ref-15\" >15<\/a>,<a class=\"link\" href=\"#ref-119\" >119<\/a><\/sup>.<\/p>\n<p>Some GRN approaches also fit predictive relationships between regulators, regulatory elements, and target-gene expression. Pando models products of TF expression and accessibility at motif-containing regions, allowing the modeled contribution of a TF to depend on both its expression and accessibility at its candidate binding sites<sup><a class=\"link\" href=\"#ref-120\" >120<\/a><\/sup>. DeepSCENIC learns TF\u2013element binding potentials from pretrained sequence representations and combines them with TF expression to predict accessibility and target-gene expression<sup><a class=\"link\" href=\"#ref-16\" >16<\/a><\/sup>. In these approaches, sequence helps specify potential regulatory connections, while cellular measurements help estimate their contributions to expression.<\/p>\n<p>Fitted networks can also be used to predict how regulator perturbations affect expression across genes. CellOracle propagates an imposed change in TF expression through a motif-constrained network fitted to unperturbed cells and projects the predicted expression changes onto a cell-state representation to estimate the direction of state shifts<sup><a class=\"link\" href=\"#ref-121\" >121<\/a><\/sup>. Its nomination of <em>lhx1a<\/em> as a regulator of axial mesoderm development was supported by loss-of-function experiments in zebrafish.<\/p>\n<p>Sequence-informed expression prediction also extends to models that integrate features across regulatory elements without prescribing a regulator\u2013target network. GET combines motif-based sequence features with cell-specific chromatin accessibility to predict expression<sup><a class=\"link\" href=\"#ref-122\" >122<\/a><\/sup>. Here, cellular context is supplied through the measured state of regulatory elements, allowing sequence-informed prediction without TF expression as an input.<\/p>\n<p>Context-aware seq2func models incorporate cellular information directly into the mapping from nucleotide sequence to molecular measurements. Corgi uses regulator expression to condition predictions of expression and epigenomic profiles<sup><a class=\"link\" href=\"#ref-13\" >13<\/a><\/sup>, while scooby uses learned representations of cellular state to condition predictions of RNA and chromatin accessibility profiles<sup><a class=\"link\" href=\"#ref-12\" >12<\/a><\/sup>. Both approaches allow sequence features to be shared across cellular states while their predicted effects depend on the supplied context. Corgi predicts molecular measurements in held-out cell types. Its variant-effect predictions agreed more closely with measured effects when regulator-expression inputs matched the cellular context in which those effects were assayed than when the inputs were mismatched<sup><a class=\"link\" href=\"#ref-13\" >13<\/a><\/sup>. Scooby\u2019s variant predictions correlated more strongly than those of the sequence-only model Borzoi with fine-mapped eQTL effects in the cell types profiled by OneK1K<sup><a class=\"link\" href=\"#ref-12\" >12<\/a>,<a class=\"link\" href=\"#ref-123\" >123<\/a><\/sup>, although differences in architecture and training prevent attributing that improvement specifically to context.<\/p>\n<p>AlphaGenome 2 expands the training scale and biological coverage of this approach, accepting either learned embeddings for reference tissues and cell types or embeddings generated from supplied single-cell RNA-seq profiles<sup><a class=\"link\" href=\"#ref-124\" >124<\/a><\/sup>. On TenK10K single-cell eQTL benchmarks, it improved identification of regulatory variants and prediction of effect direction relative to the original AlphaGenome fine-tuned on single-cell data and to scooby<sup><a class=\"link\" href=\"#ref-124\" >124<\/a><\/sup>.<\/p>\n<p>Accessibility, regulator expression, and learned cell representations can capture coordinated variation across cells, making them useful for activity prediction even when the contributions of individual regulators remain poorly resolved. Corgi\u2019s authors reported limited sensitivity to individual regulator-input changes and did not obtain accurate zero-shot predictions in the regulator-perturbation evaluations they examined<sup><a class=\"link\" href=\"#ref-13\" >13<\/a><\/sup>. For networks fitted to unperturbed cells, predicting intervention responses requires the inferred regulator\u2013target relationships to remain predictive when a regulator is perturbed. Evaluations across cellular states and regulator perturbations probe these different capabilities.<\/p>\n<p>Across these approaches, predictive capabilities depend on what cellular inputs measure, which distinctions their representations preserve, and how those inputs modify predictions from sequence. We next examine how <strong>context measurements<\/strong>, sequence and context <strong>representations<\/strong>, and their <strong>fusion<\/strong> shape these predictions (<strong>Figure 3<\/strong>; <strong>Table 1<\/strong>).<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig3-context-design.png\" class=\"image-link\" data-pswp-width=\"1765\" data-pswp-height=\"1420\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig3-context-design.png.optimized.webp\" width=\"1000px\" height=\"804\"loading=\"lazy\"\n\t\t\talt=\"Figure 3. Design choices for conditioning sequence-to-function models on cellular context. Eight models from Table 1 are grouped according to whether they use context measured at the target locus (blue), context summarizing the cell (red), or both (purple). The cell schematic simplifies Figure 1 and shows the biological sources of these measurements. Cell-wide context can be derived from RNA, chromatin accessibility, or both. GenoME uses accessibility at marker-gene promoters. Direct measurements of protein abundance and activity are absent from the context inputs of all eight models. I, Assays supplying context, indicated by filled circles aligned with the assay labels along the lower edge. II, Representations derived from these measurements. III, Fusion operations and the stages at which context acts. These comprise the input (early fusion), early or late backbone layers (intermediate fusion), and the prediction head (late fusion). The final column lists prediction targets. Sequence input lengths are given in Table 1.\"\n\t\t\t>\n\t\t<\/a><figcaption><strong>Figure 3. Design choices for conditioning sequence-to-function models on cellular context.<\/strong> Eight models from <strong>Table 1<\/strong> are grouped according to whether they use context measured at the target locus (blue), context summarizing the cell (red), or both (purple). The cell schematic simplifies <strong>Figure 1<\/strong> and shows the biological sources of these measurements. Cell-wide context can be derived from RNA, chromatin accessibility, or both. GenoME uses accessibility at marker-gene promoters. Direct measurements of protein abundance and activity are absent from the context inputs of all eight models. <strong>I<\/strong>, Assays supplying context, indicated by filled circles aligned with the assay labels along the lower edge. <strong>II<\/strong>, Representations derived from these measurements. <strong>III<\/strong>, Fusion operations and the stages at which context acts. These comprise the input (early fusion), early or late backbone layers (intermediate fusion), and the prediction head (late fusion). The final column lists prediction targets. Sequence input lengths are given in <strong>Table 1<\/strong>.<\/figcaption><\/figure><h3 id=\"selecting-measurements-of-cellular-context\">Selecting measurements of cellular context\n<\/h3><p>Measurements of cellular context capture different aspects of the regulatory environment. Transcriptome profiles are widely used and provide information shared across loci through regulator expression and the expression programs associated with regulator activity<sup><a class=\"link\" href=\"#ref-125\" >125<\/a><\/sup>. Regulator RNA abundance can diverge from protein abundance and activity, particularly during stimulation when these quantities can change on different timescales. Protein measurements provide more direct information about abundance, although low-abundance regulators, including many TFs, remain incompletely sampled by single-cell proteomic methods<sup><a class=\"link\" href=\"#ref-126\" >126<\/a><\/sup>.<\/p>\n<p>Epigenomic measurements complement this cell-wide information by describing the regulatory state at individual loci. Chromatin accessibility is widely measured, while histone modifications and other chromatin features provide additional information about regulatory activity and can retain features of earlier stimulation<sup><a class=\"link\" href=\"#ref-127\" >127<\/a>,<a class=\"link\" href=\"#ref-128\" >128<\/a><\/sup>. Combining transcriptome and chromatin measurements can help distinguish cellular conditions that are difficult to resolve from either modality alone. Even jointly, these modalities provide a partial description of cellular state, with many aspects of regulator activity and signaling represented only indirectly.<\/p>\n<p>The choice of context also determines which molecular quantities are supplied and which the model must predict. Expression models can condition predictions from promoter and enhancer sequences on measured enhancer accessibility<sup><a class=\"link\" href=\"#ref-129\" >129<\/a><\/sup>. Accessibility then supplies information about the outcome of TF binding and chromatin remodeling, allowing the model to use this regulatory state when predicting expression. For sequence perturbations, however, holding accessibility fixed can omit expression effects mediated through changes in accessibility. The appropriate context thus depends on whether the goal is to predict expression given a measured chromatin state or to predict how a perturbation changes that state and its downstream consequences.<\/p>\n<h3 id=\"sequence-and-context-representations\">Sequence and context representations\n<\/h3><p>The same cellular measurements can be supplied to a model in different forms, preserving different levels of detail. Regulator expression vectors retain a separate value for each included gene<sup><a class=\"link\" href=\"#ref-13\" >13<\/a>,<a class=\"link\" href=\"#ref-130\" >130<\/a>,<a class=\"link\" href=\"#ref-131\" >131<\/a><\/sup>, while learned cell embeddings summarize patterns across expression or accessibility profiles<sup><a class=\"link\" href=\"#ref-12\" >12<\/a>,<a class=\"link\" href=\"#ref-132\" >132<\/a><\/sup>. These representations provide context shared across loci. Local chromatin measurements can remain organized as genomic signal tracks or be summarized over regulatory elements<sup><a class=\"link\" href=\"#ref-129\" >129<\/a>,<a class=\"link\" href=\"#ref-133\" >133<\/a><\/sup>. Tracks preserve spatial variation at the supplied resolution, while regional summaries retain selected properties of each element.<\/p>\n<p>Cell embeddings learned independently of the sequence-prediction task may preserve broad differences between cell types while poorly resolving variation within a cell type that affects regulatory responses. A fixed embedding supplies the sequence predictor with only the cellular distinctions it retains. XChrom, for example, learns a transformation of fixed principal component analysis (PCA) coordinates of expression profiles<sup><a class=\"link\" href=\"#ref-134\" >134<\/a><\/sup>. This transformation can adapt how the retained components contribute to accessibility prediction, but cannot recover distinctions removed by the original projection. Training the encoder that maps the original measurements into a cell representation jointly with the sequence predictor allows the prediction objective to influence which cellular differences are retained.<\/p>\n<p>The sequence representation determines which regulatory features are available to combine with this cellular context. Regional motif summaries, as used by GET, retain motif content while omitting the arrangement of sites within each region<sup><a class=\"link\" href=\"#ref-122\" >122<\/a><\/sup>. Features learned by seq2func models can encode relationships such as motif order and spacing. Pooling aggregates features across sequence positions into a coarser representation; these relationships can survive pooling if they have already been encoded in the aggregated features. Their retention depends on the encoder and the measurements and cellular conditions used for training. Features computed from DNA alone are shared across cellular states, with context-dependent effects modeled when sequence and context representations are combined. For variant prediction, motif-derived features or sequence embeddings must be recomputed from the altered DNA. Sequence changes that produce identical representations remain indistinguishable through that input.<\/p>\n<p>Compressing sequence into a predicted activity value can discard distinctions needed under a different context. Two enhancers with different TF-binding motifs may have the same predicted accessibility in one state yet respond differently to altered TF activity. Passing only their initial accessibility values to a downstream predictor collapses this distinction, even if those values are accurate. Retaining sequence features alongside the activity estimate, or recomputing accessibility from sequence under the altered context, allows motif composition to contribute to the response prediction.<\/p>\n<h3 id=\"fusion-of-sequence-and-context-representations\">Fusion of sequence and context representations\n<\/h3><p>Fusion specifies how a model uses cellular context to interpret regulatory sequence. A sequence representation may identify a potential TF-binding site, while the supplied cellular measurements provide information about the availability or activity of the corresponding regulator. Combining these inputs allows the predicted contribution of that site, and the effect of disrupting it, to vary across cellular states.<\/p>\n<p>Two design choices describe this integration. The <em>fusion stage<\/em> specifies where context acts in the prediction pipeline. Early fusion introduces context at the input, intermediate fusion introduces it within the sequence encoder, and late fusion introduces it at the prediction head, the final layers that map encoded features to predicted molecular measurements (<strong>Figure 3<\/strong>; <strong>Table 1<\/strong>). The <em>fusion operation<\/em> specifies how context changes feature processing or prediction. A model can apply several operations at different stages, allowing context to influence both the construction of sequence features and their contribution to the output.<\/p>\n<p>Concatenation places sequence and context features alongside one another as inputs to subsequent layers. In early fusion, local chromatin measurements can be aligned with DNA as additional input channels<sup><a class=\"link\" href=\"#ref-133\" >133<\/a>,<a class=\"link\" href=\"#ref-135\" >135<\/a><\/sup>. The encoder receives nucleotide information and measured signal at corresponding positions. Subsequent nonlinear layers can learn dependencies between sequence patterns and the surrounding chromatin state, such as how the predictive contribution of a motif varies with local accessibility. Concatenation can also be applied at the prediction head, combining encoded sequence features with cellular context for expression prediction, as in DeepCAGE<sup><a class=\"link\" href=\"#ref-131\" >131<\/a><\/sup>.<\/p>\n<p>Multiplication provides a direct interaction between sequence and context features. Weighting a sequence-derived binding score by regulator expression makes the resulting feature depend on both the binding potential and the supplied regulator level<sup><a class=\"link\" href=\"#ref-136\" >136<\/a><\/sup>. Gating generalizes this approach through context-dependent scaling of features, while feature-wise linear modulation (FiLM) learns coefficients that both scale and shift them<sup><a class=\"link\" href=\"#ref-137\" >137<\/a><\/sup>. Corgi applies FiLM within the sequence encoder, using regulator expression to modulate features at multiple stages<sup><a class=\"link\" href=\"#ref-13\" >13<\/a><\/sup>. Later layers process these modified features, allowing cellular context to influence how sequence patterns are combined during encoding. AlphaGenome 2 similarly applies FiLM throughout its sequence encoder, transformer tower, and decoder<sup><a class=\"link\" href=\"#ref-124\" >124<\/a><\/sup>. Conditioning only the decoder or output layers did not consistently improve accuracy over an unconditioned multi-task model. Prediction of expression differences across conditions improved when conditioning extended to the transformer, with further gains from including the sequence encoder<sup><a class=\"link\" href=\"#ref-124\" >124<\/a><\/sup>.<\/p>\n<p>Cross-attention allows different sequence regions to use different parts of the supplied context. When context contains separate regulator representations, sequence features can guide how strongly each regulator representation contributes at a particular region<sup><a class=\"link\" href=\"#ref-138\" >138<\/a><\/sup>. A cell-wide context can thus be used differently across loci according to their sequence features.<\/p>\n<p>Hypernetworks use context to generate parameters for another component of the model<sup><a class=\"link\" href=\"#ref-139\" >139<\/a><\/sup>. In scooby, a hypernetwork generates output-layer weights from the cell embedding, implementing late fusion through a cell-dependent prediction head<sup><a class=\"link\" href=\"#ref-12\" >12<\/a><\/sup>. The same encoded sequence can consequently produce different predictions across cells. This approach allows sequence features to be reused across contexts, while requiring the shared encoder to preserve the distinctions needed by the different prediction heads.<\/p>\n<p><strong>Table 1. Context-aware sequence-to-function models, organized by the three design decisions.<\/strong> Models condition sequence-based predictions on measurements of cellular context. Models where sequence enters only as precomputed motif scores are not shown<sup><a class=\"link\" href=\"#ref-122\" >122<\/a>,<a class=\"link\" href=\"#ref-140\" >140<\/a><\/sup>. Rows are grouped by the class of context supplied, corresponding to design choice I in <strong>Figure 3<\/strong>. <strong>Representation<\/strong> (design choice II) is <em>Signal<\/em> (a measurement at the stated resolution), <em>Subset<\/em> (selected features) or <em>Embedding<\/em> (a learned or projected representation). <strong>Fusion<\/strong> (design choice III) gives the operation and location at which context enters. <em>Input<\/em> denotes early fusion, <em>earlier backbone<\/em> and <em>later backbone<\/em> denote intermediate fusion, and <em>head<\/em> denotes late fusion. Multiple locations are listed when context enters at more than one. <strong>DNA<\/strong> is the sequence input length, where <em>n<\/em> \u00d7 a length denotes <em>n<\/em> separate elements. Models are selected to span the three design decisions. Further models supply local context<sup><a class=\"link\" href=\"#ref-141\" >141<\/a>\u2013<a class=\"link\" href=\"#ref-148\" >148<\/a><\/sup>, cell-wide context<sup><a class=\"link\" href=\"#ref-149\" >149<\/a>,<a class=\"link\" href=\"#ref-150\" >150<\/a><\/sup>, or both<sup><a class=\"link\" href=\"#ref-151\" >151<\/a><\/sup>.<\/p>\n<table>\n<thead>\n<tr><th>Name<\/th><th>DNA<\/th><th>Context<\/th><th>Representation<\/th><th>Fusion<\/th><th>Output<\/th><\/tr>\n<\/thead>\n<tbody>\n<tr><td colspan=\"6\"><em><strong>Local<\/strong> context: signal measured at the target locus<\/em><\/td><\/tr>\n<tr><td>maxATAC<wbr><sup><a href=\"#ref-133\">133<\/a><\/sup><\/td><td>1&nbsp;kb<\/td><td>ATAC<\/td><td>Signal (1&nbsp;bp)<\/td><td>Channel (input)<\/td><td>TF ChIP<\/td><\/tr>\n<tr><td>EPCOT<wbr><sup><a href=\"#ref-135\">135<\/a><\/sup><\/td><td>1.6&nbsp;kb<\/td><td>DNase\/ATAC<\/td><td>Signal (1&nbsp;bp)<\/td><td>Channel (input)<\/td><td>ChIP, CAGE, RNA, Hi-C<\/td><\/tr>\n<tr><td>C.Origami<wbr><sup><a href=\"#ref-152\">152<\/a><\/sup><\/td><td>2.1&nbsp;Mb<\/td><td>CTCF ChIP + ATAC<\/td><td>Signal (1&nbsp;bp)<\/td><td>Concat. (later backbone)<\/td><td>Hi-C<\/td><\/tr>\n<tr><td>Nona<wbr><sup><a href=\"#ref-153\">153<\/a><\/sup><\/td><td>197&nbsp;kb<\/td><td>DNase\/CAGE outside the masked central region<\/td><td>Signal (1&nbsp;bp)<\/td><td>Sum (later backbone, head)<\/td><td>DNase, CAGE<\/td><\/tr>\n<tr><td>Puget<wbr><sup><a href=\"#ref-154\">154<\/a><\/sup><\/td><td>192&nbsp;kb<\/td><td>Hi-C<\/td><td>Embedding (HiCFoundation)<\/td><td>Sum (later backbone)<\/td><td>RNA<\/td><\/tr>\n<tr><td>Chromnitron<wbr><sup>\u2217<\/sup><sup><a href=\"#ref-155\">155<\/a><\/sup><\/td><td>8.2&nbsp;kb<\/td><td>ATAC<\/td><td>Signal (1&nbsp;bp)<\/td><td>Concat. (later backbone)<\/td><td>TF ChIP<\/td><\/tr>\n<tr><td>EPInformer<wbr><sup><a href=\"#ref-129\">129<\/a><\/sup><\/td><td>61 \u00d7 2&nbsp;kb<\/td><td>H3K27ac + DNase + Hi-C<\/td><td>Signal (per element)<\/td><td>Concat. (later backbone, head)<\/td><td>RNA, CAGE<\/td><\/tr>\n<tr><td colspan=\"6\"><em><strong>Cell-wide<\/strong> context<\/em><\/td><\/tr>\n<tr><td>ChromDragoNN<wbr><sup><a href=\"#ref-130\">130<\/a><\/sup><\/td><td>1&nbsp;kb<\/td><td>TF RNA<\/td><td>Subset (1630 TFs)<\/td><td>Concat. (head)<\/td><td>DNase<\/td><\/tr>\n<tr><td>Wnuk et al.<wbr><sup><a href=\"#ref-156\">156<\/a><\/sup><\/td><td>0.6&nbsp;kb<\/td><td>RNA<\/td><td>Subset (978 genes)<\/td><td>Concat. (head)<\/td><td>DNase<\/td><\/tr>\n<tr><td>DeepCAGE<wbr><sup><a href=\"#ref-131\">131<\/a><\/sup><\/td><td>1&nbsp;kb<\/td><td>TF RNA<\/td><td>Subset (402 TFs)<\/td><td>Product with motifs, concat. (head)<\/td><td>DNase<\/td><\/tr>\n<tr><td>EpiGePT<wbr><sup><a href=\"#ref-136\">136<\/a><\/sup><\/td><td>128&nbsp;kb<\/td><td>TF RNA<\/td><td>Subset (711 TFs)<\/td><td>Product with motifs, concat. (later backbone)<\/td><td>DNase, TF and histone ChIP<\/td><\/tr>\n<tr><td>DragoNNFruit<wbr><sup><a href=\"#ref-157\">157<\/a><\/sup><\/td><td>2.1&nbsp;kb<\/td><td>scATAC<\/td><td>Embedding (50&nbsp;d, LSI)<\/td><td>Hypernetwork, bias terms (later backbone)<\/td><td>scATAC<\/td><\/tr>\n<tr><td>scooby<wbr><sup><a href=\"#ref-12\">12<\/a><\/sup><\/td><td>524&nbsp;kb<\/td><td>scRNA + scATAC<\/td><td>Embedding (14&nbsp;d, MultiVI)<\/td><td>Hypernetwork, weights (head)<\/td><td>scRNA, scATAC<\/td><\/tr>\n<tr><td>XChrom<wbr><sup><a href=\"#ref-134\">134<\/a><\/sup><\/td><td>1.3&nbsp;kb<\/td><td>scRNA<\/td><td>PCA \u2192 learned embedding (32&nbsp;d)<\/td><td>Inner product (head)<\/td><td>scATAC<\/td><\/tr>\n<tr><td>Bolero<wbr><sup><a href=\"#ref-158\">158<\/a><\/sup><\/td><td>524&nbsp;kb<\/td><td>scRNA + scATAC<\/td><td>Embedding (30&nbsp;d, MultiVI)<\/td><td>Conditional LoRA (earlier and later backbone, head)<\/td><td>scRNA, scATAC<\/td><\/tr>\n<tr><td>Melody-G<wbr><sup><a href=\"#ref-132\">132<\/a><\/sup><\/td><td>10&nbsp;kb<\/td><td>scRNA<\/td><td>Embedding (512&nbsp;d, scGPT)<\/td><td>FiLM (later backbone)<\/td><td>CpG methylation<\/td><\/tr>\n<tr><td>PanExonNet<wbr><sup><a href=\"#ref-159\">159<\/a><\/sup><\/td><td>15\/26&nbsp;kb<\/td><td>Splicing-factor RNA<\/td><td>Subset (277) \u2192 embedding (16&nbsp;d)<\/td><td>Weight modulation (earlier and later backbone)<\/td><td>Splicing, junctions<\/td><\/tr>\n<tr><td>Corgi<wbr><sup><a href=\"#ref-13\">13<\/a><\/sup><\/td><td>524&nbsp;kb<\/td><td>regulatory-gene RNA<\/td><td>Subset (2891 genes)<\/td><td>FiLM (earlier and later backbone)<\/td><td>DNase\/ATAC, ChIP, CAGE, RNA, WGBS<\/td><\/tr>\n<tr><td>RegFM<wbr><sup><a href=\"#ref-138\">138<\/a><\/sup><\/td><td>650&nbsp;kb<\/td><td>regulatory-gene RNA<\/td><td>Subset (2103 genes)<\/td><td>Cross-attention (later backbone)<\/td><td>RNA<\/td><\/tr>\n<tr><td>AlphaGenome 2<wbr><sup>\u2020<\/sup><sup><a href=\"#ref-124\">124<\/a><\/sup><\/td><td>1&nbsp;Mb<\/td><td>scRNA<\/td><td>Embedding (256&nbsp;d, expression autoencoder)<\/td><td>FiLM (earlier and later backbone)<\/td><td>RNA, CAGE, ChIP, DNase\/ATAC, WGBS, Hi-C, splicing<\/td><\/tr>\n<tr><td colspan=\"6\"><em><strong>Local<\/strong> and <strong>cell-wide<\/strong> context<\/em><\/td><\/tr>\n<tr><td>FactorNet<wbr><sup>\u2021<\/sup><sup><a href=\"#ref-160\">160<\/a><\/sup><\/td><td>1&nbsp;kb<\/td><td>DNase + RNA<\/td><td>Signal (1&nbsp;bp) + embedding (8&nbsp;d, PCA)<\/td><td>Channel (input); concat. (head)<\/td><td>TF ChIP<\/td><\/tr>\n<tr><td>Enformer Celltyping<wbr><sup><a href=\"#ref-161\">161<\/a><\/sup><\/td><td>197&nbsp;kb<\/td><td>ATAC + ATAC at marker-gene promoters<\/td><td>Signal (128&nbsp;bp, mean-subtracted) + signal (250&nbsp;bp)<\/td><td>Concat. (head)<\/td><td>Histone ChIP<\/td><\/tr>\n<tr><td>EpiBERT<wbr><sup>\u00a7<\/sup><sup><a href=\"#ref-162\">162<\/a><\/sup><\/td><td>524&nbsp;kb<\/td><td>Masked ATAC + motif enrichment<\/td><td>Signal (4&nbsp;bp) + subset (693 motifs) \u2192 embedding (8&nbsp;d)<\/td><td>Concat. (later backbone)<\/td><td>ATAC, RAMPAGE<\/td><\/tr>\n<tr><td>GenoME<wbr><sup>\u00b6<\/sup><sup><a href=\"#ref-11\">11<\/a><\/sup><\/td><td>1&nbsp;Mb<\/td><td>ATAC + ATAC at marker-gene promoters<\/td><td>Signal (1&nbsp;bp) + signal (250&nbsp;bp)<\/td><td>Channel (input), MoE gating (later backbone, head)<\/td><td>RNA, ChIP, Hi-C, splicing<\/td><\/tr>\n<tr><td>Corgi+<wbr><sup><a href=\"#ref-13\">13<\/a><\/sup><\/td><td>524&nbsp;kb<\/td><td>Local RNA + regulatory-gene RNA<\/td><td>Signal (64&nbsp;bp) + subset (2891 genes)<\/td><td>Concat. (later backbone); FiLM (earlier and later backbone)<\/td><td>DNase\/ATAC, ChIP, WGBS<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p><small>TF, transcription factor; PCA, principal component analysis; LSI, latent semantic indexing; LoRA, low-rank adaptation; FiLM, feature-wise linear modulation; MoE, mixture of experts.<br>\n<sup>\u2217<\/sup>Chromnitron\u2019s protein embedding represents the identity of the queried protein, not its abundance or activity.<br>\n<sup>\u2020<\/sup>AlphaGenome 2 denotes its expression-conditioned configuration, in which a pretrained expression autoencoder encodes single-cell RNA-seq profiles and a learned adapter maps these embeddings into the condition space of the frozen sequence model. Its reference configuration instead uses learned embeddings for ontology-defined conditions supplied as identifiers rather than measurements.<br>\n<sup>\u2021<\/sup>FactorNet denotes its RNA-augmented configuration.<br>\n<sup>\u00a7<\/sup>EpiBERT masks ATAC during pretraining and predicts expression after fine-tuning.<br>\n<sup>\u00b6<\/sup>GenoME supplies marker-promoter accessibility to decoder MoE gates; encoder MoE gates use local sequence\u2013accessibility representations.<\/small><\/p>\n<h2 id=\"learning-and-evaluating-context-dependent-regulatory-relationships\">Learning and evaluating context-dependent regulatory relationships\n<\/h2><p>Training data constrain which sequence\u2013context relationships a model can learn. Assay design, sampling, and preprocessing shape the comparisons available to distinguish these relationships, while evaluation tests whether the resulting predictions transfer to new sequences and cellular conditions.<\/p>\n<h3 id=\"training-across-datasets-and-modalities\">Training across datasets and modalities\n<\/h3><p>Joint models can learn sequence and cell-state representations together with the fusion and prediction layers from data that link regulatory DNA and cellular context to a molecular readout. Separate pretraining extends the data available to each component. A sequence encoder can learn regulatory features from DNA paired with genome-wide functional measurements<sup><a class=\"link\" href=\"#ref-94\" >94<\/a>,<a class=\"link\" href=\"#ref-95\" >95<\/a><\/sup>, while a cell-state encoder can learn expression patterns from independently collected transcriptomic atlases<sup><a class=\"link\" href=\"#ref-60\" >60<\/a><\/sup>. Joint supervision still requires examples that link the supplied context to molecular activity at the corresponding locus. The pretrained encoders can remain fixed while the fusion and prediction layers are fitted, or be fine-tuned alongside them.<\/p>\n<p>For accessibility prediction conditioned on RNA, paired assays associate accessibility at a locus with the expression profile of the same cell or nucleus<sup><a class=\"link\" href=\"#ref-65\" >65<\/a><\/sup>. Applying these assays to perturbed and control populations preserves that correspondence within cells, while intervention responses are estimated by comparing populations<sup><a class=\"link\" href=\"#ref-163\" >163<\/a>,<a class=\"link\" href=\"#ref-164\" >164<\/a><\/sup>. When assays profile different cells, matching populations across assays introduces uncertainty about which expression context belongs with an accessibility measurement. Pooling studies can broaden biological coverage, but even correctly matched profiles may carry protocol effects that survive normalization. If protocol coincides with cell type or intervention, the model can learn these differences as apparent context-dependent regulation<sup><a class=\"link\" href=\"#ref-165\" >165<\/a>,<a class=\"link\" href=\"#ref-166\" >166<\/a><\/sup>. Shared samples or biological conditions assayed across protocols help estimate these effects and assess whether correction preserves the regulatory differences of interest.<\/p>\n<p>Constructing metacell or pseudobulk profiles within donors, conditions, and cell populations reduces sparsity while preserving comparisons among genetic backgrounds and interventions<sup><a class=\"link\" href=\"#ref-167\" >167<\/a>,<a class=\"link\" href=\"#ref-168\" >168<\/a><\/sup>. Even within these groups, pooling responding and unresponsive cells can dilute a response confined to a subset. For changes retained at that resolution, an auxiliary loss can penalize errors in predicted differences from matched controls or between intervention responses. This gives response errors explicit weight alongside errors in predicted expression or accessibility levels.<\/p>\n<h3 id=\"experiments-that-resolve-sequencecontext-dependencies\">Experiments that resolve sequence\u2013context dependencies\n<\/h3><p>Cellular states differ in the expression and activity of many regulators, so a sequence\u2019s response across states can reflect several regulatory changes acting together. Reporter libraries assayed across cell types measure responses to these different environments<sup><a class=\"link\" href=\"#ref-87\" >87<\/a><\/sup>. To test dependence on a particular regulator, intact and motif-disrupted sequences can be compared at several TF dosages. Their activity difference at each dosage estimates the edit\u2019s effect; comparing that difference across dosages measures how the sequence effect changes with regulator availability. Repeating these comparisons across cellular backgrounds tests whether other features of the state modify the dependency. At endogenous loci, crossing sequence edits with regulator interventions would test whether a gene\u2019s response to the intervention depends on the edited regulatory sequence.<\/p>\n<p>Sampling a range of regulator activity can expose sequence features whose contributions are weak under baseline conditions. In cranial neural crest cells, models fine-tuned on accessibility responses to TF dosage identified low-affinity TWIST1 motifs associated with dosage sensitivity despite weak contributions to predicted accessibility in unperturbed cells. Reporter assays supported their role in increasing sensitivity to changes in TWIST1 dosage<sup><a class=\"link\" href=\"#ref-169\" >169<\/a><\/sup>. Interpreting differences in sensitivity across cellular contexts requires measuring the achieved change in regulator abundance or activity and recording when the molecular measurements were collected after intervention. Otherwise, unequal perturbation strengths or sampling times can appear as differences in regulatory sensitivity.<\/p>\n<p>Varying binding-site affinity or TF dosage characterizes a particular sequence\u2013regulator dependency over a broader range. Distinguishing the contributions of correlated regulatory components requires comparisons that vary those components separately. Perturbing coexpressed TFs individually and disrupting motifs that frequently co-occur can help distinguish contributions that remain unresolved in observational measurements<sup><a class=\"link\" href=\"#ref-170\" >170<\/a><\/sup>. Combined perturbations then test how those contributions change when other components are altered, including cases where joint perturbations produce substantial responses despite little effect from the individual interventions<sup><a class=\"link\" href=\"#ref-171\" >171<\/a><\/sup>.<\/p>\n<h3 id=\"evaluating-regulatory-effects\">Evaluating regulatory effects\n<\/h3><h4 id=\"predicting-regulatory-changes\">Predicting regulatory changes\n<\/h4><p>Regulatory-effect evaluation compares predicted and measured changes at the same genes or loci across conditions. Scores pooled across genes or loci can be dominated by their persistent differences in baseline activity, even when changes across conditions are poorly predicted. In PanExonNet benchmarks, models with high overall exon-inclusion accuracy differed substantially in predicting deviations from each exon\u2019s median inclusion across training samples<sup><a class=\"link\" href=\"#ref-159\" >159<\/a><\/sup>. Predicting each gene or locus\u2019s average activity across training contexts establishes how much performance is explained by this stable component. Reusing the profile of the training context most similar in the supplied cellular measurements tests whether the model improves on a similar observed state<sup><a class=\"link\" href=\"#ref-172\" >172<\/a><\/sup>. Reporting performance at differentially active loci alongside results across all loci then exposes errors specifically in context-dependent changes<sup><a class=\"link\" href=\"#ref-114\" >114<\/a><\/sup>.<\/p>\n<p>In the crossed motif-edit and TF-dosage experiment, the interaction contrast is the change in the edit\u2019s effect between dosages. Sequence-only and context-only models indicate how well either input predicts activity. A model that sums separate sequence and context contributions predicts a constant edit effect on the scale where they are added. Comparing the measured contrast with predictions from the joint and additive models tests whether joint modeling improves prediction of dosage-dependent edit effects. The edit effects at each dosage and the dosage effects for each sequence should also be evaluated because errors in those effects can cancel in the contrast.<\/p>\n<p>Interpreting this contrast as regulatory cooperation requires specifying the response scale, such as linear or log-transformed expression. Saturation can make a combined increase in measured activity smaller than the sum of the individual increases, even when the underlying contributions are additive<sup><a class=\"link\" href=\"#ref-173\" >173<\/a><\/sup>. A baseline fitted to training data can test how much of the measured interaction is explained by a shared nonlinear mapping from summed contributions to the readout. Dose series help constrain the shape of that response function.<\/p>\n<p>For transcriptome-wide responses, predicting which genes respond to an intervention and estimating the magnitude of their expression changes are distinct tasks. Correlation across genes can remain high when effect sizes are systematically underestimated. Comparing predicted and experimentally identified responders across all evaluated genes tests which responses the model detects or misses. Reporting effect-size errors among measured responders then exposes errors otherwise obscured by agreement on unchanged expression<sup><a class=\"link\" href=\"#ref-174\" >174<\/a><\/sup>. Even among responding genes, different interventions can elicit similar changes. Predicting the mean change from controls across training interventions in a comparable cell population tests how much of the response can be predicted without distinguishing the interventions<sup><a class=\"link\" href=\"#ref-72\" >72<\/a><\/sup>.<\/p>\n<p>Measured responses provide an empirical check on the metric itself. The mean expression change from matched controls in one group of perturbed cells can serve as a prediction for another group exposed to the same intervention<sup><a class=\"link\" href=\"#ref-73\" >73<\/a><\/sup>. Comparing its score with that of a different intervention\u2019s response tests whether the metric rewards intervention-specific information. These controls use observed responses and should be reported separately from training-derived baselines. Splitting cells from one sample measures within-sample consistency, while comparisons across independent biological replicates measure reproducibility<sup><a class=\"link\" href=\"#ref-175\" >175<\/a><\/sup>.<\/p>\n<p>A population-level response includes changes in expression within cellular states and changes in the proportions of those states. The mean expression profile reflects both contributions, allowing errors in one to compensate for errors in the other. Where corresponding states can be identified, evaluating within-state expression distributions separately from state proportions distinguishes these sources of the response<sup><a class=\"link\" href=\"#ref-168\" >168<\/a><\/sup>. This assessment must also retain states that appear or disappear after intervention, even when their absence from one condition prevents a within-state expression comparison.<\/p>\n<h4 id=\"generalization-and-adaptation\">Generalization and adaptation\n<\/h4><p>Holding out a sequence\u2013state combination while observing both the sequence and the state elsewhere in training tests whether a model can predict a new combination of familiar inputs. Withholding entire loci, regulator interventions, donors, or cellular states tests transfer along each of those axes<sup><a class=\"link\" href=\"#ref-176\" >176<\/a><\/sup>. For genomic holdouts, evaluation should distinguish exposure to test sequences during pretraining from access to their molecular readouts during training or through cellular inputs. For example, scooby excludes genes and accessibility peaks overlapping validation and test regions before constructing its cell embeddings<sup><a class=\"link\" href=\"#ref-12\" >12<\/a><\/sup>. Using measurements from a new locus to fit enhancer\u2013gene weights, or from a new study to fine-tune a model, evaluates adaptation. When predictions are available before adaptation, comparing the original and adapted models on the same independent test samples measures the gain from those additional data.<\/p>\n<p>The degree of extrapolation can vary substantially among holdouts of the same kind. A held-out cell type may closely resemble training cell types in regulator expression or combine familiar regulator levels in a previously unobserved pattern. Along a developmental trajectory, withholding an intermediate stage while retaining earlier and later stages can test interpolation. Forecasting beyond the observed time range tests temporal extrapolation, while a held-out lineage may share early states with training lineages and diverge later. RNA measured at a held-out stage can supply context for predicting accessibility at that stage. Forecasting how cells reach that state after an intervention requires the starting measurements and the specified intervention.<\/p>\n<p>Genomic holdouts also span different degrees of distribution shift. Donor haplotypes can carry single-nucleotide substitutions and structural variants whose frequencies differ among populations, while transfer across species can involve broader changes in sequence composition and motif organization. Shifts in the distribution of sequence or cellular inputs constitute <em>covariate shift<\/em> when the relationship between those inputs and regulatory activity remains stable<sup><a class=\"link\" href=\"#ref-177\" >177<\/a><\/sup>. <em>Concept shift<\/em> occurs when the distribution of activity changes at the same sequence and measured cellular context. For example, stimulation can alter TF activity and target-gene transcription at unchanged regulator RNA levels.<\/p>\n<p>Across studies, differences in cell-type proportions can change aggregate prediction scores even when accuracy within each type remains stable. For cell-type classification, this constitutes <em>label shift<\/em> if the distribution of measured profiles within each type is preserved<sup><a class=\"link\" href=\"#ref-178\" >178<\/a><\/sup>. For expression and accessibility prediction, assay protocols can also change the scale or variability of the readout under matched biological conditions<sup><a class=\"link\" href=\"#ref-165\" >165<\/a><\/sup>. A shift in signal scale can bias predicted effect sizes, while greater measurement noise can reduce agreement even when mean predictions remain accurate. Shared samples profiled across studies help distinguish these measurement effects from biological differences. Within and across studies, reporting regulatory-effect errors by variant class, regulator dosage relative to the training range, and similarity to profiled cellular states can reveal where predictions deteriorate under shifts relevant to the intended application. For models reporting prediction intervals, coverage and width within each group can expose overconfidence in unfamiliar states that aggregate coverage would obscure<sup><a class=\"link\" href=\"#ref-179\" >179<\/a>,<a class=\"link\" href=\"#ref-180\" >180<\/a><\/sup>.<\/p>\n<h2 id=\"interpreting-regulatory-relationships-across-sequence-and-cellular-state\">Interpreting regulatory relationships across sequence and cellular state\n<\/h2><p>Model interpretation aims to characterize the relationships learned by a predictive model and use them to formulate testable hypotheses about biological regulation. Ante hoc approaches encourage interpretable representations through model design, including architectures designed to represent sequence motifs or gene modules<sup><a class=\"link\" href=\"#ref-181\" >181<\/a>\u2013<a class=\"link\" href=\"#ref-186\" >186<\/a><\/sup>. Here, we focus on post hoc approaches that nominate regulatory features, test their necessity and sufficiency within the model, and quantify their interactions. For joint models, these approaches can examine which sequence sites and cellular inputs explain why a predicted sequence effect changes across states.<\/p>\n<p><em>Attribution analysis<\/em> assigns scores to input features, such as nucleotides or regulator expression values, to describe their influence on a selected model output. Gradient saliency measures local sensitivity to input changes<sup><a class=\"link\" href=\"#ref-187\" >187<\/a><\/sup>, while DeepLIFT, DeepSHAP, and integrated gradients estimate contributions relative to a reference input or background distribution<sup><a class=\"link\" href=\"#ref-188\" >188<\/a>\u2013<a class=\"link\" href=\"#ref-190\" >190<\/a><\/sup>. The reference specifies the inputs used for comparison, such as shuffled DNA sequences or control expression profiles. Attributing a cellular embedding identifies gene inputs that shape the learned representation<sup><a class=\"link\" href=\"#ref-191\" >191<\/a><\/sup>, while attributing a predicted expression difference from a matched control identifies inputs contributing to the modeled response.<\/p>\n<p>For DNA inputs, nucleotide attributions localize candidate regulatory sites. In sequence-to-profile models, PISA resolves attributions across output positions, showing where along the predicted profile an input feature contributes<sup><a class=\"link\" href=\"#ref-192\" >192<\/a><\/sup>. Comparing nucleotide attribution patterns across loci can identify recurring motifs. TF-MoDISco identifies short sequence segments with strong attribution signals, termed seqlets, and aligns and clusters their attribution patterns to discover motifs<sup><a class=\"link\" href=\"#ref-193\" >193<\/a><\/sup>. TF-MInDi represents seqlets through their similarities to a reference motif collection, clusters them in that representation, and constructs consensus motifs from the resulting groups<sup><a class=\"link\" href=\"#ref-194\" >194<\/a><\/sup>.<\/p>\n<p>Controlled <em>in silico experiments<\/em> test how a prediction or learned representation responds to changes in its inputs. In Geneformer, deleting a gene token or raising its rank in the encoded expression profile tests how cell or gene embeddings depend on that gene<sup><a class=\"link\" href=\"#ref-60\" >60<\/a><\/sup>. In seq2func models, disrupting or introducing a candidate site can test whether it is necessary or sufficient for predicted activity in a specified sequence background. A motif knockout tests necessity by disrupting the site in its original context and measuring the change in predicted expression, accessibility, or TF binding while holding cellular inputs fixed. Single-nucleotide mutagenesis resolves which substitutions disrupt or preserve the site\u2019s contribution.<\/p>\n<p>Motif knock-ins test sufficiency by asking whether introducing the site into another background can confer the predicted activity or response of interest. Because the receiving sequence may supply different supporting or competing features, an implantation effect is specific to that background. Global importance analysis (GIA) extends this test across a chosen background distribution, averaging prediction differences between matched sequences with and without the implanted feature<sup><a class=\"link\" href=\"#ref-80\" >80<\/a><\/sup>. Varying motif identity, copy number, or flanking sequence can then reveal which properties account for differences in the response. This distinguishes contributions associated with the core motif from those that require a particular local sequence context. DeepSTARR analyses and reporter assays examined this distinction by exchanging flanks between weak and strong GATA motif instances, finding that the exchanges could alter enhancer activity while retaining the core motif<sup><a class=\"link\" href=\"#ref-86\" >86<\/a><\/sup>.<\/p>\n<p>Mutations around a reference sequence can reveal how disrupting one site changes the contributions of others. Second-order <em>in silico<\/em> mutagenesis measures these dependencies through departures of double-mutant effects from the sum of individual effects on the chosen output scale. DFIM measures how perturbing a nucleotide or motif changes attribution to other sites, identifying changes in their contributions to the prediction<sup><a class=\"link\" href=\"#ref-195\" >195<\/a><\/sup>. SEAM extends this comparison to whole attribution maps across variants, grouping similar patterns and relating them to sequence changes<sup><a class=\"link\" href=\"#ref-196\" >196<\/a><\/sup>. These groups can reveal alternative motif configurations or increased contributions from weak or cryptic sites, including cases where changes in feature use produce little change in predicted activity. SQUID summarizes predictions across a local variant library with an <em>interpretable surrogate<\/em>, a simpler model fitted to the original predictor\u2019s outputs to estimate nucleotide contributions and optional pairwise interactions<sup><a class=\"link\" href=\"#ref-197\" >197<\/a><\/sup>. A nonlinear mapping from the fitted sequence contributions to the predicted readout can account for saturation separately from nucleotide-specific interaction terms<sup><a class=\"link\" href=\"#ref-198\" >198<\/a><\/sup>.<\/p>\n<p>Designed combinations of motif or element perturbations can then test specific hypotheses about cooperation and compensation. Implanting two motifs individually and together asks whether their joint effect can be explained by their separate contributions, while varying their spacing tests whether the dependency requires a particular arrangement. BPNet analyses used such comparisons to quantify how one motif altered predicted TF binding at another across different spacings<sup><a class=\"link\" href=\"#ref-81\" >81<\/a><\/sup>. At the scale of regulatory elements, compensation can conceal a region\u2019s contribution when another element remains intact. CREME searches for influential combinations through systematic perturbations of sequence tiles, contiguous segments of the input DNA<sup><a class=\"link\" href=\"#ref-82\" >82<\/a><\/sup>. Shuffling tiles in their genomic context tests necessity, while retaining selected tiles and the promoter at their original positions in shuffled backgrounds tests sufficiency. Comparing individual tile effects with the effects of combinations selected by the search can reveal contributions masked by compensation or nominate cooperative relationships within the model.<\/p>\n<p>In joint models, attribution methods and <em>in silico<\/em> perturbations can examine how cellular inputs modify the predicted effect of a sequence variant. Comparing sequence attributions for the same DNA across states, using the same attribution baseline, can nominate sites whose contributions vary with context. Attributing the predicted variant\u2013reference difference to cellular inputs can then nominate contextual features for testing. When TF expression is an explicit input, changing its value and recomputing the allele difference tests whether the predicted variant effect depends on the supplied TF transcript abundance.<\/p>\n<p>Disrupting an additional candidate binding site in both allelic backgrounds and repeating the regulator-input comparison tests whether that site contributes to the predicted dependence of the variant effect on regulator expression. Related TFs and alternative site disruptions provide specificity tests when regulators are coexpressed or recognize similar motifs. Comparing predicted variant effects across measured cell profiles can also identify cellular backgrounds for experimental testing. Searches over unmeasured context inputs could extend these comparisons<sup><a class=\"link\" href=\"#ref-187\" >187<\/a>,<a class=\"link\" href=\"#ref-199\" >199<\/a><\/sup>, although optimization can favor states in which prediction errors exaggerate the variant effect<sup><a class=\"link\" href=\"#ref-200\" >200<\/a>,<a class=\"link\" href=\"#ref-201\" >201<\/a><\/sup>. Prioritizing biologically plausible states and assessing uncertainty in those contexts could guide experiments that cross the nominated sequence edits with perturbations of regulator abundance or activity.<\/p>\n<h2 id=\"discussion-and-outlook\">Discussion and outlook\n<\/h2><p>A near-term priority is to test whether joint models predict sequence effects across regulator perturbations and regulator responses across sequence backgrounds. Coupling these models over time could extend prediction to the propagation and persistence of regulatory responses. Repeated scaling pilots could guide investment toward measurements that improve the targeted predictions, while agentic loops could use evaluation and interpretation to refine model designs and propose subsequent experiments.<\/p>\n<h3 id=\"coupling-sequence-and-cell-state-predictions-over-time\">Coupling sequence and cell state predictions over time\n<\/h3><p>Explaining how cells develop and respond to perturbations requires identifying how early regulatory changes produce later cellular states. The order and timing of molecular events help distinguish regulatory pathways that lead to similar endpoint expression profiles. A variant that increases TF protein abundance may alter transcription at the TF\u2019s target genes according to their regulatory sequences, including genes encoding regulators that reinforce or oppose the initial response. Changes in TF activity can also alter chromatin accessibility and thereby modify subsequent transcription<sup><a class=\"link\" href=\"#ref-34\" >34<\/a>,<a class=\"link\" href=\"#ref-35\" >35<\/a><\/sup>. Coupling sequence and cell state models over time could represent these dependencies explicitly, generating causal hypotheses that temporal measurements and timed perturbations could help distinguish.<\/p>\n<p>Single-cell measurements collected at multiple time points provide snapshots of changing cell populations, supporting reconstruction of developmental trajectories and forward simulation of cellular responses<sup><a class=\"link\" href=\"#ref-202\" >202<\/a>,<a class=\"link\" href=\"#ref-203\" >203<\/a><\/sup>. Changes in state abundance can reflect transitions between states or differences in proliferation and cell death, which models of population responses need to account for<sup><a class=\"link\" href=\"#ref-202\" >202<\/a><\/sup>. Models of RNA and chromatin kinetics further constrain how molecular states change<sup><a class=\"link\" href=\"#ref-204\" >204<\/a>,<a class=\"link\" href=\"#ref-205\" >205<\/a><\/sup>. Incorporating regulatory interactions into RNA production, splicing, and degradation dynamics supports simulations of regulator perturbations<sup><a class=\"link\" href=\"#ref-206\" >206<\/a><\/sup>, while jointly modeling gene expression and motif-associated accessibility connects RNA dynamics to chromatin changes<sup><a class=\"link\" href=\"#ref-207\" >207<\/a><\/sup>. Coupling these formulations to sequence-dependent predictions could specify how an edit alters transcription or accessibility as the regulatory environment evolves.<\/p>\n<p>A first step would couple sequence and cell state models through repeated updates (<strong>Figure 4<\/strong>). A context-aware seq2func component would predict locus-specific molecular readouts from DNA and the current cellular context. A dynamical component would estimate changes in molecular abundance and regulator activity over each interval from the current state, molecular readouts, and specified intervention. The first update would use readouts measured at <em>t<\/em><sub>0<\/sub>. Subsequent updates would use readouts predicted from DNA and the evolving cellular state. Predicted RNA abundance or accessibility could serve as inputs to a learned state update. A kinetic model would require estimates of rates such as transcription and RNA degradation, together with a model linking those rates to the measured assay signals. The updated state would condition the next sequence prediction, so subsequent transcription would depend on the consequences of earlier regulation. An enhancer edit would remain in the sequence throughout the simulation, while a transient regulator perturbation would be imposed according to its experimental schedule. Errors in molecular abundance, activity, or timing could consequently affect later steps in the simulation.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig4-temporal-coupling.png\" class=\"image-link\" data-pswp-width=\"1080\" data-pswp-height=\"810\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-017\/fig4-temporal-coupling.png.optimized.webp\" width=\"1000px\" height=\"750\"loading=\"lazy\"\n\t\t\talt=\"Figure 4. Coupling sequence and cell state predictions over time. A cis- or trans-regulatory perturbation at t0 initiates changes in cellular state and molecular readouts (top). Measurements at t0 initialize the proposed prediction cycle. A dynamical cell state model uses the current state, molecular readouts, and specified intervention to predict an updated state over a defined interval. This state supplies context to a seq2func model, which predicts molecular readouts across modeled loci from DNA and the updated context. These predictions supply the next state update, allowing regulatory effects to propagate through successive cycles. From t1 onward, the cycle uses the model\u2019s own predicted readouts and states. Comparisons with measurements at t1 and t3 assess intermediate and later predictions, including errors propagated through preceding updates. The unmeasured time t2 illustrates prediction between sampling times. DNA remains fixed across cycles, preserving a sequence edit throughout the simulation. Perturbations are classified relative to a focal gene. CRISPR interference or activation (CRISPRi\/a) appears under both classes because it can target a CRE linked to that gene or a gene encoding one of its trans-acting regulators. The temporal effects (right) illustrate the CRE\/gene changes the coupled model would need to capture, with measured signal (solid) beside prediction (dashed). Predicted and measured curves agree at t0 and separate thereafter, at rates that differ by locus.\"\n\t\t\t>\n\t\t<\/a><figcaption><strong>Figure 4. Coupling sequence and cell state predictions over time.<\/strong> A <em>cis<\/em>- or <em>trans<\/em>-regulatory perturbation at <em>t<\/em><sub>0<\/sub> initiates changes in cellular state and molecular readouts (top). Measurements at <em>t<\/em><sub>0<\/sub> initialize the proposed prediction cycle. A dynamical cell state model uses the current state, molecular readouts, and specified intervention to predict an updated state over a defined interval. This state supplies context to a seq2func model, which predicts molecular readouts across modeled loci from DNA and the updated context. These predictions supply the next state update, allowing regulatory effects to propagate through successive cycles. From <em>t<\/em><sub>1<\/sub> onward, the cycle uses the model\u2019s own predicted readouts and states. Comparisons with measurements at <em>t<\/em><sub>1<\/sub> and <em>t<\/em><sub>3<\/sub> assess intermediate and later predictions, including errors propagated through preceding updates. The unmeasured time <em>t<\/em><sub>2<\/sub> illustrates prediction between sampling times. DNA remains fixed across cycles, preserving a sequence edit throughout the simulation. Perturbations are classified relative to a focal gene. CRISPR interference or activation (CRISPRi\/a) appears under both classes because it can target a CRE linked to that gene or a gene encoding one of its <em>trans<\/em>-acting regulators. The temporal effects (right) illustrate the CRE\/gene changes the coupled model would need to capture, with measured signal (solid) beside prediction (dashed). Predicted and measured curves agree at <em>t<\/em><sub>0<\/sub> and separate thereafter, at rates that differ by locus.<\/figcaption><\/figure><p>Time-resolved perturbation measurements could constrain the intermediate states and transition times predicted by the coupled model. Connecting transcription to subsequent regulator abundance requires accounting for RNA processing and degradation, translation, and protein turnover<sup><a class=\"link\" href=\"#ref-208\" >208<\/a>,<a class=\"link\" href=\"#ref-209\" >209<\/a><\/sup>. Paired RNA and protein measurements across differentiating cells have revealed RNA changes that precede protein changes along inferred trajectories<sup><a class=\"link\" href=\"#ref-126\" >126<\/a><\/sup>. Regulator activity can also change independently of abundance. If similar measured profiles lead to different responses because of prior stimulation, the dynamical state may need to retain information about that history<sup><a class=\"link\" href=\"#ref-127\" >127<\/a><\/sup>. Measurements of RNA, chromatin accessibility, and selected regulator proteins or activities throughout a response could help the model learn how these processes shape subsequent transcription.<\/p>\n<p>Destructive molecular assays sample different cells at successive times, leaving the connections between measured states to be inferred. Lineage tracing can constrain relationships between earlier and later cell populations<sup><a class=\"link\" href=\"#ref-44\" >44<\/a><\/sup>, while linking transcriptomic snapshots to live-cell imaging can provide information about how individual cells reached those states<sup><a class=\"link\" href=\"#ref-210\" >210<\/a><\/sup>. Live-cell imaging could follow individual cells through a perturbation response, while transcriptomic profiling of selected cells at defined times would link their expression states to preceding behavior and reporter dynamics<sup><a class=\"link\" href=\"#ref-211\" >211<\/a><\/sup>. A model trained on these paired imaging histories and transcriptomes could estimate expression changes along the tracked trajectories, providing temporal information between molecular sampling times. Measured transcriptomes would constrain the trajectories at sampled times, while predictions at times withheld from training could be compared with the corresponding transcriptomes to assess which genes or expression programs are recoverable from imaging. Errors on these held-out measurements could help calibrate uncertainty in the inferred expression states, including cases where similar imaging histories accompany different molecular profiles. The inferred trajectories could then provide additional constraints on the coupled model\u2019s state updates, with less certain estimates receiving less weight during training.<\/p>\n<p>Coupled models could help identify intervention schedules that drive cells toward a desired state that persists after withdrawal. Reprogramming with the Yamanaka factors illustrates why timing matters, as the order and duration of factor expression can influence the transition to pluripotency<sup><a class=\"link\" href=\"#ref-212\" >212<\/a>,<a class=\"link\" href=\"#ref-213\" >213<\/a><\/sup>. A coupled model could predict how early changes in chromatin accessibility and endogenous regulator activity alter the response to later interventions. Comparing predicted trajectories under alternative schedules could then help prioritize when to introduce or withdraw individual factors and identify intermediate regulatory changes that distinguish successful transitions from stalled or alternative responses.<\/p>\n<p>Evaluation would begin each predicted trajectory from the measured starting state and specified intervention schedule, with subsequent updates conditioned on the model\u2019s own predicted context. Comparisons with independent time-resolved measurements would assess the order, timing, and magnitude of molecular responses and whether the target state is reached and maintained. Inhibiting an intermediate regulator before a transition and after the new state is established could test its roles in initiation and maintenance. Withdrawal of the initiating stimulus, combined with perturbation of regulators predicted to sustain the response, could test whether the proposed feedback explains persistence or reversal of the cellular state.<\/p>\n<h3 id=\"data-scaling-and-continual-refinement\">Data scaling and continual refinement\n<\/h3><p>Scaling joint sequence\u2013cell state models requires choosing which additional measurements will improve prediction of sequence effects and regulator responses across cellular contexts. Collecting more examples within one cellular context can refine the sequence\u2013activity relationships learned there, while comparisons across contexts provide evidence for how those relationships change with the regulatory environment. Within one cell type, testing regulatory sites individually and in combination can reveal how the effect of disrupting one site changes when another is disrupted. Repeating selected edits across TF dosages can then show how those sequence effects vary with regulator availability. These strategies compete for experimental resources, and extending measurements to additional tissues or species introduces further costs and differences in biological coverage. Pilot scaling studies could compare how these experimental strategies improve prediction of sequence effects and regulator responses relative to their costs, providing evidence for which investments to expand.<\/p>\n<p>Each pilot would train models on the existing data mixture alone and with progressively larger subsets of each candidate collection. At each data scale, the pilot would explore a range of architectures, representations, and training objectives for each collection, using common validation tasks and recording the computational costs of model selection and training. For each modeling approach, gains from the added data would be evaluated separately on held-out tasks such as predicting variant effects across cellular states and regulator responses across sequence backgrounds. This would show whether a collection improves both capabilities or primarily benefits one task under particular training objectives. For example, perturbation profiles may yield larger gains in response prediction when training gives explicit weight to expression changes from matched controls.<\/p>\n<p>Pilot studies could also vary the proportions of different collections at matched experimental budgets or compare policies for selecting measurements within a collection. Active-learning policies use criteria such as uncertainty or diversity to select the next measurements as the model is updated<sup><a class=\"link\" href=\"#ref-214\" >214<\/a>,<a class=\"link\" href=\"#ref-215\" >215<\/a><\/sup>, with applications to regulatory sequence and perturbation-response prediction<sup><a class=\"link\" href=\"#ref-216\" >216<\/a>,<a class=\"link\" href=\"#ref-217\" >217<\/a><\/sup>. Comparing the resulting performance curves alongside data-generation and training costs could guide which collections or mixtures to expand and, where extrapolation is supported, estimate the investment needed to reach a performance target<sup><a class=\"link\" href=\"#ref-218\" >218<\/a><\/sup>.<\/p>\n<p>Monitoring gains as collections grow would help identify when to repeat the pilots. Broad measurements across cell types may initially reveal sequence features shared across contexts. Once these features are well characterized, testing the same motif edits across TF dosages may better resolve differences in regulatory sensitivity. If assay noise obscures the remaining effects, greater measurement precision may be more valuable than broader coverage. Diminishing returns from observational pretraining in some transcriptomic models and tasks<sup><a class=\"link\" href=\"#ref-64\" >64<\/a><\/sup> motivate comparing these alternatives as the model and its training objective change.<\/p>\n<p>Successive rounds may produce small, targeted studies that address errors left by much larger training collections. Abundant assays can dominate joint training, while updating a genome-wide model on perturbations at a few loci risks degrading predictions elsewhere through catastrophic forgetting<sup><a class=\"link\" href=\"#ref-219\" >219<\/a><\/sup>. Continual learning could reduce the cost of retraining after each round<sup><a class=\"link\" href=\"#ref-5\" >5<\/a>,<a class=\"link\" href=\"#ref-220\" >220<\/a><\/sup>. Evaluating gains on the targeted perturbations alongside performance at previously modeled loci and cellular states would test whether an update incorporates the new evidence while retaining earlier capabilities.<\/p>\n<h3 id=\"agentic-discovery-and-refinement-of-regulatory-models\">Agentic discovery and refinement of regulatory models\n<\/h3><p>Agents based on large language models (LLMs) could use biological knowledge and results from previous tests to propose and refine regulatory models, explanations of model behavior, or experimental designs. FunSearch and AlphaEvolve illustrate how LLM-generated programs can be improved through automated evaluation and evolutionary search, which repeatedly generates variants of candidate programs and selects them according to their evaluation scores<sup><a class=\"link\" href=\"#ref-221\" >221<\/a>,<a class=\"link\" href=\"#ref-222\" >222<\/a><\/sup>. In regulatory modeling, feedback could come from predictive performance on a validation set of perturbation measurements or from whether a proposed explanation accounts for a trained model\u2019s responses to controlled input changes. An <em>agentic loop<\/em> would use this feedback to revise proposals and select subsequent tests. Experimental-design loops would receive feedback as new measurements become available, with assay cost and duration shaping the rate of iteration.<\/p>\n<p>For model optimization, agents could explore alternative architectures and training procedures through an evolutionary search over candidate models<sup><a class=\"link\" href=\"#ref-221\" >221<\/a>,<a class=\"link\" href=\"#ref-223\" >223<\/a><\/sup>. Each round would train and evaluate candidates against a fixed objective that measures the intended regulatory capabilities, such as predicting changes in variant effects across cellular states or responses to regulator perturbations. The search could vary where cellular context enters sequence processing, which transformations preserve information about regulator activity, or how locus-specific predictions contribute to a cellular response. A candidate model could connect predicted changes in regulator expression to transcription at downstream loci, testing whether explicitly representing regulatory cascades improves response prediction. Evaluation procedures would remain outside the agents\u2019 control, with reserved tests assessing whether improvements extend beyond the evaluations used during search.<\/p>\n<p>For model interpretation, agents could use attribution and perturbation results to formulate hypotheses about how sequence features and cellular inputs jointly affect predictions, then select <em>in silico<\/em> experiments that distinguish competing explanations. Changing a regulator input before and after disrupting a candidate binding site, for example, could test whether the model\u2019s response to that input depends on the site. These comparisons would refine explanations of the trained model\u2019s behavior without requiring new biological measurements. Prediction failures and the resulting regulatory hypotheses could then guide proposals for experiments in cells, with feasibility and cost shaping which sequences, regulators, and cellular contexts are tested. The pilot-scaling framework could compare these proposed collections with established acquisition strategies by measuring improvements in sequence-effect and regulator-response prediction at matched experimental and computational budgets.<\/p>\n<h2 id=\"glossary-terms\">Glossary terms\n<\/h2><ul>\n<li><strong><em>cis<\/em>-regulatory element:<\/strong> is a DNA sequence that regulates transcription of a target gene on the same DNA molecule<\/li>\n<li><strong><em>trans<\/em>-acting factor:<\/strong> is a diffusible regulatory molecule, such as a protein or RNA, whose action does not require physical linkage between its encoding gene and its target gene<\/li>\n<li><strong>chromatin state:<\/strong> is the molecular and structural properties of chromatin, including nucleosome organization, accessibility, histone modifications, DNA methylation and three-dimensional organization<\/li>\n<li><strong>cell state:<\/strong> is the molecular and physiological condition of a cell at a given time, including its chromatin state and the abundance and activity of regulatory molecules<\/li>\n<li><strong>learned representation:<\/strong> a numerical encoding of an input, such as a cellular profile, whose features are learned from data and used for comparisons or predictions<\/li>\n<li><strong>pretraining:<\/strong> an initial training stage that learns model parameters or representations for reuse in subsequent tasks, either directly or after fine-tuning<\/li>\n<li><strong>foundation model:<\/strong> a model pretrained on a broad data collection with the aim of supporting multiple tasks through its learned representations or further adaptation<\/li>\n<li><strong>single-task seq2func model:<\/strong> a sequence-to-function model trained to predict a particular molecular readout in a specified cellular context<\/li>\n<li><strong>multi-task seq2func model:<\/strong> a sequence-to-function model that shares learned sequence representations to predict multiple molecular readouts or the same readout across cellular contexts<\/li>\n<li><strong>feature leakage:<\/strong> in a multi-task model, transfer of a learned feature association across outputs that produces misleading regulatory dependencies<\/li>\n<li><strong>fusion:<\/strong> the integration of sequence and cellular context through joint processing of representations, modulation of features, or generation of context-dependent model parameters. The fusion stage specifies where context acts, and the fusion operation specifies how.<\/li>\n<li><strong>metacell:<\/strong> an aggregate molecular profile constructed from a small group of cells with similar measured profiles to reduce sparsity<\/li>\n<li><strong>pseudobulk:<\/strong> an aggregate profile typically constructed by summing counts across cells of a defined population within each biological sample, such as one cell type from one donor<\/li>\n<li><strong>covariate shift:<\/strong> a change in the distribution of model inputs while the conditional relationship between inputs and prediction targets remains stable<\/li>\n<li><strong>concept shift:<\/strong> a change in the conditional relationship between model inputs and prediction targets, potentially reflecting an unmeasured regulatory variable or a change in measurement<\/li>\n<li><strong>label shift:<\/strong> a change in target class prevalence while the distribution of inputs within each class remains stable<\/li>\n<li><strong>attribution method:<\/strong> a method that assigns scores to input features to describe their contributions to a selected model output or the output\u2019s sensitivity to changes in those features<\/li>\n<li><strong><em>in silico<\/em> experiment:<\/strong> a controlled comparison of model predictions under specified input changes, used to test hypotheses about feature contributions and interactions within the model<\/li>\n<li><strong>agentic loop:<\/strong> an iterative process in which an AI agent selects actions toward a specified objective and uses feedback from their execution to guide subsequent actions<\/li>\n<\/ul>\n<h2 id=\"competing-interests\">Competing interests\n<\/h2><p>P.K.K. is a paid consultant for Inari Agriculture, serves on the scientific advisory board of Collage Bio, and holds stock options in both companies. A.K. is on the scientific advisory boards of SerImmune, TensorBio and AINovo; is a consultant with Arcardia Science, Inari, Precede Biosciences and Bristol Myers Squibb; was a consultant with Illumina and PatchBio; and has a financial stake in DeepGenomics, SerImmune, Immunai and Freenome. The remaining authors declare no competing interests.<\/p>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li><span id=\"ref-1\"><\/span>Kim, S. &amp; Wysocka, J. Deciphering the multi-scale, quantitative cis-regulatory code. <em>Mol. Cell<\/em> <strong>83<\/strong>, 373\u2013392, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.molcel.2022.12.032\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.molcel.2022.12.032<\/a> (2023).<\/li>\n<li><span id=\"ref-2\"><\/span>Gertz, J. &amp; Cohen, B. A. Environment-specific combinatorial cis-regulation in synthetic promoters. <em>Mol. Syst. Biol.<\/em> <strong>5<\/strong>, 244, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/msb.2009.1\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/msb.2009.1<\/a> (2009).<\/li>\n<li><span id=\"ref-3\"><\/span>Yosef, N. <em>et al.<\/em> Dynamic regulatory network controlling TH17 cell differentiation. <em>Nature<\/em> <strong>496<\/strong>, 461\u2013468, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nature11981\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nature11981<\/a> (2013).<\/li>\n<li><span id=\"ref-4\"><\/span>Barbadilla-Mart\u00ednez, L., Klaassen, N., van Steensel, B. &amp; de Ridder, J. Predicting gene expression from DNA sequence using deep learning models. <em>Nat. Rev. Genet.<\/em> <strong>26<\/strong>, 666\u2013680, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41576-025-00841-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41576-025-00841-2<\/a> (2025).<\/li>\n<li><span id=\"ref-5\"><\/span>Nagai, M., Murphy, A. E., Rizzo, K. &amp; Koo, P. K. Toward generalizable and interpretable AI in regulatory genomics. <em>Nat. Genet.<\/em> <strong>58<\/strong>, 1787\u20131802, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-026-02670-3\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-026-02670-3<\/a> (2026).<\/li>\n<li><span id=\"ref-6\"><\/span>Sokolova, K., Chen, K. M., Hao, Y., Zhou, J. &amp; Troyanskaya, O. G. Deep learning sequence models for transcriptional regulation. <em>Annu. Rev. Genomics Hum. Genet.<\/em> <strong>25<\/strong>, 105\u2013122, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1146\/annurev-genom-021623-024727\" target=\"_blank\" rel=\"noopener\"\n >10.1146\/annurev-genom-021623-024727<\/a> (2024).<\/li>\n<li><span id=\"ref-7\"><\/span>De Winter, S., Konstantakos, V. &amp; Aerts, S. Modelling and design of transcriptional enhancers. <em>Nat. Rev. Bioeng.<\/em> <strong>3<\/strong>, 374\u2013389 (2025).<\/li>\n<li><span id=\"ref-8\"><\/span>Novakovsky, G., Dexter, N., Libbrecht, M. W., Wasserman, W. W. &amp; Mostafavi, S. Obtaining genetics insights from deep learning via explainable artificial intelligence. <em>Nat. Rev. Genet.<\/em> <strong>24<\/strong>, 125\u2013137, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41576-022-00532-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41576-022-00532-2<\/a> (2023).<\/li>\n<li><span id=\"ref-9\"><\/span>Ahlmann-Eltze, C., Barkmann, F., Lause, J., Boeva, V. &amp; Kobak, D. Representation learning of single-cell RNA-seq data. <em>RNA<\/em> <strong>32<\/strong>, 504\u2013519, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1261\/rna.080889.125\" target=\"_blank\" rel=\"noopener\"\n >10.1261\/rna.080889.125<\/a> (2026).<\/li>\n<li><span id=\"ref-10\"><\/span>Dimitrov, D., Schrod, S., Rohbeck, M. &amp; Stegle, O. Interpretation, extrapolation and perturbation of single cells. <em>Nat. Rev. Genet.<\/em> <strong>27<\/strong>, 349\u2013370, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41576-025-00920-4\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41576-025-00920-4<\/a> (2026).<\/li>\n<li><span id=\"ref-11\"><\/span>Wei, J., Xue, Y., Chai, H. &amp; Gao, Y. Q. GenoME: a MoE-based generative model for individualized, multimodal prediction and perturbation of genomic profiles. <em>Nucleic Acids Res.<\/em> <strong>54<\/strong>, gkag902, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/nar\/gkag902\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/nar\/gkag902<\/a> (2026).<\/li>\n<li><span id=\"ref-12\"><\/span>Hingerl, J. C. <em>et al.<\/em> scooby: modeling multimodal genomic profiles from DNA sequence at single-cell resolution. <em>Nat. Methods<\/em> <strong>22<\/strong>, 2275\u20132285, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-025-02854-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-025-02854-5<\/a> (2025).<\/li>\n<li><span id=\"ref-13\"><\/span>Aksu, E. D. &amp; Vingron, M. Context-aware sequence-to-function model of human gene regulation. <em>Nat. Commun.<\/em> <strong>17<\/strong>, 6200, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-026-75527-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-026-75527-2<\/a> (2026).<\/li>\n<li><span id=\"ref-14\"><\/span>Bravo Gonz\u00e1lez-Blas, C. <em>et al.<\/em> SCENIC+: single-cell multiomic inference of enhancers and gene regulatory networks. <em>Nat. Methods<\/em> <strong>20<\/strong>, 1355\u20131367, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-023-01938-4\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-023-01938-4<\/a> (2023).<\/li>\n<li><span id=\"ref-15\"><\/span>Kamal, A. <em>et al.<\/em> GRaNIE and GRaNPA: inference and evaluation of enhancer-mediated gene regulatory networks. <em>Mol. Syst. Biol.<\/em> <strong>19<\/strong>, e11627, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.15252\/msb.202311627\" target=\"_blank\" rel=\"noopener\"\n >10.15252\/msb.202311627<\/a> (2023).<\/li>\n<li><span id=\"ref-16\"><\/span>Partel, G., De Winter, S., Konstantakos, V., Blaauw, C. H. &amp; Aerts, S. DeepSCENIC: transfer learning from sequence-to-function models enables causal gene regulatory network inference. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.09.18.752607\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.09.18.752607<\/a> (2026). <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/early\/2026\/09\/22\/2026.09.18.752607.full.pdf\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.biorxiv.org\/content\/early\/2026\/09\/22\/2026.09.18.752607.full.pdf<\/a>.<\/li>\n<li><span id=\"ref-17\"><\/span>Probst, A. V., Dunleavy, E. &amp; Almouzni, G. Epigenetic inheritance during the cell cycle. <em>Nat. Rev. Mol. Cell Biol.<\/em> <strong>10<\/strong>, 192\u2013206, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nrm2640\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nrm2640<\/a> (2009).<\/li>\n<li><span id=\"ref-18\"><\/span>Statello, L., Guo, C.-J., Chen, L.-L. &amp; Huarte, M. Gene regulation by long non-coding RNAs and its biological functions. <em>Nat. Rev. Mol. Cell Biol.<\/em> <strong>22<\/strong>, 96\u2013118, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41580-020-00315-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41580-020-00315-9<\/a> (2021).<\/li>\n<li><span id=\"ref-19\"><\/span>Naqvi, S. <em>et al.<\/em> Precise modulation of transcription factor levels identifies features underlying dosage sensitivity. <em>Nat. Genet.<\/em> <strong>55<\/strong>, 841\u2013851, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-023-01366-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-023-01366-2<\/a> (2023).<\/li>\n<li><span id=\"ref-20\"><\/span>Glasmacher, E. <em>et al.<\/em> A genomic regulatory element that directs assembly and function of immune-specific AP-1-IRF complexes. <em>Science<\/em> <strong>338<\/strong>, 975\u2013980, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.1228309\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.1228309<\/a> (2012).<\/li>\n<li><span id=\"ref-21\"><\/span>Jantz, D. &amp; Berg, J. M. Reduction in DNA-binding affinity of Cys2His2 zinc finger proteins by linker phosphorylation. <em>Proc. Natl. Acad. Sci. United States Am.<\/em> <strong>101<\/strong>, 7589\u20137593, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1073\/pnas.0402191101\" target=\"_blank\" rel=\"noopener\"\n >10.1073\/pnas.0402191101<\/a> (2004).<\/li>\n<li><span id=\"ref-22\"><\/span>Vandromme, M., Gauthier-Rouvi\u00e8re, C., Lamb, N. &amp; Fernandez, A. Regulation of transcription factor localization: fine-tuning of gene expression. <em>Trends Biochem. Sci.<\/em> <strong>21<\/strong>, 59\u201364, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/s0968-0004%2896%2980182-4\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/s0968-0004(96)80182-4<\/a> (1996).<\/li>\n<li><span id=\"ref-23\"><\/span>Hoffmann, A., Levchenko, A., Scott, M. L. &amp; Baltimore, D. The I\u03baB\u2013NF-\u03baB signaling module: temporal control and selective gene activation. <em>Science<\/em> <strong>298<\/strong>, 1241\u20131245, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.1071914\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.1071914<\/a> (2002).<\/li>\n<li><span id=\"ref-24\"><\/span>Dupont, S. <em>et al.<\/em> Role of YAP\/TAZ in mechanotransduction. <em>Nature<\/em> <strong>474<\/strong>, 179\u2013183, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nature10137\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nature10137<\/a> (2011).<\/li>\n<li><span id=\"ref-25\"><\/span>Kawaguchi, T., Takenoshita, M., Kabashima, T. &amp; Uyeda, K. Glucose and cAMP regulate the L-type pyruvate kinase gene by phosphorylation\/dephosphorylation of the carbohydrate response element binding protein. <em>Proc. Natl. Acad. Sci. United States Am.<\/em> <strong>98<\/strong>, 13710\u201313715, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1073\/pnas.231370798\" target=\"_blank\" rel=\"noopener\"\n >10.1073\/pnas.231370798<\/a> (2001).<\/li>\n<li><span id=\"ref-26\"><\/span>Jolma, A. <em>et al.<\/em> DNA-binding specificities of human transcription factors. <em>Cell<\/em> <strong>152<\/strong>, 327\u2013339, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2012.12.009\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2012.12.009<\/a> (2013).<\/li>\n<li><span id=\"ref-27\"><\/span>Ghoshdastidar, D. &amp; Bansal, M. Flexibility of flanking DNA is a key determinant of transcription factor affinity for the core motif. <em>Biophys. J.<\/em> <strong>121<\/strong>, 3987\u20134000, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.bpj.2022.08.015\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.bpj.2022.08.015<\/a> (2022).<\/li>\n<li><span id=\"ref-28\"><\/span>Horton, C. A. <em>et al.<\/em> Short tandem repeats bind transcription factors to tune eukaryotic gene expression. <em>Science<\/em> <strong>381<\/strong>, eadd1250, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.add1250\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.add1250<\/a> (2023).<\/li>\n<li><span id=\"ref-29\"><\/span>Xie, Z. <em>et al.<\/em> DNA-guided transcription factor interactions extend human gene regulatory code. <em>Nature<\/em> <strong>641<\/strong>, 1329\u20131338, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-08844-z\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-025-08844-z<\/a> (2025).<\/li>\n<li><span id=\"ref-30\"><\/span>Kim, S. <em>et al.<\/em> DNA-guided transcription factor cooperativity shapes face and limb mesenchyme. <em>Cell<\/em> <strong>187<\/strong>, 692\u2013711.e26, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2023.12.032\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2023.12.032<\/a> (2024).<\/li>\n<li><span id=\"ref-31\"><\/span>The ENCODE Project Consortium <em>et al.<\/em> Expanded encyclopaedias of DNA elements in the human and mouse genomes. <em>Nature<\/em> <strong>583<\/strong>, 699\u2013710, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-020-2493-4\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-020-2493-4<\/a> (2020).<\/li>\n<li><span id=\"ref-32\"><\/span>Zhu, F. <em>et al.<\/em> The interaction landscape between transcription factors and the nucleosome. <em>Nature<\/em> <strong>562<\/strong>, 76\u201381, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-018-0549-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-018-0549-5<\/a> (2018).<\/li>\n<li><span id=\"ref-33\"><\/span>Yin, Y. <em>et al.<\/em> Impact of cytosine methylation on DNA binding specificities of human transcription factors. <em>Science<\/em> <strong>356<\/strong>, eaaj2239, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.aaj2239\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.aaj2239<\/a> (2017).<\/li>\n<li><span id=\"ref-34\"><\/span>Klemm, S. L., Shipony, Z. &amp; Greenleaf, W. J. Chromatin accessibility and the regulatory epigenome. <em>Nat. Rev. Genet.<\/em> <strong>20<\/strong>, 207\u2013220, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41576-018-0089-8\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41576-018-0089-8<\/a> (2019).<\/li>\n<li><span id=\"ref-35\"><\/span>Barral, A. &amp; Zaret, K. S. Pioneer factors: roles and their regulation in development. <em>Trends Genet.<\/em> <strong>40<\/strong>, 134\u2013148, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.tig.2023.10.007\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.tig.2023.10.007<\/a> (2024).<\/li>\n<li><span id=\"ref-36\"><\/span>Lupi\u00e1\u00f1ez, D. G. <em>et al.<\/em> Disruptions of topological chromatin domains cause pathogenic rewiring of gene-enhancer interactions. <em>Cell<\/em> <strong>161<\/strong>, 1012\u20131025, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2015.04.004\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2015.04.004<\/a> (2015).<\/li>\n<li><span id=\"ref-37\"><\/span>Small, K. S. <em>et al.<\/em> Regulatory variants at KLF14 influence type 2 diabetes risk via a female-specific effect on adipocyte size and body composition. <em>Nat. Genet.<\/em> <strong>50<\/strong>, 572\u2013580, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-018-0088-x\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-018-0088-x<\/a> (2018).<\/li>\n<li><span id=\"ref-38\"><\/span>Preger-Ben Noon, E. <em>et al.<\/em> Comprehensive analysis of a cis-regulatory region reveals pleiotropy in enhancer function. <em>Cell Reports<\/em> <strong>22<\/strong>, 3021\u20133031, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.celrep.2018.02.073\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.celrep.2018.02.073<\/a> (2018).<\/li>\n<li><span id=\"ref-39\"><\/span>Wittkopp, P. J., Haerum, B. K. &amp; Clark, A. G. Evolutionary changes in cis and trans gene regulation. <em>Nature<\/em> <strong>430<\/strong>, 85\u201388, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nature02698\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nature02698<\/a> (2004).<\/li>\n<li><span id=\"ref-40\"><\/span>Wong, E. S. <em>et al.<\/em> Interplay of cis and trans mechanisms driving transcription factor binding and gene expression evolution. <em>Nat. Commun.<\/em> <strong>8<\/strong>, 1092, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-017-01037-x\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-017-01037-x<\/a> (2017).<\/li>\n<li><span id=\"ref-41\"><\/span>Schwalb, B. <em>et al.<\/em> TT-seq maps the human transient transcriptome. <em>Science<\/em> <strong>352<\/strong>, 1225\u20131228, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.aad9841\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.aad9841<\/a> (2016).<\/li>\n<li><span id=\"ref-42\"><\/span>Jim\u00e9nez, A. <em>et al.<\/em> Time-series transcriptomics and proteomics reveal alternative modes to decode p53 oscillations. <em>Mol. Syst. Biol.<\/em> <strong>18<\/strong>, e10588, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.15252\/msb.202110588\" target=\"_blank\" rel=\"noopener\"\n >10.15252\/msb.202110588<\/a> (2022).<\/li>\n<li><span id=\"ref-43\"><\/span>Dixit, A. <em>et al.<\/em> Perturb-seq: dissecting molecular circuits with scalable single-cell RNA profiling of pooled genetic screens. <em>Cell<\/em> <strong>167<\/strong>, 1853\u20131866.e17, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2016.11.038\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2016.11.038<\/a> (2016).<\/li>\n<li><span id=\"ref-44\"><\/span>Weinreb, C., Rodriguez-Fraticelli, A., Camargo, F. D. &amp; Klein, A. M. Lineage tracing on transcriptional landscapes links state to fate during differentiation. <em>Science<\/em> <strong>367<\/strong>, eaaw3381, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.aaw3381\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.aaw3381<\/a> (2020).<\/li>\n<li><span id=\"ref-45\"><\/span>Xu, C. <em>et al.<\/em> Probabilistic harmonization and annotation of single-cell transcriptomics data with deep generative models. <em>Mol. Syst. Biol.<\/em> <strong>17<\/strong>, MSB20209620 (2021).<\/li>\n<li><span id=\"ref-46\"><\/span>Brbi\u0107, M. <em>et al.<\/em> MARS: discovering novel cell types across heterogeneous single-cell experiments. <em>Nat. Methods<\/em> <strong>17<\/strong>, 1200\u20131206 (2020).<\/li>\n<li><span id=\"ref-47\"><\/span>Lopez, R., Regier, J., Cole, M. B., Jordan, M. I. &amp; Yosef, N. Deep generative modeling for single-cell transcriptomics. <em>Nat. Methods<\/em> <strong>15<\/strong>, 1053\u20131058, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-018-0229-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-018-0229-2<\/a> (2018).<\/li>\n<li><span id=\"ref-48\"><\/span>Lotfollahi, M. <em>et al.<\/em> Mapping single-cell data to reference atlases by transfer learning. <em>Nat. Biotechnol.<\/em> <strong>40<\/strong>, 121\u2013130, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-021-01001-7\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-021-01001-7<\/a> (2022).<\/li>\n<li><span id=\"ref-49\"><\/span>Van Dijk, D. <em>et al.<\/em> Recovering gene interactions from single-cell data using data diffusion. <em>Cell<\/em> <strong>174<\/strong>, 716\u2013729 (2018).<\/li>\n<li><span id=\"ref-50\"><\/span>Huang, M. <em>et al.<\/em> SAVER: gene expression recovery for single-cell RNA sequencing. <em>Nat. Methods<\/em> <strong>15<\/strong>, 539\u2013542 (2018).<\/li>\n<li><span id=\"ref-51\"><\/span>Lotfollahi, M., Wolf, F. A. &amp; Theis, F. J. scGen predicts single-cell perturbation responses. <em>Nat. Methods<\/em> <strong>16<\/strong>, 715\u2013721 (2019).<\/li>\n<li><span id=\"ref-52\"><\/span>Roohani, Y., Huang, K. &amp; Leskovec, J. Predicting transcriptional outcomes of novel multigene perturbations with GEARS. <em>Nat. Biotechnol.<\/em> <strong>42<\/strong>, 927\u2013935, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-023-01905-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-023-01905-6<\/a> (2024).<\/li>\n<li><span id=\"ref-53\"><\/span>Jiang, S. <em>et al.<\/em> The landscape of single-cell foundation models: Design principles, applications, and open challenges. <em>Preprints<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.20944\/preprints202608.1166.v1\" target=\"_blank\" rel=\"noopener\"\n >10.20944\/preprints202608.1166.v1<\/a> (2026).<\/li>\n<li><span id=\"ref-54\"><\/span>Cui, H. <em>et al.<\/em> Towards multimodal foundation models in molecular cell biology. <em>Nature<\/em> <strong>640<\/strong>, 623\u2013633, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-08710-y\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-025-08710-y<\/a> (2025).<\/li>\n<li><span id=\"ref-55\"><\/span>Bahrami, M., Tejada-Lapuerta, A., Becker, S., Hashemi G, F. S. &amp; Theis, F. J. scConcept: Contrastive pretraining for technology-agnostic single-cell representations beyond reconstruction. <em>bioRxiv<\/em> 2025\u201310 (2025).<\/li>\n<li><span id=\"ref-56\"><\/span>Rosen, Y. <em>et al.<\/em> Universal cell embedding provides a foundation model for cell biology. <em>Nature<\/em> <strong>656<\/strong>, 183\u2013191, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-026-10689-z\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-026-10689-z<\/a> (2026).<\/li>\n<li><span id=\"ref-57\"><\/span>Pearce, J. D. <em>et al.<\/em> TranscriptFormer: A generative cell atlas across 1.5 billion years of evolution. <em>Science<\/em> <strong>393<\/strong>, aec8514, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.aec8514\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.aec8514<\/a> (2026).<\/li>\n<li><span id=\"ref-58\"><\/span>Rosen, Y. <em>et al.<\/em> Toward universal cell embeddings: integrating single-cell RNA-seq datasets across species with SATURN. <em>Nat. Methods<\/em> <strong>21<\/strong>, 1492\u20131500, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-024-02191-z\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-024-02191-z<\/a> (2024).<\/li>\n<li><span id=\"ref-59\"><\/span>Heimberg, G. <em>et al.<\/em> A cell atlas foundation model for scalable search of similar human cells. <em>Nature<\/em> <strong>638<\/strong>, 1085\u20131094, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-024-08411-y\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-024-08411-y<\/a> (2025).<\/li>\n<li><span id=\"ref-60\"><\/span>Theodoris, C. V. <em>et al.<\/em> Transfer learning enables predictions in network biology. <em>Nature<\/em> <strong>618<\/strong>, 616\u2013624, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-023-06139-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-023-06139-9<\/a> (2023).<\/li>\n<li><span id=\"ref-61\"><\/span>Cui, H. <em>et al.<\/em> scGPT: toward building a foundation model for single-cell multi-omics using generative AI. <em>Nat. Methods<\/em> <strong>21<\/strong>, 1470\u20131480, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-024-02201-0\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-024-02201-0<\/a> (2024).<\/li>\n<li><span id=\"ref-62\"><\/span>Richter, T., Bahrami, M., Xia, Y., Fischer, D. S. &amp; Theis, F. J. Delineating the effective use of self-supervised learning in single-cell genomics. <em>Nat. Mach. Intell.<\/em> <strong>7<\/strong>, 68\u201378, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s42256-024-00934-3\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s42256-024-00934-3<\/a> (2025).<\/li>\n<li><span id=\"ref-63\"><\/span>Kedzierska, K. Z., Crawford, L., Amini, A. P. &amp; Lu, A. X. Zero-shot evaluation reveals limitations of single-cell foundation models. <em>Genome Biol.<\/em> <strong>26<\/strong>, 101, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-025-03574-x\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-025-03574-x<\/a> (2025).<\/li>\n<li><span id=\"ref-64\"><\/span>DenAdel, A. <em>et al.<\/em> Evaluating the role of pretraining dataset size and diversity on single-cell foundation model performance. <em>Nat. Methods<\/em> <strong>23<\/strong>, 1447\u20131457, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-026-03120-y\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-026-03120-y<\/a> (2026).<\/li>\n<li><span id=\"ref-65\"><\/span>Cao, J. <em>et al.<\/em> Joint profiling of chromatin accessibility and gene expression in thousands of single cells. <em>Science<\/em> <strong>361<\/strong>, 1380\u20131385, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.aau0730\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.aau0730<\/a> (2018).<\/li>\n<li><span id=\"ref-66\"><\/span>Ashuach, T. <em>et al.<\/em> MultiVI: deep generative model for the integration of multimodal data. <em>Nat. Methods<\/em> <strong>20<\/strong>, 1222\u20131231, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-023-01909-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-023-01909-9<\/a> (2023).<\/li>\n<li><span id=\"ref-67\"><\/span>Chen, X. <em>et al.<\/em> EpiAgent: foundation model for single-cell epigenomics. <em>Nat. Methods<\/em> <strong>22<\/strong>, 2316\u20132327, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-025-02822-z\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-025-02822-z<\/a> (2025).<\/li>\n<li><span id=\"ref-68\"><\/span>Lotfollahi, M. <em>et al.<\/em> Predicting cellular responses to complex perturbations in high-throughput screens. <em>Mol. Syst. Biol.<\/em> <strong>19<\/strong>, e11517, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.15252\/msb.202211517\" target=\"_blank\" rel=\"noopener\"\n >10.15252\/msb.202211517<\/a> (2023).<\/li>\n<li><span id=\"ref-69\"><\/span>Ashburner, M. <em>et al.<\/em> Gene Ontology: tool for the unification of biology. <em>Nat. Genet.<\/em> <strong>25<\/strong>, 25\u201329, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/75556\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/75556<\/a> (2000).<\/li>\n<li><span id=\"ref-70\"><\/span>Hasanaj, E. <em>et al.<\/em> Multimodal benchmarking of foundation model representations for cellular perturbation response prediction. <em>bioRxiv<\/em> 2025.06.26.661186, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.06.26.661186\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.06.26.661186<\/a> (2025).<\/li>\n<li><span id=\"ref-71\"><\/span>Ahlmann-Eltze, C., Huber, W. &amp; Anders, S. Deep-learning-based gene perturbation effect prediction does not yet outperform simple linear baselines. <em>Nat. Methods<\/em> <strong>22<\/strong>, 1657\u20131661, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-025-02772-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-025-02772-6<\/a> (2025).<\/li>\n<li><span id=\"ref-72\"><\/span>Vi\u00f1as Torn\u00e9, R. <em>et al.<\/em> Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. <em>Nat. Biotechnol.<\/em> <strong>44<\/strong>, 1050\u20131059, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-025-02777-8\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-025-02777-8<\/a> (2026).<\/li>\n<li><span id=\"ref-73\"><\/span>Miller, H. E. <em>et al.<\/em> Deep learning perturbation models can outperform baselines on calibrated metrics. <em>Nat. Biotechnol.<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-026-03307-w\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-026-03307-w<\/a> (2026).<\/li>\n<li><span id=\"ref-74\"><\/span>Adduri, A. K. <em>et al.<\/em> Predicting cellular responses to perturbation across diverse contexts with State. <em>Cell<\/em> <strong>189<\/strong>, 5914\u2013 5931.e20, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2026.07.052\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2026.07.052<\/a> (2026).<\/li>\n<li><span id=\"ref-75\"><\/span>Klein, D. <em>et al.<\/em> CellFlow enables generative single-cell phenotype modeling with flow matching. <em>bioRxiv<\/em> 2025.04.11.648220, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.04.11.648220\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.04.11.648220<\/a> (2025).<\/li>\n<li><span id=\"ref-76\"><\/span>Bunne, C. <em>et al.<\/em> Learning single-cell perturbation responses using neural optimal transport. <em>Nat. Methods<\/em> <strong>20<\/strong>, 1759\u20131768, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-023-01969-x\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-023-01969-x<\/a> (2023).<\/li>\n<li><span id=\"ref-77\"><\/span>Weinreb, C., Wolock, S., Tusi, B. K., Socolovsky, M. &amp; Klein, A. M. Fundamental limits on dynamic inference from single-cell snapshots. <em>Proc. Natl. Acad. Sci.<\/em> <strong>115<\/strong>, E2467\u2013E2476, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1073\/pnas.1714723115\" target=\"_blank\" rel=\"noopener\"\n >10.1073\/pnas.1714723115<\/a> (2018).<\/li>\n<li><span id=\"ref-78\"><\/span>Zhou, J. <em>et al.<\/em> Deep learning sequence-based ab initio prediction of variant effects on expression and disease risk. <em>Nat. Genet.<\/em> <strong>50<\/strong>, 1171\u20131179, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-018-0160-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-018-0160-6<\/a> (2018).<\/li>\n<li><span id=\"ref-79\"><\/span>Avsec, \u017d. <em>et al.<\/em> Advancing regulatory variant effect prediction with AlphaGenome. <em>Nature<\/em> <strong>649<\/strong>, 1206\u20131218, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-025-10014-0<\/a> (2026).<\/li>\n<li><span id=\"ref-80\"><\/span>Koo, P. K., Majdandzic, A., Ploenzke, M., Anand, P. &amp; Paul, S. B. Global importance analysis: An interpretability method to quantify importance of genomic features in deep neural networks. <em>PLOS Comput. Biol.<\/em> <strong>17<\/strong>, e1008925, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1371\/journal.pcbi.1008925\" target=\"_blank\" rel=\"noopener\"\n >10.1371\/journal.pcbi.1008925<\/a> (2021).<\/li>\n<li><span id=\"ref-81\"><\/span>Avsec, \u017d. <em>et al.<\/em> Base-resolution models of transcription-factor binding reveal soft motif syntax. <em>Nat. Genet.<\/em> <strong>53<\/strong>, 354\u2013366, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-021-00782-6<\/a> (2021).<\/li>\n<li><span id=\"ref-82\"><\/span>Toneyan, S. &amp; Koo, P. K. Interpreting cis-regulatory interactions from large-scale deep neural networks. <em>Nat. Genet.<\/em> <strong>56<\/strong>, 2517\u20132527, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-024-01923-3\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-024-01923-3<\/a> (2024).<\/li>\n<li><span id=\"ref-83\"><\/span>Taskiran, I. I. <em>et al.<\/em> Cell-type-directed design of synthetic enhancers. <em>Nature<\/em> <strong>626<\/strong>, 212\u2013220, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-023-06936-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-023-06936-2<\/a> (2024).<\/li>\n<li><span id=\"ref-84\"><\/span>Gosai, S. J. <em>et al.<\/em> Machine-guided design of cell-type-targeting cis-regulatory elements. <em>Nature<\/em> <strong>634<\/strong>, 1211\u20131220, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-024-08070-z\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-024-08070-z<\/a> (2024).<\/li>\n<li><span id=\"ref-85\"><\/span>Castillo-Hair, S. M. <em>et al.<\/em> Programming human cell type-specific gene expression via an atlas of AI-designed enhancers. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.09.30.679565\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.09.30.679565<\/a> (2025).<\/li>\n<li><span id=\"ref-86\"><\/span>de Almeida, B. P., Reiter, F., Pagani, M. &amp; Stark, A. DeepSTARR predicts enhancer activity from DNA sequence and enables the de novo design of synthetic enhancers. <em>Nat. Genet.<\/em> <strong>54<\/strong>, 613\u2013624, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-022-01048-5<\/a> (2022).<\/li>\n<li><span id=\"ref-87\"><\/span>Agarwal, V. <em>et al.<\/em> Massively parallel characterization of transcriptional regulatory elements. <em>Nature<\/em> <strong>639<\/strong>, 411\u2013420, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-024-08430-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-024-08430-9<\/a> (2025).<\/li>\n<li><span id=\"ref-88\"><\/span>Rafi, A. M. <em>et al.<\/em> A community effort to optimize sequence-based deep learning models of gene regulation. <em>Nat. Biotechnol.<\/em> <strong>43<\/strong>, 1373\u20131383, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-024-02414-w\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-024-02414-w<\/a> (2025).<\/li>\n<li><span id=\"ref-89\"><\/span>Toneyan, S., Tang, Z. &amp; Koo, P. K. Evaluating deep learning for predicting epigenomic profiles. <em>Nat. Mach. Intell.<\/em> <strong>4<\/strong>, 1088\u20131100, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s42256-022-00570-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s42256-022-00570-9<\/a> (2022).<\/li>\n<li><span id=\"ref-90\"><\/span>Pampari, A. <em>et al.<\/em> ChromBPNet: bias factorized, base-resolution deep learning models of chromatin accessibility reveal cis-regulatory sequence syntax, transcription factor footprints and regulatory variants. <em>bioRxiv<\/em> 2024.12.25.630221, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2024.12.25.630221<\/a> (2026).<\/li>\n<li><span id=\"ref-91\"><\/span>Zhou, J. &amp; Troyanskaya, O. G. Predicting effects of noncoding variants with deep learning-based sequence model. <em>Nat. Methods<\/em> <strong>12<\/strong>, 931\u2013934, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nmeth.3547\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nmeth.3547<\/a> (2015).<\/li>\n<li><span id=\"ref-92\"><\/span>Kelley, D. R., Snoek, J. &amp; Rinn, J. L. Basset: learning the regulatory code of the accessible genome with deep convolutional neural networks. <em>Genome Res.<\/em> <strong>26<\/strong>, 990\u2013999, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/gr.200535.115\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/gr.200535.115<\/a> (2016).<\/li>\n<li><span id=\"ref-93\"><\/span>Kelley, D. R. <em>et al.<\/em> Sequential regulatory activity prediction across chromosomes with convolutional neural networks. <em>Genome Res.<\/em> <strong>28<\/strong>, 739\u2013750, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/gr.227819.117\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/gr.227819.117<\/a> (2018).<\/li>\n<li><span id=\"ref-94\"><\/span>Avsec, \u017d. <em>et al.<\/em> Effective gene expression prediction from sequence by integrating long-range interactions. <em>Nat. Methods<\/em> <strong>18<\/strong>, 1196\u20131203, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-021-01252-x<\/a> (2021).<\/li>\n<li><span id=\"ref-95\"><\/span>Linder, J., Srivastava, D., Yuan, H., Agarwal, V. &amp; Kelley, D. R. Predicting RNA-seq coverage from DNA sequence as a unifying model of gene regulation. <em>Nat. Genet.<\/em> <strong>57<\/strong>, 949\u2013961, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-024-02053-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-024-02053-6<\/a> (2025).<\/li>\n<li><span id=\"ref-96\"><\/span>Lal, A. <em>et al.<\/em> Decoding sequence determinants of gene expression in diverse cellular and disease states. <em>Nat. Methods<\/em> <strong>23<\/strong>, 1138\u20131151, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-026-03102-0\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-026-03102-0<\/a> (2026).<\/li>\n<li><span id=\"ref-97\"><\/span>Benegas, G., Ye, C., Albors, C., Li, J. C. &amp; Song, Y. S. Genomic language models: opportunities and challenges. <em>Trends Genet.<\/em> <strong>41<\/strong>, 286\u2013302, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.tig.2024.11.013\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.tig.2024.11.013<\/a> (2025).<\/li>\n<li><span id=\"ref-98\"><\/span>Consens, M. E. <em>et al.<\/em> Transformers and genome language models. <em>Nat. Mach. Intell.<\/em> <strong>7<\/strong>, 346\u2013362, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s42256-025-01007-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s42256-025-01007-9<\/a> (2025).<\/li>\n<li><span id=\"ref-99\"><\/span>Brixi, G. <em>et al.<\/em> Genome modelling and design across all domains of life with Evo 2. <em>Nature<\/em> <strong>652<\/strong>, 1349\u20131361, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-026-10176-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-026-10176-5<\/a> (2026).<\/li>\n<li><span id=\"ref-100\"><\/span>Benegas, G., Albors, C., Aw, A. J., Ye, C. &amp; Song, Y. S. A DNA language model based on multispecies alignment predicts the effects of genome-wide variants. <em>Nat. Biotechnol.<\/em> <strong>43<\/strong>, 1960\u20131965, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-024-02511-w\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-024-02511-w<\/a> (2025).<\/li>\n<li><span id=\"ref-101\"><\/span>Ye, C. <em>et al.<\/em> Predicting genome-wide functional constraints with GPN-Star. <em>Nature<\/em> <strong>659<\/strong>, 141\u2013150, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-026-11005-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-026-11005-5<\/a> (2026).<\/li>\n<li><span id=\"ref-102\"><\/span>Chao, K.-H. <em>et al.<\/em> Predicting dynamic expression patterns in budding yeast with a fungal DNA language model. <em>eLife<\/em> <strong>15<\/strong>, RP112217, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.7554\/eLife.112217.1\" target=\"_blank\" rel=\"noopener\"\n >10.7554\/eLife.112217.1<\/a> (2026). Reviewed preprint, version 1, 15 September 2026.<\/li>\n<li><span id=\"ref-103\"><\/span>Boshar, S. <em>et al.<\/em> A multispecies foundation model for genome function prediction, gene annotation and sequence design. <em>bioRxiv<\/em> 2025.12.22.695963, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2025.12.22.695963\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2025.12.22.695963<\/a> (2025).<\/li>\n<li><span id=\"ref-104\"><\/span>Patel, A. <em>et al.<\/em> DART-eval: A comprehensive DNA language model evaluation benchmark on regulatory DNA. In <em>Advances in Neural Information Processing Systems<\/em>, vol. 37, 62024\u201362061, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.52202\/079017-1981\" target=\"_blank\" rel=\"noopener\"\n >10.52202\/079017-1981<\/a> (2024). Datasets and Benchmarks Track, <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/2412.05430\" target=\"_blank\" rel=\"noopener\"\n >2412.05430<\/a>.<\/li>\n<li><span id=\"ref-105\"><\/span>Tang, Z., Somia, N., Yu, Y. &amp; Koo, P. K. Evaluating the representational power of pre-trained DNA language models for regulatory genomics. <em>Genome Biol.<\/em> <strong>26<\/strong>, 203, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-025-03674-8\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-025-03674-8<\/a> (2025).<\/li>\n<li><span id=\"ref-106\"><\/span>Sigalova, O. M. <em>et al.<\/em> Modeling cis-regulatory variation in human brain enhancers across a large Parkinson\u2019s Disease cohort. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.03.15.711881\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.03.15.711881<\/a> (2026).<\/li>\n<li><span id=\"ref-107\"><\/span>Huang, C. <em>et al.<\/em> Personal transcriptome variation is poorly explained by current genomic deep learning models. <em>Nat. Genet.<\/em> <strong>55<\/strong>, 2056\u20132059, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-023-01574-w\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-023-01574-w<\/a> (2023).<\/li>\n<li><span id=\"ref-108\"><\/span>Sasse, A. <em>et al.<\/em> Benchmarking of deep neural networks for predicting personal gene expression from DNA sequence highlights shortcomings. <em>Nat. Genet.<\/em> <strong>55<\/strong>, 2060\u20132064, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-023-01524-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41588-023-01524-6<\/a> (2023).<\/li>\n<li><span id=\"ref-109\"><\/span>Tu, X., Spiro, A., Chikina, M. &amp; Mostafavi, S. A modality gap in personal-genome prediction by sequence-to-function models. <em>bioRxiv<\/em> 2026.02.01.702969, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.02.01.702969\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.02.01.702969<\/a> (2026).<\/li>\n<li><span id=\"ref-110\"><\/span>Yang, J. H. &amp; Hansen, A. S. Enhancer selectivity in space and time: from enhancer-promoter interactions to promoter activation. <em>Nat. Rev. Mol. Cell Biol.<\/em> <strong>25<\/strong>, 574\u2013591, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41580-024-00710-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41580-024-00710-6<\/a> (2024).<\/li>\n<li><span id=\"ref-111\"><\/span>Cai, X. S. <em>et al.<\/em> Systematic mapping of enhancers, silencers, and topological elements with prime editing deletion screens. <em>bioRxiv<\/em> 2026.10.08.756856, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.10.08.756856\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.10.08.756856<\/a> (2026).<\/li>\n<li><span id=\"ref-112\"><\/span>Karollus, A., Mauermeier, T. &amp; Gagneur, J. Current sequence-based models capture gene expression determinants in promoters but mostly ignore distal enhancers. <em>Genome Biol.<\/em> <strong>24<\/strong>, 56, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-023-02899-9<\/a> (2023).<\/li>\n<li><span id=\"ref-113\"><\/span>Murphy, A. &amp; Koo, P. K. Benchmarking seq2func models on distal enhancer effects with CRISPRi screens. <em>Genomics x AI Blog<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.5281\/zenodo.21383205\" target=\"_blank\" rel=\"noopener\"\n >10.5281\/zenodo.21383205<\/a> (2026).<\/li>\n<li><span id=\"ref-114\"><\/span>Kathail, P. <em>et al.<\/em> Current genomic deep learning models display decreased performance in cell type-specific accessible regions. <em>Genome Biol.<\/em> <strong>25<\/strong>, 202, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-024-03335-2\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-024-03335-2<\/a> (2024).<\/li>\n<li><span id=\"ref-115\"><\/span>Kempynck, N. <em>et al.<\/em> CREsted: modeling genomic and synthetic cell-type-specific enhancers across tissues and species. <em>Nat. Methods<\/em> <strong>23<\/strong>, 946\u2013959, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-026-03057-2\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-026-03057-2<\/a> (2026).<\/li>\n<li><span id=\"ref-116\"><\/span>Langfelder, P. &amp; Horvath, S. WGCNA: an R package for weighted correlation network analysis. <em>BMC Bioinforma.<\/em> <strong>9<\/strong>, 559, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/1471-2105-9-559\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/1471-2105-9-559<\/a> (2008).<\/li>\n<li><span id=\"ref-117\"><\/span>Huynh-Thu, V. A., Irrthum, A., Wehenkel, L. &amp; Geurts, P. Inferring regulatory networks from expression data using tree-based methods. <em>PLoS ONE<\/em> <strong>5<\/strong>, e12776, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1371\/journal.pone.0012776\" target=\"_blank\" rel=\"noopener\"\n >10.1371\/journal.pone.0012776<\/a> (2010).<\/li>\n<li><span id=\"ref-118\"><\/span>Aibar, S. <em>et al.<\/em> SCENIC: single-cell regulatory network inference and clustering. <em>Nat. Methods<\/em> <strong>14<\/strong>, 1083\u20131086, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nmeth.4463\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nmeth.4463<\/a> (2017).<\/li>\n<li><span id=\"ref-119\"><\/span>Maizels, R. J. &amp; Briscoe, J. Gene regulatory networks: from correlative models to causal explanations. <em>Nat. Rev. Genet.<\/em> <strong>27<\/strong>, 485\u2013498, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41576-026-00939-1\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41576-026-00939-1<\/a> (2026).<\/li>\n<li><span id=\"ref-120\"><\/span>Fleck, J. S. <em>et al.<\/em> Inferring and perturbing cell fate regulomes in human brain organoids. <em>Nature<\/em> <strong>621<\/strong>, 365\u2013372, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-022-05279-8\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-022-05279-8<\/a> (2023).<\/li>\n<li><span id=\"ref-121\"><\/span>Kamimoto, K. <em>et al.<\/em> Dissecting cell identity via network inference and in silico gene perturbation. <em>Nature<\/em> <strong>614<\/strong>, 742\u2013751, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-022-05688-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-022-05688-9<\/a> (2023).<\/li>\n<li><span id=\"ref-122\"><\/span>Fu, X. <em>et al.<\/em> A foundation model of transcription across human cell types. <em>Nature<\/em> <strong>637<\/strong>, 965\u2013973, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-024-08391-z\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-024-08391-z<\/a> (2025).<\/li>\n<li><span id=\"ref-123\"><\/span>Yazar, S. <em>et al.<\/em> Single-cell eQTL mapping identifies cell type-specific genetic control of autoimmune disease. <em>Science<\/em> <strong>376<\/strong>, eabf3041, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.abf3041\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.abf3041<\/a> (2022).<\/li>\n<li><span id=\"ref-124\"><\/span>Gayoso, A. <em>et al.<\/em> AlphaGenome 2 predicts regulatory activity and variant effects across cell states. Technical report, Google DeepMind (2026).<\/li>\n<li><span id=\"ref-125\"><\/span>Alvarez, M. J. <em>et al.<\/em> Functional characterization of somatic mutations in cancer using network-based inference of protein activity. <em>Nat. Genet.<\/em> <strong>48<\/strong>, 838\u2013847, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/ng.3593\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/ng.3593<\/a> (2016).<\/li>\n<li><span id=\"ref-126\"><\/span>Thielert, M. <em>et al.<\/em> In the same cell, the proteome defines cellular state and the transcriptome marks transitions. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.08.25.746940\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.08.25.746940<\/a> (2026). <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/early\/2026\/08\/26\/2026.08.25.746940.full.pdf\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.biorxiv.org\/content\/early\/2026\/08\/26\/2026.08.25.746940.full.pdf<\/a>.<\/li>\n<li><span id=\"ref-127\"><\/span>Ostuni, R. <em>et al.<\/em> Latent enhancers activated by stimulation in differentiated cells. <em>Cell<\/em> <strong>152<\/strong>, 157\u2013171, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2012.12.018\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2012.12.018<\/a> (2013).<\/li>\n<li><span id=\"ref-128\"><\/span>Naik, S. &amp; Fuchs, E. Inflammatory memory and tissue adaptation in sickness and in health. <em>Nature<\/em> <strong>607<\/strong>, 249\u2013255, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-022-04919-3\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-022-04919-3<\/a> (2022).<\/li>\n<li><span id=\"ref-129\"><\/span>Lin, J., Li, Z., Zhao, Y., Luo, R. &amp; Pinello, L. EPInformer: scalable and integrative prediction of gene expression from promoter-enhancer sequences with multimodal epigenomic profiles. <em>Nat. Commun.<\/em> <strong>17<\/strong>, 3975, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-026-70535-8\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-026-70535-8<\/a> (2026).<\/li>\n<li><span id=\"ref-130\"><\/span>Nair, S., Kim, D. S., Perricone, J. &amp; Kundaje, A. Integrating regulatory DNA sequence and gene expression to predict genome-wide chromatin accessibility across cellular contexts. <em>Bioinformatics<\/em> <strong>35<\/strong>, i108\u2013i116, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bioinformatics\/btz352\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/bioinformatics\/btz352<\/a> (2019).<\/li>\n<li><span id=\"ref-131\"><\/span>Liu, Q., Hua, K., Zhang, X., Wong, W. H. &amp; Jiang, R. DeepCAGE: incorporating transcription factors in genome-wide prediction of chromatin accessibility. <em>Genomics, Proteomics &amp; Bioinforma.<\/em> <strong>20<\/strong>, 496\u2013507, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.gpb.2021.08.015\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.gpb.2021.08.015<\/a> (2022).<\/li>\n<li><span id=\"ref-132\"><\/span>Jin, J. <em>et al.<\/em> Decoding the sequence determinants of locus-specific DNA methylation across human tissues. <em>Nat. Commun.<\/em> <strong>17<\/strong>, 9841, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-026-76744-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-026-76744-5<\/a> (2026).<\/li>\n<li><span id=\"ref-133\"><\/span>Cazares, T. A. <em>et al.<\/em> maxATAC: Genome-scale transcription-factor binding prediction from ATAC-seq with deep neural networks. <em>PLOS Comput. Biol.<\/em> <strong>19<\/strong>, e1010863, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1371\/journal.pcbi.1010863\" target=\"_blank\" rel=\"noopener\"\n >10.1371\/journal.pcbi.1010863<\/a> (2023).<\/li>\n<li><span id=\"ref-134\"><\/span>Miao, Y. <em>et al.<\/em> XChrom: a cross-cell chromatin accessibility prediction model integrating genomic sequence and cellular context. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.11.18.689149\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.11.18.689149<\/a> (2025).<\/li>\n<li><span id=\"ref-135\"><\/span>Zhang, Z., Feng, F., Qiu, Y. &amp; Liu, J. A generalizable framework to comprehensively predict epigenome, chromatin organization, and transcriptome. <em>Nucleic Acids Res.<\/em> <strong>51<\/strong>, 5931\u20135947, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/nar\/gkad436\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/nar\/gkad436<\/a> (2023).<\/li>\n<li><span id=\"ref-136\"><\/span>Gao, Z., Liu, Q., Zeng, W., Jiang, R. &amp; Wong, W. H. EpiGePT: a pretrained transformer-based language model for context-specific human epigenomics. <em>Genome Biol.<\/em> <strong>25<\/strong>, 310, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-024-03449-7\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-024-03449-7<\/a> (2024).<\/li>\n<li><span id=\"ref-137\"><\/span>Perez, E., Strub, F., de Vries, H., Dumoulin, V. &amp; Courville, A. FiLM: Visual reasoning with a general conditioning layer. In <em>Proceedings of the AAAI Conference on Artificial Intelligence<\/em>, vol. 32, 3942\u20133951, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1609\/aaai.v32i1.11671\" target=\"_blank\" rel=\"noopener\"\n >10.1609\/aaai.v32i1.11671<\/a> (2018).<\/li>\n<li><span id=\"ref-138\"><\/span>Gao, Z., Sun, Y., Wang, H., Jiang, R. &amp; Liu, Q. RegFM: an interpretable context-aware foundation model for human transcriptional regulation. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.08.17.744355\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.08.17.744355<\/a> (2026).<\/li>\n<li><span id=\"ref-139\"><\/span>Ha, D., Dai, A. M. &amp; Le, Q. V. Hypernetworks. In <em>International Conference on Learning Representations<\/em> (2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1609.09106\" target=\"_blank\" rel=\"noopener\"\n >1609.09106<\/a>.<\/li>\n<li><span id=\"ref-140\"><\/span>Gao, V. R. <em>et al.<\/em> ChromaFold predicts the 3D contact map from single-cell chromatin accessibility. <em>Nat. Commun.<\/em> <strong>15<\/strong>, 9432, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-024-53628-0\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-024-53628-0<\/a> (2024).<\/li>\n<li><span id=\"ref-141\"><\/span>Peng, Y. <em>et al.<\/em> EpiXFormer: a cross-attention neural network for predicting cell type-specific transcription factor binding sites. <em>Briefings Bioinforma.<\/em> <strong>27<\/strong>, bbaf721, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bib\/bbaf721\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/bib\/bbaf721<\/a> (2026).<\/li>\n<li><span id=\"ref-142\"><\/span>Li, H. &amp; Guan, Y. Fast decoding cell type\u2013specific transcription factor binding landscape at single-nucleotide resolution. <em>Genome Res.<\/em> <strong>31<\/strong>, 721\u2013731, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/gr.269613.120\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/gr.269613.120<\/a> (2021).<\/li>\n<li><span id=\"ref-143\"><\/span>Li, Y. <em>et al.<\/em> CREaTor: zero-shot cis-regulatory pattern modeling with attention mechanisms. <em>Genome Biol.<\/em> <strong>24<\/strong>, 266, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-023-03103-8\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-023-03103-8<\/a> (2023).<\/li>\n<li><span id=\"ref-144\"><\/span>Su, X., Yu, H., Zhi, D. &amp; Ji, S. Learning to discover regulatory elements for gene expression prediction. In <em>International Conference on Learning Representations<\/em>, vol. 2025, 94863\u201394878 (2025).<\/li>\n<li><span id=\"ref-145\"><\/span>Karbalayghareh, A., Sahin, M. &amp; Leslie, C. S. Chromatin interaction\u2013aware gene regulatory modeling with graph attention networks. <em>Genome Res.<\/em> <strong>32<\/strong>, 930\u2013944, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/gr.275870.121\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/gr.275870.121<\/a> (2022).<\/li>\n<li><span id=\"ref-146\"><\/span>Grover, A. <em>et al.<\/em> UniversalEPI: robust prediction of cell type-specific and differential chromatin interactions from DNA sequence and chromatin accessibility. <em>Nucleic Acids Res.<\/em> <strong>54<\/strong>, gkag485, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/nar\/gkag485\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/nar\/gkag485<\/a> (2026).<\/li>\n<li><span id=\"ref-147\"><\/span>Li, W., Wong, W. H. &amp; Jiang, R. DeepTACT: predicting 3D chromatin contacts via bootstrapping deep learning. <em>Nucleic Acids Res.<\/em> <strong>47<\/strong>, e60, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/nar\/gkz167\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/nar\/gkz167<\/a> (2019).<\/li>\n<li><span id=\"ref-148\"><\/span>Agarwal, A. &amp; Chen, L. DeepPHiC: predicting promoter-centered chromatin interactions using a novel deep learning approach. <em>Bioinformatics<\/em> <strong>39<\/strong>, btac801, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bioinformatics\/btac801\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/bioinformatics\/btac801<\/a> (2023).<\/li>\n<li><span id=\"ref-149\"><\/span>Reddy, A. J., Sudmant, P. H. &amp; Ioannidis, N. M. Sequence models conditioned on splicing factor expression predict splicing in unseen tissues. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.01.20.700496\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.01.20.700496<\/a> (2026).<\/li>\n<li><span id=\"ref-150\"><\/span>Wu, D. <em>et al.<\/em> Generative modeling for RNA splicing prediction and design. <em>eLife<\/em> <strong>14<\/strong>, RP106043, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.7554\/eLife.106043\" target=\"_blank\" rel=\"noopener\"\n >10.7554\/eLife.106043<\/a> (2026).<\/li>\n<li><span id=\"ref-151\"><\/span>Chen, C. <em>et al.<\/em> DeepGRN: prediction of transcription factor binding site across cell-types using attention-based deep neural networks. <em>BMC Bioinforma.<\/em> <strong>22<\/strong>, 38, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s12859-020-03952-1\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s12859-020-03952-1<\/a> (2021).<\/li>\n<li><span id=\"ref-152\"><\/span>Tan, J. <em>et al.<\/em> Cell-type-specific prediction of 3D chromatin organization enables high-throughput in silico genetic screening. <em>Nat. Biotechnol.<\/em> <strong>41<\/strong>, 1140\u20131150, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-022-01612-8\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-022-01612-8<\/a> (2023).<\/li>\n<li><span id=\"ref-153\"><\/span>Nair, S. <em>et al.<\/em> Nona: A unifying multimodal masking framework for functional genomics. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.11.06.687036\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.11.06.687036<\/a> (2025).<\/li>\n<li><span id=\"ref-154\"><\/span>Hang, S. <em>et al.<\/em> Puget predicts gene expression across cell types using sequence and 3D chromatin organization data. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.11.19.689320\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.11.19.689320<\/a> (2025).<\/li>\n<li><span id=\"ref-155\"><\/span>Tan, J. <em>et al.<\/em> Decoding the gene regulatory landscape through multimodal learning of protein-DNA interactions. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.08.17.670761\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.08.17.670761<\/a> (2026). BioRxiv preprint, version 2.<\/li>\n<li><span id=\"ref-156\"><\/span>Wnuk, K. <em>et al.<\/em> Deep learning implicitly handles tissue specific phenomena to predict tumor DNA accessibility and immune activity. <em>iScience<\/em> <strong>20<\/strong>, 119\u2013136, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.isci.2019.09.018\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.isci.2019.09.018<\/a> (2019).<\/li>\n<li><span id=\"ref-157\"><\/span>Schreiber, J. M. DragoNNFruit: a method for analyzing scATAC-seq experiments. <a class=\"link\" href=\"https:\/\/pypi.org\/project\/dragonnfruit\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/pypi.org\/project\/dragonnfruit\/<\/a> (2023). Python package; software, unpublished. Accessed 26 October 2026.<\/li>\n<li><span id=\"ref-158\"><\/span>Liu, H. <em>et al.<\/em> Predicting cell-state-specific gene regulation from DNA across species. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.10.19.760026\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.10.19.760026<\/a> (2026). <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/early\/2026\/10\/20\/2026.10.19.760026.full.pdf\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.biorxiv.org\/content\/early\/2026\/10\/20\/2026.10.19.760026.full.pdf<\/a>.<\/li>\n<li><span id=\"ref-159\"><\/span>Vetsigian, K. <em>et al.<\/em> Pan-cell-type prediction of splicing patterns from sequence and splicing factor expression. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.02.18.706660\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.02.18.706660<\/a> (2026).<\/li>\n<li><span id=\"ref-160\"><\/span>Quang, D. &amp; Xie, X. FactorNet: a deep learning framework for predicting cell type specific transcription factor binding from nucleotide-resolution sequential data. <em>Methods<\/em> <strong>166<\/strong>, 40\u201347, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.ymeth.2019.03.020\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.ymeth.2019.03.020<\/a> (2019).<\/li>\n<li><span id=\"ref-161\"><\/span>Murphy, A. E., Beardall, W., Rei, M., Phuycharoen, M. &amp; Skene, N. G. Predicting cell type-specific epigenomic profiles accounting for distal genetic effects. <em>Nat. Commun.<\/em> <strong>15<\/strong>, 9951, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-024-54441-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-024-54441-5<\/a> (2024).<\/li>\n<li><span id=\"ref-162\"><\/span>Javed, N. <em>et al.<\/em> A multi-modal transformer for cell type-agnostic regulatory predictions. <em>Cell Genomics<\/em> <strong>5<\/strong>, 100762, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.xgen.2025.100762\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.xgen.2025.100762<\/a> (2025).<\/li>\n<li><span id=\"ref-163\"><\/span>Metzner, E., Southard, K. M. &amp; Norman, T. M. Multiome Perturb-seq unlocks scalable discovery of integrated perturbation effects on the transcriptome and epigenome. <em>Cell Syst.<\/em> <strong>16<\/strong>, 101161, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cels.2024.12.002\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cels.2024.12.002<\/a> (2025).<\/li>\n<li><span id=\"ref-164\"><\/span>Shevade, K. <em>et al.<\/em> Simultaneous capture of single cell RNA-seq, ATAC-seq, and CRISPR perturbation enables multiomic screens to identify gene regulatory relationships. <em>Cell Reports Methods<\/em> <strong>5<\/strong>, 101222, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.crmeth.2025.101222\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.crmeth.2025.101222<\/a> (2025).<\/li>\n<li><span id=\"ref-165\"><\/span>Parker, H. S. &amp; Leek, J. T. The practical effect of batch on genomic prediction. <em>Stat. Appl. Genet. Mol. Biol.<\/em> <strong>11<\/strong>, Article 10, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1515\/1544-6115.1766\" target=\"_blank\" rel=\"noopener\"\n >10.1515\/1544-6115.1766<\/a> (2012).<\/li>\n<li><span id=\"ref-166\"><\/span>Heumos, L. <em>et al.<\/em> Best practices for single-cell analysis across modalities. <em>Nat. Rev. Genet.<\/em> <strong>24<\/strong>, 550\u2013572, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41576-023-00586-w\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41576-023-00586-w<\/a> (2023).<\/li>\n<li><span id=\"ref-167\"><\/span>Persad, S. <em>et al.<\/em> SEACells infers transcriptional and epigenomic cellular states from single-cell genomics data. <em>Nat. Biotechnol.<\/em> <strong>41<\/strong>, 1746\u20131757, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-023-01716-9\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-023-01716-9<\/a> (2023).<\/li>\n<li><span id=\"ref-168\"><\/span>Crowell, H. L. <em>et al.<\/em> muscat detects subpopulation-specific state transitions from multi-sample multi-condition single-cell transcriptomics data. <em>Nat. Commun.<\/em> <strong>11<\/strong>, 6077, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-020-19894-4\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-020-19894-4<\/a> (2020).<\/li>\n<li><span id=\"ref-169\"><\/span>Naqvi, S. <em>et al.<\/em> Transfer learning reveals sequence determinants of the quantitative response to transcription factor dosage. <em>Cell Genomics<\/em> <strong>5<\/strong>, 100780, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.xgen.2025.100780\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.xgen.2025.100780<\/a> (2025).<\/li>\n<li><span id=\"ref-170\"><\/span>Gertz, J., Siggia, E. D. &amp; Cohen, B. A. Analysis of combinatorial cis-regulation in synthetic and genomic promoters. <em>Nature<\/em> <strong>457<\/strong>, 215\u2013218, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nature07521\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/nature07521<\/a> (2009).<\/li>\n<li><span id=\"ref-171\"><\/span>Norman, T. M. <em>et al.<\/em> Exploring genetic interaction manifolds constructed from rich single-cell phenotypes. <em>Science<\/em> <strong>365<\/strong>, 786\u2013793, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.aax4438\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.aax4438<\/a> (2019).<\/li>\n<li><span id=\"ref-172\"><\/span>Schreiber, J., Singh, R., Bilmes, J. &amp; Noble, W. S. A pitfall for machine learning methods aiming to predict across cell types. <em>Genome Biol.<\/em> <strong>21<\/strong>, 282, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-020-02177-y\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-020-02177-y<\/a> (2020).<\/li>\n<li><span id=\"ref-173\"><\/span>Otwinowski, J., McCandlish, D. M. &amp; Plotkin, J. B. Inferring the shape of global epistasis. <em>Proc. Natl. Acad. Sci.<\/em> <strong>115<\/strong>, E7550\u2013E7558, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1073\/pnas.1804015115\" target=\"_blank\" rel=\"noopener\"\n >10.1073\/pnas.1804015115<\/a> (2018).<\/li>\n<li><span id=\"ref-174\"><\/span>Vollenweider, M. &amp; B\u00fchlmann, P. Signal, bounds, and baselines: Principles for evaluating virtual cell perturbation models. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.04.20.719650\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.04.20.719650<\/a> (2026).<\/li>\n<li><span id=\"ref-175\"><\/span>Zimmerman, K. D., Espeland, M. A. &amp; Langefeld, C. D. A practical solution to pseudoreplication bias in single-cell studies. <em>Nat. Commun.<\/em> <strong>12<\/strong>, 738, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-021-21038-1\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-021-21038-1<\/a> (2021).<\/li>\n<li><span id=\"ref-176\"><\/span>Wei, Z. <em>et al.<\/em> Benchmarking algorithms for generalizable single-cell perturbation response prediction. <em>Nat. Methods<\/em> <strong>23<\/strong>, 451\u2013464, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-025-02980-0\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41592-025-02980-0<\/a> (2026).<\/li>\n<li><span id=\"ref-177\"><\/span>Moreno-Torres, J. G., Raeder, T., Alaiz-Rodr\u00edguez, R., Chawla, N. V. &amp; Herrera, F. A unifying view on dataset shift in classification. <em>Pattern Recognit.<\/em> <strong>45<\/strong>, 521\u2013530, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.patcog.2011.06.019\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.patcog.2011.06.019<\/a> (2012).<\/li>\n<li><span id=\"ref-178\"><\/span>Lipton, Z., Wang, Y.-X. &amp; Smola, A. Detecting and correcting for label shift with black box predictors. In <em>Proceedings of the 35th International Conference on Machine Learning<\/em>, vol. 80 of <em>Proceedings of Machine Learning Research<\/em>, 3122\u20133130 (PMLR, 2018).<\/li>\n<li><span id=\"ref-179\"><\/span>Ovadia, Y. <em>et al.<\/em> Can you trust your model\u2019s uncertainty? Evaluating predictive uncertainty under dataset shift. In <em>Advances in Neural Information Processing Systems<\/em>, vol. 32 (2019).<\/li>\n<li><span id=\"ref-180\"><\/span>Zhou, J., Rizzo, K., Christensen, T., Tang, Z. &amp; Koo, P. K. Uncertainty-aware genomic deep learning with knowledge distillation. <em>npj Artif. Intell.<\/em> <strong>2<\/strong>, 3, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s44387-025-00053-3\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s44387-025-00053-3<\/a> (2026).<\/li>\n<li><span id=\"ref-181\"><\/span>Koo, P. K. &amp; Eddy, S. R. Representation learning of genomic sequence motifs with convolutional neural networks. <em>PLOS Comput. Biol.<\/em> <strong>15<\/strong>, e1007560 (2019).<\/li>\n<li><span id=\"ref-182\"><\/span>Svensson, V., Gayoso, A., Yosef, N. &amp; Pachter, L. Interpretable factor models of single-cell RNA-seq via variational autoencoders. <em>Bioinformatics<\/em> <strong>36<\/strong>, 3418\u20133421 (2020).<\/li>\n<li><span id=\"ref-183\"><\/span>Koo, P. K. &amp; Ploenzke, M. Improving representations of genomic sequence motifs in convolutional networks with exponential activations. <em>Nat. Mach. Intell.<\/em> <strong>3<\/strong>, 258\u2013266 (2021).<\/li>\n<li><span id=\"ref-184\"><\/span>Ullah, F. &amp; Ben-Hur, A. A self-attention model for inferring cooperativity between regulatory features. <em>Nucleic Acids Res.<\/em> <strong>49<\/strong>, e77\u2013e77 (2021).<\/li>\n<li><span id=\"ref-185\"><\/span>Novakovsky, G., Fornes, O., Saraswat, M., Mostafavi, S. &amp; Wasserman, W. W. ExplaiNN: interpretable and transparent neural networks for genomics. <em>Genome Biol.<\/em> <strong>24<\/strong>, 154, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-023-02985-y\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-023-02985-y<\/a> (2023).<\/li>\n<li><span id=\"ref-186\"><\/span>Balc\u0131, A. T., Ebeid, M. M., Benos, P. V., Kostka, D. &amp; Chikina, M. An intrinsically interpretable neural network architecture for sequence-to-function learning. <em>Bioinformatics<\/em> <strong>39<\/strong>, i413\u2013i422, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bioinformatics\/btad271\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/bioinformatics\/btad271<\/a> (2023).<\/li>\n<li><span id=\"ref-187\"><\/span>Simonyan, K., Vedaldi, A. &amp; Zisserman, A. Deep inside convolutional networks: Visualising image classification models and saliency maps. In <em>2nd International Conference on Learning Representations (ICLR 2014), Workshop Track Proceedings<\/em> (2014). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1312.6034\" target=\"_blank\" rel=\"noopener\"\n >1312.6034<\/a>.<\/li>\n<li><span id=\"ref-188\"><\/span>Shrikumar, A., Greenside, P. &amp; Kundaje, A. Learning important features through propagating activation differences. In <em>Proceedings of the 34th International Conference on Machine Learning<\/em>, vol. 70 of <em>Proceedings of Machine Learning Research<\/em>, 3145\u20133153 (PMLR, 2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1704.02685\" target=\"_blank\" rel=\"noopener\"\n >1704.02685<\/a>.<\/li>\n<li><span id=\"ref-189\"><\/span>Chen, H., Lundberg, S. M. &amp; Lee, S.-I. Explaining a series of models by propagating Shapley values. <em>Nat. Commun.<\/em> <strong>13<\/strong>, 4512, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-022-31384-3\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-022-31384-3<\/a> (2022).<\/li>\n<li><span id=\"ref-190\"><\/span>Sundararajan, M., Taly, A. &amp; Yan, Q. Axiomatic attribution for deep networks. In <em>Proceedings of the 34th International Conference on Machine Learning<\/em>, vol. 70 of <em>Proceedings of Machine Learning Research<\/em>, 3319\u20133328 (PMLR, 2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1703.01365\" target=\"_blank\" rel=\"noopener\"\n >1703.01365<\/a>.<\/li>\n<li><span id=\"ref-191\"><\/span>Gold, M. P. <em>et al.<\/em> Scoring gene importance by interpreting single-cell foundation models. <em>Nat. Biotechnol.<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-026-03112-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-026-03112-5<\/a> (2026).<\/li>\n<li><span id=\"ref-192\"><\/span>McAnany, C. E. <em>et al.<\/em> Positional interpretation of cis-regulatory code and nucleosome organization with deep learning models. <em>Nat. Commun.<\/em> <strong>17<\/strong>, 8326, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-026-74807-1\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-026-74807-1<\/a> (2026).<\/li>\n<li><span id=\"ref-193\"><\/span>Shrikumar, A. <em>et al.<\/em> Technical note on transcription factor motif discovery from importance scores (TF-MoDISco) version 0.5.6.5 (2020). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1811.00416\" target=\"_blank\" rel=\"noopener\"\n >1811.00416<\/a>.<\/li>\n<li><span id=\"ref-194\"><\/span>De Winter, S. <em>et al.<\/em> System-wide extraction of cis-regulatory rules from sequence-to-function models in human neural development. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.01.14.699402\" target=\"_blank\" rel=\"noopener\"\n >10.64898\/2026.01.14.699402<\/a> (2026).<\/li>\n<li><span id=\"ref-195\"><\/span>Greenside, P., Shimko, T., Fordyce, P. &amp; Kundaje, A. Discovering epistatic feature interactions from neural network models of regulatory DNA sequences. <em>Bioinformatics<\/em> <strong>34<\/strong>, i629\u2013i637, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bioinformatics\/bty575\" target=\"_blank\" rel=\"noopener\"\n >10.1093\/bioinformatics\/bty575<\/a> (2018).<\/li>\n<li><span id=\"ref-196\"><\/span>Seitz, E. E., McCandlish, D. M., Kinney, J. B. &amp; Koo, P. K. Uncovering the mechanistic landscape of regulatory DNA with deep learning. <em>bioRxiv<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.10.07.681052\" target=\"_blank\" rel=\"noopener\"\n >10.1101\/2025.10.07.681052<\/a> (2025).<\/li>\n<li><span id=\"ref-197\"><\/span>Seitz, E. E., McCandlish, D. M., Kinney, J. B. &amp; Koo, P. K. Interpreting cis-regulatory mechanisms from genomic deep neural networks using surrogate models. <em>Nat. Mach. Intell.<\/em> <strong>6<\/strong>, 701\u2013713, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s42256-024-00851-5\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s42256-024-00851-5<\/a> (2024).<\/li>\n<li><span id=\"ref-198\"><\/span>Tareen, A. <em>et al.<\/em> MAVE-NN: learning genotype-phenotype maps from multiplex assays of variant effect. <em>Genome Biol.<\/em> <strong>23<\/strong>, 98, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-022-02661-7\" target=\"_blank\" rel=\"noopener\"\n >10.1186\/s13059-022-02661-7<\/a> (2022).<\/li>\n<li><span id=\"ref-199\"><\/span>Schreiber, J. <em>et al.<\/em> Programmatic design and editing of cis-regulatory elements. <em>bioRxiv<\/em> 2025\u201304 (2025).<\/li>\n<li><span id=\"ref-200\"><\/span>Trabucco, B., Kumar, A., Geng, X. &amp; Levine, S. Conservative objective models for effective offline model-based optimization. In <em>Proceedings of the 38th International Conference on Machine Learning<\/em>, vol. 139 of <em>Proceedings of Machine Learning Research<\/em>, 10358\u201310368 (PMLR, 2021).<\/li>\n<li><span id=\"ref-201\"><\/span>Brookes, D., Park, H. &amp; Listgarten, J. Conditioning by adaptive sampling for robust design. In <em>Proceedings of the 36th International Conference on Machine Learning<\/em>, vol. 97 of <em>Proceedings of Machine Learning Research<\/em>, 773\u2013782 (PMLR, 2019).<\/li>\n<li><span id=\"ref-202\"><\/span>Schiebinger, G. <em>et al.<\/em> Optimal-transport analysis of single-cell gene expression identifies developmental trajectories in reprogramming. <em>Cell<\/em> <strong>176<\/strong>, 928\u2013943.e22, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2019.01.006\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2019.01.006<\/a> (2019).<\/li>\n<li><span id=\"ref-203\"><\/span>Yeo, G. H. T., Saksena, S. D. &amp; Gifford, D. K. Generative modeling of single-cell time series with PRESCIENT enables prediction of cell trajectories with interventions. <em>Nat. Commun.<\/em> <strong>12<\/strong>, 3222, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-021-23518-w\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41467-021-23518-w<\/a> (2021).<\/li>\n<li><span id=\"ref-204\"><\/span>Qiu, X. <em>et al.<\/em> Mapping transcriptomic vector fields of single cells. <em>Cell<\/em> <strong>185<\/strong>, 690\u2013711.e45, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2021.12.045\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2021.12.045<\/a> (2022).<\/li>\n<li><span id=\"ref-205\"><\/span>Li, C., Virgilio, M. C., Collins, K. L. &amp; Welch, J. D. Multi-omic single-cell velocity models epigenome\u2013transcriptome interactions and improves cell fate prediction. <em>Nat. Biotechnol.<\/em> <strong>41<\/strong>, 387\u2013398, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-022-01476-y\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-022-01476-y<\/a> (2023).<\/li>\n<li><span id=\"ref-206\"><\/span>Wang, W. <em>et al.<\/em> RegVelo: Gene-regulatory-informed dynamics of single cells. <em>Cell<\/em> <strong>189<\/strong>, 3773\u20133800.e44, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2026.04.022\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2026.04.022<\/a> (2026).<\/li>\n<li><span id=\"ref-207\"><\/span>Karbalayghareh, A. <em>et al.<\/em> Deep dynamical models of single-cell multiomic velocities predict loss-of-function and rescue perturbations in B cells. <em>Nat. Biotechnol.<\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41587-026-03348-1\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41587-026-03348-1<\/a> (2026).<\/li>\n<li><span id=\"ref-208\"><\/span>Rabani, M. <em>et al.<\/em> High-resolution sequencing and modeling identifies distinct dynamic RNA regulatory strategies. <em>Cell<\/em> <strong>159<\/strong>, 1698\u20131710, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2014.11.015\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cell.2014.11.015<\/a> (2014).<\/li>\n<li><span id=\"ref-209\"><\/span>Jovanovic, M. <em>et al.<\/em> Dynamic profiling of the protein life cycle in response to pathogens. <em>Science<\/em> <strong>347<\/strong>, 1259038, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.1259038\" target=\"_blank\" rel=\"noopener\"\n >10.1126\/science.1259038<\/a> (2015).<\/li>\n<li><span id=\"ref-210\"><\/span>Lane, K. <em>et al.<\/em> Measuring signaling and RNA-Seq in the same cell links gene expression to dynamic patterns of NF-\u03baB activation. <em>Cell Syst.<\/em> <strong>4<\/strong>, 458\u2013469.e5 (2017).<\/li>\n<li><span id=\"ref-211\"><\/span>Wehling, A. <em>et al.<\/em> Combining single-cell tracking and omics improves blood stem cell fate regulator identification. <em>Blood<\/em> <strong>140<\/strong>, 1482\u20131495, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1182\/blood.2022016880\" target=\"_blank\" rel=\"noopener\"\n >10.1182\/blood.2022016880<\/a> (2022).<\/li>\n<li><span id=\"ref-212\"><\/span>Liu, X. <em>et al.<\/em> Sequential introduction of reprogramming factors reveals a time-sensitive requirement for individual factors and a sequential EMT\u2013MET mechanism for optimal reprogramming. <em>Nat. Cell Biol.<\/em> <strong>15<\/strong>, 829\u2013838 (2013).<\/li>\n<li><span id=\"ref-213\"><\/span>Stadtfeld, M., Maherali, N., Breault, D. T. &amp; Hochedlinger, K. Defining molecular cornerstones during fibroblast to iPS cell reprogramming in mouse. <em>Cell Stem Cell<\/em> <strong>2<\/strong>, 230\u2013240 (2008).<\/li>\n<li><span id=\"ref-214\"><\/span>Cohn, D. A., Ghahramani, Z. &amp; Jordan, M. I. Active learning with statistical models. <em>J. Artif. Intell. Res.<\/em> <strong>4<\/strong>, 129\u2013145, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1613\/jair.295\" target=\"_blank\" rel=\"noopener\"\n >10.1613\/jair.295<\/a> (1996).<\/li>\n<li><span id=\"ref-215\"><\/span>Settles, B. Active learning literature survey. Computer Sciences Technical Report 1648, University of Wisconsin\u2013Madison (2009).<\/li>\n<li><span id=\"ref-216\"><\/span>Friedman, R. Z. <em>et al.<\/em> Active learning of enhancers and silencers in the developing neural retina. <em>Cell Syst.<\/em> <strong>16<\/strong>, 101163, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cels.2024.12.004\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/j.cels.2024.12.004<\/a> (2025).<\/li>\n<li><span id=\"ref-217\"><\/span>Huang, K. <em>et al.<\/em> Sequential optimal experimental design of perturbation screens guided by multi-modal priors. In <em>Research in Computational Molecular Biology (RECOMB 2024)<\/em>, vol. 14758 of <em>Lecture Notes in Computer Science<\/em>, 17\u201337, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1007\/978-1-0716-3989-4_2\" target=\"_blank\" rel=\"noopener\"\n >10.1007\/978-1-0716-3989-4_2<\/a> (Springer, 2024).<\/li>\n<li><span id=\"ref-218\"><\/span>Mahmood, R., Lucas, J., Alvarez, J. M., Fidler, S. &amp; Law, M. T. Optimizing data collection for machine learning. <em>J. Mach. Learn. Res.<\/em> <strong>26<\/strong>, 1\u201352 (2025).<\/li>\n<li><span id=\"ref-219\"><\/span>French, R. M. Catastrophic forgetting in connectionist networks. <em>Trends Cogn. Sci.<\/em> <strong>3<\/strong>, 128\u2013135, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/S1364-6613%2899%2901294-2\" target=\"_blank\" rel=\"noopener\"\n >10.1016\/S1364-6613(99)01294-2<\/a> (1999).<\/li>\n<li><span id=\"ref-220\"><\/span>Wang, L., Zhang, X., Su, H. &amp; Zhu, J. A comprehensive survey of continual learning: Theory, method and application. <em>IEEE Trans. Pattern Anal. Mach. Intell.<\/em> <strong>46<\/strong>, 5362\u20135383 (2024).<\/li>\n<li><span id=\"ref-221\"><\/span>Romera-Paredes, B. <em>et al.<\/em> Mathematical discoveries from program search with large language models. <em>Nature<\/em> <strong>625<\/strong>, 468\u2013475, DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-023-06924-6\" target=\"_blank\" rel=\"noopener\"\n >10.1038\/s41586-023-06924-6<\/a> (2024).<\/li>\n<li><span id=\"ref-222\"><\/span>Novikov, A. <em>et al.<\/em> AlphaEvolve: A coding agent for scientific and algorithmic discovery. <em>arXiv preprint <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/2506.13131\" target=\"_blank\" rel=\"noopener\"\n >arXiv:2506.13131<\/a><\/em> DOI: <a class=\"link\" href=\"https:\/\/doi.org\/10.48550\/arXiv.2506.13131\" target=\"_blank\" rel=\"noopener\"\n >10.48550\/arXiv.2506.13131<\/a> (2025).<\/li>\n<li><span id=\"ref-223\"><\/span>Real, E., Liang, C., So, D. &amp; Le, Q. AutoML-Zero: Evolving machine learning algorithms from scratch. In <em>Proceedings of the 37th International Conference on Machine Learning<\/em>, vol. 119 of <em>Proceedings of Machine Learning Research<\/em>, 8007\u20138019 (PMLR, 2020).<\/li>\n<\/ol>\n"},{"title":"promoterai-torch: a PyTorch port of Illumina's PromoterAI","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/","pubDate":"Tue, 29 Sep 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post promoterai-torch: a PyTorch port of Illumina's PromoterAI\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n PromoterAI [1] predicts how promoter variants alter gene expression, but the official release ships as a TensorFlow\/Keras SavedModel [2]. <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/promoterai-torch\" target=\"_blank\" rel=\"noopener\"\n ><code>promoterai-torch<\/code><\/a> is an independent, numerically-equivalent PyTorch port that converts Illumina&rsquo;s checkpoints and makes variant scoring, track prediction, embedding extraction, and DeepLIFT\/SHAP attribution available through the PyTorch ecosystem, with training and fine-tuning scripts included for anyone who wants to reproduce or extend the model from scratch.\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"overview\">Overview\n<\/h2><p>Promoters are a critical class of non-coding regulatory DNA elements that set the baseline transcriptional output of a gene. A single nucleotide change just upstream of the transcription start site can create or destroy a transcription factor binding site without touching the coding sequence of a gene. The best-known example is <em>TERT<\/em>: two recurrent, mutually exclusive promoter mutations, independently identified in melanoma [4, 5] and subsequently found in glioblastoma, bladder cancer, and dozens of other tumor types [6], each create a de novo ETS\/GABP transcription-factor binding motif upstream of the transcription start site, driving aberrant telomerase re-expression [4\u20137]. Both are in the <em>TERT<\/em> variant set checked below \u2014 C228T and C250T, chr5:1,295,113 G&gt;A and chr5:1,295,135 G&gt;A on the hg38 minus strand \u2014 and PromoterAI&rsquo;s ensembled scores for them are 0.74 and 0.85 respectively: both comfortably past the paper&rsquo;s \u00b10.5 &ldquo;strong effect&rdquo; threshold and positive, consistent with the gain-of-function reported in the literature.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/TERT_promoter_track.png\" class=\"image-link\" data-pswp-width=\"2000\" data-pswp-height=\"920\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/TERT_promoter_track.png.optimized.webp\" width=\"750px\" height=\"345\"loading=\"lazy\"\n\t\t\talt=\"Bar chart of PromoterAI\u2019s saturation-mutagenesis scores across a 1 kb window of the TERT promoter (chr5, hg38), colored red for positive (over-expression) and blue for negative (under-expression) scores, with the transcription start site (arrow marking the minus-strand direction of transcription) and the C228T and C250T mutations annotated. Both mutations sit in a cluster of strongly positive-scoring positions and score well above the &#43;0.5 strong-effect threshold.\"\n\t\t\tdata-title-escaped=\"PromoterAI saturation-mutagenesis scores across the TERT promoter (chr5, hg38); bar height is the largest-magnitude signed score among the 3 possible alt alleles at each position. TERT is on the minus strand, so transcription proceeds toward decreasing coordinate (arrow). The recurrent C228T and C250T mutations (chr5:1,295,113 G&amp;gt;A and chr5:1,295,135 G&amp;gt;A) both score well past the paper&amp;#39;s &#43;0.5 strong-effect threshold.\">\n\t\t<\/a><figcaption>PromoterAI saturation-mutagenesis scores across the TERT promoter (chr5, hg38); bar height is the largest-magnitude signed score among the 3 possible alt alleles at each position. TERT is on the minus strand, so transcription proceeds toward decreasing coordinate (arrow). The recurrent C228T and C250T mutations (chr5:1,295,113 G&gt;A and chr5:1,295,135 G&gt;A) both score well past the paper&rsquo;s +0.5 strong-effect threshold.<\/figcaption><\/figure><p>Prioritizing functional promoter variants more broadly is a hard, unsolved problem in variant interpretation. PromoterAI addressed this by training a sequence-to-function model on hundreds of regulatory tracks (histone marks, TF ChIP-seq, ATAC-seq, RNA-seq) across human and mouse promoters, then fine-tuning on expression outlier variants (with signed differences between reference and alternate predictions as a variant effect score).<\/p>\n<p>However, the official release of PromoterAI is in TensorFlow\/Keras, which has effectively walled PromoterAI off from the PyTorch-based S2F ecosystem since it shipped. Getting per-base attributions out of PromoterAI today means reimplementing DeepLIFT\/SHAP&rsquo;s gradient-correction rules against <code>tf.GradientTape<\/code> \u2014 a substantial undertaking, and easy to get subtly wrong. Similarly, gradient-based sequence design with tools like <a class=\"link\" href=\"https:\/\/github.com\/jmschrei\/ledidi\" target=\"_blank\" rel=\"noopener\"\n ><code>Ledidi<\/code><\/a> [8], which optimizes a sequence toward a target prediction by backpropagating through the model, needs the same kind of direct, differentiable access. Scoring the same variant set across PromoterAI and PyTorch-native models, to compare or ensemble their predictions, means round-tripping through disk rather than composing tensors directly. <code>promoterai-torch<\/code> re-implements the architecture layer-for-layer in PyTorch and ships a converter that reads an existing Illumina SavedModel and produces a <code>.pt<\/code> checkpoint, so PromoterAI becomes just another <code>nn.Module<\/code> that plugs into existing PyTorch pipelines \u2014 attribution, design, and ensembling with the rest of the PyTorch S2F ecosystem all become drop-in rather than bespoke.<\/p>\n<p>Porting sequence-to-function models to PyTorch this way is a familiar, worthwhile pattern for the community rather than a one-off: <a class=\"link\" href=\"https:\/\/github.com\/lucidrains\/enformer-pytorch\" target=\"_blank\" rel=\"noopener\"\n ><code>enformer-pytorch<\/code><\/a> ports Enformer [9], Flashzoi provides an accelerated PyTorch reimplementation of Borzoi [10], and we previously covered <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/\" target=\"_blank\" rel=\"noopener\"\n >porting AlphaGenome to PyTorch<\/a> on this blog [11]. <code>promoterai-torch<\/code> follows the same playbook for PromoterAI.<\/p>\n<h3 id=\"architecture\">Architecture\n<\/h3><p>PromoterAI&rsquo;s backbone is a &ldquo;MetaFormer&rdquo;-style stack: a 1\u00d71 convolution stem projects the one-hot DNA sequence into a <code>model_dim<\/code>-wide channel space, followed by <code>num_blocks<\/code> residual blocks. Each block alternates two mixing operations behind BatchNorm and a residual connection \u2014 a depthwise, dilated 1D convolution across positions (token mixing, with the dilation rate held at 1 for the first four blocks, then doubling every two blocks thereafter: 1, 1, 1, 1, 2, 2, 4, 4, \u2026) and a two-layer feed-forward network across channels (channel mixing). This is the same token-mixing\/channel-mixing split used by &ldquo;MetaFormer&rdquo;-family vision architectures, with a convolutional token mixer in place of pooling or attention.<\/p>\n<p>Prediction happens through per-species output heads that read out from several depths of the backbone rather than just the final block: every <code>shortcut_layer_freq<\/code>-th block&rsquo;s hidden state is linearly projected to that species&rsquo; track dimension, passed through a ReLU, and the resulting projections are averaged and center-cropped to the model&rsquo;s output length. The released checkpoints carry two such heads sharing one backbone \u2014 a 498-track human head and a 472-track mouse head. Only the human head is unfrozen during PromoterAI&rsquo;s own variant-effect fine-tuning; the rest of the network, including BatchNorm running statistics, stays in eval mode throughout.<\/p>\n\n <blockquote>\n <p>This is <strong>not<\/strong> an official Illumina product or publication. <code>promoterai-torch<\/code>&rsquo;s PyTorch code is an independent reimplementation, and its release should not be construed as endorsed by Illumina. The pretrained <em>weights<\/em> remain gated under Illumina&rsquo;s own license, independent of this port&rsquo;s own code license \u2014 see <a class=\"link\" href=\"#license\" >License<\/a> below for the full picture, and please don&rsquo;t redistribute converted checkpoints.<\/p>\n\n <\/blockquote>\n<h2 id=\"getting-started\">Getting Started\n<\/h2><p>The core package installs without pulling in TensorFlow, HDF5\/BigWig tooling, or attribution libraries:<\/p>\n<div class=\"code-block\" data-lang=\"sh\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-sh\" data-lang=\"sh\"><span class=\"line\"><span class=\"cl\">pip install promoterai-torch<\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Converting a pretrained checkpoint requires the <code>[convert]<\/code> extra and a copy of the official SavedModel from <a class=\"link\" href=\"https:\/\/github.com\/Illumina\/PromoterAI\" target=\"_blank\" rel=\"noopener\"\n >Illumina\/PromoterAI<\/a>. Note that Illumina gates the pretrained SavedModels and precomputed variant scores behind a signed academic-use license agreement (commercial licensing goes through <code>AI_licensing@illumina.com<\/code>) \u2014 see their README for the request form first.<\/p>\n<div class=\"code-block\" data-lang=\"sh\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-sh\" data-lang=\"sh\"><span class=\"line\"><span class=\"cl\">pip install <span class=\"s2\">&#34;promoterai-torch[convert]&#34;<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\">promoterai-torch convert <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --keras_model models\/promoterAI_v1_hg38_mm10_finetune <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --output models\/promoterAI_v1_hg38_mm10_finetune.pt <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --input_length <span class=\"m\">20480<\/span> <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --output_length <span class=\"m\">4096<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Architecture hyperparameters (<code>num_blocks<\/code>, <code>model_dim<\/code>, <code>output_dims<\/code>) are inferred automatically from the SavedModel, so this works for any PromoterAI-architecture checkpoint \u2014 not just Illumina&rsquo;s four released checkpoints, but your own Keras fine-tunes produced by <code>promoterai.finetune<\/code> as well.<\/p>\n<p>From there, scoring a variant TSV (<code>chrom<\/code>, <code>pos<\/code>, <code>ref<\/code>, <code>alt<\/code>, <code>strand<\/code>) is one command:<\/p>\n<div class=\"code-block\" data-lang=\"sh\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-sh\" data-lang=\"sh\"><span class=\"line\"><span class=\"cl\">promoterai-torch score <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --model_checkpoint models\/promoterAI_v1_hg38_mm10_finetune.pt <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --var_file variants.tsv <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --fasta_file hg38.fa <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --input_length <span class=\"m\">20480<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Scores land in [\u22121, 1], with the same effect-size thresholds as the original paper (\u00b10.1 weak, \u00b10.2 moderate, \u00b10.5 strong).<\/p>\n<h2 id=\"numerical-equivalence\">Numerical Equivalence\n<\/h2><p>Porting a model is only useful if it actually reproduces the original, so most of the engineering effort went here.<\/p>\n<p><strong>Track-level equivalence.<\/strong> Running both the original TF\/Keras SavedModel and the converted PyTorch checkpoint on the same sequences and comparing every output track gives errors of ~1e-7 at FP32 \u2014 within machine precision \u2014 across all four released checkpoints (<code>hg38<\/code>, <code>hg38_mm10<\/code>, <code>hg38_finetune<\/code>, <code>hg38_mm10_finetune<\/code>).<\/p>\n<p><strong>Variant-score equivalence.<\/strong> On promoter variants at <em>TERT<\/em> (<em>n<\/em> = 6,006), <em>SFSWAP<\/em> (<em>n<\/em> = 3,003), and <em>DNAJC9<\/em> (<em>n<\/em> = 9,009), torch and TF\/Keras variant scores are identical, including the ensembled score used in the paper and distributed in the official scores published by Illumina (Pearson <em>r<\/em> = 1.0000, MAE = 0.0000). Note that the scoring script\/CLI in both the official repo and this port round the score to 4 digits, which is why variant scores will generally be identical.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/TERT_scatter.png\" class=\"image-link\" data-pswp-width=\"2390\" data-pswp-height=\"499\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/TERT_scatter.png.optimized.webp\" width=\"700px\" height=\"146\"loading=\"lazy\"\n\t\t\talt=\"Five scatter plots comparing PromoterAI TERT variant scores across checkpoints and implementations \u2014 per-checkpoint TF versus torch scores, ensembled TF versus torch scores, and each against the officially published scores \u2014 all falling exactly on the identity line.\"\n\t\t\tdata-title-escaped=\"TERT promoter variant scores (n = 6,006): per-checkpoint and ensembled TF\/Keras versus PyTorch scores, and each versus the officially published PromoterAI scores. r = 1.000, MAE = 0.000 in every panel.\">\n\t\t<\/a><figcaption>TERT promoter variant scores (n = 6,006): per-checkpoint and ensembled TF\/Keras versus PyTorch scores, and each versus the officially published PromoterAI scores. r = 1.000, MAE = 0.000 in every panel.<\/figcaption><\/figure><p><strong>Benchmark equivalence.<\/strong> Scoring the public benchmark variant sets released alongside the paper \u2014 <code>CAGI5_saturation<\/code>, <code>GEL_RNA<\/code>, <code>GTEx_eQTL<\/code>, <code>GTEx_outlier<\/code>, <code>MPRA_eQTL<\/code>, <code>MPRA_saturation<\/code>, and <code>UKBB_proteome<\/code> (under\/over\/null variant categories per dataset) \u2014 with the torch checkpoints reproduces the TF\/Keras ensemble&rsquo;s under-vs-over, under-vs-null, and over-vs-null AUROCs to within ~1e-6:<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Dataset<\/th>\n\t\t\t\t\t<th><em>n<\/em> (under\/over\/null)<\/th>\n\t\t\t\t\t<th>under-vs-over<\/th>\n\t\t\t\t\t<th>under-vs-null<\/th>\n\t\t\t\t\t<th>over-vs-null<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>CAGI5_saturation<\/td>\n\t\t\t\t\t<td>976 \/ 499 \/ 5,095<\/td>\n\t\t\t\t\t<td>0.8845<\/td>\n\t\t\t\t\t<td>0.7939<\/td>\n\t\t\t\t\t<td>0.7153<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>GEL_RNA<\/td>\n\t\t\t\t\t<td>309 \/ 239 \/ 609<\/td>\n\t\t\t\t\t<td>0.9002<\/td>\n\t\t\t\t\t<td>0.7757<\/td>\n\t\t\t\t\t<td>0.7802<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>GTEx_eQTL<\/td>\n\t\t\t\t\t<td>191 \/ 218 \/ 393<\/td>\n\t\t\t\t\t<td>0.8697<\/td>\n\t\t\t\t\t<td>0.7876<\/td>\n\t\t\t\t\t<td>0.7503<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>GTEx_outlier<\/td>\n\t\t\t\t\t<td>206 \/ 161 \/ 382<\/td>\n\t\t\t\t\t<td>0.8938<\/td>\n\t\t\t\t\t<td>0.7972<\/td>\n\t\t\t\t\t<td>0.7423<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>MPRA_eQTL<\/td>\n\t\t\t\t\t<td>70 \/ 74 \/ 542<\/td>\n\t\t\t\t\t<td>0.9004<\/td>\n\t\t\t\t\t<td>0.8069<\/td>\n\t\t\t\t\t<td>0.8278<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>MPRA_saturation<\/td>\n\t\t\t\t\t<td>773 \/ 275 \/ 3,981<\/td>\n\t\t\t\t\t<td>0.8707<\/td>\n\t\t\t\t\t<td>0.8675<\/td>\n\t\t\t\t\t<td>0.7010<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>UKBB_proteome<\/td>\n\t\t\t\t\t<td>182 \/ 69 \/ 760<\/td>\n\t\t\t\t\t<td>0.9116<\/td>\n\t\t\t\t\t<td>0.7718<\/td>\n\t\t\t\t\t<td>0.7757<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>(Torch AUROCs shown; the matching TF\/Keras run agrees on every value to at least five decimal places.) The per-dataset and aggregate ensemble variant scores underlying these AUROCs also match nearly exactly between the two implementations (Pearson <em>r<\/em> = 1.0000 for each of the seven datasets and for all 16,004 variants combined):<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/paper_benchmark_concordance.png\" class=\"image-link\" data-pswp-width=\"3000\" data-pswp-height=\"3000\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/paper_benchmark_concordance.png.optimized.webp\" width=\"700px\" height=\"700\"loading=\"lazy\"\n\t\t\talt=\"Grid of eight scatter plots, one per benchmark dataset plus an aggregate panel, each showing PyTorch ensemble variant scores plotted against TF\/Keras ensemble scores falling tightly on the identity line.\"\n\t\t\tdata-title-escaped=\"PyTorch versus TF\/Keras ensemble variant scores on each of the paper&amp;#39;s released benchmark datasets (Pearson r = 1.0000 in every panel) and combined across all 16,004 variants (bottom centre).\">\n\t\t<\/a><figcaption>PyTorch versus TF\/Keras ensemble variant scores on each of the paper&rsquo;s released benchmark datasets (Pearson r = 1.0000 in every panel) and combined across all 16,004 variants (bottom centre).<\/figcaption><\/figure><p><strong>Training equivalence.<\/strong> Inference equivalence doesn&rsquo;t guarantee the training loop itself matches \u2014 a converter can produce an identical model while the from-scratch training and fine-tuning code silently diverges from Illumina&rsquo;s Keras implementation. <code>train.py<\/code> and <code>finetune.py<\/code> clip gradients per parameter (matching Keras&rsquo; <code>clipnorm<\/code> semantics, as opposed to a single norm across all parameters jointly), set <code>BatchNorm<\/code>&rsquo;s momentum to the value equivalent to Keras&rsquo; <code>momentum=0.99<\/code>, and count <code>steps_per_epoch<\/code> the same way Keras does. Multi-species training also matches Keras&rsquo; handling of a batch&rsquo;s inactive species: its loss term stays in the graph as a zero-weighted zero rather than being dropped, so weight decay still applies to every head on every step as it does in Keras, and each batch is drawn from a single species rather than mixed across species. A cross-framework test suite runs one training step through numerically identical converted weights in both frameworks \u2014 at toy scale, and, for all four released checkpoints, at the real published scale (<code>num_blocks=24<\/code>, <code>model_dim=1024<\/code>) on GPU against Illumina&rsquo;s own SavedModels \u2014 and checks agreement on the loss, gradients, AdamW parameter deltas, and BatchNorm running-stat updates via a per-tensor cosine-similarity\/relative-L2 pass rate rather than strict elementwise tolerances. All four real-checkpoint configurations pass; for the base (<code>hg38<\/code>, <code>hg38_mm10<\/code>) checkpoints, forward-pass prediction agreement is cosine = 1.0000 with relative L2 under 0.5%. The one remaining, characterized divergence is framework-inherent rather than a porting gap: Keras&rsquo; <code>AdamW<\/code> places its <code>epsilon<\/code> term differently than PyTorch&rsquo;s, transiently damping its first ~1,000 optimizer steps more strongly even with a matching <code>epsilon<\/code>. See <code>notes\/implementation.md<\/code> and <code>docs\/training.md<\/code> in the repo for the full derivation.<\/p>\n<h2 id=\"what-can-you-do-with-this\">What Can You Do With This?\n<\/h2><p>Beyond variant scoring, <code>load_pretrained()<\/code> exposes the full model for anything you&rsquo;d normally do with a PyTorch sequence model \u2014 track prediction, embeddings, and DeepLIFT\/SHAP attribution [3]:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">torch<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">torch.nn<\/span> <span class=\"k\">as<\/span> <span class=\"nn\">nn<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">tangermeme.deep_lift_shap<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">deep_lift_shap<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">promoterai_torch.dataset<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">onehot_encode<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">promoterai_torch.utils<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">load_pretrained<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span><span class=\"p\">,<\/span> <span class=\"n\">args<\/span> <span class=\"o\">=<\/span> <span class=\"n\">load_pretrained<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;models\/promoterAI_v1_hg38_mm10_finetune.pt&#34;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">eval<\/span><span class=\"p\">()<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">seq<\/span> <span class=\"o\">=<\/span> <span class=\"s2\">&#34;ACGT&#34;<\/span> <span class=\"o\">*<\/span> <span class=\"p\">(<\/span><span class=\"n\">args<\/span><span class=\"p\">[<\/span><span class=\"s2\">&#34;input_length&#34;<\/span><span class=\"p\">]<\/span> <span class=\"o\">\/\/<\/span> <span class=\"mi\">4<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># replace with your sequence<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">x<\/span> <span class=\"o\">=<\/span> <span class=\"n\">torch<\/span><span class=\"o\">.<\/span><span class=\"n\">from_numpy<\/span><span class=\"p\">(<\/span><span class=\"n\">onehot_encode<\/span><span class=\"p\">(<\/span><span class=\"n\">seq<\/span><span class=\"p\">))<\/span><span class=\"o\">.<\/span><span class=\"n\">unsqueeze<\/span><span class=\"p\">(<\/span><span class=\"mi\">0<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># (1, L, 4)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"k\">with<\/span> <span class=\"n\">torch<\/span><span class=\"o\">.<\/span><span class=\"n\">no_grad<\/span><span class=\"p\">():<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">predictions<\/span> <span class=\"o\">=<\/span> <span class=\"n\">model<\/span><span class=\"p\">(<\/span><span class=\"n\">x<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># tuple of (1, output_length, n_tracks) per species head<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">embeddings<\/span> <span class=\"o\">=<\/span> <span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">encode<\/span><span class=\"p\">(<\/span><span class=\"n\">x<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># (1, input_length, model_dim), final MetaFormer block output<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># DeepLIFT\/SHAP via tangermeme: every non-linearity is a distinct, named nn.ReLU()<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># instance, which is exactly what tangermeme&#39;s deep_lift_shap requires.<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"k\">class<\/span> <span class=\"nc\">PromoterAIWrapper<\/span><span class=\"p\">(<\/span><span class=\"n\">nn<\/span><span class=\"o\">.<\/span><span class=\"n\">Module<\/span><span class=\"p\">):<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"k\">def<\/span> <span class=\"fm\">__init__<\/span><span class=\"p\">(<\/span><span class=\"bp\">self<\/span><span class=\"p\">,<\/span> <span class=\"n\">model<\/span><span class=\"p\">):<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"nb\">super<\/span><span class=\"p\">()<\/span><span class=\"o\">.<\/span><span class=\"fm\">__init__<\/span><span class=\"p\">()<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"bp\">self<\/span><span class=\"o\">.<\/span><span class=\"n\">model<\/span> <span class=\"o\">=<\/span> <span class=\"n\">model<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"k\">def<\/span> <span class=\"nf\">forward<\/span><span class=\"p\">(<\/span><span class=\"bp\">self<\/span><span class=\"p\">,<\/span> <span class=\"n\">x<\/span><span class=\"p\">):<\/span> <span class=\"c1\"># x: (B, 4, L) channels-first<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">out<\/span> <span class=\"o\">=<\/span> <span class=\"bp\">self<\/span><span class=\"o\">.<\/span><span class=\"n\">model<\/span><span class=\"p\">(<\/span><span class=\"n\">x<\/span><span class=\"o\">.<\/span><span class=\"n\">transpose<\/span><span class=\"p\">(<\/span><span class=\"mi\">1<\/span><span class=\"p\">,<\/span> <span class=\"mi\">2<\/span><span class=\"p\">))<\/span> <span class=\"c1\"># PromoterAI expects (B, L, 4)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"k\">return<\/span> <span class=\"n\">out<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">]<\/span><span class=\"o\">.<\/span><span class=\"n\">mean<\/span><span class=\"p\">(<\/span><span class=\"n\">dim<\/span><span class=\"o\">=<\/span><span class=\"p\">(<\/span><span class=\"mi\">1<\/span><span class=\"p\">,<\/span> <span class=\"mi\">2<\/span><span class=\"p\">))<\/span><span class=\"o\">.<\/span><span class=\"n\">unsqueeze<\/span><span class=\"p\">(<\/span><span class=\"mi\">1<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># (B, 1) \u2014 mean over positions and tracks<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">wrapper<\/span> <span class=\"o\">=<\/span> <span class=\"n\">PromoterAIWrapper<\/span><span class=\"p\">(<\/span><span class=\"n\">model<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">x_chfirst<\/span> <span class=\"o\">=<\/span> <span class=\"n\">x<\/span><span class=\"o\">.<\/span><span class=\"n\">transpose<\/span><span class=\"p\">(<\/span><span class=\"mi\">1<\/span><span class=\"p\">,<\/span> <span class=\"mi\">2<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># (1, 4, input_length), channels-first for tangermeme<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">attributions<\/span> <span class=\"o\">=<\/span> <span class=\"n\">deep_lift_shap<\/span><span class=\"p\">(<\/span><span class=\"n\">wrapper<\/span><span class=\"p\">,<\/span> <span class=\"n\">x_chfirst<\/span><span class=\"p\">,<\/span> <span class=\"n\">n_shuffles<\/span><span class=\"o\">=<\/span><span class=\"mi\">20<\/span><span class=\"p\">,<\/span> <span class=\"n\">device<\/span><span class=\"o\">=<\/span><span class=\"s2\">&#34;cuda&#34;<\/span><span class=\"p\">,<\/span> <span class=\"n\">batch_size<\/span><span class=\"o\">=<\/span><span class=\"mi\">1<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># attributions: (1, 4, input_length) \u2014 per-position, per-base importance<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Track prediction returns per-position predictions for all 498 human tracks the model was trained on (histone marks, TF ChIP-seq, ATAC-seq, RNA-seq), plus the 472-track mouse head; embeddings are the per-position hidden state after the final MetaFormer block, <code>(B, L, model_dim)<\/code>. The <code>deep_lift_shap<\/code> call above (transposing to channels-first, reducing the output heads to a scalar via the wrapper) is what produces per-base attribution maps like the one below:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/deepliftshap.png\" class=\"image-link\" data-pswp-width=\"1324\" data-pswp-height=\"446\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-014\/deepliftshap.png.optimized.webp\" width=\"700px\" height=\"235\"loading=\"lazy\"\n\t\t\talt=\"DeepLIFT\/SHAP contribution track across a 20 kb window around the SFSWAP promoter, with a zoomed-in per-base sequence logo over the 200 bp region of interest showing several high-contribution motif-like clusters.\"\n\t\t\tdata-title-escaped=\"Per-base DeepLIFT\/SHAP contribution scores at the SFSWAP promoter (chr12:131,700,849\u2013131,721,329), zoomed into the 200 bp region of interest (chr12:131,710,989\u2013131,711,189).\">\n\t\t<\/a><figcaption>Per-base DeepLIFT\/SHAP contribution scores at the SFSWAP promoter (chr12:131,700,849\u2013131,721,329), zoomed into the 200 bp region of interest (chr12:131,710,989\u2013131,711,189).<\/figcaption><\/figure><p>Fair warning on cost: DeepLIFT\/SHAP on this model is not cheap \u2014 at TF32 with <code>n_shuffles=20<\/code> and <code>batch_size=1<\/code>, expect ~92s and ~71GB of VRAM per sequence on an A100 80GB. For an order-of-magnitude anchor (not a like-for-like benchmark \u2014 different attribution method, hardware, and input-window size), the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/\" target=\"_blank\" rel=\"noopener\"\n >Cherimoya post<\/a> [12] measured <em>in silico<\/em> mutagenesis on a 1 kb locus at 0.08s (Cherimoya), 0.38s (ChromBPNet), 1.24s (AlphaGenome 2kb), 64.5s (Borzoi), and 324.3s (AlphaGenome) on an H200 GPU (bf16, <code>torch.compile<\/code>); peak batch-1 VRAM for a full-sequence forward pass on the same hardware was 0.14GB, 0.19GB, 17.9GB, and 117GB for Cherimoya, ChromBPNet, Borzoi, and AlphaGenome (1Mb) respectively.<\/p>\n<h2 id=\"training-and-fine-tuning\">Training and Fine-Tuning\n<\/h2><p>The repo also includes the full training pipeline, not just inference: HDF5 preprocessing of track and sequence data per chromosome, multi-GPU training via <code>torchrun<\/code>, checkpoint\/resume handling, and a fine-tuning script that trains only the first output head on a variant set (matching PromoterAI&rsquo;s own fine-tuning protocol on GTEx outlier data) while keeping the rest of the backbone \u2014 including BatchNorm statistics \u2014 frozen in inference mode.<\/p>\n<div class=\"code-block\" data-lang=\"sh\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-sh\" data-lang=\"sh\"><span class=\"line\"><span class=\"cl\">promoterai-torch train <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --checkpoint_folder checkpoints\/run1 <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --hdf5_human_folder data\/hdf5\/human <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --input_length <span class=\"m\">20480<\/span> --output_length <span class=\"m\">4096<\/span> <span class=\"se\">\\\n<\/span><\/span><\/span><span class=\"line\"><span class=\"cl\"> --num_blocks <span class=\"m\">24<\/span> --model_dim <span class=\"m\">1024<\/span> --batch_size <span class=\"m\">32<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>This hasn&rsquo;t been used to reproduce Illumina&rsquo;s exact published model from scratch \u2014 that would require their full training corpus \u2014 but it has been verified to run end-to-end and to match the original&rsquo;s documented training\/fine-tuning behavior wherever that behavior is checkable.<\/p>\n<h2 id=\"code-and-tutorials\">Code and Tutorials\n<\/h2><ul>\n<li>Repository: <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/promoterai-torch\" target=\"_blank\" rel=\"noopener\"\n >github.com\/genomicsxai\/promoterai-torch<\/a><\/li>\n<li>PyPI: <a class=\"link\" href=\"https:\/\/pypi.org\/project\/promoterai-torch\/\" target=\"_blank\" rel=\"noopener\"\n ><code>promoterai-torch<\/code><\/a><\/li>\n<li>Worked examples (paper benchmark reproduction, track-level parity checks, TERT\/SFSWAP\/DNAJC9 notebooks): <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/promoterai-torch\/tree\/main\/examples\" target=\"_blank\" rel=\"noopener\"\n ><code>examples\/<\/code><\/a><\/li>\n<\/ul>\n<h2 id=\"license\">License\n<\/h2><p><code>promoterai-torch<\/code> is an independent reimplementation, not an official Illumina product or publication. Its PyTorch code was written from PromoterAI&rsquo;s published architecture description and released hyperparameters \u2014 the depth, width, dilation schedule, output-head structure, and naming scheme needed for the two implementations to be numerically compatible \u2014 rather than by transliterating Illumina&rsquo;s TensorFlow\/Keras source. <code>promoterai-torch<\/code>&rsquo;s own code is MIT-licensed.<\/p>\n<p>The original PromoterAI codebase is released under the <a class=\"link\" href=\"https:\/\/polyformproject.org\/licenses\/strict\/1.0.0\/\" target=\"_blank\" rel=\"noopener\"\n >PolyForm Strict License 1.0.0<\/a>, which permits noncommercial, research, and educational use but withholds the right to distribute the software or &ldquo;changes or new works based on&rdquo; it. Illumina&rsquo;s pretrained weights and precomputed variant scores are gated separately, under Illumina&rsquo;s own academic-only data license \u2014 see <a class=\"link\" href=\"https:\/\/github.com\/Illumina\/PromoterAI\" target=\"_blank\" rel=\"noopener\"\n >Illumina\/PromoterAI<\/a> for the license agreement and commercial-licensing contact (<code>AI_licensing@illumina.com<\/code>). This repo contains no Illumina code, models, or scores; if you convert and use the original weights yourself, you are responsible for complying with Illumina&rsquo;s terms. Converted checkpoints should not be redistributed.<\/p>\n<h2 id=\"acknowledgements\">Acknowledgements\n<\/h2><p>This work builds directly on the architecture and training protocol described by Illumina&rsquo;s PromoterAI team, and on <a class=\"link\" href=\"https:\/\/github.com\/jmschrei\/tangermeme\" target=\"_blank\" rel=\"noopener\"\n ><code>tangermeme<\/code><\/a> for attribution tooling.<\/p>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Jaganathan, K., Ersaro, N., Novakovsky, G. et al. Predicting expression-altering promoter mutations with deep learning. <em>Science<\/em> 389, eads7373 (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.ads7373\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1126\/science.ads7373<\/a><\/li>\n<li>Illumina\/PromoterAI (official TensorFlow implementation). <a class=\"link\" href=\"https:\/\/github.com\/Illumina\/PromoterAI\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/Illumina\/PromoterAI<\/a><\/li>\n<li>Schreiber, J. tangermeme: A toolkit for understanding cis-regulatory logic using deep learning models. <em>bioRxiv<\/em> (2025). <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2025.08.08.669296v2\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.biorxiv.org\/content\/10.1101\/2025.08.08.669296v2<\/a><\/li>\n<li>Huang, F. W., Hodis, E., Xu, M. J., Kryukov, G. V., Chin, L. &amp; Garraway, L. A. Highly recurrent TERT promoter mutations in human melanoma. <em>Science<\/em> 339, 957\u2013959 (2013). <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.1229259\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1126\/science.1229259<\/a><\/li>\n<li>Horn, S., Figl, A., Rachakonda, P. S. et al. TERT promoter mutations in familial and sporadic melanoma. <em>Science<\/em> 339, 959\u2013961 (2013). <a class=\"link\" href=\"https:\/\/doi.org\/10.1126\/science.1230062\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1126\/science.1230062<\/a><\/li>\n<li>Killela, P. J., Reitman, Z. J., Jiao, Y. et al. TERT promoter mutations occur frequently in gliomas and a subset of tumors derived from cells with low rates of self-renewal. <em>Proc Natl Acad Sci USA<\/em> 110, 6021\u20136026 (2013). <a class=\"link\" href=\"https:\/\/doi.org\/10.1073\/pnas.1303607110\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1073\/pnas.1303607110<\/a><\/li>\n<li>Bell, R. J. A., Rube, H. T., Xavier-Magalh\u00e3es, A. et al. Understanding TERT Promoter Mutations: A Common Path to Immortality. <em>Mol Cancer Res<\/em> 14, 315\u2013323 (2016). <a class=\"link\" href=\"https:\/\/doi.org\/10.1158\/1541-7786.MCR-16-0003\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1158\/1541-7786.MCR-16-0003<\/a><\/li>\n<li>Schreiber, J., Lorbeer, F. K., Heinzl, M., Reiter, F., Rafanel, B., Lu, Y., Stark, A. &amp; Noble, W. S. Programmatic design and editing of cis-regulatory elements. <em>bioRxiv<\/em> (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.04.22.650035\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2025.04.22.650035<\/a><\/li>\n<li>Avsec, \u017d., Agarwal, V., Visentin, D. et al. Effective gene expression prediction from sequence by integrating long-range interactions. <em>Nat Methods<\/em> 18, 1196\u20131203 (2021). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41592-021-01252-x<\/a><\/li>\n<li>Hingerl, J. C., Karollus, A. &amp; Gagneur, J. Flashzoi: an enhanced Borzoi for accelerated genomic analysis. <em>Bioinformatics<\/em> 41, btaf467 (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bioinformatics\/btaf467\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1093\/bioinformatics\/btaf467<\/a><\/li>\n<li>Bredikhin, D., Buendia, A., Kjellberg, M., Zou, C., Tu, X. &amp; Kundaje, A. Porting AlphaGenome to PyTorch. <em>Genomics x AI Blog<\/em> (2026). <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/genomicsxai.github.io\/blogs\/2026-004\/<\/a><\/li>\n<li>Ramirez, C., Aruva, A. M., Weng, Z. &amp; Schreiber, J. Cherimoya: a lightweight genomic sequence-to-function model built for large-scale design and understanding. <em>Genomics x AI Blog<\/em> (2026). <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/genomicsxai.github.io\/blogs\/2026-011\/<\/a><\/li>\n<\/ol>\n"},{"title":"[ENCODE GRAMMAR] Quickstart: Accessing and using the ENCODE GRAMMAR collection","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/","pubDate":"Tue, 04 Aug 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post [ENCODE GRAMMAR] Quickstart: Accessing and using the ENCODE GRAMMAR collection\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p><strong>ENCODE GRAMMAR<\/strong> (Genomic Regulatory Atlas of sequence Models, Motifs, Annotations and Rules) is a collection of 3,865 experiment-specific deep learning model sets and derived sequence annotations that connect the ENCODE project&rsquo;s human gene regulation maps from extensive biochemical profiling experiments to the underlying DNA sequence features that drive regulatory activity.<\/p>\n<p>This five-minute <strong>quickstart guide<\/strong> shows how to find an ENCODE GRAMMAR model-set and its associated annotation and load its most commonly used outputs into an interactive genome browser. By following the steps below, you will create a browser session displaying an experimentally observed regulatory profile, the corresponding model-predicted profile, and a base-resolution sequence-contribution map.<\/p>\n<p><strong>Contributions<\/strong>: <em>(Author order does not represent relative contribution)<\/em><\/p>\n<ul>\n<li>Vivekanandan Ramalingam<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vir@stanford.edu\" >vir@stanford.edu<\/a>): BPNet model optimization and training, data uploads, general analysis<\/li>\n<li>Chang M. Yun<sup>1<\/sup> (<a class=\"link\" href=\"mailto:chang.m.yun@stanford.edu\" >chang.m.yun@stanford.edu<\/a>): ChromBPNet model training, MotifCompendium analysis<\/li>\n<li>Vivian Hecht<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vhecht@stanford.edu\" >vhecht@stanford.edu<\/a>): ChromBPNet model training, model resource uploads, project management<\/li>\n<li>Aman Patel<sup>1<\/sup> (<a class=\"link\" href=\"mailto:patelas@stanford.edu\" >patelas@stanford.edu<\/a>): Model resource uploads<\/li>\n<li>Anusri Pampari<sup>1<\/sup> (<a class=\"link\" href=\"mailto:anusri@stanford.edu\" >anusri@stanford.edu<\/a>): ChromBPNet model development, ChromBPNet model training, data uploads<\/li>\n<li>Ziwei Chen<sup>1<\/sup> (<a class=\"link\" href=\"mailto:ziwei75@stanford.edu\" >ziwei75@stanford.edu<\/a>): ReporterNet model development, ReporterNet model training, ChromBPNet model training<\/li>\n<li>Kelly Cochran<sup>1<\/sup> (<a class=\"link\" href=\"mailto:kcochran@stanford.edu\" >kcochran@stanford.edu<\/a>): ProCapNet model development and training<\/li>\n<li>Adam He<sup>1<\/sup> (<a class=\"link\" href=\"mailto:ayhe@stanford.edu\" >ayhe@stanford.edu<\/a>): ProCapNet user guide<\/li>\n<li>Surag Nair<sup>1<\/sup> (<a class=\"link\" href=\"mailto:surag@stanford.edu\" >surag@stanford.edu<\/a>), Zahoor Zafrulla<sup>1<\/sup> (<a class=\"link\" href=\"mailto:zahoor@stanford.edu\" >zahoor@stanford.edu<\/a>), Alex Tseng<sup>1<\/sup> (<a class=\"link\" href=\"mailto:amtseng@stanford.edu\" >amtseng@stanford.edu<\/a>): BPNet refactoring<\/li>\n<li>Avanti Shrikumar<sup>1<\/sup> (<a class=\"link\" href=\"mailto:avanti@stanford.edu\" >avanti@stanford.edu<\/a>), Jacob Schreiber<sup>1<\/sup> (<a class=\"link\" href=\"mailto:jmschr@stanford.edu\" >jmschr@stanford.edu<\/a>), Alex Tseng<sup>1<\/sup> (<a class=\"link\" href=\"mailto:amtseng@stanford.edu\" >amtseng@stanford.edu<\/a>): TF-MoDISco methods development and optimization<\/li>\n<li>Austin Wang<sup>1<\/sup> (<a class=\"link\" href=\"mailto:atwang@stanford.edu\" >atwang@stanford.edu<\/a>): FiNeMo methods development<\/li>\n<li>Salil Deshpande<sup>1<\/sup> (<a class=\"link\" href=\"mailto:salil512@stanford.edu\" >salil512@stanford.edu<\/a>), Chang M. Yun<sup>1<\/sup> (<a class=\"link\" href=\"mailto:chang.m.yun@stanford.edu\" >chang.m.yun@stanford.edu<\/a>): MotifCompendium methods development<\/li>\n<li>Abhimanyu Banerjee<sup>1<\/sup> (<a class=\"link\" href=\"mailto:manyu@stanford.edu\" >manyu@stanford.edu<\/a>), Georgi K. Marinov<sup>1<\/sup> (<a class=\"link\" href=\"mailto:marinovg@stanford.edu\" >marinovg@stanford.edu<\/a>): Zinc finger transcription factor analysis<\/li>\n<li>Chang M. Yun<sup>1<\/sup> (<a class=\"link\" href=\"mailto:chang.m.yun@stanford.edu\" >chang.m.yun@stanford.edu<\/a>), Vivian Hecht<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vhecht@stanford.edu\" >vhecht@stanford.edu<\/a>), Vivekanandan Ramalingam<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vir@stanford.edu\" >vir@stanford.edu<\/a>): Blog posts<\/li>\n<li>Anshul Kundaje<sup>1<\/sup>* (<a class=\"link\" href=\"mailto:akundaje@stanford.edu\" >akundaje@stanford.edu<\/a>): Conceptualization, Project management, Mentoring, Funding, Blog post editing<\/li>\n<\/ul>\n<p><em><sup>1<\/sup>Stanford University, *Correspondence.<\/em><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n\n <blockquote>\n <p>This is the second post in a series on <strong>ENCODE GRAMMAR<\/strong>. The series will cover:<\/p>\n<ol>\n<li><a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/\" target=\"_blank\" rel=\"noopener\"\n >ENCODE GRAMMAR: The ENCODE deep learning model resource for decoding the DNA sequence logic of genomic regulatory elements<\/a><\/li>\n<li><strong>Accessing and using the ENCODE GRAMMAR collection: A quickstart guide (this post)<\/strong><\/li>\n<li>Interpreting regulatory DNA with deep learning models<\/li>\n<li>The transcription factor binding GRAMMAR resource<\/li>\n<li>The chromatin accessibility GRAMMAR resource<\/li>\n<li>Predicting the effects of noncoding genetic variants<\/li>\n<li>MotifCompendium - a unified lexicon of regulatory sequence motifs<\/li>\n<li>Contrasting regulatory sequence codes across assays and cell types<\/li>\n<li>Building a production-scale model atlas in an academic setting<\/li>\n<\/ol>\n\n <\/blockquote>\n<h2 id=\"quick-start-guide-5-min\">Quick-start guide (5 min)\n<\/h2><p>ENCODE GRAMMAR transforms individual ENCODE experiments into experiment-specific BPNet-family model sets together with predicted regulatory profiles, sequence-contribution maps, predictive motifs, motif instances, and variant-effect predictions. Readers who are new to the resource may wish to begin with the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/\" target=\"_blank\" rel=\"noopener\"\n ><strong>ENCODE GRAMMAR overview<\/strong><\/a>, which explains the biological motivation, model families, interpretation workflow, and complete collection of released products.<\/p>\n<p>Below, we explain how to navigate an ENCODE GRAMMAR model-set annotation page and load several commonly used model outputs into the WashU Epigenome Browser. Visualizing these tracks is a useful first step before designing larger-scale quantitative analyses.<\/p>\n<p>We use the example of a <strong>ChromBPNet model set generated from an ATAC-seq experiment in K562 cells (ENCSR893SUD)<\/strong>.<\/p>\n<h3 id=\"step-1-find-the-model-set-annotation-page\">Step 1: Find the model-set annotation page\n<\/h3><p>Open the ChromBPNet model-set annotation for K562 ATAC-seq: <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/annotations\/ENCSR893SUD\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.encodeproject.org\/annotations\/ENCSR893SUD\/<\/a>.<\/p>\n<p>Model-set annotations associated with an experiment can also be found from the corresponding experiment summary page.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig1.png\" class=\"image-link\" data-pswp-width=\"1033\" data-pswp-height=\"704\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig1.png.optimized.webp\" width=\"1033\" height=\"704\"loading=\"lazy\"\n\t\t\talt=\"Figure 1\"\n\t\t\tdata-title-escaped=\"ENCODE Portal annotation page for the K562 ATAC-seq ChromBPNet model set ENCSR893SUD.\" class=\"gallery-image\" data-flex-grow=\"146\" data-flex-basis=\"352px\">\n\t\t<\/a><figcaption>ENCODE Portal annotation page for the K562 ATAC-seq ChromBPNet model set ENCSR893SUD.<\/figcaption><\/figure><p>A searchable list of all ENCODE annotations is available at <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/annotations\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.encodeproject.org\/annotations\/<\/a>.<\/p>\n<h3 id=\"step-2-find-the-files-of-interest\">Step 2: Find the files of interest\n<\/h3><p>Scroll to the middle of the annotation page and select the <strong>File details<\/strong> tab to browse the available files.<\/p>\n<p>For an initial exploration of a ChromBPNet model set, we recommend viewing three complementary tracks:<\/p>\n<ol>\n<li>the <strong>normalized observed signal profile<\/strong>, representing the experimentally measured chromatin-accessibility profile;<\/li>\n<li>the <strong>normalized predicted signal profile<\/strong>, representing the regulatory profile predicted by ChromBPNet from DNA sequence; and<\/li>\n<li>the <strong>counts sequence-contribution scores<\/strong>, estimating how much each DNA base contributes to the model&rsquo;s prediction of total accessibility.<\/li>\n<\/ol>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig2-3.png\" class=\"image-link\" data-pswp-width=\"3299\" data-pswp-height=\"2250\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig2-3.png.optimized.webp\" width=\"3299\" height=\"2250\"loading=\"lazy\"\n\t\t\talt=\"Figure 2\"\n\t\t\tdata-title-escaped=\"File details tab for the K562 ATAC-seq ChromBPNet model set ENCSR893SUD.\" class=\"gallery-image\" data-flex-grow=\"146\" data-flex-basis=\"351px\">\n\t\t<\/a><figcaption>File details tab for the K562 ATAC-seq ChromBPNet model set ENCSR893SUD.<\/figcaption><\/figure><p>The following steps require the URLs of these bigWig files. Right-click the <strong>download icon<\/strong> beside a file and select <strong>Copy link address<\/strong>. The links for this example are provided here:<\/p>\n<ul>\n<li><strong>Normalized observed signal profile<\/strong>: <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/files\/ENCFF880ZUI\/@@download\/ENCFF880ZUI.bigWig\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.encodeproject.org\/files\/ENCFF880ZUI\/@@download\/ENCFF880ZUI.bigWig<\/a><\/li>\n<li><strong>Normalized predicted signal profile<\/strong>: <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/files\/ENCFF296ICJ\/@@download\/ENCFF296ICJ.bigWig\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.encodeproject.org\/files\/ENCFF296ICJ\/@@download\/ENCFF296ICJ.bigWig<\/a><\/li>\n<li><strong>Counts sequence contribution scores<\/strong>: <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/files\/ENCFF407GCO\/@@download\/ENCFF407GCO.bigWig\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.encodeproject.org\/files\/ENCFF407GCO\/@@download\/ENCFF407GCO.bigWig<\/a><\/li>\n<\/ul>\n<p>This quickstart focuses on these three tracks. Additional ENCODE GRAMMAR products, including predictive motif-instance annotations, can be accessed through the ENCODE Portal and the UCSC Track Hub linked below.<\/p>\n<p>For descriptions of the complete collection of files and model-derived products, see the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/\" target=\"_blank\" rel=\"noopener\"\n ><strong>ENCODE GRAMMAR overview<\/strong><\/a> and the <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.07.06.731365\" target=\"_blank\" rel=\"noopener\"\n ><strong>ENCODE 4 preprint<\/strong><\/a>.<\/p>\n<h3 id=\"step-3-load-the-bigwigs-into-the-washu-genome-browser\">Step 3: Load the bigwigs into the WashU genome browser\n<\/h3><p>Navigate to the <a class=\"link\" href=\"https:\/\/epigenomegateway.wustl.edu\/browser2022\/\" target=\"_blank\" rel=\"noopener\"\n >WashU Epigenome Browser<\/a>. On the home page, find the <strong>Human<\/strong> section and select <strong>hg38<\/strong> to open a new browser session.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig3.png\" class=\"image-link\" data-pswp-width=\"1252\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig3.png.optimized.webp\" width=\"1252\" height=\"550\"loading=\"lazy\"\n\t\t\talt=\"Figure 3\"\n\t\t\tdata-title-escaped=\"WashU Epigenome Browser home page with the human hg38 genome assembly selected.\" class=\"gallery-image\" data-flex-grow=\"227\" data-flex-basis=\"546px\">\n\t\t<\/a><figcaption>WashU Epigenome Browser home page with the human hg38 genome assembly selected.<\/figcaption><\/figure><p>In the new browser session, select the <strong>Tracks<\/strong> icon at the top of the page and then choose <strong>Remote Tracks<\/strong> from the dropdown menu.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig4.png\" class=\"image-link\" data-pswp-width=\"1224\" data-pswp-height=\"270\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig4.png.optimized.webp\" width=\"1224\" height=\"270\"loading=\"lazy\"\n\t\t\talt=\"Figure 4\"\n\t\t\tdata-title-escaped=\"Opening the Remote Tracks menu in the WashU Epigenome Browser.\" class=\"gallery-image\" data-flex-grow=\"453\" data-flex-basis=\"1088px\">\n\t\t<\/a><figcaption>Opening the Remote Tracks menu in the WashU Epigenome Browser.<\/figcaption><\/figure><p>A window for adding remote tracks will appear:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig5.png\" class=\"image-link\" data-pswp-width=\"1214\" data-pswp-height=\"259\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig5.png.optimized.webp\" width=\"1214\" height=\"259\"loading=\"lazy\"\n\t\t\talt=\"Figure 5\"\n\t\t\tdata-title-escaped=\"WashU Epigenome Browser window for adding remote tracks.\" class=\"gallery-image\" data-flex-grow=\"468\" data-flex-basis=\"1124px\">\n\t\t<\/a><figcaption>WashU Epigenome Browser window for adding remote tracks.<\/figcaption><\/figure><p>First, add the <strong>normalized observed signal profile<\/strong> and <strong>normalized predicted signal profile<\/strong>:<\/p>\n<ol>\n<li>Copy and paste the first URL from Step 2.<\/li>\n<li>Add an informative label, such as <code>Observed accessibility<\/code>.<\/li>\n<li>Click <strong>Submit<\/strong>.<\/li>\n<li>Click <strong>Add another track<\/strong> and repeat the process for the predicted profile, using a label such as <code>ChromBPNet predicted accessibility<\/code>.<\/li>\n<\/ol>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig6.png\" class=\"image-link\" data-pswp-width=\"98\" data-pswp-height=\"60\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig6.png.optimized.webp\" width=\"98\" height=\"60\"loading=\"lazy\"\n\t\t\talt=\"Figure 6\"\n\t\t\tdata-title-escaped=\"Submitting a remote bigWig track to the WashU Epigenome Browser.\" class=\"gallery-image\" data-flex-grow=\"163\" data-flex-basis=\"392px\">\n\t\t<\/a><figcaption>Submitting a remote bigWig track to the WashU Epigenome Browser.<\/figcaption><\/figure>\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig7.png\" class=\"image-link\" data-pswp-width=\"261\" data-pswp-height=\"59\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig7.png.optimized.webp\" width=\"261\" height=\"59\"loading=\"lazy\"\n\t\t\talt=\"Figure 7\"\n\t\t\tdata-title-escaped=\"Selecting Add another track to load an additional remote file.\" class=\"gallery-image\" data-flex-grow=\"442\" data-flex-basis=\"1061px\">\n\t\t<\/a><figcaption>Selecting Add another track to load an additional remote file.<\/figcaption><\/figure><p>For the third bigWig\u2014the counts sequence-contribution scores\u2014change the track type to <strong>Dynseq<\/strong>. Select the <strong>Track type<\/strong> menu and choose <strong>Dynseq (dynamic sequence)<\/strong> from the list.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig8.png\" class=\"image-link\" data-pswp-width=\"1211\" data-pswp-height=\"318\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig8.png.optimized.webp\" width=\"1211\" height=\"318\"loading=\"lazy\"\n\t\t\talt=\"Figure 8\"\n\t\t\tdata-title-escaped=\"Selecting the Dynseq track type for a sequence-contribution bigWig.\" class=\"gallery-image\" data-flex-grow=\"380\" data-flex-basis=\"913px\">\n\t\t<\/a><figcaption>Selecting the Dynseq track type for a sequence-contribution bigWig.<\/figcaption><\/figure><p>Dynseq displays each nucleotide as a letter whose height and direction reflect its contribution score. Positive scores indicate bases that increase the model prediction relative to the reference, whereas negative scores indicate bases that decrease it. The nucleotide letters appear only after zooming in sufficiently. Clusters of bases with large contribution scores often correspond to predictive regulatory sequence features, including transcription-factor motif instances.<\/p>\n<p>Add an informative label, such as <code>Counts sequence-contribution map<\/code>, and submit the track.<\/p>\n<p>The completed browser session should resemble the example below, with the experimentally observed profile, model-predicted profile, and sequence-contribution map aligned at the same genomic locus:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig9.png\" class=\"image-link\" data-pswp-width=\"1275\" data-pswp-height=\"502\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/Fig9.png.optimized.webp\" width=\"1275\" height=\"502\"loading=\"lazy\"\n\t\t\talt=\"Figure 9\"\n\t\t\tdata-title-escaped=\"WashU Epigenome Browser session displaying observed and ChromBPNet-predicted accessibility profiles together with a base-resolution sequence-contribution map.\" class=\"gallery-image\" data-flex-grow=\"253\" data-flex-basis=\"609px\">\n\t\t<\/a><figcaption>WashU Epigenome Browser session displaying observed and ChromBPNet-predicted accessibility profiles together with a base-resolution sequence-contribution map.<\/figcaption><\/figure><p>For more information about configuring tracks, navigating loci, and sharing sessions, see the <a class=\"link\" href=\"https:\/\/epigenomegateway.readthedocs.io\/en\/latest\/usage.html\" target=\"_blank\" rel=\"noopener\"\n >WashU Epigenome Browser documentation<\/a>.<\/p>\n<h2 id=\"how-else-can-i-use-the-resources\">How else can I use the resources?\n<\/h2><p>All ENCODE data, model sets, and model-derived sequence annotations are openly available through the <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?type=Annotation&amp;annotation_type=BPNet-model&amp;annotation_type=ChromBPNet-model&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n ><strong>ENCODE Portal<\/strong><\/a>. The complete ENCODE GRAMMAR resource contains 3,865 experiment-specific model sets spanning TF binding, chromatin accessibility, transcription initiation, and high-throughput reporter activity.<\/p>\n<p>Additional access points include:<\/p>\n<ul>\n<li><strong>Model-sets and sequence annotations:<\/strong> Browse released <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=BPNet&amp;type=Annotation&amp;annotation_type=BPNet-model&amp;status=released&amp;assay_term_name=ChIP-seq\" target=\"_blank\" rel=\"noopener\"\n >BPNet model sets<\/a>, <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ChromBPNet&amp;type=Annotation&amp;annotation_type=ChromBPNet-model&amp;organism.scientific_name=Homo&#43;sapiens&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet model sets<\/a>, <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ProCapNet&amp;type=Annotation\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet model sets<\/a>, and <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ReporterNet&amp;type=Annotation&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n >ReporterNet model sets<\/a> on the ENCODE Portal.<\/li>\n<li><strong>HuggingFace model zoo:<\/strong> Download ENCODE GRAMMAR models from <a class=\"link\" href=\"https:\/\/huggingface.co\/collections\/kundajelab\/encode-bpnet-models\" target=\"_blank\" rel=\"noopener\"\n ><strong>Hugging Face<\/strong><\/a>.<\/li>\n<li><strong>Predictions and sequence annotations:<\/strong> Explore model predictions, sequence-contribution maps, and predictive motif instances through the <a class=\"link\" href=\"https:\/\/genome.ucsc.edu\/cgi-bin\/hgTracks?db=hg38&amp;hubUrl=https:\/\/kundajelab.github.io\/ucsc-trackhub-encode.github.io\/hub.txt\" target=\"_blank\" rel=\"noopener\"\n ><strong>UCSC Track Hub<\/strong><\/a>.<\/li>\n<li><strong>Unified motif lexicon:<\/strong> Access the <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/annotations\/ENCSR091GRD\/\" target=\"_blank\" rel=\"noopener\"\n ><strong>ENCODE Motif Compendium<\/strong><\/a>, which organizes related predictive motifs discovered across all ENCODE GRAMMAR models.<\/li>\n<li><strong>Software:<\/strong> Train and interpret new models using the open-source <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/bpnet\/\" target=\"_blank\" rel=\"noopener\"\n >BPNet<\/a>, <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/chrombpnet\/\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet<\/a>, and <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/ProCapNet\/\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet<\/a> repositories.<\/li>\n<li><strong>User guide:<\/strong> We are developing an <em>interactive<\/em> guide to help users navigate and interpret the resource (<em>work in progress<\/em>).<\/li>\n<li><strong>Overview and publications:<\/strong> Read the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/\" target=\"_blank\" rel=\"noopener\"\n >ENCODE GRAMMAR overview<\/a>, <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.07.06.731365\" target=\"_blank\" rel=\"noopener\"\n >ENCODE 4 preprint<\/a>, the <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >BPNet paper<\/a>, <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet preprint<\/a> and <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.05.28.596138\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet preprint<\/a> for additional detail.<\/li>\n<\/ul>\n<p>This quickstart covers only one way to explore the resource. Future (weekly) posts in this series will describe how to interpret sequence-contribution maps, compare predictive motifs across cellular contexts, and use the models to estimate the molecular effects of noncoding genetic variants.<\/p>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>The ENCODE Project Consortium et al. The Encyclopedia of DNA Elements. <em>bioRxiv<\/em> 2026.07.06.731365 (2026) (<a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.07.06.731365\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.64898\/2026.07.06.731365<\/a>)<\/li>\n<li>Yun, C. M. et al. A unified lexicon of predictive DNA sequence motifs from ENCODE transcription factor binding and chromatin accessibility assays. (2025) doi:10.5281\/zenodo.17179111. (<a class=\"link\" href=\"https:\/\/doi.org\/10.5281\/zenodo.17179111\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.5281\/zenodo.17179111<\/a>)<\/li>\n<li>Avsec, \u017d. et al. Base-resolution models of transcription-factor binding reveal soft motif syntax. <em>Nat Genet<\/em> 53, 354\u2014366 (2021). (<a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-021-00782-6<\/a>)<\/li>\n<li>Pampari, A. et al. ChromBPNet: bias factorized, base-resolution deep learning models of chromatin accessibility reveal cis-regulatory sequence syntax, transcription factor footprints and regulatory variants. <em>bioRxiv<\/em> 2024.12.25.630221 (2024). (<a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2024.12.25.630221<\/a>)<\/li>\n<li>Cochran, K. et al. Dissecting the cis-regulatory syntax of transcription initiation with deep learning. <em>bioRxiv<\/em> 2024.05.28.596138 (2024). (<a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.05.28.596138\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2024.05.28.596138<\/a>)<\/li>\n<li>Shrikumar, A., Greenside, P. &amp; Kundaje, A. Learning Important Features Through Propagating Activation Differences. <em>arXIV<\/em> (2019).(<a class=\"link\" href=\"https:\/\/doi.org\/10.48550\/arXiv.1704.02685\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.48550\/arXiv.1704.02685<\/a>)<\/li>\n<li>Lundberg, S. M. &amp; Lee, S.-I. A unified approach to interpreting model predictions. in <em>Proceedings of the 31st International Conference on Neural Information Processing Systems<\/em> 4768\u20134777 (Curran Associates Inc., Red Hook, NY, USA, 2017). (<a class=\"link\" href=\"https:\/\/dl.acm.org\/doi\/10.5555\/3295222.3295230\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/dl.acm.org\/doi\/10.5555\/3295222.3295230<\/a>)<\/li>\n<li>Shrikumar, A. et al. Technical Note on Transcription Factor Motif Discovery from Importance Scores (TF-MoDISco) version 0.5.6.5. <em>arXiv<\/em> (2020) (<a class=\"link\" href=\"https:\/\/doi.org\/10.48550\/arXiv.1811.00416\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.48550\/arXiv.1811.00416<\/a>).<\/li>\n<\/ol>\n"},{"title":"ENCODE GRAMMAR: A deep learning model resource for decoding the DNA sequence logic of regulatory elements in the human genome","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/","pubDate":"Tue, 04 Aug 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post ENCODE GRAMMAR: A deep learning model resource for decoding the DNA sequence logic of regulatory elements in the human genome\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>Over two decades, the Encyclopedia of DNA Elements (ENCODE) Consortium has used diverse functional genomics experiments to map millions of regions in the human and mouse genomes that help control when, where, and how strongly genes are turned on. These maps characterize the biochemical properties and activity of regulatory DNA elements across thousands of cell types and tissues. However, they do not fully explain how this activity is encoded in the DNA sequence itself: which individual DNA letters are important, how combinations and arrangements of letters cause a region to behave differently across cell types, or how a genetic variant might alter its activity.<\/p>\n<p>To help answer these questions, we developed a family of deep learning models that use DNA sequences as inputs to predict associated genome-wide biochemical activity measured by diverse experiments. We also developed a framework of model interpretation methods, allowing us to identify the sequence features and regulatory rules that drive model predictions.<\/p>\n<p>Today, we release <strong>GRAMMAR<\/strong> (Genomic Regulatory Atlas of sequence Models, Motifs, Annotations and Rules), a collection of 3,865 experiment-specific model sets across the ENCODE data compendium spanning several layers of gene regulation, including the binding of regulatory proteins to DNA, chromatin accessibility, transcription initiation, and regulatory activity measured using high-throughput reporter assays. For each experiment, we also release model-predicted, de-noised biochemical activity profiles at single-base resolution; predicted contributions of individual DNA bases to the activity of each regulatory element in each cellular context; recurring predictive DNA patterns (motifs) learned by the models; the genomic locations of predictive motif instances; and genome-browser tracks that make these outputs easy to visualize and explore.<\/p>\n<p>Together, these resources transform thousands of ENCODE experiments into a reusable and interpretable atlas of the cell-context-specific DNA sequence rules that shape gene regulation in the human genome. In this first post of a broader series, we introduce the ENCODE GRAMMAR resource and show how predictions and sequence annotations derived from multiple models can be integrated to decode the sequence basis of regulatory element activity.<\/p>\n<p><strong>Contributions<\/strong>: <em>(Author order does not represent relative contribution)<\/em><\/p>\n<ul>\n<li>Vivekanandan Ramalingam<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vir@stanford.edu\" >vir@stanford.edu<\/a>): BPNet model optimization and training, data uploads, general analysis<\/li>\n<li>Chang M. Yun<sup>1<\/sup> (<a class=\"link\" href=\"mailto:chang.m.yun@stanford.edu\" >chang.m.yun@stanford.edu<\/a>): ChromBPNet model training, MotifCompendium analysis<\/li>\n<li>Vivian Hecht<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vhecht@stanford.edu\" >vhecht@stanford.edu<\/a>): ChromBPNet model training, model resource uploads, project management<\/li>\n<li>Aman Patel<sup>1<\/sup> (<a class=\"link\" href=\"mailto:patelas@stanford.edu\" >patelas@stanford.edu<\/a>): Model resource uploads<\/li>\n<li>Anusri Pampari<sup>1<\/sup> (<a class=\"link\" href=\"mailto:anusri@stanford.edu\" >anusri@stanford.edu<\/a>): ChromBPNet model development, ChromBPNet model training, data uploads<\/li>\n<li>Ziwei Chen<sup>1<\/sup> (<a class=\"link\" href=\"mailto:ziwei75@stanford.edu\" >ziwei75@stanford.edu<\/a>): ReporterNet model development, ReporterNet model training, ChromBPNet model training<\/li>\n<li>Kelly Cochran<sup>1<\/sup> (<a class=\"link\" href=\"mailto:kcochran@stanford.edu\" >kcochran@stanford.edu<\/a>): ProCapNet model development and training<\/li>\n<li>Adam He<sup>1<\/sup> (<a class=\"link\" href=\"mailto:ayhe@stanford.edu\" >ayhe@stanford.edu<\/a>): ProCapNet user guide<\/li>\n<li>Surag Nair<sup>1<\/sup> (<a class=\"link\" href=\"mailto:surag@stanford.edu\" >surag@stanford.edu<\/a>), Zahoor Zafrulla<sup>1<\/sup> (<a class=\"link\" href=\"mailto:zahoor@stanford.edu\" >zahoor@stanford.edu<\/a>), Alex Tseng<sup>1<\/sup> (<a class=\"link\" href=\"mailto:amtseng@stanford.edu\" >amtseng@stanford.edu<\/a>): BPNet refactoring<\/li>\n<li>Avanti Shrikumar<sup>1<\/sup> (<a class=\"link\" href=\"mailto:avanti@stanford.edu\" >avanti@stanford.edu<\/a>), Jacob Schreiber<sup>1<\/sup> (<a class=\"link\" href=\"mailto:jmschr@stanford.edu\" >jmschr@stanford.edu<\/a>), Alex Tseng<sup>1<\/sup> (<a class=\"link\" href=\"mailto:amtseng@stanford.edu\" >amtseng@stanford.edu<\/a>): TF-MoDISco methods development and optimization<\/li>\n<li>Austin Wang<sup>1<\/sup> (<a class=\"link\" href=\"mailto:atwang@stanford.edu\" >atwang@stanford.edu<\/a>): FiNeMo methods development<\/li>\n<li>Salil Deshpande<sup>1<\/sup> (<a class=\"link\" href=\"mailto:salil512@stanford.edu\" >salil512@stanford.edu<\/a>), Chang M. Yun<sup>1<\/sup> (<a class=\"link\" href=\"mailto:chang.m.yun@stanford.edu\" >chang.m.yun@stanford.edu<\/a>): MotifCompendium methods development<\/li>\n<li>Abhimanyu Banerjee<sup>1<\/sup> (<a class=\"link\" href=\"mailto:manyu@stanford.edu\" >manyu@stanford.edu<\/a>), Georgi K. Marinov<sup>1<\/sup> (<a class=\"link\" href=\"mailto:marinovg@stanford.edu\" >marinovg@stanford.edu<\/a>): Zinc finger transcription factor analysis<\/li>\n<li>Chang M. Yun<sup>1<\/sup> (<a class=\"link\" href=\"mailto:chang.m.yun@stanford.edu\" >chang.m.yun@stanford.edu<\/a>), Vivian Hecht<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vhecht@stanford.edu\" >vhecht@stanford.edu<\/a>), Vivekanandan Ramalingam<sup>1<\/sup> (<a class=\"link\" href=\"mailto:vir@stanford.edu\" >vir@stanford.edu<\/a>): Blog posts<\/li>\n<li>Anshul Kundaje<sup>1<\/sup>* (<a class=\"link\" href=\"mailto:akundaje@stanford.edu\" >akundaje@stanford.edu<\/a>): Conceptualization, Project management, Mentoring, Funding, Blog post editing<\/li>\n<\/ul>\n<p><em><sup>1<\/sup>Stanford University, *Correspondence.<\/em><\/p>\n\n <\/div>\n<\/aside>\n\n\n <blockquote>\n <p>This is the first post in a series on <strong>ENCODE GRAMMAR<\/strong>. The series will cover:<\/p>\n<ol>\n<li><strong>ENCODE GRAMMAR: The ENCODE deep learning model resource for decoding the DNA sequence logic of genomic regulatory elements (this post)<\/strong><\/li>\n<li>Accessing and using the ENCODE GRAMMAR collection: A quickstart guide<\/li>\n<li>Interpreting regulatory DNA with deep learning models<\/li>\n<li>The transcription factor binding GRAMMAR resource<\/li>\n<li>The chromatin accessibility GRAMMAR resource<\/li>\n<li>Predicting the effects of noncoding genetic variants<\/li>\n<li>MotifCompendium - a unified lexicon of regulatory sequence motifs<\/li>\n<li>Contrasting regulatory sequence codes across assays and cell types<\/li>\n<li>Building a production-scale model atlas in an academic setting<\/li>\n<\/ol>\n\n <\/blockquote>\n<hr>\n<h2 id=\"the-genome-encodes-a-regulatory-control-system\">The genome encodes a regulatory control system\n<\/h2><p>The <strong>human genome<\/strong> is the complete set of instructions encoded in DNA and carried by nearly every cell in the body. It contains about 3.2 billion DNA base pairs, built from four nucleotide bases represented by the letters A, C, G, and T. Although human genomes are overwhelmingly similar, their DNA sequences differ at millions of positions across individuals. These differences, known as <strong>genetic variants<\/strong>, contribute to human diversity and can influence traits and disease risk.<\/p>\n<p>The human body contains hundreds of distinct cell types\u2014including neurons, liver cells, and immune cells\u2014with very different morphology and functions. Yet nearly all cells within an individual contain essentially the same genome. How can the same DNA sequence produce such remarkable cellular diversity?<\/p>\n<p><strong>Genes<\/strong> are segments of DNA that contain instructions for producing <strong>RNA<\/strong> molecules, some of which are translated into proteins. The transcription of genes into RNA is tightly regulated: different genes are expressed at different levels, in different cell types, and at different times. These distinct patterns of gene expression allow cells with the same genome to acquire different identities and perform specialized functions. Precise regulation of gene expression is therefore essential for development, normal cellular function, and responses to the environment.<\/p>\n<p>Much of this control is encoded in <strong>regulatory elements<\/strong>\u2014regions of DNA that help determine when, where, and how strongly genes are expressed. <strong>Promoters<\/strong> are regulatory elements found at or near the sites where gene transcription begins and help recruit the molecular machinery that produces RNA. Other regulatory elements, such as distal <strong>enhancers<\/strong>, can act over hundreds of kilobases, boosting transcription of target gene promoters they contact through three-dimensional folding of the genome.<\/p>\n<p>DNA is packaged with proteins into <strong>chromatin<\/strong>, which influences how accessible different regions of the genome are to the cellular machinery. Regulatory proteins called <strong>transcription factors<\/strong> (TFs), recognize and bind specific short DNA sequence patterns, or <strong>motifs<\/strong>, within regulatory elements and help increase or decrease gene expression by recruiting or blocking the machinery that carries out transcription. Chromatin accessibility and TF binding influence one another: exposed DNA is easier for regulatory proteins to reach, while some proteins can also open or reorganize chromatin.<\/p>\n<p>Different cell types express different combinations of TFs and maintain different chromatin states across the genome. As a result, different cell types engage different repertoires of regulatory elements producing distinct patterns of gene expression, despite containing essentially the same genomic DNA sequence. Genetic variants within regulatory elements can alter transcription-factor binding or other regulatory activity, potentially changing gene expression in particular cellular contexts. Disruption of this regulatory system can interfere with development and cellular function and contribute to disease.<\/p>\n<p align=\"center\"><em>How does the same genome give rise to diverse cell types and gene-expression programs?.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/intro.png\" class=\"image-link\" data-pswp-width=\"10166\" data-pswp-height=\"5185\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/intro.png.optimized.webp\" width=\"600px\" height=\"306\"loading=\"lazy\"\n\t\t\talt=\"Figure: Introduction to genome regulation\"\n\t\t\tdata-title-escaped=\"How the same genome gives rise to diverse cell types and gene-expression programs: (1) Nearly all cells in an individual contain essentially the same genome, yet cell types such as neurons, hepatocytes, and immune cells have distinct structures and functions. (2) The human genome consists of approximately 3.2 billion DNA base pairs, encoded by the nucleotide bases A, C, G, and T and packaged with proteins into chromatin. Human genomes differ at millions of positions. The example illustrates a single-nucleotide genetic variant in which one DNA base is replaced by another. (3) Regulatory elements help determine when, where, and how strongly genes are expressed. Enhancers can increase transcription, promoters mark regions where transcription is initiated, and genes are transcribed into RNA. (4) Regulatory activity depends on both DNA sequence and chromatin state. In accessible chromatin, transcription factors (TFs) bind specific sequence motifs within regulatory elements and regulate RNA polymerase II which transcribes DNA into RNA. In less accessible chromatin, densely positioned nucleosomes can restrict TF and polymerase access, reducing or preventing transcription. The motif examples illustrate that different transcription factors recognize different DNA sequence patterns. (5) Because cell types express different TF combinations and maintain different chromatin states, the same regulatory elements and genes can have different activities across cellular contexts. The bar plots illustrate distinct expression levels of three genes in neurons, liver cells, and immune cells. Together, these mechanisms allow the same genome to generate diverse, cell-type-specific patterns of gene expression.\">\n\t\t<\/a><figcaption>How the same genome gives rise to diverse cell types and gene-expression programs: (1) Nearly all cells in an individual contain essentially the same genome, yet cell types such as neurons, hepatocytes, and immune cells have distinct structures and functions. (2) The human genome consists of approximately 3.2 billion DNA base pairs, encoded by the nucleotide bases A, C, G, and T and packaged with proteins into chromatin. Human genomes differ at millions of positions. The example illustrates a single-nucleotide genetic variant in which one DNA base is replaced by another. (3) Regulatory elements help determine when, where, and how strongly genes are expressed. Enhancers can increase transcription, promoters mark regions where transcription is initiated, and genes are transcribed into RNA. (4) Regulatory activity depends on both DNA sequence and chromatin state. In accessible chromatin, transcription factors (TFs) bind specific sequence motifs within regulatory elements and regulate RNA polymerase II which transcribes DNA into RNA. In less accessible chromatin, densely positioned nucleosomes can restrict TF and polymerase access, reducing or preventing transcription. The motif examples illustrate that different transcription factors recognize different DNA sequence patterns. (5) Because cell types express different TF combinations and maintain different chromatin states, the same regulatory elements and genes can have different activities across cellular contexts. The bar plots illustrate distinct expression levels of three genes in neurons, liver cells, and immune cells. Together, these mechanisms allow the same genome to generate diverse, cell-type-specific patterns of gene expression.<\/figcaption><\/figure><p>To understand how the genome encodes gene regulation, we therefore need to:<\/p>\n<ul>\n<li>map the genomic locations of candidate regulatory elements;<\/li>\n<li>measure their biochemical activity (e.g. transcription-factor binding and chromatin state), and associated gene expression across cell types and conditions;<\/li>\n<li>determine which DNA bases within regulatory elements are important and how their combinations and arrangements control different types of biochemical activity in different cell types; and<\/li>\n<li>determine how genetic variants alter biochemical activity in different cellular contexts.<\/li>\n<\/ul>\n<h2 id=\"encode-an-encyclopedia-of-dna-elements-across-thousands-of-cell-types\">ENCODE: An Encyclopedia of DNA Elements across thousands of cell types\n<\/h2><p>Over the past two decades, the <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/\" target=\"_blank\" rel=\"noopener\"\n ><strong>Encyclopedia of DNA Elements<\/strong> (<strong>ENCODE<\/strong>) Consortium<\/a> has made major progress toward the first two goals. Using a broad range of genome-wide functional genomics experiments, ENCODE has mapped millions of candidate regulatory elements in the human and mouse genomes by characterizing their biochemical activity across diverse cell types, tissues, developmental stages, and conditions.<\/p>\n<p>These experiments measure complementary layers of gene regulation, including where TFs bind DNA, which regions of chromatin are accessible, where transcription begins, and which genes are expressed. Together, they provide detailed maps of where regulatory activity occurs and how it differs across cellular contexts. We briefly describe some of the key experimental assays below.<\/p>\n<p><strong>Transcription factor ChIP-seq<\/strong> (transcription factor chromatin immunoprecipitation followed by sequencing) maps where a particular TF binds the genome in a specific cell type. Cells are treated so that proteins remain attached to the DNA they occupy, the DNA is fragmented, and an antibody is used to isolate fragments bound by the TF of interest. These fragments are sequenced on a high-throughput sequencer and mapped to the genome to identify their likely locations, which produces concentrations of reads, or <strong>peaks<\/strong>, at genomic regions enriched for binding by that TF. TF ChIP-seq peak regions are often statistically enriched for recurring short DNA sequence patterns, called motifs, that typically mediate the binding of the TF to DNA. However, each TF ChIP\u2013seq experiment profiles only one TF in one cellular context. Systematically measuring the binding of the roughly 2,000 human TFs across all cell types and conditions would therefore be prohibitively laborious and expensive.<\/p>\n<p align=\"center\"><em>Transcription factor ChIP-seq experiments.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/TFChIP.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/TFChIP.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: TF ChIP-seq\"\n\t\t\tdata-title-escaped=\"A transcription factor (TF) ChIP-seq experiment profiles genomic binding sites of a TF: (1) A TF binds specific regulatory DNA elements across the genome. (2) The DNA is randomly fragmented, (3) an antibody specific to the TF binds the resulting TF\u2013DNA complexes. (3) These complexes are selectively isolated, (4) the associated DNA fragments are purified and sequenced, and (5) the sequencing reads are mapped back to the genome. (6) Regions where many reads accumulate appear as peaks centered around sites occupied by the transcription factor.\">\n\t\t<\/a><figcaption>A transcription factor (TF) ChIP-seq experiment profiles genomic binding sites of a TF: (1) A TF binds specific regulatory DNA elements across the genome. (2) The DNA is randomly fragmented, (3) an antibody specific to the TF binds the resulting TF\u2013DNA complexes. (3) These complexes are selectively isolated, (4) the associated DNA fragments are purified and sequenced, and (5) the sequencing reads are mapped back to the genome. (6) Regions where many reads accumulate appear as peaks centered around sites occupied by the transcription factor.<\/figcaption><\/figure><p><strong>DNase-seq<\/strong> and <strong>ATAC-seq<\/strong> experiments partly address this limitation by providing a genome-wide map of regions of accessible chromatin which are often regulatory elements occupied by combinations of TFs and other regulatory proteins. So a single accessibility experiment can highlight regulatory elements bound by many factors in a given cellular context, although it does not directly identify which proteins are bound. DNase\u2013seq uses the enzyme DNase I to cut exposed DNA, whereas ATAC\u2013seq uses the Tn5 transposase to insert sequencing adapters into accessible DNA. The resulting DNA fragments are sequenced and mapped to the genome. Regions containing many mapped fragments appear as peaks of chromatin accessibility. DNase I and Tn5 also have preferences for particular DNA sequences, so the observed signal profiles reflect both genuine chromatin accessibility and assay-specific sequence bias. Separating these components is especially important when interpreting the signal at single-base resolution.<\/p>\n<p align=\"center\"><em>DNase-seq and ATAC-seq chromatin accessibility experiments.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/ChromatinAccessibility.gif\" class=\"image-link\" data-pswp-width=\"1920\" data-pswp-height=\"1080\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/ChromatinAccessibility.gif\" width=\"600px\" height=\"337\"loading=\"lazy\"\n\t\t\talt=\"Figure: DNase-seq, ATAC-seq\"\n\t\t\tdata-title-escaped=\"DNase-seq and ATAC-seq experiments profile regions of accessible chromatin: (1) DNA wrapped around histone proteins is relatively inaccessible, whereas (2) exposed DNA can be cut by DNase-I in DNase-seq or Tn5 transposase in ATAC-seq. These enzymes preferentially act on accessible DNA, and the resulting fragments are isolated, (3) sequenced, and mapped back to the genome. (4) Regions where many fragments accumulate appear as peaks of chromatin accessibility.\">\n\t\t<\/a><figcaption>DNase-seq and ATAC-seq experiments profile regions of accessible chromatin: (1) DNA wrapped around histone proteins is relatively inaccessible, whereas (2) exposed DNA can be cut by DNase-I in DNase-seq or Tn5 transposase in ATAC-seq. These enzymes preferentially act on accessible DNA, and the resulting fragments are isolated, (3) sequenced, and mapped back to the genome. (4) Regions where many fragments accumulate appear as peaks of chromatin accessibility.<\/figcaption><\/figure><p>However, TF binding and chromatin accessibility do not necessarily lead to productive downstream regulatory effects such as transcription. Additional assays are therefore needed to measure where transcription initiates and whether candidate DNA sequences can directly drive regulatory activity.<\/p>\n<p><strong>PRO-cap<\/strong> experiments map the precise genomic positions at which transcription initiates across the genome. It enriches for and sequences the capped 5\u2032 ends of newly synthesized RNAs, producing base-resolution, strand-specific maps of active transcription initiation. PRO-cap can identify initiation at both gene promoters and transcribed regulatory elements, while the number of reads beginning at a site provides a measure of its relative initiation activity.<\/p>\n<p><strong>Massively parallel reporter assays (MPRAs)<\/strong> directly test the regulatory potential of thousands of DNA sequences in parallel. Each candidate sequence is placed alongside a reporter gene in a synthetic construct, typically together with a sequence barcode that identifies it. After the constructs are introduced into cells, regulatory activity is commonly measured by comparing the abundance of each barcode in reporter RNA with its abundance in the input DNA library. Sequences that produce more reporter RNA have greater regulatory activity in that assay and cellular context. Because the sequences are generally tested outside their native genomic locations, MPRAs measure regulatory potential in the reporter system rather than fully reproducing their endogenous functions.<\/p>\n<p>Together, these assays measure complementary layers of gene regulation. TF ChIP-seq identifies where individual TFs bind; DNase-seq and ATAC-seq reveal accessible regulatory DNA; PRO-cap pinpoints sites of active transcription initiation; and MPRAs directly test whether particular DNA sequences can drive regulatory activity.<\/p>\n<p>ENCODE has completed and released more than 16,000 genome-wide assays across thousands of biological samples, including cell lines, primary cells, tissues, differentiated cells, and experimentally perturbed samples from humans and mice. These data are processed using standardized pipelines and made publicly available through the <a class=\"link\" href=\"https:\/\/encodeproject.org\" target=\"_blank\" rel=\"noopener\"\n >ENCODE portal<\/a>.<\/p>\n<p>By integrating evidence from these and many other assays, ENCODE has mapped more than 5 million accessible chromatin elements in the human genome. Approximately 2.4 million of these are classified as **<a class=\"link\" href=\"https:\/\/screen.wenglab.org\/\" target=\"_blank\" rel=\"noopener\"\n >candidate cis-regulatory elements (cCREs)**<\/a> because they are also supported by additional biochemical signatures of regulatory activity. The ENCODE consortium recently released a preprint describing the entire compendium developed over two decades including many new datasets and derived analysis products from the fourth and final phase of the project <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2026.07.06.731365v1\" target=\"_blank\" rel=\"noopener\"\n >ENCODE 4<\/a>.<\/p>\n<p align=\"center\"><em>The ENCODE data cube.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/ENCODE_cube.png\" class=\"image-link\" data-pswp-width=\"1440\" data-pswp-height=\"810\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/ENCODE_cube.png.optimized.webp\" width=\"1440\" height=\"810\"loading=\"lazy\"\n\t\t\talt=\"Figure: ENCODE cube\"\n\t\t\tdata-title-escaped=\"The ENCODE data cube: ENCODE comprises 1000s of datasets spanning 3 dimensions. (1) Biochemical assays measure diverse layers of genome function, including TF binding, chromatin accessibility, histone modifications, transcription initiation and nascent transcription, RNA expression, DNA methylation, and 3D long-range chromatin interactions. (2) Genomic coordinates place each measurement across approximately 3 billion positions in the human genome, producing signal tracks that can be compared at the same loci. (3) Biological contexts include cell lines, primary cells, tissues, developmental stages, and experimentally perturbed samples. The grid is schematic and does not imply that every possible combination has been experimentally profiled.\" class=\"gallery-image\" data-flex-grow=\"177\" data-flex-basis=\"426px\">\n\t\t<\/a><figcaption>The ENCODE data cube: ENCODE comprises 1000s of datasets spanning 3 dimensions. (1) Biochemical assays measure diverse layers of genome function, including TF binding, chromatin accessibility, histone modifications, transcription initiation and nascent transcription, RNA expression, DNA methylation, and 3D long-range chromatin interactions. (2) Genomic coordinates place each measurement across approximately 3 billion positions in the human genome, producing signal tracks that can be compared at the same loci. (3) Biological contexts include cell lines, primary cells, tissues, developmental stages, and experimentally perturbed samples. The grid is schematic and does not imply that every possible combination has been experimentally profiled.<\/figcaption><\/figure><p>Together, these experiments address two foundational goals: mapping regulatory elements throughout the genome and characterizing their biochemical activity and properties across cellular contexts. Yet these maps do not explain how DNA sequence mediates the diverse types of biochemical activity across the genome and their cell-type specificity. Important questions remain:<\/p>\n<ul>\n<li>Which individual DNA bases and sequence motifs within a regulatory element influence different types of biochemical activity (e.g. TF binding, accessibility) in a specific cell type?<\/li>\n<li>How do combinations and arrangements of these patterns determine biochemical activity?<\/li>\n<li>How does the same regulatory element behave differently across cell types?<\/li>\n<li>How might a genetic variant alter biochemical activity in a particular cellular context?<\/li>\n<\/ul>\n<p>Answering these questions requires moving beyond mapping regulatory elements to decoding the sequence rules that govern their activity.<\/p>\n<h2 id=\"the-bpnet-family-of-deep-learning-models-from-regulatory-maps-to-predictive-sequence-rules\">The BPNet family of deep learning models: From regulatory maps to predictive sequence rules\n<\/h2><p>We developed the <strong>BPNet family<\/strong> of deep learning models to address these questions. These neural networks use stacks of dilated residual convolutional layers to learn sequence features including TF motifs and their higher-order combinations and arrangements (called regulatory syntax) that can predict the biochemical activity measured by each experiment at every base, using up to approximately 2 kilobases of local DNA sequence context. Rather than simply classifying a region as active or inactive, BPNet models predict both the total amount of activity and the shape of the experimental signal at <strong>base-pair resolution<\/strong>. The deliberate choice of restricting the models to only use local-context makes them computationally efficient and amenable to robust sequence-level interpretation. Despite their compact architecture and restricted sequence context, these models are <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >quite competitive<\/a> with substantially larger models that use much longer genomic sequences.<\/p>\n<p>The ENCODE GRAMMAR model resource contains four related model families:<\/p>\n<ul>\n<li><strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/bpnet\" target=\"_blank\" rel=\"noopener\"\n >BPNet<\/a>:<\/strong> <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=BPNet&amp;type=Annotation&amp;annotation_type=BPNet-model&amp;status=released&amp;assay_term_name=ChIP-seq\" target=\"_blank\" rel=\"noopener\"\n >2,339 TF ChIP-seq model sets<\/a> spanning 788 transcription-factor targets.<\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/chrombpnet\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet<\/a>:<\/strong> <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ChromBPNet&amp;type=Annotation&amp;annotation_type=ChromBPNet-model&amp;organism.scientific_name=Homo&#43;sapiens&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n >1,512 DNase-seq and ATAC-seq model sets<\/a> across 408 biosamples.<\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/procapnet\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet<\/a>:<\/strong> <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ProCapNet&amp;type=Annotation\" target=\"_blank\" rel=\"noopener\"\n >6 PRO-cap model sets<\/a> that predict transcription-initiation profiles.<\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/reporternet\" target=\"_blank\" rel=\"noopener\"\n >ReporterNet<\/a>:<\/strong> <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ReporterNet&amp;type=Annotation&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n >8 model sets<\/a> trained on high-throughput reporter assays. Unlike the above three models, ReporterNet makes predictions at the resolution of the candidate sequences tested in the experiments.<\/li>\n<\/ul>\n<p>Together, these comprise <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?type=Annotation&amp;annotation_type=BPNet-model&amp;annotation_type=ChromBPNet-model&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n ><strong>3,865 experiment-specific model sets<\/strong><\/a>, each trained and evaluated using five-fold cross-validation. They span diverse cell lines, primary cells, and tissues represented in ENCODE.<\/p>\n<p align=\"center\"><em>Schematic of the neural network architecture of the BPNet model family.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_architecture.png\" class=\"image-link\" data-pswp-width=\"4000\" data-pswp-height=\"1650\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_architecture.png.optimized.webp\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: ChromBPNet model architecture\"\n\t\t\tdata-title-escaped=\"Neural network architecture schematic of the BPNet model family: BPNet uses ~2 kb of local DNA sequence as input and applies convolutional and dilated residual layers to learn predictive sequence features and their spatial organization. The model jointly predicts the base-resolution shape of the regulatory profile across a 1 kb region and the total experimental signal within that region.\">\n\t\t<\/a><figcaption>Neural network architecture schematic of the BPNet model family: BPNet uses ~2 kb of local DNA sequence as input and applies convolutional and dilated residual layers to learn predictive sequence features and their spatial organization. The model jointly predicts the base-resolution shape of the regulatory profile across a 1 kb region and the total experimental signal within that region.<\/figcaption><\/figure><p>The trained models are only one component of the resource. We also developed a suite of interpretation methods, described below, to interrogate each model and identify the cell-context-specific DNA sequence features that drive its predictions within biochemically active regulatory elements. For every experiment, ENCODE GRAMMAR provides several derived products:<\/p>\n<ol>\n<li><strong>Predicted regulatory profiles<\/strong> at base-pair resolution which often reveal de-noised signal profiles compared to the sparse, noisy measured profiles especially from TF ChIP-seq experiments.<\/li>\n<li><strong>Bias-corrected regulatory profiles<\/strong> for chromatin-accessibility assays, eliminating distortions in the profiles due to sequence biases of the Tn5 and DNase I enzymes used in ATAC\u2013seq and DNase\u2013seq, respectively.<\/li>\n<li><strong>Sequence-contribution maps<\/strong> estimating how much each DNA base contributes to a model\u2019s prediction for individual regulatory sequences.<\/li>\n<li><strong>De novo predictive sequence motifs<\/strong> which are derived from recurrent patterns of high contribution scores with similar sequences across biochemically active regulatory sequences (e.g. peaks)<\/li>\n<li><strong>ENCODE Motif Compendium<\/strong> which is a unified lexicon of non-redundant sequence motifs derived from all ENCODE GRAMMAR models<\/li>\n<li><strong>Predictive genomic motif instances<\/strong> which map high-contribution sequence patterns in all biochemically active regulatory sequences to the unified motif lexicon.<\/li>\n<li><strong>Genome-browser tracks<\/strong> that allow predictions, contribution scores, motifs, and motif instances to be explored together at any genomic locus.<\/li>\n<\/ol>\n<p>Together, this collection of models and derived annotations transforms thousands of ENCODE experiments into a practical, sequence-resolved atlas of gene-regulatory activity and its underlying predictive DNA features.<\/p>\n<p align=\"center\"><em>The ENCODE GRAMMAR resource transforms the extensive ENCODE compendium of genome-wide biochemical profiling experiments into predictive models and interpretable regulatory sequence annotations.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/main.png\" class=\"image-link\" data-pswp-width=\"4000\" data-pswp-height=\"2250\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/main.png.optimized.webp\" width=\"4000\" height=\"2250\"loading=\"lazy\"\n\t\t\talt=\"Figure: ENCODE GRAMMAR\"\n\t\t\tdata-title-escaped=\"ENCODE GRAMMAR resource that transforms the extensive ENCODE compendium of genome-wide biochemical profiling experiments into predictive models and interpretable regulatory sequence annotations: (1) ENCODE experiments measure complementary layers of gene regulation, including TF binding by TF ChIP\u2013seq, chromatin accessibility by DNase-seq and ATAC-seq, transcription initiation by PRO-cap, and sequence-driven regulatory activity by MPRAs. (2) Deep learning models from the BPNet family (BPNet, ChromBPNet, ProCapNet, and ReporterNet) are trained separately for each experiment and cellular context to predict the corresponding biochemical signal directly from local DNA sequence. (3) Product resources released for each experiment include the trained models; predicted, base-resolution biochemical profiles; sequence-contribution maps identifying bases that drive model predictions; recurring predictive sequence motifs; genomic motif instances; and predicted effects of genetic variants obtained by comparing reference and alternate allele sequences.\" class=\"gallery-image\" data-flex-grow=\"177\" data-flex-basis=\"426px\">\n\t\t<\/a><figcaption>ENCODE GRAMMAR resource that transforms the extensive ENCODE compendium of genome-wide biochemical profiling experiments into predictive models and interpretable regulatory sequence annotations: (1) ENCODE experiments measure complementary layers of gene regulation, including TF binding by TF ChIP\u2013seq, chromatin accessibility by DNase-seq and ATAC-seq, transcription initiation by PRO-cap, and sequence-driven regulatory activity by MPRAs. (2) Deep learning models from the BPNet family (BPNet, ChromBPNet, ProCapNet, and ReporterNet) are trained separately for each experiment and cellular context to predict the corresponding biochemical signal directly from local DNA sequence. (3) Product resources released for each experiment include the trained models; predicted, base-resolution biochemical profiles; sequence-contribution maps identifying bases that drive model predictions; recurring predictive sequence motifs; genomic motif instances; and predicted effects of genetic variants obtained by comparing reference and alternate allele sequences.<\/figcaption><\/figure><h2 id=\"overview-of-the-workflow-for-generating-the-encode-grammar-resource\">Overview of the workflow for generating the ENCODE GRAMMAR resource\n<\/h2><p>We describe the main steps of our workflow below. More detailed descriptions of the model architecture, evaluations and applications are available in the <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >BPNet<\/a>, <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet<\/a>, and <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.05.28.596138\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet<\/a> manuscripts.<\/p>\n<p><strong>(1) Train a set of sequence-to-profile models for each experiment:<\/strong> For each experiment, we train a deep learning model to predict the measured signal profile from the local DNA sequence surrounding biochemically active regions, together with background regions matched for overall sequence composition. The model is trained on a subset of chromosomes and evaluated on held-out chromosomes containing sequences never seen during training. Strong performance indicates that it has learned generalizable sequence features, including TF motifs and their combinations, spacing, and arrangement. We typically train at least five models per experiment using different chromosome splits, allowing us to estimate performance variability and obtain more stable predictions and interpretations by averaging across models. The resulting ensemble constitutes the experiment\u2019s model set.<\/p>\n<p align=\"center\"><em>Train a sequence-to-profile deep learning model.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig1.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig1.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Train a model\"\n\t\t\tdata-title-escaped=\"A deep learning model is trained to predict experimentally measured biochemical profiles from local DNA sequence context.\">\n\t\t<\/a><figcaption>A deep learning model is trained to predict experimentally measured biochemical profiles from local DNA sequence context.<\/figcaption><\/figure><p><strong>(2) Predict sequence and variant effects:<\/strong> Once trained, a model can predict biochemical activity profiles for previously unseen DNA sequences. Because each model is trained on a single assay in a specific cellular context and receives only DNA sequence as input, it learns the sequence-to-activity relationship particular to that experiment. Its predictions should therefore not be extrapolated directly to other assays or cell types. Generalization is strongest for sequences whose regulatory syntax resembles that represented in the training data, although the models can often tolerate modest departures from this distribution. Genetic variants provide an important example. Although the models are trained only on reference-genome sequences and receive no explicit variant-effect labels, they can often predict the molecular effects of genetic variants quite effectively (<a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >See Fig. 6 in the ChromBPNet paper<\/a>). We estimate a variant\u2019s effect by comparing predictions for the reference and alternate sequences. Predictions are typically averaged across all models in the corresponding model set to improve robustness and stability, while variation among models provides an empirical estimate of uncertainty. The resulting change in signal quantifies the variant\u2019s predicted effect on the specific biochemical activity measured by that experiment, not on downstream phenotypes such as disease risk.<\/p>\n<p align=\"center\"><em>Predict the biochemical effect of unseen sequences and genetic variants.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig3.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig3.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Predict mutations\"\n\t\t\tdata-title-escaped=\"Predict the biochemical effect of unseen sequences and genetic variants: A trained model can predict the biochemical activity profile of an unseen DNA sequence. To estimate the effect of a genetic variant, predictions for the reference and alternate sequences are compared. The resulting change in signal quantifies the variant\u2019s predicted effect on the molecular activity measured by the experiment.\">\n\t\t<\/a><figcaption>Predict the biochemical effect of unseen sequences and genetic variants: A trained model can predict the biochemical activity profile of an unseen DNA sequence. To estimate the effect of a genetic variant, predictions for the reference and alternate sequences are compared. The resulting change in signal quantifies the variant\u2019s predicted effect on the molecular activity measured by the experiment.<\/figcaption><\/figure><p><strong>(3) Separate biological signal from assay-specific sequence bias:<\/strong> ATAC-seq and DNase-seq profiles reflect both genuine chromatin accessibility distorted by the sequence preferences of the DNase I and Tn5 enzymes. ChromBPNet explicitly models these components. A sequence bias model learns the enzyme-driven signal, while the main model learns the remaining sequence-dependent accessibility signal. This <strong>bias-factorized prediction<\/strong> provides a cleaner estimate of the underlying regulatory profile, particularly at base-pair resolution.<\/p>\n<p align=\"center\"><em>Separate biological signal from assay-specific sequence bias.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig2.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig2.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Remove bias\"\n\t\t\tdata-title-escaped=\"Separate biological signal from assay-specific sequence bias: For DNase-seq and ATAC-seq, ChromBPNet first learns sequence-dependent enzyme bias from the data and subtracts it out of the measured profiles to make sequence based bias-corrected predictions that more closely represents the underlying biological accessibility profile.\">\n\t\t<\/a><figcaption>Separate biological signal from assay-specific sequence bias: For DNase-seq and ATAC-seq, ChromBPNet first learns sequence-dependent enzyme bias from the data and subtracts it out of the measured profiles to make sequence based bias-corrected predictions that more closely represents the underlying biological accessibility profile.<\/figcaption><\/figure><p><strong>(4) Estimate quantitative base-resolution sequence contributions that drive predictions:<\/strong> How is the model making a particular prediction? One useful way to answer this is to ask which bases in the input sequence are responsible for the predicted activity and by how much. We use the <strong><a class=\"link\" href=\"https:\/\/proceedings.mlr.press\/v70\/shrikumar17a.html\" target=\"_blank\" rel=\"noopener\"\n >DeepLIFT<\/a>\/<a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/shap\" target=\"_blank\" rel=\"noopener\"\n >DeepSHAP<\/a><\/strong> feature attribution method which efficiently approximates the model\u2019s predictions for any input sequence as an additive sum of its base-resolution contributions. For a selected input sequence and its associated model prediction, DeepLIFT assigns a contribution score to each base such that the scores sum to the difference between the model\u2019s prediction for the input sequence and its prediction for dinucleotide-shuffled reference sequences. Positive scores identify bases that increase the predicted activity relative to this reference, whereas negative scores identify bases that decrease it. For each sequence, we average contribution scores across all models in the corresponding model set to obtain more stable and robust estimates. The resulting <strong>sequence-contribution map<\/strong> highlights the individual bases and short sequence patterns that drive the model\u2019s prediction. Many high-contribution patterns correspond to known TF binding sites, while others may reveal previously unrecognized predictive sequence features.<\/p>\n<p align=\"center\"><em>Estimate the contribution of each base in a query DNA sequences to a model\u2019s prediction of biochemical activity.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig4.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig4.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Understand the importance sequences for the model\"\n\t\t\tdata-title-escaped=\"Estimate the contribution of each base in a query DNA sequences to a model\u2019s prediction of biochemical activity: DeepLIFT\/DeepSHAP assigns a quantitative contribution score to each base in the input sequence, indicating how strongly it increases or decreases the predicted activity relative to shuffled reference sequences. The resulting sequence-contribution map highlights the bases and short sequence patterns used by the model to make the specific prediction.\">\n\t\t<\/a><figcaption>Estimate the contribution of each base in a query DNA sequences to a model\u2019s prediction of biochemical activity: DeepLIFT\/DeepSHAP assigns a quantitative contribution score to each base in the input sequence, indicating how strongly it increases or decreases the predicted activity relative to shuffled reference sequences. The resulting sequence-contribution map highlights the bases and short sequence patterns used by the model to make the specific prediction.<\/figcaption><\/figure><p><strong>(5) Discover recurring predictive sequence motifs:<\/strong>. A single model can identify thousands of high-contribution sequence instances across biochemically active peaks across the genome. To summarize these recurring patterns, we developed the <strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/tfmodisco\" target=\"_blank\" rel=\"noopener\"\n >TF-MoDISco<\/a><\/strong> algorithm which samples highly contributing subsequences across peak regions, aligns and clusters similar subsequences and averages clusters into position specific contribution-weighted summary motifs. These motifs provide a compact representation of the sequence features learned by the model. Many can be matched to the known binding preferences of TF, helping identify regulators that may influence the experimental signal. Others often reveal previously unrecognized motifs, context-specific sequence preferences of TFs, or novel composite patterns recognized by complexes of multiple TFs.<\/p>\n<p align=\"center\"><em>Discover recurring predictive sequence motifs.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig5.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig5.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Aggregate elements into motifs\"\n\t\t\tdata-title-escaped=\"Discover recurring predictive sequence motifs: TF-MoDISco samples highly contributing subsequences from many biochemically active genomic regions, aligns and clusters similar examples, and summarizes each cluster as a contribution-weighted motif.\">\n\t\t<\/a><figcaption>Discover recurring predictive sequence motifs: TF-MoDISco samples highly contributing subsequences from many biochemically active genomic regions, aligns and clusters similar examples, and summarizes each cluster as a contribution-weighted motif.<\/figcaption><\/figure><p><strong>(6) Map predictive motif instances across the genome:<\/strong> Each TF-MoDISco motif summarizes a cluster of similar high-contribution subsequences, but does not by itself identify all predictive instances of that motif in genomic or user-designed sequences with high sensitivity and specificity. This is challenging because motifs can overlap, share similar subpatterns, and compete to explain the same contribution signal. We developed <strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/Fi-NeMo\" target=\"_blank\" rel=\"noopener\"\n >FiNeMo<\/a><\/strong> to efficiently scan genome-wide sequence-contribution maps with a collection of TF-MoDISco motifs and jointly assign predictive sequence instances to the motifs that best explain them. The result is a quantitative genome-wide map of predictive motif occurrences from each model within biochemically active regulatory elements identified by the corresponding experiment.<\/p>\n<p align=\"center\"><em>Map predictive motif instances .<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig6.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig6.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Identify all genomics motif instances\"\n\t\t\tdata-title-escaped=\"Map predictive motif instances: FiNeMo scans sequence-contribution maps with the motifs discovered by TF-MoDISco and jointly identifies the motif instances that best explain the contribution scores. This produces quantitative maps of predictive motif occurrences across genomic or other query sequences\">\n\t\t<\/a><figcaption>Map predictive motif instances: FiNeMo scans sequence-contribution maps with the motifs discovered by TF-MoDISco and jointly identifies the motif instances that best explain the contribution scores. This produces quantitative maps of predictive motif occurrences across genomic or other query sequences<\/figcaption><\/figure><p><strong>(7) Unify motifs across all models into a non-redundant motif lexicon:<\/strong> Each model produces its own TF-MoDISco motifs, making it difficult to distinguish patterns that are shared across assays and cell types from those that are context specific. Comparing hundreds of thousands of contribution-weighted motifs is challenging because similarity must account for shifts, reverse complements, partial overlaps, and differences in contribution patterns. We developed <strong><a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/motifcompendium\" target=\"_blank\" rel=\"noopener\"\n >MotifCompendium<\/a><\/strong> to efficiently cluster motifs discovered from all our trained models into a scalable, non-redundant lexicon, link them to known TF motifs, classify distinct motif types, and retain the models and contexts in which each was discovered.<\/p>\n<p align=\"center\"><em>Unify motifs across models.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig7.gif\" class=\"image-link\" data-pswp-width=\"1333\" data-pswp-height=\"550\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/BPNet_Fig7.gif\" width=\"600px\" height=\"247\"loading=\"lazy\"\n\t\t\talt=\"Figure: Combine motifs across models\"\n\t\t\tdata-title-escaped=\"Unify motifs across models: MotifCompendium compares and clusters related motifs discovered by models trained across different assays and cell contexts into a unified motif lexicon\">\n\t\t<\/a><figcaption>Unify motifs across models: MotifCompendium compares and clusters related motifs discovered by models trained across different assays and cell contexts into a unified motif lexicon<\/figcaption><\/figure><h2 id=\"case-study-decoding-a-myc-enhancer-with-the-encode-grammar-resource\">Case study: Decoding a <em>MYC<\/em> enhancer with the ENCODE GRAMMAR resource\n<\/h2><p>To illustrate how the ENCODE GRAMMAR resource can be used to uncover the sequence basis of gene regulation, we examine a distal enhancer of the <em>MYC<\/em> gene in K562, a leukemia cell line. <em>MYC<\/em> encodes a transcription factor that promotes cell growth and proliferation, and dysregulation of <em>MYC<\/em> is a common feature of many cancers. We focus on a CRISPRi-validated enhancer of <em>MYC<\/em> at [chr8:127,898,412\u2014127,899,647] and analyze its sequence using 15 independently trained models spanning chromatin accessibility and TF binding assays in K562.<\/p>\n<p align=\"center\"><em>A distal enhancer of the MYC gene in K562 leukemia cells.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig0.png\" class=\"image-link\" data-pswp-width=\"3748\" data-pswp-height=\"588\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig0.png.optimized.webp\" width=\"600px\" height=\"94\"loading=\"lazy\"\n\t\t\talt=\"Figure: MYC enhancer\"\n\t\t\tdata-title-escaped=\"A distal MYC enhancer in K562 cells: Overview of the *MYC* locus showing a CRISPRi-validated enhancer located approximately 162 kb from the gene (green marker). The green wedge indicates the region shown at higher resolution below, where observed DNase-seq and ATAC-seq profiles reveal strong chromatin accessibility. Track labels report the displayed signal ranges.\">\n\t\t<\/a><figcaption>A distal MYC enhancer in K562 cells: Overview of the <em>MYC<\/em> locus showing a CRISPRi-validated enhancer located approximately 162 kb from the gene (green marker). The green wedge indicates the region shown at higher resolution below, where observed DNase-seq and ATAC-seq profiles reveal strong chromatin accessibility. Track labels report the displayed signal ranges.<\/figcaption><\/figure><p>We first examine chromatin accessibility measured by DNase-seq and ATAC-seq. A separate ChromBPNet model was trained for each experiment and then used to predict its corresponding experimental profile. Both models closely recapitulate the broad shape and fine-scale structure of the observed signal at the enhancer, demonstrating that local DNA sequence contains substantial information about its accessibility in K562 cells.<\/p>\n<p align=\"center\"><em>Observed and ChromBPNet-predicted chromatin-accessibility profiles at the *MYC* enhancer.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig1.png\" class=\"image-link\" data-pswp-width=\"2053\" data-pswp-height=\"217\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig1.png.optimized.webp\" width=\"600px\" height=\"63\"loading=\"lazy\"\n\t\t\talt=\"Figure: MYC - Observed and predicted profile\"\n\t\t\tdata-title-escaped=\"Observed and ChromBPNet-predicted chromatin-accessibility profiles at the MYC enhancer: Experimentally observed and model-predicted DNase-seq and ATAC-seq profiles across the enhancer in K562 cells. The independently trained ChromBPNet models recapitulate the broad structure and many fine-scale features of their corresponding experimental signals. Despite measuring the same underlying property, the DNase-seq and ATAC-seq profiles differ substantially in shape, reflecting assay-specific effects such as the distinct sequence preferences of DNase I and Tn5. Track labels indicate the displayed signal ranges.\">\n\t\t<\/a><figcaption>Observed and ChromBPNet-predicted chromatin-accessibility profiles at the MYC enhancer: Experimentally observed and model-predicted DNase-seq and ATAC-seq profiles across the enhancer in K562 cells. The independently trained ChromBPNet models recapitulate the broad structure and many fine-scale features of their corresponding experimental signals. Despite measuring the same underlying property, the DNase-seq and ATAC-seq profiles differ substantially in shape, reflecting assay-specific effects such as the distinct sequence preferences of DNase I and Tn5. Track labels indicate the displayed signal ranges.<\/figcaption><\/figure><p>Closer inspection reveals that the raw observed and predicted DNase-seq and ATAC-seq profiles differ substantially, even though both assays measure chromatin accessibility. Much of this discrepancy arises because DNase I and Tn5 have distinct sequence preferences. ChromBPNet models the regulatory signal and assay-specific enzyme bias separately, producing <strong>bias-corrected accessibility profiles<\/strong> that more closely approximates the underlying biological signal. Although the DNase-seq and ATAC-seq models were trained independently, their bias-corrected predictions converge on a much more similar accessibility profile at the enhancer, helping reconcile the two assays.<\/p>\n<p align=\"center\"><em>Bias-corrected ChromBPNet accessibility profiles at the *MYC* enhancer.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig2.png\" class=\"image-link\" data-pswp-width=\"2053\" data-pswp-height=\"107\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig2.png.optimized.webp\" width=\"600px\" height=\"31\"loading=\"lazy\"\n\t\t\talt=\"Figure: MYC - Bias-corrected profile\"\n\t\t\tdata-title-escaped=\"Bias-corrected ChromBPNet accessibility profiles at the *MYC* enhancer: ChromBPNet separates assay-specific enzyme bias from the predicted regulatory signal in DNase-seq and ATAC-seq. Although the raw profiles differ substantially, the independently derived bias-corrected predictions converge on a similar accessibility profile across the enhancer. Track labels indicate the displayed signal ranges.\">\n\t\t<\/a><figcaption>Bias-corrected ChromBPNet accessibility profiles at the <em>MYC<\/em> enhancer: ChromBPNet separates assay-specific enzyme bias from the predicted regulatory signal in DNase-seq and ATAC-seq. Although the raw profiles differ substantially, the independently derived bias-corrected predictions converge on a similar accessibility profile across the enhancer. Track labels indicate the displayed signal ranges.<\/figcaption><\/figure><p>We next interrogate the ChromBPNet models using DeepLIFT to identify the DNA bases that influence their bias-corrected accessibility predictions. The sequence-contribution maps highlight multiple predictive motif instances associated with TFs active in K562, including GATA, AP-1, SP, ETV\/ETS, and CEBP family proteins. The contribution maps are also highly reproducible across the DNase-seq and ATAC-seq models. These annotations move beyond identifying the enhancer as accessible and help nominate the specific sequence features that may help establish and maintain its accessibility.<\/p>\n<p align=\"center\"><em>Highly concordant sequence-contribution maps reveal shared regulatory features at the *MYC* enhancer.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig3.png\" class=\"image-link\" data-pswp-width=\"4000\" data-pswp-height=\"766\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig3.png.optimized.webp\" width=\"600px\" height=\"114\"loading=\"lazy\"\n\t\t\talt=\"Figure: MYC - Sequence contribution scores\"\n\t\t\tdata-title-escaped=\"Highly concordant sequence-contribution maps reveal shared regulatory features at the *MYC* enhancer: ChromBPNet contribution scores from independently trained DNase-seq and ATAC-seq models show strong concordance and highlight many of the same predictive sequence features. Zoomed views identify shared motif instances associated with GATA, SP, AP-1, ETV\/ETS, and CEBP family TFs. Shaded regions indicate selected high-contribution sites, and red bars mark the corresponding annotated motif instances.\">\n\t\t<\/a><figcaption>Highly concordant sequence-contribution maps reveal shared regulatory features at the <em>MYC<\/em> enhancer: ChromBPNet contribution scores from independently trained DNase-seq and ATAC-seq models show strong concordance and highlight many of the same predictive sequence features. Zoomed views identify shared motif instances associated with GATA, SP, AP-1, ETV\/ETS, and CEBP family TFs. Shaded regions indicate selected high-contribution sites, and red bars mark the corresponding annotated motif instances.<\/figcaption><\/figure><p>Finally, we compare the accessibility-derived annotations from ChromBPNet with sequence-contribution maps from BPNet models trained on TF ChIP\u2013seq experiments. For each motif class identified by ChromBPNet, the corresponding TF-specific BPNet model assigns high contribution to the same genomic instances. For example, GATA sites are highlighted by the GATA2 model, AP-1 sites by the JUND (an AP-1 TF family member) model, and ETV\/ETS sites by the GABPB1 (an ETS TF family member) model. Collectively, the TF-binding models account for most of the predictive motif instances identified by the accessibility models. This cross-assay agreement links individual sequence features to both chromatin accessibility and binding by specific TFs, providing a more detailed view of the enhancer\u2019s regulatory sequence logic.<\/p>\n<p align=\"center\"><em>TF ChIP\u2013seq BPNet models link ChromBPNet motif instances to specific TFs at the *MYC* enhancer.<\/em><\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig4.png\" class=\"image-link\" data-pswp-width=\"4000\" data-pswp-height=\"903\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/MYC_fig4.png.optimized.webp\" width=\"600px\" height=\"135\"loading=\"lazy\"\n\t\t\talt=\"Figure: MYC - Chromatin accessibility vs. transcription factor binding\"\n\t\t\tdata-title-escaped=\"TF ChIP\u2013seq BPNet models link ChromBPNet motif instances to specific TFs at the *MYC* enhancer: Sequence-contribution maps from independently trained GATA2, SP1, CEBPB, JUND, and GABPB1 models highlight the corresponding GATA, SP, CEBP, AP-1, and ETV\/ETS motif instances identified by the DNase-seq and ATAC-seq ChromBPNet models. Collectively, these TF-specific models account for most of the predictive motif instances highlighted by ChromBPNet, providing cross-assay support for the inferred regulatory sequence architecture. Red bars mark the annotated motif instances.\">\n\t\t<\/a><figcaption>TF ChIP\u2013seq BPNet models link ChromBPNet motif instances to specific TFs at the <em>MYC<\/em> enhancer: Sequence-contribution maps from independently trained GATA2, SP1, CEBPB, JUND, and GABPB1 models highlight the corresponding GATA, SP, CEBP, AP-1, and ETV\/ETS motif instances identified by the DNase-seq and ATAC-seq ChromBPNet models. Collectively, these TF-specific models account for most of the predictive motif instances highlighted by ChromBPNet, providing cross-assay support for the inferred regulatory sequence architecture. Red bars mark the annotated motif instances.<\/figcaption><\/figure><p>The example illustrates a central strength of ENCODE GRAMMAR: models trained on complementary ENCODE assays can be integrated at the same locus to connect experimental profiles with the individual DNA bases, motifs, and TFs that may drive different types of biochemical activity.\nThe interactive browser below allows the experimental data, model predictions, sequence-contribution maps, and motif annotations to be explored together at the MYC enhancer:\n<div class=\"gxai-igv-panel\" data-igv-panel=\"myc\" data-igv-src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-012\/myc-igv-panel.json\"><\/div>\n<link rel=\"stylesheet\" href=\"https:\/\/genomicsxai.github.io\/css\/igv-panel.css\">\n<script src=\"https:\/\/genomicsxai.github.io\/js\/vendor\/igv-3.8.0.min.js\" defer><\/script>\n<script src=\"https:\/\/genomicsxai.github.io\/js\/igv-panel.js\" defer><\/script>\n<\/p>\n<h2 id=\"what-can-researchers-do-with-the-encode-grammar-resource\">What can researchers do with the ENCODE GRAMMAR resource?\n<\/h2><p>GRAMMAR is designed to support analyses that would otherwise require training and interpreting thousands of models from scratch. Researchers can use it to:<\/p>\n<ul>\n<li>explore base-resolution regulatory predictions and sequence-contribution maps in a genome browser;<\/li>\n<li>identify candidate motifs, motif combinations and other sequence features that influence different types of biochemical activity of a candidate regulatory element in many cell types;<\/li>\n<li>compare local and globally predictive sequence features across assays, cell types, and tissues mapped to a common unified lexicon;<\/li>\n<li>predict the effects of non-coding genetic variants in diverse assay and cell contexts;<\/li>\n<li>interpret what sequence features noncoding genetic variants may be disrupting to alter context-specific regulatory activity;<\/li>\n<li>reuse trained models and derived annotations in new computational methods.<\/li>\n<\/ul>\n<p>These models are most informative when interpreted together with experimental data and appropriate biological context. Their outputs provide testable hypotheses about the sequence determinants of regulatory activity, not substitutes for perturbation experiments or evidence of causal effects on downstream phenotypes.<\/p>\n<h2 id=\"accessing-the-encode-grammar-resource\">Accessing the ENCODE GRAMMAR resource\n<\/h2><p>All ENCODE data, models, and model-derived sequence annotations are openly available through the <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?type=Annotation&amp;annotation_type=BPNet-model&amp;annotation_type=ChromBPNet-model&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n ><strong>ENCODE portal<\/strong><\/a>.<\/p>\n<ul>\n<li><a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=BPNet&amp;type=Annotation&amp;annotation_type=BPNet-model&amp;status=released&amp;assay_term_name=ChIP-seq\" target=\"_blank\" rel=\"noopener\"\n >2,339 TF ChIP-seq BPNet model sets<\/a> spanning 788 transcription-factor targets.<\/li>\n<li><a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ChromBPNet&amp;type=Annotation&amp;annotation_type=ChromBPNet-model&amp;organism.scientific_name=Homo&#43;sapiens&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n >1,512 DNase-seq and ATAC-seq ChromBPNet model sets<\/a> across 408 biosamples.<\/li>\n<li><a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ProCapNet&amp;type=Annotation\" target=\"_blank\" rel=\"noopener\"\n >6 ProCapNet model sets<\/a> that predict transcription-initiation profiles.<\/li>\n<li><a class=\"link\" href=\"https:\/\/www.encodeproject.org\/search\/?searchTerm=ReporterNet&amp;type=Annotation&amp;status=released\" target=\"_blank\" rel=\"noopener\"\n >8 ReporterNet model sets<\/a><\/li>\n<\/ul>\n<p>Additional access points include:<\/p>\n<ul>\n<li><strong>Trained models:<\/strong> <a class=\"link\" href=\"https:\/\/huggingface.co\/collections\/kundajelab\/encode-bpnet-models\" target=\"_blank\" rel=\"noopener\"\n >ENCODE GRAMMAR models on Hugging Face<\/a>.<\/li>\n<li><strong>Predictions and sequence annotations:<\/strong> <a class=\"link\" href=\"https:\/\/genome.ucsc.edu\/cgi-bin\/hgTracks?db=hg38&amp;hubUrl=https:\/\/kundajelab.github.io\/ucsc-trackhub-encode.github.io\/hub.txt\" target=\"_blank\" rel=\"noopener\"\n >UCSC Track Hub<\/a>, including model predictions, sequence-contribution maps, and motif instances.<\/li>\n<li><strong>Unified motif lexicon:<\/strong> <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/annotations\/ENCSR091GRD\/\" target=\"_blank\" rel=\"noopener\"\n >ENCODE annotation ENCSR091GRD<\/a>.<\/li>\n<li><strong>Software:<\/strong> <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/bpnet\/\" target=\"_blank\" rel=\"noopener\"\n >BPNet code repo<\/a>, <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/chrombpnet\/\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet code repo<\/a>, and <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/ProCapNet\/\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet code repo<\/a>.<\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.07.06.731365\" target=\"_blank\" rel=\"noopener\"\n >ENCODE 4 preprint<\/a><\/strong><\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >BPNet paper<\/a><\/strong><\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet preprint<\/a><\/strong><\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.05.28.596138\" target=\"_blank\" rel=\"noopener\"\n >ProCapNet preprint<\/a><\/strong><\/li>\n<\/ul>\n<p>Please check out a detailed quick-start guide in our <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-013\/\" target=\"_blank\" rel=\"noopener\"\n ><strong>next blog post<\/strong> <em>(out now)<\/em><\/a>.<\/p>\n<h2 id=\"from-encode-maps-to-regulatory-sequence-rules\">From ENCODE maps to regulatory sequence rules\n<\/h2><p>Over two decades, ENCODE has created an unprecedented map of regulatory elements across the human and mouse genomes. GRAMMAR adds a complementary layer of predictive models and sequence annotations that connect these experimental measurements back to the underlying DNA sequence.<\/p>\n<p>By releasing nearly 4,000 experiment-specific model sets together with predictions, contribution maps, motifs, and motif instances, we hope to make regulatory sequence analysis more accessible, reproducible, and scalable. The goal is not to only predict where regulatory activity occurs, but to help researchers ask more mechanistic questions about <strong>which DNA bases, motifs, and their syntactic arrangements influence different types of biochemical activity of every regulatory element in every cellular context?<\/strong><\/p>\n<h2 id=\"whats-next\">What\u2019s next?\n<\/h2><p>We still have so much to share about the resource! We are planning to regularly share the many different ways you can use the resource (~every week) for the foreseeable future, so give us a follow and be on the lookout for more.<\/p>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>The ENCODE Project Consortium et al. The Encyclopedia of DNA Elements. <em>bioRxiv<\/em> 2026.07.06.731365 (2026) (<a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.07.06.731365\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.64898\/2026.07.06.731365<\/a>)<\/li>\n<li>Yun, C. M. et al. A unified lexicon of predictive DNA sequence motifs from ENCODE transcription factor binding and chromatin accessibility assays. (2025) doi:10.5281\/zenodo.17179111. (<a class=\"link\" href=\"https:\/\/doi.org\/10.5281\/zenodo.17179111\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.5281\/zenodo.17179111<\/a>)<\/li>\n<li>Avsec, \u017d. et al. Base-resolution models of transcription-factor binding reveal soft motif syntax. <em>Nat Genet<\/em> 53, 354\u2014366 (2021). (<a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-021-00782-6<\/a>)<\/li>\n<li>Pampari, A. et al. ChromBPNet: bias factorized, base-resolution deep learning models of chromatin accessibility reveal cis-regulatory sequence syntax, transcription factor footprints and regulatory variants. <em>bioRxiv<\/em> 2024.12.25.630221 (2024). (<a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2024.12.25.630221<\/a>)<\/li>\n<li>Cochran, K. et al. Dissecting the cis-regulatory syntax of transcription initiation with deep learning. <em>bioRxiv<\/em> 2024.05.28.596138 (2024). (<a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.05.28.596138\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2024.05.28.596138<\/a>)<\/li>\n<li>Shrikumar, A., Greenside, P. &amp; Kundaje, A. Learning Important Features Through Propagating Activation Differences. <em>arXIV<\/em> (2019).(<a class=\"link\" href=\"https:\/\/doi.org\/10.48550\/arXiv.1704.02685\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.48550\/arXiv.1704.02685<\/a>)<\/li>\n<li>Lundberg, S. M. &amp; Lee, S.-I. A unified approach to interpreting model predictions. in <em>Proceedings of the 31st International Conference on Neural Information Processing Systems<\/em> 4768\u20134777 (Curran Associates Inc., Red Hook, NY, USA, 2017). (<a class=\"link\" href=\"https:\/\/dl.acm.org\/doi\/10.5555\/3295222.3295230\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/dl.acm.org\/doi\/10.5555\/3295222.3295230<\/a>)<\/li>\n<li>Shrikumar, A. et al. Technical Note on Transcription Factor Motif Discovery from Importance Scores (TF-MoDISco) version 0.5.6.5. <em>arXiv<\/em> (2020) (<a class=\"link\" href=\"https:\/\/doi.org\/10.48550\/arXiv.1811.00416\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.48550\/arXiv.1811.00416<\/a>).<\/li>\n<\/ol>\n"},{"title":"Beyond coverage tracks: fine-tuning AlphaGenome's splicing heads from scratch","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/","pubDate":"Fri, 24 Jul 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/","description":"<aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>DeepMind has released <a class=\"link\" href=\"https:\/\/deepmind.google\/discover\/blog\/alphagenome-a-foundation-model-for-genome-biology\/\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a>\u2019s code and model weights, and the community has since developed <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >alphagenome_ft<\/a> and <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >alphagenome-pytorch<\/a> to enable seamless fine-tuning in both JAX and PyTorch. These implementations support bigwig-based modalities such as RNA sequencing (RNA-seq) coverage tracks, but other RNA-seq-derived outputs, including splice site probabilities, splice site usage, and splice junctions, require additional work, from data preprocessing and loading to validating fine-tuning on samples not represented during AlphaGenome pretraining. What initially seemed like a straightforward extension became a useful exercise in understanding how large genomic models learn and how to debug new output heads.<\/p>\n<p>In this post, we share that development process: preprocessing the data, building loaders, running sanity checks, and overfitting a single interval, including the bugs we found along the way and how we fixed them. We then scale up to full fine-tuning and evaluation on held-out genomic intervals and report the resulting performance for two fine-tuning strategies.<\/p>\n<p>All code, model adaptations, and pipelines used for this blog post are <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome_finetuning_rna\/tree\/v1.0.2\" target=\"_blank\" rel=\"noopener\"\n >available<\/a>.<\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"motivation\">Motivation\n<\/h2><p>This post describes how we fine-tuned and evaluated AlphaGenome\u2019s splicing heads, covering data preprocessing, loading, debugging, and testing on held-out genomic intervals. Our broader goal is to develop a workflow that can adapt AlphaGenome to new RNA-seq samples that were not represented during the model\u2019s original pretraining. The workflow learns sample-specific, multimodal transcriptomic patterns from those data and predicts them at genomic intervals held out during fine-tuning.<\/p>\n<p>As a case study, we selected two RNA-seq samples from L\u00f3pez-Oreja et al. (2023): one carrying the cancer-driver mutation K700E in SF3B1, a core component of the spliceosome, and one wild-type sample. Although K700E changes only a single amino-acid residue, it can affect splicing across the transcriptome. In particular, the mutation is known to promote the use of cryptic splice sites, making it a useful test case for the RNA-seq-derived modalities considered here.<\/p>\n<h3 id=\"what-comes-from-where\">What comes from where\n<\/h3><p>Since much of this work sits between &ldquo;using AlphaGenome as published,&rdquo; &ldquo;reproducing details the paper doesn&rsquo;t fully specify,&rdquo; and &ldquo;our own implementation choices,&rdquo; here&rsquo;s a breakdown of which parts of the pipeline fall into each category:<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Component<\/th>\n\t\t\t\t\t<th>Category<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>Junction-head architecture and candidate splice-site conditioning<\/td>\n\t\t\t\t\t<td>Inherited from AlphaGenome, unmodified<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>STAR\/deepTools-based alignment and coverage processing<\/td>\n\t\t\t\t\t<td>Reproduced from the AlphaGenome paper&rsquo;s methods, best-effort (original preprocessing code is not public)<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>Splice site usage \/ junction count extraction scripts, on-the-fly per-modality normalization<\/td>\n\t\t\t\t\t<td>New implementation choices, specific to this project<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><code>rope_params<\/code> truncated-normal initialization, ratio-normalized junction loss<\/td>\n\t\t\t\t\t<td>Debugging fixes for a mismatch between the paper&rsquo;s pseudocode and the JAX\/PyTorch implementations \u2014 not new methodological contributions<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<h2 id=\"alphagenomes-splicing-heads\">AlphaGenome&rsquo;s splicing heads\n<\/h2><p>AlphaGenome predicts four RNA-seq-derived modalities: coverage, splice site class, splice site usage, and splice junction counts.<\/p>\n<p>The coverage head predicts read depth along the sequence. The splice site head classifies each position as donor, acceptor, or background for each strand. The splice site usage head predicts how strongly each splice site is used, and the junction head predicts counts for candidate donor\u2013acceptor pairs.<\/p>\n<p>Coverage, splice site usage, and junction counts use sample-specific output tracks, whereas the splice site head is shared across samples. The junction head also receives candidate donor and acceptor positions as part of its input and predicts a normalized count for each candidate pair.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/alphagenome_rna_heads.png\" class=\"image-link\" data-pswp-width=\"1189\" data-pswp-height=\"345\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/alphagenome_rna_heads.png.optimized.webp\" width=\"500px\" height=\"145\"loading=\"lazy\"\n\t\t\talt=\"Figure 1. Overview of AlphaGenome\u2019s splicing heads.\"\n\t\t\tdata-title-escaped=\"Overview of AlphaGenome&amp;#39;s splicing heads.\">\n\t\t<\/a><figcaption>Overview of AlphaGenome&rsquo;s splicing heads.<\/figcaption><\/figure><h2 id=\"from-raw-data-to-preprocessed-training-tracks\">From raw data to preprocessed training tracks\n<\/h2><p>AlphaGenome&rsquo;s data preprocessing code is not publicly available, though the key steps are described in the paper&rsquo;s methods. To reproduce the pipeline as closely as possible, we wrote <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome_finetuning_rna\/blob\/v1.0.2\/workflows\/01-obtain_data\/rules\/sf3b1mut.smk\" target=\"_blank\" rel=\"noopener\"\n >standardized Snakemake workflows<\/a> that derive all four training tracks from a single STAR RNA-seq alignment BAM file. Reads are aligned with STAR following the AlphaGenome paper&rsquo;s alignment settings, retaining only uniquely mapped reads on canonical chromosomes.<\/p>\n<ul>\n<li><strong>Per-base RNA-seq coverage<\/strong> (stranded or unstranded) is computed using <code>deepTools<\/code>&rsquo; <a class=\"link\" href=\"https:\/\/deeptools.readthedocs.io\/en\/develop\/content\/tools\/bamCoverage.html\" target=\"_blank\" rel=\"noopener\"\n ><code>bamCoverage<\/code><\/a>. Output: bigwig files.<\/li>\n<li><strong>Splice site classes<\/strong> are derived on the fly during data loading from the union of splice sites present in the splice site usage files, so no separate file is needed.<\/li>\n<li><strong>Splice site usage<\/strong> is computed from the BAM using our custom script <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome-pytorch\/blob\/splice-finetuning\/scripts\/compute_ssu.py\" target=\"_blank\" rel=\"noopener\"\n ><code>compute_ssu.py<\/code><\/a>, equivalent to <a class=\"link\" href=\"https:\/\/github.com\/CraigIDent\/SpliSER\/tree\/speedups\" target=\"_blank\" rel=\"noopener\"\n ><code>SpliSER<\/code><\/a>. For each splice site supported by at least one junction, usage is estimated as the fraction of reads supporting that site relative to reads that skip it. Output: zstd-compressed parquet files.<\/li>\n<li><strong>Splice junction counts<\/strong> are available directly from STAR at alignment time, or can be extracted post-hoc from the BAM using our custom script <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome-pytorch\/blob\/splice-finetuning\/scripts\/get_star_junctions.py\" target=\"_blank\" rel=\"noopener\"\n ><code>get_star_junctions.py<\/code><\/a>. Output: tab-separated files.<\/li>\n<\/ul>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/data_prep_workflow.png\" class=\"image-link\" data-pswp-width=\"1108\" data-pswp-height=\"282\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/data_prep_workflow.png.optimized.webp\" width=\"500px\" height=\"127\"loading=\"lazy\"\n\t\t\talt=\"Figure 2. Data preprocessing workflow.\"\n\t\t\tdata-title-escaped=\"Data preprocessing workflow.\">\n\t\t<\/a><figcaption>Data preprocessing workflow.<\/figcaption><\/figure><p>To make sure our custom implementations to compute splice junction counts and splice site usage matched how STAR and SpliSER calculate them respectively, we ran a comparison on chromosome 1 on our samples.<\/p>\n<p>In both cases we observe a Pearson correlation of 1 (for splice junction counts from uniquely mapped reads and for splice site usage), confirming the implementations are correct.<\/p>\n<p>Both implementations were also highly efficient in runtime, with <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome-pytorch\/blob\/splice-finetuning\/scripts\/get_star_junctions.py\" target=\"_blank\" rel=\"noopener\"\n ><code>get_star_junctions.py<\/code><\/a> requiring ~10s and ~150 MB per sample, and <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome-pytorch\/blob\/splice-finetuning\/scripts\/compute_ssu.py\" target=\"_blank\" rel=\"noopener\"\n ><code>compute_ssu.py<\/code><\/a> requiring ~20s and ~200 MB per sample compared to SpliSER&rsquo;s ~600s and ~100 MB.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/benchmark_juncs_and_ssu.png\" class=\"image-link\" data-pswp-width=\"1013\" data-pswp-height=\"1398\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/benchmark_juncs_and_ssu.png.optimized.webp\" width=\"350px\" height=\"483\"loading=\"lazy\"\n\t\t\talt=\"Figure 3. Benchmark of splice junction counting and splice site usage computation.\"\n\t\t\tdata-title-escaped=\"Benchmark of splice junction counting and splice site usage computation.\">\n\t\t<\/a><figcaption>Benchmark of splice junction counting and splice site usage computation.<\/figcaption><\/figure><h2 id=\"data-loading-and-on-the-fly-normalization\">Data loading and on-the-fly normalization\n<\/h2><p>All four tracks are loaded jointly for each genomic interval and normalized on the fly before being passed to the model. Getting this right matters: RNA-seq coverage spans several orders of magnitude across genes and samples, splice junction counts are extremely sparse, and splice site labels are binary signals at a handful of positions in a million-base-pair window. Each modality needs a different normalization strategy to avoid one dominating the loss or presenting the model with uninformative targets.<\/p>\n<p><strong>RNA-seq coverage<\/strong> bigwigs are read at 1 bp resolution. The raw values are loaded as-is; normalization happens at training time. Just before the loss is computed, targets are scaled into model prediction space by dividing by a per-track non-zero mean (computed once from the training set), applying a power transform (x^0.75) to compress dynamic range, and smooth-clipping extreme values. Model predictions are converted back to data space using the inverse of these operations for evaluation.<\/p>\n<p><strong>Splice site classes<\/strong> are derived on the fly as a 5-class label array: donor on the positive strand, acceptor on the positive strand, donor on the negative strand, acceptor on the negative strand, and background. All positions default to background, and annotated splice sites from the union of sites in the splice site usage files are then overlaid.<\/p>\n<p><strong>Splice site usage<\/strong> values are loaded from the precomputed parquet files. For each genomic interval, only the splice sites overlapping that interval are retrieved, and usage values are arranged into a per-position array with two channels per sample (one per strand).<\/p>\n<p><strong>Splice junction counts<\/strong> from STAR are CPM-normalized using the total mapped reads per sample, clipped at the 99.99th percentile, and then mean-scaled so that the typical non-zero value is close to 1. Junctions are assembled into a donor \u00d7 acceptor count matrix, with forward and reverse strand channels interleaved across samples.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/data_loading_normalization.png\" class=\"image-link\" data-pswp-width=\"2250\" data-pswp-height=\"2081\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/data_loading_normalization.png.optimized.webp\" width=\"600px\" height=\"554\"loading=\"lazy\"\n\t\t\talt=\"Figure 4. Normalizing training data on the fly.\"\n\t\t\tdata-title-escaped=\"Normalizing training data on the fly.\">\n\t\t<\/a><figcaption>Normalizing training data on the fly.<\/figcaption><\/figure><h2 id=\"first-time-never-works\">First time never works\n<\/h2><p>As a first sanity check, we verified that the model could overfit a single genomic interval using linear probing (freezing the backbone and training only the new heads). A model with enough capacity should memorize a single batch; failure to do so points to a bug rather than a generalization problem. To make the test representative, we selected an interval with median splice junction density among all training intervals (see <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome_finetuning_rna\/blob\/v1.0.2\/figures\/overfitting_interval_selection.ipynb\" target=\"_blank\" rel=\"noopener\"\n >this<\/a> notebook for the selection details).<\/p>\n<p>The test was useful precisely because it failed. Coverage and splice site usage overfit fine on the first attempt; the splice site classification head did not overfit, and the splice junction head did not learn at all. The next two sections trace what was wrong with each of those two heads and how we fixed it.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/first_attempt.png\" class=\"image-link\" data-pswp-width=\"2091\" data-pswp-height=\"421\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/first_attempt.png.optimized.webp\" width=\"900px\" height=\"181\"loading=\"lazy\"\n\t\t\talt=\"Figure 5. First attempt to overfit a single interval.\"\n\t\t\tdata-title-escaped=\"First attempt to overfit a single interval.\">\n\t\t<\/a><figcaption>First attempt to overfit a single interval.<\/figcaption><\/figure><h2 id=\"why-the-splice-site-head-could-not-overfit\">Why the splice site head could not overfit\n<\/h2><p>The splice site classification head struggled to overfit when initialized randomly. This is not surprising: the purpose of fine-tuning AlphaGenome is not to re-learn the general splicing code from scratch. Unlike the splice site usage and junction heads, which are sample-specific (AlphaGenome exposes them per tissue\/track), the splice site classification head captures a single, shared property across all samples: where donor and acceptor sites sit on each strand. There is one general splice site head, not a track to pick per sample or cell type, so it makes sense to start from its pretrained weights directly and let the sample-specific heads adapt instead.<\/p>\n<p>We explored three factors that could affect overfitting on the single interval: (1) initializing the splice site classification head from pretrained rather than random weights, (2) augmenting the interval&rsquo;s splice sites with all annotated sites from the GTF (to reduce label sparsity, since AlphaGenome was pretrained on many more samples and thus more splice sites), and (3) segmenting the loss computation to match the 8-segment sequence parallelism used during AlphaGenome pretraining. We implemented support for all three options via <code>finetune.py<\/code> flags: <code>--pretrained-head-samples<\/code> to initialize specific head weights from a pretrained track (e.g. <code>splice_site:0<\/code>), <code>--gtf<\/code> to supply a GTF or parquet file of canonical splice sites, and <code>--num-segments<\/code> to control how many segments the sequence is split into for loss computation (applies to all modalities, not just splicing).<\/p>\n<p>Initializing the splice site classification head from pretrained weights enabled clean overfitting regardless of whether GTF sites or loss segmentation were used. When starting from random weights, loss segmentation had a secondary effect: higher overall loss but faster overfitting, with or without the GTF augmentation.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/debug_splice_head.png\" class=\"image-link\" data-pswp-width=\"1772\" data-pswp-height=\"418\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/debug_splice_head.png.optimized.webp\" width=\"600px\" height=\"141\"loading=\"lazy\"\n\t\t\talt=\"Figure 6. Debugging the splice site classification head. SS loss is the splice site cross-entropy loss during single-interval overfitting. Curves compare pretrained vs. random head initialization, with and without GTF augmentation (adding all GENCODE-annotated canonical splice sites in the interval on top of the ones observed in these two samples), and with and without 8-way loss segmentation.\"\n\t\t\tdata-title-escaped=\"Debugging the splice site classification head.\">\n\t\t<\/a><figcaption>Debugging the splice site classification head.<\/figcaption><\/figure><h2 id=\"why-the-junction-head-could-not-learn\">Why the junction head could not learn\n<\/h2><p>In our first attempt, the splice junction head would not learn. Understanding why required looking at how the head works. For each genomic interval, the trunk produces 1 bp resolution embeddings across the full sequence. The junction head extracts embeddings only at the positions of known splice sites (up to 512; padded with -1 if fewer are present). Each extracted embedding is then linearly transformed with a learned per-sample scale and offset before RoPE positional encoding is applied. Junction counts for each donor-acceptor pair are then predicted as the softplus of the inner product between the corresponding donor and acceptor embeddings.<\/p>\n<p>Inspecting the pretrained weights revealed the problem: the junction head&rsquo;s <code>rope_params<\/code>, which contain the learned scale and offset, were non-zero and approximately truncated-normal distributed, whereas a newly initialized head set both to zero. With <code>scale = 0<\/code> and <code>offset = 0<\/code>, the transformation <code>scale * x + offset<\/code> collapses every splice-site embedding to zero before RoPE is applied, preventing the head from learning properly. We confirmed the pretrained parameter distribution for predicting K562 polyA-plus RNA-seq stranded tracks, chosen only as an available stranded pretrained initialization rather.<\/p>\n<p>Cross-referencing with the original JAX implementation and reaching out to the authors (see <a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/alphagenome_research\/issues\/22\" target=\"_blank\" rel=\"noopener\"\n >GitHub issue<\/a>) confirmed this was a bug also in the original implementation. The fix was to initialize <code>rope_params<\/code> with a truncated normal distribution (std=0.1), controlled via the <code>--rope-init<\/code> flag in <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome-pytorch\/blob\/splice-finetuning\/scripts\/finetune.py\" target=\"_blank\" rel=\"noopener\"\n ><code>finetune.py<\/code><\/a> (default: <code>truncated_normal<\/code>; <code>zeros<\/code> is kept only for ablation experiments).<\/p>\n<p>With the fix in place, the randomly initialized junction head overfit the interval comparably to a head initialized from the pretrained K562 weights when splice-site positions were taken from the sample\u2019s own annotated, STAR-called junctions, using <code>--junction-position-source annotated<\/code> (the default). This position source is sample-dependent rather than GTF-derived: it uses the junctions observed in the sample to define the candidate splice-site positions for which the model learns to predict counts. We used the K562 weights only as a pretrained reference initialization, not because K562 is biologically matched to our samples.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/splice_junctions_debug-init.png\" class=\"image-link\" data-pswp-width=\"1998\" data-pswp-height=\"903\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/splice_junctions_debug-init.png.optimized.webp\" width=\"800px\" height=\"361\"loading=\"lazy\"\n\t\t\talt=\"Figure 7. Debugging the splice junction head: single-interval overfitting loss with zeros vs. truncated_normal RoPE-parameter initialization, using splice site positions taken from the sample\u2019s own annotated (STAR-called) junctions.\"\n\t\t\tdata-title-escaped=\"Debugging the splice junction head: random initialization.\">\n\t\t<\/a><figcaption>Debugging the splice junction head: random initialization.<\/figcaption><\/figure><p>Using predicted positions from the splicing head (<code>--junction-position-source predicted<\/code>) exposed a further issue: here it&rsquo;s the pretrained-weight initialization of the junction heads that collapsed, while random initialization still learned. A possible explanation is that the pretrained junction heads were optimized alongside a dense, tissue-diverse set of splice site positions from pretraining, suggesting that positions predicted by a freshly fine-tuned splice site head on just two samples are sparser and differently distributed, likely placing it outside its operating range. Looking at the loss values pointed to a related problem: the junction cross-entropy was going negative during training, which would destabilize any head but hit the pretrained one harder.<\/p>\n<p>The root cause seemed to be a mismatch between the paper&rsquo;s pseudocode and both the JAX and PyTorch implementations. The supplementary methods define <code>multinomial_cross_entropy<\/code> by normalizing both targets and predictions to ratios before computing the cross-entropy, so <code>log(p_pred) &lt;= 0<\/code> always and the loss is guaranteed non-negative. The JAX implementation instead uses a log-normalizer formulation (<code>log_normalizer - log_likelihood<\/code>), which is mathematically equivalent when junction counts are present but produces a negative contribution when a training window contains annotated splice sites with zero observed counts; common in sparse datasets like SF3B1 RNA-seq, where not every annotated site will have reads in a given sample. The PyTorch port (<code>--junction-loss original<\/code>, the default) inherited this behavior unchanged.<\/p>\n<p>We opened another <a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/alphagenome_research\/issues\/24\" target=\"_blank\" rel=\"noopener\"\n >GitHub issue<\/a> with the authors, who confirmed the discrepancy and introduced a ratio-normalized formulation: both targets and predictions are divided by their within-mask sums before computing <code>-p_true * log(p_pred)<\/code>. We ported this as <code>--junction-loss normalized<\/code>. Since <code>p_pred &lt;= 1<\/code>, its log is always non-positive and the loss is always non-negative. With this correction, training is stable, the loss no longer dips below zero on our window, and both random and pretrained-weight initialization can overfit the single interval regardless of whether annotated or predicted splice site positions are used.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/splice_junctions_debug-loss.png\" class=\"image-link\" data-pswp-width=\"999\" data-pswp-height=\"461\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/splice_junctions_debug-loss.png.optimized.webp\" width=\"400px\" height=\"184\"loading=\"lazy\"\n\t\t\talt=\"Figure 8. Debugging the splice junction head: single-interval overfitting loss comparing the original (--junction-loss original) vs. ratio-normalized (--junction-loss normalized) junction cross-entropy formulation, across pretrained\/random initialization and annotated\/predicted splice site position sources.\"\n\t\t\tdata-title-escaped=\"Debugging the splice junction head: loss formulation.\">\n\t\t<\/a><figcaption>Debugging the splice junction head: loss formulation.<\/figcaption><\/figure><h2 id=\"what-actually-worked-practical-recipe-for-full-fine-tuning-alphagenome-on-new-samples-across-rna-seq-modalities\">What actually worked: practical recipe for full fine-tuning AlphaGenome on new samples across RNA-seq modalities\n<\/h2><p>After resolving the failure points identified above, we scaled up to a first genome-wide fine-tuning run using linear probing, with the trunk frozen and only the new output heads trained. We used the settings that performed most reliably during single-interval debugging:<\/p>\n<ul>\n<li>pretrained initialization for the splice site head;<\/li>\n<li>annotated junction positions;<\/li>\n<li>truncated-normal initialization for the junction head\u2019s RoPE parameters;<\/li>\n<li>the normalized, ratio-based junction loss.<\/li>\n<\/ul>\n<p>Using annotated junction positions gives the junction head a reliable training signal. Positions predicted by a splice site head that is still learning seemed to introduce an additional source of error. This follows AlphaGenome\u2019s pretraining strategy of first training on annotated positions and later distilling to predicted ones.<\/p>\n<p>We also used eight-way loss segmentation. Although the single-interval experiments did not establish it as necessary, we retained it for consistency with AlphaGenome pretraining as well.<\/p>\n<p>Performance on held-out intervals improved over training, alongside a modest but consistent generalization gap: at every epoch, we compared test-set performance against a same-sized random subsample of training intervals (<code>train_sample<\/code>). At epoch 10, held-out test performance trailed the training subsample by roughly 0.06\u20130.10 Pearson r across all three modalities (gene expression, splice site usage, splice junctions), for both linear-probe and LoRA. Reassuringly, that gap stayed roughly constant across epochs rather than widening \u2014 i.e. the models aren&rsquo;t progressively overfitting the training intervals with more training, though they also aren&rsquo;t closing the gap to training performance either.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/full_runs.png\" class=\"image-link\" data-pswp-width=\"1355\" data-pswp-height=\"359\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-009\/full_runs.png.optimized.webp\" width=\"700px\" height=\"185\"loading=\"lazy\"\n\t\t\talt=\"Figure 9. Held-out (solid) vs. training-subsample (dashed) performance across full fine-tuning epochs, linear-probe vs. LoRA, for gene expression, splice site usage, and splice junctions.\"\n\t\t\tdata-title-escaped=\"Held-out (solid) vs. training-subsample (dashed) performance across full fine-tuning epochs, linear-probe vs. LoRA, for gene expression, splice site usage, and splice junctions.\">\n\t\t<\/a><figcaption>Held-out (solid) vs. training-subsample (dashed) performance across full fine-tuning epochs, linear-probe vs. LoRA, for gene expression, splice site usage, and splice junctions.<\/figcaption><\/figure><p>Gene expression performance saturated early, so we asked whether LoRA fine-tuning - updating the trunk&rsquo;s internal DNA representation via low-rank adapters, rather than only the new output heads \u2014 could do better, particularly on the splicing-specific modalities. Comparing linear-probing against LoRA at epoch 10 on the held-out test set:<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Metric<\/th>\n\t\t\t\t\t<th>Linear-probe<\/th>\n\t\t\t\t\t<th>LoRA<\/th>\n\t\t\t\t\t<th>\u0394 (LoRA \u2212 probe)<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>Gene expression (Pearson r)<\/td>\n\t\t\t\t\t<td><strong>0.899<\/strong><\/td>\n\t\t\t\t\t<td>0.893<\/td>\n\t\t\t\t\t<td>\u22120.006<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>Splice site usage (Pearson r)<\/td>\n\t\t\t\t\t<td>0.646<\/td>\n\t\t\t\t\t<td><strong>0.659<\/strong><\/td>\n\t\t\t\t\t<td>+0.013<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>Splice junctions (Pearson r)<\/td>\n\t\t\t\t\t<td>0.788<\/td>\n\t\t\t\t\t<td><strong>0.811<\/strong><\/td>\n\t\t\t\t\t<td>+0.023<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>As expected, LoRA, by updating the trunk&rsquo;s internal DNA representation instead of leaving it frozen, improved performance over linear probing on the splicing-specific metrics (splice site usage, splice junctions), while gene expression stayed essentially unchanged between the two (linear-probe even edges it out slightly there).<\/p>\n<p>The two strategies also differ substantially in compute footprint, though less in runtime than in memory. Full genome fine-tuning took about a week on a single GPU for both strategies, since backpropagating through the frozen trunk to reach the low-rank adapters in LoRA still requires storing its activations end to end, even though the trunk&rsquo;s own weights aren&rsquo;t updated. Where the two diverge is memory: LoRA needed a full NVIDIA H100 (80 GB), while linear probing, which only needs gradients for the new heads, ran comfortably on NVIDIA Hopper-class GPUs with 64 GB. See Xinming&rsquo;s <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/\" target=\"_blank\" rel=\"noopener\"\n >GPU benchmarking post<\/a> for a closer look at how these memory\/compute tradeoffs play out across fine-tuning strategies.<\/p>\n<p>The workflows for full fine-tuning and evaluation are available in the repository: <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome_finetuning_rna\/tree\/v1.0.2\/workflows\/05-full_finetuning\" target=\"_blank\" rel=\"noopener\"\n ><code>workflows\/05-full_finetuning<\/code><\/a> and <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome_finetuning_rna\/tree\/v1.0.2\/workflows\/06-evaluation\" target=\"_blank\" rel=\"noopener\"\n ><code>workflows\/06-evaluation<\/code><\/a>.<\/p>\n<h2 id=\"limitations\">Limitations\n<\/h2><p>The initial debugging (up to and including the loss-formulation fix) was performed on a single genomic interval with just two RNA-seq samples, so those specific observations may not generalize to larger or more diverse training sets \u2014 this is why we followed up with the full genome-wide fine-tuning run above. The preprocessing pipeline reproduces the main steps described in the AlphaGenome paper, but since the original code is not public, we cannot guarantee exact parity.<\/p>\n<p>The splicing fine-tuning code currently lives in a dedicated fork of <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome-pytorch\/tree\/splice-finetuning\" target=\"_blank\" rel=\"noopener\"\n >alphagenome-pytorch<\/a> and is pending merge into the main branch. Support in the JAX-based <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >alphagenome_ft<\/a> will follow once that merge is complete. We&rsquo;ll update this post once both merges land, with any code or figure references that change as a result.<\/p>\n<p>This post focuses on getting the implementation correct and measuring held-out performance, not on biological interpretation. We do not yet relate these predictions to independent data or ask whether the fine-tuned heads capture SF3B1-specific splicing changes \u2014 that comparison, and the accompanying biological interpretation, is left for the follow-up post. We also only evaluate two RNA-seq samples (one WT, one K700E) and a single AlphaGenome fold; generalization to more samples, mutations, or cell types remains to be tested.<\/p>\n<h2 id=\"conclusion\">Conclusion\n<\/h2><p>This process gave us a much better understanding of what it actually takes to fine-tune new transcriptomic heads on AlphaGenome. Extending the model to splicing modalities was not simply a matter of adding data loaders and output layers (as we hoped): higher label sparsity, head initialization, loss formulation, and the interaction between position sources and weight initialization all turned out to matter.<\/p>\n<p>The most useful strategy was to build confidence at each step before scaling up, from preprocessing validation and target inspection to single-interval overfitting. Each stage exposed a different class of problem. The single-interval test in particular was worth its weight as the two loss bugs and a zero-initialization bug in the junction head would have been much harder to diagnose in a full training run. We hope that sharing these intermediate failures, alongside the fixes and the flags that control them, makes it easier for others to extend AlphaGenome to new RNA-seq modalities and biological questions.<\/p>\n<p>The full fine-tuning results also suggest that gene expression and splicing tasks don&rsquo;t need the same amount of compute: gene expression performance saturated early and didn&rsquo;t benefit from LoRA, so linear probing on modest hardware is likely enough there, whereas the splicing modalities kept improving and gained the most from LoRA&rsquo;s larger compute and memory footprint. If gene expression is your main target, linear probing is probably all you need; splicing tasks are where the extra compute marginally pays off.<\/p>\n<p>In the end, this project became more than a simple port. It resulted in reusable preprocessing scripts, training pipelines, and a set of practical checks and warnings that we hope make fine-tuning RNA-seq\u2013derived splicing modalities on AlphaGenome more transparent and reproducible. We are especially grateful to the DeepMind developers for openly sharing their code and model weights, and for the responsiveness of Tom Ward (<a class=\"link\" href=\"https:\/\/github.com\/tomwardio\" target=\"_blank\" rel=\"noopener\"\n ><code>@tomwardio<\/code><\/a>) and Vincent Dutordoir (<a class=\"link\" href=\"https:\/\/github.com\/vdutor\" target=\"_blank\" rel=\"noopener\"\n ><code>@vdutor<\/code><\/a>) when we reported bugs and implementation issues; their feedback was instrumental in reaching the conclusions presented here. We hope these efforts help make fine-tuning splicing heads as seamless and accessible as possible for the broader community.<\/p>\n<h2 id=\"reproducibility\">Reproducibility\n<\/h2><p>The repository <a class=\"link\" href=\"https:\/\/github.com\/MiqG\/alphagenome_finetuning_rna\/tree\/v1.0.2\" target=\"_blank\" rel=\"noopener\"\n >alphagenome_finetuning_rna<\/a> contains all the necessary code, from data downloading to analysis and figures, to reproduce these results.<\/p>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Avsec, \u017d. et al. Advancing regulatory variant effect prediction with AlphaGenome., 649, Nature (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41586-025-10014-0<\/a><\/li>\n<li>L\u00f3pez-Oreja, I. et al. SF3B1 mutation-mediated sensitization to H3B-8800 splicing inhibitor in chronic lymphocytic leukemia., 6, Life Sciences Alliance (2023). <a class=\"link\" href=\"https:\/\/doi.org\/10.26508\/lsa.202301955\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.26508\/lsa.202301955<\/a><\/li>\n<li>Dent, C.I. et al. Quantifying splice-site usage: a simple yet powerful approach to analyze splicing., 3, NAR Genomics and Bioinformatics (2021). <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/nargab\/lqab041\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1093\/nargab\/lqab041<\/a><\/li>\n<li>Ram\u00edrez, F. et al. deepTools2: a next generation web server for deep-sequencing data analysis., 44, Nucleic Acids Research (2016). <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/nar\/gkw257\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1093\/nar\/gkw257<\/a><\/li>\n<li>Dobin, A. et al. STAR: ultrafast universal RNA-seq aligner., 29, Bioinformatics (2013). <a class=\"link\" href=\"https:\/\/doi.org\/10.1093\/bioinformatics\/bts635\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1093\/bioinformatics\/bts635<\/a><\/li>\n<\/ol>\n<h2 id=\"acknowledgements\">Acknowledgements\n<\/h2><p>Thanks to the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/\" target=\"_blank\" rel=\"noopener\"\n >Genomics x AI<\/a> community and the Kundaje Lab at Stanford, where the AlphaGenome PyTorch port is being developed as well. We acknowledge the EuroHPC Joint Undertaking for awarding this project access to the EuroHPC supercomputer MareNostrum 5, hosted by the Barcelona Supercomputing Center (Spain) through an EuroHPC Development Access call. We acknowledge support of the Spanish Ministry of Science and Innovation through the Centro de Excelencia Severo Ochoa (CEX2020-001049-S, MCIN\/AEI \/10.13039\/501100011033), and the Generalitat de Catalunya through the CERCA programme, and to the EMBL partnership. We are grateful to the CRG Core Technologies Programme for their support and assistance in this work.<\/p>\n"},{"title":"Chorus: chatting with genomic oracles","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/","pubDate":"Fri, 17 Jul 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Chorus: chatting with genomic oracles\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>Sequence-to-function models have become one of the most exciting developments in regulatory genomics: models like Enformer, Borzoi, ChromBPNet, and AlphaGenome can now predict chromatin accessibility, transcription factor binding, gene expression, histone modifications, and splicing directly from DNA sequence across hundreds of cell types. Using them together, however, has remained surprisingly difficult \u2014 each ships with its own repository, dependencies, input formats, track conventions, output resolutions, and hardware requirements, which puts comparative analysis out of reach for most clinicians and GWAS interpreters.<\/p>\n<p><strong>Chorus<\/strong> provides a unified framework that turns seven state-of-the-art models (ChromBPNet\/BPNet, LegNet, Sei, Enformer, Borzoi, EPInformer-seq, and AlphaGenome) into interchangeable &ldquo;oracles&rdquo; with harmonised, cross-comparable outputs, and exposes every capability over the <a class=\"link\" href=\"https:\/\/modelcontextprotocol.io\/\" target=\"_blank\" rel=\"noopener\"\n >Model Context Protocol<\/a> so an AI agent can run them from plain language \u2014 a shift from computational to <strong>conversational genomics<\/strong>. Two worked examples show what that enables: in the first, an agent reconstructs the mechanism of a textbook regulatory variant (rs12740374 at <em>SORT1<\/em>) through conversation alone; in the second, it prioritises a likely causal variant inside a tight GWAS linkage block (rs9504151), recovering the same disrupted transcription factor an independent fine-mapping study reported.<\/p>\n<p>We are also honest about where the predictions fall short: effect sizes come out too small, and a variant can only be assessed in the cell types the models actually cover.<\/p>\n<p><strong>Code:<\/strong> <a class=\"link\" href=\"https:\/\/github.com\/pinellolab\/chorus\" target=\"_blank\" rel=\"noopener\"\n >github.com\/pinellolab\/chorus<\/a><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"motivation\">Motivation\n<\/h2><p>Interpreting noncoding variants is one of the central problems in human genetics: most GWAS associations and a large share of disease-relevant variants lie outside coding regions, making it difficult to understand how they influence biology.<\/p>\n<p>One important link between theoretical biology and personalized medicine is predicting the effects of regulatory variants. Unfortunately, this task cannot be addressed directly because only a small number of regulatory variant effects have been measured in a consistent and reliable way.\nTherefore, the field has largely adopted a zero-shot approach. A sequence-to-function (seq2func) model is trained to predict molecular readouts directly from DNA sequence, such as chromatin accessibility, transcription factor binding, gene expression, or splicing. After that, to estimate the effect of a genetic variant, the model is run twice: once on the reference sequence and once on the sequence containing the variant. The difference between the two predictions is used as the predicted variant effect. In other words, it estimates how much the mutation changes regulatory activity of the region.<\/p>\n<p>Models like <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >Enformer<\/a>, <a class=\"link\" href=\"https:\/\/github.com\/calico\/borzoi\" target=\"_blank\" rel=\"noopener\"\n >Borzoi<\/a>, <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/chrombpnet\" target=\"_blank\" rel=\"noopener\"\n >ChromBPNet\/BPNet<\/a>, <a class=\"link\" href=\"https:\/\/github.com\/FunctionLab\/sei-framework\" target=\"_blank\" rel=\"noopener\"\n >Sei<\/a>, <a class=\"link\" href=\"https:\/\/github.com\/autosome-ru\/LegNet\" target=\"_blank\" rel=\"noopener\"\n >LegNet<\/a>, <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41467-026-70535-8\" target=\"_blank\" rel=\"noopener\"\n >EPInformer<\/a> and <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> can now predict chromatin accessibility, transcription factor binding, gene expression, histone modifications, and splicing directly from DNA sequence across hundreds of cell types. Using them together, however, has remained surprisingly difficult.<\/p>\n<!-- > *Side note:* a seq2func model learns a direct mapping from DNA sequence to one or more measured molecular readouts (accessibility, binding, expression, and so on). Train it on the genome and you can then ask it about sequences the genome never contained, which is exactly what variant interpretation needs. -->\n<p>Every model comes with its own ecosystem: a separate repository, dependency stack (TensorFlow, PyTorch, or JAX), input window (anywhere from 200b to 1 Mb), various sequence preprocessing and prediction postprocessing steps, track-naming convention, output resolution, and hardware requirements. Running a comparative analysis across models often means days of plumbing before you can even ask a biological question. That overhead is real even for computational biologists; for clinicians and GWAS interpreters, who want to examine a patient&rsquo;s variant or a credible set from a study, it is usually a hard stop. A standardized collection of models that is easy to install and run \u2014 paired with tools that run them efficiently and generate comprehensive reports highlighting the most probable explanations and the weak points that still need experimental validation \u2014 could greatly accelerate progress. This is the motivation behind Chorus.<\/p>\n<p>Several prior efforts have sought to standardize access to sequence-to-function models, though each addresses a different piece of the puzzle. <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41587-019-0140-0\" target=\"_blank\" rel=\"noopener\"\n >Kipoi<\/a> established a model repository and exchange format for genomics, making trained models findable and reusable. <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41587-024-02414-w\" target=\"_blank\" rel=\"noopener\"\n >PrixFixe<\/a> addresses the problem of designing novel and effective deep-learning models. <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2025.08.08.669296v1\" target=\"_blank\" rel=\"noopener\"\n >tangermeme<\/a> focuses on providing built-in, highly optimized atomic methods for\ninterpreting model predictions. <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-025-02868-z\" target=\"_blank\" rel=\"noopener\"\n >gReLU<\/a> provides a library for training, interpreting, and deploying sequence-to-function models, streamlining the development side of the workflow. <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.07.04.663250\" target=\"_blank\" rel=\"noopener\"\n >GAME<\/a> (Genomics API for Model Evaluation) standardizes benchmarking through Predictors and Evaluators that communicate over a common API, with an LLM Matcher for cell-type and species alignment. Where these efforts focus on exchange, development, and evaluation, Chorus tackles a different problem: harmonized, cross-comparable variant interpretation through a conversational interface.<\/p>\n<p>Chorus turns genomic sequence-to-function models into interchangeable <em>oracles<\/em>. You describe a biological question in plain language, and Chorus selects the appropriate model, handles all preprocessing and dependency management, and returns results in a consistent format. Analyses that previously required stitching together multiple pipelines across days can now be completed in an afternoon, through conversation alone.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_architecture.png\" class=\"image-link\" data-pswp-width=\"3333\" data-pswp-height=\"2250\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_architecture.png.optimized.webp\" width=\"3333\" height=\"2250\"loading=\"lazy\"\n\t\t\talt=\"Chorus turns seven sequence-to-function models into interchangeable oracles and lets an AI agent orchestrate them from natural language.\"\n\t\t\tdata-title-escaped=\"Figure 1. Chorus exposes seven seq2func oracles behind one interface and an agentic layer. The same analysis can be driven programmatically through a unified Python API or conversationally through an MCP server.\" class=\"gallery-image\" data-flex-grow=\"148\" data-flex-basis=\"355px\">\n\t\t<\/a><figcaption>Figure 1. Chorus exposes seven seq2func oracles behind one interface and an agentic layer. The same analysis can be driven programmatically through a unified Python API or conversationally through an MCP server.<\/figcaption><\/figure><hr>\n<h2 id=\"chorus-framework\">Chorus Framework\n<\/h2><p>Chorus provides a unified framework for sequence-to-function models through a standardized <strong>oracle<\/strong> abstraction. Every model becomes an interchangeable genomic oracle: you hand it a genomic region or a DNA sequence and a set of tracks, and it returns predictions across the modalities it supports. Switching models is a single argument. Under the hood, Chorus handles dependency isolation, environment management, and the model-specific preprocessing each one demands; from the outside, all of that disappears behind one small Python API.<\/p>\n<p>Three concepts carry the design:<\/p>\n<ul>\n<li><strong>Oracle.<\/strong> A common interface implemented by every model. <code>oracle.predict(interval, tracks)<\/code> is the primitive that everything else is built on. Each oracle runs in its own isolated conda environment, so the TensorFlow, PyTorch, and JAX models never fight over dependencies.<\/li>\n<li><strong>Interval.<\/strong> A unified handle on genomic coordinates and the reference sequence, with an edit history. An interval tracks the substitutions, insertions, and deletions you apply alongside the predictions they produce, which is what makes in silico perturbation reproducible rather than a pile of ad hoc FASTA files.<\/li>\n<li><strong>Track.<\/strong> A named genomic signal \u2014 DNase and ATAC measure open chromatin, CAGE marks transcription start sites, ChIP maps protein\u2013DNA binding, RNA-seq measures expression, and so on. A track is implicitly an (assay x cell type\/tissue) pair, such as &ldquo;DNase in HepG2&rdquo; or &ldquo;CAGE in lung fibroblasts&rdquo;. Track identifiers differ across oracles, so Chorus provides metadata search to find the right ones. The Track class supports several common and useful operations, such as changing the track resolution to compare predictions from different models.<\/li>\n<\/ul>\n<p>These seven oracles span a wide range of context windows and resolutions, which is exactly why having them under one roof is useful: you can pick the right tool for the layer you care about without rewriting your analysis.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Oracle<\/th>\n\t\t\t\t\t<th>Input window<\/th>\n\t\t\t\t\t<th>Resolution<\/th>\n\t\t\t\t\t<th>What it is good at<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>ChromBPNet \/ BPNet<\/strong><\/td>\n\t\t\t\t\t<td>2,114 bp<\/td>\n\t\t\t\t\t<td>1 bp<\/td>\n\t\t\t\t\t<td>Chromatin accessibility (ChromBPNet) and TF binding (BPNet) at base-pair resolution<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>LegNet<\/strong><\/td>\n\t\t\t\t\t<td>200 bp<\/td>\n\t\t\t\t\t<td>element-level<\/td>\n\t\t\t\t\t<td>MPRA \/ reporter activity of short regulatory elements<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>EPInformer (EPInformer-seq implementation)<\/strong><\/td>\n\t\t\t\t\t<td>2,114 bp*<\/td>\n\t\t\t\t\t<td>1 bp (DNase\/H3K27ac); element-level (DNase\u2013H3K27ac composite)<\/td>\n\t\t\t\t\t<td>Compact per-cell enhancer activity (DNase cut-sites + H3K27ac) across 11 Roadmap cell types<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>Sei<\/strong><\/td>\n\t\t\t\t\t<td>4,096 bp<\/td>\n\t\t\t\t\t<td>region-level<\/td>\n\t\t\t\t\t<td>Regulatory effect across 21,907 chromatin profiles<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>Enformer<\/strong><\/td>\n\t\t\t\t\t<td>196,608 bp<\/td>\n\t\t\t\t\t<td>128 bp<\/td>\n\t\t\t\t\t<td>Expression (CAGE), accessibility, histone marks across long context<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>Borzoi<\/strong><\/td>\n\t\t\t\t\t<td>524,288 bp<\/td>\n\t\t\t\t\t<td>32 bp<\/td>\n\t\t\t\t\t<td>Enformer-style outputs plus RNA-seq coverage<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td><strong>AlphaGenome<\/strong><\/td>\n\t\t\t\t\t<td>1,048,576 bp<\/td>\n\t\t\t\t\t<td>1 bp<\/td>\n\t\t\t\t\t<td>Generalist: ATAC, DNase, CAGE, RNA-seq, splicing, PRO-CAP, and ChIP for histones and TFs (5,731 tracks)<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>*Chorus uses the <a class=\"link\" href=\"https:\/\/github.com\/pinellolab\/EPInformer\/blob\/main\/EPInformer\/epinformer_seq_v2.py\" target=\"_blank\" rel=\"noopener\"\n >EPInformer-seq implementation<\/a>, which accepts a single 2,114-bp sequence as input and predicts DNase and H3K27ac profiles over the central 1,024 bp. This differs from the original EPInformer architecture, which predicts gene expression by taking a promoter together with candidate enhancers spanning a broader (~100 kb) regulatory context.<\/p>\n<p>There is one more piece that makes cross-model work honest. Raw model outputs are not comparable: a &ldquo;+1.3&rdquo; from one track means something different from a &ldquo;+1.3&rdquo; from another. Chorus scores every prediction against a per-track genome-wide background (built from thousands of random variants and genomic sites), turning a raw log2 fold-change into two interpretable numbers: an <strong>effect percentile<\/strong> (how unusual this variant&rsquo;s effect is relative to random SNPs, an approach inspired by the one used in the AlphaGenome paper) and an <strong>activity percentile<\/strong> (how active the site is to begin with). For the genome-browser view, the same backgrounds rescale every track onto one shared display axis, where 1.0 marks roughly the top one percent of bins genome-wide and 0 sits at a per-layer activity floor. After this normalisation, effects and signals become comparable across cell types, variants, tracks, and oracles, and the browser can show every oracle&rsquo;s reference and alternate signal on a single axis.<\/p>\n<hr>\n<h2 id=\"from-computational-to-conversational-genomics\">From computational to conversational genomics\n<\/h2><p>We call this shift conversational genomics: asking in plain language what DNA does, and what happens when you change it, while an AI agent orchestrates the right sequence-to-function models to predict, compare, and explain the answer.<\/p>\n<p>Chorus also adopts an approach that fundamentally changes how these models get used and makes them even easier to reach: a conversational layer. It ships an <a class=\"link\" href=\"https:\/\/modelcontextprotocol.io\/\" target=\"_blank\" rel=\"noopener\"\n >MCP<\/a> (Model Context Protocol) server that exposes every capability as a tool an AI agent can call. Once it is connected, you can ask the genome what a variant would do in plain language, and the agent picks the oracle, selects tracks, runs the prediction, and explains the result.<\/p>\n<p>The MCP server exposes 24 tools, grouped by what they do. The low-level set handles discovery (<code>list_oracles<\/code>, <code>list_tracks<\/code>, <code>list_genomes<\/code>, <code>get_genes_in_region<\/code>, <code>get_gene_tss<\/code>), oracle lifecycle (<code>load_oracle<\/code>, <code>unload_oracle<\/code>, <code>oracle_status<\/code>), raw prediction (<code>predict<\/code>, <code>predict_variant_effect<\/code>, <code>predict_region_replacement<\/code>, <code>predict_region_insertion<\/code>), scoring primitives (<code>score_prediction_region<\/code>, <code>score_variant_effect_at_region<\/code>, <code>predict_variant_effect_on_gene<\/code>, <code>score_ism<\/code> for in-silico saturation mutagenesis), and a backend helper (<code>recommend_alphagenome_backend<\/code>, which suggests the JAX vs PyTorch AlphaGenome backend for a given window size).<\/p>\n<p>Above these are the high-level analysis tools that power the worked examples below, the ones most users actually call:<\/p>\n<ul>\n<li><code>analyze_variant_multilayer<\/code> \u2014 score a variant across chromatin, TF, histone, CAGE, RNA, and splicing in a single call<\/li>\n<li><code>discover_variant<\/code> and <code>discover_variant_cell_types<\/code> \u2014 find the top tracks, or screen hundreds of cell types, for a variant without pre-selecting assays<\/li>\n<li><code>score_variant_batch<\/code> \u2014 rank a whole VCF, GWAS set, or credible set by effect<\/li>\n<li><code>fine_map_causal_variant<\/code> \u2014 prioritise the causal SNP in a GWAS locus using multi-layer convergence (this is the tool behind the second worked example below)<\/li>\n<li><code>analyze_region_swap<\/code> and <code>simulate_integration<\/code> \u2014 score sequence-engineering edits such as promoter swaps and construct insertions<\/li>\n<\/ul>\n<p>This means an analyst can ask: which cell type&rsquo;s accessibility changes most for this variant, which transcription factor is gaining or losing a site, which nearby gene moves, does this edited enhancer behave like the wild type. No code, and the same questions map onto whichever oracle is best suited to answer them.<\/p>\n<p>The two sections below are worked examples of exactly that.<\/p>\n<hr>\n<h2 id=\"reproducing-a-nature-paper-in-an-afternoon\">Reproducing a Nature paper in an afternoon\n<\/h2><p>We started from a simple question: could an agent equipped with Chorus reconstruct the mechanism behind a classic regulatory variant through conversation alone?<\/p>\n<p>The test case is <strong>rs12740374<\/strong> at the 1p13 locus, the subject of a <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nature09266\" target=\"_blank\" rel=\"noopener\"\n >2010 Nature paper<\/a> by Musunuru and colleagues. The original work showed that this noncoding SNP creates a liver-specific C\/EBP (C\/EBP\u03b1) binding site, raises <em>SORT1<\/em> expression in hepatocytes, and ultimately shifts LDL cholesterol and myocardial infarction risk. The SNP sits in a roughly 6 kb noncoding stretch between CELSR2 and PSRC1; SORT1, the gene it ultimately controls, is a more distal neighbour in the same cluster, a detail that matters below. Establishing the mechanism took a battery of experiments: eQTL analysis, reporter assays, chromatin immunoprecipitation (ChIP), electrophoretic mobility shift assays (EMSA), and overexpression and knockdown studies in mouse liver.<\/p>\n<p>We reproduced the core of it in an afternoon, in a chat. Working in Claude Code with the Chorus MCP server connected, the analysis unfolded one question at a time.<\/p>\n<p><strong>Step 1, which cell type opens up?<\/strong><\/p>\n\n <blockquote>\n <p><strong>Prompt:<\/strong> Score chr1:109274968 G&gt;T using ChromBPNet. Which cell types change chromatin accessibility the most?<\/p>\n\n <\/blockquote>\n<p>The agent loaded ChromBPNet on its own and reported that the variant strongly increases predicted accessibility, with a large effect in <strong>HepG2<\/strong>, a liver-derived line \u2014 among the strongest of the cell types it covers. That matches the paper&rsquo;s central claim that the mechanism is liver-relevant. (Across the human ChromBPNet DNase models, HepG2 is co-highest by effect-percentile; the fibroblast line IMR-90 shows a comparable-to-larger raw effect, so we avoid claiming HepG2 is uniquely the largest.)<\/p>\n<p><strong>Step 2, which factor binds?<\/strong><\/p>\n\n <blockquote>\n <p><strong>Prompt:<\/strong> HepG2 looks interesting. Which transcription factor&rsquo;s predicted binding changes most at the variant?<\/p>\n\n <\/blockquote>\n<p>The strongest signal came from the <strong>C\/EBP<\/strong> family. We gave no prior about which factor to look for: AlphaGenome scores its whole panel of TF-ChIP tracks, so it can surface C\/EBP straight from sequence (CEBPB and CEBPA top the HepG2 TF panel), and a C\/EBP-specific BPNet head then confirms the gain. In the 2010 study, nailing this down required EMSA and ChIP to show that C\/EBP binds the site created by the minor allele.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_sort1_tf_scan.png\" class=\"image-link\" data-pswp-width=\"1494\" data-pswp-height=\"1013\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_sort1_tf_scan.png.optimized.webp\" width=\"1494\" height=\"1013\"loading=\"lazy\"\n\t\t\talt=\"AlphaGenome TF-ChIP scan for rs12740374 in HepG2, with no prior.\"\n\t\t\tdata-title-escaped=\"Figure 2. AlphaGenome&amp;#39;s HepG2 TF-ChIP scan for rs12740374, given no prior about which factor to look for. The C\/EBP family tops the ranking (CEBPB &#43;3.1, CEBPA &#43;2.8, CEBPG &#43;2.3, CEBPD &#43;1.9) \u2014 the binding site the minor allele creates.\" class=\"gallery-image\" data-flex-grow=\"147\" data-flex-basis=\"353px\">\n\t\t<\/a><figcaption>Figure 2. AlphaGenome&rsquo;s HepG2 TF-ChIP scan for rs12740374, given no prior about which factor to look for. The C\/EBP family tops the ranking (CEBPB +3.1, CEBPA +2.8, CEBPG +2.3, CEBPD +1.9) \u2014 the binding site the minor allele creates.<\/figcaption><\/figure><p><strong>Step 3, which gene is affected the most, and why only a long-context oracle can answer<\/strong><\/p>\n\n <blockquote>\n <p><strong>Prompt:<\/strong> Which nearby gene&rsquo;s expression is most affected? Use a long-context oracle with CAGE and RNA-seq.<\/p>\n\n <\/blockquote>\n<p>This step is worth pausing on, because it is the one place where the choice of oracle is not optional. As noted above, rs12740374 sits between CELSR2 and PSRC1, and the SORT1 promoter is roughly 100 kb away (\u2248118 kb to the nearest SORT1 TSS in hg38). Linking the variant to <em>SORT1<\/em> therefore requires two capabilities:<\/p>\n<ol>\n<li>The model must predict gene-expression-related outputs such as CAGE or RNA-seq.<\/li>\n<li>The relevant promoter must fall within the model&rsquo;s output window.<\/li>\n<\/ol>\n<p>Many powerful sequence-to-function models fail one of these criteria.\nChromBPNet and LegNet do not model gene expression at all: they are designed to measure local chromatin accessibility and short-sequence reporter activity, respectively.\nEven among expression models, genomic context matters. Enformer&rsquo;s input window can accommodate both the variant and the SORT1 promoter. Placing the variant near the start of the 196,608 bp input puts the SORT1 TSS (roughly 118 kb away) within the central 114 kb output crop, so the model could in principle report an effect on the promoter. In practice, however, Enformer struggles to reliably capture regulatory effects spanning such long distances (see <strong>Distal targets need long context<\/strong> in <strong>Limitations<\/strong> section or <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >Karollus et al., 2023<\/a>); in our tests Enformer predicts essentially no change in liver CAGE signal at the SORT1 promoter for this variant.<\/p>\n<p>Chorus handles this decision automatically. During oracle selection, Chorus checks whether the genomic feature required by the user&rsquo;s question falls within the candidate model&rsquo;s effective output region. If the target gene lies outside that range, Chorus recommends switching to an oracle with a sufficiently large output window. This is why, for this analysis, the gene-level prediction was obtained from AlphaGenome.<\/p>\n<p>The top hit was <strong>SORT1<\/strong>, with increased predicted promoter and transcript signal in HepG2.<\/p>\n<p>At that point the mechanistic story had assembled itself through conversation: the minor allele opens chromatin in liver cells, creates a C\/EBP site, and upregulates <em>SORT1<\/em>. AlphaGenome alone could have recovered essentially this entire chain of evidence. But relying on a single model leaves open the question of whether the result is a genuine biological signal or a model-specific artefact. The power of Chorus is that it lets us ask the same question across multiple oracles with different inductive biases. To make the result robust rather than a single model&rsquo;s opinion, we then scored the variant across three independent oracles, each contributing only the layers it can actually measure: ChromBPNet for local accessibility, LegNet for MPRA reporter activity, and AlphaGenome as a generalist covering ChIP, histones, CAGE, and, thanks to its 1 Mb window, the distal <em>SORT1<\/em> promoter. This multi-model convergence is exactly the kind of cross-validation that is typically expensive and time-consuming to set up; Chorus makes it conversational.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_sort1_comparison.png\" class=\"image-link\" data-pswp-width=\"2400\" data-pswp-height=\"1660\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_sort1_comparison.png.optimized.webp\" width=\"2400\" height=\"1660\"loading=\"lazy\"\n\t\t\talt=\"Multi-oracle readout for rs12740374 next to the 2010 experimental ground truth.\"\n\t\t\tdata-title-escaped=\"Figure 3. The per-layer multi-oracle readout for rs12740374, placed next to the experimental ground truth from Musunuru et al. (2010). The models recover the direction and the mechanism at every layer; the one place they fall short is magnitude.\" class=\"gallery-image\" data-flex-grow=\"144\" data-flex-basis=\"346px\">\n\t\t<\/a><figcaption>Figure 3. The per-layer multi-oracle readout for rs12740374, placed next to the experimental ground truth from Musunuru et al. (2010). The models recover the direction and the mechanism at every layer; the one place they fall short is magnitude.<\/figcaption><\/figure>\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_sort1_browser.png\" class=\"image-link\" data-pswp-width=\"3200\" data-pswp-height=\"1394\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_sort1_browser.png.optimized.webp\" width=\"3200\" height=\"1394\"loading=\"lazy\"\n\t\t\talt=\"Every oracle\u2019s signal on a single genome-browser axis across the SORT1 locus.\"\n\t\t\tdata-title-escaped=\"Figure 4. Every oracle&amp;#39;s signal on one normalised genome-browser axis across the SORT1 locus (chr1:109.15\u2013109.45 Mb): ChromBPNet DNase, LegNet MPRA, and AlphaGenome H3K27ac \/ CAGE \/ CEBPA \/ DNase, with the G&amp;gt;T variant marked (red). After per-track quantile normalisation the tracks are directly comparable; the signal concentrates at the variant and the CELSR2\/PSRC1 enhancer, while SORT1 (~100 kb away) is reached only by AlphaGenome&amp;#39;s long window.\" class=\"gallery-image\" data-flex-grow=\"229\" data-flex-basis=\"550px\">\n\t\t<\/a><figcaption>Figure 4. Every oracle&rsquo;s signal on one normalised genome-browser axis across the SORT1 locus (chr1:109.15\u2013109.45 Mb): ChromBPNet DNase, LegNet MPRA, and AlphaGenome H3K27ac \/ CAGE \/ CEBPA \/ DNase, with the G&gt;T variant marked (red). After per-track quantile normalisation the tracks are directly comparable; the signal concentrates at the variant and the CELSR2\/PSRC1 enhancer, while SORT1 (~100 kb away) is reached only by AlphaGenome&rsquo;s long window.<\/figcaption><\/figure><h3 id=\"predictions-next-to-ground-truth\">Predictions next to ground truth\n<\/h3><p>Figure 3 places prediction and ground truth side by side: what Chorus predicted in silico against what the original study measured at the bench. Read top to bottom, the agreement is striking. Without any prior assumptions, the oracles recover the cell type, the transcription factor, the chromatin and histone changes, the reporter direction, and the target gene, all of which originally took dedicated assays to establish.<\/p>\n\n <blockquote>\n <p><strong>Reproducibility note.<\/strong> ChromBPNet&rsquo;s accessibility number is scored on its native 2,114 bp window: the article reports <strong>+1.24<\/strong>, and a fresh re-run on current chorus gives <strong>+1.37<\/strong> (~10% relative drift, within tolerance). We expect this range of variation from floating-point arithmetic differences across GPU\/CPU runs, and numerical precision in window positioning. The direction and approximate magnitude are stable. On chorus <code>main<\/code> the conversational path does this automatically \u2014 just ask for the variant, no manual window needed. The underlying commit\/PR detail lives in the linked reproduction report.<\/p>\n\n <\/blockquote>\n<p>The honest caveat is the magnitude of the <em>SORT1<\/em> effect itself. The models get its <strong>direction<\/strong> right at every layer, but <strong>underestimate the size<\/strong> badly: a small predicted increase, well under 2-fold, against the more than 12-fold higher SORT1 mRNA expression observed in human liver samples (Musunuru et al., 2010, Figure 1d). That 12-fold increase comes from qPCR measurement of endogenous SORT1 expression in primary human liver tissue, which is the kind of quantitative expression difference the long-range expression models aim to predict. Here, the oracle captured the direction and the regulatory mechanism, but the predicted effect falls far short of the measured biological magnitude, and this gap is exactly the kind of thing you would still take to a reporter assay.<\/p>\n<hr>\n<h2 id=\"variant-prioritisation-a-worked-example\">Variant prioritisation: a worked example\n<\/h2><p>Genome-wide association studies (GWAS) often identify a region of the genome rather than a single causal mutation, because nearby variants are inherited together through <strong>linkage disequilibrium (LD)<\/strong>. Statistical fine-mapping assigns probabilities to those correlated variants, producing a <strong>credible set<\/strong>: a small group of candidates that together are likely to contain the true causal variant. Functional prediction can then help rank the variants within that set according to which are most likely to alter gene regulation.<\/p>\n<p>This is exactly the problem addressed in our second worked example. Given a GWAS hit sitting in tight linkage with many neighbours, which variant is actually causal?<\/p>\n<p>A useful anchor here is a recent preprint, <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2025.07.09.663936v1\" target=\"_blank\" rel=\"noopener\"\n >Borzoi-informed fine mapping<\/a> (the &ldquo;Sniff&rdquo; framework), which feeds Borzoi variant-effect predictions into Bayesian fine-mapping with PolyFun and SuSiE. For a sub-significant FEV1\/FVC ratio association, Sniff resolves the locus \u2014 which neither SuSiE nor PolyFun-Baseline could resolve \u2014 to a single variant, <strong>rs9504151<\/strong> (posterior inclusion probability 0.51), and nominates <strong>CDYL<\/strong> as the likely target gene. Reading Borzoi&rsquo;s attributions, the authors find that the variant disrupts a putative <strong>ATF4<\/strong> binding motif, with decreased predicted chromatin accessibility and H3K27ac, and the effect localised to <strong>lung fibroblasts<\/strong>.<\/p>\n<p>We used this locus to ask a different question: driving several oracles by conversation, would Chorus land on the same variant and the same factor? What follows is the team&rsquo;s own re-analysis with Chorus, reported as a demonstration of the prioritisation workflow, not as a result taken from the preprint.<\/p>\n<h3 id=\"step-1-initial-scoring-with-alphagenome\">Step 1, initial scoring with AlphaGenome\n<\/h3>\n <blockquote>\n <p><strong>Prompt:<\/strong> Fine-map the rs9504151 credible set with AlphaGenome. Which variant ranks first?<\/p>\n\n <\/blockquote>\n<p>rs9504151 sits in a tightly correlated LD block: a Chorus LDlink query (r\u00b2 \u2265 0.8, 1000G CEU) returned 54 SNV proxies, many of them are in near-perfect LD (r\u00b2 \u2248 1.0) with the lead, so LD alone cannot distinguish the causal candidate. For the analysis below, Chorus scored the full 56-variant credible set \u2014 the lead variant, all linked SNVs, and the few associated indels not counted among the SNVs. This is exactly the kind of locus the Sniff framework is designed to resolve.<\/p>\n<p>We asked Chorus to score this credible set with AlphaGenome. In our run it ranked rs9504151 at the top, predicting that it sits in an active cis-regulatory element in lung fibroblasts whose accessibility and active histone marks drop on the alternate allele. Its RNA tracks predicted no significant expression change at the locus. On that basis Chorus flagged the variant for functional follow-up.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_rs9504151_finemap.png\" class=\"image-link\" data-pswp-width=\"1514\" data-pswp-height=\"687\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_rs9504151_finemap.png.optimized.webp\" width=\"1514\" height=\"687\"loading=\"lazy\"\n\t\t\talt=\"AlphaGenome fine-mapping of the rs9504151 credible set.\"\n\t\t\tdata-title-escaped=\"Figure 5. AlphaGenome fine-maps the 56-variant credible set around rs9504151. rs9504151 ranks #1 by composite functional score; the high-LD neighbour rs62384944 (r\u00b2\u22480.93) \u2014 which raw LD cannot separate from the lead \u2014 is demoted to rank 4. Functional prediction resolves what LD alone cannot.\" class=\"gallery-image\" data-flex-grow=\"220\" data-flex-basis=\"528px\">\n\t\t<\/a><figcaption>Figure 5. AlphaGenome fine-maps the 56-variant credible set around rs9504151. rs9504151 ranks #1 by composite functional score; the high-LD neighbour rs62384944 (r\u00b2\u22480.93) \u2014 which raw LD cannot separate from the lead \u2014 is demoted to rank 4. Functional prediction resolves what LD alone cannot.<\/figcaption><\/figure><h3 id=\"step-2-cross-checking-with-other-oracles-and-an-honest-cell-type-caveat\">Step 2, cross-checking with other oracles, and an honest cell-type caveat\n<\/h3>\n <blockquote>\n <p><strong>Prompt:<\/strong> Re-score the credible set with a ChromBPNet lung-fibroblast (IMR-90) DNase model and LegNet model trained on HepG2 cell-line. Does rs9504151 stay #1?<\/p>\n\n <\/blockquote>\n<p>This is where having several oracles helps, and also where a real limitation surfaces. We re-scored the set of variants with a LegNet MPRA oracle trained on HepG2 cell line and with a ChromBPNet model trained on lung-fibroblast DNase (IMR-90). In our run, rs9504151 stayed at rank 1 with ChromBPNet on the lung-fibroblast model, and it also ranked second under the HepG2-trained LegNet model.<\/p>\n<p>However, the caveat is important. Only the ChromBPNet model here was matched to the relevant cell type, lung fibroblast. The MPRA reporter panels available to LegNet do not include a lung fibroblast (the available lines are K562, HepG2, and WTC11), so that line of evidence is cell-type-mismatched and should be weighted accordingly. This is particularly relevant for the HepG2-trained LegNet signal, which reflects regulatory activity in a liver cancer context rather than lung fibroblasts.<\/p>\n<p>You can only assess a variant in the cell types and assays your models actually cover, which is the central limitation of this entire approach, and one the Sniff authors stress as well: if the trait-relevant cell type is missing from a model&rsquo;s training data, the effect can be missed entirely.<\/p>\n<h3 id=\"step-3-identifying-the-disrupted-factor\">Step 3, identifying the disrupted factor\n<\/h3>\n <blockquote>\n <p><strong>Prompt:<\/strong> Which TF motif does rs9504151 disrupt? Scan AlphaGenome&rsquo;s TF tracks and run saturation mutagenesis.<\/p>\n\n <\/blockquote>\n<p>Which factor is disrupted could not be read straight off lung-fibroblast TF ChIP-seq data, because such tracks are sparse. So we used two indirect routes: scoring rs9504151 against all of AlphaGenome&rsquo;s ChIP-seq TF tracks (ATF4 and CEBPB came out at the top, with binding <em>lost<\/em> on the alternate allele), and in-silico saturation mutagenesis (Chorus&rsquo;s <code>score_ism<\/code>), which converged on an ATF4-family motif.<\/p>\n<p>Both routes point to ATF4, matching the Sniff preprint&rsquo;s conclusion. The value is not the single answer but that it held up across models trained on different assays, even while the cell-type coverage stayed imperfect.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_rs9504151_ism.png\" class=\"image-link\" data-pswp-width=\"1853\" data-pswp-height=\"1147\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-010\/fig_rs9504151_ism.png.optimized.webp\" width=\"1853\" height=\"1147\"loading=\"lazy\"\n\t\t\talt=\"In-silico saturation mutagenesis around rs9504151 in three oracles.\"\n\t\t\tdata-title-escaped=\"Figure 6. In-silico saturation mutagenesis (score_ism) around rs9504151 in three independent oracles \u2014 LegNet (HepG2), AlphaGenome (lung fibroblast), and ChromBPNet (IMR-90). Each letter&amp;#39;s height is how much mutating that reference base changes the prediction; all three converge on the same ATF4 motif (TGATGCAA) centred on the variant (dashed line).\" class=\"gallery-image\" data-flex-grow=\"161\" data-flex-basis=\"387px\">\n\t\t<\/a><figcaption>Figure 6. In-silico saturation mutagenesis (score_ism) around rs9504151 in three independent oracles \u2014 LegNet (HepG2), AlphaGenome (lung fibroblast), and ChromBPNet (IMR-90). Each letter&rsquo;s height is how much mutating that reference base changes the prediction; all three converge on the same ATF4 motif (TGATGCAA) centred on the variant (dashed line).<\/figcaption><\/figure><hr>\n<h2 id=\"why-this-helps\">Why this helps\n<\/h2><ul>\n<li><strong>No pipeline overhead.<\/strong> Dependency isolation and environment management are handled automatically, so researchers can focus on biology, not infrastructure.<\/li>\n<li><strong>Multi-model cross-validation.<\/strong> Running a variant through ChromBPNet, Enformer, AlphaGenome, and LegNet takes a single prompt, making convergent evidence easy to obtain \u2014 keeping in mind that convergence means agreement among the oracles that can actually see a given layer, not a blind vote across all of them.<\/li>\n<li><strong>Accessible to non-engineers.<\/strong> Clinicians and scientists can query foundation models without writing a line of code.<\/li>\n<li><strong>Reproducible and auditable.<\/strong> Standardised inputs and outputs, plus interval-tracked edits, make analyses easy to share, review, and build on.<\/li>\n<li><strong>Faster hypothesis generation.<\/strong> Mechanistic stories that once required weeks of wet-lab experiments can be sketched computationally in hours, as a starting point for validation rather than a replacement for it.<\/li>\n<\/ul>\n<hr>\n<h2 id=\"limitations-and-open-questions\">Limitations and open questions\n<\/h2><p>Chorus is an orchestration and interpretation layer, not an oracle of truth. A few caveats are worth stating plainly:<\/p>\n<ul>\n<li><strong>Magnitude is unreliable.<\/strong> As the <em>SORT1<\/em> example shows, the models recover direction and mechanism far better than effect size. Treat predicted fold changes as ordinal, not quantitative.<\/li>\n<li><strong>You can only test what the models cover.<\/strong> A variant can be assessed only in the cell types and assays present in the oracles. In the rs9504151 example the matched evidence came from a lung-fibroblast accessibility model, while the MPRA support came from non-matching lines, so it counts for less. Missing the relevant cell type can mean missing the effect entirely. This is the single most important limitation to keep in mind.<\/li>\n<li><strong>Distal targets need long context.<\/strong> Linking a variant to a gene requires an oracle whose window spans both. Short-range models such as ChromBPNet and LegNet cannot answer gene-level questions, by design rather than by failure, as the 100 kb gap to <em>SORT1<\/em> illustrates. However, even when a model&rsquo;s window does span the target, long-range predictions should be treated with healthy skepticism: current seq2func models still <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/\" target=\"_blank\" rel=\"noopener\"\n >struggle with distal perturbations<\/a>, and distal eQTLs remain challenging to recover accurately.<\/li>\n<li><strong>Single-oracle layers need care.<\/strong> When only one model scores a layer, that layer is a hypothesis, not a consensus. Convergence across the oracles that can see it is what earns confidence.<\/li>\n<li><strong>LD is not always resolvable in silico.<\/strong> Functional prediction narrows a credible set, but very high LD with parallel signatures can still leave residual ambiguity, and MPRA or other assays remain the arbiter.<\/li>\n<li><strong>Predictions are a starting point.<\/strong> The right mental model is design, then score, then validate, not score then conclude.<\/li>\n<\/ul>\n<p>Open directions we are interested in: calibrating predicted effect sizes against measured ones, learning when oracles disagree for informative reasons rather than noise, and tightening the agent&rsquo;s track-selection so the conversational path matches an expert&rsquo;s by default.<\/p>\n<hr>\n<h2 id=\"try-it-yourself\">Try it yourself\n<\/h2><p>Chorus is on GitHub at <a class=\"link\" href=\"https:\/\/github.com\/pinellolab\/chorus\" target=\"_blank\" rel=\"noopener\"\n >github.com\/pinellolab\/chorus<\/a> under an MIT license. Here is the short path from clone to conversation.<\/p>\n<h3 id=\"install\">Install\n<\/h3><div class=\"code-block\" data-lang=\"bash\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-bash\" data-lang=\"bash\"><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># 1. Clone and create the base environment<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">git clone https:\/\/github.com\/pinellolab\/chorus.git\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"nb\">cd<\/span> chorus\n<\/span><\/span><span class=\"line\"><span class=\"cl\">mamba env create -f environment.yml\n<\/span><\/span><span class=\"line\"><span class=\"cl\">mamba activate chorus\n<\/span><\/span><span class=\"line\"><span class=\"cl\">python -m pip install -e .\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># 2. Set up the oracles you need, each in its own isolated env<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">chorus setup --oracle alphagenome <span class=\"c1\"># JAX, recommended primary oracle<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">chorus setup --oracle chrombpnet <span class=\"c1\"># TensorFlow (includes BPNet)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">chorus setup --oracle legnet <span class=\"c1\"># PyTorch (MPRA)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># 3. Grab a reference genome and check health<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">chorus genome download hg38\n<\/span><\/span><span class=\"line\"><span class=\"cl\">chorus health --timeout <span class=\"m\">300<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>The per-oracle commands above install only what you need for these examples. If you would rather grab everything in one shot, a bare <code>chorus setup<\/code> (no flags) builds all seven oracle environments, downloads their weights and backgrounds, and pulls hg38 in a single unattended run.<\/p>\n\n <blockquote>\n <p>AlphaGenome weights live in a gated HuggingFace repository. Accept the license at the <code>google\/alphagenome-all-folds<\/code> model page, then <code>export HF_TOKEN=&quot;hf_...&quot;<\/code> before first use. The <code>fine_map_causal_variant<\/code> tool additionally needs a free <code>LDLINK_TOKEN<\/code> (or you can pass LD variants manually).<\/p>\n\n <\/blockquote>\n<p>To drive Chorus conversationally \u2014 the way both worked examples above were run \u2014 connect the MCP server from any project folder:<\/p>\n<div class=\"code-block\" data-lang=\"bash\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-bash\" data-lang=\"bash\"><span class=\"line\"><span class=\"cl\">curl -sL https:\/\/raw.githubusercontent.com\/pinellolab\/chorus\/main\/.mcp.json -o .mcp.json\n<\/span><\/span><span class=\"line\"><span class=\"cl\">claude <span class=\"c1\"># Claude Code reads .mcp.json on startup and launches the server<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>The same <code>.mcp.json<\/code> block works in Claude Desktop. Three example notebooks in the repo (<code>single_oracle_quickstart<\/code>, <code>comprehensive_oracle_showcase<\/code>, <code>advanced_multi_oracle_analysis<\/code>) cover the Python side from first prediction to cross-oracle comparison.<\/p>\n<h3 id=\"a-minimal-variant-effect-call-in-python\">A minimal variant-effect call in Python\n<\/h3><p>This scores the <em>local<\/em> effect of the SORT1 variant, the chromatin question from Step 1. Note the explicit window equal to ChromBPNet&rsquo;s input size (2,114 bp) centered on the variant \u2014 scoring fixed-input oracles on their full input window is what yields the calibrated effect:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">chorus<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">chorus.utils<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">get_genome<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">genome<\/span> <span class=\"o\">=<\/span> <span class=\"n\">get_genome<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;hg38&#34;<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># auto-downloads if needed<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">oracle<\/span> <span class=\"o\">=<\/span> <span class=\"n\">chorus<\/span><span class=\"o\">.<\/span><span class=\"n\">create_oracle<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;chrombpnet&#34;<\/span><span class=\"p\">,<\/span> <span class=\"n\">use_environment<\/span><span class=\"o\">=<\/span><span class=\"kc\">True<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">reference_fasta<\/span><span class=\"o\">=<\/span><span class=\"nb\">str<\/span><span class=\"p\">(<\/span><span class=\"n\">genome<\/span><span class=\"p\">))<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">oracle<\/span><span class=\"o\">.<\/span><span class=\"n\">load_pretrained_model<\/span><span class=\"p\">(<\/span><span class=\"n\">assay<\/span><span class=\"o\">=<\/span><span class=\"s2\">&#34;DNASE&#34;<\/span><span class=\"p\">,<\/span> <span class=\"n\">cell_type<\/span><span class=\"o\">=<\/span><span class=\"s2\">&#34;HepG2&#34;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># rs12740374 (chr1:109274968 G&gt;T): local accessibility effect in liver,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># scored on ChromBPNet&#39;s full 2,114 bp input window centered on the variant.<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">variant_effects<\/span> <span class=\"o\">=<\/span> <span class=\"n\">oracle<\/span><span class=\"o\">.<\/span><span class=\"n\">predict_variant_effect<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s2\">&#34;chr1:109273911-109276025&#34;<\/span><span class=\"p\">,<\/span> <span class=\"c1\"># variant \u00b1 1057 bp = 2114 bp<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s2\">&#34;chr1:109274968&#34;<\/span><span class=\"p\">,<\/span> <span class=\"c1\"># variant position<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"p\">[<\/span><span class=\"s2\">&#34;G&#34;<\/span><span class=\"p\">,<\/span> <span class=\"s2\">&#34;T&#34;<\/span><span class=\"p\">],<\/span> <span class=\"c1\"># reference allele first, then alternate<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"kc\">None<\/span><span class=\"p\">,<\/span> <span class=\"c1\"># score the loaded track<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>The gene-level question (does <em>SORT1<\/em> itself move?) is different: the promoter is about 100 kb away, so it needs a model whose window reaches that far. The cleanest way to ask it is conversationally, letting the agent load AlphaGenome and center its 1 Mb window on the variant.<\/p>\n<hr>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Musunuru, K. et al. From noncoding variant to phenotype via SORT1 at the 1p13 cholesterol locus. <em>Nature<\/em> <strong>466<\/strong>, 714 (2010). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nature09266\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/nature09266<\/a><\/li>\n<li>Avsec, \u017d. et al. Effective gene expression prediction from sequence by integrating long-range interactions (Enformer). <em>Nature Methods<\/em> <strong>18<\/strong> (2021). <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.nature.com\/articles\/s41592-021-01252-x<\/a><\/li>\n<li>Avsec, \u017d. et al. Advancing regulatory variant effect prediction with AlphaGenome. <em>Nature<\/em> <strong>649<\/strong> (2026). <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.nature.com\/articles\/s41586-025-10014-0<\/a><\/li>\n<li>Linder, J., Srivastava, D., Yuan, H. et al. Predicting RNA-seq coverage from DNA sequence as a unifying model of gene regulation. Nat Genet 57, 949\u2013961 (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-024-02053-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-024-02053-6<\/a><\/li>\n<li>ChromBPNet \/ BPNet: base-resolution models of chromatin accessibility and TF binding. <a class=\"link\" href=\"https:\/\/github.com\/kundajelab\/chrombpnet\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/kundajelab\/chrombpnet<\/a><\/li>\n<li>Chen, K. M. et al. Sei: sequence-based prediction of regulatory effects (2022). <a class=\"link\" href=\"https:\/\/github.com\/FunctionLab\/sei-framework\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/FunctionLab\/sei-framework<\/a><\/li>\n<li>Penzar, D. et al. LegNet: a fully convolutional network for short regulatory sequences (2023). <a class=\"link\" href=\"https:\/\/github.com\/autosome-ru\/LegNet\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/autosome-ru\/LegNet<\/a><\/li>\n<li>Lin, J. et al. EPInformer: scalable and integrative prediction of gene expression from promoter-enhancer sequences with multimodal epigenomic profiles. <em>Nature Communications<\/em> <strong>17<\/strong>, 3975 (2026). <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41467-026-70535-8\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.nature.com\/articles\/s41467-026-70535-8<\/a><\/li>\n<li>Karollus, A., Mauermeier, T. &amp; Gagneur, J. Current sequence-based models capture gene expression determinants in promoters but mostly ignore distal enhancers. Genome Biol 24, 56 (2023). <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1186\/s13059-023-02899-9<\/a><\/li>\n<li>Borzoi-informed fine mapping improves causal variant prioritization in complex trait GWAS (the &ldquo;Sniff&rdquo; framework). <em>bioRxiv<\/em> 2025.07.09.663936 (2025). <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2025.07.09.663936v1\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/www.biorxiv.org\/content\/10.1101\/2025.07.09.663936v1<\/a><\/li>\n<li>Model Context Protocol specification. <a class=\"link\" href=\"https:\/\/modelcontextprotocol.io\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/modelcontextprotocol.io\/<\/a><\/li>\n<li>Murphy, A. &amp; Koo, P. K. &ldquo;Benchmarking seq2func models on distal enhancer effects with CRISPRi screens&rdquo; <em>Genomics \u00d7 AI Blog<\/em>, 25 June 2026. <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/genomicsxai.github.io\/blogs\/2026-007\/<\/a><\/li>\n<li>Chorus source code. <a class=\"link\" href=\"https:\/\/github.com\/pinellolab\/chorus\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/pinellolab\/chorus<\/a><\/li>\n<\/ol>\n"},{"title":"Cherimoya: a lightweight genomic sequence-to-function model built for large-scale design and understanding","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/","pubDate":"Mon, 13 Jul 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/","description":"<aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>Cherimoya is a lightweight sequence-to-function (S2F) model for chromatin accessibility, adapting the <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >Chrom\/BPNet<\/a> architecture into a far smaller and faster model through a redesigned convolutional block and custom GPU kernels. At 614K parameters (under 10% of ChromBPNet), it is small and fast enough to make the millions of forward passes that variant scoring, interpretation, and sequence design demand a practical proposition, rather than optimizing for benchmark scores alone.<\/p>\n<p>Three things stand out:<\/p>\n<ul>\n<li><strong>Smaller and better.<\/strong> Despite the tiny parameter count, Cherimoya beats ChromBPNet on both accessibility and variant effect prediction, and closes over half the gap to massive generalist models like Borzoi and AlphaGenome on counts prediction.<\/li>\n<li><strong>Fast enough to change what is feasible.<\/strong> Custom GPU kernels make it roughly 6x faster than ChromBPNet at inference, and a single model trains in about 10 minutes on genome-wide data. Running ISM on CPU is faster than running Borzoi on a GPU.<\/li>\n<li><strong>Usable without code.<\/strong> Command-line tools and agentic skills take you from raw reads to trained models, attributions, and motif calls without writing a line of Python.<\/li>\n<\/ul>\n<p><strong>Code<\/strong>: <a class=\"link\" href=\"https:\/\/github.com\/jmschrei\/cherimoya\" target=\"_blank\" rel=\"noopener\"\n >cherimoya<\/a><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image1.png\" class=\"image-link\" data-pswp-width=\"1536\" data-pswp-height=\"696\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image1.png.optimized.webp\" width=\"1536\" height=\"696\"loading=\"lazy\"\n\t\t\talt=\"Stylized hand-drawn illustration of a colorful DNA sequence feeding into a model, depicted as a black box, that outputs several genomic signal tracks.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"220\" data-flex-basis=\"529px\">\n\t\t<\/a><figcaption>Stylized hand-drawn illustration of a colorful DNA sequence feeding into a model, depicted as a black box, that outputs several genomic signal tracks.<\/figcaption><\/figure><p>Genomic sequence-to-function (S2F) models use nucleotide sequence to predict genomic modalities, such as protein binding, chromatin accessibility, transcription, and alternative splicing. In recent years, these models have grown significantly in scale and can now make predictions for thousands of tracks simultaneously across hundreds of thousands of base pairs [1,2]. Although the details of these models\u2019 architecture and training strategies differ significantly, there is usually one primary performance measure: how accurately they predict experimental readouts on held-out regions of the genome. <em>But, in our opinion, these sorts of predictions are the least interesting usage of S2F models.<\/em> After all, most assays for genomic modalities provide genome-wide readouts and there is no more &ldquo;secret held-out genome&rdquo; that one could make predictions for in the same way an image classifier can make predictions for new images.<\/p>\n<p>Rather, we believe that the true value of S2F models is in their ability to do pretty much everything else: predicting variant (substitution, indel, structural) effects on phenotype, fine-mapping a set of candidate mutations to nominate putative drivers, dissecting the cis-regulatory logic encoded within individual loci of interest or globally, designing DNA with precise quantitative properties, prioritizing hypotheses by asking \u201cwhat if?\u201d questions before running experiments, etc. Predictive accuracy on held-out portions of the genome likely correlates somewhat well with performance on these tasks, but there are important distinctions. Exacerbating this issue, Rafi et al. [3] have raised concerns that the classic cross-chromosomal splits used for evaluation of S2F models may include homology leaks that sharpen this distinction, as model memorization of the training set translates into higher predictive performance on homologous regions in the validation and test sets but worse performance on downstream tasks.<\/p>\n<p>Another challenge emerges when considering that each of these downstream tasks can require running S2F models thousands to millions of times. As an example, running <em>in silico<\/em> saturation mutagenesis on ~100k peaks of length ~1000bp requires ~300M forward passes. A model that is too big and\/or too slow gives up much of its practical usefulness when it cannot be easily used at this scale, regardless of its benchmark score. In a world where academics are usually GPU-limited, especially for those whose research is not computationally focused, it is likely infeasible to use AlphaGenome for more than modest tasks. Taken together, these concerns mean that predictive performance should not be the only thing we consider when developing new S2F models.<\/p>\n<p>These concerns motivated us to develop Cherimoya: a lightweight S2F model inspired by Chrom\/BPNet [4,5]. Despite having only 614K parameters \u2013 less than 10% that of ChromBPNet \u2013 Cherimoya performs better at predicting observed chromatin accessibility readouts and at variant effect prediction. Through a combination of fewer parameters and custom GPU kernels, Cherimoya can run several times faster at its peak performance than ChromBPNet, and even faster than that when just matching performance. A single Cherimoya model can take as little as 10 minutes to train on genome-wide data, even when such data includes hundreds of thousands of peaks. This small footprint has huge consequences in terms of the scale of problems that one can tackle, and how quickly one can investigate interesting hypotheses. Finally, through a set of command-line tools and agentic skills, one can easily train and use Cherimoya models without needing to write a single line of code.<\/p>\n<h2 id=\"model-architecture-cheri-blocks--model-optimization\">Model architecture, Cheri blocks &amp; model optimization\n<\/h2><p>Cherimoya models mimic the architecture of Chrom\/BPNet models: an initial convolution layer with a wide kernel to capture long patterns, a stack of dilated residual layers, and a branch point where one path applies another convolution with a wide kernel to convert the internal representations into profile predictions, and on the other path a global average pooling followed by a dense layer is used to predict the log of the total number of reads mapping to the region. This multi-task framework allows Cherimoya to predict both the shape and strength of the signal in the same forward pass.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image2.png\" class=\"image-link\" data-pswp-width=\"1999\" data-pswp-height=\"776\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image2.png.optimized.webp\" width=\"1999\" height=\"776\"loading=\"lazy\"\n\t\t\talt=\"Cherimoya\u2019s architecture: a one-hot DNA sequence passes through a convolution and a Cheri residual block, then splits into a convolutional branch that predicts base-resolution profiles and an average-pooling plus dense branch that predicts log total counts.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"257\" data-flex-basis=\"618px\">\n\t\t<\/a><figcaption>Cherimoya&rsquo;s architecture: a one-hot DNA sequence passes through a convolution and a Cheri residual block, then splits into a convolutional branch that predicts base-resolution profiles and an average-pooling plus dense branch that predicts log total counts.<\/figcaption><\/figure><p>The largest architectural difference between Cherimoya and Chrom\/BPNet is that, instead of using dense dilated convolutions, Cherimoya introduces the Cheri Block, which is an adaptation of the ConvNeXt [6] architecture. The Cheri Block consists of a 3-tap dilated depthwise convolution, which pools information spatially but independently for each channel, a layer normalization that gets applied independently on each example in the batch, and a channel mixing MLP similar to that of the transformer layer. This can be viewed similarly to a factorization of the dense convolution, with information first aggregated spatially, and then subsequently aggregated across channels. Finally, a small fixed-scale residual multiplies each channel to keep deep stacks stable by holding the network near the identity at initialization, as the contribution from each Cheri Block is initially low. We found that despite being a fixed parameter, removal of this scaling operation almost always leads to catastrophic collapse in the training process. An important note is that, even though there are several operations performed in each Cheri block, there is only one non-linearity per block.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image3.png\" class=\"image-link\" data-pswp-width=\"1999\" data-pswp-height=\"959\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image3.png.optimized.webp\" width=\"1999\" height=\"959\"loading=\"lazy\"\n\t\t\talt=\"Diagram of the Cheri residual block: a dilated depthwise convolution and layer norm aggregate information spatially, then a dense\u2013GELU\u2013dense MLP mixes across channels, followed by a fixed layer-scale and a residual addition. A red outline marks the fused training kernel and a yellow outline the fused inference megakernel.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"208\" data-flex-basis=\"500px\">\n\t\t<\/a><figcaption>Diagram of the Cheri residual block: a dilated depthwise convolution and layer norm aggregate information spatially, then a dense\u2013GELU\u2013dense MLP mixes across channels, followed by a fixed layer-scale and a residual addition. A red outline marks the fused training kernel and a yellow outline the fused inference megakernel.<\/figcaption><\/figure><p>Although most individual PyTorch operations already have efficient CUDA implementations that are better than what anyone could write by hand, new architectural blocks offer sequences of operations that can benefit from custom GPU kernels. To explain at a high level, I\/O is expensive for GPUs, and so one can get a big speedup when a GPU can perform multiple operations on the same data before writing the results back to memory. Sometimes, this involves reordering how computation is done to minimize I\/O operations, and can result in unintuitive sequences of operations. We provide two such kernels for Cherimoya: a simple kernel that fuses the 3-tap dilated convolution with the subsequent layer-norm operation (in red), and a megakernel that fuses together the entire layer with minimal intermediary values (in yellow). The simple kernel is useful for training models because it caches intermediate values useful for speeding up the backward pass; the megakernel is only for inference and benefits explicitly by eliminating several I\/O operations. In our timings, the simple kernel is around 3-4x faster than the PyTorch operations for those two layers, and the megakernel is around 2x faster at inference than a Cheri block with the simple kernel.<\/p>\n<p>Several changes had to be made to the optimization of Cherimoya models to get the best performance out of these Cheri blocks.<\/p>\n<p><strong>First<\/strong>, instead of using a heuristic to set the balance between the log count loss and the profile loss, as introduced in the BPNet paper, we use Kendall-Gal [7] learned loss to automatically balance them. <strong>Second<\/strong>, instead of using a single Adam optimizer, we used (1) Muon [8] for the internal 2D matrices, (2) AdamW optimizer for the rest of the model parameters, and (3) SGD for the Kendall-Gal loss weights. <strong>Third<\/strong>, autoresearch was used to refine the precise architectural units and optimizer hyperparameters. Over 5,000 experiments were run across several sessions using <a class=\"link\" href=\"https:\/\/github.com\/evo-hq\/evo\" target=\"_blank\" rel=\"noopener\"\n >Evo<\/a> (not to be confused with the Evo genomic LLM model). An entire blog post could be written about effective use of autoresearch, but here are four key points that we found:<\/p>\n<ul>\n<li>You need an objective fast enough for quick iteration. Cherimoya was ideal in this sense because training a model on a reasonably sized dataset took only 5-20 minutes.<\/li>\n<li>Training deep learning models is noisy, and so running each idea a single time is not always a good estimate of the performance when small differences matter. We ran each experiment three times with different initializations and if the median was higher than the frontier, we ran an additional seven times (ten total) and only incorporated the idea if the median across all ten runs was better than the current frontier.<\/li>\n<li>Autoresearch will overfit to whatever objective you give it, and almost all of the changes that lead to frontier performance on the autoresearch evaluation set will not generalize. This is where domain knowledge-driven skepticism plays a huge role in doubting weird choices, and where extensive external validation is necessary for confirming that the proposals generalize.<\/li>\n<li>Even when the proposed changes generalize to larger datasets, many of them led to significantly worse performance on downstream tasks such as variant effect prediction. Potentially, this is related to the homology leakage issue pointed out by Rafi et al.<\/li>\n<\/ul>\n<p>Nonetheless, autoresearch is invaluable when used carefully for converting free GPU time into incremental improvements. Even when proposals were unsuccessful, knowing that one is close to the frontier is important because, when developing a new model, one is sometimes left wondering if they are just one small change away from a big performance boost.<\/p>\n<h2 id=\"cherimoya-sets-a-new-pareto-frontier-of-performance-and-parameters\">Cherimoya sets a new Pareto frontier of performance and parameters\n<\/h2><p>Everyone in machine learning is talking about <a class=\"link\" href=\"https:\/\/en.wikipedia.org\/wiki\/Pareto_front\" target=\"_blank\" rel=\"noopener\"\n >\u201cPareto frontiers\u201d<\/a> these days, which are the curves showing the best tradeoff between model complexity and performance, so we decided to do the same when comparing Cherimoya and ChromBPNet models. We compared the performance of Cherimoya models with an increasing number of filters per layer against the performance of officially released ChromBPNet models trained by the lab that developed the model. To get a better estimate of the frontier, we averaged across ten chromatin accessibility experiments.<\/p>\n<p>Our findings were somewhat surprising: Cherimoya reaches the same predictive performance for both tasks at 32 filters, using only 0.65% of ChromBPNet\u2019s parameters. Performance improvements seem to level off around 128 filters, still less than 10% of the parameters of ChromBPNet, and so we used 128 filters as the default for modeling chromatin accessibility experiments moving forward. Somewhat interestingly, profile predictions continue to improve with complexity past the point where the count predictions level off. This may have implications for readouts where signal shape is more complex or informative, such as transcription initiation (e.g., Pro-CAP) experiments.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image4.png\" class=\"image-link\" data-pswp-width=\"888\" data-pswp-height=\"333\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image4.png.optimized.webp\" width=\"888\" height=\"333\"loading=\"lazy\"\n\t\t\talt=\"Two scatter plots showing Cherimoya\u2019s profile-Pearson and count-Pearson gain over ChromBPNet as a function of model size (percent of ChromBPNet\u2019s parameters, 16\u2013192 filters). Both gains rise steeply and plateau by roughly 128 filters, while profile predictions keep improving after counts level off.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"266\" data-flex-basis=\"640px\">\n\t\t<\/a><figcaption>Two scatter plots showing Cherimoya&rsquo;s profile-Pearson and count-Pearson gain over ChromBPNet as a function of model size (percent of ChromBPNet&rsquo;s parameters, 16\u2013192 filters). Both gains rise steeply and plateau by roughly 128 filters, while profile predictions keep improving after counts level off.<\/figcaption><\/figure><h2 id=\"cherimoya-approaches-the-performance-of-massive-models\">Cherimoya approaches the performance of massive models\n<\/h2><p>These initial results suggested that ChromBPNet models are undertrained given their parameter budget, potentially due to their use of dense operations and simple optimization strategies, and raise questions about whether other genomic models may also be undertrained. To investigate this, we wanted to compare Cherimoya\u2019s performance against massive models like Borzoi and AlphaGenome. Although these models do use other computational layers and are known to outperform ChromBPNet, they are likely too massive to truly optimize the hyperparameters and architecture.<\/p>\n<p>In an attempt to define a shared task, we evaluated all models on the common task of predicting the log counts in experimental peaks for 467 DNase experiments using sequence centered on that peak. For each model, we used the full receptive field (1M for AlphaGenome, ~500k for Borzoi). Additionally, we included an AlphaGenome model that only takes in 2kbp of input sequence so as to more closely mirror ChromBPNet\/Cherimoya. For each peak in the Borzoi validation set (which corresponds to the AlphaGenome test set), we used the respective ChromBPNet\/Cherimoya model where that peak was also in the validation set, to ensure that no model had seen those coordinates in their respective training sets. We consider the validation set as opposed to the test set here because the work is not yet complete, but anticipate little difference in trends between the two.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image5.png\" class=\"image-link\" data-pswp-width=\"568\" data-pswp-height=\"568\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image5.png.optimized.webp\" width=\"568\" height=\"568\"loading=\"lazy\"\n\t\t\talt=\"Box plot of per-experiment Pearson R for log-count prediction across 467 DNase experiments, comparing AlphaGenome (2 kb and 1 Mb), ChromBPNet, Cherimoya, and Borzoi. Cherimoya sits between ChromBPNet and the larger models; lung experiments (pink) and HL-60 (green) are highlighted as harder cases.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"100\" data-flex-basis=\"240px\">\n\t\t<\/a><figcaption>Box plot of per-experiment Pearson R for log-count prediction across 467 DNase experiments, comparing AlphaGenome (2 kb and 1 Mb), ChromBPNet, Cherimoya, and Borzoi. Cherimoya sits between ChromBPNet and the larger models; lung experiments (pink) and HL-60 (green) are highlighted as harder cases.<\/figcaption><\/figure><p>We observe the expected trends, with AlphaGenome (median performance 0.724) and Borzoi (0.736) significantly outperforming ChromBPNet (0.666), and with ChromBPNet outperforming the shrunken AlphaGenome (0.582). Perhaps surprisingly, we see that Cherimoya (0.704) closes over half of the gap between ChromBPNet and the larger models despite using over an order of magnitude fewer parameters. Interestingly, AlphaGenome struggled with several lung experiments (in pink) that the other models did not find challenging, and all models struggled to make predictions in HL-60. This suggests that one downside of massive multi-task models is that it is challenging to ensure that the models perform well on <em>all<\/em> tasks without a few dropping out.<\/p>\n<p>In doing this evaluation, we also considered the size of the model, the memory usage, and the inference speed, to provide a more comprehensive picture. Each model was benchmarked on the same H200 GPU using bfloat16 precision and <code>torch.compile(mode='max-autotune')<\/code> to ensure maximum throughput, with a warmup period ensuring that the first few slow inference passes do not influence the results.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Model<\/th>\n\t\t\t\t\t<th>Params<\/th>\n\t\t\t\t\t<th>Checkpoint<\/th>\n\t\t\t\t\t<th>Peak VRAM (b=1)<\/th>\n\t\t\t\t\t<th>Inference (ex\/s)<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>Cherimoya<\/td>\n\t\t\t\t\t<td>0.6M<\/td>\n\t\t\t\t\t<td>2.5 MB<\/td>\n\t\t\t\t\t<td>0.14 GB<\/td>\n\t\t\t\t\t<td>~40,600<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>ChromBPNet<\/td>\n\t\t\t\t\t<td>6.6M<\/td>\n\t\t\t\t\t<td>26 MB<\/td>\n\t\t\t\t\t<td>0.19 GB<\/td>\n\t\t\t\t\t<td>~6,900<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>Borzoi<\/td>\n\t\t\t\t\t<td>186M<\/td>\n\t\t\t\t\t<td>744 MB<\/td>\n\t\t\t\t\t<td>17.9 GB<\/td>\n\t\t\t\t\t<td>~48<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>AlphaGenome (1Mb)<\/td>\n\t\t\t\t\t<td>450M<\/td>\n\t\t\t\t\t<td>921 MB<\/td>\n\t\t\t\t\t<td>117 GB<\/td>\n\t\t\t\t\t<td>~10<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>At ~40K examples per second, Cherimoya is about 6x faster than ChromBPNet and hundreds to thousands of times faster than the foundation models. This is made possible, in part, by the megakernel that fuses the entire Cheri block for inference. But it is not the only component: a forward+backward step at batch 512 takes ~71 ms, against ChromBPNet&rsquo;s ~244 ms.<\/p>\n<h2 id=\"cherimoya-is-a-strong-predictor-of-variant-effect\">Cherimoya is a strong predictor of variant effect\n<\/h2><p>As mentioned, predictive accuracy is only the first step in evaluating a model. Although it is encouraging that such a small model can perform so well on held-out data, we next evaluated Cherimoya\u2019s performance at variant effect prediction. There are several datasets available for this task, but we chose to initially focus on one that was provided as part of the ChromBPNet work because it was well documented and simple to understand. In this setting, chromatin accessibility quantitative trait loci (caQTLs) were identified in African LCLs. Models trained to predict chromatin accessibility in LCLs from the ENCODE data were then used to score these caQTLs. A signed Pearson correlation was calculated over the difference in chromatin accessibility predictions between the reference and alternative alleles for the statistically significant caQTLs, in the same manner described in the original work; we did this for both a model trained on DNase-seq and one trained on ATAC-seq.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image6.png\" class=\"image-link\" data-pswp-width=\"1999\" data-pswp-height=\"1352\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image6.png.optimized.webp\" width=\"1999\" height=\"1352\"loading=\"lazy\"\n\t\t\talt=\"Bar chart of signed Pearson correlation for variant-effect (allele-specific binding) prediction in African samples across ENCODE ATAC and DNase, for AlphaGenome, Cherimoya, ChromBPNet, Enformer, and Borzoi. AlphaGenome scores highest, and Cherimoya outperforms ChromBPNet, Enformer, and Borzoi.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"147\" data-flex-basis=\"354px\">\n\t\t<\/a><figcaption>Bar chart of signed Pearson correlation for variant-effect (allele-specific binding) prediction in African samples across ENCODE ATAC and DNase, for AlphaGenome, Cherimoya, ChromBPNet, Enformer, and Borzoi. AlphaGenome scores highest, and Cherimoya outperforms ChromBPNet, Enformer, and Borzoi.<\/figcaption><\/figure><p>We see similar results here as in the previous prediction task: Cherimoya outperforms ChromBPNet, and AlphaGenome (all folds) performs the best. Although Cherimoya is not closing the gap quite as strongly here between ChromBPNet and AlphaGenome, it is still outperforming Borzoi and Enformer and providing a nice small boost relative to ChromBPNet.<\/p>\n<h2 id=\"cherimoya-enables-interpretation-and-design-with-a-low-compute-budget\">Cherimoya enables interpretation and design with a low compute budget\n<\/h2><p>A motivation for developing <em>lightweight<\/em> models is to reduce the cost of training and using genomic S2F models in downstream tasks. Accordingly, we next set out to evaluate the speed of these models on downstream tasks.<\/p>\n<p>The first such task is interpreting loci. A popular method for doing this is DeepLIFT\/SHAP [9], which implements a correction to gradients to get interpretable saliency maps that more closely match Shapley values. However, DeepLIFT\/SHAP requires custom correction operations for each non-linear operation and, as of the time of writing, there is no confirmed correction operation for layer normalization (though such work is currently underway). Consequently, we must use <em>in silico<\/em> saturation mutagenesis (ISM) for attribution with Cherimoya models, which calculates the importance of each nucleotide as the average difference in prediction if it were each of the other three nucleotide choices.<\/p>\n<p>A common critique of running ISM is that it is costly. Interpreting a 1kb locus requires running 3k forward passes. Fortunately, due to the megakernel, forward passes are where Cherimoya excels. To evaluate these timings more thoroughly, we compare the speed at which several models can interpret a 1kbp window within their original receptive fields. Below, we have the median speed of running ISM across 10 loci for several models, with both the GPU (at half precision) and CPU (at full precision) timings.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>model<\/th>\n\t\t\t\t\t<th>cuda<\/th>\n\t\t\t\t\t<th>cpu<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>cherimoya<\/td>\n\t\t\t\t\t<td>0.0846s<\/td>\n\t\t\t\t\t<td>18.9110s<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>chrombpnet<\/td>\n\t\t\t\t\t<td>0.3785s<\/td>\n\t\t\t\t\t<td>70.9334s<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>alphagenome2kb<\/td>\n\t\t\t\t\t<td>1.2375s<\/td>\n\t\t\t\t\t<td>284.7192s<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>borzoi<\/td>\n\t\t\t\t\t<td>64.4582s<\/td>\n\t\t\t\t\t<td><\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>alphagenome<\/td>\n\t\t\t\t\t<td>324.2994s<\/td>\n\t\t\t\t\t<td><\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>Cherimoya is roughly 4.5x faster than ChromBPNet, in line with previous results. But perhaps more interestingly, running Cherimoya on a CPU is ~3x faster than running Borzoi on an H200 GPU. The ~20 seconds it takes Cherimoya on a CPU to do 3,000 forward passes may not be ideal for interactive analysis, but if one instead focused on 100 bp windows, a ~2 second cost is very manageable and brings the ability to interpret loci to those without a powerful GPU. Such speed even opens up the possibility of serving models on websites and having the compute done locally.<\/p>\n<p>Next, we performed a similar analysis but with various design algorithms. Here, we chose to exclude the full Borzoi and AlphaGenome models as they would be extremely slow. With the remaining three models, we considered design tasks to increase the accessibility of a region using greedy substitution, a beam-search version of greedy substitution, <a class=\"link\" href=\"https:\/\/github.com\/jmschrei\/ledidi\" target=\"_blank\" rel=\"noopener\"\n >ledidi<\/a> [10], which is a gradient-based design algorithm, and simple screening wherein sequences are randomly generated and the best-scoring ones are returned.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>model<\/th>\n\t\t\t\t\t<th>greedy<\/th>\n\t\t\t\t\t<th>ledidi<\/th>\n\t\t\t\t\t<th>beam<\/th>\n\t\t\t\t\t<th>screen (1000 it)<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>cherimoya<\/td>\n\t\t\t\t\t<td>0.0737<\/td>\n\t\t\t\t\t<td>0.0068<\/td>\n\t\t\t\t\t<td>0.2982<\/td>\n\t\t\t\t\t<td>0.0097<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>chrombpnet<\/td>\n\t\t\t\t\t<td>0.4353<\/td>\n\t\t\t\t\t<td>0.0242<\/td>\n\t\t\t\t\t<td>1.3781<\/td>\n\t\t\t\t\t<td>0.0769<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>alphagenome2kb<\/td>\n\t\t\t\t\t<td>2.5078<\/td>\n\t\t\t\t\t<td>0.0530<\/td>\n\t\t\t\t\t<td>11.8330<\/td>\n\t\t\t\t\t<td>0.0559<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>We see similar results as before, with Cherimoya being several times faster than the other models. As Cherimoya and ledidi were both designed with speed as a primary concern, it is not surprising that Cherimoya + ledidi is 64x faster than ChromBPNet + greedy substitution, which is a more common design algorithm, and ~370x faster than AlphaGenome 2kbp + greedy substitution.<\/p>\n<h2 id=\"python-api-and-command-line-interface\">Python API and command-line interface\n<\/h2><p>Now that we\u2019ve convinced you that Cherimoya performs well, let\u2019s talk about how to actually use it in practice.<\/p>\n<p>There are two main ways to use Cherimoya models: the Python API and the command-line tools. The Python API largely focuses on defining the model architecture and training process, saving and loading models, while outsourcing the usage of the model after training to <a class=\"link\" href=\"https:\/\/github.com\/jmschrei\/tangermeme\" target=\"_blank\" rel=\"noopener\"\n >tangermeme<\/a> [11], which is a general-purpose package for using S2F models. Although one can use the Python API directly to train models, our lab usually uses the command-line tools to get started and then loads the trained models into Python if we need to do bespoke analyses.<\/p>\n<p>The command-line tools include the following commands:<\/p>\n<ul>\n<li><code>cherimoya attribute<\/code>: Runs <em>in silico<\/em> saturation mutagenesis on a set of loci<\/li>\n<li><code>cherimoya evaluate<\/code>: Evaluates a trained model against observed data<\/li>\n<li><code>cherimoya fit<\/code>: Fits a model to observed data<\/li>\n<li><code>cherimoya marginalize<\/code>: Runs <em>in silico<\/em> marginalizations given a motif database<\/li>\n<li><code>cherimoya negatives<\/code>: Identifies GC-matched negatives for a set of peaks, no model involvement<\/li>\n<li><code>cherimoya seqlets<\/code>: Calls seqlets on attributions (from any methods) using the recursive seqlet caller in tangermeme<\/li>\n<\/ul>\n<p>Each can be run individually, but likely the simplest way to go from raw data to trained models and outputs is via the <code>cherimoya pipeline<\/code> command, which handles data processing, model training, interpretation, seqlet calling\/annotation, TF-MoDISco, and marginalizations by running through the above commands. The command is extremely flexible: you can start with read\/fragment files or with bigWig files, you can pass in a control track if you have it, you can pass in peaks or have them called for you using MACS3, and likewise you can pass in negatives or have them called using a GC matching strategy based on the peaks. This graphic illustrates the flexibility one has in getting to a trained model.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image7.png\" class=\"image-link\" data-pswp-width=\"1999\" data-pswp-height=\"772\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image7.png.optimized.webp\" width=\"1999\" height=\"772\"loading=\"lazy\"\n\t\t\talt=\"Flow diagram of the Cherimoya pipeline: raw reads (fastq) are mapped to SAM\/BAM\/tsv, then converted via MACS3 and bam2bw into peaks (BED), signal (bigWig), negatives (BED), and optional control tracks, all feeding into a trained Cherimoya model. Steps implemented within Cherimoya are boxed.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"258\" data-flex-basis=\"621px\">\n\t\t<\/a><figcaption>Flow diagram of the Cherimoya pipeline: raw reads (fastq) are mapped to SAM\/BAM\/tsv, then converted via MACS3 and bam2bw into peaks (BED), signal (bigWig), negatives (BED), and optional control tracks, all feeding into a trained Cherimoya model. Steps implemented within Cherimoya are boxed.<\/figcaption><\/figure><p>The biggest obstacle for using these command-line tools is that each command requires a JSON that specifies paths to the relevant data and includes important hyperparameters. Defaults for these can be found on GitHub. Because the pipeline command requires a massive JSON \u2013 including one internal JSON for each step \u2013 a helper utility, <code>cherimoya pipeline-json<\/code>, can take in links to the important data and parameters and produce a template JSON that one can subsequently manually refine before running the <code>cherimoya pipeline<\/code> command.<\/p>\n<h3 id=\"quickstart-guide\">Quickstart guide\n<\/h3><p>To demonstrate this in action, let\u2019s look at an example of using the command-line tools to train and run Cherimoya models on an ATAC-seq experiment using the pipeline command. For this example, we will use the deeply sequenced K562 ATAC-seq experiment on the ENCODE Portal.<\/p>\n<p>First, we need to download the relevant files: the reference genome, a motif database (for characterizing the model-identified motifs), and the reads in BAM format.<\/p>\n<p><code>curl -Z -L -C - --fail --remote-name-all \\<\/code><br>\n<code>https:\/\/hgdownload.soe.ucsc.edu\/goldenPath\/hg38\/bigZips\/latest\/hg38.fa.gz \\<\/code><br>\n<code>https:\/\/jaspar.elixir.no\/download\/data\/2026\/CORE\/JASPAR2026_CORE_vertebrates_non-redundant_pfms_meme.txt \\<\/code><br>\n<code>https:\/\/encode-public.s3.amazonaws.com\/2021\/03\/16\/781bf763-825b-41df-9e58-c15a3e16f365\/ENCFF534DCE.bam \\<\/code><br>\n<code>https:\/\/encode-public.s3.amazonaws.com\/2021\/03\/16\/d0607f6a-198b-4c38-94ba-9161359a5500\/ENCFF128WZG.bam \\<\/code><br>\n<code>https:\/\/encode-public.s3.amazonaws.com\/2021\/03\/16\/e5948cab-16cc-4bfd-b1fb-93f192ca62d2\/ENCFF077FBI.bam \\<\/code><br>\n<code>&amp;&amp; gunzip --keep -f hg38.fa.gz<\/code><\/p>\n<p>After downloading these files, we use <code>cherimoya pipeline-json<\/code> to create the pipeline JSON.<\/p>\n<p><code>cherimoya pipeline-json \\<\/code><br>\n<code>-s hg38.fa \\<\/code><br>\n<code>-i ENCFF534DCE.bam -i ENCFF128WZG.bam -i ENCFF077FBI.bam \\<\/code><br>\n<code>-m JASPAR2026_CORE_vertebrates_non-redundant_pfms_meme.txt \\<\/code><br>\n<code>-n k562_atac -o k562_atac.pipeline.json \\<\/code><br>\n<code>-ps 4 -ns -4 -u -pe<\/code><\/p>\n<p>This will create a properly formatted pipeline JSON file that is ready to run. Before doing so, you should manually skim it over and ensure there is nothing else you would like to change (such as batch sizes or any other processing or model settings that may be relevant but not exposed). When you\u2019re ready to run the pipeline, you can run <code>cherimoya pipeline -p k562_atac.pipeline.json<\/code> and the steps will be performed sequentially. As a final note, a <code>&quot;skip&quot;: true<\/code> argument can be passed into any JSON if you want to skip the step, and a trained model can be provided to skip model training and just perform the other steps.<\/p>\n<p>When the pipeline is complete, you will have several outputs: the trained model, attributions for the specified loci, annotated seqlet calls using tangermeme\u2019s recursive seqlet caller and counts for the number of each annotation (i.e., how many motif instances of each type in a database were found highlighted by the attributions), <em>in silico<\/em> marginalizations for all motifs in a database, and TF-MoDISco results for <em>de novo<\/em> discovered motifs. For this example, the first few rows of the TF-MoDISco report should look like the following, and correspond to several motifs known to drive accessibility in K562.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image8.png\" class=\"image-link\" data-pswp-width=\"883\" data-pswp-height=\"469\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-011\/image8.png.optimized.webp\" width=\"883\" height=\"469\"loading=\"lazy\"\n\t\t\talt=\"First rows of a TF-MoDISco report table, listing for each discovered motif the seqlet count, average contribution, median distance from center, forward and reverse contribution-weight-matrix sequence logos, and the best-matching JASPAR motif.\"\n\t\t\t class=\"gallery-image\" data-flex-grow=\"188\" data-flex-basis=\"451px\">\n\t\t<\/a><figcaption>First rows of a TF-MoDISco report table, listing for each discovered motif the seqlet count, average contribution, median distance from center, forward and reverse contribution-weight-matrix sequence logos, and the best-matching JASPAR motif.<\/figcaption><\/figure><h2 id=\"agentic-tooling\">Agentic tooling\n<\/h2><p>The Cherimoya repository comes with built-in skills that use progressive disclosure to guide the agent in the right direction based on your prompt. We have found this to be immensely useful in creating scripts that we then refine, and when the agent wants to create small snippets to verify something. It is beautiful to see these agents go from writing long bespoke scripts that are challenging to audit to a small number of function calls from a package like Cherimoya or tangermeme. However, it is challenging to guarantee behavior from agents, especially as the underlying models are constantly changing. So, other than to mention that such skills exist and we have been happy with them internally so far, we will not go further here.<\/p>\n<h2 id=\"wrap-up\">Wrap up\n<\/h2><p>Cherimoya is a lightweight S2F model that achieves strong performance despite its small parameter count. We have adopted it internally in the <a class=\"link\" href=\"https:\/\/programmable-genomics.github.io\/\" target=\"_blank\" rel=\"noopener\"\n >Programmable Genomics Laboratory<\/a> across a range of projects, and plan to continue expanding its scope, performance, and capabilities. To write like an AI: this is not just a one-off project; it\u2019s a foundation for future work in the lab. As we scale up our design work from a small number of cell lines to targeting every cell type in a complex mammalian organ, such as the brain, lightweight models that can run quickly and fit easily in GPU memory are crucial.<\/p>\n<p><em>Cherimoya is from Christian Ramirez, Achsah Marlene Aruva, Zhiping Weng, and Jacob Schreiber (UMass Chan Medical School). Model and CLI code live in the <a class=\"link\" href=\"https:\/\/github.com\/jmschrei\/cherimoya\" target=\"_blank\" rel=\"noopener\"\n ><code>cherimoya<\/code> repo<\/a>; analysis tooling builds on <code>tangermeme<\/code>. Work is still in progress, and the final numbers and results will likely differ slightly from this blog post. Thanks to Anthropic for providing credits through their AI for Science program.<\/em><\/p>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>\n<p>Linder, J., Srivastava, D., Yuan, H., Agarwal, V. &amp; Kelley, D. R. Predicting RNA-seq coverage from DNA sequence as a unifying model of gene regulation. <em>Nat. Genet.<\/em> 57, 949\u2013961 (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-024-02053-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-024-02053-6<\/a><\/p>\n<\/li>\n<li>\n<p>Avsec, \u017d., Latysheva, N., Cheng, J., Novati, G., Taylor, K. R., Ward, T. et al. Advancing regulatory variant effect prediction with AlphaGenome. <em>Nature<\/em> 649, 1206\u20131218 (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41586-025-10014-0<\/a><\/p>\n<\/li>\n<li>\n<p>Rafi, A. M., Kiyota, B., Yachie, N. &amp; de Boer, C. G. Characterizing homology-induced data leakage and memorization in genome-trained sequence models. <em>bioRxiv<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.01.22.634321\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2025.01.22.634321<\/a><\/p>\n<\/li>\n<li>\n<p>Pampari, A., Shcherbina, A., Kvon, E., Kosicki, M., Nair, S., Kundu, S., Kathiria, A. S., Risca, V. I., Kuningas, K., Alasoo, K., Greenleaf, W. J., Pennacchio, L. A. &amp; Kundaje, A. ChromBPNet: bias factorized, base-resolution deep learning models of chromatin accessibility reveal cis-regulatory sequence syntax, transcription factor footprints and regulatory variants. <em>bioRxiv<\/em> (2024). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2024.12.25.630221\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2024.12.25.630221<\/a><\/p>\n<\/li>\n<li>\n<p>Avsec, \u017d., Weilert, M., Shrikumar, A., Krueger, S., Alexandari, A., Dalal, K., Fropf, R., McAnany, C., Gagneur, J., Kundaje, A. &amp; Zeitlinger, J. Base-resolution models of transcription-factor binding reveal soft motif syntax. <em>Nat. Genet.<\/em> 53, 354\u2013366 (2021). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-021-00782-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-021-00782-6<\/a><\/p>\n<\/li>\n<li>\n<p>Liu, Z., Mao, H., Wu, C.-Y., Feichtenhofer, C., Darrell, T. &amp; Xie, S. A ConvNet for the 2020s. <em>arXiv<\/em> (2022). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/2201.03545\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/2201.03545<\/a><\/p>\n<\/li>\n<li>\n<p>Kendall, A., Gal, Y. &amp; Cipolla, R. Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semantics. <em>arXiv<\/em> (2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1705.07115\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/1705.07115<\/a><\/p>\n<\/li>\n<li>\n<p>Jordan, K., Jin, Y., Boza, V., You, J., Cesista, F., Newhouse, L. &amp; Bernstein, J. Muon: An optimizer for hidden layers in neural networks. (2024). <a class=\"link\" href=\"https:\/\/kellerjordan.github.io\/posts\/muon\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/kellerjordan.github.io\/posts\/muon\/<\/a><\/p>\n<\/li>\n<li>\n<p>Shrikumar, A., Greenside, P. &amp; Kundaje, A. Learning Important Features Through Propagating Activation Differences. <em>arXiv<\/em> (2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1704.02685\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/1704.02685<\/a><\/p>\n<\/li>\n<li>\n<p>Schreiber, J., Lorbeer, F. K., Heinzl, M., Reiter, F., Rafanel, B., Lu, Y. Y., Stark, A. &amp; Noble, W. S. Programmatic design and editing of cis-regulatory elements. <em>bioRxiv<\/em> (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.04.22.650035\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2025.04.22.650035<\/a><\/p>\n<\/li>\n<li>\n<p>Schreiber, J. tangermeme: A toolkit for understanding cis-regulatory logic using deep learning models. <em>bioRxiv<\/em> (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.08.08.669296\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2025.08.08.669296<\/a><\/p>\n<\/li>\n<\/ol>\n"},{"title":"Benchmarking seq2func models on distal enhancer effects with CRISPRi screens","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/","pubDate":"Thu, 25 Jun 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Benchmarking seq2func models on distal enhancer effects with CRISPRi screens\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>We benchmark six sequence-to-function genomic deep learning models \u2014 <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >Enformer<\/a>, <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-024-02053-6\" target=\"_blank\" rel=\"noopener\"\n >Borzoi<\/a>, <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2026.10.02.756377v1\" target=\"_blank\" rel=\"noopener\"\n >Cerberus<\/a>, <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2025.12.22.695963v2\" target=\"_blank\" rel=\"noopener\"\n >NTv3<\/a>, <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a>, and <a class=\"link\" href=\"https:\/\/storage.googleapis.com\/deepmind-media\/DeepMind.com\/Blog\/alphagenome-2-deciphering-how-cells-read-dna-to-better-understand-disease\/alphagenome-2.pdf\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome 2<\/a> \u2014 zero-shot on two K562 CRISPRi enhancer-knockdown screens (<a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/31784727\/\" target=\"_blank\" rel=\"noopener\"\n >Fulco et al., 2019<\/a> and <a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/30612741\/\" target=\"_blank\" rel=\"noopener\"\n >Gasperini et al., 2019<\/a>), extending the in-silico CRISPRi setup from <a class=\"link\" href=\"https:\/\/genomebiology.biomedcentral.com\/articles\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >Karollus et al., 2023<\/a>.<\/p>\n<p>Four things stand out:<\/p>\n<ul>\n<li><strong>AlphaGenome 2 leads on the larger screen<\/strong>, Gasperini et al. (Pearson&rsquo;s r = 0.54, against 0.45 for AlphaGenome, the next best). It is a clear but incremental improvement, holding out to about 100 kb from the TSS, with no gain beyond. On the smaller Fulco et al. screen, AlphaGenome 2 (0.75), Cerberus (0.70) and AlphaGenome (0.67) are statistically tied.<\/li>\n<li><strong>Cerberus, Borzoi&rsquo;s successor, doesn&rsquo;t improve on it overall.<\/strong> It is worse for enhancers near the promoter on the larger screen, and level or slightly better further out.<\/li>\n<li><strong>All six models systematically underpredict knockdown magnitude<\/strong>, and the gap to experimental measurements widens with enhancer-to-TSS distance. AlphaGenome 2 comes closest: on the larger screen its predictions are over 90% of the measured knockdowns on average out to 100 kb from the TSS, but under half beyond that \u2014 distal cis-regulatory element (CRE) effects remain difficult to predict.<\/li>\n<li><strong>AlphaGenome&rsquo;s RNA-Seq head (with GENCODE-exon aggregation) beats its CAGE head<\/strong> on the larger screen \u2014 which output track you choose matters.<\/li>\n<\/ul>\n<p><strong>Code<\/strong>: <a class=\"link\" href=\"https:\/\/github.com\/Al-Murphy\/seq2func_crispri_eval\" target=\"_blank\" rel=\"noopener\"\n >seq2func_crispri_eval<\/a><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"motivation\">Motivation\n<\/h2><p>Sequence-to-function (seq2func) models keep getting bigger, longer-context, and more capable. <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> set the state of the art, succeeding <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >Enformer<\/a> (2021) and <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-024-02053-6\" target=\"_blank\" rel=\"noopener\"\n >Borzoi<\/a> (2024), and Google DeepMind has now released its successor, <a class=\"link\" href=\"https:\/\/storage.googleapis.com\/deepmind-media\/DeepMind.com\/Blog\/alphagenome-2-deciphering-how-cells-read-dna-to-better-understand-disease\/alphagenome-2.pdf\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome 2<\/a> (November 2026), which conditions its predictions on a chosen cell type or state and is served through an API. Calico has also released Borzoi&rsquo;s successor, <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2026.10.02.756377v1\" target=\"_blank\" rel=\"noopener\"\n >Cerberus<\/a> (2026), which replaces Borzoi&rsquo;s attention layers and U-Net with bidirectional state-space (Mamba-2) blocks and reads 786 kb of sequence. DNA language models like <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2025.12.22.695963v2\" target=\"_blank\" rel=\"noopener\"\n >NTv3<\/a> now compete in the same space by post-training on the same functional genomic tracks.<\/p>\n<p>AlphaGenome was launched as a substantial step forward, with most of its zero-shot evaluation focused on single-nucleotide variant (SNV) effects. Two related weaknesses are especially well-documented for this class of model, both originally demonstrated on Enformer: predicting expression across <strong>personalised genomes<\/strong> (e.g. <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-023-01524-6\" target=\"_blank\" rel=\"noopener\"\n >Sasse et al.<\/a>), and predicting <strong>distal CRE effect magnitudes<\/strong> (how much knocking down a far-away enhancer changes its target gene&rsquo;s expression). Both involve sequence perturbations the model wasn&rsquo;t directly trained on, and both are where seq2func models historically struggle. Performance on these tasks is what tells us whether a model&rsquo;s apparent advance translates to the questions biologists actually care about.<\/p>\n<p>The personalised genome question is how well a model predicts gene expression for a specific individual from their own genome. It&rsquo;s hard because the variants that distinguish one individual from the reference are sparse and small in effect, easy to lose against the much stronger reference signal a sequence model is trained to predict. <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2026.02.01.702969v1.full\" target=\"_blank\" rel=\"noopener\"\n >Tu et al., 2026<\/a> and <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2025.08.05.668750v3.full\" target=\"_blank\" rel=\"noopener\"\n >Kashyap et al., 2026<\/a> recently revisited it: AlphaGenome improves over Enformer on this task, but still falls well short of useful accuracy. The needle moves, but there&rsquo;s a long way to go.<\/p>\n<p>The distal-CRE magnitude question \u2014 much bigger perturbations, disabling a whole regulatory element \u2014 has received little attention since <a class=\"link\" href=\"https:\/\/genomebiology.biomedcentral.com\/articles\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >Karollus et al., 2023<\/a>. They defined an <em>in-silico<\/em> CRISPRi benchmark on <a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/31784727\/\" target=\"_blank\" rel=\"noopener\"\n >Fulco 2019<\/a> and <a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/30612741\/\" target=\"_blank\" rel=\"noopener\"\n >Gasperini 2019<\/a> and ran it on Enformer and Basenji2, finding both substantially undershoot real enhancer effects. Borzoi, Cerberus, NTv3, AlphaGenome, and AlphaGenome 2 have all followed Enformer, claiming gains from longer contexts and broader predictive tasks \u2014 yet none have been evaluated on Karollus&rsquo;s magnitude benchmark.<\/p>\n<p>A related but easier task \u2014 enhancer-gene linking \u2014 has been tested more widely: in the original Enformer paper (Figure 1a), in AlphaGenome&rsquo;s evaluation on the <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2023.11.09.563812v1\" target=\"_blank\" rel=\"noopener\"\n >ENCODE-rE2G CRISPRi dataset<\/a> (Figure 1b), and in the <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-65077-4\" target=\"_blank\" rel=\"noopener\"\n >DNALONGBENCH<\/a> benchmark. Linking is binary classification: does enhancer X regulate gene Y? A model succeeds by sorting interacting from non-interacting pairs above some threshold. Magnitude prediction is regression: how much does Y drop when X is disabled? It demands ranked and calibrated effect sizes across a continuous range, committing the model to a quantitative theory of enhancer-promoter regulation rather than a topological one. AlphaGenome leads on linking and notes that even it underestimates the impact of very distal enhancers \u2014 but doesn&rsquo;t run the magnitude-prediction benchmark. Nor does AlphaGenome 2, which extends the lead on linking, most of all for distal enhancers.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/enf_ag_crispr_orig_pprs.png\" class=\"image-link\" data-pswp-width=\"7209\" data-pswp-height=\"4730\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/enf_ag_crispr_orig_pprs.png.optimized.webp\" width=\"900px\" height=\"590\"loading=\"lazy\"\n\t\t\talt=\"Figure 1\"\n\t\t\tdata-title-escaped=\"Figure 1: Enhancer-gene linking performance from the original Enformer and AlphaGenome publications. (a) Adapted from Avsec et al. 2021 (Enformer): enhancer\u2013gene pair classification performance (CRISPRi-validated versus non-validated candidate enhancers), stratified by relative distance, measured by auPRC on two CRISPRi datasets for different methods, models, and contribution scores. (b) Adapted from Avsec et al. 2026 (AlphaGenome): zero-shot enhancer-gene linking performance on the ENCODE-rE2G CRISPRi dataset (auPRC), stratified by enhancer-to-TSS distance.\">\n\t\t<\/a><figcaption>Figure 1: Enhancer-gene linking performance from the original Enformer and AlphaGenome publications. (a) Adapted from Avsec et al. 2021 (Enformer): enhancer\u2013gene pair classification performance (CRISPRi-validated versus non-validated candidate enhancers), stratified by relative distance, measured by auPRC on two CRISPRi datasets for different methods, models, and contribution scores. (b) Adapted from Avsec et al. 2026 (AlphaGenome): zero-shot enhancer-gene linking performance on the ENCODE-rE2G CRISPRi dataset (auPRC), stratified by enhancer-to-TSS distance.<\/figcaption><\/figure><p>We aim to address this. We re-run the Karollus benchmark on AlphaGenome 2, AlphaGenome, Borzoi, Cerberus, and NTv3 \u2014 and on Enformer, to anchor against Karollus&rsquo;s original numbers. The result is a measure of progress on distal-CRE prediction across the last five years of seq2func releases, not just a test of AlphaGenome&rsquo;s generalisation abilities.<\/p>\n\n <blockquote>\n <p><em>Side note:<\/em> CRISPRi (CRISPR interference) uses a catalytically dead Cas9 fused to a repressive domain to silence a target locus without cutting DNA. When the target is a distal enhancer, you can read out which genes go down in expression \u2014 giving you a measured enhancer \u2192 gene effect size.<\/p>\n\n <\/blockquote>\n\n <blockquote>\n <p><em>Side note:<\/em> &ldquo;seq2func&rdquo; = sequence-to-function. A model that takes raw DNA as input and predicts functional genomic signals (RNA-seq, CAGE, ATAC, ChIP, etc.) as output. Enformer, Borzoi, Cerberus, AlphaGenome, and AlphaGenome 2 were all trained end-to-end as seq2func models. NTv3 is a hybrid: first pretrained as a genomic language model (gLM) via masked language modeling \u2014 predicting hidden bases from their surrounding sequence across many species&rsquo; genomes \u2014 then post-trained on functional assays to produce seq2func outputs.<\/p>\n\n <\/blockquote>\n<hr>\n<h2 id=\"the-benchmark\">The benchmark\n<\/h2><p>We test on two K562 CRISPRi enhancer screens:<\/p>\n<ul>\n<li><strong><a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/31784727\/\" target=\"_blank\" rel=\"noopener\"\n >Fulco et al., 2019<\/a><\/strong> \u2014 ~60 validated enhancer\u2013gene pairs from K562 CRISPRi-FlowFISH. Small but high-confidence.<\/li>\n<li><strong><a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/30612741\/\" target=\"_blank\" rel=\"noopener\"\n >Gasperini et al., 2019<\/a><\/strong> \u2014 ~440 high-confidence significant pairs from pooled K562 CRISPRi at scale.<\/li>\n<\/ul>\n<p>For each pair, the procedure is:<\/p>\n<ol>\n<li>Build a sequence window of the model&rsquo;s native context (196 kb for Enformer, 524 kb for Borzoi, 786 kb for Cerberus, 1 Mb for NTv3, AlphaGenome, and AlphaGenome 2), centred on the gene&rsquo;s TSS.<\/li>\n<li>Score the wild-type window.<\/li>\n<li>Dinucleotide-shuffle a 2 kb slice covering the enhancer. Repeat N = 50 times, average the model&rsquo;s prediction.<\/li>\n<li>Aggregate the model&rsquo;s K562 output. Enformer has no RNA-Seq output, so it is read from CAGE tracks in a TSS-centred 640 bp window (5 \u00d7 128 bp bins). The other five are read from RNA-Seq over the target gene&rsquo;s GENCODE exons \u2014 AlphaGenome&rsquo;s preferred RNA-Seq score, and how Calico scores genes with Borzoi and Cerberus. NTv3, AlphaGenome, and AlphaGenome 2 take the mean signal across the exons, averaged over K562 RNA-Seq tracks: all 86 for NTv3, and for the two AlphaGenomes the tracks that match the gene&rsquo;s strand (3 of 5 for AlphaGenome; for AlphaGenome 2, 5 of the 9 tracks measured in K562, leaving out 3 more that the model imputes). Borzoi and Cerberus sum the 32 bp output bins that overlap the exons, on the 71 of their 94 K562 RNA-Seq tracks that match the gene&rsquo;s strand, after converting the output back to coverage with Calico&rsquo;s inverse transform.<\/li>\n<li>Score <code>pred_delta = (WT \u2212 mean(shuffle)) \/ WT<\/code> per pair and correlate with the measured fractional knockdown.<\/li>\n<\/ol>\n\n <blockquote>\n <p><em>Side note<\/em>: This is a marginalisation procedure \u2014 by averaging predictions across many randomised backgrounds in which the enhancer&rsquo;s motif content is destroyed, we isolate the enhancer&rsquo;s contribution from the surrounding sequence context (the same idea underlies Global Importance Analysis (GIA); <a class=\"link\" href=\"https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC8118286\/\" target=\"_blank\" rel=\"noopener\"\n >Koo et al., 2021<\/a>). The background choice matters: N-replacement is out-of-distribution for the model and can produce strange predictions; drawing random bases changes local G+C content, biasing on composition rather than motif loss; even a plain base shuffle destroys dinucleotide frequencies like CpG counts, themselves a learned regulatory signal. Dinucleotide shuffling (Altschul\u2013Erickson) destroys motif content while keeping both single-base and dinucleotide composition intact \u2014 the standard background for in-silico CRISPRi.<\/p>\n\n <\/blockquote>\n<p>This protocol is a direct extension of <a class=\"link\" href=\"https:\/\/genomebiology.biomedcentral.com\/articles\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >Karollus 2023<\/a> \u2014 most of it is bit-for-bit faithful to theirs. We reuse their Fulco et al. evaluation tables (<code>ziga_additional_columns.tsv<\/code> + <code>enhancer_knockdown_effects.tsv<\/code> from their <a class=\"link\" href=\"https:\/\/zenodo.org\/records\/7613255\" target=\"_blank\" rel=\"noopener\"\n >Zenodo release<\/a>) with the same merge keys and validated-pair filtering, their TSS \/ enhancer \/ strand conventions, the same Enformer DeepMind checkpoint, and their K562 CAGE readout, central-bin aggregation, and Pearson\/Spearman correlation framework. For Gasperini we apply the same protocol to the Cell 2019 high-confidence pairs (after hg19 \u2192 hg38 liftover). The model-specific adjustments \u2014 per-architecture aggregation conventions like 5\u00d7128 bp CAGE bins for Enformer, exon-overlapping 32 bp bins for Borzoi and Cerberus, exon-mean for NTv3 and both AlphaGenomes&rsquo; RNA-Seq \u2014 are architecture-driven; the evaluation harness around them is the Karollus harness. Four deliberate departures from Karollus are flagged in <a class=\"link\" href=\"#limitations\" >Limitations<\/a>.<\/p>\n<p>Each model is evaluated using its canonical published inference setup, with no test-time augmentations applied (TTA is explored separately for AlphaGenome below). Inference compute per pair therefore isn&rsquo;t uniform: Borzoi runs four forward passes (one per fold) and Cerberus eight, while the other four run one \u2014 we compare models as their authors released them rather than artificially restrict Borzoi and Cerberus to a single fold. Enformer uses the <a class=\"link\" href=\"https:\/\/github.com\/lucidrains\/enformer-pytorch\" target=\"_blank\" rel=\"noopener\"\n >lucidrains PyTorch port<\/a> of the DeepMind weights \u2014 same weights as Karollus used, different framework wrapper. Borzoi predictions come from the <a class=\"link\" href=\"https:\/\/huggingface.co\/johahi\" target=\"_blank\" rel=\"noopener\"\n >Flashzoi<\/a> community PyTorch port, evaluated as the original paper&rsquo;s 4-fold ensemble (predictions averaged across the four published fold checkpoints). Cerberus uses Calico&rsquo;s released PyTorch weights (<a class=\"link\" href=\"https:\/\/github.com\/calico\/baskerville\/tree\/main\/releases\/cerberus\" target=\"_blank\" rel=\"noopener\"\n >baskerville<\/a>), evaluated in fp32 as the 8-fold ensemble (predictions averaged across the eight fold checkpoints). AlphaGenome uses the <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >PyTorch port<\/a> loaded with the all-fold distilled checkpoint, a single model trained to reproduce the multi-fold ensemble&rsquo;s behaviour. AlphaGenome 2 isn&rsquo;t released as weights, so we query Google DeepMind&rsquo;s hosted <a class=\"link\" href=\"https:\/\/alphagenome.google\/api\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome API<\/a> (Python client 2.0.0, all-folds model), conditioning every request on K562; the hosted model isn&rsquo;t version-pinned, but two full runs on 12 November 2026 returned bit-identical predictions. NTv3 is InstaDeep&rsquo;s revised 1 Mb-context checkpoint, <a class=\"link\" href=\"https:\/\/huggingface.co\/InstaDeepAI\/NTv3_tracks_1mb\" target=\"_blank\" rel=\"noopener\"\n >NTv3_tracks_1mb<\/a>, released alongside the v2 preprint (29 October 2026; HF revision a5a644f). As the model expects, its input is soft-masked (repeat bases in lowercase); shuffled enhancer bases keep the reference case at each position.<\/p>\n<hr>\n<h2 id=\"results\">Results\n<\/h2><p><strong>AlphaGenome 2 leads on Gasperini et al.; on Fulco et al., AlphaGenome 2, Cerberus and AlphaGenome are tied.<\/strong> Figure 2 shows predicted vs. measured fractional knockdown for all six models on each screen, with points coloured by enhancer-to-TSS distance.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_fig1.png\" class=\"image-link\" data-pswp-width=\"6300\" data-pswp-height=\"2652\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_fig1.png.optimized.webp\" width=\"900px\" height=\"378\"loading=\"lazy\"\n\t\t\talt=\"Figure 2\"\n\t\t\tdata-title-escaped=\"Figure 2: Predicted vs. measured fractional knockdown for the six models on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019. Points coloured by enhancer-to-TSS distance. On Gasperini, AlphaGenome 2 achieves the highest Pearson and Spearman correlations, followed by AlphaGenome, then Borzoi and Cerberus, with NTv3 and Enformer level behind them. On Fulco, AlphaGenome 2 has the highest Pearson&amp;#39;s r and Cerberus the highest Spearman&amp;#39;s \u03c1, within the small-sample noise of each other and of AlphaGenome. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.\">\n\t\t<\/a><figcaption>Figure 2: Predicted vs. measured fractional knockdown for the six models on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019. Points coloured by enhancer-to-TSS distance. On Gasperini, AlphaGenome 2 achieves the highest Pearson and Spearman correlations, followed by AlphaGenome, then Borzoi and Cerberus, with NTv3 and Enformer level behind them. On Fulco, AlphaGenome 2 has the highest Pearson&rsquo;s r and Cerberus the highest Spearman&rsquo;s \u03c1, within the small-sample noise of each other and of AlphaGenome. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.<\/figcaption><\/figure><p>The headline numbers (left two columns: each model on every pair its own receptive field can reach; right two columns: every model restricted to Enformer&rsquo;s 196 kb receptive field, so all six score the same set of pairs):<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Model<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">Fulco \u2014 full<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">Gasperini \u2014 full<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">Fulco \u2014 Enformer RF<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">Gasperini \u2014 Enformer RF<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>Enformer<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.60 \/ 0.31<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.30 \/ 0.27<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.60 \/ 0.31<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.30 \/ 0.27<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>Borzoi<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.64 \/ 0.46<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.37 \/ 0.36<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.64 \/ 0.46<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.37 \/ 0.39<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>Cerberus<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.70 \/ <strong>0.59<\/strong><\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.34 \/ 0.31<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.70 \/ <strong>0.58<\/strong><\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.35 \/ 0.33<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>NTv3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.51 \/ 0.27<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.29 \/ 0.29<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.51 \/ 0.26<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.31 \/ 0.30<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>AlphaGenome<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.67 \/ 0.54<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.45 \/ 0.45<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.67 \/ 0.54<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">0.46 \/ 0.48<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>AlphaGenome 2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\"><strong>0.75<\/strong> \/ 0.50<\/td>\n\t\t\t\t\t<td style=\"text-align: right\"><strong>0.54 \/ 0.52<\/strong><\/td>\n\t\t\t\t\t<td style=\"text-align: right\"><strong>0.75<\/strong> \/ 0.50<\/td>\n\t\t\t\t\t<td style=\"text-align: right\"><strong>0.59 \/ 0.58<\/strong><\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>Values are Pearson&rsquo;s <em>r<\/em> \/ Spearman&rsquo;s \u03c1. N pairs in the &ldquo;full&rdquo; columns varies by model because larger-context models score extra distal pairs that Enformer can&rsquo;t see (Fulco N = 62\u201363, Gasperini N = 352\u2013438); in the &ldquo;Enformer RF (Receptive Field)&rdquo; columns N is uniform (Fulco et al. N = 62, Gasperini et al. N = 352), restricted to the enhancers Enformer predicts.<\/p>\n<p>The matched-RF columns rule out the simple &ldquo;they just see more sequence&rdquo; explanation for the leaders: Fulco et al. barely moves (only one distal pair drops), and on Gasperini et al. the rankings are unchanged apart from NTv3 and Enformer, which swap fifth and sixth on Pearson&rsquo;s r (0.29 vs. 0.30, then 0.31 vs. 0.30) \u2014 both AlphaGenomes even nudge up (AlphaGenome&rsquo;s Pearson 0.45 \u2192 0.46 and Spearman 0.45 \u2192 0.48; AlphaGenome 2&rsquo;s 0.54 \u2192 0.59 and 0.52 \u2192 0.58).<\/p>\n<p>A few takeaways:<\/p>\n<ul>\n<li><strong>AlphaGenome 2 leads on Gasperini et al.<\/strong>, the larger screen (Pearson&rsquo;s r 0.54, against 0.45 for AlphaGenome and 0.37 for Borzoi). On the same 438 pairs it beats AlphaGenome significantly (Spearman&rsquo;s \u03c1 higher by 0.07, 95% CI 0.02\u20130.12; Pearson&rsquo;s r higher by 0.09, CI 0.04\u20130.15; paired bootstrap), a gain about the size of AlphaGenome&rsquo;s own lead over Borzoi. The gain holds out to about 100 kb from the TSS (\u03c1 higher by 0.10, CI 0.01\u20130.19, n = 180, within 20 kb; by 0.09, CI 0.02\u20130.16, n = 175, at 20\u2013100 kb) and disappears beyond it (0.00, CI \u22120.11 to +0.12, n = 83). AlphaGenome in turn leads the rest by a clear margin. On Fulco et al., AlphaGenome 2 (0.75), Cerberus (0.70), AlphaGenome (0.67) and Borzoi (0.64) are essentially tied \u2014 AlphaGenome 2&rsquo;s Pearson lead over Borzoi is borderline (r higher by 0.11, CI 0.00\u20130.26), and on Spearman&rsquo;s \u03c1 all four are level. See the small-sample caveat in <a class=\"link\" href=\"#limitations\" >Limitations<\/a>.<\/li>\n<li><strong>Context length isn&rsquo;t the explanation.<\/strong> NTv3 has a 1 Mb context, the same as both AlphaGenomes, but trails them on both screens (matched-RF Pearson&rsquo;s r 0.51 vs. 0.67 and 0.75 on Fulco et al., 0.31 vs. 0.46 and 0.59 on Gasperini et al.). Enformer, despite its shorter 196 kb context (which excludes ~20% of Gasperini et al. pairs), is level with NTv3 on the pairs it can see (Pearson&rsquo;s r 0.30) and not far behind Borzoi (0.37). Nor does Cerberus&rsquo;s longer context (786 kb against 524 kb) lift it above Borzoi on Gasperini et al. (0.34 vs. 0.37).<\/li>\n<li><strong>Cerberus is weaker near the promoter, level or better further out.<\/strong> Against Borzoi, its predecessor, Cerberus ranks Gasperini et al.&rsquo;s enhancers within 20 kb of the TSS worse (Spearman&rsquo;s \u03c1 lower by 0.14, 95% CI 0.04\u20130.25, n = 180; paired bootstrap) and is level beyond 20 kb (\u03c1 higher by 0.05, CI \u22120.04 to +0.14, n = 237). On Fulco et al. it is level within 20 kb and ahead beyond it (\u03c1 higher by 0.29, CI +0.02 to +0.56), though on only 26 pairs. Across all pairs the two are level on both screens.<\/li>\n<li><strong>On the same set of pairs, the AlphaGenomes still lead.<\/strong> Of Gasperini et al.&rsquo;s pairs, 21 fall within the AlphaGenomes&rsquo; 1 Mb context but outside Borzoi&rsquo;s 524 kb \u2014 so they contribute to the AlphaGenomes&rsquo; correlations but not Borzoi&rsquo;s (Note, all of the tested Fulco et al. pairs are in Borzoi&rsquo;s context). To make the comparison apples-to-apples, we restrict both to only the pairs Borzoi can also score: AlphaGenome&rsquo;s Pearson&rsquo;s r goes 0.45 \u2192 0.44 and Spearman&rsquo;s \u03c1 stays at 0.45; AlphaGenome 2&rsquo;s stay at 0.54 and 0.52 \u2014 giving essentially the same result.<\/li>\n<li><strong>The Gasperini et al. ceiling is low across the board.<\/strong> Even AlphaGenome 2 (Pearson&rsquo;s r 0.54) leaves substantial variance unexplained. Some of this is likely measurement-side: Gasperini et al.&rsquo;s scaled screen uses a high-MOI single-cell pooled design (median 28 gRNAs per cell), and the statistical and trans-perturbation challenges of high-MOI screens are well-documented (<a class=\"link\" href=\"https:\/\/genomebiology.biomedcentral.com\/articles\/10.1186\/s13059-021-02545-2\" target=\"_blank\" rel=\"noopener\"\n >Barry et al., 2021<\/a>). Fulco et al.&rsquo;s CRISPRi-FlowFISH targets one enhancer at a time with a bulk-population readout, which we&rsquo;d expect to give more precise per-pair effect sizes. We can&rsquo;t separate measurement noise from model error from these correlations alone, so attributing the gap is interpretive \u2014 but it&rsquo;s at least consistent with the per-screen difference we see. Either way, the headline framing is that AlphaGenome and AlphaGenome 2 improve CRISPRi prediction but a large gap remains, especially for distal cis-regulatory elements (CREs).<\/li>\n<\/ul>\n\n <blockquote>\n <p><em>Side note:<\/em> AlphaGenome 2 is trained on the same ENCODE K562 RNA-Seq experiments as AlphaGenome, but keeps paired- and single-ended libraries as separate tracks rather than pooling them, so its score averages 5 strand-matched tracks where AlphaGenome&rsquo;s averages 3. That split isn&rsquo;t what lifts it: using only its paired-ended version of each of AlphaGenome&rsquo;s three tracks (polyA+ and total RNA-Seq on the gene&rsquo;s strand, plus unstranded polyA+), it scores the same on Gasperini et al. (Spearman&rsquo;s \u03c1 0.52), and four of its five tracks beat AlphaGenome on their own.<\/p>\n\n <\/blockquote>\n<h3 id=\"predictions-shrink-knockdowns-dont\">Predictions shrink, knockdowns don&rsquo;t\n<\/h3><p>Figure 3 plots observed and predicted effect against enhancer-to-TSS distance, to more closely match <a class=\"link\" href=\"https:\/\/link.springer.com\/article\/10.1186\/s13059-023-02899-9\/figures\/5\" target=\"_blank\" rel=\"noopener\"\n >Karollus et al.&rsquo;s plotting style<\/a>.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_fig2.png\" class=\"image-link\" data-pswp-width=\"6300\" data-pswp-height=\"1786\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_fig2.png.optimized.webp\" width=\"900px\" height=\"255\"loading=\"lazy\"\n\t\t\talt=\"Figure 3\"\n\t\t\tdata-title-escaped=\"Figure 3: Observed (grey) and predicted (blue) effect (y-axis) vs. enhancer-to-TSS distance (x-axis). Predictions are systematically smaller than observed knockdowns across all six models, and the gap widens at distal distances.\">\n\t\t<\/a><figcaption>Figure 3: Observed (grey) and predicted (blue) effect (y-axis) vs. enhancer-to-TSS distance (x-axis). Predictions are systematically smaller than observed knockdowns across all six models, and the gap widens at distal distances.<\/figcaption><\/figure><p>Two patterns stand out:<\/p>\n<ul>\n<li><strong>Predictions are systematically smaller in magnitude than observed knockdowns.<\/strong> Even where the rank ordering is right (good Spearman), the predicted effect sizes are compressed, most of all for NTv3 and then Cerberus: the lines fitted to their predicted vs. measured effects (Figure 2) have slopes of 0.12\u20130.13 and 0.17\u20130.25, against 0.26 or more for the other four. AlphaGenome 2 is the least compressed by far, with slopes of 0.81 and 0.89, against 0.53 and 0.57 for AlphaGenome.<\/li>\n<li><strong>The gap grows with distance on Gasperini et al.<\/strong> There the measured knockdowns barely change with distance, but Enformer&rsquo;s, Borzoi&rsquo;s and AlphaGenome&rsquo;s predictions fall towards zero, so their shortfall grows roughly 1.8- to 2.6-fold from the nearest pairs to the farthest. NTv3 falls short by a similar amount at every distance, because its predictions sit near zero throughout. Cerberus sits in between: it is already further short at the nearest pairs, and its shortfall grows about 1.3-fold. AlphaGenome 2 makes the pattern starkest: out to 100 kb its mean prediction is over 90% of the mean measured knockdown (about 60% for AlphaGenome), but beyond 100 kb it is under half (45%, against 28% for AlphaGenome). On Fulco et al., where the measured effects do decay with distance, the models capture some of that decay but less steeply than the data, most obviously NTv3 and then Cerberus; the two AlphaGenomes are the exception, decaying about as steeply as the data.<\/li>\n<\/ul>\n<p><strong>Is the distal shortfall just inaccessible enhancers?<\/strong> AlphaGenome 2&rsquo;s <a class=\"link\" href=\"https:\/\/storage.googleapis.com\/deepmind-media\/DeepMind.com\/Blog\/alphagenome-2-deciphering-how-cells-read-dna-to-better-understand-disease\/alphagenome-2.pdf\" target=\"_blank\" rel=\"noopener\"\n >preprint<\/a> finds that much of the familiar drop in eQTL prediction with distance comes from variants outside accessible chromatin: inside accessible peaks, its sign and effect-size predictions hold up beyond 35 kb of the TSS. That can&rsquo;t explain the shortfall here, because these screens target accessible elements: 98% of Gasperini et al.&rsquo;s enhancers (94% of Fulco et al.&rsquo;s) overlap a K562 DNase-seq peak from <a class=\"link\" href=\"https:\/\/www.encodeproject.org\/experiments\/ENCSR000EOT\/\" target=\"_blank\" rel=\"noopener\"\n >ENCODE<\/a>. Splitting Gasperini et al.&rsquo;s enhancers at the median DNase signal instead, distance still shrinks the predictions for the more accessible half: beyond 35 kb, AlphaGenome 2&rsquo;s mean prediction is 0.84 of the mean measured knockdown, against 1.19 within 35 kb, while the measured knockdowns don&rsquo;t change (0.32 vs. 0.31). Every model shows the same drop. Accessibility adds a second, separate bias: at every distance, Borzoi, Cerberus and both AlphaGenomes predict larger effects for the more accessible half, although the measured knockdowns of the two halves are about the same size (0.30\u20130.34). Beyond 35 kb, AlphaGenome 2 predicts under a tenth of the measured effect for 52% of the less accessible enhancers, against 21% of the more accessible ones. Splitting on H3K27ac (<a class=\"link\" href=\"https:\/\/www.encodeproject.org\/experiments\/ENCSR000AKP\/\" target=\"_blank\" rel=\"noopener\"\n >ENCODE<\/a>) instead of DNase gives the same picture. So, to summarise, accessibility doesn&rsquo;t explain the distal shortfall: nearly all of these enhancers are accessible, the models underpredict distal effects even for the more accessible half, and, separately, they underpredict the less accessible half at every distance. (Fulco et al. has too few distal pairs to split this way.)<\/p>\n<p>A short aside: AlphaGenome&rsquo;s RNA-Seq head, aggregated as the mean signal across the target gene&rsquo;s GENCODE exons (their paper&rsquo;s preferred approach), beats AlphaGenome&rsquo;s CAGE head (we only compared heads for the original AlphaGenome) on Gasperini et al. (Pearson&rsquo;s r 0.45 vs. 0.39). On Fulco et al. the difference is small (0.67 vs. 0.66). So if you&rsquo;re benchmarking a new model on these screens, your output-aggregation choice should be considered carefully!<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_suppfig2.png\" class=\"image-link\" data-pswp-width=\"4917\" data-pswp-height=\"3542\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_suppfig2.png.optimized.webp\" width=\"900px\" height=\"648\"loading=\"lazy\"\n\t\t\talt=\"Figure 4\"\n\t\t\tdata-title-escaped=\"Figure 4: Predicted vs. measured fractional knockdown for Enformer and AlphaGenome CAGE track and RNA-Seq track on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019. Points coloured by enhancer-to-TSS distance. AlphaGenome&amp;#39;s RNA-Seq head with GENCODE-exon aggregation beats its CAGE head on Gasperini et al. and is comparable on Fulco et al. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.\">\n\t\t<\/a><figcaption>Figure 4: Predicted vs. measured fractional knockdown for Enformer and AlphaGenome CAGE track and RNA-Seq track on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019. Points coloured by enhancer-to-TSS distance. AlphaGenome&rsquo;s RNA-Seq head with GENCODE-exon aggregation beats its CAGE head on Gasperini et al. and is comparable on Fulco et al. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.<\/figcaption><\/figure><h3 id=\"linear-vs-log-fold-change-scoring\">Linear vs. log\u2082 fold-change scoring\n<\/h3><p>A second aside: we computed the predicted effect two ways. Figure 2 used the linear <code>pred_delta = (WT \u2212 mean(shuffle)) \/ WT<\/code>. We also computed log<sub>2<\/sub>(WT \/ mean(shuffle)) against \u2212log<sub>2<\/sub>(1 \u2212 y_delta) \u2014 a log fold-change scaling that de-emphasises a few high-end outliers. Figure 5 shows the log<sub>2<\/sub> version. Spearman is identical between the two scorings (rank-invariant); Pearson can shift noticeably, especially on Gasperini, and two pairs narrowly swap order: AlphaGenome and Borzoi on Fulco, and Borzoi and Cerberus on Gasperini \u2014 though the broad picture (AlphaGenome 2 first on both screens, and AlphaGenome, Borzoi and Cerberus ahead of NTv3) is robust.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_suppfig1.png\" class=\"image-link\" data-pswp-width=\"6300\" data-pswp-height=\"3118\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_suppfig1.png.optimized.webp\" width=\"900px\" height=\"445\"loading=\"lazy\"\n\t\t\talt=\"Figure 5\"\n\t\t\tdata-title-escaped=\"Figure 5: Predicted vs. measured knockdown on the log2 alignment scale (log2(WT \/ mean(shuffle)) vs. \u2212log2(1 \u2212 y_delta)) for Borzoi, Cerberus, NTv3, AlphaGenome, and AlphaGenome 2 on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019. Enformer omitted. Points coloured by enhancer-to-TSS distance. Model ranking by Pearson&amp;#39;s r matches Figure 2 apart from two narrow swaps: AlphaGenome and Borzoi on Fulco, and Borzoi and Cerberus on Gasperini. Spearman&amp;#39;s \u03c1 is identical between the two scorings. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.\">\n\t\t<\/a><figcaption>Figure 5: Predicted vs. measured knockdown on the log2 alignment scale (log2(WT \/ mean(shuffle)) vs. \u2212log2(1 \u2212 y_delta)) for Borzoi, Cerberus, NTv3, AlphaGenome, and AlphaGenome 2 on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019. Enformer omitted. Points coloured by enhancer-to-TSS distance. Model ranking by Pearson&rsquo;s r matches Figure 2 apart from two narrow swaps: AlphaGenome and Borzoi on Fulco, and Borzoi and Cerberus on Gasperini. Spearman&rsquo;s \u03c1 is identical between the two scorings. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.<\/figcaption><\/figure><h3 id=\"test-time-augmentation-stabilising-alphagenome\">Test-time augmentation: stabilising AlphaGenome\n<\/h3><p>Karollus et al.&rsquo;s original benchmark applies <strong>test-time augmentations (TTA)<\/strong> \u2014 for each sequence, run the model on 3 small offsets (\u221243, 0, +43 bp) crossed with both orientations (forward + reverse-complement), then average the 6 predictions. The 43 bp shift isn&rsquo;t arbitrary: Enformer&rsquo;s output is binned at 128 bp, and 128 \/ 3 \u2248 43, so the three offsets sample the TSS at roughly even thirds within its bin, averaging out where exactly the landmark falls. Genomic seq2func models have small but real positional sensitivity \u2014 predictions wobble across shifts \u2014 and TTA reliably damps this. Past work has shown the same effect in adjacent settings (<a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s42256-022-00570-9\" target=\"_blank\" rel=\"noopener\"\n >Toneyan et al., 2022<\/a>).<\/p>\n\n <blockquote>\n <p><em>Side note:<\/em> Test-time augmentation (TTA) means running the model on slightly perturbed versions of the same input and averaging the outputs, so the final prediction is less dependent on incidental properties like exact bin alignment or input orientation.<\/p>\n\n <\/blockquote>\n<p>The headline benchmark (Figures 2\u20135) doesn&rsquo;t use TTA, so all six models are compared on equal footing. To see what stabilising AlphaGenome&rsquo;s predictions gains on this task, we ran a separate analysis applying Karollus et al.&rsquo;s 6-pass recipe to AlphaGenome alone. Figure 6 shows the result: TTA improves AlphaGenome&rsquo;s headline correlations on both screens, lifting Pearson&rsquo;s r on Fulco from 0.67 to 0.69 and Spearman on Gasperini from 0.45 to 0.47.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_suppfig3.png\" class=\"image-link\" data-pswp-width=\"4917\" data-pswp-height=\"3542\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-007\/crispri_suppfig3.png.optimized.webp\" width=\"900px\" height=\"648\"loading=\"lazy\"\n\t\t\talt=\"Figure 6\"\n\t\t\tdata-title-escaped=\"Figure 6: AlphaGenome predicted vs. measured fractional knockdown on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019, without test time augmentations (TTA) (middle) versus with 6-pass TTA (3 shifts \u00d7 2 orientations, averaged; right). Points coloured by enhancer-to-TSS distance. TTA modestly improves AlphaGenome&amp;#39;s correlations on both screens \u2014 most visibly Fulco Pearson (0.67 \u2192 0.69) and Gasperini Spearman (0.45 \u2192 0.47); the other metrics are essentially unchanged. Enformer without TTA included for context. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.\">\n\t\t<\/a><figcaption>Figure 6: AlphaGenome predicted vs. measured fractional knockdown on (a) Fulco et al., 2019 and (b) Gasperini et al., 2019, without test time augmentations (TTA) (middle) versus with 6-pass TTA (3 shifts \u00d7 2 orientations, averaged; right). Points coloured by enhancer-to-TSS distance. TTA modestly improves AlphaGenome&rsquo;s correlations on both screens \u2014 most visibly Fulco Pearson (0.67 \u2192 0.69) and Gasperini Spearman (0.45 \u2192 0.47); the other metrics are essentially unchanged. Enformer without TTA included for context. The dashed x = y line marks perfect prediction (predicted = observed); points falling below it indicate the model underestimates the experimental knockdown.<\/figcaption><\/figure><h3 id=\"does-ensembling-help\">Does ensembling help?\n<\/h3><p>On the matched-RF (Receptive Field) set used in the headline table, a simple equal-weight average of the six models&rsquo; predictions doesn&rsquo;t beat the best single model. On Fulco it falls just short of the best single models, AlphaGenome 2 on Pearson&rsquo;s r (0.74 vs. 0.75) and Cerberus on Spearman&rsquo;s \u03c1 (0.57 vs. 0.58), well inside the small-sample noise (see Limitations). On Gasperini, where AlphaGenome 2 dominates, averaging in the weaker models clearly dilutes the predictive signal (Pearson&rsquo;s r 0.52 vs. 0.59; Spearman&rsquo;s \u03c1 0.54 vs. 0.58). Equal-weight ensembling, in other words, gains nothing over the best single model here.<\/p>\n<hr>\n<h2 id=\"limitations\">Limitations\n<\/h2><p>A few things to flag about our analysis.<\/p>\n<p><strong>Differences from Karollus 2023.<\/strong> We cross-checked our Enformer reimplementation against Karollus&rsquo;s original code line-by-line with an LLM (<a class=\"link\" href=\"https:\/\/www.anthropic.com\/\" target=\"_blank\" rel=\"noopener\"\n >Claude Opus 4.7<\/a>). Our Enformer numbers don&rsquo;t exactly match their published ones but the qualitative pattern is the same \u2014 Enformer underpredicts distal enhancer effects. Four deliberate departures from their approach may explain some of this gap:<\/p>\n<ul>\n<li><strong>Window construction.<\/strong> Karollus reads precomputed <code>sequence_start<\/code>\/<code>sequence_end<\/code> from a fixed table, designed so both TSS and enhancer sit inside Enformer&rsquo;s central crop. We build the window on-the-fly as strict TSS-centred so that all models were compared equally.<\/li>\n<li><strong>TTA only for AlphaGenome.<\/strong> Karollus et al. applies TTA (6 forward passes per sequence) uniformly across all evaluated models. Our headline six-model comparison (Figures 2\u20135) does not apply TTA to any model \u2014 each model is evaluated using its standard published setup: single forward pass for Enformer, NTv3, AlphaGenome (the distilled checkpoint), and AlphaGenome 2 (the all-folds model the API serves), the 4-fold ensemble for Borzoi, and the 8-fold ensemble for Cerberus. We separately apply Karollus et al.&rsquo;s 6-pass TTA recipe to AlphaGenome (Figure 6) to characterise the stability gain, but we don&rsquo;t apply it to Enformer, Borzoi, Cerberus, NTv3, or AlphaGenome 2.<\/li>\n<li><strong>No N-replacement control.<\/strong> Karollus also runs an all-N enhancer replacement (replacing every base with the &ldquo;N&rdquo; wildcard) as a stronger knockout than shuffling. We deliberately don&rsquo;t: while reference genomes do contain N regions (gaps, centromeres, hard-masked repeats), these are typically excluded or under-weighted in training pipelines for these models, so a 2 kb block of N embedded in an otherwise-normal genic context is anomalous input. Predictions there reflect how the model handles unfamiliar input, not how it responds to motif loss, which is the actual question. The dinucleotide shuffle keeps the model in-distribution and isolates the motif-loss signal cleanly.<\/li>\n<li><strong>Linear vs. log<sub>2<\/sub> observed effect.<\/strong> Karollus uses log<sub>2<\/sub>(1 + fraction_change); we report the linear fractional change and the log<sub>2<\/sub> observed effect. Spearman is identical; Pearson&rsquo;s r differs by a small log-vs-linear distortion.<\/li>\n<\/ul>\n<p>These methodological differences may shift absolute Pearson values, though broad model rankings should be unaffected.<\/p>\n<p><strong>Small Fulco sample (n \u2248 63).<\/strong> Fulco et al.&rsquo;s ~60 validated enhancer\u2013gene pairs is small enough that correlation estimates carry wide confidence intervals \u2014 for r \u2248 0.65 at n = 63 the 95% CI spans roughly \u00b10.15 either side. Numerical differences within roughly \u00b10.05\u20130.10 (e.g., AlphaGenome 2 0.75, Cerberus 0.70, AlphaGenome 0.67 and Borzoi 0.64 on Fulco Pearson) should be read as essentially tied, not as a meaningful ordering. Gasperini&rsquo;s ~440 pairs give tighter estimates, so the model gaps there are more reliable.<\/p>\n<p><strong>K562 only.<\/strong> Both screens are in K562, and K562 is heavily represented in every model&rsquo;s training data. None of these numbers say anything about how the models would do on cell types under-represented in training. We&rsquo;d expect the gap between models, and between predictions and truth, to widen there.<\/p>\n<p><strong>In-silico \u2260 real CRISPRi.<\/strong> Dinucleotide shuffling destroys motif content but doesn&rsquo;t capture chromatin context changes, dCas9 occupancy, or 3D genome reorganisation. It&rsquo;s a motif-loss proxy, not a full simulation. Karollus discusses this; worth keeping in mind when reading the numbers.<\/p>\n<p><strong>CRISPRi isn&rsquo;t purely cis.<\/strong> Knocking down an enhancer can affect other nearby genes, or the target gene&rsquo;s own regulatory partners, whose altered expression shifts the cellular context against which we measure the target. Part of any measured enhancer effect is downstream of these indirect (trans) effects, which a sequence-only model predicting from a TSS-centred window can&rsquo;t capture.<\/p>\n<hr>\n<h2 id=\"implications\">Implications\n<\/h2><p>The benchmark tests seq2func models on experimentally validated distal enhancer-promoter interactions. AlphaGenome&rsquo;s gains over Enformer on distal CRE effect-magnitude prediction are substantial, and most pronounced on the larger Gasperini et al. screen. That&rsquo;s real progress. AlphaGenome 2 is a clear but incremental improvement on AlphaGenome: it ranks enhancers better on the larger screen and gets their effect sizes much closer to right, out to about 100 kb from the TSS. Beyond that, it ranks enhancers no better than AlphaGenome and predicts under half their measured effect. But the headline finding \u2014 that even AlphaGenome 2 underestimates the magnitude of distal-enhancer effects \u2014 converges with what AlphaGenome&rsquo;s own paper observed on the easier enhancer-gene linking task on ENCODE-rE2G: distal CREs remain hard from two distinct evaluation angles. That AlphaGenome 2&rsquo;s gain stops at about 100 kb contrasts with its own preprint, where its advantage on linking is largest beyond 100 kb. Linking a distal enhancer to its gene and predicting how much that gene drops are different problems, and the second is still open. Fully benchmarking seq2func models on distal CRE effect magnitudes will require follow-up CRISPRi screens in cell lines beyond K562 \u2014 without them, we can&rsquo;t tell which gains generalise.<\/p>\n<p>Echoing <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.64898\/2026.02.01.702969v1.full\" target=\"_blank\" rel=\"noopener\"\n >Tu et al., 2026<\/a> and <a class=\"link\" href=\"https:\/\/www.biorxiv.org\/content\/10.1101\/2025.08.05.668750v3.full\" target=\"_blank\" rel=\"noopener\"\n >Kashyap et al., 2026<\/a> from a different angle: AlphaGenome and AlphaGenome 2 improve CRISPRi effect prediction, but the remaining gap \u2014 especially for distal CREs \u2014 is still an open problem for the field.<\/p>\n<p>The repo is set up so adding another model is one new <code>scripts\/test_&lt;dataset&gt;_&lt;newmodel&gt;.py<\/code> writing a CSV with <code>y_delta<\/code> and <code>pred_delta<\/code> columns. If you&rsquo;ve got a model you want to test, we&rsquo;d love to see it!<\/p>\n<hr>\n<h2 id=\"code-and-links\">Code and links\n<\/h2><ul>\n<li><a class=\"link\" href=\"https:\/\/github.com\/Al-Murphy\/seq2func_crispri_eval\" target=\"_blank\" rel=\"noopener\"\n >Source code &amp; evaluation scripts<\/a><\/li>\n<li><a class=\"link\" href=\"https:\/\/genomebiology.biomedcentral.com\/articles\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >Karollus et al., 2023 \u2014 the benchmark this extends<\/a><\/li>\n<li><a class=\"link\" href=\"https:\/\/zenodo.org\/records\/7613255\" target=\"_blank\" rel=\"noopener\"\n >SequenceModelBenchmark Zenodo (Karollus tables)<\/a><\/li>\n<li>Models: <a class=\"link\" href=\"https:\/\/github.com\/lucidrains\/enformer-pytorch\" target=\"_blank\" rel=\"noopener\"\n >Enformer (PyTorch)<\/a> \u00b7 <a class=\"link\" href=\"https:\/\/github.com\/calico\/borzoi\" target=\"_blank\" rel=\"noopener\"\n >Borzoi<\/a> (original) \u00b7 <a class=\"link\" href=\"https:\/\/huggingface.co\/johahi\" target=\"_blank\" rel=\"noopener\"\n >Flashzoi<\/a> (Borzoi PyTorch port, 4-fold ensemble \u2014 used here) \u00b7 <a class=\"link\" href=\"https:\/\/github.com\/calico\/baskerville\/tree\/main\/releases\/cerberus\" target=\"_blank\" rel=\"noopener\"\n >Cerberus<\/a> (Calico, 8-fold ensemble \u2014 used here) \u00b7 <a class=\"link\" href=\"https:\/\/huggingface.co\/InstaDeepAI\/NTv3_tracks_1mb\" target=\"_blank\" rel=\"noopener\"\n >NTv3<\/a> (gated: request access on Hugging Face) \u00b7 <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome PyTorch port<\/a> \u00b7 <a class=\"link\" href=\"https:\/\/alphagenome.google\/api\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome API<\/a> (AlphaGenome 2, hosted; needs an API key)<\/li>\n<\/ul>\n<hr>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Avsec, \u017d. et al. Effective gene expression prediction from sequence by integrating long-range interactions. <em>Nature Methods<\/em>, 18, 1196\u20131203 (2021). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41592-021-01252-x<\/a><\/li>\n<li>Linder, J. et al. Predicting RNA-seq coverage from DNA sequence as a unifying model of gene regulation. <em>Nature Genetics<\/em>, 57, 949\u2013961 (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-024-02053-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-024-02053-6<\/a><\/li>\n<li>Kelley, D.R., Yuan, H., Huang, X., Linder, J. Cerberus: bidirectional state space blocks improve accuracy and efficiency of regulatory sequence models. <em>bioRxiv<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.10.02.756377\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.64898\/2026.10.02.756377<\/a><\/li>\n<li>Boshar, S. et al. A multispecies foundation model for genome function prediction, gene annotation and sequence design. <em>bioRxiv<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2025.12.22.695963\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.64898\/2025.12.22.695963<\/a><\/li>\n<li>Avsec, \u017d. et al. Advancing regulatory variant effect prediction with AlphaGenome. <em>Nature<\/em>, 649, 1206\u20131218 (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41586-025-10014-0<\/a><\/li>\n<li>Gayoso, A., Mottram, A., Karollus, A. et al. AlphaGenome 2 predicts regulatory activity and variant effects across cell states. <em>Google DeepMind preprint<\/em> (2026). <a class=\"link\" href=\"https:\/\/storage.googleapis.com\/deepmind-media\/DeepMind.com\/Blog\/alphagenome-2-deciphering-how-cells-read-dna-to-better-understand-disease\/alphagenome-2.pdf\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/storage.googleapis.com\/deepmind-media\/DeepMind.com\/Blog\/alphagenome-2-deciphering-how-cells-read-dna-to-better-understand-disease\/alphagenome-2.pdf<\/a><\/li>\n<li>Karollus, A., Mauermeier, T., Gagneur, J. Current sequence-based models capture gene expression determinants in promoters but mostly ignore distal enhancers. <em>Genome Biology<\/em>, 24, 56 (2023). <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-023-02899-9\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1186\/s13059-023-02899-9<\/a><\/li>\n<li>Fulco, C. P. et al. Activity-by-contact model of enhancer\u2013promoter regulation from thousands of CRISPR perturbations. <em>Nature Genetics<\/em>, 51, 1664\u20131669 (2019). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-019-0538-0\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-019-0538-0<\/a><\/li>\n<li>Gasperini, M. et al. A genome-wide framework for mapping gene regulation via cellular genetic screens. <em>Cell<\/em>, 176, 377\u2013390.e19 (2019). <a class=\"link\" href=\"https:\/\/doi.org\/10.1016\/j.cell.2018.11.029\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1016\/j.cell.2018.11.029<\/a><\/li>\n<li>Tu, X. et al. A modality gap in personal-genome prediction by sequence-to-function models. <em>bioRxiv<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.64898\/2026.02.01.702969\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.64898\/2026.02.01.702969<\/a><\/li>\n<li>Kashyap, S., Ramakrishnan, A., Shen, L. AlphaGenome enhances personal gene expression prediction but retains key limitations. <em>bioRxiv<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2025.08.05.668750\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2025.08.05.668750<\/a><\/li>\n<li>Sasse, A., Ng, B., Spiro, A.E. et al. Benchmarking of deep neural networks for predicting personal gene expression from DNA sequence highlights shortcomings. <em>Nature Genetics<\/em>, 55, 2060\u20132064 (2023). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-023-01524-6\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-023-01524-6<\/a><\/li>\n<li>Koo, P.K., Majdandzic, A., Ploenzke, M., Anand, P., Paul, S.B. Global importance analysis: An interpretability method to quantify importance of genomic features in deep neural networks. <em>PLoS Computational Biology<\/em>, 17(5), e1008925 (2021). <a class=\"link\" href=\"https:\/\/doi.org\/10.1371\/journal.pcbi.1008925\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1371\/journal.pcbi.1008925<\/a><\/li>\n<li>Toneyan, S., Tang, Z., Koo, P.K. Evaluating deep learning for predicting epigenomic profiles. <em>Nature Machine Intelligence<\/em>, 4, 1088\u20131100 (2022). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s42256-022-00570-9\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s42256-022-00570-9<\/a><\/li>\n<li>Gschwind, A.R. et al. An encyclopedia of enhancer-gene regulatory interactions in the human genome. <em>bioRxiv<\/em> (2023). <a class=\"link\" href=\"https:\/\/doi.org\/10.1101\/2023.11.09.563812\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1101\/2023.11.09.563812<\/a><\/li>\n<li>Cheng, W. et al. DNALONGBENCH: a benchmark suite for long-range DNA prediction tasks. <em>Nature Communications<\/em>, 16, 10108 (2025). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41467-025-65077-4\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41467-025-65077-4<\/a><\/li>\n<li>Barry, T., Wang, X., Morris, J.A. et al. SCEPTRE improves calibration and sensitivity in single-cell CRISPR screen analysis. <em>Genome Biology<\/em>, 22, 344 (2021). <a class=\"link\" href=\"https:\/\/doi.org\/10.1186\/s13059-021-02545-2\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1186\/s13059-021-02545-2<\/a><\/li>\n<\/ol>\n"},{"title":"Benchmarking AlphaGenome on NVIDIA GPUs: latency, memory, and feasibility across sequence lengths","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/","pubDate":"Wed, 15 Apr 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Benchmarking AlphaGenome on NVIDIA GPUs: latency, memory, and feasibility across sequence lengths\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p><a class=\"link\" href=\"https:\/\/deepmind.google\/discover\/blog\/alphagenome-a-foundation-model-for-genome-biology\/\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> pushes genomic modeling to sequence lengths up to <code>1 Mb<\/code>, but practical adoption still comes down to a simple question: what fits on the GPU you actually have, and how long will it take?<\/p>\n<p>This post benchmarks the official JAX implementation and the community PyTorch port across seven NVIDIA GPUs: <code>H200 (141 GB)<\/code>, <code>H100 (80 GB)<\/code>, <code>A100 (80 GB)<\/code>, <code>L40S (48 GB)<\/code>, <code>L40 (48 GB)<\/code>, <code>A40 (48 GB)<\/code>, and <code>RTX 6000 (24 GB)<\/code>. We report inference, heads-only finetuning, and full-weights finetuning on real genomic workloads.<\/p>\n<p>Key takeaways:<\/p>\n<ul>\n<li>Inference up to <code>1 Mb<\/code> is feasible on every tested GPU from <code>48 GB<\/code> upward; <code>1 Mb<\/code> typically requires about <code>35-41 GB<\/code> of peak memory<\/li>\n<li>Heads-only finetuning fits on every tested GPU up to <code>1 Mb<\/code>, making it the accessible adaptation path for most labs<\/li>\n<li>Full-weights finetuning is memory-bound: <code>1 Mb<\/code> is comfortable on <code>H200<\/code>, borderline on <code>H100<\/code>, reaches <code>524 kb<\/code> on <code>80 GB<\/code> cards otherwise, and tops out at <code>262 kb<\/code> on <code>48 GB<\/code> cards<\/li>\n<li>Above about <code>131 kb<\/code>, memory scaling is close to linear for all three workloads<\/li>\n<\/ul>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"overview\">Overview\n<\/h2><p><a class=\"link\" href=\"https:\/\/deepmind.google\/discover\/blog\/alphagenome-a-foundation-model-for-genome-biology\/\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> is a 450-million-parameter foundation model for genome biology released by Google DeepMind. It processes DNA sequences up to <code>1 Mb<\/code> and predicts thousands of genomic tracks, from chromatin accessibility to 3D contact maps, at base-pair resolution. The official implementation is in JAX; a <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >community PyTorch port<\/a> makes the model accessible to the broader PyTorch ecosystem. We are contributors to that PyTorch port.<\/p>\n<p>This post is a community reference: if you want to run AlphaGenome and are trying to figure out what fits on the GPU you have and how long it will take, this is where we share the numbers. We profile both the official JAX path (<code>alphagenome-jax<\/code>) and the community PyTorch port (<code>alphagenome-pytorch<\/code>, running in bf16) across seven NVIDIA GPUs under three workloads: inference, heads-only finetuning, and full-weights finetuning, each on real genomic data.<\/p>\n<p>For background, see two companion posts: <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/\" target=\"_blank\" rel=\"noopener\"\n >Fine-tuning AlphaGenome in native JAX\/Haiku<\/a> (the <code>alphagenome-ft<\/code> community package) and <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/\" target=\"_blank\" rel=\"noopener\"\n >Porting AlphaGenome to PyTorch<\/a> (the PyTorch port benchmarked here). DeepMind released the weights and JAX research code (<a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/alphagenome_research\" target=\"_blank\" rel=\"noopener\"\n ><code>alphagenome_research<\/code><\/a>); the PyTorch port, <code>alphagenome-ft<\/code>, and this benchmarking effort are all community work. Our JAX finetuning runs are built on <code>alphagenome_research<\/code> directly, not through <code>alphagenome-ft<\/code> \u2014 <code>alphagenome-ft<\/code> wraps the same research code and should land on similar performance, but it is a separate package and not what these numbers measure.<\/p>\n\n <blockquote>\n <p><strong>Side note \u2014 what is &ldquo;latency&rdquo;?<\/strong> Throughout this post, <em>latency<\/em> means the wall-clock time for a single compiled model step on the GPU (one forward pass for inference, one forward + backward + optimizer step for finetuning). All latency numbers are reported in milliseconds (<code>ms<\/code>). <em>Peak memory<\/em> is the maximum GPU memory the step ever held, reported in gigabytes (<code>GB<\/code>).<\/p>\n\n <\/blockquote>\n<h2 id=\"motivation\">Motivation\n<\/h2><p>Researchers adapting AlphaGenome to their own tasks face a concrete planning question: &ldquo;my lab has GPU X, what sequence lengths can I run, how long will each iteration take, and how much memory do I need to budget?&rdquo; That question is hard to answer without running the model yourself, and the GPU landscape in academic clusters is diverse. Not every group has access to H200s or even A100s.<\/p>\n<p>We ran controlled, reproducible benchmarks across the GPU tiers most commonly found in academic and cloud environments to make that question easier to answer. Both the official JAX implementation and the community PyTorch port are profiled so that the results are useful regardless of which path a lab is already using. Every number in this post comes from published, tracked benchmark runs that can be reproduced from <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\" target=\"_blank\" rel=\"noopener\"\n >our profiling repository<\/a>.<\/p>\n<h2 id=\"benchmark-setup\">Benchmark Setup\n<\/h2><h3 id=\"models\">Models\n<\/h3><ul>\n<li><code>alphagenome-jax<\/code>: the official DeepMind JAX\/Haiku implementation, compiled with <code>@jax.jit<\/code>. Finetuning uses code adapted from DeepMind&rsquo;s <a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/alphagenome_research\" target=\"_blank\" rel=\"noopener\"\n ><code>alphagenome_research<\/code><\/a> research-code release (the same backbone <code>alphagenome-ft<\/code> is built on), wrapped in a minimal custom training loop for these benchmarks<\/li>\n<li><code>alphagenome-pytorch<\/code>: the community <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >PyTorch port<\/a> from the Kundaje Lab, compiled with <code>torch.compile<\/code> and bf16 autocast; finetuning runs are a straightforward training loop built directly on that implementation<\/li>\n<li><a class=\"link\" href=\"https:\/\/github.com\/calico\/borzoi\" target=\"_blank\" rel=\"noopener\"\n >Borzoi<\/a> is also benchmarked at its supported sequence lengths (<code>262 kb<\/code> and <code>524 kb<\/code>) using <a class=\"link\" href=\"https:\/\/github.com\/johahi\/borzoi-pytorch\" target=\"_blank\" rel=\"noopener\"\n ><code>borzoi-pytorch<\/code><\/a> (pretrained weights <code>johahi\/borzoi-replicate-0<\/code>) \u2014 a third-party community PyTorch reimplementation by Johannes Hingerl (Gagneur lab, TU Munich) \u2014 <strong>not<\/strong> the original Calico TensorFlow release, so that the Borzoi and AlphaGenome-PyTorch numbers share the same framework stack; see <a class=\"link\" href=\"#also-published-borzoi\" >Also published: Borzoi<\/a><\/li>\n<\/ul>\n<h3 id=\"gpus\">GPUs\n<\/h3><p>We test on seven NVIDIA GPUs spanning Turing, Ampere, Ada Lovelace, and Hopper architectures:<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">Memory<\/th>\n\t\t\t\t\t<th>Architecture<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">Compute Capability<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">141 GB<\/td>\n\t\t\t\t\t<td>Hopper<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">9.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">80 GB<\/td>\n\t\t\t\t\t<td>Hopper<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">9.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">80 GB<\/td>\n\t\t\t\t\t<td>Ampere<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">48 GB<\/td>\n\t\t\t\t\t<td>Ada Lovelace<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">48 GB<\/td>\n\t\t\t\t\t<td>Ada Lovelace<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">48 GB<\/td>\n\t\t\t\t\t<td>Ampere<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">24 GB<\/td>\n\t\t\t\t\t<td>Turing<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.5<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>Most benchmarks run on the University of Washington Hyak cluster; the H100 runs were collected on Stanford&rsquo;s Marlowe cluster. Full hardware and software details are recorded in the profiling repo&rsquo;s <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\/tree\/main\/published\/platforms\" target=\"_blank\" rel=\"noopener\"\n >platform JSON descriptors<\/a>.<\/p>\n<h3 id=\"methodology\">Methodology\n<\/h3><ul>\n<li>Batch size: <code>1<\/code><\/li>\n<li>Warmup: <code>3<\/code> iterations, discarded<\/li>\n<li>Timed: <code>10<\/code> iterations, median latency reported<\/li>\n<li>Sequence lengths: <code>4 kb<\/code>, <code>8 kb<\/code>, <code>16 kb<\/code>, <code>32 kb<\/code>, <code>65 kb<\/code>, <code>131 kb<\/code>, <code>262 kb<\/code>, <code>524 kb<\/code>, and <code>1 Mb<\/code><\/li>\n<li>Inference input: random one-hot DNA<\/li>\n<li>Finetuning input: real <code>GM12878<\/code> matched-ATAC data, using a single ATAC-seq track, in both heads-only and full-weights modes<\/li>\n<\/ul>\n<p>Both implementations include full prediction heads in the timed path so that the numbers reflect end-to-end model cost. The exact alignment between the two is documented in our <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\/blob\/main\/docs\/alphagenome_jax_vs_pytorch.md\" target=\"_blank\" rel=\"noopener\"\n >apples-to-apples audit<\/a>.<\/p>\n<h2 id=\"inference\">Inference\n<\/h2><p>Inference is the simplest workload: a single compiled forward pass through the full model including prediction heads, with no gradient computation.<\/p>\n<h3 id=\"latency\">Latency\n<\/h3><p>At <code>1 Mb<\/code>, inference latency spans roughly an order of magnitude across the tested GPUs, from about <code>200 ms<\/code> on <code>H200<\/code> to about <code>1.3-1.5 s<\/code> on <code>A40<\/code>, with <code>RTX 6000<\/code> unable to fit the full <code>1 Mb<\/code> context. Scaling with sequence length is close to linear above about <code>131 kb<\/code>: doubling the context roughly doubles latency. The two implementations produce similar numbers on most GPUs, with the JAX path running a bit faster on Hopper-class hardware; at shorter contexts (<code>&lt;=65 kb<\/code>) the two paths are close to interchangeable.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">131 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">1 Mb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">26.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">46.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">91.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">197.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">33.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">62.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">126.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">260.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">30.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">51.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">99.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">217.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">37.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">68.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">136.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">286.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">83.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">152.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">297.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">681.1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">87.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">168.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">336.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">709.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">89.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">169.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">369.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">868.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">104.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">209.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">432.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">922.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">113.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">212.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">453.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1040.1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">127.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">258.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">531.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1151.3<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">158.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">298.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">601.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1326.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">179.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">339.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">704.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1493.4<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1153.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">2298.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4742.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are median latency in <strong>milliseconds (<code>ms<\/code>)<\/strong>; lower is better. Em-dash (\u2014) marks configurations that ran out of memory.<\/em><\/p>\n<p>The RTX 6000 is a special case: JAX bf16 is not supported on Turing (<code>compute capability 7.5<\/code>), so only the PyTorch path runs there. It is also the only tested card that cannot reach <code>1 Mb<\/code> inference.<\/p>\n<h3 id=\"peak-gpu-memory\">Peak GPU memory\n<\/h3><p>Inference memory is dominated by activations and scales close to linearly with sequence length above about <code>131 kb<\/code>: doubling the context roughly doubles peak memory. At <code>1 Mb<\/code>, inference fits in about <code>35-41 GB<\/code> depending on the implementation, which is what makes <code>1 Mb<\/code> inference feasible on every <code>48 GB<\/code>-and-up card we tested. Below <code>131 kb<\/code>, the PyTorch path has the smaller footprint; above <code>262 kb<\/code>, the JAX path runs a bit leaner.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">131 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">1 Mb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">34.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">34.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">36.1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">35.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">35.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">35.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">12.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are peak GPU memory in <strong>gigabytes (<code>GB<\/code>)<\/strong>; lower is better. Em-dash (\u2014) marks configurations that ran out of memory.<\/em><\/p>\n<p>Peak memory at a given sequence length is nearly identical across GPUs for the same implementation, which means the memory column of this table is a reasonable estimate for untested GPUs too.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/cross_gpu_scaling.png\" class=\"image-link\" data-pswp-width=\"5039\" data-pswp-height=\"2329\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/cross_gpu_scaling.png.optimized.webp\" width=\"1100px\" height=\"508\"loading=\"lazy\"\n\t\t\talt=\"Cross-GPU inference and finetuning scaling\"\n\t\t\tdata-title-escaped=\"Cross-GPU AlphaGenome benchmarking summary including inference, heads-only finetuning, and full-weights finetuning across H200, H100, A100, L40S, L40, A40, and RTX 6000.\">\n\t\t<\/a><figcaption>Cross-GPU AlphaGenome benchmarking summary including inference, heads-only finetuning, and full-weights finetuning across H200, H100, A100, L40S, L40, A40, and RTX 6000.<\/figcaption><\/figure><h2 id=\"heads-only-finetuning\">Heads-Only Finetuning\n<\/h2><p>Heads-only finetuning freezes the AlphaGenome backbone and trains only the task-specific prediction head. This is the most memory-efficient way to adapt the model and is practical on every GPU we tested, up to the full <code>1 Mb<\/code> context.<\/p>\n<p>All finetuning benchmarks use a single <code>GM12878<\/code> ATAC-seq track as the training target, a realistic setting for labs working with a specific assay in a specific cell type.<\/p>\n<h3 id=\"latency-1\">Latency\n<\/h3><p>Heads-only iterations are a little cheaper than a full inference pass: the backbone runs only forward, and only the prediction-head gradients are computed. At <code>1 Mb<\/code>, expect roughly <code>160-205 ms<\/code> on <code>H200<\/code>, <code>180-224 ms<\/code> on <code>H100<\/code>, about <code>560 ms<\/code> on <code>A100<\/code>, <code>700-1200 ms<\/code> on the <code>48 GB<\/code> cards, and about <code>4.8 s<\/code> on <code>RTX 6000<\/code> at <code>524 kb<\/code>. The two implementations sit within a narrow band on most GPUs.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">131 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">1 Mb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">34.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">72.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">160.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">26.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">48.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">94.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">204.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">20.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">37.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">78.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">180.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">29.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">53.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">105.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">223.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">63.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">125.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">253.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">560.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">67.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">127.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">253.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">565.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">69.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">139.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">309.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">760.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">75.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">149.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">312.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">684.1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">86.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">175.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">379.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">899.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">91.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">183.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">382.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">839.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">126.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">243.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">514.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1155.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">133.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">253.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">512.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1167.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1138.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">2317.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4789.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are median per-step latency in <strong>milliseconds (<code>ms<\/code>)<\/strong>, measured as a single forward + backward + optimizer step on the prediction head; lower is better.<\/em><\/p>\n<h3 id=\"peak-gpu-memory-1\">Peak GPU memory\n<\/h3><p>Heads-only is by far the lightest finetuning mode. <code>1 Mb<\/code> peaks at about <code>14-27 GB<\/code> depending on implementation and GPU, so every card we tested, down to the <code>24 GB<\/code> RTX 6000 at <code>524 kb<\/code>, has headroom for this workload.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">131 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">1 Mb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">17.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">9.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">16.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">5.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">26.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">9.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">16.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">9.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">16.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">20.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">8.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">14.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">6.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are peak GPU memory in <strong>gigabytes (<code>GB<\/code>)<\/strong> during a heads-only training step.<\/em><\/p>\n<h2 id=\"full-weights-finetuning\">Full-Weights Finetuning\n<\/h2><p>Full-weights finetuning updates all <code>450 million<\/code> parameters. This gives the model more capacity to adapt but comes at a steep memory cost: gradients and optimizer states for the entire backbone must fit in GPU memory.<\/p>\n<h3 id=\"latency-2\">Latency\n<\/h3><p>Full-weights iterations are the most expensive workload. The missing entries in the table are as important as the numbers because they mark where each <code>(GPU, implementation)<\/code> pair runs out of memory.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">131 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">1 Mb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">62.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">110.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">229.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">527.8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">86.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">145.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">286.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">587.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">66.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">119.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">241.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">578.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">98.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">169.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">337.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">213.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">418.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">852.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">210.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">378.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">773.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">220.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">444.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">291.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">543.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">272.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">573.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">342.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">644.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">404.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">793.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">467.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">853.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are median per-step latency in <strong>milliseconds (<code>ms<\/code>)<\/strong> for a full forward + backward + optimizer step over all 450M parameters. Em-dash (\u2014) marks <code>(GPU, implementation)<\/code> pairs that ran out of memory.<\/em><\/p>\n<p>The practical feasibility picture is simple: <code>48 GB<\/code> GPUs top out at <code>262 kb<\/code> for full-weights finetuning, <code>80 GB<\/code> cards reach <code>524 kb<\/code>, and <code>1 Mb<\/code> requires either <code>H200<\/code> or an <code>H100<\/code> using the JAX path.<\/p>\n<h3 id=\"peak-gpu-memory-2\">Peak GPU memory\n<\/h3><p>Full-weights peak memory roughly doubles with each doubling of sequence length above about <code>131 kb<\/code>, mirroring the latency pattern. At <code>1 Mb<\/code>, expect about <code>76-89 GB<\/code> of peak memory.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">131 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">1 Mb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">12.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">19.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">38.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">86.5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">89.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">12.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">19.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">39.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">76.1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">20.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">40.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">12.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">19.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">12.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">20.2<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">13.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are peak GPU memory in <strong>gigabytes (<code>GB<\/code>)<\/strong> during a full-weights training step. Em-dash (\u2014) marks <code>(GPU, implementation)<\/code> pairs that ran out of memory.<\/em><\/p>\n<p>In short, full-weights finetuning of AlphaGenome at <code>1 Mb<\/code> is a Hopper-class workload today, and even there the <code>80 GB<\/code> tier is on the margin.<\/p>\n<h2 id=\"what-fits-on-each-gpu\">What Fits on Each GPU\n<\/h2><table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Inference<\/th>\n\t\t\t\t\t<th>Heads-only finetune<\/th>\n\t\t\t\t\t<th>Full-weights finetune<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb (JAX only) \/ 524 kb (PyTorch)<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>524 kb<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>262 kb<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>262 kb<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>1 Mb<\/td>\n\t\t\t\t\t<td>262 kb<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>524 kb (PyTorch only)<\/td>\n\t\t\t\t\t<td>524 kb (PyTorch only)<\/td>\n\t\t\t\t\t<td>not tested<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p>A few practical notes:<\/p>\n<ul>\n<li>Inference and heads-only finetuning are broadly accessible. Every card from <code>48 GB<\/code> upward runs both at the full <code>1 Mb<\/code> context; even the <code>24 GB<\/code> RTX 6000 reaches <code>524 kb<\/code><\/li>\n<li>Full-weights finetune is the memory bottleneck. If your task calls for full-weights updates and long contexts, plan for <code>H200<\/code> access or stay at <code>&lt;=524 kb<\/code><\/li>\n<li>On RTX 6000 and other Turing-class cards, JAX bf16 is not supported, so only the PyTorch path runs<\/li>\n<li>For most workflow decisions, ecosystem familiarity and training-infrastructure fit matter more than modest latency differences<\/li>\n<\/ul>\n<h3 id=\"also-published-borzoi\">Also published: Borzoi\n<\/h3><p>The same benchmark harness also profiles <a class=\"link\" href=\"https:\/\/github.com\/calico\/borzoi\" target=\"_blank\" rel=\"noopener\"\n >Borzoi<\/a> (via the third-party <a class=\"link\" href=\"https:\/\/github.com\/johahi\/borzoi-pytorch\" target=\"_blank\" rel=\"noopener\"\n ><code>borzoi-pytorch<\/code><\/a> community port by Johannes Hingerl) at its supported <code>262 kb<\/code> and <code>524 kb<\/code> contexts. Borzoi is a useful reference because it is a much smaller model (~135M parameters vs AlphaGenome&rsquo;s 450M), so it helps calibrate how much of the AlphaGenome latency is &ldquo;foundation-model size&rdquo; rather than anything implementation-specific.<\/p>\n<p>The figure below compares <code>borzoi-pytorch<\/code> inference against both AlphaGenome implementations across the seven GPU classes at Borzoi&rsquo;s two supported sequence lengths. RTX 6000 is omitted from the plot because AG-JAX does not run on Turing and the AG-PyTorch fp32-fallback latency (~2-5 s) would compress every other bar into illegibility; its Borzoi\/AG-PyTorch numbers remain in the tables below.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/borzoi_vs_alphagenome.png\" class=\"image-link\" data-pswp-width=\"3849\" data-pswp-height=\"2210\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/borzoi_vs_alphagenome.png.optimized.webp\" width=\"1000px\" height=\"574\"loading=\"lazy\"\n\t\t\talt=\"Borzoi vs AlphaGenome inference comparison\"\n\t\t\tdata-title-escaped=\"Grouped-bar comparison of Borzoi, AlphaGenome JAX, and AlphaGenome PyTorch bf16 on inference latency and peak GPU memory at 262 kb and 524 kb across H200, H100, A100, L40S, L40, and A40. Borzoi bars are consistently the shortest in both latency and memory panels.\">\n\t\t<\/a><figcaption>Grouped-bar comparison of Borzoi, AlphaGenome JAX, and AlphaGenome PyTorch bf16 on inference latency and peak GPU memory at 262 kb and 524 kb across H200, H100, A100, L40S, L40, and A40. Borzoi bars are consistently the shortest in both latency and memory panels.<\/figcaption><\/figure><p>The tables below give the same numbers in detail, using the same GPU + Framework row layout as the earlier inference tables.<\/p>\n<h4 id=\"inference-latency\">Inference latency\n<\/h4><table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">16.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">33.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">46.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">91.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">62.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">126.1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">17.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">38.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">51.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">99.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">68.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">136.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">36.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">79.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">152.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">297.3<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">168.0<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">336.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">36.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">90.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">169.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">369.3<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">209.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">432.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">41.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">99.4<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">212.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">453.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">258.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">531.6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">64.1<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">144.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">298.7<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">601.7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">339.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">704.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">87.8<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">2298.6<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">4742.9<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are median latency in <strong>milliseconds (<code>ms<\/code>)<\/strong>; lower is better. Em-dash (\u2014) marks configurations that did not run: AG-JAX bf16 is unsupported on Turing, and <code>524 kb<\/code> Borzoi on RTX 6000 was not collected.<\/em><\/p>\n<h4 id=\"inference-peak-memory\">Inference peak memory\n<\/h4><table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>GPU<\/th>\n\t\t\t\t\t<th>Framework<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">262 kb<\/th>\n\t\t\t\t\t<th style=\"text-align: right\">524 kb<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H200 141 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>H100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A100 80 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40S 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.5<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>L40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">3.0<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">10.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">18.9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>A40 48 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">11.4<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">21.2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>borzoi-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">1.9<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-jax<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">\u2014<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>RTX 6000 24 GB<\/td>\n\t\t\t\t\t<td>alphagenome-pytorch<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">7.3<\/td>\n\t\t\t\t\t<td style=\"text-align: right\">12.5<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<p><em>Values are peak GPU memory in <strong>gigabytes (<code>GB<\/code>)<\/strong>; lower is better.<\/em><\/p>\n<p>Borzoi inference runs roughly <code>3-5\u00d7<\/code> faster than AlphaGenome at the same sequence length and fits in a small fraction of the memory, which is expected given the ~3\u00d7 parameter-count gap (Borzoi ~135M vs AlphaGenome 450M) and the different architectural choices. The gap widens on older GPUs (<code>4-5\u00d7<\/code> on Ampere\/Ada) and narrows on Hopper (<code>2.6-2.9\u00d7<\/code>), suggesting AlphaGenome benefits more from the newer hardware&rsquo;s memory bandwidth and tensor-core throughput than Borzoi does. Full Borzoi inference, heads-only finetune, and full-weights finetune numbers are available in the <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\/tree\/main\/published\/data\" target=\"_blank\" rel=\"noopener\"\n >published CSVs<\/a> for readers who want a second reference model at these sequence lengths.<\/p>\n<h2 id=\"limitations\">Limitations\n<\/h2><p>A few caveats worth flagging explicitly:<\/p>\n<ul>\n<li><strong>No TPU results.<\/strong> The JAX path is designed to run on TPUs and would likely see further speed and memory improvements there; we benchmark NVIDIA GPUs only because that is what the academic labs in our network actually have. If you do have TPU access, the numbers here should be read as a lower bound on what JAX can deliver<\/li>\n<li><strong><code>batch_size=1<\/code> only.<\/strong> We did not sweep batch sizes larger than one. On <code>H100<\/code> and <code>H200<\/code>, there is likely headroom for <code>batch_size&gt;1<\/code> at shorter contexts; sweeping batch size on Hopper-class hardware is on our follow-up list<\/li>\n<li><strong>Single workload per mode.<\/strong> We report one inference workload and one finetune workload (matched-ATAC, <code>GM12878<\/code>); results may vary with other datasets or multi-track heads<\/li>\n<li><strong>Borzoi is the PyTorch port<\/strong>, not the original TF release; numbers from the TF implementation on the same GPUs may differ<\/li>\n<\/ul>\n<h2 id=\"resources\">Resources\n<\/h2><ul>\n<li>Profiling repository: <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\" target=\"_blank\" rel=\"noopener\"\n >github.com\/XinmingTu\/genomic-model-profiling<\/a><\/li>\n<li>Published CSV data: <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\/tree\/main\/published\/data\" target=\"_blank\" rel=\"noopener\"\n ><code>published\/data\/<\/code><\/a><\/li>\n<li>Platform metadata: <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\/tree\/main\/published\/platforms\" target=\"_blank\" rel=\"noopener\"\n ><code>published\/platforms\/<\/code><\/a><\/li>\n<li>Apples-to-apples audit: <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\/blob\/main\/docs\/alphagenome_jax_vs_pytorch.md\" target=\"_blank\" rel=\"noopener\"\n ><code>docs\/alphagenome_jax_vs_pytorch.md<\/code><\/a><\/li>\n<li>AlphaGenome PyTorch port: <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >github.com\/genomicsxai\/alphagenome-pytorch<\/a><\/li>\n<li>AlphaGenome official announcement: <a class=\"link\" href=\"https:\/\/deepmind.google\/discover\/blog\/alphagenome-a-foundation-model-for-genome-biology\/\" target=\"_blank\" rel=\"noopener\"\n >Google DeepMind blog post<\/a><\/li>\n<\/ul>\n<h2 id=\"acknowledgements\">Acknowledgements\n<\/h2><p>Thanks to the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/\" target=\"_blank\" rel=\"noopener\"\n >Genomics x AI<\/a> community and the Kundaje Lab at Stanford, where the AlphaGenome PyTorch port is developed. Benchmarks were run on the University of Washington Hyak cluster and Stanford&rsquo;s Marlowe cluster (<code>H100<\/code>).<\/p>\n<hr>\n<p><em>Benchmarks were collected April 6-14, 2026. Numbers reflect <code>batch_size=1<\/code>, median of <code>10<\/code> timed iterations after <code>3<\/code> warmup passes. Finetuning uses a single <code>GM12878<\/code> ATAC-seq track. Full methodology and reproducibility instructions are in the <a class=\"link\" href=\"https:\/\/github.com\/XinmingTu\/genomic-model-profiling\" target=\"_blank\" rel=\"noopener\"\n >profiling repository<\/a>.<\/em><\/p>\n"},{"title":"Porting AlphaGenome to PyTorch","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/","pubDate":"Tue, 10 Mar 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Porting AlphaGenome to PyTorch\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>This post introduces <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >alphagenome-pytorch<\/a>, a faithful port of Google DeepMind&rsquo;s AlphaGenome model to PyTorch.<\/p>\n<p>We reproduce the full AlphaGenome architecture in PyTorch and release weights for fold-specific and distilled models. We also verify numerical equivalence of predictions across all output tracks with the original JAX checkpoint from DeepMind. Our package exposes a simple inference API that slots into any PyTorch project without requiring JAX, XLA, or TPU-specific tooling.<\/p>\n<p>In this post, we review the initial release for the package and walk through two use cases it enables:<\/p>\n<ol>\n<li>Inference within existing PyTorch pipelines, which allows for genome-wide inference across tracks<\/li>\n<li>Variant effect prediction and in silico mutagenesis (ISM)<\/li>\n<\/ol>\n<p><strong>Contributions<\/strong>:<\/p>\n<ul>\n<li>Initial Development Team: Danila Bredikhin (Lead), Martin Kjellberg, Christopher Zou<\/li>\n<li>Finetuning and Validation: Danila Bredikhin, Alejandro Buendia, Xinming Tu<\/li>\n<li>Blog Post: Alejandro Buendia, Danila Bredikhin<\/li>\n<\/ul>\n<p><strong>Code<\/strong>:\n<a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >alphagenome-pytorch<\/a><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"overview\">Overview\n<\/h2><p>Understanding how changes in DNA impact genomic activity and affect the complex machinery of gene regulation has been a grand challenge in genomics. Google DeepMind&rsquo;s <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> represents a major step forward: by taking in DNA sequences of up to one million base pairs, it predicts at single base-pair resolution hundreds of genomic tracks across diverse cell types and conditions. With both the <a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/alphagenome_research\" target=\"_blank\" rel=\"noopener\"\n >model code<\/a> and <a class=\"link\" href=\"https:\/\/www.kaggle.com\/models\/google\/alphagenome\" target=\"_blank\" rel=\"noopener\"\n >pretrained weights<\/a> publicly released, the genomics community now has a powerful foundation to build on.<\/p>\n<p>The original AlphaGenome model is implemented in <a class=\"link\" href=\"https:\/\/github.com\/jax-ml\/jax\" target=\"_blank\" rel=\"noopener\"\n >JAX<\/a>, a high-performance framework for numerical computing and deep learning. Here we present a port of AlphaGenome to PyTorch. We strived to make our implementation an accessible, readable, and hackable port of the model for the wider community to build on and adapt for their unique use cases. We also enable workflows to finetune the model on new datasets and cell types using custom data, and offer an early version of finetuning functionality in this release.<\/p>\n<hr>\n<h2 id=\"getting-started\">Getting Started\n<\/h2><p>Using AlphaGenome in PyTorch is straightforward. The package can be installed from PyPI as:<\/p>\n<div class=\"code-block\" data-lang=\"bash\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-bash\" data-lang=\"bash\"><span class=\"line\"><span class=\"cl\">pip install alphagenome-pytorch<\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Here we show how to load the model from weights hosted on <a class=\"link\" href=\"https:\/\/huggingface.co\/gtca\/alphagenome_pytorch\" target=\"_blank\" rel=\"noopener\"\n >Hugging Face<\/a>, and then run inference on a DNA sequence:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_pytorch<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">AlphaGenome<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_pytorch.utils.sequence<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">sequence_to_onehot_tensor<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">huggingface_hub<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">hf_hub_download<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">pyfaidx<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">hf_hub_download<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s2\">&#34;gtca\/alphagenome_pytorch&#34;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s2\">&#34;model_all_folds.safetensors&#34;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">local_dir<\/span><span class=\"o\">=<\/span><span class=\"s2\">&#34;.&#34;<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span> <span class=\"o\">=<\/span> <span class=\"n\">AlphaGenome<\/span><span class=\"o\">.<\/span><span class=\"n\">from_pretrained<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;model_all_folds.safetensors&#34;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"k\">with<\/span> <span class=\"n\">pyfaidx<\/span><span class=\"o\">.<\/span><span class=\"n\">Fasta<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;hg38.fa&#34;<\/span><span class=\"p\">)<\/span> <span class=\"k\">as<\/span> <span class=\"n\">genome<\/span><span class=\"p\">:<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">sequence<\/span> <span class=\"o\">=<\/span> <span class=\"nb\">str<\/span><span class=\"p\">(<\/span><span class=\"n\">genome<\/span><span class=\"p\">[<\/span><span class=\"s2\">&#34;chr1&#34;<\/span><span class=\"p\">][<\/span><span class=\"mi\">1_000_000<\/span><span class=\"p\">:<\/span><span class=\"mi\">1_131_072<\/span><span class=\"p\">])<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">dna_onehot<\/span> <span class=\"o\">=<\/span> <span class=\"n\">sequence_to_onehot_tensor<\/span><span class=\"p\">(<\/span><span class=\"n\">sequence<\/span><span class=\"p\">)<\/span><span class=\"o\">.<\/span><span class=\"n\">unsqueeze<\/span><span class=\"p\">(<\/span><span class=\"mi\">0<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">preds<\/span> <span class=\"o\">=<\/span> <span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">predict<\/span><span class=\"p\">(<\/span><span class=\"n\">dna_onehot<\/span><span class=\"p\">,<\/span> <span class=\"n\">organism_index<\/span><span class=\"o\">=<\/span><span class=\"mi\">0<\/span><span class=\"p\">)<\/span> <span class=\"c1\"># 0=human, 1=mouse<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Access predictions (batch, sequence, tracks) by head name and resolution:<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># - preds[&#39;atac&#39;][1]: 1bp resolution, shape (1, 131072, 256)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># - preds[&#39;atac&#39;][128]: 128bp resolution, shape (1, 1024, 256)<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>The model accepts sequences of up to 1,048,576 base pairs (1 Mb) and returns predictions at single nucleotide and 128 bp resolutions for the genomic tracks it was trained on.<\/p>\n<hr>\n<h2 id=\"numerical-equivalence-with-jax\">Numerical Equivalence with JAX\n<\/h2><p><strong>Our PyTorch port is numerically on par with the original implementation in JAX.<\/strong><\/p>\n<p>Small implementation differences can silently change scientific conclusions. Hence we strived to ensure our implementation has close numerical equivalence with the JAX model. We added tests for numerical equivalence of the outputs of individual model heads and full forward and backward passes through the model, gradients, and loss values.<\/p>\n<p>We verified equivalence at multiple levels:<\/p>\n<ul>\n<li>Layer-by-layer outputs: Each convolutional block, attention mechanism, and transformer layer produces outputs within numerical precision (less than <code>1e-5<\/code> relative error) of the JAX implementation<\/li>\n<li>Full forward pass: End-to-end predictions across all genomic tracks match within floating-point precision<\/li>\n<li>Gradient computations: Backpropagation yields equivalent gradients, ensuring training dynamics remain faithful to the original implementation<\/li>\n<li>Loss values: Multinomial loss computes identically on the same inputs<\/li>\n<\/ul>\n<p>We converted the pretrained weights directly from the <a class=\"link\" href=\"https:\/\/www.kaggle.com\/models\/google\/alphagenome\" target=\"_blank\" rel=\"noopener\"\n >released checkpoints<\/a> so that it is easy to start working with the model with a single <code>from_pretrained()<\/code> call.<\/p>\n<p>To demonstrate parity of our implementation with DeepMind&rsquo;s model, we show predicted tracks in the HepG2 cell line from a 1 Mb held-out region of chromosome 19, examined in Figure 2a of the original <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >paper<\/a>:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/hepg2_pred_tracks.png\" class=\"image-link\" data-pswp-width=\"2076\" data-pswp-height=\"1680\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/hepg2_pred_tracks.png.optimized.webp\" width=\"600px\" height=\"485\"loading=\"lazy\"\n\t\t\talt=\"Predicted tracks for HepG2 in chr19 (Figure 2a)\"\n\t\t\tdata-title-escaped=\"alphagenome-pytorch predictions show high concordance with JAX predictions across RNA-seq, ATAC, DNase, H3K27ac, and CTCF tracks in the HepG2 cell line.\">\n\t\t<\/a><figcaption>alphagenome-pytorch predictions show high concordance with JAX predictions across RNA-seq, ATAC, DNase, H3K27ac, and CTCF tracks in the HepG2 cell line.<\/figcaption><\/figure><p>Predicted contact maps for this region also show high concordance when comparing the two implementations (Pearson r = 0.9999):<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/hepg2_pred_cmaps.png\" class=\"image-link\" data-pswp-width=\"2024\" data-pswp-height=\"917\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/hepg2_pred_cmaps.png.optimized.webp\" width=\"600px\" height=\"271\"loading=\"lazy\"\n\t\t\talt=\"Predicted contact maps for HepG2 in chr19 (Figure 2a)\"\n\t\t\tdata-title-escaped=\"alphagenome-pytorch predictions show high concordance with JAX predictions for contact maps in the HepG2 cell line.\">\n\t\t<\/a><figcaption>alphagenome-pytorch predictions show high concordance with JAX predictions for contact maps in the HepG2 cell line.<\/figcaption><\/figure><h2 id=\"what-can-you-do-with-this\">What Can You Do With This?\n<\/h2><p>Beyond drop-in replacement for the JAX implementation, our PyTorch version opens up several possibilities:<\/p>\n<ul>\n<li>Integration with PyTorch Ecosystems: Seamlessly combine AlphaGenome with other PyTorch-based tools and frameworks.<\/li>\n<li>Variant Effect Prediction: Compute the impact of genetic variants by running inference on reference and alternate sequences, and then compare the predicted genomic tracks. This is particularly powerful for understanding disease-associated variants.<\/li>\n<li>In Silico Mutagenesis (ISM): Systematically mutate sequences to identify important regulatory elements and understand sequence grammar.<\/li>\n<li>Finetuning on Custom Data: Perhaps most excitingly, you can adapt the model to your specific cell types, conditions, and even different species. We provide utilities for finetuning with your own genomic assay data.<\/li>\n<\/ul>\n<p>In an upcoming post, we&rsquo;ll dive deeper into different finetuning strategies implemented in the package, including data preparation, training best practices, and evaluation metrics to ensure that your adapted model performs well for specific use cases.<\/p>\n<h2 id=\"predicting-variant-effects-and-in-silico-mutagenesis\">Predicting Variant Effects and In Silico Mutagenesis\n<\/h2><p>Variant effect prediction is a key utility of AlphaGenome that enables interrogation of variants and their impact on disease states. We expose a simple API for predicting variant effects:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_pytorch.variant_scoring<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">VariantScoringModel<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Using previously defined AlphaGenome object<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">scoring_model<\/span> <span class=\"o\">=<\/span> <span class=\"n\">VariantScoringModel<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">model<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">fasta_path<\/span><span class=\"o\">=<\/span><span class=\"n\">FASTA_PATH<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">gtf_path<\/span><span class=\"o\">=<\/span><span class=\"n\">GTF_PATH<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">polya_path<\/span><span class=\"o\">=<\/span><span class=\"n\">POLYA_PATH<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">default_organism<\/span><span class=\"o\">=<\/span><span class=\"s1\">&#39;human&#39;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">ref_outputs<\/span><span class=\"p\">,<\/span> <span class=\"n\">alt_outputs<\/span> <span class=\"o\">=<\/span> <span class=\"n\">scoring_model<\/span><span class=\"o\">.<\/span><span class=\"n\">predict_variant<\/span><span class=\"p\">(<\/span><span class=\"n\">interval<\/span><span class=\"p\">,<\/span> <span class=\"n\">variant<\/span><span class=\"p\">,<\/span> <span class=\"n\">to_cpu<\/span><span class=\"o\">=<\/span><span class=\"kc\">True<\/span><span class=\"p\">)<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>To demonstrate functionality around variant analysis, we give an example of variant effect prediction and ISM for a variant impacting the TAL1 gene, examined in Figure 6 of the original paper. This variant is an oncogenic insertion impacting CD34+ common myeloid progenitors (the closest cell line in the model&rsquo;s training set to the T-ALL cell of origin). We show that alphagenome-pytorch recapitulates the difference between predicted tracks of the alternate and reference sequences for the variant with high accuracy:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/cmp_pred_tracks.png\" class=\"image-link\" data-pswp-width=\"2173\" data-pswp-height=\"2206\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/cmp_pred_tracks.png.optimized.webp\" width=\"600px\" height=\"609\"loading=\"lazy\"\n\t\t\talt=\"Predicted alternate versus reference sequence for CD34&#43; common myeloid progenitors (CMPs) in chr1 (Figure 6b)\"\n\t\t\tdata-title-escaped=\"alphagenome-pytorch predictions show high concordance with JAX predictions when computing the difference in alt and ref sequences in CD34&#43; CMPs.\">\n\t\t<\/a><figcaption>alphagenome-pytorch predictions show high concordance with JAX predictions when computing the difference in alt and ref sequences in CD34+ CMPs.<\/figcaption><\/figure><p>Our port also correctly reproduces in silico mutagenesis (ISM). We implement a simple API for running ISM:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_pytorch.variant_scoring<\/span> <span class=\"kn\">import<\/span> <span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CenterMaskScorer<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">AggregationType<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">GeneMaskLFCScorer<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Using previously defined AlphaGenome and VariantScoringModel objects<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">ism_scorers<\/span> <span class=\"o\">=<\/span> <span class=\"p\">[<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CenterMaskScorer<\/span><span class=\"p\">(<\/span><span class=\"n\">OutputType<\/span><span class=\"o\">.<\/span><span class=\"n\">DNASE<\/span><span class=\"p\">,<\/span> <span class=\"mi\">501<\/span><span class=\"p\">,<\/span> <span class=\"n\">AggregationType<\/span><span class=\"o\">.<\/span><span class=\"n\">DIFF_LOG2_SUM<\/span><span class=\"p\">),<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CenterMaskScorer<\/span><span class=\"p\">(<\/span><span class=\"n\">OutputType<\/span><span class=\"o\">.<\/span><span class=\"n\">CHIP_HISTONE<\/span><span class=\"p\">,<\/span> <span class=\"mi\">2001<\/span><span class=\"p\">,<\/span> <span class=\"n\">AggregationType<\/span><span class=\"o\">.<\/span><span class=\"n\">DIFF_LOG2_SUM<\/span><span class=\"p\">),<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">GeneMaskLFCScorer<\/span><span class=\"p\">(<\/span><span class=\"n\">OutputType<\/span><span class=\"o\">.<\/span><span class=\"n\">RNA_SEQ<\/span><span class=\"p\">),<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">]<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"nb\">print<\/span><span class=\"p\">(<\/span><span class=\"s1\">&#39;Running ISM...&#39;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">ism_result<\/span> <span class=\"o\">=<\/span> <span class=\"n\">scoring_model<\/span><span class=\"o\">.<\/span><span class=\"n\">score_ism_variants<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">interval<\/span><span class=\"o\">=<\/span><span class=\"n\">interval<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">center_position<\/span><span class=\"o\">=<\/span><span class=\"n\">variant<\/span><span class=\"o\">.<\/span><span class=\"n\">position<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">scorers<\/span><span class=\"o\">=<\/span><span class=\"n\">ism_scorers<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">window_size<\/span><span class=\"o\">=<\/span><span class=\"n\">WINDOW_SIZE<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">to_cpu<\/span><span class=\"o\">=<\/span><span class=\"kc\">True<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">progress<\/span><span class=\"o\">=<\/span><span class=\"kc\">True<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Results from running ISM at this locus show close agreement when compared against ISM computed using the original JAX checkpoint:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/cmp_ism_torch.png\" class=\"image-link\" data-pswp-width=\"1413\" data-pswp-height=\"1055\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/cmp_ism_torch.png.optimized.webp\" width=\"600px\" height=\"447\"loading=\"lazy\"\n\t\t\talt=\"In silico mutagenesis for chr1:47239296:C&gt;ACG in PyTorch (Figure 6e)\"\n\t\t\t>\n\t\t<\/a><figcaption>In silico mutagenesis for chr1:47239296:C&gt;ACG in PyTorch (Figure 6e)<\/figcaption><\/figure>\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/cmp_ism_jax.png\" class=\"image-link\" data-pswp-width=\"1413\" data-pswp-height=\"1055\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-004\/cmp_ism_jax.png.optimized.webp\" width=\"600px\" height=\"447\"loading=\"lazy\"\n\t\t\talt=\"In silico mutagenesis for chr1:47239296:C&gt;ACG in JAX (Figure 6e)\"\n\t\t\t>\n\t\t<\/a><figcaption>In silico mutagenesis for chr1:47239296:C&gt;ACG in JAX (Figure 6e)<\/figcaption><\/figure><hr>\n<h2 id=\"code-and-tutorials\">Code and Tutorials\n<\/h2><p>The code is available on <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >GitHub<\/a> with detailed <a class=\"link\" href=\"https:\/\/alphagenome-pytorch.readthedocs.io\/en\/latest\/index.html\" target=\"_blank\" rel=\"noopener\"\n >documentation<\/a> and <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\/tree\/main\/examples\/notebooks\" target=\"_blank\" rel=\"noopener\"\n >example notebooks<\/a> to help you get started with this implementation. This is naturally a work in progress: we&rsquo;re actively developing new features, improving code and performance, and working on new examples. We welcome contributions, feedback, bug reports, and stories of how this implementation has helped your research!<\/p>\n<ul>\n<li><a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\" target=\"_blank\" rel=\"noopener\"\n >Source Code &amp; Utilities<\/a><\/li>\n<li><a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome-pytorch\/tree\/main\/examples\/notebooks\" target=\"_blank\" rel=\"noopener\"\n >Tutorial Notebooks<\/a><\/li>\n<li><a class=\"link\" href=\"https:\/\/alphagenome-pytorch.readthedocs.io\/en\/latest\/index.html\" target=\"_blank\" rel=\"noopener\"\n >Documentation<\/a><\/li>\n<\/ul>\n<hr>\n<h2 id=\"license\">License\n<\/h2><p>This project is a port of the <a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/alphagenome_research\" target=\"_blank\" rel=\"noopener\"\n >google-deepmind\/alphagenome_research<\/a> repository licensed under the Apache License, Version 2.0:<\/p>\n\n <blockquote>\n <p>Copyright 2026 Google LLC<\/p>\n\n <\/blockquote>\n<p>The model parameters, output, and any derivatives thereof remain subject to <a class=\"link\" href=\"https:\/\/deepmind.google.com\/science\/alphagenome\/model-terms\" target=\"_blank\" rel=\"noopener\"\n >Google DeepMind\u2019s AlphaGenome Model Terms<\/a>.<\/p>\n<p>This port is licensed under the Apache License, Version 2.0 (Apache 2.0):<\/p>\n\n <blockquote>\n <p>Copyright 2026 Danila Bredikhin, Martin Kjellberg, Christopher Zou, Alejandro Buendia, Xinming Tu, Anshul Kundaje<\/p>\n\n <\/blockquote>\n<p>Licensed under the Apache License, Version 2.0 (the &ldquo;License&rdquo;); you may not use this except in compliance with the License.\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &ldquo;AS IS&rdquo; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.<\/p>\n<hr>\n<h2 id=\"acknowledgements\">Acknowledgements\n<\/h2><p>We thank Peter Koo, Alan Murphy, Masayuki Nagai, and other members of the <a class=\"link\" href=\"https:\/\/koolab.cshl.edu\/\" target=\"_blank\" rel=\"noopener\"\n >Koo Lab<\/a> for helping initiate the GenomicsxAI organization and reviewing this post. We acknowledge Phil Wang, Miquel Anglada-Girotto, and Xinming Tu as developers of an older AlphaGenome PyTorch implementation unrelated to this port.<\/p>\n<hr>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Avsec, \u017d. et al. Advancing regulatory variant effect prediction with AlphaGenome. <em>Nature<\/em> <strong>649<\/strong> (2026).<\/li>\n<\/ol>\n"},{"title":"Fine-tuning AlphaGenome in native JAX\/Haiku","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/","pubDate":"Wed, 25 Feb 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Fine-tuning AlphaGenome in native JAX\/Haiku\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>This post introduces <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >alphagenome-ft<\/a>, a lightweight Python package for fine-tuning <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> using native JAX\/Haiku.<\/p>\n<p>We highlight workflows for<\/p>\n<ul>\n<li>adding custom prediction heads<\/li>\n<li>differing fine-tuning strategies<\/li>\n<li>freezing\/unfreezing parameters<\/li>\n<li>attribution approaches<\/li>\n<\/ul>\n<p>Here we focus on general workflows applicable to genome-scale assays and custom heads. For fine-tuning the encoder for short sequences such as MPRA, see this <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/\" target=\"_blank\" rel=\"noopener\"\n >post<\/a>.<\/p>\n<p><strong>Code<\/strong>:\n<a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome fine-tuning utilities<\/a><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"motivation\">Motivation\n<\/h2><p><a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> [1] is a foundation sequence-to-function model trained on genome-scale data. Its native JAX\/Haiku implementation is powerful but can be cumbersome to modify for custom tasks (we learned this the hard way!). Researchers often want to:<\/p>\n<ul>\n<li>\n<p>Train a new head on a novel assay<\/p>\n<\/li>\n<li>\n<p>Apply low-rank adapters for efficient backbone updates<\/p>\n<\/li>\n<li>\n<p>Fine-tune the full model progressively<\/p>\n<\/li>\n<li>\n<p>Freeze certain components for stability<\/p>\n<\/li>\n<li>\n<p>Perform attribution analyses to gain insight into learned <strong>cis<\/strong>-regulatory logic<\/p>\n<\/li>\n<\/ul>\n<p>To help with this, we developed <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >alphagenome-ft<\/a> which provides a lightweight wrapper that achieves all these asks without modifying the original AlphaGenome codebase.<\/p>\n\n <blockquote>\n <p><em>Side note:<\/em> AlphaGenome is a deep learning model that predicts functional genomic signals (e.g., accessibility, transcription, binding) directly from DNA sequence. We call such models sequence-to-function (seq2func) models.<\/p>\n\n <\/blockquote>\n\n <blockquote>\n <p><em>Side note 2:<\/em> JAX\/Haiku [2, 3] are DeepMind&rsquo;s frameworks which are similar to using PyTorch but optimized for large-scale accelerator workloads.<\/p>\n\n <\/blockquote>\n<h2 id=\"but-wait-why-fine-tune-alphagenome\">But wait, why fine-tune AlphaGenome?\n<\/h2><p>Foundation sequence models like AlphaGenome are trained on diverse genome-scale assays, allowing them to learn general regulatory sequence features. However, most research questions involve <strong>specific cell types, assays, perturbations, or organisms<\/strong> that differ from the original training distribution.<\/p>\n<p>You should first check if the foundation model alphagenome has an ouput track that&rsquo;s the same\/similar to your cell type of interest, that might be enough! Otherwise, fine-tuning on your cell type\/assay of interest is an option.<\/p>\n<p>Fine-tuning adapts the pretrained model to these new contexts while preserving the regulatory knowledge already encoded in the backbone.<\/p>\n<p>Benefits of fine-tuning include:<\/p>\n<ul>\n<li>\n<p><strong>Improved performance with limited data<\/strong> - Leverages pretrained regulatory features instead of learning from scratch.<\/p>\n<\/li>\n<li>\n<p><strong>Stability and efficiency via frozen parameters<\/strong> - Freezing the backbone while training a new head reduces overfitting, lowers compute cost (this is important AlphaGenome is a BIG model -450m parameters), and prevents catastrophic forgetting.<\/p>\n<\/li>\n<li>\n<p><strong>Parameter-efficient adaptation<\/strong> - Methods such as adapters or partial unfreezing allow targeted updates without retraining the full model.<\/p>\n<\/li>\n<li>\n<p><strong>Faster experimentation cycles<\/strong> - New assays or prediction targets can be incorporated with minimal engineering effort.<\/p>\n<\/li>\n<li>\n<p><strong>Preservation of biological priors<\/strong> - Retains learned sequence motifs and regulatory grammar that remain relevant across assays and cell types.<\/p>\n<\/li>\n<\/ul>\n<p>In practice, many workflows begin by training a task-specific head with the backbone frozen, then progressively unfreezing components if additional capacity is needed.<\/p>\n<h2 id=\"fine-tuning-with-shorter-sequence-windows\">Fine-tuning with shorter sequence windows\n<\/h2><p>By default, AlphaGenome is trained on ~1 million base-pair (1 Mb) input sequences, allowing the model to capture long-range regulatory interactions. However, during fine-tuning you are not required to use the full 1 Mb context.<\/p>\n<p>If your downstream task does not depend strongly on ultra-long-range interactions, you can fine-tune using shorter input windows (e.g., 32 kb). This reduces memory usage, increases batch size flexibility, and can substantially speed up training.<\/p>\n<p>This is particularly useful when:<\/p>\n<ul>\n<li>\n<p>The signal of interest is predominantly local (functional outputs like chromatin accessibility are)<\/p>\n<\/li>\n<li>\n<p>You are adapting to assays with shorter effective regulatory range<\/p>\n<\/li>\n<li>\n<p>You want faster experimentation cycles<\/p>\n<\/li>\n<\/ul>\n<p>Importantly, this is different from encoder-only fine-tuning used for very short sequences (e.g., ~200\u2013300 bp MPRA constructs). In that setting, only the convolutional encoder is used, bypassing the transformer and decoder entirely. This is covered in <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/\" target=\"_blank\" rel=\"noopener\"\n >another post<\/a> [4].<\/p>\n<p>Here, we are still using the full model stack (encoder \u2192 transformer \u2192 decoder), but operating on a reduced genomic window.<\/p>\n<p>In practice, reducing input length is a pragmatic trade-off between computational efficiency and long-range regulatory context (i.e. performance).<\/p>\n<h2 id=\"package-key-features\">Package key features\n<\/h2><ul>\n<li>\n<p>Custom prediction heads \u2013 easily register predefined, template, or fully custom heads<\/p>\n<\/li>\n<li>\n<p>Flexible parameter freezing \u2013 freeze backbone, individual modules, or heads<\/p>\n<\/li>\n<li>\n<p>Seamless integration \u2013 works with pretrained AlphaGenome weights<\/p>\n<\/li>\n<li>\n<p>Parameter inspection \u2013 explore and count model parameters<\/p>\n<\/li>\n<li>\n<p>Attribution analysis \u2013 gradient-based or in silico mutagenesis (ISM) methods<\/p>\n<\/li>\n<li>\n<p>Native JAX\/Haiku \u2013 fully compatible with original AlphaGenome pipelines<\/p>\n<\/li>\n<\/ul>\n<p>AlphaGenome fine-tuning workflows schematic<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/alphagenome_ft.png\" class=\"image-link\" data-pswp-width=\"5209\" data-pswp-height=\"3125\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/alphagenome_ft.png.optimized.webp\" width=\"600px\" height=\"359\"loading=\"lazy\"\n\t\t\talt=\"alphagenome_ft schematic\"\n\t\t\tdata-title-escaped=\"Schematic of alphagenome-ft. alphagenome-ft enables fine-tuning of AlphaGenome (architecture shown) from different, modular stages of the model (the encoder - for short sequences, the transformer - for 128 base-pair resolution, and the decoder - 1 base-pair resolution). You can control what parts of the model are frozen or free to update and you can calculate attributions, all in native JAX\/Haiku.\">\n\t\t<\/a><figcaption>Schematic of alphagenome-ft. alphagenome-ft enables fine-tuning of AlphaGenome (architecture shown) from different, modular stages of the model (the encoder - for short sequences, the transformer - for 128 base-pair resolution, and the decoder - 1 base-pair resolution). You can control what parts of the model are frozen or free to update and you can calculate attributions, all in native JAX\/Haiku.<\/figcaption><\/figure><hr>\n<h2 id=\"usage\">Usage\n<\/h2><p>If these features don&rsquo;t win you over, let&rsquo;s walk through how easy it is to use:<\/p>\n<h3 id=\"installation\">Installation\n<\/h3><p>alphagenome-ft wraps AlphaGenome and AlphaGenome Research and is available through <a class=\"link\" href=\"https:\/\/pypi.org\/project\/alphagenome\/\" target=\"_blank\" rel=\"noopener\"\n >pip<\/a> . Installation requires three steps:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Step 1: Install AlphaGenome and Research<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">pip<\/span> <span class=\"n\">install<\/span> <span class=\"n\">git<\/span><span class=\"o\">+<\/span><span class=\"n\">https<\/span><span class=\"p\">:<\/span><span class=\"o\">\/\/<\/span><span class=\"n\">github<\/span><span class=\"o\">.<\/span><span class=\"n\">com<\/span><span class=\"o\">\/<\/span><span class=\"n\">google<\/span><span class=\"o\">-<\/span><span class=\"n\">deepmind<\/span><span class=\"o\">\/<\/span><span class=\"n\">alphagenome<\/span><span class=\"o\">.<\/span><span class=\"n\">git<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">pip<\/span> <span class=\"n\">install<\/span> <span class=\"n\">git<\/span><span class=\"o\">+<\/span><span class=\"n\">https<\/span><span class=\"p\">:<\/span><span class=\"o\">\/\/<\/span><span class=\"n\">github<\/span><span class=\"o\">.<\/span><span class=\"n\">com<\/span><span class=\"o\">\/<\/span><span class=\"n\">google<\/span><span class=\"o\">-<\/span><span class=\"n\">deepmind<\/span><span class=\"o\">\/<\/span><span class=\"n\">alphagenome_research<\/span><span class=\"o\">.<\/span><span class=\"n\">git<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Step 2: Install alphagenome-ft<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">pip<\/span> <span class=\"n\">install<\/span> <span class=\"n\">alphagenome<\/span><span class=\"o\">-<\/span><span class=\"n\">ft<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Python \u2265 3.11 is required. All other dependencies (JAX, Haiku, optax, etc.) are handled automatically.<\/p>\n<h3 id=\"quick-start-adding-new-heads\">Quick Start: Adding new heads\n<\/h3><p>There are two main ways to add heads to AlphaGenome with the package (see the figure above for architecture references):<\/p>\n<ol>\n<li><strong>Predefined heads<\/strong><\/li>\n<\/ol>\n<p>Use existing AlphaGenome head types, e.g., rna_seq, atac, chip_tf:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_ft<\/span> <span class=\"kn\">import<\/span> <span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">get_predefined_head_config<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">register_predefined_head<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">create_model_with_heads<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">rna_config<\/span> <span class=\"o\">=<\/span> <span class=\"n\">get_predefined_head_config<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;rna_seq&#34;<\/span><span class=\"p\">,<\/span> <span class=\"n\">num_tracks<\/span><span class=\"o\">=<\/span><span class=\"mi\">4<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">register_predefined_head<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;K562_rna_seq&#34;<\/span><span class=\"p\">,<\/span> <span class=\"n\">rna_config<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span> <span class=\"o\">=<\/span> <span class=\"n\">create_model_with_heads<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;all_folds&#34;<\/span><span class=\"p\">,<\/span> <span class=\"n\">heads<\/span><span class=\"o\">=<\/span><span class=\"p\">[<\/span><span class=\"s2\">&#34;K562_rna_seq&#34;<\/span><span class=\"p\">])<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">freeze_except_head<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;K562_rna_seq&#34;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\">#Now ready to train!<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<ol start=\"2\">\n<li><strong>Custom heads and reference templates<\/strong><\/li>\n<\/ol>\n<p>Our template heads give guidance on accessing different embeddings, which correspond to different biological resolutions - base-pair (bp) precision, regional regulatory context, and short-sequence feature extraction:<\/p>\n<ul>\n<li>\n<p>StandardHead \u2013 1bp embeddings (decoder output)<\/p>\n<\/li>\n<li>\n<p>TransformerHead \u2013 128bp embeddings (transformer output)<\/p>\n<\/li>\n<li>\n<p>EncoderOnlyHead \u2013 CNN encoder output, &lt;1 kb sequences (encoder output)<\/p>\n<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> Template heads are there as a guide for to how to set up your own custom head rather than a definitive &lsquo;best&rsquo;\/&lsquo;standard&rsquo; option. You should update these with your own layer and loss function choices to fit your data needs.<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_ft<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">templates<\/span><span class=\"p\">,<\/span> <span class=\"n\">CustomHeadConfig<\/span><span class=\"p\">,<\/span> <span class=\"n\">CustomHeadType<\/span><span class=\"p\">,<\/span> <span class=\"n\">register_custom_head<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">register_custom_head<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s1\">&#39;my_head&#39;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">templates<\/span><span class=\"o\">.<\/span><span class=\"n\">StandardHead<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CustomHeadConfig<\/span><span class=\"p\">(<\/span><span class=\"nb\">type<\/span><span class=\"o\">=<\/span><span class=\"n\">CustomHeadType<\/span><span class=\"o\">.<\/span><span class=\"n\">GENOME_TRACKS<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">output_type<\/span><span class=\"o\">=<\/span><span class=\"s1\">&#39;rna_seq&#39;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">num_tracks<\/span><span class=\"o\">=<\/span><span class=\"mi\">1<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<hr>\n<h3 id=\"workflows\">Workflows\n<\/h3><p>A full selection of four workflows are given in our <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >github repository<\/a>, covering:<\/p>\n<ul>\n<li>Heads-only fine-tuning (frozen backbone)<\/li>\n<li>LoRA-style adapters (parameter-efficient fine-tuning)<\/li>\n<li>Full-model fine-tuning<\/li>\n<li>Encoder-only (MPRA \/ short sequences)<\/li>\n<\/ul>\n<p>See the dedicated <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/\" target=\"_blank\" rel=\"noopener\"\n >MPRA post<\/a> [4] for full post dedicated to Encoder-only fine-tuning (it&rsquo;s great, even though I may be slightly biased as the one who wrote it &hellip;).<\/p>\n\n <blockquote>\n <p><em>Side note:<\/em> <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/2106.09685\" target=\"_blank\" rel=\"noopener\"\n >Low-rank adapters (LoRA)<\/a> [5] enable parameter-efficient fine-tuning by learning small update matrices instead of modifying the full backbone.<\/p>\n\n <\/blockquote>\n<p>If unsure where to start, we recommend training a task-specific head with the backbone frozen, then progressively unfreezing components if additional capacity is needed.<\/p>\n<hr>\n<p>Some extra functionality you might be interested in:<\/p>\n<h3 id=\"parameter-management-and-checkpoints\">Parameter management and checkpoints\n<\/h3><p>alphagenome-ft allows:<\/p>\n<ul>\n<li>Modular freezing: encoder, transformer, decoder<\/li>\n<li>Freezing all heads except one: <code>model.freeze_except_head('my_head')<\/code><\/li>\n<li>Saving checkpoints (heads-only or full model)<\/li>\n<li>Loading with custom head registration<\/li>\n<\/ul>\n<h2 id=\"attribution-analysis\">Attribution analysis\n<\/h2><p>After training, alphagenome-ft also supports:<\/p>\n<ul>\n<li>DeepSHAP-like attributions [6, 7] - using dinucleotide shuffled reference sequences<\/li>\n<li>Gradient \u00d7 Input [8]<\/li>\n<li>Gradient [9]<\/li>\n<li>In silico mutagenesis (ISM) [10, 11]<\/li>\n<\/ul>\n\n <blockquote>\n <p><em>Side note:<\/em> Attribution methods highlight which nucleotides drive predictions in these models, helping reveal regulatory motifs and sequence grammar learned by the model.<\/p>\n\n <\/blockquote>\n<p>You can also visualise contributions with <code>plot_attribution_map<\/code> or <code>plot_sequence_logo<\/code> functions! See below for an example attribution map when we fine-tuned AlphaGenome&rsquo;s encoder on <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >fly STARR-seq data<\/a> [12] - See our <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/\" target=\"_blank\" rel=\"noopener\"\n >MPRA post<\/a> [4] for more details.<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/sequence_logo_gradient_x_input.png\" class=\"image-link\" data-pswp-width=\"2982\" data-pswp-height=\"430\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/sequence_logo_gradient_x_input.png.optimized.webp\" width=\"900px\" height=\"129\"loading=\"lazy\"\n\t\t\talt=\"attribution map\"\n\t\t\tdata-title-escaped=\"Gradient x Input attribution map for AlphaGenome encoder only fine-tuning on [fly STARR-seq data](https:\/\/www.nature.com\/articles\/s41588-022-01048-5) - See our [MPRA post](https:\/\/genomicsxai.github.io\/blogs\/2026-002\/) for more details on this fine-tuning. We can see the model highlights an AP-1 motif around position ~230, consistent with known enhancer regulatory logic.\">\n\t\t<\/a><figcaption>Gradient x Input attribution map for AlphaGenome encoder only fine-tuning on <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >fly STARR-seq data<\/a> - See our <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/\" target=\"_blank\" rel=\"noopener\"\n >MPRA post<\/a> for more details on this fine-tuning. We can see the model highlights an AP-1 motif around position ~230, consistent with known enhancer regulatory logic.<\/figcaption><\/figure><p>You can see we recover the AP-1 motif (<code>TGAsTCA<\/code>) comes up at roughly position 230 which is a known regulator for <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-022-01048-5\/figures\/2\" target=\"_blank\" rel=\"noopener\"\n >developmental genes in flies<\/a> [12].<\/p>\n<hr>\n<h2 id=\"implications\">Implications\n<\/h2><p>To take a step back, what do we get with alphagenome-ft? AlphaGenome becomes flexible to:<\/p>\n<ul>\n<li>Rapid adaptation to new tasks<\/li>\n<li>Modular freezing\/unfreezing for stability<\/li>\n<li>Supports genome-scale or perturbation assays<\/li>\n<li>Enables downstream interpretability<\/li>\n<\/ul>\n<p>AlphaGenome can now be adapted as easily as modern vision and language foundation models \u2014 opening the door to rapid regulatory genomics experimentation. So if you think AlphaGenome could be useful if applied to your research, take a look at our package!<\/p>\n\n <blockquote>\n <p>alphagenome-ft brings foundation-model-style transfer learning workflows to regulatory genomics.<\/p>\n\n <\/blockquote>\n<hr>\n<h2 id=\"compute-requirements\">Compute requirements\n<\/h2><p>A full analysis of the runtime requirements for fine-tuning AlphaGenome is <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/\" target=\"_blank\" rel=\"noopener\"\n >highlighted in separate blog post<\/a> [13] but in short:<\/p>\n<ul>\n<li>Fine-tuning with a frozen backbone, i.e. head-only fine-tuning will fit on a single, middle of the range GPU, maxing out at around 14-27 GB vram (batch size 1).<\/li>\n<li>For full Fine-tuning, you will need at least 76.1 GB vram, so a H100\/H200 GPU.<\/li>\n<\/ul>\n<hr>\n<h2 id=\"code-and-tutorials\">Code and tutorials\n<\/h2><ul>\n<li><a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >Source code &amp; utilities<\/a><\/li>\n<li>Colab notebooks: <a class=\"link\" href=\"https:\/\/colab.research.google.com\/github\/genomicsxai\/alphagenome_ft\/blob\/main\/notebooks\/finetune_encoder_only_mpra.ipynb\" target=\"_blank\" rel=\"noopener\"\n >Encoder Fine-tuning (MPRA)<\/a> | <a class=\"link\" href=\"https:\/\/colab.research.google.com\/github\/genomicsxai\/alphagenome_ft\/blob\/main\/notebooks\/finetune_rna_head_only.ipynb\" target=\"_blank\" rel=\"noopener\"\n >Heads-only Fine-tuning<\/a><\/li>\n<li><a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-005\/\" target=\"_blank\" rel=\"noopener\"\n >Benchmarking AlphaGenome on NVIDIA GPUs: latency, memory, and feasibility across sequence lengths<\/a><\/li>\n<\/ul>\n<hr>\n<h2 id=\"tldr\">TL;DR\n<\/h2><ul>\n<li>\n<p><strong>AlphaGenome<\/strong> is a powerful sequence-to-function foundation model, but adapting it natively in JAX\/Haiku can be cumbersome.<\/p>\n<\/li>\n<li>\n<p><strong>alphagenome-ft<\/strong> provides a lightweight wrapper for:<\/p>\n<ul>\n<li>\n<p>adding custom or predefined prediction heads<\/p>\n<\/li>\n<li>\n<p>freezing and unfreezing specific modules<\/p>\n<\/li>\n<li>\n<p>parameter-efficient fine-tuning (e.g., adapters)<\/p>\n<\/li>\n<li>\n<p>running attribution analyses<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Most workflows can start by training a task-specific head with the backbone frozen, then progressively unfreezing if needed.<\/p>\n<\/li>\n<li>\n<p>This enables rapid adaptation to new assays while preserving pretrained regulatory knowledge.<\/p>\n<\/li>\n<\/ul>\n<p>If you want to fine-tune AlphaGenome without modifying its core codebase, alphagenome-ft is designed to make that process modular, efficient, and reproducible!<\/p>\n<hr>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Avsec, \u017d., Latysheva, N., Cheng, J., Novati, G. et al. Advancing regulatory variant effect prediction with AlphaGenome. <em>Nature<\/em> 649, 1206\u20131218 (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41586-025-10014-0<\/a><\/li>\n<li>Bradbury, J. et al. JAX: composable transformations of Python+NumPy programs (2018). <a class=\"link\" href=\"https:\/\/github.com\/jax-ml\/jax\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/jax-ml\/jax<\/a><\/li>\n<li>Hennigan, T., Cai, T., Norman, T., Martens, L. &amp; Babuschkin, I. Haiku: Sonnet for JAX (2020). <a class=\"link\" href=\"https:\/\/github.com\/google-deepmind\/dm-haiku\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/google-deepmind\/dm-haiku<\/a><\/li>\n<li>Murphy, A., Dur\u00e1n, A. &amp; Koo, P. K. Adapting AlphaGenome to MPRA data. <em>Genomics x AI Blog<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.5281\/zenodo.20272900\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.5281\/zenodo.20272900<\/a><\/li>\n<li>Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L. &amp; Chen, W. LoRA: Low-Rank Adaptation of Large Language Models. <em>arXiv<\/em> 2106.09685 (2021). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/2106.09685\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/2106.09685<\/a><\/li>\n<li>Lundberg, S. M. &amp; Lee, S.-I. A unified approach to interpreting model predictions. <em>Advances in Neural Information Processing Systems<\/em> 30 (2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1705.07874\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/1705.07874<\/a><\/li>\n<li>Shrikumar, A., Greenside, P. &amp; Kundaje, A. Learning important features through propagating activation differences. <em>Proceedings of the 34th International Conference on Machine Learning<\/em>, PMLR 70, 3145\u20133153 (2017). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1704.02685\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/1704.02685<\/a><\/li>\n<li>Shrikumar, A., Greenside, P., Shcherbina, A. &amp; Kundaje, A. Not just a black box: learning important features through propagating activation differences. <em>arXiv<\/em> 1605.01713 (2016). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1605.01713\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/1605.01713<\/a><\/li>\n<li>Simonyan, K., Vedaldi, A. &amp; Zisserman, A. Deep inside convolutional networks: visualising image classification models and saliency maps. <em>arXiv<\/em> 1312.6034 (2013). <a class=\"link\" href=\"https:\/\/arxiv.org\/abs\/1312.6034\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/arxiv.org\/abs\/1312.6034<\/a><\/li>\n<li>Alipanahi, B., Delong, A., Weirauch, M. T. &amp; Frey, B. J. Predicting the sequence specificities of DNA- and RNA-binding proteins by deep learning. <em>Nat. Biotechnol.<\/em> 33, 831\u2013838 (2015). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nbt.3300\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/nbt.3300<\/a><\/li>\n<li>Zhou, J. &amp; Troyanskaya, O. G. Predicting effects of noncoding variants with deep learning\u2013based sequence model. <em>Nat. Methods<\/em> 12, 931\u2013934 (2015). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/nmeth.3547\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/nmeth.3547<\/a><\/li>\n<li>de Almeida, B. P., Reiter, F., Pagani, M. &amp; Stark, A. DeepSTARR predicts enhancer activity from DNA sequence and enables the de novo design of synthetic enhancers. <em>Nat. Genet.<\/em> 54, 613\u2013624 (2022). <a class=\"link\" href=\"https:\/\/doi.org\/10.1038\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.1038\/s41588-022-01048-5<\/a><\/li>\n<li>Tu, X., Buendia, A., Kundaje, A. &amp; Mostafavi, S. Benchmarking AlphaGenome on NVIDIA GPUs: latency, memory, and feasibility across sequence lengths. <em>Genomics x AI Blog<\/em> (2026). <a class=\"link\" href=\"https:\/\/doi.org\/10.5281\/zenodo.20272910\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/doi.org\/10.5281\/zenodo.20272910<\/a><\/li>\n<\/ol>\n"},{"title":"Adapting AlphaGenome to MPRA data","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/","pubDate":"Fri, 20 Feb 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Adapting AlphaGenome to MPRA data\" \/><aside class=\"summary-box\">\n <h2 class=\"summary-box__title\">Summary<\/h2>\n <div class=\"summary-box__body\">\n <p>This post provides a high-level overview of how to use the <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> and <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >Enformer<\/a> repositories to extract modular convolutional encoders for short sequences \u2014 including links to the GitHub repositories \u2014 and summarises the results we achieved on perturbation assays.<\/p>\n<p>Foundation sequence-to-function models like AlphaGenome and Enformer are trained on ~1 Mb genomic windows to predict thousands of regulatory tracks. We show that their most transferable component is the convolutional encoder that learns local cis-regulatory grammar.<\/p>\n<p>By extracting this encoder from the long-range transformer and decoder modules, we:<\/p>\n<ul>\n<li>achieve state-of-the-art performance on <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-024-08430-9\" target=\"_blank\" rel=\"noopener\"\n >lentiMPRA<\/a>, <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >STARR-seq<\/a>, and <a class=\"link\" href=\"http:\/\/www.genomeinterpretation.org\/cagi5-regulation-saturation.html\" target=\"_blank\" rel=\"noopener\"\n >CAGI5<\/a> benchmarks<\/li>\n<li>reduce inference cost by ~500\u00d7<\/li>\n<li>generalise across assays, species, and architectures<\/li>\n<\/ul>\n<p>This reframes foundation genomics models as modular regulatory representation engines, reusable for short perturbation sequences (100\u2013300 bp) and regulatory design workflows.<\/p>\n<p><strong>Code:<\/strong>\n<a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome fine-tuning utilities<\/a> |\n<a class=\"link\" href=\"https:\/\/github.com\/Al-Murphy\/alphagenome_FT_MPRA\" target=\"_blank\" rel=\"noopener\"\n >Full analysis and experiments<\/a><\/p>\n\n <\/div>\n<\/aside>\n\n<hr>\n<h2 id=\"motivation\">Motivation\n<\/h2><p>Foundation-scale sequence-to-function models have rapidly advanced regulatory genomics. Architectures like <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-025-10014-0\" target=\"_blank\" rel=\"noopener\"\n >AlphaGenome<\/a> and <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41592-021-01252-x\" target=\"_blank\" rel=\"noopener\"\n >Enformer<\/a> predict thousands of regulatory tracks across large genomic contexts and achieve impressive genome-wide accuracy (hence the term generalists).<\/p>\n\n <blockquote>\n <p><em>Side note:<\/em> sequence-to-function (seq2func) models learn a direct mapping from DNA sequence to one or more experimentally measured molecular readouts from assays such as chromatin accessibility, transcription factor binding, or gene expression.<\/p>\n\n <\/blockquote>\n<p>These models also just continue to increase in their number of parameters, receptive fields and number of tasks they predict - if you&rsquo;re skeptical just look at a selection of these recent models:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/generalists_genomic_ai_recep_field_tasks_params_bp_res_tasks.png\" class=\"image-link\" data-pswp-width=\"8067\" data-pswp-height=\"5031\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/generalists_genomic_ai_recep_field_tasks_params_bp_res_tasks.png.optimized.webp\" width=\"600px\" height=\"374\"loading=\"lazy\"\n\t\t\talt=\"The Landscape of seq2func models by genomic receptive field and task breadth\"\n\t\t\tdata-title-escaped=\"The Landscape of seq2func models by genomic receptive field and task breadth. Shown is the number of prediction tasks versus the input receptive field for representative generalist seq2func models. Marker size is proportional to the reported parameter count. A red marker edge indicates models that produce base-pair\u2013aligned predictions.\">\n\t\t<\/a><figcaption>The Landscape of seq2func models by genomic receptive field and task breadth. Shown is the number of prediction tasks versus the input receptive field for representative generalist seq2func models. Marker size is proportional to the reported parameter count. A red marker edge indicates models that produce base-pair\u2013aligned predictions.<\/figcaption><\/figure><p>But many real experimental workflows don\u2019t look like the genome. Perturbation assays \u2014 including MPRAs, enhancer design screens, and synthetic element optimisation \u2014 evaluate short (~100\u2013300 bp) sequences outside their native context. Applying these now megabase-scale predictors to such data introduces unnecessary padding, compute overhead, and arbitrary flanking sequence assumptions which are just unsatisfactory!<\/p>\n<p>We asked a simple question:<\/p>\n\n <blockquote>\n <p>What if we treated these models as reusable regulatory feature extractors instead of end-to-end predictors?<\/p>\n\n <\/blockquote>\n<hr>\n<h2 id=\"the-key-idea-modular-regulatory-encoders\">The key idea: modular regulatory encoders\n<\/h2><p>Modern seq2func models like AlphaGenome can be decomposed into three functional components:<\/p>\n<ol>\n<li>\n<p>Sequence encoder - learns motifs, spacing rules, and local regulatory syntax (e.g. convolutions and pooling)<\/p>\n<\/li>\n<li>\n<p>Long-range context module - (e.g. transformers) models distal regulatory dependencies<\/p>\n<\/li>\n<li>\n<p>Task decoder - predicts assay-specific outputs<\/p>\n<\/li>\n<\/ol>\n<p>For short perturbation sequences assayed in isolation \u2014 such as MPRA constructs that test <em>cis<\/em>-regulatory activity outside their native chromosomal context \u2014 long-range genomic interactions are largely absent, so distal context modeling is often unnecessary. The encoder, however, contains rich regulatory representations learned from genome-scale supervision. We extract and reuse this encoder - see the image below:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/modular_generalists_manuscript.png\" class=\"image-link\" data-pswp-width=\"8855\" data-pswp-height=\"3125\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/modular_generalists_manuscript.png.optimized.webp\" width=\"1000px\" height=\"352\"loading=\"lazy\"\n\t\t\talt=\"Generalist seq2func models as modular regulatory encoders\"\n\t\t\tdata-title-escaped=\"Generalist seq2func models as modular regulatory encoders. Left, AlphaGenome&amp;#39;s U-Net architecture with encoder, long-range context integration (transformer), and decoder modules. Right, proposed modular view in which the pretrained encoder is extracted as a reusable cis-regulatory representation module and fine-tuned on short, variable-length perturbation sequences such as MPRA constructs, while the transformer and decoder remain in the full stack for tasks requiring long-range context.\">\n\t\t<\/a><figcaption>Generalist seq2func models as modular regulatory encoders. Left, AlphaGenome&rsquo;s U-Net architecture with encoder, long-range context integration (transformer), and decoder modules. Right, proposed modular view in which the pretrained encoder is extracted as a reusable cis-regulatory representation module and fine-tuned on short, variable-length perturbation sequences such as MPRA constructs, while the transformer and decoder remain in the full stack for tasks requiring long-range context.<\/figcaption><\/figure>\n <blockquote>\n <p><strong>Encoder intuition<\/strong> - In these models, the encoder progressively downsamples the input sequence through convolution and pooling operations, similar to how image CNNs compress spatial resolution while increasing feature richness. As a result, the encoder outputs a sequence of embeddings where each position summarises regulatory features over a window of roughly ~128 bp rather than single nucleotides. This resolution is sufficient to capture motif combinations and local regulatory syntax while keeping representations compact and computationally efficient.<\/p>\n\n <\/blockquote>\n<p>Although AlphaGenome was trained on ~1 megabase genomic windows, we show that its convolutional encoder can be repurposed for much shorter sequences. This reflects a division of labor within the architecture: the encoder captures local regulatory grammar, while the transformer and decoder handle long-range integration and base-resolution track prediction. By isolating the encoder, we retain the reusable representation module while discarding machinery designed for distal genomic context \u2014 precisely the setting of MPRA assays and other tasks centered on local regulatory activity, such as chromatin accessibility prediction.<\/p>\n<h3 id=\"what-we-do\">What we do:\n<\/h3><ul>\n<li>\n<p>isolate the convolutional encoder<\/p>\n<\/li>\n<li>\n<p>adapt positional handling for short inputs<\/p>\n<\/li>\n<li>\n<p>pool encoder embeddings<\/p>\n<\/li>\n<li>\n<p>attach a lightweight regression head<\/p>\n<\/li>\n<li>\n<p>optionally fine-tune or keep encoder frozen<\/p>\n<\/li>\n<\/ul>\n<p>This allows direct training on short sequences while preserving pretrained regulatory features! We applied this to AlphaGenome and Enformer (the later to highlight the generalisation of the approach).<\/p>\n<hr>\n<h2 id=\"why-this-helps\">Why this helps\n<\/h2><h3 id=\"practical-advantages\">Practical advantages:\n<\/h3><ul>\n<li>\n<p>supports variable-length inputs<\/p>\n<\/li>\n<li>\n<p>removes megabase padding overhead<\/p>\n<\/li>\n<li>\n<p>standardises comparisons across architectures<\/p>\n<\/li>\n<li>\n<p>dramatically reduces inference cost \u2014 in our testing it was 500 fold quicker to run the encoder model than full AlphaGenome<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"conceptual-advantage\">Conceptual advantage:\n<\/h3><ul>\n<li>separates regulatory representation learning from task-specific prediction<\/li>\n<\/ul>\n<hr>\n<h2 id=\"performance-on-mpra-and-starr-seq\">Performance on MPRA and STARR-seq\n<\/h2><p>Before I get into the how of doing this, let me convince you that it&rsquo;s worthwhile \u2014 we evaluated modular encoders on:<\/p>\n<ul>\n<li>\n<p><a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-024-08430-9\" target=\"_blank\" rel=\"noopener\"\n >lentiMPRA<\/a> constructs (HepG2, K562, WTC11)<\/p>\n<\/li>\n<li>\n<p><a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >STARR-seq<\/a> enhancer activity in Drosophila<\/p>\n<\/li>\n<\/ul>\n<p>Results:<\/p>\n<ul>\n<li>\n<p>achieved state-of-the-art accuracy on both tasks (subplots a-b below)<\/p>\n<\/li>\n<li>\n<p>AlphaGenome encoder probing remained strong across species<\/p>\n<\/li>\n<li>\n<p>Enformer benefited more from fine-tuning \u2014 perhaps its encoder learned less cis-regulatory logic<\/p>\n<\/li>\n<li>\n<p>AlphaGenome required minimal adaptation as pretrained encoder already captures transferable signal<\/p>\n<\/li>\n<\/ul>\n\n <blockquote>\n <p><em>Side note:<\/em> probing means the AlphaGenome encoder is frozen and only the added head is updated whereas fine-tuning means everything is updated (encoder and head).<\/p>\n\n <\/blockquote>\n<p>This supports the idea that genome-scale training learns reusable regulatory structure. The performance results:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/lenti_starr_res.png\" class=\"image-link\" data-pswp-width=\"6303\" data-pswp-height=\"2761\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/lenti_starr_res.png.optimized.webp\" width=\"900px\" height=\"394\"loading=\"lazy\"\n\t\t\talt=\"Benchmark on lentiMPRA and STARR-seq\"\n\t\t\tdata-title-escaped=\"Benchmark on lentiMPRA and STARR-seq. Test-set Pearson correlation for (left) lentiMPRA and (right) STARR-seq. We compared against best-in-class models [MPRALegNet](https:\/\/www.nature.com\/articles\/s41586-024-08430-9), [DeepSTARR](https:\/\/www.nature.com\/articles\/s41588-022-01048-5), [DREAM-RNN](https:\/\/www.nature.com\/articles\/s41587-024-02414-w), and AlphaGenome (AG). We applied encoder extraction and fine-tuning to Enformer (Enf. MPRA) and AlphaGenome (AG MPRA), evaluated with probing (head-only) or encoder fine-tuning.\">\n\t\t<\/a><figcaption>Benchmark on lentiMPRA and STARR-seq. Test-set Pearson correlation for (left) lentiMPRA and (right) STARR-seq. We compared against best-in-class models <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41586-024-08430-9\" target=\"_blank\" rel=\"noopener\"\n >MPRALegNet<\/a>, <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41588-022-01048-5\" target=\"_blank\" rel=\"noopener\"\n >DeepSTARR<\/a>, <a class=\"link\" href=\"https:\/\/www.nature.com\/articles\/s41587-024-02414-w\" target=\"_blank\" rel=\"noopener\"\n >DREAM-RNN<\/a>, and AlphaGenome (AG). We applied encoder extraction and fine-tuning to Enformer (Enf. MPRA) and AlphaGenome (AG MPRA), evaluated with probing (head-only) or encoder fine-tuning.<\/figcaption><\/figure><hr>\n<h2 id=\"what-matters-when-adapting-encoders\">What matters when adapting encoders?\n<\/h2><p>So in an attempt to understand the loss landscape as much as possible, we did a hyperparameter sweep which revealed the:<\/p>\n<h3 id=\"most-important-choices\">Most important choices\n<\/h3><ul>\n<li>\n<p>deeper MLP heads<\/p>\n<\/li>\n<li>\n<p>flattening encoder embeddings<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"less-important-choices\">Less important choices\n<\/h3><ul>\n<li>\n<p>optimiser choice<\/p>\n<\/li>\n<li>\n<p>weight decay<\/p>\n<\/li>\n<li>\n<p>learning rate schedule<\/p>\n<\/li>\n<\/ul>\n<p>Progressive unfreezing also provided modest gains, with a benefit from earlier encoder updates. The results of this sweep is at the end of the post. Note we used the sweep as a starting point for an iterative greedy search over hyperparameters to get the local optimal for each lentiMPRA cell line.<\/p>\n<hr>\n<h2 id=\"transfer-to-regulatory-variant-prediction-cagi5\">Transfer to regulatory variant prediction (CAGI5)\n<\/h2><p>We next evaluated all models on the <a class=\"link\" href=\"http:\/\/www.genomeinterpretation.org\/cagi5-regulation-saturation.html\" target=\"_blank\" rel=\"noopener\"\n >CAGI5 benchmark<\/a> which provides experimentally measured effects of thousands of regulatory variants, making it a standard test for evaluating how well models predict functional impacts beyond the training assay.<\/p>\n<p>Key findings<\/p>\n<ul>\n<li>\n<p>MPRA fine-tuning improved performance (using matched cell types with lentiMPRA models)<\/p>\n<\/li>\n<li>\n<p>frozen encoder probing generalised better out-of-distribution<\/p>\n<\/li>\n<li>\n<p>task-specific fine-tuning can introduce assay bias \u2014 full fine-tuning rather than probing led to the models overfitting on the lentiMPRA data and thus worse performance on the CAGI5 data.<\/p>\n<\/li>\n<li>\n<p>A smaller aggregation window improved pretrained AlphaGenome&rsquo;s performance (more on this below).<\/p>\n<\/li>\n<\/ul>\n<p>This may highlight a trade-off of specialisation vs generalisation, or with better regularisation maybe this could be controlled even with the larger number of free parameters. The results:<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/cagi5_augmentation_comparison.png\" class=\"image-link\" data-pswp-width=\"17962\" data-pswp-height=\"5721\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/cagi5_augmentation_comparison.png\" width=\"900px\" height=\"286\"loading=\"lazy\"\n\t\t\talt=\"Zero-shot CAGI5 performance for HepG2 and K562 variants\"\n\t\t\tdata-title-escaped=\"Zero-shot CAGI5 performance for HepG2 and K562 variants; right, high-confidence SNP subset. Dark blue denotes a single prediction per variant whereas light blue is random shift and reverse complement augmentation. We compare against MPRALegNet and AlphaGenome (AG). We applied encoder extraction and fine-tuning to Enformer (Enf. MPRA) and AlphaGenome (AG MPRA), evaluated with probing (head-only) or encoder fine-tuning.\">\n\t\t<\/a><figcaption>Zero-shot CAGI5 performance for HepG2 and K562 variants; right, high-confidence SNP subset. Dark blue denotes a single prediction per variant whereas light blue is random shift and reverse complement augmentation. We compare against MPRALegNet and AlphaGenome (AG). We applied encoder extraction and fine-tuning to Enformer (Enf. MPRA) and AlphaGenome (AG MPRA), evaluated with probing (head-only) or encoder fine-tuning.<\/figcaption><\/figure><hr>\n<h3 id=\"a-technical-note-improving-base-alphagenomes-performance-on-cagi5\">A Technical Note: Improving Base AlphaGenome&rsquo;s Performance on CAGI5\n<\/h3><p>When we tested against the AlphaGenome model before any fine-tuning on MPRA data, we noticed something interesting.<\/p>\n<p>Aligning the aggregated window size of the chromatin accessibility (DNase HepG2 and K562 tracks) to match the size of the MPRA assay (central 384 base-pairs) improved zero-shot prediction relative to AlphaGenome\u2019s original protocol (central 501bp) by 25%!<\/p>\n\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/cagi5_central_mask_comparison.png\" class=\"image-link\" data-pswp-width=\"13442\" data-pswp-height=\"5721\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-002\/cagi5_central_mask_comparison.png.optimized.webp\" width=\"700px\" height=\"297\"loading=\"lazy\"\n\t\t\talt=\"Central aggregation approach AlphaGenome\"\n\t\t\tdata-title-escaped=\"Differing AlphaGenome&amp;#39;s mask size for CAGI5 benchmark on HepG2 and K562 variants; right, high-confidence SNP subset. Pretrained AlphaGenome performance when using our approach of aggregating the central 384 base-pairs for DNase HepG2 and K562 tracks versus the protocol outlined in AlphaGenome&amp;#39;s original publication (central 501 base-pairs). The smaller window led to much improved performance but still below that after fine-tuning on MPRA data (our approach). Performance is measured as Pearson correlation between predicted and observed activity.\">\n\t\t<\/a><figcaption>Differing AlphaGenome&rsquo;s mask size for CAGI5 benchmark on HepG2 and K562 variants; right, high-confidence SNP subset. Pretrained AlphaGenome performance when using our approach of aggregating the central 384 base-pairs for DNase HepG2 and K562 tracks versus the protocol outlined in AlphaGenome&rsquo;s original publication (central 501 base-pairs). The smaller window led to much improved performance but still below that after fine-tuning on MPRA data (our approach). Performance is measured as Pearson correlation between predicted and observed activity.<\/figcaption><\/figure><p>So I would advise testing differing aggregation windows if you are using AlphaGenome in this manner. Or, just use our extracted encoder approach which boosted performance by another 10%!<\/p>\n<hr>\n<h2 id=\"what-transfers--and-why\">What transfers \u2014 and why?\n<\/h2><p>So we should probably now take a step back, what are our results showing?<\/p>\n<p>They highlight that encoder representations learned under genome-scale multitask supervision retain regulatory signal that transfers across:<\/p>\n<ul>\n<li>\n<p>assays<\/p>\n<\/li>\n<li>\n<p>perturbation regimes<\/p>\n<\/li>\n<li>\n<p>species (STARR-seq data was in fly, AlphaGenome was trained on human and mouse \u2014 this is pretty cool!)<\/p>\n<\/li>\n<\/ul>\n<p>This transfer was observed across distinct architectures (AlphaGenome and Enformer), suggesting that <strong>the modular encoder perspective is broadly applicable<\/strong>.<\/p>\n<hr>\n<h2 id=\"implications-for-regulatory-design-workflows\">Implications for regulatory design workflows\n<\/h2><p>Now to the so what? Well, encoder-only predictors have numerous advantages over their generalist parents, they enable:<\/p>\n<ul>\n<li>\n<p>rapid scoring of candidate constructs<\/p>\n<\/li>\n<li>\n<p>iterative design \u2192 score \u2192 optimise loops<\/p>\n<\/li>\n<li>\n<p>compute-efficient large-scale screening<\/p>\n<\/li>\n<\/ul>\n<p>Seq2func foundation models can therefore function as reusable regulatory representation engines inside perturbation pipelines \u2014 think of synthetic biology DNA design, where these models could help accelerate synthetic enhancer and promoter development (see <a class=\"link\" href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/39322281\/\" target=\"_blank\" rel=\"noopener\"\n >this work<\/a> for example).<\/p>\n<hr>\n<h2 id=\"open-questions\">Open questions\n<\/h2><p>So what didn&rsquo;t we explore here:<\/p>\n<ul>\n<li>\n<p>Which encoder layers contribute most to transfer?<\/p>\n<\/li>\n<li>\n<p>How stable are representations across assays and species?<\/p>\n<\/li>\n<li>\n<p>Can modular encoders accelerate generative regulatory design?<\/p>\n<\/li>\n<\/ul>\n<p>All of these would be really interesting future directions.<\/p>\n<hr>\n<h2 id=\"takeaway--the-tldr\">Takeaway \u2014 the TL;DR\n<\/h2><p>Foundation seq2func models are typically used as monolithic predictors.<\/p>\n<p>A modular view reveals something more useful:<\/p>\n\n <blockquote>\n <p>Their encoders are transferable regulatory representation modules.<\/p>\n\n <\/blockquote>\n<p>Extracting and adapting these representations enables efficient perturbation modeling, fair cross-model comparison, and scalable regulatory design workflows.<\/p>\n<hr>\n<h2 id=\"code\">Code\n<\/h2><p>Finally, how can you use this approach:<\/p>\n<p>This analysis uses the native jax\/haiku AlphaGenome wrapper package which is available from the <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >Genomics x AI community github<\/a> (see <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/\" target=\"_blank\" rel=\"noopener\"\n >our post on this<\/a>) and all code to run the analysis is <a class=\"link\" href=\"https:\/\/github.com\/Al-Murphy\/alphagenome_FT_MPRA\" target=\"_blank\" rel=\"noopener\"\n >here<\/a>.<\/p>\n<p>But here is a minimum script or if you would prefer to run it yourself on lentiMPRA data, see our <a class=\"link\" href=\"https:\/\/colab.research.google.com\/github\/genomicsxai\/alphagenome_ft\/blob\/main\/notebooks\/finetune_encoder_only_mpra.ipynb\" target=\"_blank\" rel=\"noopener\"\n >colab notebook<\/a>:<\/p>\n<h3 id=\"tutorial\">Tutorial\n<\/h3><h3 id=\"1-model-initialisation\">1. Model initialisation\n<\/h3><div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome.models<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">dna_output<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_ft<\/span> <span class=\"kn\">import<\/span> <span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">templates<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CustomHeadConfig<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CustomHeadType<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">register_custom_head<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">create_model_with_heads<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># 1. Register an encoder-only head<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">register_custom_head<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s2\">&#34;mpra_head&#34;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">templates<\/span><span class=\"o\">.<\/span><span class=\"n\">EncoderOnlyHead<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">CustomHeadConfig<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"nb\">type<\/span><span class=\"o\">=<\/span><span class=\"n\">CustomHeadType<\/span><span class=\"o\">.<\/span><span class=\"n\">GENOME_TRACKS<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">output_type<\/span><span class=\"o\">=<\/span><span class=\"n\">dna_output<\/span><span class=\"o\">.<\/span><span class=\"n\">OutputType<\/span><span class=\"o\">.<\/span><span class=\"n\">RNA_SEQ<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">num_tracks<\/span><span class=\"o\">=<\/span><span class=\"mi\">1<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"p\">),<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># 2. Create a model that uses encoder output only<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span> <span class=\"o\">=<\/span> <span class=\"n\">create_model_with_heads<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"s2\">&#34;all_folds&#34;<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">heads<\/span><span class=\"o\">=<\/span><span class=\"p\">[<\/span><span class=\"s2\">&#34;mpra_head&#34;<\/span><span class=\"p\">],<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">use_encoder_output<\/span><span class=\"o\">=<\/span><span class=\"kc\">True<\/span><span class=\"p\">,<\/span> <span class=\"c1\"># \u2190 CRITICAL for encoder-only mode<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># 3. Optionally freeze backbone to start with heads-only finetuning<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">freeze_except_head<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;mpra_head&#34;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\">#Now ready to train!<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<p>Key points:<\/p>\n<ul>\n<li><code>use_encoder_output=True<\/code> bypasses the transformer\/decoder stack and exposes encoder features at ~128 bp resolution<\/li>\n<li><code>templates.EncoderOnlyHead<\/code> applies a simple MLP on top of these embeddings<\/li>\n<\/ul>\n<h3 id=\"2-training-loop\">2. Training Loop\n<\/h3><p>For MPRA-like data, you will typically have <strong>short sequences and scalar or low-dimensional outputs<\/strong> (e.g. log expression).<\/p>\n<p>You can either:<\/p>\n<ul>\n<li>Use your own data loader and a custom training loop with <code>model.create_loss_fn_for_head<\/code>, or<\/li>\n<li>Follow the more complete MPRA scripts in the external repository.<\/li>\n<\/ul>\n<p>Minimal example with a custom loop:<\/p>\n<div class=\"code-block\" data-lang=\"python\">\n<div class=\"highlight\"><pre tabindex=\"0\" class=\"chroma\"><code class=\"language-python\" data-lang=\"python\"><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">jax<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">jax.numpy<\/span> <span class=\"k\">as<\/span> <span class=\"nn\">jnp<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import<\/span> <span class=\"nn\">optax<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_ft<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">CustomHead<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"kn\">from<\/span> <span class=\"nn\">alphagenome_ft<\/span> <span class=\"kn\">import<\/span> <span class=\"n\">create_optimizer<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Suppose you have: sequences_onehot: (B, L, 4), targets: (B, 1)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">loss_fn<\/span> <span class=\"o\">=<\/span> <span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">create_loss_fn_for_head<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;mpra_head&#34;<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">optimizer<\/span> <span class=\"o\">=<\/span> <span class=\"n\">create_optimizer<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">_params<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">trainable_head_names<\/span><span class=\"o\">=<\/span><span class=\"p\">(<\/span><span class=\"s2\">&#34;mpra_head&#34;<\/span><span class=\"p\">,),<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">learning_rate<\/span><span class=\"o\">=<\/span><span class=\"mf\">1e-3<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">weight_decay<\/span><span class=\"o\">=<\/span><span class=\"mf\">1e-4<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">heads_only<\/span><span class=\"o\">=<\/span><span class=\"kc\">True<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"n\">opt_state<\/span> <span class=\"o\">=<\/span> <span class=\"n\">optimizer<\/span><span class=\"o\">.<\/span><span class=\"n\">init<\/span><span class=\"p\">(<\/span><span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">_params<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"><span class=\"k\">def<\/span> <span class=\"nf\">train_step<\/span><span class=\"p\">(<\/span><span class=\"n\">params<\/span><span class=\"p\">,<\/span> <span class=\"n\">state<\/span><span class=\"p\">,<\/span> <span class=\"n\">opt_state<\/span><span class=\"p\">,<\/span> <span class=\"n\">batch_sequences<\/span><span class=\"p\">,<\/span> <span class=\"n\">batch_targets<\/span><span class=\"p\">):<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"k\">def<\/span> <span class=\"nf\">loss_inner<\/span><span class=\"p\">(<\/span><span class=\"n\">current_params<\/span><span class=\"p\">):<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">preds_dict<\/span> <span class=\"o\">=<\/span> <span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">_predict<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">current_params<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">state<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">batch_sequences<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">jnp<\/span><span class=\"o\">.<\/span><span class=\"n\">zeros<\/span><span class=\"p\">((<\/span><span class=\"n\">batch_sequences<\/span><span class=\"o\">.<\/span><span class=\"n\">shape<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">],),<\/span> <span class=\"n\">dtype<\/span><span class=\"o\">=<\/span><span class=\"n\">jnp<\/span><span class=\"o\">.<\/span><span class=\"n\">int32<\/span><span class=\"p\">),<\/span> <span class=\"c1\"># organism_index<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">negative_strand_mask<\/span><span class=\"o\">=<\/span><span class=\"n\">jnp<\/span><span class=\"o\">.<\/span><span class=\"n\">zeros<\/span><span class=\"p\">((<\/span><span class=\"n\">batch_sequences<\/span><span class=\"o\">.<\/span><span class=\"n\">shape<\/span><span class=\"p\">[<\/span><span class=\"mi\">0<\/span><span class=\"p\">],),<\/span> \n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">dtype<\/span><span class=\"o\">=<\/span><span class=\"nb\">bool<\/span><span class=\"p\">),<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">strand_reindexing<\/span><span class=\"o\">=<\/span><span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">_metadata<\/span><span class=\"p\">[<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"nb\">next<\/span><span class=\"p\">(<\/span><span class=\"nb\">iter<\/span><span class=\"p\">(<\/span><span class=\"n\">model<\/span><span class=\"o\">.<\/span><span class=\"n\">_metadata<\/span><span class=\"p\">))]<\/span><span class=\"o\">.<\/span><span class=\"n\">strand_reindexing<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">preds<\/span> <span class=\"o\">=<\/span> <span class=\"n\">preds_dict<\/span><span class=\"p\">[<\/span><span class=\"s2\">&#34;mpra_head&#34;<\/span><span class=\"p\">]<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">loss_dict<\/span> <span class=\"o\">=<\/span> <span class=\"n\">loss_fn<\/span><span class=\"p\">(<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">preds<\/span><span class=\"p\">,<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"p\">{<\/span><span class=\"s2\">&#34;targets&#34;<\/span><span class=\"p\">:<\/span> <span class=\"n\">batch_targets<\/span><span class=\"p\">,<\/span> <span class=\"s2\">&#34;organism_index&#34;<\/span><span class=\"p\">:<\/span> <span class=\"kc\">None<\/span><span class=\"p\">},<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"k\">return<\/span> <span class=\"n\">loss_dict<\/span><span class=\"p\">[<\/span><span class=\"s2\">&#34;loss&#34;<\/span><span class=\"p\">]<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\">\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">loss<\/span><span class=\"p\">,<\/span> <span class=\"n\">grads<\/span> <span class=\"o\">=<\/span> <span class=\"n\">jax<\/span><span class=\"o\">.<\/span><span class=\"n\">value_and_grad<\/span><span class=\"p\">(<\/span><span class=\"n\">loss_inner<\/span><span class=\"p\">)(<\/span><span class=\"n\">params<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">updates<\/span><span class=\"p\">,<\/span> <span class=\"n\">new_opt_state<\/span> <span class=\"o\">=<\/span> <span class=\"n\">optimizer<\/span><span class=\"o\">.<\/span><span class=\"n\">update<\/span><span class=\"p\">(<\/span><span class=\"n\">grads<\/span><span class=\"p\">,<\/span> <span class=\"n\">opt_state<\/span><span class=\"p\">,<\/span> <span class=\"n\">params<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"n\">new_params<\/span> <span class=\"o\">=<\/span> <span class=\"n\">optax<\/span><span class=\"o\">.<\/span><span class=\"n\">apply_updates<\/span><span class=\"p\">(<\/span><span class=\"n\">params<\/span><span class=\"p\">,<\/span> <span class=\"n\">updates<\/span><span class=\"p\">)<\/span>\n<\/span><\/span><span class=\"line\"><span class=\"cl\"> <span class=\"k\">return<\/span> <span class=\"n\">new_params<\/span><span class=\"p\">,<\/span> <span class=\"n\">new_opt_state<\/span><span class=\"p\">,<\/span> <span class=\"n\">loss<\/span><\/span><\/span><\/code><\/pre><\/div>\n<\/div>\n<hr>\n<h2 id=\"conclusion--bridging-genome-scale-models-and-perturbation-assays\">Conclusion \u2014 bridging genome-scale models and perturbation assays\n<\/h2><p>Foundation sequence-to-function models are built for megabase context and genome-wide prediction. We show that their most transferable asset is much smaller: the convolutional encoder that learns <em>cis<\/em>-regulatory grammar.<\/p>\n<p>By isolating this module, we:<\/p>\n<ul>\n<li>\n<p>repurpose genome-scale pretrained representations for 100\u2013300 bp perturbation sequences<\/p>\n<\/li>\n<li>\n<p>eliminate unnecessary long-range context machinery in assays that isolate regulatory elements<\/p>\n<\/li>\n<li>\n<p>achieve state-of-the-art MPRA, STARR-seq and CAGI5 benchmark performance<\/p>\n<\/li>\n<li>\n<p>reduce inference cost by orders of magnitude<\/p>\n<\/li>\n<li>\n<p>generalise the approach across architectures<\/p>\n<\/li>\n<\/ul>\n<p>Despite being trained on ~1 Mb inputs, the AlphaGenome encoder adapts cleanly to &gt;=128 bp sequences \u2014 matching the scale at which <em>cis<\/em>-regulatory logic operates in perturbation assays.<\/p>\n\n <blockquote>\n <p>This reframes foundation genomics models not as monolithic predictors, but as modular regulatory representation engines that can be embedded directly into perturbation, design, and variant-effect workflows.<\/p>\n\n <\/blockquote>\n<h3 id=\"code-1\">Code\n<\/h3><p>Implementation and reproducible experiments:\n<a class=\"link\" href=\"https:\/\/github.com\/Al-Murphy\/alphagenome_FT_MPRA\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/Al-Murphy\/alphagenome_FT_MPRA<\/a><\/p>\n<p>AlphaGenome encoder fine-tuning utilities:\n<a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/alphagenome_ft\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/github.com\/genomicsxai\/alphagenome_ft<\/a><\/p>\n<hr>\n<h2 id=\"hyperparameter-sweep-results\">Hyperparameter sweep results\n<\/h2><h3 id=\"stage-1\">Stage 1\n<\/h3><p>Stage 1 was a hyperparameter sweep for lentiMPRA with a frozen encoder (probing regime). The performance shown is batch-averaged Pearson R (not Pearson R over the hole set so will often be lower) on the <strong>validation set<\/strong>. Note that the optimal hyperparameters were used as a starting point for a cell type-specific iterative greedy search.<\/p>\n<p>We varied the prediction head architecture and training hyperparameters while keeping encoder weights fixed. Note no reverse complement or random shift augementations were used for this benchmark. mlp-X-Y denotes a two-layer multilayer perceptron head with hidden dimensions X and Y; mlp-X denotes a single hidden layer of size X; pool-flatten uses global pooling followed by flattening; pool-center extracts the central token representation; do-p indicates dropout rate p applied to the head; wd-1eK indicates weight decay of $10^{-K}$; lr-plateau and lr-cosine denote ReduceLROnPlateau and cosine annealing learning rate schedules, respectively; opt-adamw indicates the AdamW optimiser; act-gelu replaces the default activation with GELU. Baseline used a single multilayer perceptron head of size 1024 with sum pooling, Adam optimiser and RELU activation, and no dropout, weight decay or learning rate plateau. Performance is reported as Pearson correlation on the held-out test fold for HepG2, K562, and WTC11, with average performance and rank across cell types.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Hyperparameter<\/th>\n\t\t\t\t\t<th>HepG2<\/th>\n\t\t\t\t\t<th>K562<\/th>\n\t\t\t\t\t<th>WTC11<\/th>\n\t\t\t\t\t<th>Average<\/th>\n\t\t\t\t\t<th>Rank<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>pool-flatten<\/td>\n\t\t\t\t\t<td><strong>0.8536<\/strong><\/td>\n\t\t\t\t\t<td><strong>0.8253<\/strong><\/td>\n\t\t\t\t\t<td><strong>0.7727<\/strong><\/td>\n\t\t\t\t\t<td><strong>0.8172<\/strong><\/td>\n\t\t\t\t\t<td>1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-512-256<\/td>\n\t\t\t\t\t<td>0.8495<\/td>\n\t\t\t\t\t<td>0.8239<\/td>\n\t\t\t\t\t<td>0.7698<\/td>\n\t\t\t\t\t<td>0.8144<\/td>\n\t\t\t\t\t<td>2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-256-256<\/td>\n\t\t\t\t\t<td>0.8501<\/td>\n\t\t\t\t\t<td>0.8216<\/td>\n\t\t\t\t\t<td>0.7697<\/td>\n\t\t\t\t\t<td>0.8138<\/td>\n\t\t\t\t\t<td>3<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-512-512<\/td>\n\t\t\t\t\t<td>0.8482<\/td>\n\t\t\t\t\t<td>0.8234<\/td>\n\t\t\t\t\t<td>0.7694<\/td>\n\t\t\t\t\t<td>0.8137<\/td>\n\t\t\t\t\t<td>4<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-128<\/td>\n\t\t\t\t\t<td>0.8498<\/td>\n\t\t\t\t\t<td>0.8209<\/td>\n\t\t\t\t\t<td>0.7676<\/td>\n\t\t\t\t\t<td>0.8128<\/td>\n\t\t\t\t\t<td>5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>pool-center<\/td>\n\t\t\t\t\t<td>0.8476<\/td>\n\t\t\t\t\t<td>0.8205<\/td>\n\t\t\t\t\t<td>0.7666<\/td>\n\t\t\t\t\t<td>0.8116<\/td>\n\t\t\t\t\t<td>6<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>do-0.5<\/td>\n\t\t\t\t\t<td>0.8482<\/td>\n\t\t\t\t\t<td>0.8194<\/td>\n\t\t\t\t\t<td>0.7670<\/td>\n\t\t\t\t\t<td>0.8115<\/td>\n\t\t\t\t\t<td>7<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-256<\/td>\n\t\t\t\t\t<td>0.8479<\/td>\n\t\t\t\t\t<td>0.8180<\/td>\n\t\t\t\t\t<td>0.7645<\/td>\n\t\t\t\t\t<td>0.8101<\/td>\n\t\t\t\t\t<td>8<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>do-0.1<\/td>\n\t\t\t\t\t<td>0.8477<\/td>\n\t\t\t\t\t<td>0.8190<\/td>\n\t\t\t\t\t<td>0.7636<\/td>\n\t\t\t\t\t<td>0.8101<\/td>\n\t\t\t\t\t<td>9<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-2048<\/td>\n\t\t\t\t\t<td>0.8467<\/td>\n\t\t\t\t\t<td>0.8159<\/td>\n\t\t\t\t\t<td>0.7674<\/td>\n\t\t\t\t\t<td>0.8100<\/td>\n\t\t\t\t\t<td>10<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>do-0.4<\/td>\n\t\t\t\t\t<td>0.8470<\/td>\n\t\t\t\t\t<td>0.8179<\/td>\n\t\t\t\t\t<td>0.7641<\/td>\n\t\t\t\t\t<td>0.8097<\/td>\n\t\t\t\t\t<td>11<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>wd-1e6<\/td>\n\t\t\t\t\t<td>0.8466<\/td>\n\t\t\t\t\t<td>0.8152<\/td>\n\t\t\t\t\t<td>0.7670<\/td>\n\t\t\t\t\t<td>0.8096<\/td>\n\t\t\t\t\t<td>12<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-512<\/td>\n\t\t\t\t\t<td>0.8452<\/td>\n\t\t\t\t\t<td>0.8169<\/td>\n\t\t\t\t\t<td>0.7661<\/td>\n\t\t\t\t\t<td>0.8094<\/td>\n\t\t\t\t\t<td>13<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>do-0.2<\/td>\n\t\t\t\t\t<td>0.8471<\/td>\n\t\t\t\t\t<td>0.8166<\/td>\n\t\t\t\t\t<td>0.7644<\/td>\n\t\t\t\t\t<td>0.8094<\/td>\n\t\t\t\t\t<td>14<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>do-0.3<\/td>\n\t\t\t\t\t<td>0.8458<\/td>\n\t\t\t\t\t<td>0.8172<\/td>\n\t\t\t\t\t<td>0.7637<\/td>\n\t\t\t\t\t<td>0.8089<\/td>\n\t\t\t\t\t<td>15<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>wd-1e4<\/td>\n\t\t\t\t\t<td>0.8459<\/td>\n\t\t\t\t\t<td>0.8145<\/td>\n\t\t\t\t\t<td>0.7647<\/td>\n\t\t\t\t\t<td>0.8084<\/td>\n\t\t\t\t\t<td>16<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;&mdash;&mdash;<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;-<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>baseline-default<\/td>\n\t\t\t\t\t<td>0.8458<\/td>\n\t\t\t\t\t<td>0.8150<\/td>\n\t\t\t\t\t<td>0.7639<\/td>\n\t\t\t\t\t<td>0.8082<\/td>\n\t\t\t\t\t<td>17<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;&mdash;&mdash;<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;-<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>opt-adamw<\/td>\n\t\t\t\t\t<td>0.8458<\/td>\n\t\t\t\t\t<td>0.8150<\/td>\n\t\t\t\t\t<td>0.7635<\/td>\n\t\t\t\t\t<td>0.8081<\/td>\n\t\t\t\t\t<td>19<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>nl-1024<\/td>\n\t\t\t\t\t<td>0.8458<\/td>\n\t\t\t\t\t<td>0.8150<\/td>\n\t\t\t\t\t<td>0.7635<\/td>\n\t\t\t\t\t<td>0.8081<\/td>\n\t\t\t\t\t<td>19<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>wd-1e5<\/td>\n\t\t\t\t\t<td>0.8459<\/td>\n\t\t\t\t\t<td>0.8152<\/td>\n\t\t\t\t\t<td>0.7632<\/td>\n\t\t\t\t\t<td>0.8081<\/td>\n\t\t\t\t\t<td>19<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>act-gelu<\/td>\n\t\t\t\t\t<td>0.8431<\/td>\n\t\t\t\t\t<td>0.8168<\/td>\n\t\t\t\t\t<td>0.7576<\/td>\n\t\t\t\t\t<td>0.8058<\/td>\n\t\t\t\t\t<td>21<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<h3 id=\"stage-2\">Stage 2\n<\/h3><p>Stage 2 was a hyperparameter sweep for lentiMPRA with encoder unfreezing (fine-tuning regime). The performance shown is batch-averaged Pearson R (not Pearson R over the hole set so will often be lower) on the <strong>validation set<\/strong>. Note that the optimal choices were not used from this sweep to ensure optimal performance of the stage 1 (frozen base) models.<\/p>\n<p>Starting from the best Stage 1 configuration, we varied the unfreezing schedule. s2-s1epN denotes unfreezing the encoder after N epochs of head-only training; s2-baseline denotes the default unfreezing schedule used in the main experiments (unfreezing triggered by validation loss plateau). Baseline used a single multilayer perceptron head of size 1024 with sum pooling, Adam optimiser and RELU activation, and no dropout, weight decay or learning rate plateau. All models used reverse complement and random shift augmentations. Performance is reported as Pearson correlation on the held-out test fold for HepG2, K562, and WTC11, with average performance and rank across cell types.<\/p>\n<table>\n\t<thead>\n\t\t\t<tr>\n\t\t\t\t\t<th>Hyperparameter<\/th>\n\t\t\t\t\t<th>HepG2<\/th>\n\t\t\t\t\t<th>K562<\/th>\n\t\t\t\t\t<th>WTC11<\/th>\n\t\t\t\t\t<th>Average<\/th>\n\t\t\t\t\t<th>Rank<\/th>\n\t\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\t<td>s2-s1ep1<\/td>\n\t\t\t\t\t<td><strong>0.8720<\/strong><\/td>\n\t\t\t\t\t<td><strong>0.8437<\/strong><\/td>\n\t\t\t\t\t<td><strong>0.7754<\/strong><\/td>\n\t\t\t\t\t<td><strong>0.8304<\/strong><\/td>\n\t\t\t\t\t<td>1<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>s2-s1ep2<\/td>\n\t\t\t\t\t<td>0.8709<\/td>\n\t\t\t\t\t<td>0.8432<\/td>\n\t\t\t\t\t<td>0.7731<\/td>\n\t\t\t\t\t<td>0.8291<\/td>\n\t\t\t\t\t<td>2<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>s2-s1ep3<\/td>\n\t\t\t\t\t<td>0.8689<\/td>\n\t\t\t\t\t<td>0.8417<\/td>\n\t\t\t\t\t<td>0.7706<\/td>\n\t\t\t\t\t<td>0.8271<\/td>\n\t\t\t\t\t<td>3<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>s2-s1ep5<\/td>\n\t\t\t\t\t<td>0.8695<\/td>\n\t\t\t\t\t<td>0.8396<\/td>\n\t\t\t\t\t<td>0.7691<\/td>\n\t\t\t\t\t<td>0.8261<\/td>\n\t\t\t\t\t<td>4<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>s2-s1ep4<\/td>\n\t\t\t\t\t<td>0.8686<\/td>\n\t\t\t\t\t<td>0.8413<\/td>\n\t\t\t\t\t<td>0.7668<\/td>\n\t\t\t\t\t<td>0.8256<\/td>\n\t\t\t\t\t<td>5<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;&mdash;&mdash;<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;&mdash;&mdash;-<\/td>\n\t\t\t\t\t<td>&mdash;-<\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t\t<td>s2-baseline-es<\/td>\n\t\t\t\t\t<td>0.8624<\/td>\n\t\t\t\t\t<td>0.8362<\/td>\n\t\t\t\t\t<td>0.7688<\/td>\n\t\t\t\t\t<td>0.8225<\/td>\n\t\t\t\t\t<td>6<\/td>\n\t\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<h2 id=\"references\">References\n<\/h2><ol>\n<li>Avsec, \u017d. et al. Advancing regulatory variant effect prediction with alphagenome., 649, Nature (2026).<\/li>\n<li>Avsec, \u017d. et al. Effective gene expression prediction from sequence by integrating long-range interactions., 18, Nat. methods (2021).<\/li>\n<li>Agarwal, V. et al. Massively parallel characterization of transcriptional regulatory elements., 639, Nature (2025).<\/li>\n<li>de Almeida, B. P., Reiter, F., Pagani, M. &amp; Stark, A. Deepstarr predicts enhancer activity from dna sequence and enables thede novo design of synthetic enhancers., 54, Nat. genetics (2022).<\/li>\n<li>of Genome Interpretation Consortium, T. C. A. Cagi, the critical assessment of genome interpretation, establishes progress and prospects for computational genetic variant interpretation methods., 25, Genome biology (2024).<\/li>\n<li>Rafi, A. M. et al. A community effort to optimize sequence-based deep learning models of gene regulation., 43, Nat. biotechnology (2025).<\/li>\n<li>Lal, A., Garfield, D., Biancalani, T. &amp; Eraslan, G. Designing realistic regulatory dna with autoregressive language models., 34, Genome Res. (2024).<\/li>\n<li>Alan Murphy, Masayuki Nagai, Alejandro Buendia, Anshul Kundaje, Peter Koo. &ldquo;Fine-tuning AlphaGenome in native JAX\/Haiku.&rdquo; Genomics \u00d7 AI Blog, 25 February 2026. <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-003\/\" target=\"_blank\" rel=\"noopener\"\n >https:\/\/genomicsxai.github.io\/blogs\/2026-003\/<\/a>.<\/li>\n<\/ol>\n"},{"title":"Welcome to the Genomics \u00d7 AI Blog","link":"https:\/\/genomicsxai.github.io\/blogs\/2026-001\/","pubDate":"Thu, 19 Feb 2026 00:00:00 +0000","guid":"https:\/\/genomicsxai.github.io\/blogs\/2026-001\/","description":"<img src=\"https:\/\/genomicsxai.github.io\/\" alt=\"Featured image of post Welcome to the Genomics \u00d7 AI Blog\" \/>\n\t\t<figure><a href=\"https:\/\/genomicsxai.github.io\/blogs\/2026-001\/genomics_x_ai_title.png\" class=\"image-link\" data-pswp-width=\"1536\" data-pswp-height=\"1024\">\n\t\t<img src=\"https:\/\/genomicsxai.github.io\/blogs\/2026-001\/genomics_x_ai_title.png.optimized.webp\" width=\"400px\" height=\"266\"loading=\"lazy\"\n\t\t\talt=\"Genomics \u00d7 AI\"\n\t\t\t>\n\t\t<\/a><figcaption>Genomics \u00d7 AI<\/figcaption><\/figure><h2 id=\"welcome-to-the-genomics--ai-blog\">Welcome to the <strong>Genomics \u00d7 AI<\/strong> blog.\n<\/h2><p>We created this space for the community to use to share short, opinionated blog posts about how genomics and machine learning actually get done in real labs: what works, what doesn\u2019t, and the ideas we\u2019re still testing. Posts will be written in Git, reviewed internally within your lab, editorially reviewed in public, and published only when an editor is happy with them\u2014so every article has a clear history and a clear home.<\/p>\n<p><strong>Note:<\/strong> This is to disseminate ideas, incremental results, negative results and tutorials quickly using blog posts as a more personalised, free-form format.<\/p>\n<p>If you\u2019d like to contribute, start by reading the <a class=\"link\" href=\"https:\/\/genomicsxai.github.io\/submission-guidelines\/\" >Submission Guidelines<\/a> and opening a discussion with us on <a class=\"link\" href=\"https:\/\/github.com\/genomicsxai\/genomicsxai.github.io\/discussions\" target=\"_blank\" rel=\"noopener\"\n >GitHub Discussions<\/a>.<\/p>\n"}]}}