English

AntigenLM: Structure-Aware DNA Language Modeling for Influenza

Genomics 2026-02-12 v1 Artificial Intelligence Computational Engineering, Finance, and Science Computation and Language

Abstract

Language models have advanced sequence analysis, yet DNA foundation models often lag behind task-specific methods for unclear reasons. We present AntigenLM, a generative DNA language model pretrained on influenza genomes with intact, aligned functional units. This structure-aware pretraining enables AntigenLM to capture evolutionary constraints and generalize across tasks. Fine-tuned on time-series hemagglutinin (HA) and neuraminidase (NA) sequences, AntigenLM accurately forecasts future antigenic variants across regions and subtypes, including those unseen during training, outperforming phylogenetic and evolution-based models. It also achieves near-perfect subtype classification. Ablation studies show that disrupting genomic structure through fragmentation or shuffling severely degrades performance, revealing the importance of preserving functional-unit integrity in DNA language modeling. AntigenLM thus provides both a powerful framework for antigen evolution prediction and a general principle for building biologically grounded DNA foundation models.

Keywords

Cite

@article{arxiv.2602.09067,
  title  = {AntigenLM: Structure-Aware DNA Language Modeling for Influenza},
  author = {Yue Pei and Xuebin Chi and Yu Kang},
  journal= {arXiv preprint arXiv:2602.09067},
  year   = {2026}
}

Comments

Accepted by ICLR 2026

R2 v1 2026-07-01T10:28:36.557Z