Inferensys

Glossary

Enformer

Enformer is a deep convolutional neural network architecture from DeepMind that predicts gene expression and epigenomic tracks directly from DNA sequence by integrating long-range interactions up to 200 kilobases away.
Architect reviewing LLM integration architecture on laptop, system diagrams visible, modern technical office setup.
GENE EXPRESSION PREDICTION

What is Enformer?

Enformer is a deep convolutional neural network architecture that predicts gene expression and epigenomic tracks directly from DNA sequence by integrating long-range interactions up to 200 kilobases away.

Enformer is a deep learning model from DeepMind that predicts gene expression and epigenomic profiles directly from raw DNA sequence. It extends the Basenji architecture by replacing standard convolutions with dilated convolutions and transformer attention blocks, enabling an expansive receptive field that captures distal regulatory interactions, such as enhancer-promoter contacts, across 200 kilobases.

The model employs a multi-task learning paradigm, simultaneously predicting thousands of human and mouse epigenomic tracks, including CAGE, ChIP-seq, and DNase-seq. By accurately modeling long-range cis-regulatory effects, Enformer substantially improves the prediction of expression quantitative trait loci (eQTLs) and the functional impact of genetic variants on transcript abundance.

Enformer

Key Architectural Features

The architectural innovations that enable Enformer to predict gene expression and epigenomic tracks by integrating long-range DNA interactions up to 200 kilobases away.

01

Dilated Convolutional Tower

Enformer replaces standard convolutions with dilated convolutions arranged in an exponential tower. Each layer's dilation rate doubles, allowing the receptive field to expand to 200 kb without a proportional increase in parameters. This design captures distal enhancer-promoter interactions that shorter-range models like Basenji2 miss. The tower processes raw one-hot encoded DNA sequence (196,608 base pairs) through 7 convolutional blocks, each with progressively larger dilation gaps.

200 kb
Receptive Field
7
Dilated Blocks
02

Multi-Task Prediction Heads

Enformer simultaneously predicts 5,313 human genomic tracks and 1,643 mouse genomic tracks in a single forward pass. These tracks span diverse data types:

  • CAGE-seq: Cap Analysis Gene Expression for transcription start site activity
  • ChIP-seq: Histone modification and transcription factor binding
  • DNase-seq: Chromatin accessibility This multi-task setup forces shared representations to learn universal regulatory grammar, improving generalization across tissues and assays.
5,313
Human Tracks
1,643
Mouse Tracks
03

Transformer Attention Bottleneck

After the convolutional tower, Enformer applies multi-head self-attention layers to model long-range dependencies that even dilated convolutions may miss. The attention mechanism allows each genomic position to directly attend to every other position within the 200 kb window, capturing 3D chromatin looping and topologically associating domain (TAD) structures. This hybrid CNN-Transformer design combines the inductive bias of convolutions for local motif detection with the global context of attention.

8
Attention Heads
196,608
Input Length (bp)
04

Species-Agnostic Embedding

Enformer's architecture is trained jointly on human and mouse genomes without explicit species labels. The model learns cross-species regulatory representations that transfer between organisms, enabling predictions of conserved regulatory elements. This design leverages evolutionary conservation as a natural regularizer: functional elements that appear in both species are reinforced during training, while species-specific noise is suppressed. The shared embedding space facilitates in silico cross-species variant effect prediction.

2
Species (Human + Mouse)
Joint
Training Strategy
05

Poisson Regression Output Layer

Enformer's final layer uses a Poisson loss function to model count-based sequencing data. Unlike mean squared error, Poisson regression properly handles the heteroscedastic noise inherent in genomic assays—where variance scales with expression level. Each track's output is a single scalar per 128-bp bin, predicting the expected read count. This statistical framing allows Enformer to naturally handle zero-inflated data common in single-cell and low-coverage epigenomic assays.

128 bp
Bin Resolution
Poisson
Loss Function
06

Causal Variant Effect Prediction

Enformer enables in silico mutagenesis by systematically mutating every nucleotide in a sequence and measuring the predicted change across all output tracks. This produces saturation mutagenesis maps that reveal regulatory motifs and predict the functional impact of non-coding variants. The model's 200 kb context window captures distal effects that shorter-range models miss, making it particularly effective for expression quantitative trait locus (eQTL) variant prioritization and rare disease diagnosis.

200 kb
Variant Context Window
Per-Nucleotide
Mutagenesis Resolution
UNDERSTANDING ENFORMER

Frequently Asked Questions

Clear, technical answers to the most common questions about DeepMind's Enformer architecture for predicting gene expression and epigenomic profiles directly from DNA sequence.

Enformer is a deep convolutional neural network architecture developed by DeepMind that predicts gene expression and epigenomic tracks directly from raw DNA sequence by integrating long-range regulatory interactions up to 200 kilobases (kb) away. It works by processing a one-hot encoded DNA sequence through a series of convolutional layers and transformer self-attention blocks. The convolutional layers first detect local sequence motifs, such as transcription factor binding sites. The transformer blocks then model distal interactions between these regulatory elements and gene promoters. This hybrid architecture allows Enformer to capture the effects of enhancers on gene expression even when they are located far from the transcription start site. The model outputs predicted coverage tracks for thousands of genomic assays, including CAGE-seq expression data and DNase-seq chromatin accessibility profiles, across multiple human and mouse cell types and tissues simultaneously using a multi-task learning paradigm.

ARCHITECTURE COMPARISON

Enformer vs. Basenji2 vs. Expecto

Comparative analysis of three deep learning architectures for predicting gene expression directly from DNA sequence, highlighting differences in receptive field, model design, and output resolution.

FeatureEnformerBasenji2Expecto

Architecture Type

Convolutional + Transformer

Dilated Convolutional

Convolutional + LSTM

Maximum Receptive Field

200 kb

131 kb

40 kb

Input Sequence Length

196,608 bp

131,072 bp

40,000 bp

Output Resolution

128 bp bins

128 bp bins

200 bp bins

Prediction Tracks

5,313 (human)

4,229 (human)

2,002 (human)

Multi-Species Support

Attention Mechanism

Training Data

ENCODE + GTEx

ENCODE + Roadmap

Roadmap Epigenomics

Open Source Weights

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.