arXiv:2611.09818cs.AINov 2026

Manuscript Offprint

arXiv:2611.09818

Generative Latent Priors for Interpreting and Steering Protein Language Models

Daniel Hinjos, Lucía Urcelay

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Dominant methods for interpreting large models impose strong structural assumptions. Generative Latent Priors (GLP) are a complementary approach: a diffusion model that learns the distribution of a frozen model's activations directly, imposing no assumptions. We port GLP to ESM-2 activations (UniRef50) and evaluate it at two host scales (ESM-2-8M and -650M), both as a lens for protein representations and as a prior for editing them. Generation quality scales smoothly with depth and compute. As a lens, single GLP "meta-neurons" are the strongest probes of discrete Swiss-Prot concepts at both hosts, beating InterPLM's released SAE features, and lead on continuous properties at 8M though not at 650M; falsification tests show this is mostly concentration, not new information. As an editing prior, the on-manifold correction makes DiffMean steering of three biochemical properties effective and restores on-manifoldness, but only in isolation: re-embedding the sequences actually produced after several rounds of decoding, the structural plausibility is compromised. This is mainly reproduced in additional SAE-based clamping structural steering experiments, where only Helix motif succeeds. The naturalness failure is traced to the rewriting coverage and the decoder rather than the prior, highlighting what the method must clear before it can serve for both discovery-by-editing and discovery-by-exploration. Trained GLPs are released on huggingface.co/glprot

1 Introduction

While protein language models (pLMs) have transformed sequence modeling in biotechnology and drug discovery, interpreting their internal representations remains a fundamental challenge. In the activation space, the dominating mechanistic interpretability methods rely on sparse dictionary learning, training sparse autoencoders (SAEs) on ESM-2 [13] activations and recovering features aligned with Swiss-Prot annotations [20, 6, 1]. However, these methods impose strong structural assumptions on the latent space. The Generative Latent Prior (GLP) [14] is a complementary generative approach recently introduced for LLMs: rather than decomposing activations into a sparse dictionary, a diffusion model is trained on a frozen host's activations, learning their distribution directly with no linearity or sparsity assumption. The learnt manifold serves as a tool for inspecting the latent space and moving through it, enabling navigation and control of the generations.

*Equal contribution. Accepted at the Interpretability for Discovery (Interp4Discovery) Workshop at the 40th Conference on Neural Information Processing Systems (NeurIPS 2026)

Figure

Figure 1: Pipeline overview. (a) GLP trains by flow matching on ESM-2 activations from UniRef50 to learn their manifold. (b) Steering pushes an activation off that manifold toward a target property. (c) GLP correction re-noises and denoises the edit back onto the manifold.

This is particularly relevant for activation steering [22, 17], a control approach based on editing model behavior, typically by adding a fixed linear direction to its activations. Large or naive edits can push them off the distribution the host was trained on, yielding representations the host never produces. In this setting, GLP can serve as a corrector for steered activations, by partially noising and denoising them back onto the learnt manifold, keeping the intended shift while restoring them to realistic activations.

We port GLPs to pLMs and evaluate them as a reading lens and as an editing prior. Our contributions are: (i) flow-matching GLPs trained on ESM-2-8M and ESM-2-650M activations, whose generation quality scales smoothly with depth and compute; (ii) a single-unit probing analysis in which GLP meta-neurons are the strongest probes of discrete Swiss-Prot concepts at both hosts, beating InterPLM [20] features, with falsification tests showing that this advantage comes mostly from concentration; and (iii) an evaluation of GLP as an on-manifold editing prior for correction under two steering mechanisms: DiffMean directions [25, 8] for three biochemical properties and SAE feature clamping for structural motifs. Together, these contributions depict GLP's role and limitations for control and discovery in pLMs; Fig. 1 overviews the pipeline.

References (25)