Ctrl-DNA: Controllable Cell-Type-Specific Regulatory DNA Design via Constrained RL

Xingyu Chen, Shihao Ma, Runsheng Lin, Jiecong Lin, Bo Wang

Introduction

In the fields of synthetic biology and precision medicine, the ability to control gene expression with high spatial and temporal precision is a foundational requirement. This control is primarily mediated by Cis-Regulatory Elements (CREs), such as promoters and enhancers, which act as biological switches. For gene therapies to be both safe and effective, these switches must be "cell-type-specific"—activating a therapeutic gene only in target cells (e.g., hepatocytes in the liver) while remaining strictly inactive in off-target tissues to prevent systemic toxicity.

Designing these sequences manually is a daunting task due to the astronomical search space; even a modest 100-base pair sequence presents $4^{100}$ possible combinations. Furthermore, existing computational methods often prioritize "activity" (the strength of the signal) over "specificity" (the precision of the signal). To address these challenges, we present Ctrl-DNA, a novel reinforcement learning (RL) framework designed to engineer synthetic DNA sequences with surgical precision.

The Ctrl-DNA Framework

Ctrl-DNA treats the design of regulatory DNA as a Constrained Reinforcement Learning problem. Unlike standard generative models that attempt to maximize a single reward, Ctrl-DNA balances multiple competing objectives: maximizing activity in a target cell type while keeping activity in off-target cell types below a safe threshold.

Constrained Optimization via Lagrangian Relaxation

To navigate the trade-off between activity and specificity, Ctrl-DNA utilizes Lagrangian relaxation. This mathematical approach introduces multipliers that penalize the model if the generated DNA shows activity in off-target cell types above a predefined limit. By solving for the saddle point of the Lagrangian function, the model dynamically adjusts its design strategy—if a sequence becomes too active in a non-target cell, the penalty increases, forcing the model to prioritize specificity in the next iteration.

Value-Model-Free RL (GRPO)

Traditional RL architectures, such as Actor-Critic models, require training a separate "value model" to estimate future rewards. This is often computationally expensive and unstable when applied to discrete genomic sequences. Ctrl-DNA adopts a batch-level variant of Group Relative Policy Optimization (GRPO). By calculating "advantages" through a comparison of sequences within the same training batch, the framework achieves state-of-the-art performance without the overhead of a value model.

Biological Regularization

To ensure that the AI does not engage in "reward hacking"—generating nonsensical sequences that happen to trick the predictor—the authors integrated biological regularization. This is achieved by enforcing a reward based on Transcription Factor Binding Site (TFBS) frequency. By aligning the generated sequences with known biological motifs found in the human genome (using the JASPAR 2024 database), the model produces sequences that are not only high-performing but also biologically plausible.

Experimental Setup

The framework was built by fine-tuning HyenaDNA, a large-scale genomic language model pre-trained on the human genome. The model was evaluated across two primary benchmarks:

  1. Human Enhancer Dataset: 200bp sequences evaluated across HepG2 (liver), K562 (blood), and SK-N-SH (brain) cell lines.
  2. Human Promoter Dataset: 250bp sequences tested across three leukemia-derived cell lines: JURKAT, K562, and THP1.

Key Results and Insights

Ctrl-DNA consistently outperformed existing baselines, including evolutionary algorithms (AdaLead), generative models (RegLM), and standard RL approaches (PPO, TACO).

  • Superior Specificity: In the HepG2 liver cell task, Ctrl-DNA achieved a Reward Difference ($\Delta R$) of 0.49, significantly outperforming the next best baseline (0.16). This metric demonstrates the model's unique ability to "widen the gap" between target and off-target activity.
  • Automated Discovery of Biological Motifs: The model successfully identified cell-type-specific biological logic without explicit instruction. For instance, sequences designed for liver cells were naturally enriched with HNF4A motifs, while blood-cell sequences (K562) favored GATA1 motifs, aligning perfectly with established biological knowledge.
  • Sequence Diversity: Despite the strict constraints imposed by the Lagrangian multipliers, Ctrl-DNA maintained high sequence diversity. This indicates that the model explores a wide variety of genetic "solutions" rather than converging on a single repetitive sequence.

Limitations and Future Directions

While Ctrl-DNA represents a significant leap forward, some challenges remain. The authors noted that data skew in certain datasets (such as the THP1 promoter set) makes it difficult for any model to achieve high specificity when natural sequences in that set are inherently active across multiple cell types.

Currently, the framework is optimized for autoregressive models that generate DNA base-by-base. Future work may involve extending these constrained RL principles to diffusion-based models. Additionally, while the Lagrangian multipliers are highly effective, they currently require empirical tuning; moving toward automated, adaptive control methods (such as PID controllers) could further streamline the design process.

Conclusion

Ctrl-DNA demonstrates that constrained reinforcement learning is a powerful tool for synthetic biology. By mathematically balancing the need for high activity with the necessity of cell-type specificity, Ctrl-DNA provides a robust path toward the design of safer, more effective regulatory elements for the next generation of gene therapies.

Summary updated

BibTeX
@inproceedings{chen2025ctrl,
  author = {Xingyu Chen and Shihao Ma and Runsheng Lin and Jiecong Lin and BO WANG},
  title = {{Ctrl-DNA: Controllable Cell-Type-Specific Regulatory DNA Design via Constrained RL}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=JeXkIy0JyM},
}
Figure