Protein sequences from certain species (e.g. humans, mice, and E. coli) have systematically higher likelihoods than others! Further, we find that this bias can be detrimental for some protein design applications.
2/
Protein language models (pLMs) can give protein sequences likelihood scores, which are commonly used as a proxy for fitness in protein engineering. But what do likelihoods encode?
In a new paper (w/ @JacobSteinhardt) we find that pLM likelihoods have a strong species bias!
1/
Two popular metrics, CKA and (PW)CCA, take turns being the best and worst, and it turns out an older baseline method, Orthogonal Procrustes Alignment, balances gracefully between them. 6/7
Then here’s the exact same figure, but produced using the Canonical Correlation Analysis (CCA) metric instead of CKA. CCA distances suggest that the two networks learn somewhat different representations, especially at later layers. 3/7
Here is an example visualization where we use the popular CKA similarity metric to compare two transformer models across different layers. Lower values (darker colors) are more similar, and CKA suggests that the two networks have similar representations. 2/7