Related Experiment Video
Updated: Jun 27, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Scoring alignments by embedding vector similarity
Sepehr Ashrafzadeh1, G Brian Golding2, Silvana Ilie3
1Department of Computer Science, University of Western Ontario, London, N6A 5B7, Ontario, Canada.
This study introduces a novel E-score method for amino acid similarity, outperforming traditional BLOSUM matrices in sequence alignment. This deep learning approach leverages contextual embeddings for more accurate biological sequence analysis.
Area of Science:
- Bioinformatics
- Computational Biology
- Machine Learning
Background:
- Sequence similarity is vital for understanding protein function and evolutionary relationships.
- Existing scoring matrices (e.g., PAM, BLOSUM) are context-independent, limiting their accuracy.
- Deep learning offers a way to create context-dependent representations.
Purpose of the Study:
- To develop a novel, context-dependent scoring method for amino acid similarity.
- To improve the accuracy of biological sequence alignment.
- To leverage deep learning embeddings for protein sequence analysis.
Main Methods:
- Utilized deep learning architectures with self-supervised learning on large unlabeled protein sequence datasets.
- Generated contextual embedding vectors for individual amino acid residues.
- Defined the E-score as the cosine similarity between residue embedding vectors.
Main Results:
- Alignments generated using the E-score method, particularly ProtT5-score, showed significant improvement over BLOSUM-based alignments.
- The new method demonstrated superior performance across various reference multiple sequence alignments.
- The E-score effectively captures context-dependent amino acid similarity.
Conclusions:
- The E-score offers a more accurate and context-aware approach to sequence similarity scoring.
- This method has the potential to revolutionize sequence alignment and related bioinformatics tasks.
- The developed tool is accessible via a web server and open-source code.
Related Concept Videos
Wilcoxon Signed-Ranks Test for Matched Pairs
Kendall's Coefficient of Concordance
Position Vectors
For instance, we want to locate a point P(x, y, z) relative to the origin of coordinates O. In that case, we can define a position...
Sign Test for Matched Pairs
To conduct the sign test, we first calculate the differences in...
Spearman's Rank Correlation Test
Spearman's test calculates...
Vector Product (Cross Product)
Consider the cross product of two vectors. Imagine rotating the first vector about...

