atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

Whole Genome Transformer for Gene Interaction Effects in Microbiome Habitat Specificity

AAAI 2025 · Probabilistic and scientific modeling › Molecules and proteins · approach: Statistical analysis of ML practice · 3 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.

Predicts microbial habitat (host, soil, aquatic) from entire genomes by embedding each gene with ESM-2 and training a BERT-like transformer over gene tokens, then extracting gene-pair interactions from high-attention pairs.

Problem

Predicting complex microbial phenotypes such as habitat specificity directly from whole prokaryotic genome sequences, where contig order is unknown and genes are numerous, while also explaining which gene interactions drive the prediction.

Approach

Treat each genome as a set of contigs; embed every gene's protein sequence with ESM-2 (3B), shuffle contigs per epoch, and train an encoder-only transformer with full attention over gene tokens. Attribution clusters top-attention gene pairs and builds gene interaction networks, enabling sequence-level interaction analysis that k-mer and annotation-based methods lack.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the Whole Genome Transformer instead of the strongest reported k-mer baselineProGenomes v3 habitat classification · ProGenomes v3 test setaccuracy: 68 -> 71.2Helped
Evaluate on pseudo-samples containing attribution-selected genes onlyWhole Genome Transformer · ProGenomes v3 pseudo-samplesaccuracy: 71.2 -> 58%Hurt
halve feedforward layer size from 2048 to 1024 (ablation)Whole Genome Transformer · ProGenomes v3 test setaccuracy: 71.2 -> 66.2Hurt
reduce transformer layers from 15 to 10 (ablation)Whole Genome Transformer · ProGenomes v3 test setaccuracy: 71.2 -> 65.5Hurt
halve embedding dimension from 2560 to 1280 using ESM-2 650M instead of ESM-2 3B (ablation)Whole Genome Transformer · ProGenomes v3 test setaccuracy: 71.2 -> 64.8Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ProGenomes v3

Benchmarks: held-out ProGenomes v3 test samples (1,453) pseudo-samples built from attributed genes

Metrics: accuracy precision recall F1

Baselines: random forest on k-mer counts SVM linear on k-mer counts SVM RBF on k-mer counts Traitar

Builds on: ESM-2 BERT FlashAttention DBSCAN

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