atlas

Research map / Large language models / Language, safety and interpretability

HELM: Hierarchical Encoding for mRNA Language Modeling

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes HELM, a pre-training strategy that reweights masked/causal language modeling loss by a codon synonymity hierarchy (hierarchical cross-entropy) for mRNA sequences, improving property prediction, generation and antibody region annotation.

Problem

Standard natural-language LM pre-training ignores the hierarchical codon structure of mRNA (codons grouped by amino acid and synonymy), limiting performance on mRNA property prediction and generation.

Approach

Applies hierarchical cross-entropy over a codon-to-amino-acid tree, weighting prediction errors by hierarchy height (lambda = exp(-alpha h)), so confusing synonymous codons is penalized less than confusing codons for different amino acids; requires no architecture or tokenization change.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add codon-hierarchy-aware HXE loss to Transformer MLM (ablation)Transformer mRNA LM · mRNA property prediction, six datasetsSpearman rank correlation: 0.748 -> 0.767 (Ab1); 0.599 -> 0.609 (Ab2); 0.653 -> 0.701 (MLOS); 0.503 -> 0.525 (iCodon); 0.569 -> 0.626 (Tc-RiboswitcHelped
add codon-hierarchy-aware HXE loss to Transformer CLM (ablation)Transformer mRNA LM · mRNA property predictionSpearman rank correlation: 0.752 -> 0.760 (Ab1); 0.597 -> 0.614 (Ab2); 0.611 -> 0.592 (MLOS); 0.498 -> 0.529 (iCodon); 0.531 -> 0.619 (Tc-RiboswitcMixed
add codon-hierarchy-aware HXE loss (ablation)Ab-mRNA region annotation model · Ab-mRNA region annotationannotation accuracy: 78.68 -> 83.39 (MLM); 67.51 -> 73.39 (CLM)Helped
add codon-hierarchy-aware HXE loss (ablation)mRNA representation model · Synonymous sequence clusteringSilhouette score: 0.74 -> 0.91 (MLM); 0.68 -> 0.83 (CLM)Helped
use codon-level instead of nucleotide-level tokenization (ablation)50M GPT-2 MLM · Ab1, Ab2, MLOS, Tc-RiboswitchesSpearman rank correlation: 0.699 -> 0.747 (Ab1); 0.569 -> 0.599 (Ab2); 0.528 -> 0.654 (MLOS); 0.533 -> 0.570 (Tc-Riboswitches)Helped
use 6-mer instead of codon-level tokenization (ablation)50M GPT-2 MLM · mRFPSpearman rank correlation: 0.754 -> 0.857Helped
increase HXE α from 0.2 to 0.4 (ablation)Transformer HELM (MLM) · mRNA property predictionSpearman rank correlation: 0.767 -> 0.767 (Ab1); 0.609 -> 0.608 (Ab2); 0.525 -> 0.511 (iCodon); 0.822 -> 0.831 (mRFP); 0.626 -> 0.653 (Tc-RiboswitcMixed
increase HXE α from 0.2 to 0.6 (ablation)Transformer HELM (MLM) · mRNA property predictionSpearman rank correlation: 0.767 -> 0.762 (Ab1); 0.609 -> 0.599 (Ab2); 0.525 -> 0.508 (iCodon); 0.822 -> 0.796 (mRFP); 0.626 -> 0.582 (Tc-RiboswitcHurt
increase HXE α from 0.2 to 0.4 (ablation)Transformer HELM (CLM) · mRNA property predictionSpearman rank correlation: 0.760 -> 0.762 (Ab1); 0.614 -> 0.608 (Ab2); 0.529 -> 0.527 (iCodon); 0.849 -> 0.841 (mRFP); 0.619 -> 0.551 (Tc-RiboswitcMixed
increase HXE α from 0.2 to 0.6 (ablation)Transformer HELM (CLM) · mRNA property predictionSpearman rank correlation: 0.760 -> 0.752 (Ab1); 0.614 -> 0.592 (Ab2); 0.529 -> 0.526 (iCodon); 0.849 -> 0.798 (mRFP); 0.619 -> 0.580 (Tc-RiboswitcHurt
increase model size from 50M to 100M parameters with XE (ablation)Transformer XE (CLM) · Ab1, Ab2, MLOSSpearman rank correlation: 0.752 -> 0.750 (Ab1); 0.597 -> 0.596 (Ab2); 0.611 -> 0.608 (MLOS)No clear effect
add hierarchy at 100M parameters (ablation)Transformer CLM · Ab1, Ab2, MLOSSpearman rank correlation: 0.750 -> 0.765 (Ab1); 0.596 -> 0.619 (Ab2); 0.608 -> 0.664 (MLOS)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: OAS (curated antibody mRNA, 15.3M sequences) Ab1 Ab2 MLOS iCodon Tc-Riboswitches mRFP COVID-19 Vaccine

Benchmarks: Ab1 Ab2 MLOS iCodon Tc-Riboswitches mRFP COV-19 Vaccine Ab-mRNA region annotation

Metrics: Spearman correlation Pearson correlation R^2 Silhouette score Frechet Biological Distance MSE annotation accuracy

Baselines: RNA-FM SpliceBERT CodonBERT One-hot encoding Transformer XE (MLM) Transformer XE (CLM) Hyena XE Mamba XE

Builds on: hierarchical cross-entropy GPT-2 Mamba Hyena

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy