← Latest papers
📄 bioengineering

Do protein representations encode variant function? Diagnosing residue-level protein attributions via embedding-space gradients

This paper introduces IGLOO, a framework that evaluates and improves the faithfulness of residue-level attributions in protein language model fitness predictors by benchmarking them against synthetic landscapes with known ground truth, revealing that high predictive accuracy does not guarantee accurate interpretations and demonstrating how model interventions can significantly enhance attribution reliability.

Original authors: Barghout, R. A., Wu, S., Chau, W., Barraza-Chavez, J. M., Driza, P., Mahadevan, R., Sanchez-Lengeling, B.

Published 2026-10-22
📖 5 min read🧠 Deep dive

Original authors: Barghout, R. A., Wu, S., Chau, W., Barraza-Chavez, J. M., Driza, P., Mahadevan, R., Sanchez-Lengeling, B.

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

In the vast library of life, the instructions for building every living thing are written in a code made of four letters. For proteins, the molecules that do the heavy lifting inside our cells, this code is a long chain of amino acids. Scientists have recently taught computers to read this code by showing them millions of natural protein sequences. These computer programs, known as protein language models, have become incredibly good at guessing how a tiny change in the chain will affect the protein's job. If a scientist wants to design a new enzyme to break down plastic or a better drug, they can ask these computers to predict which changes will make the protein work better.

However, there is a dangerous gap between knowing the answer and understanding why. A computer might predict that changing a specific letter in the code will improve the protein, but it might be guessing for the wrong reasons. It is like a student who gets the right answer on a math test by memorizing the solution key rather than understanding the formula. If engineers rely on these guesses to build real biological machines, they could end up designing proteins that fail in the lab because the computer was looking at the wrong parts of the chain. The critical question for the field has been: when a computer points to a specific spot in a protein and says, "This part matters," can we actually trust it?

A team of researchers at the University of Toronto and the Vector Institute set out to answer this question with a new framework they call IGLOO. They did not just look at how well the computers predicted the outcome; they built a testing ground where they knew the exact truth. They created synthetic protein landscapes where they deliberately assigned importance to specific parts of the chain. In these artificial worlds, they knew exactly which amino acids were supposed to drive the protein's fitness and which were irrelevant. By running their computer models through these controlled environments, they could see if the models were actually learning the right lessons or just memorizing patterns that happened to work for the final score.

The researchers found a startling disconnect. They discovered that a model could be a brilliant predictor, accurately guessing the performance of thousands of protein variants, yet still point to the wrong amino acids when asked to explain its reasoning. High accuracy in prediction did not guarantee that the computer had learned the biological rules of the game. In many standard setups, the computer's explanation was no better than random guessing, even when its final score was perfect. This revealed a common trap in the field: assuming that because a model works well, its internal logic must be sound.

To fix this, the team tested different ways of building the computer models, looking for architectural changes that would force the system to pay attention to the right details. They found that the way the model processes information before making a final decision was the most important factor. When the model was set up to analyze each part of the protein chain individually before combining them into a single prediction, the explanations became much more reliable. This "process before pooling" approach allowed the computer to assign importance to specific spots based on their unique context, rather than just averaging everything out. They also found that using specific types of pre-trained models, particularly those from the Ankh family, produced more trustworthy results than others, and that running multiple versions of the model and averaging their answers reduced the noise in the explanations.

The team then took these findings out of the synthetic world and applied them to real enzymes, specifically alpha-amylase and beta-lactamase, which are used in everything from digestion to fighting antibiotic resistance. Even with real biological data, where the rules are messy and complex, the same patterns held true. The models that were built with the improved architecture were far better at identifying the amino acids that scientists already knew were critical for the enzyme's function. In one test with beta-lactamase, the improved models correctly identified the direction of change for about two-thirds of the tested mutations when compared to physical measures of stability and binding.

This work provides a clear roadmap for scientists who want to use these powerful tools to design new proteins. It shows that simply having a model that predicts well is not enough; the model must also be built in a way that respects the individual parts of the protein. By choosing the right model structure and verifying that the computer's reasoning aligns with known biological facts, researchers can move from guessing to designing with confidence. The study concludes that before trusting a computer's advice on how to edit a protein, one must first check if the computer is looking at the right things, ensuring that the path to new medicines and materials is built on a foundation of true understanding rather than lucky guesses.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →