Abstract
We consider controllable DNA sequence design, where sequences are generated by conditioning on specific biological properties. While language models (LMs) such as GPT and BERT have achieved remarkable success in natural language generation, their application to DNA sequence generation remains largely underexplored. In this work, we introduce ATGC-Gen, an Automated Transformer Generator for Controllable Generation, which leverages cross-modal encoding to integrate diverse biological signals. ATGC-Gen is instantiated with both decoder-only and encoder-only transformer architectures, allowing flexible training and generation under either autoregressive or masked recovery objectives. We evaluate ATGC-Gen on representative tasks including promoter and enhancer sequence design, and further introduce a new dataset based on ChIP-Seq experiments for modeling protein binding specificity. Our experiments demonstrate that ATGC-Gen can generate fluent, diverse, and biologically relevant sequences aligned with the desired properties. Compared to prior methods, our model achieves notable improvements in controllability and functional relevance, highlighting the potential of language models in advancing programmable genomic design.
Introduction: The Challenge of Controllable DNA Design
In the field of synthetic biology, the ability to design DNA sequences with precise functional properties is a cornerstone of genomic engineering. Whether the goal is to create synthetic promoters that initiate transcription under specific conditions or enhancers that modulate gene expression in particular cell types, the task is one of controllable generation.
Historically, generative models such as Diffusion and Flow Matching have been applied to this problem. However, these models often struggle with the discrete, symbolic nature of the genetic code (A, T, G, C). Furthermore, integrating complex, multi-modal biological signals—such as the structural information of a protein or the specific environment of a cell—remains a significant hurdle for continuous-space models. This paper argues that Language Models (LMs), which have revolutionized natural language processing by excelling at discrete token manipulation and capturing long-range dependencies, are a natural fit for programmable genomic design.
The ATGC-Gen Framework
The researchers introduce ATGC-Gen (Automated Transformer Generator for Controllable Generation), a framework designed to bridge the gap between biological properties and DNA sequence generation. ATGC-Gen is implemented in two primary architectural "flavors" to suit different genomic tasks:
- ATGC-Gen-GPT (Decoder-only): This version generates DNA autoregressively, predicting one base at a time from left to right. It is particularly well-suited for tasks involving variable-length sequences and global functional constraints, such as enhancer design.
- ATGC-Gen-Bert (Encoder-only): Utilizing masked language modeling, this version "fills in" masked bases within a sequence. It excels in tasks where precise, base-by-base alignment with a biological signal is required, such as promoter design where transcription initiation sites must be accurately positioned.
Cross-Modal Integration
To achieve controllability, ATGC-Gen employs two sophisticated integration strategies shown in the model architecture:
- Sequence-level Integration: Biological properties, such as a specific cell type, are treated as a "global prefix" or prompt. This allows the model to condition its entire generation process on a high-level biological context.
- Feature-level Integration: For fine-grained signals, such as the likelihood of transcription at every single base pair, the model concatenates these signals directly with the DNA embeddings.
Benchmarking and Datasets
The effectiveness of ATGC-Gen was evaluated across three major genomic benchmarks:
- Promoter Design: Utilizing a dataset of 100,000 human promoter sequences, the models were tasked with generating sequences that match specific transcription initiation profiles.
- Enhancer Design: The study used datasets from fly brains and human melanoma cells to test the model's ability to generate cell-type-specific regulatory elements.
- ChIP-Seq (New Benchmark): A significant contribution of this work is the curation of a new, large-scale dataset derived from ENCODE project experiments. This dataset contains over 55,000 high-quality sequences representing the binding of 62 different transcription factors across various cell types, specifically designed to test protein-DNA binding specificity.
Key Results and Insights
The experimental results highlight the superiority of Transformer-based LMs over existing diffusion-based methods in several key areas.
Accuracy and Biological Relevance
In promoter design, ATGC-Gen-Bert achieved a Mean Squared Error (MSE) of 0.0192, outperforming the best diffusion baseline (D3) which scored 0.0219. For enhancer generation, ATGC-Gen-GPT demonstrated remarkable biological relevance, achieving a Fréchet Biological Distance (FBD) of 0.5080, nearly doubling the performance of the previous state-of-the-art Dirichlet Flow Matching model (1.0404).
The Concept of Biological "Fluency"
A unique aspect of this research is the evaluation of "fluency." By using the perplexity of a pre-trained genomic model (HyenaDNA) as a proxy, the authors found that ATGC-Gen produces sequences that not only function correctly but also "look" like real DNA. This suggests that the model has successfully captured the underlying "grammar" and structural motifs of the human genome.
Task-Specific Architectures
The study found that the choice of architecture is task-dependent. BERT-style models are superior for promoters due to their ability to consider the entire sequence context simultaneously for precise alignment. In contrast, GPT-style models are better for enhancers and ChIP-Seq tasks where global properties and variable sequence lengths are more critical.
Conclusion and Future Directions
ATGC-Gen demonstrates that Language Models are a powerful and "native" tool for DNA design. By treating the genome as a language and biological properties as prompts, researchers can achieve unprecedented control over synthetic DNA generation.
While the results are promising, the authors acknowledge challenges such as the high computational cost of training large Transformers and the slower inference speed of autoregressive models. Future work will focus on optimizing these models for efficiency and integrating "wet-lab" feedback loops through active learning to ensure that the computationally "fluent" sequences are equally functional in living biological systems.
Summary updated