BMC Bioinformatics · 2024 · 16 citations · 6 references
ComputingBioinformaticsComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingDna SequencingLanguage ModelingLanguage ModelsWord EmbeddingsContextual EmbeddingsLarge Language ModelsLearned Feature EmbeddingsNext-token PredictionPredictionSequence IdentitySequence Representation LearningTokenization
Transformer-based large language models (LLMs) are very suited for biological sequence data, because of analogies to natural language. Complex relationships can be learned, because a concept of "words" can be generated through tokenization. Training the models with masked token prediction, they learn both token sequence identity and larger sequence context. We developed methodology to interrogate model learning, which is both relevant for the interpretability of the model and to evaluate its potential for specific tasks. We used DNABERT, a DNA language model trained on the human genome with overlapping k-mers as tokens. To gain insight into the model's learning, we interrogated how the model performs predictions, extracted token embeddings, and defined a fine-tuning benchmarking task to predict the next tokens of different sizes without overlaps. This task evaluates foundation models without interrogating specific genome biology, it does not depend on tokenization strategies, vocabulary size, the dictionary, or the number of training parameters. Lastly, there is no leakage of information from token identity into the prediction task, which makes it particularly useful to evaluate the learning of sequence context. We discovered that the model with overlapping k-mers struggles to learn larger sequence context. Instead, the learned embeddings largely represent token sequence. Still, good performance is achieved for genome-biology-inspired fine-tuning tasks. Models with overlapping tokens may be used for tasks where a larger sequence context is of less relevance, but the token sequence directly represents the desired learning features. This emphasizes the need to interrogate knowledge representation in biological LLMs.
6
UMAP: Uniform Manifold Approximation and Projection
Leland McInnes, John Healy, Nathaniel Saul et al. · The Journal of Open Source Software · 2018 · 9.6K citations · Full text
Effective gene expression prediction from sequence by integrating long-range interactions
Žiga Avsec, Vikram Agarwal, Daniel Visentin et al. · Nature Methods · 2021 · 1.3K citations · Full text
Yanrong Ji, Zhihan Zhou, Han Liu et al. · Bioinformatics · 2021 · 1.2K citations · Full text
The role of DNA shape in protein–DNA recognition
Remo Rohs, Sean M. West, Alona Sosinsky et al. · Nature · 2009 · 1.1K citations · Full text