TL;DR
ATGC-Gen adapts transformer language models—in both autoregressive (GPT) and masked (BERT) flavors—for controllable, property-guided DNA sequence generation. By pairing discrete sequence modeling with cross-modal conditioning (e.g., cell types, protein embeddings, base-resolution activity profiles), it significantly outperforms diffusion and flow-matching baselines across promoter, enhancer, and protein-binding design tasks.
What Problem Does This Paper Address?
Generating random DNA is straightforward, but synthetic biology requires controllable design: generating sequences that elicit precise biological behaviors, such as activating transcription in a specific cell type or binding to a target regulatory protein.
Recent research has leaned heavily toward continuous diffusion models and flow matching. While powerful, these frameworks require ad-hoc discretization tricks to handle discrete, symbolic DNA sequences and often struggle with variable sequence lengths. In contrast, language models (LMs) naturally model discrete sequences, yet their potential for multi-modal, condition-steered DNA generation has remained largely under-explored.
Methods
The authors introduce ATGC-Gen, a framework that unifies cross-modal conditioning with language modeling architectures:
- Conditioning Mechanisms:
- Sequence-level integration (global properties): Global biological contexts (such as cell-type classes or ESM-2-3B protein embeddings of transcription factors) are projected into dense vectors and prepended as prefix tokens to the DNA sequence.
- Feature-level integration (per-base properties): For base-pair resolution targets (e.g., continuous transcription initiation profiles), nucleotide one-hot vectors and property features are concatenated position-wise and mapped to hidden representations.
- Architectures & Training Paradigms:
- ATGC-Gen-GPT (Decoder-only): Uses standard causal next-token cross-entropy loss, naturally supporting variable-length generation via left-to-right temperature sampling.
- ATGC-Gen-BERT (Encoder-only): Trained via masked language modeling (MLM). Generation occurs through masked recovery (either iterative or one-shot parallel unmasking) over fixed-length sequences.
Datasets
The authors benchmark ATGC-Gen across three distinct tasks:
- Promoter Generation: 100,000 human promoter sequences (1,024 bp) from GRCh38 annotated with per-base transcription initiation likelihoods.
- Enhancer Generation: Fixed-length (500 bp) regulatory sequences from fly brain (104k sequences, 81 cell classes) and human melanoma (89k sequences, 47 cell classes) derived from ATAC-seq.
- ChIP-Seq Dataset (Newly Introduced): Curated from ENCODE to benchmark variable-length generation conditioned on transcription factor proteins. It includes 55,830 sequence-protein pairs spanning 62 transcription factors in the GM12878 cell type, with protein targets encoded via ESM-2-3B embeddings.
Key Insights and Ideas
- Granularity dictates architecture choice:
- For fine-grained, per-base conditions (promoters), ATGC-Gen-BERT excels because its bidirectional attention maintains direct token-to-feature alignment across the sequence.
- For global, sequence-level conditions (enhancers, transcription factors), ATGC-Gen-GPT performs dramatically better. BERT's masked recovery struggles to propagate global prefix information across fully masked sequences.
- Stepwise refinement is essential for masked recovery: Unmasking all positions at once leads to severe functional degradation (MSE jumps to 0.0334). However, unmasking in batches (e.g., 10% per step) achieves performance comparable to unmasking one token at a time, unlocking a ~10× generation speedup.
- LMs capture realistic regulatory syntax: Beyond individual sequence metrics, motif analysis shows that generated sequences naturally incorporate combinatorial clusters of canonical transcription factor motifs (e.g., GABPA, KLF4, and YY1 occurring in >80% of generated promoters).
Key Results
- Promoter Design: ATGC-Gen-BERT achieved the state-of-the-art mean squared error (MSE = 0.0192) and Kolmogorov–Smirnov statistic (KS = 0.043), outperforming Dirichlet Flow Matching (MSE 0.0269) and D3 diffusion (MSE 0.0219) while maintaining low perplexity (Fluency = 3.59).
- Enhancer Design: ATGC-Gen-GPT cut the Fréchet Biological Distance (FBD) by more than half compared to Dirichlet Flow Matching on both fly brain (0.5080 vs. 1.0404) and melanoma (0.9228 vs. 1.9051).
- ChIP-Seq Binding: On the variable-length protein binding benchmark, ATGC-Gen-GPT achieved a binding score of 0.1176 (compared to 0.0036 for random sequences and 0.0747 without property conditioning), demonstrating true property-driven generation.
Limitations and Future Work
- Compute and Scale: Models were constrained to base sizes (~12–16 layers, 768 hidden dimension) due to compute limitations; scaling up model capacity remains open.
- Autoregressive Overhead: Left-to-right sampling incurs significant latency during large-scale evaluation.
- In Silico Evaluation: Functional validation was conducted using pretrained chromatin-profile predictors (e.g., SEI) rather than wet-lab experimental synthesis.
- Future Work: Incorporating active-learning experimental feedback loops, retrieval-augmented generation (RAG), and broader multi-tissue benchmarking.
Summary updated