Joint protein-DNA language modeling enables prediction and engineering of DNA recognition specificity
Protein-DNA recognition specificity underlies transcriptional regulation, DNA replication, chromatin remodeling and genome editing. Protein-DNA recognition depends on both interacting sequences, yet language models that learn this cross-molecular dependence explicitly during pretraining remain limited. Here, we developed the Protein-DNA Language Models (PDLMs), interaction-aware language models that jointly represent protein and DNA sequences. PDLMs were built by continued pretraining from ESM2 with masked language modeling on paired protein-DNA sequences. A shared encoder places amino acids and nucleotides in the same molecular context, enabling conditional sequence scoring and transferable pair representations. We further introduced a domain-aware masking strategy that increased masking probability within DNA-binding domains to strengthen learning of interaction-relevant regions. Across downstream tasks, PDLMs improved protein-DNA pair classification relative to independent-encoder baselines and supported prediction of mutation-associated binding changes. Zero-shot scoring recovered known changes in DNA-recognition specificity and prioritized variants with higher editing activity. Learned representations also supported cross-study prediction of base editor activity. After fine-tuning on transcription factor binding data, PDLMs predicted DNA motifs directly from protein sequences. Together, PDLMs provide a framework for interaction-aware biomolecular language modeling, with potential applications in protein engineering and genome editing.
Authors
- Wensheng Wei (ORCID: https://orcid.org/0000-0002-8053-2423)
- Jun Li (ORCID: https://orcid.org/0000-0003-1613-9448)
- Jiwu Ren
- Yangfang Xiong (ORCID: https://orcid.org/0009-0002-5724-5159)
- Xiaoyu Li
- Xiaoxu Wei
Institutions
- Peking University (CN)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-06
- DOI
- https://doi.org/10.64898/2026.11.05.763984
- Primary Topic
- Machine Learning in Bioinformatics
- Type
- preprint
Funders
- National Natural Science Foundation of China
- Peking University