Low-N Regression on the Complete GB1 Four-Site Landscape: Pairwise Epistasis Features, Gaussian Processes and a Small CNN Compared on Matched Training Draws Mira-62A Stemma seed corpus https://github.com/mihir-chauhan/research-harness-papers/tree/main/papers/low-n-regression-on-the-gb1-four-site-landscape Abstract—Supervised models of protein fitness are usually such supervised models, and a recurring lesson is that compared with a few hundred to a few thousand labels, yet simple baselines are strong: one-hot ridge regression is a simple baselines are often hard to beat. On the complete robust low-N baseline that more elaborate models must be GB1 four-site landscape (149361 variants) we compare one-hot ridge, ridge with all pairwise site-by-site features, a Hamming- shown to beat [4], and conclusions about regressors depend kernel Gaussian process, an additive model with a learned on the metric and on how generalization is defined [5]. monotone output nonlinearity (global epistasis), and a small At the same time, the central scientific reason to expect CNN with one kernel-2 convolution over the four variable more flexible models to win is epistasis, i.e. non-additive residues. Each is trained on N ∈ {48, 96, 384, 2000} variants interaction between mutations, which is extensive in the drawn uniformly at random or only from wild-type, single and double mutants (“dbl”), with 20 matched training draws near-complete GB1 landscape of Wu et al. [6]. Whether per cell, and is scored on every variant not used for training this epistasis is exploitable at low N, and by which model (random tasks) or on every variant at Hamming distance class, is the question we test. at least 3 (dbl tasks). Pairwise features gave no resolved GB1 is a convenient testbed because the landscape is Spearman gain under random training (mean paired difference almost complete: the CSV distributed with FLIP lists at N =2000 −0.005, 95% interval −0.011 to 0.000). Under dbl training, pairwise ridge with one CV-chosen penalty shared by 149361 of the 204 variants at four sites, so any model all coefficients fell far below additive ridge (0.192 versus 0.354 can be scored on essentially all variants it has not seen, at N =2000), but this loss is specific to that penalty scheme and rather than on a small held-out sample. It is also hard in parameterisation: with the best fixed penalty (chosen on test a specific way: about 76.9% of variants have fitness below data, as a diagnostic) it reaches 0.361, with wild-type-contrast 0.01 (19.7% exactly zero), so most of the ranking signal is coding and separate penalties 0.357, and it is smaller under a log target. An untuned CNN had no resolved Spearman lead a binary alive/dead split and the quantity of interest in over ridge on the raw target (difference at N =384 0.013), and design, the few best variants, lies far in the tail. the global-epistasis model was above ridge at N ≥ 384. Mean We compare five reimplemented regressors (one-hot top-100 recall stayed at or below 0.075 for every model at ridge, ridge with all pairwise one-hot features, a Hamming- N ≤ 384 (largest: CNN, dbl384 ). All claims concern GB1 and kernel Gaussian process, an additive model with a learned these implementations; with one landscape the study does not rank model classes in general. monotone output nonlinearity, and a small CNN) at Index Terms—protein fitness landscapes, low-N regression, N ∈ {48, 96, 384, 2000} training variants, drawn either at epistasis, Gaussian process, GB1, benchmark reproduction random or only from wild-type, single and double mutants (the realistic regime in which an experimentalist has mea- I. Introduction sured only low-order variants and wants to extrapolate). Protein engineering campaigns usually start from a We report Spearman correlation and top-100 recall on all few dozen to a few thousand measured variants, and non-training variants (random tasks) or on all variants at the model trained on them is used to rank the rest of Hamming distance at least 3 (dbl tasks), with 20 matched a combinatorial library. Benchmarks such as FLIP [1], training draws per cell, and we add controls for the TAPE [2] and ProteinGym [3] make it possible to compare two comparisons that are easiest to over-read: separate- penalty and wild-type-contrast variants of the pairwise Mira-62A is the codename of an autonomous study, not a person. model, with fixed-penalty sweeps, and a fitted global- Produced by the Stemma autonomous AI research pipeline; the topic epistasis model alongside the log-target runs. We state five was chosen to cover the field. Every reported result is traced to logged runs in the linked repository and every reference was checked against hypotheses in advance (Sec. IV) and report their outcomes arXiv, Crossref, DataCite or OpenAlex. descriptively. The contribution is a controlled, small-scale measurement on one landscape, not a new method. The kernel with no structure or language-model component) findings are (i) pairwise features give no resolved gain and serves as a kernel baseline. at random N, and the large loss seen when training on d) Positioning against the closest studies, and what low-order mutants belongs to one penalty scheme and is new.: FLIP [1] defines GB1 splits (one-, two-, three- parameterisation (it disappears with a larger fixed penalty vs-rest and low-vs-high) as fixed train/test subsets of or with wild-type-contrast coding and separate penalties); this landscape, and evaluates baselines on them. Our (ii) an untuned CNN does not lead ridge on the raw target, dbl tasks are the same kind of low-order-to-high-order whereas a fitted global-epistasis model is above ridge at extrapolation, with two differences: the training set is a N ≥ 384; and (iii) top-100 recall is near zero for all models matched random draw of a stated size from the wild-type, at N ≤ 384. single and double mutants, and the test set is every variant at Hamming distance at least 3 rather than a subsample. II. Related Work We also run our five systems on the three FLIP split a) GB1 and epistasis.: Wu et al. [6] measured nearly columns of the same CSV (Table V); we do not quote all variants at four GB1 sites and showed that, in this FLIP’s published numbers, because no run in this study epistatic landscape, adaptation is facilitated by indirect reproduces them and every number in this paper is traced paths; the same data underlie the GB1 tasks of FLIP [1]. to a run here. The low-order-to-high-order difficulty is Global-epistasis models [7] posit that mutations act ad- therefore not new; what we add is a check, across matched ditively on an unobserved trait that is transformed by draws, of which model differences are resolved and which a monotonic nonlinear function into the observed pheno- depend on the penalty scheme or target scale. Relative to type; we fit such a model (additive one-hot latent trait plus Otwinowski et al. [7], we do not develop global epistasis; we a learned monotone function) as a baseline and compare it use a simple monotone-output additive model as a baseline with the log-target runs, which are a fixed, crude version against the CNN comparison. Relative to Wittmann et of the same idea. Minimum epistasis interpolation [8] al. [10] and Brookes et al. [9], we do not study training-set imputes unmeasured genotypes by inferring the least design or sparse models, and our conclusions are limited to epistatic sequence-function relationship compatible with the ridge, kernel, global-epistasis and small-CNN systems the data, approaching additivity where data are sparse, named in the text. and was applied to a protein G landscape. Brookes et al. [9] study the sparsity of fitness functions in the Walsh– III. Method Hadamard basis and what it implies for how many samples are needed to learn an epistatic model; we fit no sparse All systems map a four-residue variant s = (a1 , . . . , a4 ), model here, and our pairwise model is a dense, penalised ai ∈ {1..20}, to a scalar fitness y and are trained one. by regression on N labelled variants {(sn , yn )}. The b) Low-N supervised baselines and training-set de- ranking of unseen variants by the prediction fˆ(s) is the sign.: Hsu et al. [4] combine evolutionary density scores object of evaluation. All models are reimplemented in with assay labels and use one-hot ridge regression as the method/run.py; none uses pretrained weights, structure label-only reference; Michael et al. [5] analyse regression or sequence-family information. models for protein engineering and show that different as- sessment criteria and definitions of generalization can lead A. One-hot ridge to dramatically different conclusions, which motivates our Let ϕ(s) ∈ {0, 1}80 be the concatenation of the one-hot use of two metrics and two training-set regimes. Wittmann encodings of the 4 sites. The model is fˆ(s) = b + w⊤ ϕ(s) et al. [10] study machine-learning-assisted directed evolu- with tion on the four-site GB1 landscape with small training ∑( )2 sets and show that how the training variants are chosen, (b̂, ŵ) = arg min yn − b − w⊤ ϕ(sn ) + α∥w∥22 , (1) b,w including the role of non-functional variants, changes n the outcome; they evaluate design outcomes, whereas we the intercept unpenalised. Since N ≪ the number of evaluate ranking of the whole remaining landscape and features in the pairwise model below, we solve the dual do not filter or design the training set. Representation- form on centred features, ŵ = Φ⊤ ⊤ c (Φc Φc + αI) −1 (y − ȳ). learning approaches such as UniRep [11], TAPE [2] and −3 The penalty α is chosen from {10 , . . . , 10 } (7 values) 3 zero-shot language-model scoring [12] reduce the need for by 5-fold cross-validated squared error on the training set labels but are outside our scope; ProteinGym [3] provides only. a large-scale benchmark across assays. c) Gaussian processes.: Romero et al. [13] used B. One-hot with pairwise epistasis features (the focal Gaussian process regression for protein fitness landscapes; method) Kermut [14] is a recent GP with a composite kernel for mutation similarity that also provides uncertainty We append, for each of the 6 site pairs (i, j), the one-hot estimates. Our GP is far simpler (a Hamming-distance indicator of the amino-acid pair (ai , aj ) (400 features per pair), giving ψ(s) ∈ {0, 1}2480 and the same ridge model F. Small CNN with the same CV grid: A variant is embedded (16 dimensions per residue), ∑ ∑ passed through a width-64 one-dimensional convolution fˆ(s) = b + wi [ai ] + uij [ai , aj ]. (2) of kernel size 2 with zero padding (so the sequence length i i