UGM: Unified Multi-scale Genomic Event Modeling with Site-level Joint Prediction

Jiayang Wu, Chenchen Qin, Xu Yang, Yu Zhao, Bing He, Jiale Zhou, Zhenchao Tang, Minghao Yang, Shou Zhi Chen, Yefeng Zheng, Jianhua YaoNeurIPS 2026

TL;DR

Standard genomic foundation models read DNA like a plain, static string of A, C, G, and T, leaving out the messy, dynamic mutations and chemical modifications that actually drive biology. The Unified Genomic Model (UGM) upgrades this alphabet into a 43-token vocabulary that natively weaves SNPs, methylation states, indels, and structural variants directly into the sequence. By learning how these diverse events interact across spatial scales during pretraining, UGM outperforms DNA-only models on functional variant and structural breakpoint prediction.

What Problem Does This Paper Address?

If you read a reference human genome from start to finish, you only get the baseline blueprint. Real, living biology happens in the margins: single-letter swaps (SNPs), chemical tags attached to bases (CpG methylation), short insertions or deletions (INDELs), and massive rearrangements spanning thousands of letters (structural variants, or SVs).

Right now, computational genomics lives in silos. Generalist DNA language models learn great sequence representations from reference bases alone, while specialized tools tackle methylation or SVs in isolation. Merging them into a single pretraining framework hits two immediate walls:

  1. Representational heterogeneity: How do you put a single-letter swap, a continuous methylation measurement, and a 5,000-base deletion on equal footing without losing their exact genomic coordinates?
  2. Extreme sparsity: Event-bearing sites are needles in a 3-billion-base haystack. If you just toss raw variant records into standard masked language modeling, the model spends almost all its energy reconstructing boring reference bases and barely learns anything about rare mutations.
Figure 1: Overview of UGM-Bench.

Methods

At its core, UGM uses a standard encoder-only Transformer backbone (equipped with RMSNorm, rotary embeddings, and sliding-window FlashAttention-2). The magic lies in how the authors feed and train it through three novel components:

  • Unified Event Tokenization: Anchored to the GRCh38 coordinate system, UGM translates genomic states into a 43-token vocabulary across four scales: Base (16 reference/substitution pairs like AA or CG), Atom (3 discretized CpG methylation bins: CL, CM, CH), Molecular (8 short INDEL tokens like A- or -T), and Fragment (16 start/end boundary tokens for large SVs $\ge 50$ bp, avoiding massive sequence expansion). When multiple events collide at one coordinate, a deterministic resolver picks a winner (SV/INDEL > SNP > methylation > reference).
  • Event-Balanced Pretraining: To prevent reference bases from drowning out rare variants, UGM constructs 262,144-token training segments with forced target proportions: 40% base, 25% atom, 25% molecular, and 10% fragment events. Crucially, individual-level records are locked to single donors so personal biology isn't scrambled across samples.
  • Site-Level Joint Prediction (SJP): Using a 15% masking rate, UGM predicts the exact resolved 43-way token at each masked locus using standard cross-entropy—forcing a single shared head to deduce mutations and epigenetic states from surrounding sequence and event context.
Figure 2: The UGM framework. Heterogeneous genomic events are standardized from raw sources, transformed into a unified vocabulary of 43 genomic event-state tokens, processed by genomic embedding layers and UGM blocks, and evaluated on functional variant prediction, regulatory and splicing tasks, and structural-variant detection.

Datasets

To pretrain UGM, the authors construct a unified multi-scale corpus aligned to GRCh38, pulling methylation arrays from GEO and TCGA, and short/structural variants from dbSNP, the 1000 Genomes Project (1000G), and donor-specific TCGA records.

For evaluation, UGM is tested across:

  • Functional Variant Classification: Seven tasks assembled from ClinVar, NHGRI-EBI GWAS Catalog, Cell Passport, MAVE, ENCODE histone modifications, and variant effect annotations.
  • Regulatory Benchmarks: The Nucleotide Transformer (NT) and Genomic Understanding Evaluation (GUE) suites (covering chromatin, promoters, transcription factors, splicing, and epigenetic marks).
  • SV Breakpoint Detection: Held-out deletions, duplications, and inversions.

Key Insights and Ideas

  • Sparse boundaries beat dense sequences for SVs: Representing a massive deletion just by its start and end tokens loses very little breakpoint-detection accuracy (only 0.5–2.3 AUC points) compared to feeding the entire internal sequence, saving immense context window budget.
  • Cross-scale attention emerges naturally: At sites where a SNP sits within 10 bp of a methylated CpG, UGM sharply focuses attention between the two positions, whereas a DNA-only BERT exhibits diffuse, unfocused attention. UGM genuinely learns cross-talk between genetics and epigenetics.
  • Sampling and objective are coupled: In ablations on the MAVE dataset, dropping SJP while keeping event-balanced sampling hurts performance more (dropping from 95.08 to 75.38) than dropping both components together (91.72)—showing that oversampling rare events backfires unless the prediction head explicitly resolves them.

Key Results

Using its 100M-parameter configuration for cross-model comparisons, UGM punches well above its weight:

  • Functional Variants: UGM achieves the highest mean AUC (76.21 vs. 74.87 for Evo 2), winning 6 of 7 tasks—including a 2.84-point jump over NT-V2 on MAVE (95.08).
  • SV Detection: UGM crushes the DNA-BERT baseline with relative AUC gains of 37.18% (deletion, 0.856), 44.98% (duplication, 0.867), and 41.20% (inversion, 0.778), beating specialized caller SVision on duplications.
  • Regulatory Tasks: Results are task-dependent. UGM takes first place on GUE Epigenetic (0.659) and second on NT Splicing (0.947, just behind NT-2.5B's 0.964), though supervised/sequence specialists like SPACE lead on chromatin and promoter tasks.
  • Scaling: Scaling UGM from 100M to 500M and 1B parameters steadily boosts performance, led by +9.0 and +6.4 point surges on SV Boundary and GWAS tasks.
Table 2: Functional variant classification results measured by AUC (×100). The best result in each column is shown in bold and the second-best is underlined. Imprv. reports the relative change over the strongest non-UGM baseline in each column, calculated as (UGM −baseline)/baseline × 100%.

Limitations and Future Work

Event-state pretraining isn't a universal silver bullet: on pure reference-sequence regulatory tasks (like promoter or transcription factor binding), models trained with functional tracks or massive sequence scale still hold an edge. Furthermore, UGM's deterministic state resolver overwrites co-occurring states at the exact same coordinate, and while sparse SV boundary tokens work great for finding breakpoints, the authors note they may discard internal sequence details needed for other SV tasks. Looking ahead, the authors suggest applying this coordinate-aligned event-state paradigm to other scientific domains where diverse, sparse observations share spatial or temporal coordinates.

Summary updated

Abstract

Genomic foundation models learn powerful representations from DNA sequences, but reference sequence alone does not explicitly describe methylation states, reference-relative variants, or structural-variant boundaries. Incorporating these observations into pretraining is challenging because they differ in representation and spatial extent, while event-bearing positions are sparse relative to ordinary reference bases. To address these challenges, we introduce the Unified Genomic Model (UGM), an encoder-only genomic foundation model that represents heterogeneous genomic observations as coordinate-aligned event-state tokens and learns to recover them from their surrounding context. UGM introduces three components: (i) a unified event tokenizer that maps reference bases, SNPs, CpG methylation states, short INDELs, and structural-variant boundaries into a shared vocabulary of 43 genomic event-state tokens; (ii) event-balanced pretraining, which increases training exposure to rare but biologically important events; and (iii) Site-Level Joint Prediction (SJP), a masked-prediction objective that recovers the resolved event state at each masked position from its surrounding sequence and event context. We evaluate UGM against specialized and generalist baselines across functional variant classification, regulatory benchmarks (NT and GUE), and structural-variant detection. It achieves the highest average performance across the functional variant classification tasks, demonstrating consistently strong results across diverse evaluation settings. UGM also achieves competitive splicing prediction on NT and outperforms DNA-only baselines on SV breakpoint detection, while regulatory results show task-dependent advantages. These results support coordinate-aligned event-state pretraining as an approach to extending genomic representation learning beyond reference sequence alone.
BibTeX
@inproceedings{wu2026ugm,
  author = {Jiayang Wu and Chenchen Qin and XU YANG and Yu Zhao and Bing He and Jiale Zhou and Zhenchao Tang and Minghao Yang and Shou Zhi Chen and Yefeng Zheng and Jianhua Yao},
  title = {{UGM: Unified Multi-scale Genomic Event Modeling with Site-level Joint Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=q6nsrhSGij},
}
Figure