VFUSE: Virulent Feature Understanding with Sparse autoEncoders

Michael Yu, Matthew Lyle OlsonFM4LS @ ICML 2026

TL;DR

This paper introduces VFUSE, a novel method using Sparse Autoencoders (SAEs) to interpret generative protein design models, specifically identifying "virulent" or hazardous features. VFUSE successfully pinpoints specific structural elements within these models that are responsible for generating potentially dangerous proteins, offering a path towards safer and more controllable protein design.

What Problem Does This Paper Address?

Generative models have become incredibly powerful at designing novel proteins with specific functions, from enzymes to binders. However, this power is a double-edged sword: the same models can also be used to design hazardous proteins, such as toxins. Current methods for detecting these dangerous designs are often "black box" – they flag a sequence after it's generated but can't explain why it's flagged or intervene during the design process. This lack of interpretability makes it difficult to understand and control the generation of potentially harmful proteins, posing a significant biosecurity risk. The paper aims to bridge this gap by developing a method to understand the internal workings of these protein design models and identify specific features that lead to hazardous outputs.

Methods

The core of VFUSE lies in applying Sparse Autoencoders (SAEs) to the internal activations of protein design models. SAEs are a type of neural network that learns to compress data into a lower-dimensional "latent space" while also encouraging the resulting features to be "monosemantic" – meaning each feature ideally corresponds to a single, interpretable concept.

The authors trained SAEs on the activations of two popular protein design models: RFdiffusion3 (RFD3) and RoseTTAFold3 (RF3). They specifically targeted the "residual stream" of the diffusion transformer at various "blocks" (layers) within these models. To enhance interpretability and feature disentanglement, they employed a Matryoshka SAE architecture. This architecture trains multiple SAEs with progressively larger latent spaces, forcing earlier, smaller SAEs to capture coarser features and later ones to refine them. They also utilized BatchTopK, a variant of SAE that enforces sparsity by selecting the top K activations within a batch, making the learned features more localized.

After training the SAEs, they used linear probes (simple logistic regression models) to predict whether a protein design was hazardous, fitting these probes in both the original model's activation space and the learned SAE latent space. This comparison helps determine if the SAE's representation improves interpretability without sacrificing predictive performance.

Datasets

The authors created a custom dataset for training and evaluation. They sourced virulent sequences from SafeProtein and benign sequences from UniProt. For RF3, they also included sequences from ToxinPred3. To simulate the model's behavior during design, they applied partial diffusion to existing protein structures (PDB files) to generate input activations for RFD3. For RF3, they used protein folding directly. This dataset, while not a formal benchmark, is tailored for evaluating virulence prediction in the context of generative protein design.

Key Insights and Ideas

  • SAEs unlock interpretable hazard detection: The most significant finding is that SAEs can disentangle complex, potentially hazardous features within protein design models. These features are often not apparent in the raw model activations.
  • Depth matters: For RFdiffusion3, features learned at later blocks (like block 12) are more effective at distinguishing hazardous designs, suggesting that these later layers integrate more complex structural information relevant to virulence.
  • Monosemantic features are key: The SAEs learn features that fire selectively on hazardous designs, and these features often have a localized, per-residue representation, providing a structural rationale for the predicted hazard.
  • Interpretability without performance loss: Using SAE latent spaces for probing hazardous designs not only improves interpretability but also, in some cases, leads to better prediction accuracy compared to using raw model activations.
  • Beyond sequence homology: VFUSE offers a more nuanced approach than traditional sequence-based virulence prediction by identifying specific structural features responsible for hazard, enabling more targeted intervention.

Key Results

  • Improved AUROC: Using SAE-encoded features with linear probes achieved a higher AUROC (Area Under the Receiver Operating Characteristic curve) for predicting hazardous designs compared to using raw model activations. For RFD3 block 12, the AUROC reached 0.877 ± 0.025 on random splits and 0.817 ± 0.102 on homology-clustered splits.
  • Significant feature discovery: VFUSE identified thousands of features with statistically significant (BH-corrected q < 0.05) association with virulence. The top features achieved AUROCs as high as 0.819 (q ≈ 10⁻¹³).
  • Feature localization: The identified features were shown to be localized to specific residues within the protein structure, providing visualizable insights into where the hazard is encoded. Examples include features highlighting alpha-helices in neurotoxins.
  • Reduced homology memorization: At later blocks (e.g., RFD3 block 12), SAEs showed less tendency to memorize fold-family identity compared to earlier blocks, indicating they capture more specific, virulence-related signals.

Limitations and Future Work

  • Dataset size: The dataset used for training and evaluation is relatively small (n=275 pairs), leading to wide confidence intervals for the AUROC scores.
  • Hookpoint selection: The choice of which model blocks to analyze was based on common practices in LLM interpretability rather than a principled ablation study.
  • Mean-pooling: The current approach uses mean-pooling of activations, which discards fine-grained spatial information that a per-residue probe could potentially leverage.
  • Steering limitations: Preliminary experiments on "steering" the model away from hazardous designs using learned directions were unsuccessful in the partial-diffusion setting. The authors suggest this might be due to insufficient denoising steps or the dominance of sequence extraction over structural steering.

Future work could involve expanding the dataset, exploring different hookpoint selections, developing per-residue probing methods, and investigating more effective steering mechanisms for generative protein design. The authors also plan to release their SAE checkpoints and a catalog of hazard-associated features to facilitate further research.

Summary updated

BibTeX
@inproceedings{yu2026vfuse,
  author = {Michael Yu and Matthew Lyle Olson},
  title = {{VFUSE: Virulent Feature Understanding with Sparse autoEncoders}},
  booktitle = {FM4LS @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=1jo35HDiWu},
}
Figure