WorksComputer Science
EnzDecomp: Disentangling background reactivity from active-site selectivity in enzyme screens
Abstract
Ethyl hexanoate and hexyl acetate differ in which side of the ester carries the longer chain. Of 146 esterases, 28 cleaved ethyl hexanoate and 29 cleaved hexyl acetate. Both look similar if any catalyst suffices. Selective linkers instead rely on the ten enzymes specific to ethyl hexanoate and the eleven specific to hexyl acetate. We asked if both sorts of entries could be predicted for enzymes and substrates held out of training. The same issue arises with epimers and enantiomers, where a reversal of enzymatic preference may accompany a change in configuration without any change in connectivity. For each of six enzyme families we had a matrix of compounds against related enzymes, with every entry from the same assay, including inactive pairs. An additive fit to these matrices already ranked substrates nearly as well as the best external model (within-enzyme average precision (AP) 0.468 versus 0.477 over 176 splits). Yet four SMILES-based predictors tied on 70.5-100% of unseen epimer or enantiomer cases. EnzDecomp fits substrate reactivity and then enzyme breadth, freezing each in turn. No docking is needed. We fit the residual using a fixed 3D pocket per enzyme, local 2D chiral bond patterns and quantum-chemical descriptors at candidate reaction sites, then center it on the training matrix. On 4,355 reversals this yielded the best native balanced accuracy (61.6%, rising to 80.1% on esterases). Accuracy on 780 unseen isomer cases was 66.3% (epimers 58.3%, enantiomers 61.6%, no ties). The full score led within-enzyme ranking on 152 non-random and 74 double-holdout splits (0.475 and 0.436 AP) and whole-library ranking on the HAD panel with <40%-identity enzyme clusters (0.302 pooled AP). Downstream training took 10.4 minutes per esterase split, 25-44 times faster than the docking and multimodal Transformer baselines.
Introduction
Suppose two ester bonds occur in the linkers of a responsive material. It matters whether the same enzyme cleaves both. Related choices of enzyme and substrate arise in phosphate and ester prodrugs, in glycosyltransferase-mediated remodeling of cell-surface glycans, and in the synthesis of chiral intermediates[1, 2, 3]. Activity databases are of limited help with this question if two reactions were reported under different conditions, or if an enzyme–substrate combination recorded as negative has never been assayed[4, 5]. We used family screens in which tens to hundreds of homologs encountered the same substrates under uniform conditions. These experiments give measured positives and negatives for esterases[2], haloacid dehalogenase (HAD) phosphatases[1], OleA thiolases[6], glycosyltransferases[3], nitrilases[7] and DUF849 β-ketoacid cleavage enzymes[8]. On unfamiliar enzymes and chemical structures[9], screening asks which reactions to prioritize for one enzyme or across a panel. Selectivity asks whether an enzyme prefers over its isomer or enantiomer and whether a second enzyme prefers .
Rankings within a family can shift when new enzyme homologs or chemical scaffolds are tested[9, 10, 11]. In a family screen, enzyme breadth, shared substrate reactivity and pocket interaction[12] can all three contribute to a hit. Differences in enzyme breadth (including expression differences) alter hit counts before specific pocket contacts enter. Activated esters or aryl phosphates with labile leaving groups raise hits across the family. When two substrates are compared on one enzyme, enzyme breadth cancels out, but the difference in shared substrate reactivity remains and favors the same substrate for every enzyme. Take the esters ethyl hexanoate and hexyl acetate. Both have the formula . Among 146 esterases tested by Martínez-Martínez et al.[2], 28 cleaved ethyl hexanoate and 29 cleaved hexyl acetate. Ten of the enzymes cleaved the former ester alone and 11 the latter alone. Thus even for two esters with nearly equal hit rates, the more active substrate depends on which enzyme is assayed. HAD phosphatases likewise show opposite preferences for epimers and for pairs of enantiomers[1].
For a given enzyme and substrate, a protein–molecule encoder[4, 13, 14, 15, 16, 17], a multimodal language model such as ProSmith[5], and a graph network for a docked complex such as EZSpecificity[18] each return an activity score. How much of a good screening score actually requires a match between the two molecules? We scored each reaction with only enzyme breadth and shared substrate reactivity . With **no enzyme–substrate interaction, this additive score reached 0.468 within-enzyme average precision (AP) on 176 splits, about 0.8 percentage points below the best external model (0.477), yet gave only 50.0% balanced accuracy on reversals. None of the 43/43 enantiomer pairs could be told apart by their 1D SMILES embeddings. Compressing 2D descriptors by principal components lost nearly 70% of the separation among stereoisomers, and four predictors gave equal scores in 70.5–100% of enzyme-level comparisons on unseen epimers and enantiomers. A 3D docked representation can distinguish handedness, but encoding a screen in EZSpecificity takes complexes. Even downstream training alone took 25× as long, and its output still contains shared activity.
EnzDecomp takes one reference region from each enzyme, encoding the residues around it with ESM-C and the 3D pocket with ATOMICA (Figure 1). For each substrate we enumerate candidate reactive groups and protonation microstates, using 128 channels of local 2D chiral topology [21] and 32 GFN2-xTB/AIMNet2 quantum channels [22, 23]. Stages 1 and 2 fit and successively freeze substrate reactivity and enzyme breadth. Stage 3 predicts the residual through site-to-pocket attention and double-centers it on the training matrix. A sequence–chemistry prior can be used when pocket structures are unavailable or come from distant homologs. Readout 1 () combines the components using validation data for library screening. Readout 2 () takes the Stage 3 interaction directly. Among nine models on 176 splits, the direct Stage 3 readout calls 19 of the 21 selective esterases correctly. Balanced accuracy was 80.1% on esterase substrate pairs, 58.3% on unseen epimers and 61.6% on unseen enantiomers, with 0.0% ties. We also double-centered each external score matrix on its training reference panel. Cross-panel balanced accuracy increased for all 8/8 external models (Figure 2 and Figure 3). The full score led within-enzyme ranking on 152 non-random and 74 double-holdout splits (0.475 and 0.436 AP) and whole-library ranking on the HAD panel with <40%-identity enzyme clusters (0.302 pooled AP, Figure 4). Training the identical network without freezing marginal terms gave 59.6% versus 80.1% on esterase substrate pairs. The relative spread of fitted enzyme and substrate effects varied by family, and quantum descriptors helped on new functional groups. Downstream training was 25–44 times faster than EZSpecificity and ProSmith (Figure 5).
Figure 1. How one family screen supplies both predictions. a, In the matrix, varies by enzyme and by substrate. The third term is the centered interaction. The complete score ranks reactions for a library screen. The direct interaction readout compares two substrates. b, Reference pocket of esterase EH78, rendered in PyMOL{sup}24. For each enzyme we encode one structure with ATOMICA and the surrounding residues with ESM-C 600M (1,152 features per residue). At candidate reactive groups in each protonation microstate, we use 128 local RDKit channels for topology and chirality{sup}21 and 32 GFN2-xTB/AIMNet2 channels for electronic structure. c, After fitting and freezing in Stage 1 and in Stage 2, we fit the remaining variation using attention between sites and the pocket with soft-maximum and gated pooling (3a). Double centering on the training rectangle (3b) gives . A sequence–chemistry prior covers sparse, absent or distant pocket structures. d, Variance alignment and support shrinkage on the validation split recombine terms for Readout 1 (). Readout 2 () takes the interaction directly.
Figure 2. Resolving enzyme-specific preference reversals by removing shared substrate bias. a, Ethyl hexanoate (#4) and hexyl acetate (#14) are held-out constitutional isomers () with similar hit rates across esterases. Among the enzymes active on just a single isomer, 10 preferred #4 and 11 preferred #14. b, Predicted preference direction for all 21 selective esterases under substrate holdout. Filled circles mark correct calls, crosses mark opposite calls, and exact ties get zero credit. c, Exact 64-bit floating-point score breakdown over runs (max ), where open circles show individual runs for strongly selective esterases EH78 and EH23 and boundary esterase EH4. Without the shared substrate offset , EH4 keeps its negative pocket preference for #14 ( rather than in the full score). d, Equal-case mean balanced reversal accuracy across all benchmark reversal cases (3,127 unique pairs; left) and held-out esterase pairs (3,472 comparisons; right), comparing EnzDecomp’s full score and readout (blue circles) against external raw scores (open circles) and post-hoc training-reference centered scores (filled circles).

Figure 3. a, The seven deduplicated substrate libraries contain unique isomer pairs (907 across eight panels, top left). At bottom left, the SMILES embeddings have for 43/43 enantiomer pairs. The same panel shows how much stereochemical information was retained in the HAD phosphatase descriptors after PCA-128 compression. At right, aligned D-ribitol 5-phosphate (#61) and D-ribonate 5-phosphate (#62) retain the same 3D stereocenter geometry. Oxidation at C1 changes substituent priorities and hence the formal labels at C2 and C3. b, Balanced reversal accuracy and exact tie rates (%) on unseen enantiomer cases (18 unique pairs, left) and unseen diastereomer or epimer cases (123 unique pairs, right). Blue circles show EnzDecomp, open circles raw external scores, and filled circles post-hoc centered scores. c, Overall balanced accuracy (left) and threshold-free contrast AUROC (right) across all unseen isomer cases (326 unique pairs; 29,395 discordant comparisons). d, Enantiomer calls across selective HAD phosphatases, 26 D-selective and 11 L-selective, on unseen D-versus-L-galactitol 6-phosphate (#72 versus #126). Dashes mark exact score ties with .
Figure 4. Extrapolating to unfamiliar enzyme clusters and chemical structures in HAD phosphatases. a, The curated 218 × 131 HAD phosphatase screen was split under four cluster-isolated regimes ( splits in total). Five splits hold out MMseqs2 enzyme clusters (< 40% identity or < 80% coverage). Another five hold out biochemical substrate classes, and five hold out Butina clusters of Morgan fingerprints at Tanimoto distance 0.4. The remaining 25 splits are 5 × 5 double-cold splits in which both enzyme and chemical clusters are unseen. b–d, Equal-split mean whole-library Pooled AP (b), within-enzyme substrate ranking Row AP (c) and within-substrate enzyme retrieval Column AP (d) across EnzDecomp and eight retrained external baselines evaluated on identical held-out cells (all 1,080 individual split-level evaluations are plotted in Figure S1).
Figure 5. Opening the decomposed model: background ranking baselines, selectivity signal buildup and quantum-chemical descriptors. a, The square shows what can be predicted from enzyme breadth and substrate reactivity alone (). Over splits its Row AP is 0.468 (dashed vertical line), above four of the eight external scores and 0.8 percentage points below the highest. On reversal cases it gives 50.0% balanced accuracy. From the same fit, the full score gives 0.483 Row AP (light-blue circle) and gives 61.6% balanced accuracy (deep-blue circle). b, Left, balanced accuracy on the esterase substrate pairs from substrate holdouts as components are added. Parentheses give correct calls out of 21 for isomers #4 and #14. Right, ratio of enzyme-breadth and substrate-reactivity dispersions () in each of six families. c, Change in within-enzyme Row AP (percentage points) with 32 GFN2-xTB/AIMNet2 reaction-site descriptors on familiar and unfamiliar scaffolds, including comparison with 32 matched RDKit physicochemical descriptors. d, Downstream GPU wall time per split and peak allocated device memory on esterase splits (NVIDIA A800-SXM4-80GB). For all nine models, including the lightweight frozen-feature models, see Table S5.
Results
Additive background reactivity drives black-box screening rankings
A chemist looking for substrates of a single enzyme can rank the whole assayed library. One who wants two enzymes with opposite preferences must compare the same substrate pair across enzymes. The family screens allow both tests on the same held-out cells: they record active and inactive reactions for homologs tested against a common substrate library under common conditions. We compared EnzDecomp with eight published predictors, retraining each on the same 176 train–test splits. The eight panels cover six enzyme families (esterases, HAD phosphatases, OleA thiolases, glycosyltransferases, nitrilases and DUF849 -ketoacid cleavage enzymes; Table S1 and Methods). For screening we used within-enzyme substrate ranking, measured by row-wise average precision (Row AP). For preference reversal balanced accuracy we found 4,355 high-support substrate-pair cases with opposite preferences among test enzymes, comprising 187,007 discordant enzyme–pair comparisons (Table S2 and Table S3).
| Panel | Enzymes | Substrates | Isomer pairs | Splits | Primary screen |
| Esterase, distributed | 146 | 96 | 37 | 16 | Ref. 2 |
| Esterase, source workbook | 147 | 96 | 37 | 40 | Ref. 2 |
| HAD phosphatase, distributed | 218 | 165 | 495 | 16 | Ref. 1 |
| HAD phosphatase, curated | 218 | 131 | 312 | 40 | Ref. 1 |
| OleA thiolase | 73 | 15 | 0 | 16 | Ref. 6 |
| Glycosyltransferase acceptors | 55 | 104 | 13 | 16 | Ref. 3 |
| Nitrilase | 18 | 38 | 12 | 16 | Ref. 7 |
| DUF849 (-ketoacid cleavage enzymes) | 161 | 17 | 1 | 16 | Ref. 8 |
Table S1. Table S1 | Experimental origins, dimensions and isomer pair counts of the eight screening panels. Isomer pair counts sum constitutional, diastereomeric/epimeric and enantiomeric substrate pairs within each library (870 unique isomer pairs across the seven deduplicated substrate libraries; 907 across all eight panels).
Table S2 | Whole-library and per-axis activity ranking across holdout regimes. Symmetric comparison on identical observed test cells using run-averaged test score matrices for all external baselines and EnzDecomp across all 176 splits, all 152 non-random out-of-distribution splits, all 74 double-holdout splits (where both enzymes and substrates are held out) and all 40 curated HAD phosphatase splits (Methods; symmetric single-run means s.d. across individual runs are reported in Table S8). EnzDecomp is shown under both source-excluded leave-one-source-out (LOSO) combination-family selection and default validation selection. Column AP and AUROC are defined on 175 of 176 splits (151 of 152 non-random splits and 73 of 74 double-holdout splits). Bold marks the highest value within each block and column.
| Model / Readout | Splits | Row AP | Column AP | Pooled AP | AUROC |
| Full benchmark across all eight panels (176 splits; 24 random + 152 out-of-distribution) | |||||
| FusionESP14 | 176 | 0.4270 | 0.4995 | 0.4552 | 0.7314 |
| ESP4 | 176 | 0.4404 | 0.5200 | 0.4844 | 0.7507 |
| PU-EPP16 | 176 | 0.4533 | 0.4911 | 0.4634 | 0.7403 |
| EnzRank13 | 176 | 0.4570 | 0.4889 | 0.4780 | 0.7573 |
| RAMMESI17 | 176 | 0.4685 | 0.5493 | 0.5221 | 0.7829 |
| ProSmith5 | 176 | 0.4707 | 0.5602 | 0.5303 | 0.7846 |
| EZSpecificity18 | 176 | 0.4729 | 0.5445 | 0.5269 | 0.7797 |
| OmniESI15 | 176 | 0.4765 | 0.5664 | 0.5390 | 0.7944 |
| EnzDecomp (LOSO rule selection) | 176 | 0.4829 | 0.5449 | 0.5188 | 0.7782 |
| EnzDecomp (ours) | 176 | 0.4830 | 0.5453 | 0.5202 | 0.7782 |
| All non-random out-of-distribution splits across eight panels (152 splits) | |||||
| FusionESP14 | 152 | 0.4144 | 0.4613 | 0.4192 | 0.7132 |
| ESP4 | 152 | 0.4283 | 0.4833 | 0.4469 | 0.7273 |
| PU-EPP16 | 152 | 0.4425 | 0.4495 | 0.4230 | 0.7145 |
| EnzRank13 | 152 | 0.4518 | 0.4522 | 0.4478 | 0.7373 |
| RAMMESI17 | 152 | 0.4568 | 0.5122 | 0.4850 | 0.7616 |
| ProSmith5 | 152 | 0.4600 | 0.5223 | 0.4882 | 0.7626 |
| EZSpecificity18 | 152 | 0.4627 | 0.5063 | 0.4854 | 0.7573 |
| OmniESI15 | 152 | 0.4662 | 0.5269 | 0.4967 | 0.7738 |
| EnzDecomp (LOSO rule selection) | 152 | 0.4746 | 0.5096 | 0.4816 | 0.7605 |
| EnzDecomp (ours) | 152 | 0.4747 | 0.5099 | 0.4819 | 0.7603 |
| All double-holdout splits across eight panels (74 splits; unseen enzymes and substrates) | |||||
| FusionESP14 | 74 | 0.3725 | 0.3941 | 0.3260 | 0.6366 |
| ESP4 | 74 | 0.3758 | 0.4032 | 0.3355 | 0.6436 |
| PU-EPP16 | 74 | 0.3966 | 0.3691 | 0.3181 | 0.6224 |
| RAMMESI17 | 74 | 0.4052 | 0.4382 | 0.3848 | 0.6915 |
| ProSmith5 | 74 | 0.4176 | 0.4401 | 0.3867 | 0.6929 |
| OmniESI15 | 74 | 0.4178 | 0.4455 | 0.3899 | 0.7070 |
| EZSpecificity18 | 74 | 0.4211 | 0.4297 | 0.3901 | 0.6903 |
| EnzRank13 | 74 | 0.4261 | 0.3668 | 0.3594 | 0.6607 |
| EnzDecomp (LOSO rule selection) | 74 | 0.4358 | 0.4298 | 0.3849 | 0.6964 |
| EnzDecomp (ours) | 74 | 0.4358 | 0.4298 | 0.3849 | 0.6964 |
| Curated HAD phosphatase benchmark across all four holdout regimes (40 splits) | |||||
| FusionESP14 | 40 | 0.2191 | 0.3002 | 0.2301 | 0.6355 |
| ProSmith5 | 40 | 0.2222 | 0.3218 | 0.2485 | 0.6542 |
| EZSpecificity18 | 40 | 0.2248 | 0.3282 | 0.2655 | 0.6608 |
| EnzRank13 | 40 | 0.2253 | 0.2878 | 0.2333 | 0.6338 |
| ESP4 | 40 | 0.2256 | 0.3249 | 0.2689 | 0.6600 |
| PU-EPP16 | 40 | 0.2257 | 0.2913 | 0.2332 | 0.6150 |
| RAMMESI17 | 40 | 0.2310 | 0.3477 | 0.2792 | 0.6741 |
| OmniESI15 | 40 | 0.2439 | 0.3479 | 0.2794 | 0.6886 |
| EnzDecomp (LOSO rule selection) | 40 | 0.2394 | 0.3501 | 0.3024 | 0.6901 |
| EnzDecomp (ours) | 40 | 0.2394 | 0.3501 | 0.3024 | 0.6901 |
Table S2.
| Model / Readout | All cross-panel cases (4,355; 3,127 pairs) | Esterase substrate holdout (105 pairs) | |||||
| Dir (%) | Bal (%) | cAUROC | Dir (%) | Bal (%) | cAUROC | #4 vs. #14 | |
| Raw model readouts | |||||||
| EnzRank [13] | 50.81 | 48.45 | 0.5024 | 52.79 | 50.00 | 0.5238 | 10 / 21 |
| PU-EPP [16] | 56.27 | 54.93 | 0.5980 | 75.30 | 72.29 | 0.8697 | 15 / 21 |
| ESP [4] | 57.51 | 55.16 | 0.6245 | 69.57 | 67.93 | 0.8396 | 14 / 21 |
| RAMMESI [17] | 58.36 | 56.78 | 0.6244 | 75.85 | 71.76 | 0.8581 | 11 / 21 |
| OmniESI [15] | 58.66 | 56.81 | 0.6267 | 79.39 | 77.67 | 0.8895 | 16 / 21 |
| ProSmith [5] | 58.48 | 57.16 | 0.6472 | 81.94 | 80.03 | 0.9147 | 17 / 21 |
| EZSpecificity [18] | 60.18 | 57.79 | 0.6335 | 75.51 | 74.27 | 0.8686 | 16 / 21 |
| FusionESP [14] | 60.44 | 59.35 | 0.6419 | 75.04 | 73.33 | 0.8704 | 16 / 21 |
| Additive () | 52.81 | 50.00 | 0.5055 | 53.76 | 50.00 | 0.5282 | 10 / 21 |
| EnzDecomp (full score) | 61.01 | 58.89 | 0.6564 | 70.63 | 68.23 | 0.8805 | 17 / 21 |
| (sequence branch) | 61.66 | 61.11 | 0.6481 | 75.69 | 73.89 | 0.8296 | 17 / 21 |
| (Stage 3 readout) | 61.54 | 61.63 | 0.6515 | 80.44 | 80.07 | 0.8851 | 19 / 21 |
| External baselines after post-hoc training-reference double centering | |||||||
| EnzRank + train-ref. centering | 48.33 | 49.02 | 0.5037 | 47.27 | 49.84 | 0.5158 | 11 / 21 |
| ESP + train-ref. centering | 57.59 | 57.26 | 0.6247 | 76.21 | 75.41 | 0.8396 | 13 / 21 |
| PU-EPP + train-ref. centering | 57.54 | 57.30 | 0.5980 | 79.02 | 79.40 | 0.8697 | 16 / 21 |
| RAMMESI + train-ref. centering | 60.18 | 59.66 | 0.6244 | 78.45 | 77.74 | 0.8581 | 12 / 21 |
| EZSpecificity + train-ref. centering | 60.30 | 59.80 | 0.6335 | 76.87 | 77.81 | 0.8686 | 18 / 21 |
| OmniESI + train-ref. centering | 59.92 | 60.03 | 0.6266 | 81.35 | 81.49 | 0.8895 | 16 / 21 |
| ProSmith + train-ref. centering | 60.73 | 60.44 | 0.6473 | 83.71 | 83.99 | 0.9147 | 17 / 21 |
| FusionESP + train-ref. centering | 60.74 | 60.51 | 0.6419 | 78.64 | 78.02 | 0.8704 | 15 / 21 |
Table S3. Table S3 | Direction of preference among discordant enzymes across 4,355 cross-panel cases and 105 esterase substrate pairs. The left columns cover 4,355 high-support pair–split cases from 142 splits (3,127 distinct substrate pairs and 187,007 discordant enzyme–pair comparisons). The right columns cover 105 esterase substrate pairs sampled on common support across four substrate holdouts (3,472 comparisons). For the example of held-out ethyl hexanoate (#4) and hexyl acetate (#14), the count is over the discordant esterases. All readouts and external baselines use run-averaged test score matrices (Methods). Results scored separately by run are given as mean ± s.d. in Table S8. No credit is given for an exact tie. Across 4,355 cases raw tie rates were 4.1% (ESP), 3.1% (ProSmith), 3.1% (EnzRank), 2.2% (OmniESI) and 0.0% (EnzDecomp). Dir and Bal give equal-case mean direction and balanced accuracy (%), and cAUROC gives threshold-free contrast AUROC. Bold marks the best value per column in each block.
The four highest-ranking external predictors differed by just 0.8 percentage points in Row AP (0.469–0.477, with AUROC of 0.780–0.794; Figure 5a). They use quite different inputs and architectures: ProSmith is a multimodal language model [5], OmniESI uses progressive conditional fusion [15], RAMMESI combines retrieval with feature fusion [17], and EZSpecificity builds a graph of each docked complex [18]. Their balanced accuracies on preference reversals ranged from 56.8 to 57.8%. FusionESP reached 59.4% on reversals with a lower Row AP of 0.427 [14]. We tried scoring a reaction using just the breadth of the enzyme and the shared reactivity of the substrate . On reversals gives exactly 50.0% balanced accuracy. As a screening model, however, it gave 0.468 Row AP and 0.773 AUROC (Figure 5a and Table S6). Its Row AP exceeded four of the eight external scores, nearly matched RAMMESI (0.469) and fell about 0.8 percentage points below the highest external score (OmniESI, 0.477). With one score per pair, enzyme breadth and substrate reactivity dominate the fit over active-site differences. We checked their role by centering the eight external score matrices and comparing staged with unstaged training on the same network.
| Readout / Ablation | Splits | Row AP | Column AP | Pooled AP | AUROC |
| Sequence interaction () | 176 | 0.3589 | 0.4277 | 0.3281 | 0.5975 |
| Joint interaction () | 176 | 0.3451 | 0.4185 | 0.3150 | 0.5793 |
| Unstaged end-to-end + post hoc reference centering | 176 | 0.3380 | 0.3764 | 0.2671 | 0.5380 |
| Staged uncentered residual + post hoc reference centering | 176 | 0.3341 | 0.3878 | 0.2796 | 0.5491 |
| Additive main effects () | 176 | 0.4683 | 0.5261 | 0.4875 | 0.7731 |
| Staged uncentered residual () | 176 | 0.4768 | 0.5332 | 0.5007 | 0.7772 |
| Staged base () | 176 | 0.4781 | 0.5336 | 0.4999 | 0.7765 |
| Unstaged joint end-to-end (full score) | 176 | 0.4785 | 0.5343 | 0.5218 | 0.7847 |
| EnzDecomp (leave-one-source-out rule selection) | 176 | 0.4829 | 0.5449 | 0.5188 | 0.7782 |
| EnzDecomp (full score) | 176 | 0.4830 | 0.5453 | 0.5202 | 0.7782 |
Table S6. Library ranking with components omitted or the training procedure changed. The values for each model are averages over 176 test splits, with equal weight per split. For Column AP and AUROC there are 175 defined values. Metrics were calculated from run-averaged test scores (Methods). The largest mean in each column is in bold.
We next let the additive fit make an enzyme-specific correction for each substrate. The simplest correction was just a scalar times the centered Stage 3 residual, giving . With no sequence-only prior and no post-hoc calibration, this three-stage model gave 0.478 Row AP across the 176 splits, higher than each external score (Table S6). For library screening, alignment on the validation data according to support brought the full score (Readout 1, ) to 0.483 Row AP. For preferential activity, the quantity of interest was already available from the same fit: the pocket term (Readout 2). Used directly, it gave 61.6% balanced accuracy over the 4,355 reversal cases (Figure 1c,Figure 1d and Figure 5a). The full score for screening and the pocket term for reversals also led on these two metrics when single runs were scored separately and the scores averaged (Table S8).
| Model / Readout | 176 Row | 176 Pool | 152 OOD | 74 Dual | HAD Pool | HAD AUC | All (4,355) | Iso. (780) | Epim. (237) | Enant. (35) |
| Single-run raw baselines and EnzDecomp readouts | ||||||||||
| FusionESP[14] | .4173 ± .0031 | .4346 ± .0051 | .4042 ± .0033 | .3601 ± .0076 | .2153 ± .0070 | .6165 ± .0100 | 57.64 ± 0.60 | 61.81 ± 1.54 | 55.82 ± 2.02 | 56.96 ± 4.26 |
| PU-EPP[16] | .4345 ± .0071 | .4350 ± .0038 | .4228 ± .0084 | .3811 ± .0117 | .2166 ± .0038 | .5977 ± .0063 | 54.00 ± 0.85 | 56.42 ± 1.14 | 52.06 ± 1.51 | 52.09 ± 1.53 |
| EnzRank[13] | .4411 ± .0092 | .4505 ± .0037 | .4380 ± .0102 | .4111 ± .0119 | .2250 ± .0087 | .6133 ± .0165 | 48.45 ± 0.00 | 32.58 ± 0.01 | 0.05 ± 0.03 | 0.00 ± 0.00 |
| ESP[4] | .4381 ± .0011 | .4826 ± .0010 | .4257 ± .0012 | .3733 ± .0029 | .2679 ± .0006 | .6589 ± .0005 | 55.04 ± 0.02 | 44.01 ± 0.03 | 0.00 ± 0.00 | 0.00 ± 0.00 |
| RAMMESI[17] | .4573 ± .0038 | .5030 ± .0042 | .4453 ± .0043 | .3954 ± .0050 | .2617 ± .0011 | .6574 ± .0029 | 55.73 ± 0.67 | 57.62 ± 0.54 | 53.40 ± 0.97 | 52.84 ± 1.74 |
| EZSpecificity[18] | .4633 ± .0022 | .5071 ± .0021 | .4531 ± .0025 | .4132 ± .0042 | .2543 ± .0059 | .6468 ± .0060 | 57.32 ± 0.95 | 56.89 ± 0.81 | 52.50 ± 1.19 | 54.67 ± 2.70 |
| OmniESI[15] | .4612 ± .0062 | .5205 ± .0046 | .4502 ± .0066 | .4024 ± .0106 | .2620 ± .0065 | .6654 ± .0056 | 55.45 ± 1.15 | 44.93 ± 0.40 | 12.20 ± 0.55 | 13.50 ± 0.76 |
| ProSmith[5] | .4649 ± .0026 | .5227 ± .0032 | .4537 ± … | |||||||
| EnzDecomp (full, single-run) | .4694 ± .0048 | .5057 ± .0060 | .4604 ± .0057 | .4182 ± .0092 | .2922 ± .0073 | .6841 ± .0084 | 57.58 ± 0.63 | 61.09 ± 0.55 | 54.66 ± 0.86 | 55.58 ± 1.45 |
| (single-run) | .3634 ± .0050 | .2920 ± .0065 | .3273 ± .0055 | .3077 ± .0068 | .1481 ± .0040 | .4954 ± .0064 | 59.55 ± 0.57 | 63.96 ± 0.43 | 57.28 ± 0.52 | 57.29 ± 1.51 |
| Single-run external baselines + post-hoc training-reference double centering (selectivity readouts) | ||||||||||
| EnzRank + train-ref. centering | — | — | — | — | — | — | 48.66 ± 0.27 | 33.39 ± 0.30 | 2.94 ± 0.09 | 2.57 ± 0.64 |
| ESP + train-ref. centering | — | — | — | — | — | — | 57.26 ± 0.08 | 45.89 ± 0.02 | 0.00 ± 0.00 | 0.00 ± 0.00 |
| PU-EPP + train-ref. centering | — | — | — | — | — | — | 55.57 ± 0.71 | 58.24 ± 1.05 | 51.90 ± 1.61 | 51.79 ± 1.44 |
| RAMMESI + train-ref. centering | — | — | — | — | — | — | 57.80 ± 0.79 | 59.14 ± 0.92 | 53.44 ± 1.21 | 52.04 ± 2.83 |
| OmniESI + train-ref. centering | — | — | — | — | — | — | 58.46 ± 0.70 | 59.30 ± 0.35 | 49.77 ± 0.63 | 50.88 ± 0.27 |
| EZSpecificity + train-ref. centering | — | — | — | — | — | — | 58.92 ± 1.13 | 59.22 ± 0.51 | 52.41 ± 1.08 | 48.89 ± 2.44 |
| ProSmith + train-ref. centering | — | — | — | — | — | — | 59.06 ± 0.49 | 57.68 ± 1.75 | 25.49 ± 1.19 | 28.71 ± 6.48 |
| FusionESP + train-ref. centering | — | — | — | — | — | — | 58.82 ± 0.66 | 63.63 ± 1.54 | 56.29 ± 2.25 | 56.98 ± 5.24 |
Table S8. Variation across individual runs for EnzDecomp and the external predictors. For the main text, figures and Table S2–Table S4 we averaged the test scores over runs for each model before calculating metrics (Methods). Here each external model and each EnzDecomp readout, including , is scored separately, one run at a time. Values are means across runs (± s.d.), with the highest mean in each column in bold and equal weight for each case. Activity screening columns report Row AP and Pooled AP across all 176 splits, Row AP across 152 out-of-distribution (OOD) and 74 double-holdout splits, and Pooled AP and AUROC across 40 curated HAD phosphatase splits. Selectivity reversal columns report mean balanced accuracy (%) before and after double-centering on each split’s training reference panel for all 4,355 cross-panel reversals and 780 cold-isomer cases, with separate results for 237 cold diastereomer/epimer cases and 35 cold enantiomer cases.
Removing shared substrate bias resolves preference reversals
Ethyl hexanoate (#4) and hexyl acetate (#14) were both held out of training (Figure 2a). These two constitutional isomers share the formula . Ethyl hexanoate and hexyl acetate differ in which side of the ester carries the longer six-carbon chain. In the metagenomic esterase screen{sup}2, 28 of 146 enzymes cleaved ethyl hexanoate and 29 cleaved hexyl acetate. Only 21 of the 146 esterases were active on one ester: ten cleaved ethyl hexanoate alone and eleven cleaved hexyl acetate alone. Even for esters with nearly equal family-wide hit rates, which isomer is hydrolyzed depends on which enzyme is assayed. Their opposite preferences reflect differences in pocket geometry near the catalytic triad. With $A+C$, the prediction was the same for all 21 enzymes (10/21 correct). External models gave at most **17 of 21** correct calls ({xref}Fig. 2b and {xref}Table S3`).
EH4 and EH48 both prefer hexyl acetate. In the 64-bit floating-point reconstruction, the sequence and 3D pocket terms favor that ester by and , respectively (Figure 2c). The full score gets both preferences wrong ( and ): each enzyme has the same offset in favor of ethyl hexanoate. The offset is too small to change the calls for EH78 and EH23. Their pocket preferences for ethyl hexanoate (, EH78) and hexyl acetate (, EH23) retain their signs in the full scores ( and ). The direct Stage 3 readout omits , restores the negative signs for EH4 and EH48 and calls 19 of the 21 enzymes correctly (90.5%; Figure 2b,Figure 2c). Across 4,355 reversal cases the change from full score to interaction raised balanced accuracy from 58.9% to 61.6%. On 105 held-out esterase substrate pairs the increase was from 68.2% to 80.1%. These were the highest native scores on both benchmarks (Figure 2d and Table S3). We also double-centered each external score matrix on its training reference panel. Cross-panel balanced accuracy rose for all 8/8 external models, consistent with a shared reactivity bias. Centered FusionESP and ProSmith reached 60.5% and 60.4% overall, compared with 61.6% for native Stage 3 , and centered ProSmith reached 84.0% on the esterase screen (Figure 2d, filled circles).
Chiral reaction-site encoding resolves epimers and enantiomers
A bond graph alone cannot distinguish stereoisomers with the same connectivity and different tetrahedral configurations. Across seven distinct substrate libraries we found 566 compounds and 870 unique isomer pairs with matching molecular formulas. Constitutional isomers accounted for 594 pairs, diastereomers (including epimers) for 233 and mirror-image enantiomers for 43 (Figure 3a). None of the 43 enantiomer pairs could be distinguished by distance between their ChemBERTa-2 SMILES embeddings. For every pair, (Figure 3a). In the curated 218 131 HAD phosphatase panel, reducing the 2D descriptors to 128 principal components retained 71.8% of the squared distance between constitutional isomers, but only 32.9% between epimers and 30.4% between enantiomers. The Cahn–Ingold–Prelog labels have a different limitation. Consider D-ribitol 5-phosphate (#61, 2S, 3S, 4R) and its C1 oxidation product, D-ribonate 5-phosphate (#62, 2R, 3R, 4R; Figure 3a, right). Changing the terminal alcohol to a carboxyl group changes the substituent priorities at C2 and C3. Both labels change from to , although the spatial arrangement at each stereocenter is conserved.
Substrate holdout produced 780 reversal cases involving isomers (326 unique pairs and 29,395 discordant comparisons; Figure 3b,Figure 3c and Table S4). With chiral reaction-site features and cross-attention to the 3D pocket, produced 0.0% ties. It ranked first among native and post-hoc centered predictors on both balanced accuracy and threshold-free contrast AUROC: 66.3% and 0.727 overall (Figure 3c), 58.3% and 0.629 for the 237 diastereomer/epimer cases, and 61.6% and 0.641 for the 35 mirror-image enantiomer cases (Figure 3b). In the 508 constitutional-isomer cases the molecules had different 2D bond graphs. ProSmith attained 71.3% raw and 76.0% centered balanced accuracy on these cases, compared with 70.3% for . When the bond graphs were identical, ESP⁴, EnzRank¹³, ProSmith and OmniESI tied on 70.5–100% of unseen epimer and enantiomer comparisons. Their raw balanced accuracies ranged from 0 to 15.6% (Figure 3b). On unseen mirror-image polyol phosphates D-galactitol 6-phosphate (#72) versus L-galactitol 6-phosphate (#126) across 37 selective HAD phosphatases (Figure 3d), ESP and EnzRank output exact ties on all 37 enzymes and ProSmith on 36 of 37 (0.0% accuracy); and RAMMESP1 predicted one direction for all 37 enzymes (50.0%); and 3D-docked EZSpecificity captured 19/26 D-selective enzymes but only 1/11 L-selective enzymes (41.1%), whereas resolved bidirectional stereoselectivity across both D- and L-selective cap-domain architectures (15/26 and 9/11; 69.8% balanced accuracy).
| Model / Readout | All cold isomers (780 / 326) Tie | All cold isomers (780 / 326) Bal (%) | All cold isomers (780 / 326) cAUROC | Constitutional (508) Bal (%) | Constitutional (508) cAUROC | Diastereomer/epimer (237) Tie | Diastereomer/epimer (237) Bal (%) | Diastereomer/epimer (237) cAUROC | Enantiomer (35) Tie | Enantiomer (35) Bal (%) | Enantiomer (35) cAUROC |
| Raw model readouts | |||||||||||
| EnzRank [13] | 34.9 | 32.59 | 0.4970 | 50.00 | 0.4951 | 100.0 | 0.07 | 0.5007 | 100.0 | 0.00 | 0.5000 |
| ESP4 [4] | 35.1 | 44.11 | 0.6807 | 67.73 | 0.7775 | 100.0 | 0.00 | 0.5000 | 100.0 | 0.00 | 0.5000 |
| OmniESI [15] | 24.9 | 46.95 | 0.6523 | 64.27 | 0.7281 | 71.5 | 14.46 | 0.5097 | 70.5 | 15.60 | 0.5184 |
| ProSmith [5] | 34.0 | 46.97 | 0.7179 | 71.26 | 0.8309 | 97.5 | 1.54 | 0.5068 | 97.1 | 1.92 | 0.5083 |
| EZSpecificity [18] | 0.0 | 58.67 | 0.6659 | 60.07 | 0.7162 | 0.0 | 55.55 | 0.5669 | 0.0 | 59.50 | 0.6054 |
| PU-EPP [16] | 0.0 | 59.09 | 0.6635 | 61.67 | 0.7214 | 0.0 | 54.40 | 0.5575 | 0.0 | 53.45 | 0.5410 |
| RAMMESI [17] | 0.0 | 59.39 | 0.6607 | 61.94 | 0.7106 | 0.0 | 54.61 | 0.5698 | 0.0 | 54.89 | 0.5521 |
| FusionESP [14] | 0.0 | 63.10 | 0.7200 | 66.38 | 0.7780 | 0.0 | 56.74 | 0.6088 | 0.0 | 58.56 | 0.6298 |
| Additive () | 0.0 | 50.00 | 0.5063 | 50.00 | 0.5075 | 0.0 | 50.00 | 0.5045 | 0.0 | 50.00 | 0.5018 |
| EnzDecomp (full score) | 0.0 | 63.59 | 0.7242 | 66.85 | 0.7747 | 0.0 | 57.25 | 0.6286 | 0.0 | 59.17 | 0.6383 |
| (Stage 3 readout) | 0.0 | 66.29 | 0.7274 | 70.32 | 0.7792 | 0.0 | 58.34 | 0.6290 | 0.0 | 61.61 | 0.6414 |
| External baselines after post-hoc training-reference double centering | |||||||||||
| EnzRank + train-ref. centering | 33.5 | 33.13 | 0.4973 | 49.26 | 0.4956 | 95.8 | 3.02 | 0.5007 | 94.3 | 2.86 | 0.5000 |
| ESP + train-ref. centering | 35.0 | 45.93 | 0.6808 | 70.52 | 0.7776 | 100.0 | 0.00 | 0.5000 | 100.0 | 0.00 | 0.5000 |
| OmniESI + train-ref. centering | 0.3 | 61.28 | 0.6488 | 67.08 | 0.7281 | 0.8 | 50.43 | 0.5002 | 0.0 | 50.55 | 0.5031 |
| EZSpecificity + train-ref. centering | 0.0 | 61.63 | 0.6659 | 64.99 | 0.7162 | 0.0 | 54.96 | 0.5669 | 0.0 | 57.97 | 0.6054 |
| RAMMESI + train-ref. centering | 0.0 | 61.88 | 0.6607 | 65.80 | 0.7106 | 0.0 | 54.94 | 0.5698 | 0.0 | 52.03 | 0.5521 |
| PU-EPP + train-ref. | 0.0 | 61.93 | 0.6635 | 66.58 | 0.7214 | 0.0 | 53.29 | 0.5575 | 0.0 | 53.05 | 0.5410 |
| ProSmith + train-ref. centering | 5.5 | 64.36 | 0.7184 | 76.03 | 0.8309 | 15.6 | 42.66 | 0.5086 | 17.1 | 41.90 | 0.5075 |
| FusionESP + train-ref. centering | 0.0 | 65.21 | 0.7200 | 69.19 | 0.7780 | 0.0 | 57.53 | 0.6088 | 0.0 | 59.38 | 0.6298 |
Table S4. Selectivity across unseen constitutional, diastereomeric/epimeric and enantiomeric substrate pairs. All readouts and external baselines use run-averaged test score matrices across cold isomer reversal cases with unseen substrate, discordant enzymes and minority preference (Methods). Results scored separately by run appear as mean s.d. in Table S8. In all there are 780 pair–split cases from 326 unique substrate pairs (29,395 discordant comparisons). They divide into 508 constitutional-isomer cases (185 unique pairs), 237 diastereomer/epimer cases (123 unique pairs) and 35 enantiomer cases (18 unique pairs). Tie is the exact score-tie fraction (%), Bal is equal-case mean balanced accuracy (%) and cAUROC is threshold-free contrast AUROC. Both mirror-image substrates were absent from training in 17 double-cold enantiomer cases (9 unique pairs and 641 comparisons). Across the 17 double-cold cases, had the top contrast AUROC (0.5715 versus 0.5462 for 3D-docked EZSpecificity), with 55.09% balanced accuracy compared with 56.96% raw and 55.34% centered for EZSpecificity. Bold marks the best value per column in each block.
Cluster-isolated extrapolation across homologs and scaffolds
For screening we used the full score (Readout 1, ), which combines calibrated enzyme breadth, substrate reactivity and pocket interaction. For pairwise selectivity we used Readout 2 (). Across all 176 splits, the full score had the highest mean Row AP of the nine models (0.483; Table S2). In the 24 random-pair splits, close homologs and chemical analogs of test pairs appeared in training. On those splits, top fusion networks scored 0.538–0.543 and EnzDecomp scored 0.535. Across the 152 non-random splits, EnzDecomp led at 0.475 Row AP, ahead of OmniESI (0.466) and EZSpecificity (0.463). On the 74 double-holdout splits, where both the enzyme and substrate were unseen, it again ranked first (0.436, compared with 0.426 for the closest baseline; Table S2). OmniESI and ProSmith had higher Pooled AP and Column AP in these aggregate averages, which compare scores across enzymes. Six of the panels have 16 splits each and hold out single proteins without clustering at sequence identity. This allows baseline activity to transfer from close training homologs.
The curated HAD phosphatase screen comprised 218 enzymes 131 substrates and four holdout regimes (40 splits in total; Figure 4 and Figure S1). HAD phosphatases share a Rossmannoid catalytic core with an Asp nucleophile. The C0, C1 and C2 cap domains differ between enzymes and control access to this core. We examined generalization to enzyme clusters below 40% sequence identity, to five biochemical substrate classes and to joint enzyme and chemical holdouts. A model trained on open-chain sugar phosphates, small phosphomonoesters and C–P phosphonates can thus encounter unfamiliar cap domains and substrates such as AMP, ATP and NADP, cyclic hexose and disaccharide phosphates, pyrophosphates, or activated aryl
Figure S1. Split-level variation across all nine models on the 40-split HAD phosphatase benchmark. Bars denote equal-weight split means across splits (evaluation protocol in Methods) and points display all paired held-out split evaluations across pooled AP (a), row AP (b) and column AP (c), corresponding to Figure 4b–Figure 4d and Table S2.
phosphates such as -nitrophenyl phosphate and phosphotyrosine (Figure 4a). Substrates in this HAD panel differed substantially in their susceptibility to phosphoryl-group cleavage. Phosphoanhydrides and phosphate esters with electron-withdrawing aryl leaving groups were hydrolyzed more readily across the superfamily than unactivated sugar phosphates or C–P phosphonates. We accounted for this superfamily-wide shared substrate reactivity through when estimating matches between new scaffolds and cap-domain pockets. Over the 40 splits, including those that excluded close homologs at the identity threshold, EnzDecomp had the highest whole-library Pooled AP among the nine models (0.302; OmniESI, 0.279; retrained EZSpecificity, 0.265). It led on Column AP (0.350) and AUROC (0.690). Within individual enzymes, Row AP was 0.239 for EnzDecomp and 0.244 for OmniESI. Across the four holdout regimes EnzDecomp exceeded 3D-docked EZSpecificity in 10 of the 12 AP comparisons (Figure 4b–Figure 4d and Table S2).
Marginal freezing, family regimes and quantum-chemical cues
After fitting enzyme breadth , shared substrate reactivity and pocket interaction separately, we tested whether post-hoc centering of an end-to-end network could replace the three-stage training procedure (Figure 5b–Figure 5d). We trained the identical neural network from scratch without freezing marginal terms and tested it on 105 held-out esterase substrate pairs (Figure 5b, left, and Table S7). Balanced reversal accuracy was 59.6% before centering and rose to 68.0% after double centering on the training reference panel, yet correct calls for the isomer pair #4 and #14 fell from 16/21 to 13/21. Freezing and then during training restricted the interaction layer to pocket residuals. Active-site sequence shells alone (, pooled inner-shell Å and outer-shell 8–15 Å residues) reached 73.9% and 17/21, and attention between reaction sites and 3D reference-pocket blocks () reached 80.1% and 19/21. The relative spread of fitted enzyme and substrate effects, , varied by family (Figure 5b, right). The GT1 glycosyltransferases had the smallest ratio, 0.46×, consistent with their sensitivity to acceptor nucleophilicity across the polyphenols and coumarins. The enzyme and substrate effects were closer in scale for broad-scope hydrolases, which vary in enzyme breadth and leaving-group lability (esterases, 1.13×; HAD phosphatases, 1.72×). Enzyme breadth dominated the narrower substrate series assayed for OleA thiolases, nitrilases and DUF849 β-ketoacid cleavage enzymes. These C–C or C–N cleavage families gave ratios of 3.22–9.71×. In all six families the Stage 2 breadth correlated with the estimate from sequence alone (). Strong pocket-specific effects reversed the family-wide substrate trend in 3–10% of enzyme–substrate pairs.
| Readout / Ablation | Dir (%) | Bal (%) | cAUROC | Dir (%) | Bal (%) | cAUROC | #4 vs. #14 |
| All cross-panel cases (4,355) | Esterase substrate holdout (105 pairs) | ||||||
| Additive baseline () | 52.81 | 50.00 | 0.5055 | 53.76 | 50.00 | 0.5282 | 10 / 21 |
| Staged uncentered residual () | 58.93 | 56.40 | 0.6308 | 54.62 | 50.77 | 0.5834 | 10 / 21 |
| Staged base () | 59.66 | 57.60 | 0.6460 | 59.52 | 55.94 | 0.7982 | 16 / 21 |
| Unstaged joint end-to-end (raw) | 57.91 | 55.51 | 0.6072 | 64.79 | 59.63 | 0.7504 | 16 / 21 |
| EnzDecomp (LOSO rule selection) | 61.00 | 58.88 | 0.6564 | 70.63 | 68.23 | 0.8805 | 17 / 21 |
| EnzDecomp (full library-ranking score) | 61.01 | 58.89 | 0.6564 | 70.63 | 68.23 | 0.8805 | 17 / 21 |
| Sequence interaction readout () | 61.66 | 61.11 | 0.6481 | 75.69 | 73.89 | 0.8296 | 17 / 21 |
| EnzDecomp interaction readout () | 61.54 | 61.63 | 0.6515 | 80.44 | 80.07 | 0.8851 | 19 / 21 |
Table S7. Substrate preference across ablations of the same backbone. The first block reports all 4,355 reversal cases across panels (3,127 unique pairs) using run-averaged test scores (Methods). The second block reports the 105 esterase substrate pairs from substrate holdouts (3,472 comparisons) and the unseen constitutional isomer pair #4 vs. #14. On the 105 esterase substrate pairs, reference centering after training gave the unstaged joint score 67.60% direction accuracy and 68.01% balanced accuracy (13 / 21 on #4 vs. #14). For the staged uncentered residual, centering after training gave 62.34% direction accuracy and 61.19% balanced accuracy (16 / 21). Both remain well below double centering during training in (80.44% and 80.07%).
We retrained matched models with and without the 32 descriptors of the reaction site from GFN2-xTB and AIMNet2 (Figure 5c). For each protonation microstate we recorded the electronic energy, the partial atomic charge at the site and the polarization of the bond. The descriptors also include electrophilicity, nucleophilicity and frontier orbital Fukui indices. The local 2D chiral topology describes the acyl and alkoxy groups that recur in familiar esters. With site descriptors, the change in Row AP was −0.16 percentage points on these esters and 0.80 to 1.95 percentage points on new scaffold classes or chemical clusters. On cold-substrate splits, Row AP was 4.36 percentage points higher with the 32 quantum channels than with the 32 matched RDKit physicochemical descriptors (Figure 5c). Stage 1 used the site descriptors to fit the reactivity prior and gained +2.36 percentage points on new functional groups. In Stage 3, the site vectors serve as electronic attention queries over the keys and values from the 3D pocket blocks.
Once a substrate has been encoded, its reaction-site descriptors can be used for all the enzymes in the screen. An enzyme’s reference active-site pocket can likewise be used for all the substrates. This avoids separate 3D docking calculations. On the 40-split esterase screen, five fits and their validation calibration cost 10.4 min per split (2.09 min per run) and 3.1 GB of peak GPU memory on NVIDIA A800 GPUs (Figure 5d and Table S5). OmniESI used 22.4 min and 2.8 GB, so EnzDecomp ran 2.1-fold faster at a slightly higher memory cost. EZSpecificity, which uses 3D docking, used 263.5 min and 9.6 GB. Relative to that model EnzDecomp was 25-fold faster with 3.1-fold lower memory. For multimodal ProSmith (459.6 min, 62.9 GB), the differences were 44-fold faster and 20-fold lower memory.
| Model | Splits (runs) | Min/split | Min/run | Peak VRAM (GB) | Timed downstream work |
| EnzDecomp (ours) | 40 (40*) | 10.44 | 2.09 | 3.13 | Three-stage fit, sequence branch and validation calibration |
| EZSpecificity | 18 40 (178) | 263.45 | 52.69 | 9.59 | 3D complex graph network training and validation (optimized tier) |
| ProSmith | 5 40 (189) | 459.60 | 91.92 | 62.85 | Multimodal Transformer fine-tuning and gradient-boosted trees |
| RAMMESI | 17 40 (180) | 178.10 | 35.62 | 54.56 | Retrieval-augmented downstream training (optimized; 186.45 min/run native) |
| PU-EPP | 16 40 (183) | 114.30 | 22.86 | 13.54 | Positive–unlabeled downstream training (optimized; 84.08 min/run native) |
| FusionESP | 14 40 (190) | 34.00 | 6.80 | 0.36 | Feature-fusion network training and validation |
| OmniESI | 15 40 (177) | 22.40 | 4.48 | 2.80 | Conditional network training and validation (optimized; 4.73 min/run native) |
| EnzRank | 11 (11) | 4.95 | 0.99 | 0.46 | CNN and fingerprint network training (1.48 min/run over 181 optimized runs) |
| ESP | 4 7 (7) | 3.90 | 0.78 | < 0.10 | Gradient-boosted tree fitting (0.08 min/run over 185 optimized runs) |
Table S5. Elapsed training time and peak device memory on the esterase panel. Downstream training jobs were timed on NVIDIA A800-SXM4-80GB hosts. Timings exclude cached-feature preparation but cover the full downstream job, including GPU-external overhead. In Splits (runs), the first value is the number of splits with A800 timing records and the value in parentheses is the number of individual training runs recorded. Min/run is the mean duration of one run. Min/split (= 5 × Min/run, Methods) is reported to enable comparison on a five-run split. *For EnzDecomp, all five repeats across all 40 splits were executed consecutively within the same job, with a mean job duration of 10.44 min, equivalent to 2.09 min per run.
Discussion
In a library search for a starting enzyme or an easily cleaved linker, enzyme breadth and shared substrate reactivity are helpful. Across the 176 splits, whole-library pooled AP was 0.315 with alone versus 0.520 for the full score including calibrated and (Table S6). For two orthogonal linkers in a hydrogel, prodrug or synthetic cascade, one enzyme must cleave alone and another must cleave alone. Every row of the full score carries the same shared substrate offset . A pairwise comparison without that shared substrate difference recovered boundary preferences for constitutional isomers, epimers and enantiomers without docking. Post-hoc double-centering of raw scores on the training panel improved cross-panel balanced accuracy for all eight external models (Figure 2d). Post-hoc subtraction still fell short of staged training. On held-out esterase substrate pairs using the same backbone, post-hoc centering after end-to-end training gave 68.0% balanced accuracy, compared with 80.1% for staged training with centering during training (Table S7).
For a candidate enzyme set, Readout 1 () provides a ranking in which to test compound–enzyme pairs on new sequences and scaffolds. From the same fit one could use Readout 2 () to select enzymes with opposite predicted preferences between constitutional isomers or stereoisomers. The spread of the fitted effects provides another description of the panel. Among glycosyltransferases, , so that the estimated substrate effects varied more than twice as much as enzyme breadth. The relative importance of acceptor and leaving-group chemistry here is consistent with the contribution from quantum descriptors for unfamiliar functional groups. In the enzyme-led cleavage families the ratio was –. Changes in enzyme breadth, including variation in expression, could make substantial differences to the expected hit rate even before evaluating the specific active site.
Several limits apply to our experiments. Each panel records binary hits under one family’s assay conditions, so score rankings reflect relative activity under those conditions, not or . Isomers were assayed separately as individual compounds, so evaluation measures selectivity between distinct molecules, not competing reaction sites within a multifunctional molecule. One fixed reference active-site pocket per enzyme makes downstream training after feature caching 25 times faster than pairwise docking. These fixed pockets, used only for dense single-family panels, miss binding-induced rearrangements of flexible cap domains or charged side chains. Small pocket ensembles sharing cached reaction-site descriptors could test flexibility. Without explicit 3D docking, local chirality has physical limits: achieves 55.1% balanced accuracy across 17 cases with both enantiomers unseen, below EZSpecificity’s raw 57.0%, despite higher contrast AUROC (0.572 versus 0.546, Table S4). Two HAD phosphatase panels dominate the 4,355 cross-panel reversals (Methods). Post-hoc centered ProSmith exceeds on held-out esterase pairs (84.0%, Table S3) and unseen constitutional isomers (76.0%, Table S4), reflecting large-scale SMILES pretraining’s advantage for 2D connectivity despite stereoisomer collapse. CLEAN, CLIPZyme and Horyzn-1 narrow vast, sparse sequence databases to candidate families. Subsequent family screening, directed-evolution libraries and 3D affinity models including Boltz-2 still mix enzyme breadth with substrate lability.
Methods
Experimental screening panels and split construction
In each experiment, enzymes from an enzyme family were assayed against substrates from that family’s compound library. Each panel contains tens to hundreds of homologs tested under uniform experimental conditions. Assayed pairs with activity were recorded as , and pairs assayed as inactive were recorded as . We compiled six screening datasets from Goldman et al. [9, 29] and Cui et al. [18, 30], yielding eight reaction matrices and 176 training, validation and test splits. Matrix dimensions and isomer-pair counts for each panel are listed in Table S1.
For six panels we used the partitions and binary activity thresholds distributed with EZSpecificity [18, 30]. Each panel has four splits for each of four conditions (). The test set holds out random pairs, enzymes, substrates, or both enzymes and substrates. Panel dimensions are given as enzymes by substrates. The metagenomic esterase panel contains 146 × 96 entries (Martínez-Martínez et al. [2]) and the haloacid dehalogenase (HAD) phosphatase panel 218 × 165 (Huang et al. [1]). For the OleA thiolase superfamily, Robinson et al. measured whole-cell hydrolysis of activated -nitrophenyl esters (73 × 15) [6]. The plant GT1 glycosyltransferase screen covers a range of polyphenol and coumarin acceptors (55 × 104, Yang et al. [3]). The remaining panels comprise nitrilases (18 × 38, Black et al. [7]) and DUF849 -ketoacid cleavage enzymes (161 × 17, Bastard et al. [8]).
The published enzyme and substrate holdouts exclude an individual sequence or compound. In the two largest screens we could also exclude its close relatives. For esterases we took the complete 147 × 96 activity matrix directly from Supplementary Tables S1 and S3 of Martínez-Martínez et al. [2], with assayed hydrolytic activity scored as a positive hit. Five of the 40 splits held out enzyme homology clusters defined with MMseqs2 [31] ( sequence identity or $< 80% mutual coverage). Five held out Bemis–Murcko chemical scaffolds [32], using generic graphs that retained the topology of acyclic aliphatic esters. We made another five splits by Tanimoto–Butina clustering [33] of radius-2 Morgan fingerprints [34] at distance 0.4. We crossed an enzyme cluster with a chemical cluster to produce 5 × 5 = 25 more splits. For HAD phosphatases, all 131 substrates with unambiguous structures in Huang et al. [1] formed a 218 × 131 panel. We made five MMseqs2 enzyme-cluster splits (< 40% identity or < 80% mutual coverage) and five substrate-class splits. The five classes were nucleosides and nucleotides (30 compounds), cyclic and open-chain sugar phosphates (17), pyro- and polyphosphates (4), aromatic and heterocyclic phosphates (4), and acyclic aliphatic phosphates and C–P phosphonates (76). We also made five Tanimoto–Butina splits using Morgan fingerprints at distance 0.4, and 5 × 5 = 25 splits holding out both enzyme and chemical clusters. Across all eight panels there were 24 random-pair splits and 152 extrapolation splits. Among the extrapolation splits, 74 held out both enzymes and substrates.
Candidate reaction-site indexing and quantum-chemical descriptors
We standardized all substrates with RDKit [21], retaining explicit tetrahedral stereochemistry. The assays report whole-molecule activity without atom-mapped reaction bonds or solution protonation states, so we enumerated candidate reactive groups and plausible protonation microstates for each molecule. Each candidate site in each microstate has 160 channels. The initial 128 local RDKit channels [21] describe 2D bond topology and local tetrahedral chiral parity, preserving stereochemical distinctions lost in bond graphs alone, canonical 1D SMILES embeddings or 2D descriptors compressed by principal-component analysis. The remaining 32 channels were calculated with semiempirical tight-binding GFN2-xTB [22] and the AIMNet2 neural-network potential [23]. For each microstate we recorded electronic energy, site partial atomic charge and bond polarization. The site channels add electrophilicity, nucleophilicity and frontier-orbital Fukui indices.
A circular fingerprint represents the part of the molecule outside the immediate reaction site as well as the site itself. For each split, we fitted the feature standardizer, linear input projection and channel gates using only training substrates . For , we retained only whole-molecule fingerprints and set local 2D and quantum channels to zero to prevent overfitting. Within each protonation microstate, we pooled candidate-site logits using temperature-normalized log-sum-exp and a learnable gated mean, then averaged across microstates to obtain one substrate prediction.
Docking-free reference active-site and protein sequence encoding
An enzyme’s fixed 3D reference active-site pocket can be used for all the substrates. This avoids separate 3D docking calculations. For each structurally resolved enzyme, we encode one reference structure with ATOMICA [20] for local 3D geometric interaction blocks and surrounding residues with ESM-C 600M [19] (1,152 features per residue). We use no docked query–ligand coordinates. For the esterase panel and the four smaller panels, we partition residues and 3D pocket blocks around the reference active-site centroid into inner (≤ 8 Å) and outer (8–15 Å) shells. For the HAD phosphatase panel, we align the conserved Rossmannoid catalytic core surrounding the Asp nucleophile, variable C0, C1 and C2 cap domains, and hinge regions across homologs. For enzymes without a 3D reference structure, we set the ATOMICA pocket-block mask to zero, leaving only the active-site ESM-C sequence shells active.
Three-stage fit and training-panel centering
An active pair in a family screen can arise from a broad-scope enzyme, a chemically labile substrate or a specific active-site match. We therefore fit enzyme breadth , shared substrate reactivity and enzyme–substrate recognition [12] sequentially in three stages (Figure 1c). Stage 1 fits the substrate activity on the experimentally observed training cells from whole-molecule substrate fingerprints plus chiral and quantum site descriptors, and the Stage 1 weights are then frozen. Stage 2 fits as an offset above frozen from pooled ESM-C active-site shells and ATOMICA reference-pocket blocks, with equal total binary cross-entropy weight per enzyme (including enzymes with few assayed training substrates), and the Stage 2 weights are then frozen. Stage 3 uses candidate site vectors as attention queries () and 3D pocket features as keys and values (). It combines the attended pocket context with pooled sequence shells and global pocket features, and applies soft-maximum and gated pooling over sites (Figure 1c, Figure 3a) to give residual logits above .
An interaction unrestricted in its mean can fit an offset for a whole row or column even after the first two stages have been frozen. We remove both offsets from during training by evaluating it throughout the reference rectangle (Figure 1c, Figure 3b),
where the means run over training substrates or training enzymes as indicated. Even an unmeasured cell contributes its predicted score to the mean on , giving exactly zero mean in each training row and column. Only the observed cells enter the loss, a combination of binary cross-entropy and the differentiable Smooth-AP ranking loss [35]. We used AdamW [36] with a learning rate of . In Stage 2 and Stage 3 , the pocket blocks are masked if the structure is missing and have higher variance for distant homologs. A branch trained alongside these stages uses sequence and substrate features alone. We pooled ESM-C by shell or region and joined it with the pooled substrate descriptors. On we computed , and . A sequence–chemistry prior (, and ) also covers missing structure and distant homologs.
Task-matched readouts and support-aware validation calibration
Given a pair of substrates, Readout 2 () compares their run-averaged centered interactions from Stage 3 (Figure 1d). No validation weights are estimated for this comparison. When plotting the components on a common scale, we multiply by the positive training-pair dispersion ratio . Neither the sign nor the order of the contrasts changes.
Readout 1 () is obtained from the same trained model by combining , the centered Stage 1 term , the sequence priors () and . We align their variances on the training reference. Training substrate count and each split’s validation set determine the support shrinkage () without test labels (Supplementary Section B). Limited support draws auxiliary weights toward the additive anchor . With sufficient support we maximize validation Row AP Col AP Direction Accuracy with Row AP within of conservative anchor . Screening accuracy was similar throughout when we chose the calibration family and by leaving one experimental source out. Across all 176 splits Row AP was 0.4829 versus 0.4830 (Table S2).
External baseline retraining, post-hoc centering and quantum-descriptor probes
We retrained eight published predictors from scratch on the same 176 training–validation splits and compared them with EnzDecomp on the same held-out test entries. The eight predictors are the multimodal language model ProSmith ⁵, the conditional and retrieval-augmented fusion models OmniESI ¹⁵, RAMMESI ¹⁷, FusionESP ¹⁴ and PU-EPP ¹⁶, ESP’s gradient-boosted trees ⁴, EnzRank’s convolutional network ¹³ and the docked-complex 3D graph network EZSpecificity ¹⁸. For EZSpecificity, we randomly initialized downstream 3D docked-complex graph network weights on each split, as ESIBank contains data overlapping these family screens ¹⁸. On every split, training was repeated five times and predicted test-cell logits were averaged across the five runs before metric computation for both EnzDecomp and all external baselines (Table S2–Table S4); symmetric unaveraged single-run means ± s.d. across individual runs are reported in Table S8.
We double-centered each fitted model’s scores using its own training reference panel without test labels, as in Eq. (1),
(Supplementary Section C). On a complete reference panel, enzyme rank order and contrast AUROC remain the same for any substrate pair. We checked whether post-hoc centering of an end-to-end network can replace three-stage training (Table S6 and Table S7). We trained the identical neural network from scratch without freezing the marginal terms, and tested the staged uncentered residual without centering during training. On familiar and unfamiliar scaffold splits we retrained matched three-stage models with and without the 32 GFN2-xTB and AIMNet2 reaction-site channels. On cold-substrate splits we compared the 32 quantum reaction-site channels with 32 standard RDKit physicochemical descriptors ²¹–²³. We timed the downstream jobs and recorded peak GPU memory on NVIDIA A800-SXM4-80GB hosts over the 40 eterase splits (Table S5).
Screening metrics, stereoisomer classification and reversal statistics
We scored held-out activity using the area under the receiver operating characteristic curve (AUROC) and average precision (AP) ³⁷. Pooled AP uses all observed test pairs. Row AP ranks tested substrates within each enzyme and assigns zero to a row with assayed substrates but no active hits. Column AP ranks test enzymes for each substrate. Column AP was defined on 175 of the 176 splits, including 151 of 152 non-random splits and 73 of 74 double-holdout splits. Each split had equal weight in the corresponding averages.
For a substrate pair , we took test enzymes assayed on both compounds that were active on just one, with observed preference . We kept pair-split cases with discordant enzymes and minority preference. In all, across the 176 splits there are 4,355 high-support pair–split cases from 142 splits (3,127 distinct substrate pairs and 187,007 discordant enzyme–pair comparisons). They divide into 3,068 curated HAD, 815 distributed HAD, 336 workbook esterase, 105 distributed esterase, 21 glycosyltransferase and 10 DUF849 cases. Across the substrate-holdout splits, 105 esterase substrate pairs sampled on common support gave 3,472 comparisons (Table S3). No credit is given for an exact tie (), which scores zero in both the and groups. On , direction accuracy is the overall directional rate, balanced accuracy averages recall across the and groups, and cAUROC gives threshold-free contrast AUROC.
We grouped the 566 distinct RDKit-standardized compounds from the seven deduplicated libraries by molecular formula. Within each group we compared the connectivity and stereochemistry layers of standard InChIKeys. Distinct connectivity gave 594 constitutional isomer pairs. For compounds with identical connectivity, partial inversion of tetrahedral stereocenters gave 233 diastereomer/epimer pairs, and complete inversion gave 43 mirror-image pairs. The 870 distinct pairs occurred 907 times across the panels (Table S1). We measured pairwise distances between ChemBERTa-2-SMILES embeddings. For the 218 × 131 HAD library, we measured the fraction of squared distance retained after compressing the 2D descriptors to 128 principal components. We called an isomer comparison cold when or . This definition gave 780 high-support cases, comprising 326 distinct pairs and 29,395 discordant comparisons. Of these cases, 508 involved constitutional isomers, 237 involved diastereomers or epimers and 35 involved enantiomers. Both compounds were held out ( and ) in 17 enantiomer cases covering 9 distinct pairs (Table S4).
Data availability
The reaction matrices are publicly available from primary wet-lab screens. Martínez-Martínez et al. reported metagenomic esterases [2], Huang et al. HAD phosphatases [1], Robinson et al. OleA thiolases [6], Yang et al. GT1 glycosyltransferases [3], Black et al. nitrilases [7], and Bastard et al. DUF849 -ketoacid cleavage enzymes [8]. The eight panels were curated via Goldman et al. [9, 29] and Cui et al. [18, 30]. Table S1 gives the dimensions of the reaction matrix and the number of isomers for each panel. Standardized substrate structures, InChIKey stereoisomer classifications for all 870 unique isomer pairs, reference active-site pocket coordinates, cached descriptors and evaluation tables for all 176 train–validation–test splits will be made publicly available upon publication and can be provided to editors and reviewers upon request during peer review.
Code availability
The EnzDecomp source code covers candidate reaction-site chiral and GFN2-xTB/AIMNet2 descriptor indexing, reference-pocket and active-site sequence encoding, three-stage fitting with training-panel double centering, and validation calibration. The source code, model checkpoints and deterministic scripts reproducing the main-text and Supplementary Information figures and tables will be made publicly available upon publication, and can be provided to editors and reviewers upon request during peer review.
Acknowledgments
We thank Jiaxiang Zhang (School of Medicine and Pharmacy, Ocean University of China) for helpful discussions on experimental assay controls, negative-entry curation, and isomer selectivity in family-wide screens. We also thank the Shanghai Artificial Intelligence Laboratory for providing computational resources.
Author contributions
M.X. conceived the study, curated the experimental screening matrices and isomer benchmarks, designed and implemented the EnzDecomp framework and feature-encoding pipeline, performed the benchmark experiments and statistical analyses, prepared the initial figures, and drafted the manuscript. X.Q. contributed to algorithmic refinement, figure preparation, and manuscript revision. Both authors reviewed and approved the final manuscript.
Competing interests
The authors declare no competing interests.
References
ref-1 | article-journal | Huang, Hua; Pandya, Chetanya; Liu, Chunliang; Al-Obaidi, Nawar F.; Wang, Min; Zheng, Li; Keating, Sarah Toews; Aono, Miyuki; Love, James D.; Evans, Brandon; Seidel, Ronald D.; Hillerich, Brandan S.; Garforth, Scott J.; Almo, Steven C.; Mariano, Patrick S.; Dunaway-Mariano, Debra; Allen, Karen N.; Farelli, Jeremiah D. | 2015 | Panoramic view of a superfamily of phosphatases through substrate profiling | Proceedings of the National Academy of Sciences | 112 | 16 | E1974–E1983 | 10.1073/pnas.1423570112 | | raw: [1] Hua Huang, Chetanya Pandya, Chunliang Liu, Nawar F. Al-Obaidi, Min Wang, Li Zheng, Sarah Toews Keating, Miyuki Aono, James D. Love, Brandon Evans, Ronald D. Seidel, Brandan S. Hillerich, Scott J. Garforth, Steven C. Almo, Patrick S. Mariano, Debra Dunaway-Mariano, Karen N. Allen, and Jeremiah D. Farelli. Panoramic view of a superfamily of phosphatases through substrate profiling. Proceedings of the National Academy of Sciences, 112(16): E1974–E1983, 2015. 10.1073/pnas.1423570112. ref-2 | article-journal | Martínez-Martínez, Mónica; Coscolín, Cristina; Santiago, Gerard; Chow, Jennifer; Stogios, Peter J.; Bargiela, Rafael; Gertler, Christoph; Navarro-Fernández, José; Bollinger, Alexander; Thies, Stephan; Méndez-García, Celia; Popovic, Ana; Brown, Greg; Chernikova, Tatyana N.; García-Moyano, Antonio; Bjerga, Gro E. K.; Pérez-García, Pablo; Hai, Tran; Del Pozo, Mercedes V.; Stokke, Runar; Steen, Ida H.; Cui, Hong; Xu, Xiaohui; Noczek, Boguslaw P.; Alcaide, María; Distaso, Marco; Mesa, Victoria; Peláez, Ana I.; Sánchez, Jesús; Buchholz, Patrick C. F.; Buchholz, Jürgen; Pleiss, Jürgen; Fernández-Guerra, Frank; Glöckner, Frank O.; Golyshina, Olga V.; Yakimov, Michail M.; Savchenko, Alexei; Jaeger, Karl-Erich; Yakunin, Alexander F.; Streit, Wolfgang R.; Golyschin, Peter N.; Guallar, Víctor; Ferrer, Manuel; The INMARE Consortium | 2018 | Determinants and Prediction of Esterase Substrate Promiscuity Patterns | ACS Chemical Biology | 13 | 1 | 225–234 | 10.1021/acschembio.7b00996 | | raw: [2] Mónica Martínez-Martínez, Cristina Coscolín, Gerard Santiago, Jennifer Chow, Peter J. Stogios, Rafael Bargiela, Christoph Gertler, José Navarro-Fernández, Alexander Bollinger, Stephan Thies, Celia Méndez-García, Ana Popovic, Greg Brown, Tatyana N. Chernikova, Antonio García-Moyano, Gro E. K. Bjerga, Pablo Pérez-García, Tran Hai, Mercedes V. Del Pozo, Runar Stokke, Ida H. Steen, Hong Cui, Xiaohui Xu, Boguslaw P. Noczek, María Alcaide, Marco Distaso, Victoria Mesa, Ana I. Peláez, Jesús Sánchez, Patrick C. F. Buchholz, Jürgen Pleiss, Jürgen Fernández-Guerra, Frank O. Glöckner, Olga V. Golyshina, Michail M. Yakimov, Alexei Savchenko, Karl-Erich Jaeger, Alexander F. Yakunin, Wolfgang R. Streit, Peter N. Golyschin, Víctor Guallar, Manuel Ferrer, and The INMARE Consortium. Determinants and Prediction of Esterase Substrate Promiscuity Patterns. ACS Chemical Biology, 13(1):225–234, 2018. 10.1021/acschembio.7b00996. ref-3 | article-journal | Yang, Min; Fehl, Charlie; Lees, Karen V.; Lim, Eng-Kiat; Offen, Wendy A.; Davies, Gideon J.; Bowles, Dianna J.; Davidson, Matthew G.; Roberts, Stephen J.; Davis, Benjamin G. | 2018 | Functional and informatics analysis enables glycosyltransferase activity prediction | Nature Chemical Biology | 14 | 12 | 1109–1117 | 10.1038/s41589-018-0154-9 | | raw: [3] Min Yang, Charlie Fehl, Karen V. Lees, Eng-Kiat Lim, Wendy A. Offen, Gideon J. Davies, Dianna J. Bowles, Matthew G. Davidson, Stephen J. Roberts, and Benjamin G. Davis. Functional and informatics analysis enables glycosyltransferase activity prediction. Nature Chemical Biology, 14(12):1109–1117, 2018. 10.1038/s41589-018-0154-9. ref-4 | article-journal | Kroll, Alexander; Ranjan, Sahasra; Engqvist, Martin K. M.; Lercher, Martin J. | 2023 | A general model to predict small molecule substrates of enzymes based on machine and deep learning | Nature Communications | 14 | 1 | 2787 | 10.1038/s41467-023-38347-2 | | raw: [4] Alexander Kroll, Sahasra Ranjan, Martin K. M. Engqvist, and Martin J. Lercher. A general model to predict small molecule substrates of enzymes based on machine and deep learning. Nature Communications, 14(1):2787, 2023. 10.1038/s41467-023-38347-2.
Section A details the screening reaction matrices, stereoisomer statistics and retraining protocols for the external baselines, and Section B gives the variance-alignment and support-shrinkage equations together with screening result tables across all holdout regimes. Preference reversals, post-hoc double-centering and cold stereoisomer tests are presented in Section C. Section D summarizes GPU runtimes, ablation experiments and individual-run stability. The contents of the reproducibility archive, which will be made publicly available upon publication, are listed in Section E.
Benchmark construction, reaction-matrix inventory and baseline protocols
Reaction matrices and stereoisomers
Experimental matrices. In each experiment an enzyme was tested on substrates from its family library. The screens covered tens to hundreds of homologs and used common conditions within a panel (Table S1) [9, 29]. We used for an assayed active pair and for an assayed inactive pair. For six panels we used the 16 splits distributed with EZSpecificity [18, 30]. Each panel has four splits for each of four conditions (). The test set holds out random pairs, enzymes, substrates, or both enzymes and substrates. In the two largest screens we also built two 40-split panels directly from primary records. For esterases we took the complete matrix from Martínez-Martínez et al. [2]. For haloacid dehalogenase (HAD) phosphatases, all 131 substrates with unambiguous structures in Huang et al. [1] formed a panel. In each 40-split panel, five splits hold out MMseqs2 sequence-homology clusters ( sequence identity or mutual coverage [31]). Five more hold out biochemical substrate classes or Bemis–Murcko scaffolds [32], five hold out Tanimoto–Butina Morgan-fingerprint clusters at distance 0.4 [33, 34] and hold out enzyme clusters and chemical clusters simultaneously (176 splits in total).
Isomer and enantiomer census. After standardizing the substrates in RDKit [21] with explicit tetrahedral stereochemistry retained, we compared only compounds from the same library with the same formula. A difference in the connectivity layer of the standard InChIKey defines a constitutional-isomer pair. For identical connectivity, we compared the stereochemistry layers: complete inversion at all tetrahedral centers defines a mirror-image enantiomer pair, and partial inversion a diastereomer/epimer pair. The seven deduplicated substrate libraries contained 566 unique standardized substrates and 870 unique isomer pairs: 594 constitutional, 233 diastereomer/epimer and 43 enantiomer pairs. The same census by panel gives 907 occurrences over eight panels (Table S1).
External baselines
Retraining. We trained all eight external models from scratch on the same 176 train–validation splits as EnzDecomp and scored them on the same held-out test cells. These models were ProSmith[5], OmniESI[15], EZSpecificity[18], RAMMESI[17], ESP[4], FusionESP[14], PU-EPP[16] and EnzRank[13]. ESIBank contains reactions from the enzyme families studied here[18], so we omitted EZSpecificity’s pretrained ESIBank weights and randomly initialized its downstream complex-graph weights on each split. For EnzDecomp, the feature standardizers, linear projections, channel gates and double-centered means for each split were fitted solely on its training cells, without access to validation or test labels. On every split, training was repeated five times and predicted test-cell logits were averaged across runs prior to metric computation for both EnzDecomp and all eight external baselines (Table S2–Table S4); unaveraged single-run means s.d. are reported alongside in Table S8.
Calibration and screening tables
Variance alignment and shrinkage
Without sequence priors or post-hoc calibration, the three-stage model achieved 0.4781 Row AP across 176 splits, exceeding every external model (Table S6). Readout 2 () reads the centered interaction term directly, with zero post-processing. Sequence–chemistry priors cover missing, sparse or distantly homologous pocket structures. To construct Readout 1 () for screening, we aligned the 3D and sequence terms to the same variance scale over and shrank their weights by validation support. Low validation support shifted the weights toward the additive baseline . All calibration quantities used only each split’s , observed training cells and validation cells, never test labels.
Reference anchor and empirical support factors. For each enzyme, is the mean Stage 1 prior over the training substrates. Subtracting it gives . Here an overbar denotes a stage output averaged across runs (Methods), and sd is the population standard deviation. From the observed training pairs , we take . We put the auxiliary terms on the scale of with , and . The blended substrate prior and reference score for weights are
which gives when . Here is the count of validation enzymes with both activity classes on at least two assayed substrates; is the number of training substrates and is the number of validation substrates. Set , and , and score on the validation cells over . At we need only score . We keep the best candidate if , and its validation Row AP exceeds that of by more than . Otherwise we use .
Sequence-branch alignment and dual-axis dispersion normalization
To align the sequence breadth with the Stage 2 enzyme breadth , we weight each enzyme by the number of observed training cells for that enzyme. From the Stage 2 scores averaged over training runs and , we compute the weighted means and the weighted population standard deviations , with added to each standard deviation. We then define and score
over , and . We use as an anchor and add the best admissible if the scores differ. For each anchor , we write the interaction weights as . To estimate the dispersion for each substrate column, we take the mean and population standard deviation of across for . We use in calculating the median column dispersion and the bounded multiplier . A separate multiplier accounts for the relative variation across enzymes and substrates. The adjusted scores are
for and . The mean over uses predictions across the query substrate block and requires no labels. On each split we maximize validation RowAP ColAP DirectionAccuracy with Row AP within of RowAP. We also selected the calibration family and with one experimental source excluded at a time. The leave-one-source-out and default rules gave 0.4829 versus 0.4830 Row AP across all 176 splits, with similar values in the other blocks of Table S2 and Table S6.
Whole-library and per-axis screening results across holdout regimes
Table S2 gives the means for all 176 splits, the 152 non-random splits, the 74 double holdouts and the 40 HAD phosphatase splits with cluster holdouts. For the curated HAD experiment, Figure S1 shows 1,080 paired split-level evaluations (40 splits 9 models 3 AP axes). EnzDecomp had the highest within-enzyme Row AP across 176 splits (0.4830), across the 152 OOD splits (0.4747) and across the 74 double holdouts (0.4358). On the 40-split HAD panel with sequence-identity clustering, it had the highest whole-library Pooled AP (0.3024), Column AP (0.3501) and AUROC (0.6901).
Selectivity reversals, post-hoc centering and stereoisomer diagnostics
Preference reversals and post-hoc centering
Reversal cases. For a substrate pair , we took test enzymes assayed on both compounds that were active on just one of the two, with observed preference . We kept pair–split cases with discordant enzymes and minority preference. In all, there are 4,355 high-support pair–split cases from 142 splits (3,127 distinct substrate pairs and 187,007 discordant enzyme–pair comparisons). Across the substrate-holdout splits, 105 esterase substrate pairs sampled on common support gave 3,472 comparisons (Table S3). No credit is given for an exact tie (), which scores zero in both the and groups. On , direction accuracy is the overall directional rate, balanced accuracy averages recall across the and groups, and cAUROC gives threshold-free contrast AUROC.
Post-hoc double centering. In an external score matrix , a shared substrate offset can favor one substrate over another across all enzymes. We estimated each fitted model’s background on its own training reference panel, using no test labels, and applied the double centering of Eq. (1),
where is the split’s training reference panel of enzymes and substrates. For a given substrate pair , the row mean cancels in , and removing subtracts the same constant from for every test enzyme when the reference panel is complete. Its sign relative to zero, and hence its agreement with the observed preference, can change, improving direction and balanced accuracy. Its rank among enzymes and the contrast AUROC remain the same. All eight out of eight external models improved in cross-panel balanced reversal accuracy in this test (Table S3, bottom). ProSmith went from 57.16% to 60.44% and OmniESI from 56.81% to 60.03%. The highest overall value was 61.63%, obtained by reading EnzDecomp’s Stage 3 directly without post-processing.
Stratified cold-isomer selectivity and stereochemical tie-collapse audit
We called an isomer comparison cold when or , with at least one substrate absent from training. This definition gave 780 high-support cold isomer cases, comprising 326 unique pairs and 29,395 discordant enzyme comparisons (Table S4). The 508 constitutional-isomer cases can be distinguished by bond connectivity, and EnzRank, ESP, ProSmith and OmniESI were competitive on these. For the 237 diastereomer/epimer cases and 35 mirror-image enantiomer cases, the two substrates have the same 2D graph. On such comparisons the four sequence–SMILES models gave equal scores 70.5–100.0% of the time (raw balanced accuracy 0.00–15.60%). With tetrahedral chirality at the candidate reaction sites and attention to 3D reference-pocket geometry, gave 0.0% ties. By balanced accuracy and contrast AUROC it ranked first among the native and post-hoc centered scores on all 780 cases (66.29%, 0.7274), on cold diastereomers/epimers (58.34%, 0.6290) and on cold enantiomers (61.61%, 0.6414).
Computational footprint, internal ablations and single-run stability
Downstream GPU training time and memory profile
Once a substrate has been encoded, its reaction-site descriptors can be used for all the enzymes in the screen. An enzyme’s reference active-site pocket can likewise be used for all the substrates. This avoids separate 3D docking calculations. On the 40-split esterase screen, five fits and their validation calibration after feature caching cost 10.44 min per split (2.09 min per run) and 3.13 GB of peak GPU memory on NVIDIA A800-SXM4-80GB hosts (Table S5 and Figure 5d). On one split of downstream training, OmniESI used 22.40 min, so EnzDecomp ran 2.1× faster. EZSpecificity, which trains on 3D docked complexes, used 263.45 min and 9.59 GB. Relative to that model, EnzDecomp was 25× faster and used 3.1× less memory. ProSmith used 459.60 min and 62.85 GB. EnzDecomp was 44× faster and used 20× less memory. On frozen features, ESP’s gradient-boosted trees and EnzRank’s CNNs ran faster at 3.90–4.95 min per split, but their screening and stereoisomer accuracies were substantially lower than EnzDecomp’s (Table S2–Table S4).
Component and training ablations
Across the 176 splits in Table S6, scoring reactions by enzyme breadth and shared substrate reactivity alone () gave 0.4683 Row AP, compared with 0.3451 for alone. We next let the additive fit make an enzyme-specific correction by adding a scalar times the centered Stage 3 residual, giving . With no sequence-only prior and no post-hoc calibration, this three-stage model gave 0.4781 Row AP, higher than each external score. Alignment on the validation data according to support brought the full score to 0.4830 Row AP (Table S6 and Table S7). We fit enzyme breadth , substrate reactivity and the pocket interaction separately during three-stage training. For comparison, we centered the scores of an end-to-end network after training (Figure 5a,Figure 5b). We trained the same network from scratch without freezing the marginal terms and tested it on the 105 held-out esterase substrate pairs (Table S7). Balanced reversal accuracy was 59.63% before double centering on the training reference panel and 68.01% afterwards. We froze and then . The interaction layers fit only the pocket residual. With active-site sequence shells alone, reached 73.89% balanced reversal accuracy. With attention from reaction sites to 3D reference-pocket blocks, reached 80.07% and made the correct prediction in 19/21 comparisons of isomers #4 and #14. The staged uncentered residual gave 50.77% balanced accuracy before post-hoc centering and 61.19% afterwards. The accuracy of depended on both sequential freezing and centering during training.
Variation across individual runs
For the main text and figures we averaged the test scores over runs for each model before calculating metrics (Methods). Here each external model and each EnzDecomp readout, including , is scored separately, one run at a time, across the five repeated runs for all ten headline benchmarks (Table S8). Table entries report the mean ± s.d. across runs, averaged with equal weight over cases, with the highest mean in each column shown in bold. Rankings from every individual run agree with the multi-run averages reported in Table S2–Table S4. Single-run ranks first for Row AP across all 176 splits (.4694 ± .0048), 152 OOD splits (.4604 ± .0057), and 74 double-holdout splits (.4182 ± .0092), and leads Pooled AP (.2922 ± .0073) and AUROC (.6841 ± .0084)
across 40 curated HAD splits. Single-run ranks first across all 4,355 reversal cases (59.55 ± 0.57%), 780 cold isomers (63.96 ± 0.43%), 237 cold epimers (57.28 ± 0.52%), and 35 cold enantiomers (57.29 ± 1.51%).
Reproducibility statement
We saved all 176 train–validation–test split manifests, standardized substrate structures and InChIKey classifications for all 870 unique isomer pairs. We cached ESM-C residue shells, ATOMICA 3D reference-pocket blocks and 160-channel reaction-site chirality and GFN2-xTB/AIMNet2 descriptors. Trained checkpoints accompany 64-bit floating-point stage decompositions that agree with the full readout to numerical precision (max , Figure 2c). Single-run and run-averaged test score matrices cover EnzDecomp and eight external baselines. Scripts reproduce Table S1–Table S8, Figure 1–Figure 5 and Figure S1. All these materials will be made publicly available upon publication and can be provided to editors and reviewers upon request during peer review.
References
- [1]Hua Huang, Chetanya Pandya, Chunliang Liu, Nawar F. Al-Obaidi, Min Wang, Li Zheng, Sarah Toews Keating, Miyuki Aono, James D. Love, Brandon Evans, Ronald D. Seidel, Brandan S. Hillerich, Scott J. Garforth, Steven C. Almo, Patrick S. Mariano, Debra Dunaway-Mariano, Karen N. Allen, and Jeremiah D. Farelli. Panoramic view of a superfamily of phosphatases through substrate profiling. Proceedings of the National Academy of Sciences, 112(16): E1974–E1983, 2015. 10.1073/pnas.1423570112.DOI
- [2]Mónica Martínez-Martínez, Cristina Coscolín, Gerard Santiago, Jennifer Chow, Peter J. Stogios, Rafael Bargiela, Christoph Gertler, José Navarro-Fernández, Alexander Bollinger, Stephan Thies, Celia Méndez-García, Ana Popovic, Greg Brown, Tatyana N. Chernikova, Antonio García-Moyano, Gro E. K. Bjerga, Pablo Pérez-García, Tran Hai, Mercedes V. Del Pozo, Runar Stokke, Ida H. Steen, Hong Cui, Xiaohui Xu, Boguslaw P. Nocek, María Alcaide, Marco Distaso, Victoria Mesa, Ana I. Peláez, Jesús Sánchez, Patrick C. F. Buchholz, Jürgen Pleiss, Antonio Fernández-Guerra, Frank O. Glöckner, Olga V. Golyshina, Michail M. Yakimov, Alexei Savchenko, Karl-Erich Jaeger, Alexander F. Yakunin, Wolfgang R. Streit, Peter N. Golyshin, Víctor Guallar, Manuel Ferrer, and The INMARE Consortium. Determinants and Prediction of Esterase Substrate Promiscuity Patterns. ACS Chemical Biology, 13(1): 225–234, 2018. 10.1021/acschembio.7b00996.
- [3]Min Yang, Charlie Fehl, Karen V. Lees, Eng-Kiat Lim, Wendy A. Offen, Gideon J. Davies, Dianna J. Bowles, Matthew G. Davidson, Stephen J. Roberts, and Benjamin G. Davis. Functional and informatics analysis enables glycosyltransferase activity prediction. Nature Chemical Biology, 14(12):1109–1117, 2018. 10.1038/s41589-018-0154-9.DOI
- [4]Alexander Kroll, Sahasra Ranjan, Martin K. M. Engqvist, and Martin J. Lercher. A general model to predict small molecule substrates of enzymes based on machine and deep learning. Nature Communications, 14(1):2787, 2023. 10.1038/s41467-023-38347-2.
- [5]Alexander Kroll, Sahasra Ranjan, and Martin J. Lercher. A multimodal Transformer Network for protein-small molecule interactions enhances predictions of kinase inhibition and enzyme-substrate relationships. PLOS Computational Biology, 20(5):e1012100, 2024. 10.1371/journal.pcbi.1012100.
- [6]Serina L Robinson, Megan D Smith, Jack E Richmann, Kelly G Aukema, and Lawrence P Wackett. Machine learning-based prediction of activity and substrate specificity for OleA enzymes in the thiolase superfamily. Synthetic Biology, 5(1):ysaa004, 2020. 10.1093/synbio/ysaa004.DOI
- [7]Gary W. Black, Nicola L. Brown, Justin J. B. Perry, P. David Randall, Graeme Turnbull, and Meng Zhang. A high-throughput screening method for determining the substrate scope of nitrilases. Chemical Communications, 51 (13):2660–2662, 2015. 10.1039/c4cc06021k.DOI
- [8]Karine Bastard, Adam Alexander Thil Smith, Carine Vergne-Vaxelaire, Alain Perret, Anne Zap arucha, Raquel De Melo-Minardi, Aline Mariage, Magali Boutard, Adrien Debard, Christophe Lechaplais, Christine Pelle, Virginie Pellouin, Nadia Perchat, Jean-Louis Petit, Annett Kreimeyer, Claudine Medigue, Jean Weissenbach, Francois Artiguenave, Véronique De Berardinis, David Vallenet, and Marcel Salanoubat. Revealing the hidden functional diversity of an enzyme family. Nature Chemical Biology, 10(1):42–49, 2014. 10.1038/nchembio.1387.DOI
- [9]Samuel Goldman, Ria Das, Kevin K. Yang, and Connor W. Coley. Machine learning modeling of family wide enzyme-substrate specificity screens. PLOS Computational Biology, 18(2):e1009853, 2022. 10.1371/journal.pcbi.1009853.DOI
- [10]Vahid Atabaigi Elmi, Roman Joers, and Olga V Kalinina. Information leakage in enzyme-substrate prediction. Bioinformatics, 42(10):btag733, 2026. 10.1093/bioinformatics/btag733.DOI
- [11]Elizabeth H. Mahood, Natália Komorníková, Tomáš Pluskal, and Pranam Chatterjee. Rethinking Benchmarks and Models for Enzyme Specificity Prediction. arXiv preprint arXiv:2607.05084, 2026. URL https://arxiv.org/abs/2607.05084.
- [12]Benjamin Lengerich, Sarah Tan, Chun-Hao Chang, Giles Hooker, and Rich Caruana. Purifying interaction effects with the functional ANOVA: An efficient algorithm for recovering identifiable additive models. In Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108, pages 2402–2412, 2020. URL https://proceedings.mlr.press/v108/lengerich20a.html.arxiv.org/abs/1911.04974
- [13]Vikas Upadhyay, Veda Sheersh Boorla, and Costas D. Maranas. Rank-ordering of known enzymes as starting points for re-engineering novel substrate activity using a convolutional neural network. Metabolic Engineering, 78:171–182, 2023. 10.1016/j.ymben.2023.06.001.DOI
- [14]Zhenjiao Du, Weimin Fu, Xiaolong Guo, Doina Caragea, and Yonghui Li. FusionESP: Improved Enzyme–Substrate Pair Prediction by Fusing Protein and Chemical Knowledge. Journal of Chemical Information and Modeling, 65(6):2806–2817, 2025. 10.1021/acs.jcim.4c02357.DOI
- [15]Zhiwei Nie, Hongyu Zhang, Hao Jiang, Yutian Liu, Xiansong Huang, Fan Xu, Jie Fu, Zhixiang Ren, Yonghong Tian, Wen-Bin Zhang, and Jie Chen. OmniESI: A unified framework for enzyme-substrate interaction prediction with progressive conditional deep learning. arXiv preprint arXiv:2506.17963, 2025. URL https://arxiv.org/abs/2506.17963.
- [16]Dachuan Zhang, Huadong Xing, Dongliang Liu, Mengying Han, Pengli Cai, Huikang Lin, Yu Tian, Yinghao Guo, Bin Sun, Yingqing Le, Ye Tian, Aibo Wu, and Qian-Nan Hu. Discovery of Toxin-Degrading Enzymes with Positive Unlabeled Deep Learning. ACS Catalysis, 14(5):3336–3348, 2024. 10.1021/acscatal.3c04461.DOI
- [17]Chen Liu, Bingxin Zhou, Xinyuan Wang, Ming Li, Guisheng Fan, and Liang Hong. Retrieval-Augmented Multimodal Learning for Enzyme-Substrate Interaction Prediction Under Low-Homology Shift. arXiv preprint arXiv:2606.22823, 2026. URL https://arxiv.org/abs/2606.22823.
- [18]Haiyang Cui, Yufeng Su, Tanner J. Dean, Tianhao Yu, Zhengyi Zhang, Jian Peng, Diwakar Shukla, and Huimin Zhao. Enzyme specificity prediction using cross-attention graph neural networks. Nature, 647(8090):639–647, 2025. 10.1038/s41586-025-09697-2.DOI
- [19]EvolutionaryScale. ESM Cambrian: ESMC-600M model card. https://huggingface.co/biohub/esmc-600m-2024-12, 2024. Model card, December 2024 release.
- [20]Ada Fang, Michael Desagné, Zaixi Zhang, Andrew Zhou, Joseph Loscalzo, Bradley L. Pentelute, and Marinka Zitnik. Learning Universal Representations of Intermolecular Interactions with ATOMICA. bioRxiv, 2025. 10.1101/2025.04.02.646906.DOI
- [21]RDKit contributors. RDKit: Open-source cheminformatics. https://www.rdkit.org/, 2026. Software documentation, accessed November 4, 2026.
- [22]Christoph Bannwarth, Sebastian Ehlert, and Stefan Grimme. GFN2-xTB—An Accurate and Broadly Parametrized Self-Consistent Tight-Binding Quantum Chemical Method with Multipole Electrostatics and Density-Dependent Dispersion Contributions. Journal of Chemical Theory and Computation, 15(3):1652–1671, 2019. 10.1021/acs.jctc.8b01176.DOI
- [23]Dylan M. Anstine, Roman Zubatyuk, and Olexandr Isayev. AIMNet2: a neural network potential to meet your neutral, charged, organic, and elemental-organic needs. Chemical Science, 16(23):10228–10244, 2025. 10.1039/d4sc08572h.DOI
- [29]enzyme-datasets contributors. enzyme-datasets: Data and processing code for family-wide enzyme specificity screens. GitHub repository, 2021. URL https://github.com/samgoldman97/enzyme-datasets. Source revision 627556e.
- [30]EZSpecificity contributors. EZSpecificity: Benchmark resources and model implementation. GitHub repository, 2025. URL https://github.com/anteced/EZSpecificity. Source revision 88279ea.
- [31]Martin Steinegger and Johannes Söding. MMseqs2 enables sensitive protein sequence searching for the analysis of massive data sets. Nature Biotechnology, 35(11):1026–1028, 2017. 10.1038/nbt.3988.
- [32]Guy W. Bemis and Mark A. Murcko. The Properties of Known Drugs. 1. Molecular Frameworks. Journal of Medicinal Chemistry, 39(15):2887–2893, 1996. 10.1021/jm9602928.pubmed.ncbi.nlm.nih.gov/8709122
- [33]Darko Butina. Unsupervised Data Base Clustering Based on Daylight’s Fingerprint and Tanimoto Similarity: A Fast and Automated Way To Cluster Small and Large Data Sets. Journal of Chemical Information and Computer Sciences, 39(4):747–750, 1999. 10.1021/ci9803381.DOI
- [34]David Rogers and Mathew Hahn. Extended-connectivity fingerprints. Journal of Chemical Information and Modeling, 50(5):742–754, 2010. 10.1021/ci100050t.DOI
- [35]Andrew Brown, Weidi Xie, Vicky Kalogeiton, and Andrew Zisserman. Smooth-AP: Smoothing the path towards large-scale image retrieval. In European Conference on Computer Vision, volume 12354, pages 677–694, 2020. 10.1007/978-3-030-58545-7_39.arxiv.org/abs/2007.12163
- [36]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.




