Operando-Conditioned Protein Embeddings

Chemists learned an uncomfortable lesson over the last decade: a catalyst at work looks nothing like the same catalyst at rest. Atomically dispersed copper sites migrate and cluster into three-atom working species only while voltage is applied, then fall apart again when the reaction stops (N and OH-Immobilized Cu3 Clusters In Situ Reconstructed from Single-Metal Sites for Efficient CO2 Electromethanation in Bicontinuous Mesochannels); on manganese dioxide, catalytically useful bare metal sites only exist above 150 °C, once blocking hydroxyl groups desorb as water (Exploring the roles of oxygen species in H2 oxidation at β-MnO2 surfaces using operando DRIFTS-MS). Meanwhile, protein language models (PLMs) — transformers pretrained on millions of amino-acid sequences — summarize an enzyme in a single static vector that encodes its evolutionary, resting-state identity. Every kinetic and functional predictor built on these embeddings inherits that frozen picture (Multimodal Regression for Enzyme Turnover Rates Prediction, How Not to be Seen: Predicting Unseen Enzyme Functions using Contrastive Learning).

This proposal closes that gap in one direction: it makes the spectroscopic trajectory of the working enzyme — time-resolved infrared or Raman bands of surface-bound intermediates, optionally synchronized with effluent mass spectrometry — a first-class input that modulates residue-level PLM embeddings. The result is an embedding of the enzyme during turnover, from which a sparse, interpretable set of "turnover-active" residues can be read off directly.

Core Claim

A small conditioning module, trained on paired (sequence, operando spectrum, kinetic outcome) data, can shift and scale the residue embeddings of a frozen PLM such that the modulated representation predicts turnover behavior that no static-sequence model can: condition-dependent kinetics, condition-dependent function assignment for the same enzyme, and localization of residues that participate in the cycle. The claim is deliberately narrow and falsifiable — if modulating residues by spectra adds nothing over shuffling the spectra in time or replacing them with a few scalar descriptors, the idea is dead.

The enabling observation comes from two directions. From the PLM side, global average pooling already compresses a whole protein to an intrinsic dimension of roughly 10, erasing site-specific information, while individual residue embeddings live in a 15–30 dimensional space and carry strong shared structure (intrinsic-dimension correlation above 0.6 between residues of the same protein) (Probing the Embedding Space of Protein Foundation Models through Intrinsic Dimension Analysis). From the monitoring side, synchronizing surface spectroscopy with effluent mass spectrometry is exactly what separates true intermediates from spectators — bands whose time course tracks the product channels versus bands that just sit there (Exploring the roles of oxygen species in H2 oxidation at β-MnO2 surfaces using operando DRIFTS-MS). Neither community has connected these: no method in the corpus conditions residue embeddings on operando spectroscopic trajectories.

Research Program

The model is a frozen ESM-2 backbone plus a lightweight operando conditioning head. Let $e_i$ be the frozen embedding of residue $i$, and let $S = \{s_t\}_{t=1}^{T}$ be a spectroscopic trajectory — a matrix of absorbance over wavenumber and time, optionally concatenated with effluent mass-spectrometer traces. A small cross-attention head reads $S$ and emits a per-residue modulation:

$$h_i = \big(1 + \gamma_i(S)\big)\, e_i + \beta_i(S), \qquad \gamma_i, \beta_i(S) \in \mathbb{R}^{d},$$

where $d$ is the embedding width. A learned gate $g_i \in [0,1]$ then sparsifies pooling, $\bar{h} = \sum_i g_i h_i / \sum_i g_i$, so the model pools only residues whose embeddings move under turnover — a dynamic generalization of SLEEC's static insight that catalysis is carried by a sparse residue subset and that global pooling is brittle to irrelevant sequence changes (Enzyme Classification via Semi-Supervised Functional Residue Learning). That paper identifies functional residues by sequence conservation alone and never asks whether they restructure during the cycle; the gate here is trained to find residues that matter under the observed operating conditions.

Three training signals. First, supervised regression of kinetic observables ($\log_{10} k_{cat}$, condition-dependent rates) from $\bar{h}$, in the spirit of ProKcat but with the operating state in the input rather than only a temperature scalar (Multimodal Regression for Enzyme Turnover Rates Prediction). Second, a self-supervised spectral forecasting loss: predict the next time window of $S$ from the current modulated embedding, which forces the embedding to encode what the catalyst is doing, not just what it is. Third, a spectator/intermediate criterion learned from the DRIFTS-MS correlation structure: bands that co-vary with product channels (intermediates) versus bands that persist regardless (spectators), following the synchronization logic established on β-MnO₂ (Exploring the roles of oxygen species in H2 oxidation at β-MnO2 surfaces using operando DRIFTS-MS).

Data comes in three tiers, because paired enzyme–operando data is scarce — total experimental $k_{cat}$ values number only about 17,000 (Multimodal Regression for Enzyme Turnover Rates Prediction) and time-resolved enzyme spectroscopy is far rarer still. Tier one pretrains the spectral encoder on inorganic operando corpora, where trajectories and mechanistic ground truth already exist: the β-MnO₂ DRIFTS-MS ramp identifying seven oxygen species and the 150 °C hydroxyl-desorption threshold (Exploring the roles of oxygen species in H2 oxidation at β-MnO2 surfaces using operando DRIFTS-MS) and the Cu₃ electromethanation XAS/Raman series showing reversible cluster formation (N and OH-Immobilized Cu3 Clusters In Situ Reconstructed from Single-Metal Sites for Efficient CO2 Electromethanation in Bicontinuous Mesochannels). These teach the encoder generic primitives: band growth and decay, onset thresholds, correlation with effluent signals. Tier two curates a new benchmark — call it OperandoEnzyme — pairing enzyme sequences with literature time-resolved spectroscopy (stopped-flow infrared, freeze-quench resonance Raman, transient absorption) plus reported conditions and rates, following the EnzymeML/STRENDA reporting standards whose inconsistent adoption is itself a documented bottleneck (Of Revolutions and Roadblocks: The Emerging Role of Machine Learning in Biocatalysis). We expect only hundreds of pairs, which is exactly why the design keeps the PLM frozen and trains a tiny head — the regime where Kermut showed a frozen-ESM-2 kernel model matched a 400-hour supervised model in 10 minutes (Kermut: Composite kernel regression for protein variant effects). Tier three is the degenerate case: with a null spectrum the model must reduce to a static-embedding predictor, giving a built-in sanity check.

Baselines

The do-nothing reference is a frozen ESM-2 mean-pooled embedding with a linear regressor (for kinetics) and nearest-centroid assignment (for function) — the floor that transfer-learning work already established as beatable, since raw-composition and one-hot models lose roughly 10–20% F1 to PLM embeddings on the heat-shock-protein task (independent-test F1 of 0.9126 for DeeperHSP over composition baselines) (Protein transfer learning improves identification of heat shock protein families).

The strongest existing competitor on kinetics is ProKcat-M, which encodes the enzyme with ESM-2, the substrate with a graph network, and cross-attends between them, ingesting temperature and its reciprocal as physical inputs; on the BRENDA/SABIO-RK curated set it reports RMSE 0.71 and Pearson correlation 0.88, versus 0.82 and 0.85 for the prior UniKP/DLKcat-class baselines (Multimodal Regression for Enzyme Turnover Rates Prediction). We will re-run it ourselves on our exact splits with the same tuning budget, because our curated condition-paired subset does not exist in its published evaluation — no reported result on such a subset was found on Lacuna. On unseen-function placement the strongest competitor is EnzPlacer, frozen ESM-1b embeddings with a hierarchical contrastive objective, reporting 43.5% EC2 accuracy on Unseen-EC4 (versus 38.5% for CLEAN, and 30.3% at under 10% sequence identity) (How Not to be Seen: Predicting Unseen Enzyme Functions using Contrastive Learning). Beating these means: RMSE below ProKcat's matched-split number on the condition-paired subset, EC2 accuracy above EnzPlacer's on a matched Unseen-EC4-style split, and — decisively — correct different predictions for the same sequence under different operating conditions, which both competitors are architecturally incapable of producing.

The key-ingredient ablation is the time-shuffle: the same spectral bands and the same effluent traces, but with the time axis permuted, destroying temporal correlation structure while preserving all static spectral content. If shuffled spectra match real spectra, the gains come from spectral identity, not from turnover dynamics, and the core claim fails. A second ablation replaces the trajectory with scalar descriptors only (temperature, pH, cofactor identity), matching the information budget of ProKcat's conditioning.

Why not just…?

Why not just run AlphaFold structures plus molecular dynamics? This is the physicist's default, and it fails on timescale and on state. Standard MD chains, like the 10 ns simulation run inside the LM-ABC assistant for carbonic anhydrase variant screening, are six orders of magnitude short of millisecond-to-second catalytic turnover (A language model assistant for biocatalysis); and resting-state structures are precisely the states the operando literature shows do not match the working catalyst (N and OH-Immobilized Cu3 Clusters In Situ Reconstructed from Single-Metal Sites for Efficient CO2 Electromethanation in Bicontinuous Mesochannels, Drew Higgins et al.). The compute argument is also documented: structure-heavy supervised models needed over 400 hours where a frozen-PLM kernel needed 10 minutes at higher accuracy (Spearman 0.662 versus 0.613) (Kermut: Composite kernel regression for protein variant effects). MD remains useful as a source of predicted trajectories for augmentation, and we will use it that way, not as a substitute.

Why not just add more scalar features to ProKcat? This is the real threat, and I want to be honest about it. ProKcat already ingests temperature as a physical scalar and beat scalar-only predecessors precisely by adding an enzyme–substrate cross-attention module (RMSE 0.82 → 0.71) (Multimodal Regression for Enzyme Turnover Rates Prediction); a reviewer could argue pH, cofactor, and solvent one-hots would capture conditions just as well as a spectral trajectory. The scalar-only ablation above is designed to settle this directly, at matched information budget. There are two structural reasons to expect scalars to fall short: a scalar cannot express which residues respond to a condition (our per-residue modulation can), and it cannot distinguish spectator from intermediate bands, which requires temporal correlation with effluent signals — the exact disambiguation that motivated coupled DRIFTS-MS in the first place (Exploring the roles of oxygen species in H2 oxidation at β-MnO2 surfaces using operando DRIFTS-MS). If the ablation shows scalars suffice on OperandoEnzyme, we will report that as the finding and the spectral pathway as unnecessary — the experiment decides, not the argument.

Why not just use homology and multiple sequence alignments? Conservation already identifies catalytic residues — SLEEC exploits exactly that for pseudo-labeling (Enzyme Classification via Semi-Supervised Functional Residue Learning) — and BLAST-style search is the incumbent for function. But homology collapses below 10% sequence identity where PLM embeddings hold 30.3% EC2 placement accuracy (How Not to be Seen: Predicting Unseen Enzyme Functions using Contrastive Learning), fails entirely for orphan or designed sequences, and is a documented latency bottleneck that a single feed-forward embedding pass avoids (Fast and accurate protein function prediction from sequence through pretrained language model and homology-based label diffusion). More fundamentally, conservation is averaged over evolutionary time and cannot say which residues are active under a given condition — the question this proposal targets.

Proposed Experiments and Decisive Checks

The first experiment is the sanity floor: with null spectra on the BRENDA/SABIO-RK set (Multimodal Regression for Enzyme Turnover Rates Prediction), the model must match ProKcat-M within noise (published RMSE 0.71, PCC 0.88); on our curated condition-paired subset, where sequences appear under multiple recorded conditions, the target is to beat ProKcat re-run under identical budget, with condition-level splits so the model must generalize across temperatures, pH, and cofactors it has not seen paired with that sequence.

The second experiment is condition-dependent function placement, evaluated on a Unseen-EC4-style protocol stratified by sequence identity (How Not to be Seen: Predicting Unseen Enzyme Functions using Contrastive Learning). The decisive measurement is not the headline accuracy but the paired test: the same enzyme sequence with two different operando signatures must retrieve two different EC branches where the literature reports condition-dependent or promiscuous activity. EnzPlacer and CLEAN emit one answer per sequence by construction, so their per-condition accuracy is capped at their condition-averaged accuracy — a ceiling we can compute exactly.

The third experiment is the cross-domain transfer that makes the small-data regime survivable: the spectral encoder pretrained on the inorganic operando corpora (β-MnO₂ with its seven oxygen species and desorption threshold; the Cu₃ reconstruction series) is tested zero-shot on band-classification and spectral forecasting for enzyme stopped-flow data, with forecasting measured as next-window prediction error against a persistence predictor. Fourth, the gate's residue selections are scored against Mechanism and Catalytic Site Atlas residues — no reported overlap metric for SLEEC's site classifier was found on Lacuna, so we report both SLEEC's conservation-based selections and ours against the same ground truth — and the Halo-tag robustness test is replicated, where SLEEC's 4% degradation against CLEAN's 39–62% is the number to match (Enzyme Classification via Semi-Supervised Functional Residue Learning).

The decisive check, repeated throughout: time-shuffled spectra and scalar-only conditioning, run at matched compute on every task. The proposal stands or falls on the gap between real trajectories and those controls. A known limitation carried forward is that masked PLMs handle insertions and deletions poorly (ProteinGym: Large-Scale Benchmarks for Protein Fitness Prediction and Design), so the conditioning head must be robust to tagged and fused constructs from the start. If curation yields fewer than one hundred usable enzyme–trajectory pairs, the inorganic-to-enzyme transfer experiment becomes the headline result and the conditioning claim is scoped to what the data can support — an honest fallback, not a retreat.