Skip to main content
QUICK REVIEW

[论文解读] FGBERT: Function-Driven Pre-trained Gene Language Model for Metagenomics

Chenrui Duan, Zelin Zang|arXiv (Cornell University)|Feb 24, 2024
Machine Learning in Bioinformatics被引用 5
一句话总结

FGBERT 引入了一个功能感知的元基因组预训练模型,包含 MGM 和 TEM-CL,在八个下游任务上达到 state-of-the-art 结果。

ABSTRACT

Metagenomic data, comprising mixed multi-species genomes, are prevalent in diverse environments like oceans and soils, significantly impacting human health and ecological functions. However, current research relies on K-mer, which limits the capture of structurally and functionally relevant gene contexts. Moreover, these approaches struggle with encoding biologically meaningful genes and fail to address the One-to-Many and Many-to-One relationships inherent in metagenomic data. To overcome these challenges, we introduce FGBERT, a novel metagenomic pre-trained model that employs a protein-based gene representation as a context-aware and structure-relevant tokenizer. FGBERT incorporates Masked Gene Modeling (MGM) to enhance the understanding of inter-gene contextual relationships and Triplet Enhanced Metagenomic Contrastive Learning (TMC) to elucidate gene sequence-function relationships. Pre-trained on over 100 million metagenomic sequences, FGBERT demonstrates superior performance on metagenomic datasets at four levels, spanning gene, functional, bacterial, and environmental levels and ranging from 1k to 213k input sequences. Case studies of ATP Synthase and Gene Operons highlight FGBERT's capability for functional recognition and its biological relevance in metagenomic research.

研究动机与目标

  • Motivate improved representations for multi-species metagenomic data beyond K-mer-based approaches.
  • Develop context-aware, protein-based gene tokenization to capture gene context and structure.
  • Propose Masked Gene Modeling (MGM) for inter-/intra-gene contextual learning.
  • Propose Triple Enhanced Metagenomic Contrastive Learning (TEM-CL) to model gene sequence–function relationships.
  • Demonstrate end-to-end improvements on multiple downstream functional and pathogenicity tasks.

提出的方法

  • Use a protein-based gene representation as a context-aware tokenizer based on ESM-2 to encode each gene sequence with an orientation-aware 1281D embedding.
  • Introduce Masked Gene Modeling (MGM) to pre-train a Gene Encoder by masking 15% of gene tokens and predicting them, combining Feature Reconstruction Loss (FRL) and Probability Prediction Loss (PPL).
  • Integrate Triplet Enhanced Metagenomic Contrastive Learning (TEM-CL) with data augmentation and hard negative sampling to cluster genes by function using a SupCon-Hard loss variant.
  • Employ a data augmentation pipeline that generates positive gene samples via mutations and computes negatives via cluster-aware sampling based on EC-function groups.
  • Jointly optimize L_Total = L_MGM + lambda * L_Tri to learn co-representations of metagenomic gene sequences and functions.

实验结果

研究问题

  • RQ1How can metagenomic sequences be tokenized in a biologically meaningful way beyond fixed K-mers?
  • RQ2Can context-aware, function-relevant representations improve downstream metagenomic tasks across taxonomy, function, and ecology?
  • RQ3Do MGM and TEM-CL jointly improve modeling of inter-gene contexts (One-to-Many) and gene–function mappings (Many-to-One)?
  • RQ4Is a protein-based tokenizer beneficial for long metagenomic sequences in terms of performance and efficiency?

主要发现

  • FGBERT achieves state-of-the-art macro F1 and weighted F1 scores across eight downstream tasks compared to a wide baseline set.
  • On operon prediction (E-K12), FGBERT attains 61.8% M.F1 and 65.4% W.F1, outperforming alternatives.
  • On CARD-AMR categories (A, D, R), FGBERT achieves 78.6% M.F1 and 90.1% W.F1 (CARD-A), 57.4% M.F1 and 85.2% W.F1 (CARD-D), 69.4% M.F1 and 91.4% W.F1 (CARD-R).
  • On VFDB, ENZYME, PATRIC, and NCycDB, FGBERT attains 75.7% M.F1 / 90.2% W.F1 (VFDB), 99.1% M.F1 / 98.8% W.F1 (ENZYME), 99.3% M.F1 / 99.0% W.F1 (PATRIC), 99.5% M.F1 / 99.2% W.F1 (NCycDB).
  • Ablation shows MGM and TEM-CL both contribute to performance, with MGM providing a larger impact across tasks.

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。