GoBERT: Gene Ontology Graph Informed BERT for Universal Gene Function Prediction
Yuwei Miao, Yuzhi Guo, Hehuan Ma, Jingquan Yan, Feng Jiang, Rui Liao, Junzhou Huang
TL;DR
GoBERT introduces a GO graph-informed BERT model for universal gene function prediction by combining explicit GO-DAG structure and semantic GO-term descriptions with implicit relation modeling through MLM. It employs two pre-training tasks: a self-supervised neighborhood prediction over the GO DAG to capture explicit relations, and a masked language modeling objective without positional encoding to uncover implicit function relations, optimized together as $\mathcal{L}^{\text{Total}}=\lambda\mathcal{L}^{\text{Ex}}+(1-\lambda)\mathcal{L}^{\text{Im}}$. The approach enables large-scale novel function prediction, achieving notable top-5 accuracy (e.g., $76.15\%$ at targeted depth) and providing biologically meaningful case studies and ablations that validate the contributions of explicit semantics, graph structure, and masking strategies. This work supports scalable, cross-species gene function annotation using known functions alone and suggests future enhancements with additional data modalities and non-annotated function incorporation for comprehensive GO coverage.
Abstract
Exploring the functions of genes and gene products is crucial to a wide range of fields, including medical research, evolutionary biology, and environmental science. However, discovering new functions largely relies on expensive and exhaustive wet lab experiments. Existing methods of automatic function annotation or prediction mainly focus on protein function prediction with sequence, 3D-structures or protein family information. In this study, we propose to tackle the gene function prediction problem by exploring Gene Ontology graph and annotation with BERT (GoBERT) to decipher the underlying relationships among gene functions. Our proposed novel function prediction task utilizes existing functions as inputs and generalizes the function prediction to gene and gene products. Specifically, two pre-train tasks are designed to jointly train GoBERT to capture both explicit and implicit relations of functions. Neighborhood prediction is a self-supervised multi-label classification task that captures the explicit function relations. Specified masking and recovering task helps GoBERT in finding implicit patterns among functions. The pre-trained GoBERT possess the ability to predict novel functions for various gene and gene products based on known functional annotations. Extensive experiments, biological case studies, and ablation studies are conducted to demonstrate the superiority of our proposed GoBERT.
