bioRxiv · 10.1101/2021.08.17.456616
STonKGs: A Sophisticated Transformer Trained on Biomedical Text and Knowledge Graphs
Abstract
The majority of biomedical knowledge is stored in structured databases or as unstructured text in scientific publications. This vast amount of information has led to numerous machine learning-based biological applications using either text through natural language processing (NLP) or structured data through knowledge graph embedding models (KGEMs). However, representations based on a single modality are inherently limited. To generate better representations of biological knowledge, we propose STonKGs, a Sophisticated Transformer trained on biomedical text and Knowledge Graphs. This multimodal Transformer uses combined input sequences of structured information from KGs and unstructured text data from biomedical literature to learn joint representations. First, we pre-trained STonKGs on a knowledge base assembled by the Integrated Network and Dynamical Reasoning Assembler (INDRA) consisting of millions of text-triple pairs extracted from biomedical literature by multiple NLP systems. Then, we benchmarked STonKGs against two baseline models trained on either one of the modalities (i.e., text or KG) across eight different classification tasks, each corresponding to a different biological application. Our results demonstrate that STonKGs outperforms both baselines, especially on the more challenging tasks with respect to the number of classes, improving upon the F1-score of the best baseline by up to 0.083. Additionally, our pre-trained model as well as the model architecture can be adapted to various other transfer learning applications. Finally, the source code and pre-trained STonKGs models are available at https://github.com/stonkgs/stonkgs and https://huggingface.co/stonkgs/stonkgs-150k.
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Balabin, H., Hoyt, C. T., Birkenbihl, C., Gyori, B. M., Bachman, J. A., Tom Kodamullil, A., Ploeger, P. G., Hofmann-Apitius, M., Domingo-Fernandez, D.. 2021-08-18. STonKGs: A Sophisticated Transformer Trained on Biomedical Text and Knowledge Graphs. https://doi.org/10.1101/2021.08.17.456616
Cite the original work for its findings. Save a collection to share your selection of sources.