Manuscript Offprint
arXiv:2610.08495Information-Dense Synthesis for Molecular Discovery
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Machine learning can accelerate molecular discovery by designing molecules and planning experiments. However, many scientific challenges demand molecules with very rare properties, and in this sparse setting, existing algorithms offer little gain over random guessing. We propose a method to efficiently search large regions of molecular space using algorithmically controlled stochastic synthesis. Rather than design, make and test individual molecules, we design and make complex mixtures, test them as a pool, then deconvolute the molecule-activity map. We optimize synthesis to encode maximal information. Theoretically, this approach can reduce the number of experiments required to find the optimal molecule among d candidates from to or . In simulation, on estimated protein fitness landscapes, it finds active molecules with an order of magnitude fewer experiments than existing Bayesian optimization methods.
1 Introduction
Lab-in-the-loop ML and AI systems promise to efficiently explore molecular space, by iteratively learning from data and generating new molecules to test (e.g. Romero & Arnold, 2009; Romero et al., 2013; Frey et al., 2025; Rapp et al., 2024; Liu et al., 2025b; Mints et al., 2022; Hastrup et al., 2026). But very often, the region of molecular space where molecules have a desired property is exceedingly narrow: within the combinatorial vastness of possible molecules, only a small subset catalyzes a reaction or treats a disease. This sparseness poses fundamental challenges to existing lab-in-the-loop systems, which design and test candidate molecules individually. Most candidates fail, and therefore provide almost no information about the optimal molecule. On sparse problems, even state-of-the-art algorithms perform no better than random (Proposition 1) (Bach, 2020). In this article we propose lab-in-the-loop learning with information-dense synthesis (LIDS), a method that designs, builds and tests complex mixtures of molecules, rather than individual molecules. It is tractable to synthesize complex mixtures, without added laboratory time or cost, by combinatorial chemistry (Szostak, 1997; Houghten et al., 1999). Our idea is to control these stochastic chemical reactions algorithmically, within the framework of Bayesian optimization and experimental design (Rainforth et al., 2024; Shahriari et al., 2016). We use generative models to describe stochastic synthesis (Weinstein et al., 2022, 2026). We test the synthesized mixture as a pool (Liu et al., 2025a). We optimize synthesis so the experiment provides maximum information about the
RuBisCO

Figure 1: Lab-in-the-loop speedup. Optimizing an in silico oracle with LIDS (blue) versus baselines (Sec. 6).
molecule with the highest activity (Hernández-Lobato et al., 2014; Russo & Van Roy, 2018). The method yields rapid acceleration on sparse molecular discovery problems (Fig. 1).
*Department of Chemistry, Technical University of Denmark, Kgs. Lyngby, DK. Contact: enawe@dtu.dk
Our contributions are:
-
A recipe to accelerate lab-in-the-loop molecular discovery by controlled stochastic synthesis, rather than deterministic synthesis.
-
Efficient approximate Bayesian computation for designing stochastic syntheses, and learning from assays that test the resulting mixtures as a pool (Sec. 3).
-
Theoretical results showing exponential speedups over methods that design and test molecules individually (Sec. 5).
-
Empirical demonstration of order-of-magnitude speedups across diverse simulated DNA and peptide activity landscapes (Sec. 6).
Notation is defined where introduced; a table is in App. A.
Current approach. The usual technique for solving this problem is to iteratively (1) design a molecule , (2) synthesize in the laboratory, (3) test in an assay that returns , a noisy measurement of , and (4) update our knowledge of f and its optimum. Algorithms based on Bayesian optimization or reinforcement learning can be used to learn from the data and propose new molecules (steps 1 and 4) (Romero & Arnold, 2009; Romero et al., 2013; Maus et al., 2026; Groth et al., 2024; Jankowiak et al., 2026). Robotic systems are increasingly used to automate synthesis and testing (steps 2 and 3) (Ha et al., 2023). Compiled together, steps 1-4 have become a basic recipe for automated or “self-driving” labs in the molecular sciences (Rapp et al., 2024; Abolhasani, 2026).
Core challenge. Active molecules often occupy a narrow region of the molecular space. For example: antibody screens turn up one useful sequence among a billion candidates (Skora et al., 2015); flipping a single chiral center in thalidomide makes the drug toxic (Vargesson, 2015); 0.14% of single point mutations in RuBisCO, a CO₂ capturing enzyme, increase activity over baseline (Prywes et al., 2025). The sparseness of molecule-activity maps poses a fundamental challenge to existing lab-in-the-loop discovery methods. To illustrate, consider a simple setting in which we have candidate molecules, but only one is active, and we have no prior knowledge about which one. Then there does not exist a learning algorithm that can outperform a random screen.
Proposition 1. Assume where , and there is no noise in the assay, so we measure . Define expected regret, . A policy that selects the next candidate uniformly at random from among remaining candidates has expected regret . There does not exist a policy with lower expected regret.
Proof in App. B. In short, any algorithm-using Bayesian optimization, reinforcement learning, generative models, agents, or anything else-will have failed experiments on average before finding the optimum. The problem is that on sparse problems there is no information to extrapolate from: an experiment only tells us whether or not the tested molecule works.
Our approach. To break the regret barrier of Proposition 1, we propose designing, synthesizing and testing mixtures of molecules, so that each experiment carries information about many molecules at once, as depicted in Fig. 2 (Aldridge et al., 2026; Russo & Van Roy, 2018; Liu et al., 2025a).
Individual Synthesis
Information-Dense Synthesis

Figure 2: Overview. Information-dense synthesis uses mixtures of molecules q, instead of single molecules x. By testing the mixtures as a pool, we encode the activity from many molecules into experiment outcomes y. Compared to individual synthesis, this can carry much more information about the optimal molecule , especially on sparse molecule-activity maps f.
3 Method
We optimize by synthesizing and testing mixtures of molecules. Mathematically, we specify a mixture as a positive measure : a distribution over different molecules, , times a yield , the total number of molecules that are made, . When we test the mixture, we assume the assay provides a noisy measurement of the average activity,
where is noise, and denotes the inner product on functions. In the case where we synthesize a pure compound, the distribution of molecules reduces to a delta mass at a single point , and we recover the standard problem setting, .
Eq. (1) contains a linearity assumption: it says the experiment’s outcome depends on the sum of the activity of each x, , weighted by how much of x is in the mixture, . This is an assumption about the assay, not about the activity map , which can be arbitrarily complex and nonlinear. For example, in spectroscopy, the total signal depends on the sum of the absorbance or emission of each individual molecule, even if the absorbance and emission depend in a complex way on molecular structure. In vitro or in vivo, linearity violations are drug-drug interactions, which are often lower order contributions to a cocktail’s effect (Liu et al., 2025a).
Our recipe for lab-in-the-loop learning consists of:
-
A synthesis model that describes the chemical process of creating a mixture. It specifies which are practically achievable.
-
An assay model that describes the noise associated with measurement, .
-
A design algorithm that chooses the next mixture to maximize information.
-
An inference algorithm that updates our knowledge of f based on the experimental data.
3.1 Synthesis models
We aim to design a complex mixture of molecules that is tractable to synthesize in the lab. To do so, we build on variational synthesis, which describes the output of stochastic synthesis using a generative model (Weinstein et al., 2022, 2026). Our synthesis model consists of a family of measures , where (1) denotes experimental parameters, i.e. specific instructions that can be sent to a synthesizer, and (2) describes the mixture of molecules that come out of the synthesizer. To design a mixture we choose a .
We focus on models for solid phase synthesis, a combinatorial synthesis approach that is widely applied to make DNA, RNA, peptides, carbohydrates and more (Beaucage & Caruthers, 1981; Caruthers, 2013; Merrifield, 1963; Zuckermann et al., 1992). Consider synthesizing peptides of length . The molecular space is where is the alphabet of amino acids, size . A solid phase peptide synthesizer makes peptides by sequentially adding amino acids. At each step it can add a single amino acid, or it can add a mixture of different amino acids, so that each growing peptide molecule will randomly encounter and react with a different amino acid. The resulting mixture can be described by a site-wise independent distribution where the probability of amino acid at position depends on its effective concentration in the th reaction, , with (Houghten et al., 1999). By repeating the synthesis process times with different input concentrations, and mixing the products, we build up a distribution,
where specifies the relative concentration of peptides from each synthesis , and . This is a mixture model over discrete sequences. We set as the family of synthesizable distributions, where are the experimental parameters, including the overall yield . This synthesis model is applicable to a range of heteropolymers, e.g. for DNA we can set to be the nucleotides (Weinstein et al., 2022, 2026).
The laboratory time and resources required to synthesize the mixture distribution in Eq. (2) is effectively the same as that required to synthesize S pure sequences . The number of reaction steps and the amount of reagents are the same. The only added complexity is from mixing reagents before or during each synthesis step, a process amenable to automated liquid handling (Torres-Acosta et al., 2022).
3.2 Assay models
We assume a model of the assay’s noise. We focus on Gaussian noise, . Though not required, our method exploits prior knowledge of the noise level, e.g. from control experiments, so we assume the standard deviation is known. Bernoulli or Poisson noise is also possible.
3.3 Designing mixtures
We work in the framework of sequential Bayesian experimental design (Rainforth et al., 2024). We optimize synthesis to maximize the information our next experiment will deliver about the optimum. This acquisition function has been proposed in predictive entropy search and information directed sampling (Hernández-Lobato et al., 2014; Russo & Van Roy, 2018). First, we place a prior on the unknown molecule-activity map,
After performing experiments, our posterior updates to . To choose the next mixture, we maximize the expected information gain (EIG) about the optimum:
where denotes the Shannon entropy and . This objective quantifies the reduction in uncertainty about after observing , on average across predicted . It is equivalent to the mutual information between the new datapoint, , and the optimal molecule (Hennig & Schuler, 2012; Hernández-Lobato et al., 2014, 2015; Jones et al., 1998; Russo & Van Roy, 2018). Assays are often run in parallel, e.g. in a 96 well plate format, in which case we can consider a batch version of the objective, with .
The EIG is critical to exploiting stochastic synthesis. Thompson sampling draws and chooses the next design as , i.e. it reverts to synthesizing and testing individual molecules (Thompson, 1933). The upper confidence bound algorithm and expected improvement produce the same degeneracy (App. C) (Auer et al., 2002; Jones et al., 1998). As a result, these standard acquisition functions fail to provide major speedups on sparse problems, even when given access to stochastic synthesis (Sec. 6) (Russo & Van Roy, 2018).
Approximating the information gain The EIG is difficult to compute explicitly. Instead, we optimize the Barber-Agakov variational bound (Foster et al., 2020; Barber & Agakov, 2003),
, where is the approximate posterior and is the reparameterized noise (App. D). We first draw samples from the posterior (Sec. 3.4), then jointly optimize the synthesis and the approximate posterior by stochastic gradient ascent, using AdamW (Loshchilov & Hutter, 2018; Foster et al., 2020). Details on architecture and training are in App. E. This variational bound can be understood as an encoder-decoder model (Grover & Ermon, 2019). The laboratory experiment encodes the unknown molecule-activity map into a noisy E-dimensional measurement . The approximate posterior decodes the optimal molecule from this measurement.
A tractable sparse function class We need a function class and prior that can describe sparse molecule-activity maps, which can be challenging to model with Gaussian processes (Park, 2022; Meng et al., 2021). We consider a single-layer Bayesian neural network with an exponential nonlinearity, where is represented as a one-hot encoding, , , and the dot product is over the length dimension and alphabet dimension . We design a prior that encourages sparsity, so only that closely match one of the filters produce nontrivial outputs, and assume that we have an informative prior on the maximum activity that the assay can record, , based on e.g. positive control experiments. This function class is expressive, and offers closed-form computation of the integral , as well as fast approximation of (App. F).
3.4 Inference from mixtures
We perform automated approximate Bayesian inference in a probabilistic programming language (NumPyro), adaptively switching from MCMC to stochastic variational inference as the posterior concentrates (App. G). When done gathering data, we approximately generate the maximum a posteriori molecule, , as our best guess of the optimal molecule . The full procedure is summarized in Alg. 1.
Algorithm 1 Learning with Information-Dense Synthesis (LIDS)
Require: batch size , syntheses , noise , posterior samples , prior .
while conducting experiments, do
Maximize EIG
Run batch of experiments
Update beliefs
end while
return
4 Related Work
Our approach extends group testing, which searches among many candidates by conducting pooled tests, to a high-dimensional Bayesian optimization setting (Aldridge et al., 2026; Garnett, 2023). Group testing methods have a long history in molecular discovery and combinatorial chemistry (Kainkaryam & Woolf, 2009). They are closely related to compressed sensing, which exploits structure such as sparsity to learn from limited measurements (Atia & Saligrama, 2009). Liu et al. (2025a) propose compressed screening to learn the activity of a set of compounds synthesized individually, using pooled tests (Yao et al., 2023; Cleary & Regev, 2020). Weinstein et al. (2025) generalize from learning vectors to training sequence activity models; they synthesize DNA stochastically by variational synthesis, then deliver multiple DNA sequences into the same cell to make randomized mixtures. We extend these ideas, learning sequence-activity models through iterative experimentation with model-designed mixtures.
A critical advantage of pooled testing is that it does not require barcoding individual molecules (Peterson & Liu, 2023). LIDS is therefore not restricted to DNA and DNA-encoded libraries, and can instead be applied to other classes of molecules (Szostak, 1997).
LIDS builds on previous methods for optimization based on the EIG, such as entropy search (MacKay, 1992; Villemonteix et al., 2009; Hennig & Schuler, 2012; Hernández-Lobato et al., 2014). Russo & Van Roy (2018) show the EIG enables rapid optimization of sparse functions, where UCB and TS fail. To operationalize this idea, we apply recent advances in EIG approximation (Rainforth et al., 2024; Foster et al., 2020). Like the uncertainty autoencoder (UAE) (Grover & Ermon, 2019), we design experiments end-to-end by training an encoder and decoder, but our focus is on learning sparse functions rather than sparse Euclidean vectors. Like Sharrock (2026) we optimize distributions , but our goal is to design mixtures not ease computation.
Molecular discovery relies on causal assumptions: a molecule-activity map specifies the effect of an intervention x on an outcome y. We disaggregate the conventional causal model, , and replace it with a hierarchical causal model, where many molecules (subunits) affect an outcome (Fig. 8) (Weinstein & Blei, 2026; Weinstein et al., 2024). The corresponding estimator, Eqs. (3) and (4), is Bayesian distributional regression (Zaheer et al., 2018; Szabó et al., 2016).
5 Theory
We show information-dense synthesis can rapidly search large molecular spaces (Sec. 5.1), but is slowed by experimental limitations (Sec. 5.2)
5.1 Exponential speed ups
In principle, information-dense synthesis can find the optimal molecule with a single experiment.
Example 1 (No noise, discrete map). Assume activity is discrete, s.t. for . Assume the model is well specified, , and , we can synthesize any , and our assay has no noise, . Then, by optimizing the EIG (Eq. (5)), we find after one experiment.
Proof sketch. Set where . Now , so is encoded in the digits of , e.g. for we have .
Proof in App. H. This example assumes discrete activity, e.g. y could be the number of fluorophores that attach to x. However, optimization can also be achieved for , when is sparse (App. I). Next, consider assays that return just one bit, instead of a continuous value.
Example 2 (Binary activity test). Assume f is 1-sparse, , we can synthesize any , and our model is well-specified, with uniform prior . The assay reports where any molecule is active, . Then, by optimizing the EIG with batch size (Eq. (6)), we find after batched experiments.
Proof sketch. The EIG executes -ary search. Each contains half the current possible values. Observing tells us whether is in that half or the other, cutting the search space in half.
Proof in App. J, with an additional example in App. K. The space of all small molecules is estimated at (Ruddigkeit et al., 2012). This suggests it could be searched with three 96-well plates, where testing compounds individually would require experiments (Proposition 1). We next discuss how reality intervenes.
5.2 Limitations and tradeoffs
Our analytic examples assumed no noise, full control over the molecular mixture, and restrictions on the molecule-activity map. In this section we examine the method's behavior as these assumptions are relaxed or changed. We first examine the information gained in a single experiment.
Proposition 2 (Information bound). Assume Gaussian noise, , where , and for a finite set. Then,
The proof (App. L) applies the Shannon-Hartley theorem. This bound shows information is limited by an assay’s signal-to-noise ratio . High noise can reduce the EIG to zero. High synthesis yield can increase the EIG: if we have more material to test, the SNR will increase. Control over synthesis is also important: we must achieve a high inner product between what we can make, , and the molecule-activity map we want to learn, .
This bound also reveals a tradeoff that comes from using stochastic synthesis rather than individual synthesis. We can often increase the signal’s entropy by testing more spread out mixtures . However, the SNR is maximized by concentrating on a single molecule, since , following Bauer’s maximum principle (App. L.1).
Example 3. Assume the molecule activity map is 1-sparse with maximum value one, , and the prior is uniform, . Assume a synthesis model that creates uniform mixtures, for , and . Assume Gaussian noise where . In this example, we can numerically solve the EIG, and compare with the bounds from Proposition 2, see Fig. 3. As the noise increases, the optimal tradeoff between entropy and SNR shifts to smaller values of . See App. M for details.

Figure 3: EIG tradeoffs. EIG from Example 3, plotted alongside MI upper bounds from Proposition 2, as a function of .
Synthesizing mixtures can offer major gains in early experiments, but the advantage over individual synthesis decreases to zero in the limit as the number of experiments goes to infinity.
Proposition 3. Let be a model of the molecule-activity map, where . Assume the prior is positive and absolutely continuous in a neighborhood of the true f. Consider maximizing the EIG for . Let be the set of mixtures and let be the set of delta mixtures (individual synthesis). Define to be the asymptotic covariance of the posterior when we choose at each step by maximizing the EIG. Then, the asymptotic covariance is equal regardless of whether we test mixtures or individual molecules: .
The proof is in App. N; it uses the Bernstein-von Mises theorem for sequential Bayesian design from Paninski (2005), which implies the posterior over is asymptotically normal. A limitation of this result is it applies to the EIG for learning the entire function , while LIDS focuses just on the optimum ; we conjecture similar behavior for learning the optimum, since it is a deterministic function of . The overall picture is that at the beginning of learning, synthesizing mixtures can offer major advantages, but in the limit as we collect infinite data and approach complete knowledge of f, the advantages diminish.
6 Empirical Results
We compare LIDS to individual synthesis empirically. We evaluate in simulations, where the ground truth molecule-activity map f is specified by different oracles, and measurements have Gaussian noise with known variance. We compare to molecular optimization methods that use individual synthesis. First, Thompson sampling using the same prior and model as LIDS (Thompson) (Thompson, 1933). Then, Gaussian process (GP) Bayesian optimization with expected improvement (EI), using either the exponential Hamming kernel (Hamming EI) or the LOCK kernel (LOCK EI), which is SOTA for learning protein activity from limited data (Jankowiak et al., 2026; Amin et al., 2023; Groth et al., 2024). Finally, we ablate LIDS by removing stochasticity from its synthesis design , replacing it with (LIDS-argmax). To compare LIDS fairly to individual synthesis, we set the number of syntheses equal to the batch size and only vary the weights within a batch , so the synthesis cost (amount of reagents, number of reaction steps) is the same (Note when experiments are bottlenecked by assay cost rather than synthesis cost, LIDS can use to reach higher EIG). To monitor performance, after every round we evaluate the true activity of the predicted optimum, . All experiments use a single
Table 1: Sparse oracle. Number of rounds until finding the optimal molecule, .
| Noise level | Method | # of rounds ↓ | ||
|---|---|---|---|---|
| min | median | max | ||
| Low | Thompson | 14 | >100 | >100 |
| Hamming EI | 42 | >100 | >100 | |
| LIDS (ours) | 2 | 2 | 8 | |
| Medium | Thompson | 19 | >100 | >100 |
| Hamming EI | 45 | >100 | >100 | |
| LIDS (ours) | 3 | 4.5 | 14 | |
| High | Thompson | 38 | >100 | >100 |
| Hamming EI | 41 | >100 | >100 | |
| LIDS (ours) | 21 | >100 | >100 | |
Table 2: PLM oracle. Number of rounds until finding the optimal molecule, .
| Protein | Method | # of rounds ↓ | ||
|---|---|---|---|---|
| min | median | max | ||
| PETase | Thompson | >100 | >100 | >100 |
| Hamming EI | 9 | 27 | 88 | |
| LOCK EI | 12 | 27 | 47 | |
| LIDS-argmax | >5 | >5 | >5 | |
| LIDS (ours) | 2 | 3 | >5 | |
| RuBisCO | Thompson | 72 | >100 | >100 |
| Hamming EI | 42 | 118 | >200 | |
| LOCK EI | 81 | >100 | >100 | |
| LIDS-argmax | >5 | >5 | >5 | |
| LIDS (ours) | 2 | 2 | >5 | |
| SazCA | Thompson | >100 | >100 | >100 |
| Hamming EI | >100 | >100 | >100 | |
| LOCK EI | >100 | >100 | >100 | |
| LIDS-argmax | >5 | >5 | >5 | |
| LIDS (ours) | >5 | >5 | >5 | |
Nvidia A100 GPU. LIDS is by far the most computationally intensive: EIG maximization takes ≈30min and posterior updates take ≈30min for the oracles in Sec. 6.2. Key results:
-
On synthetic f with rare activity, LIDS finds the optimum in 2-5 experiments (median) where individual synthesis methods fail even after 100.
-
On learned f from a protein language model, LIDS optimizes an order of magnitude faster.
-
LIDS is robust to model misspecification and to noise in the assay or synthesis, with performance degrading gradually towards individual synthesis as noise increases.
6.1 Sparse synthetic oracle
We first evaluate LIDS on a small-scale problem where we specify a sparse f as an oracle.
Setup Let be the set of all DNA sequences of length . We construct an oracle f where the optimal sequence has activity one and all sequences more than one mutation away from have activity zero. Measurement adds Gaussian noise with standard deviation . We fix the yield . This corresponds to peak-signal-to-noise ratio PSNR dB. At every round, we test a batch of designs. We run 10 independent repeats for each method. Details in App. O.
Results At low noise-levels (PSNR = 80 dB), LIDS identifies the optimum in less than 8 rounds of experiments across all 10 repeats, with a median of just 2 rounds (Tab. 1 and fig. 5a) In most repeats, the individual synthesis methods (Thompson sampling and Hamming EI) failed to find the optimum within 100 rounds of experiments. As the assay noise increases, the advantage of LIDS diminishes gradually, approaching the individual synthesis methods (Figs. 5b and 5c).
We visualized LIDS qualitatively by a low-dimensional projection of its designs and beliefs (Fig. 4). At each round , LIDS designs complex stochastic syntheses that cover its remaining uncertainty.
, colored by y

, colored by y

f &

Figure 4: Two rounds of LIDS on a sparse synthetic oracle (Sec. 6.1). UMAP projection of DNA sequences. Row 1: samples from the prior (left), the mixtures designed at by LIDS (middle), and the same mixtures, colored by their measured activity (right). Row 2: the posterior after one experiment round, (left), the mixtures designed at by LIDS (middle), and the same mixtures, colored by their activity (right). Row 3: the posterior after two experiment rounds, (left), and the true activity (right), normalized to be a distribution for visualization . After these two rounds, LIDS has converged on the global optimum (star).
6.2 Protein language model oracle
We next evaluate LIDS on a peptide discovery problem, where the oracle molecule-activity map f is estimated from large scale data.
Setup Let be the set of peptides of length , where is the 20 natural amino acids. As an oracle , we use an estimate of evolutionary fitness based on a pre-trained protein language model (PLM),

(a)
(b)
(c)
Figure 5: Synthetic f with rare activity. LIDS, Thompson, and Hamming EI, at varying noise-level , optimizing a synthetic oracle. The activity of the predicted optimum, , is plotted as a function of experimental round , averaged over 10 duplicates. The 95% CI is calculated using a logit transform and the delta method, so that it stays bounded in the interval (See App. P).
SazCA

(a)
RuBisCO
(b)
PETase
(c)
Figure 6: PLM oracle. LIDS, Thompson, Hamming EI, and LOCK EI, applied to a PLM oracle, with low noise (PSNR = 80dB). The maximum activity of the 5 latest test molecules , is plotted as a function of the experimental round , averaged over 5 duplicates. The 95% CI is calculated using a logit transform and the delta method, so that it stays bounded in the interval (See App. P).
where we set to ProGen2's likelihood and to a wild-type protein sequence (Nijkamp et al., 2023). The likelihood ratio is the evolutionary index, which compares the probability of evolution generating versus a natural sequence; it has been shown to reliably correlate with diverse measures of protein activity (Hopf et al., 2017; Riesselman et al., 2018). The conditional is predictive of whether a peptide will interact with (Chen et al., 2026). Sequences below a threshold evolutionary index are typically dysfunctional or pathogenic, so we apply a cutoff (Frazer et al., 2021). Unlike benchmarks based on raw experimental data, is defined over all of sequence space, allowing us to compute the activity of a mixture (Notin et al., 2023). Crucially, we can approximate the integral even when active sequences are rare under , by generating samples from the same PLM whose likelihood defines . We use importance sampling with a defensive mixture as the proposal, , ensuring we evaluate in regions where either or are high (Hesterberg, 1995) (App. Q.1).
We consider three wild-type proteins : the -anhydrase SazCA, the -capturing Ru-BisCO, and the plastic-degrading PETase. We prompt with the first amino acids of the wild-type, and design the next 5, so the molecular space is size molecules. The LIDS model is given an unbiased prior , with no evolutionary or physicochemical data that could be predictive of . LOCK uses BLOSUM, a model of amino acid correlations based on evolutionary data (Jankowiak et al., 2026; Henikoff & Henikoff, 1992). At every experimental round, we test a batch of designs. We run 5 repeats, with independent initialization and measurement noise with PSNR = 80dB. We run the individual synthesis methods for 100 rounds and, due to computational expense, LIDS for 5. Details in App. Q
Results LIDS finds high-activity molecules faster than methods based on individual synthesis (Fig. 6). LIDS' improvement is smallest on the PETase landscape, where active sequences are more common: here LIDS finds the global optimum in 3 rounds (median across repeats), whereas the GP methods take 27 rounds (median) (Tab. 2). On the RuBisCO landscape, LIDS finds the global optimum in 2 rounds (median), whereas individual synthesis methods did not find it within 100 rounds, in the majority of repeats (Tab. 2). We kept running Hamming EI for an additional 100 rounds; even so, it only found the optimum in 3/5 repeats. On the SazCA landscape, LIDS does not find the unique global optimum, but identifies sequences with non-zero activity within 5 rounds, while the alternatives find nothing after 100 rounds (Fig. 6a). When LIDS failed to find the global optimum, it appeared to be due to inefficient posterior sampling. Reducing the number of posterior samples M degraded LIDS' performance (Fig. 9).
LIDS' advantage is from information-dense stochastic synthesis. Ablating stochastic synthesis, by replacing each design with its optimum, ablated performance entirely (LIDS-argmax). So did ablating stochastic synthesis by using Thompson sampling with the same model and prior as LIDS (Thompson). Using a SOTA GP model, containing additional prior information about f, did not compensate for the advantages of stochastic synthesis (LOCK).
LIDS is robust: its model is misspecified for these oracle f. Adding synthesis errors, so that the tested differs from the design, began substantially reducing performance only when 40% of every mixture was corrupted (Fig. 7).
RuBisCO

Figure 7: LIDS with synthesis errors. We add random errors to the designed mixtures by replacing with where .
7 Discussion
We showed that using information-dense stochastic synthesis, instead of synthesizing and testing individual molecules, can lead to very large speedups on hard molecular discovery problems.
Limitations. First, LIDS has only been evaluated in simulation, not in the wetlab. Second, LIDS shifts costs from experimentation to computation: it requires fewer wetlab experiments but much more compute than individual synthesis. The challenge is LIDS requires (a) calculating the predicted activity of a complex mixture rather than a single molecule, (b) optimizing the EIG, and (c) large numbers of posterior samples. Scaling LIDS to larger molecules and more complex surrogate models will require accelerating Bayesian experimental design, e.g. using amortization (Foster et al., 2020, 2021; Hedman et al., 2025). The mixture's activity could remain tractable if the surrogate is a smooth and decomposable probabilistic circuit (Vergari et al., 2021).
Outlook. Scaling molecular machine learning requires scaling laboratory feedback. One axis for scaling is performing more experiments. When testing individual molecules, this is essentially the only hope, since no adaptive algorithm can overcome a sparse activity map (Bach, 2020, Proposition 1). LIDS opens another, complementary approach to scaling: achieving precise control over synthesis, higher synthesis yields, and higher assay signal-to-noise ratios. These improvements do not change the number of datapoints, but rather the information they carry. This opens new opportunities and directions for scaling automated molecular science.
Acknowledgments
We wish to thank Victor Veitch, Katrine Qvortrup, Elizabeth Wood, and Alan Amin for useful discussions and suggestions. This work was supported by a Start Package Grant from the Novo Nordisk Foundation to ENW. We thank the DTU Computing Center and the Pioneer Centre for AI for providing compute resources and support.
References
Yasin Abbasi-yadkori, Dávid Pál, and Csaba Szepesvári. Improved Algorithms for Linear Stochastic Bandits. In Advances in Neural Information Processing Systems, volume 24. Curran Associates, Inc., 2011. URL https://papers.nips.cc/paper_files/paper/2011/hash/e1d5be1c7f2f456670de3d53c7b54f4a-Abstract.html.
Milad Abolhasani. The lab that learns. Science, 393(6813):761–763, August 2026. doi: 10.1126/science.aee2448. URL https://www.science.org/doi/10.1126/science.aee2448.
Matthew Aldridge, Oliver Johnson, and Jonathan Scarlett. Group Testing: An Information Theory Perspective. Foundations and Trends in Communications and Information Theory, 23(1-2): 1–221, May 2026. ISSN 1567-2190, 1567-2328. doi: 10.1108/FTCIT-11-2025-0150. URL http://arxiv.org/abs/1902.06002. arXiv:1902.06002 [cs.IT].
Alan Nawzad Amin, Eli Nathan Weinstein, and Debora Susan Marks. Biological Sequence Kernels with Guaranteed Flexibility, April 2023. URL http://arxiv.org/abs/2304.03775. arXiv:2304.03775 [stat].
Michael Riis Andersen, Ole Winther, and Lars Kai Hansen. Bayesian Inference for Structured Spike and Slab Priors. In Advances in Neural Information Processing Systems, volume 27. Curran Associates, Inc., 2014. URL https://proceedings.neurips.cc/paper_files/paper/2014/hash/8927f9b43dbc13ddfa1edf2103f2191f-Abstract.html.
George Kamal Atia and Venkatesh Saligrama. Boolean compressed sensing and noisy group testing. arXiv [cs.IT], July 2009.
Peter Auer, Nicolò Cesa-Bianchi, and Paul Fischer. Finite-time Analysis of the Multiarmed Bandit Problem. Machine Learning, 47(2):235–256, May 2002. ISSN 1573-0565. doi: 10.1023/A:1013689704352. URL https://doi.org/10.1023/A:1013689704352.
Francis Bach. Optimization is as hard as approximation. https://francisbach.com/optimization-is-as-hard-as-approximation/, 2020. Accessed: 2025-7-3.
David Barber and Felix Agakov. Information Maximization in Noisy Channels: A Variational Approach. In Advances in Neural Information Processing Systems, volume 16. MIT Press, 2003. URL https://proceedings.neurips.cc/paper/2003/hash/a6ea8471c120fe8cc35a2954c9b9c595-Abstract.html.
Heinz Bauer. Minimalstellen von Funktionen und Extremalpunkte. Archiv der Mathematik, 9(4): 389–393, November 1958. ISSN 1420-8938. doi: 10.1007/BF01898615. URL https://doi.org/10.1007/BF01898615.
S. L. Beaucage and M. H. Caruthers. Deoxynucleoside phosphoramidites—A new class of key intermediates for deoxypolynucleotide synthesis. Tetrahedron Letters, 22(20):1859–1862, January 1981. ISSN 0040-4039. doi: 10.1016/S0040-4039(01)90461-7. URL https://www.sciencedirect.com/science/article/pii/S0040403901904617.
Michael Betancourt. Sparsity Blues, May 2021. URL https://betanalpha.github.io/assets/case_studies/modeling_sparsity.html.
Andy Brock, Soham De, Samuel L. Smith, and Karen Simonyan. High-Performance Large-Scale Image Recognition Without Normalization. In Proceedings of the 38th International Conference on Machine Learning, pp. 1059–1071. PMLR, July 2021. URL https://proceedings.mlr.pres/s/v139/brock21a.html.
Marvin H. Caruthers. The Chemical Synthesis of DNA/RNA: Our Gift to Science. The Journal of Biological Chemistry, 288(2):1420–1427, January 2013. ISSN 0021-9258. doi: 10.1074/jbc.X112.442855. URL https://pmc.ncbi.nlm.nih.gov/articles/PMC3543024/.
Carlos M. Carvalho, Nicholas G. Polson, and James G. Scott. Handling Sparsity via the Horseshoe. In Proceedings of the Twelfth International Conference on Artificial Intelligence and Statistics, pp. 73–80. PMLR, April 2009. URL https://proceedings.mlr.press/v5/carvalho09a.html.
Leo Tianlai Chen, Zachary Quinn, Madeleine Dumas, Christina Peng, Lauren Hong, Moises Lopez-Gonzalez, Alexander Mestre, Rio Watson, Sophia Vincoff, Lin Zhao, Jianli Wu, Audrey Stavrand, Mayumi Schaepers-Cheu, Tian Zi Wang, Divya Srijay, Connor Monticello, Pranay Vure, Rishab Pulugurta, Sarah Pertsemlidis, Kseniia Kholina, Shrey Goel, Matthew P. DeLisa, Jen-Tsan Ashley Chi, Ray Truant, Hector C. Aguilar, and Pranam Chatterjee. Target sequence-conditioned design of peptide binders using masked language modeling. Nature Biotechnology, 44(6):1002–1010, June 2026. ISSN 1546-1696. doi: 10.1038/s41587-025-02761-2. URL https://www.nature.com/articles/s41587-025-02761-2.
Brian Cleary and Aviv Regev. The necessity and power of random, under-sampled experiments in biology. arXiv [q-bio.QM], December 2020.
Adam Foster, Martin Jankowiak, Matthew O'Meara, Yee Whye Teh, and Tom Rainforth. A Unified Stochastic Gradient Approach to Designing Bayesian-Optimal Experiments. In Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, pp. 2959–2969. PMLR, June 2020. URL https://proceedings.mlr.press/v108/foster20a.html.
Adam Foster, Desi R. Ivanova, Ilyas Malik, and Tom Rainforth. Deep Adaptive Design: Amortizing Sequential Bayesian Experimental Design, June 2021. URL http://arxiv.org/abs/2103.02438. arXiv:2103.02438 [stat].
Jonathan Frazer, Pascal Notin, Mafalda Dias, Aidan Gomez, Joseph K. Min, Kelly Brock, Yarin Gal, and Debora S. Marks. Disease variant prediction with deep generative models of evolutionary data. Nature, 599(7883):91–95, November 2021. ISSN 1476-4687. doi: 10.1038/s41586-021-04043-8. URL https://www.nature.com/articles/s41586-021-04043-8.
Nathan C. Frey, Isidro Hötzel, Samuel D. Stanton, Ryan Kelly, Robert G. Alberstein, Emily K. Makowski, Karolis Martinkus, Daniel Berenberg, Jack Bevers, Tyler Bryson, Pamela Chan, Yongmei Chen, Alicja Czubaty, Tamica D'Souza, Henri Dwyer, Anna Dziewulska, James W. Fairman, Allen Goodman, Jennifer Hofmann, Henry Isaacson, Aya Ismail, Samantha James, Taylor Joren, Simon Kelow, James R. Kiefer, Matthieu Kirchmeyer, Joseph Kleinhenz, James T. Koerber, Julien Lafrance-Vanasse, Andrew Leaver-Fay, Jae Hyeon Lee, Edith Lee, Donald Lee, Wei-Ching Liang, Joshua Yao-Yu Lin, Sidney Lisanza, Andreas Loukas, Jan Ludwiczak, Sai Pooja Mahajan, Omar Mahmood, Homa Mohammadi-Peyhani, Santrupti Nerli, Ji Won Park, Jaewoo Park, Stephen Ra, Sarah Robinson, Saeed Saremi, Franziska Seeger, Imee Sinha, Anna M. Sokol, Natasa Tagasovska, Hao To, Edward Wagstaff, Amy Wang, Andrew M. Watkins, Blair Wilson, Shuang Wu, Karina Zadorozhny, John Marioni, Aviv Regev, Yan Wu, Kyunghyun Cho, Richard Bonneau, and Vladimir Gligorijević. Lab-in-the-loop therapeutic antibody design with deep learning, February 2025. URL http://biorxiv.org/lookup/doi/10.1101/2025.02.19.639050.
Roman Garnett. Bayesian Optimization. Cambridge University Press, 2023.
Peter Mørch Groth, Mads Herbert Kerrn, Lars Olsen, Jesper Salomon, and Wouter Boomsma. Kermut: Composite kernel regression for protein variant effects. In Advances in Neural Information Processing Systems, volume 37, pp. 29514–29565. Curran Associates, Inc., 2024. doi:
10.52202/079017-0929. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/34547650b2ca69d91f3b3c3ae8b21962-Abstract-Conference.html.
Aditya Grover and Stefano Ermon. Uncertainty Autoencoders: Learning Compressed Representations via Variational Information Maximization. In Proceedings of the Twenty-Second International Conference on Artificial Intelligence and Statistics, pp. 2514–2524. PMLR, April 2019. URL https://proceedings.mlr.press/v89/grover19a.html.
Taesin Ha, Dongseon Lee, Youngchun Kwon, Min Sik Park, Sangyoon Lee, Jaejun Jang, Byungkwon Choi, Hyunjeong Jeon, Jeonghun Kim, Hyundo Choi, Hyung-Tae Seo, Wonje Choi, Wooram Hong, Young Jin Park, Junwon Jang, Joonkee Cho, Bosung Kim, Hyukju Kwon, Gahee Kim, Won Seok Oh, Jin Woo Kim, Joonhyuk Choi, Minsik Min, Aram Jeon, Yongsik Jung, Eunji Kim, Hyosug Lee, and Youn-Suk Choi. AI-driven robotic chemist for autonomous synthesis of organic molecules. Science Advances, 9(44):eadj0461, November 2023. doi: 10.1126/sciadv.adj0461. URL https://www.science.org/doi/10.1126/sciadv.adj0461.
Bjarke Hastrup, Francois Cornet, Tejs Vegge, and Arghya Bhowmik. AtomComposer: Discovering Chemical Space from First Principles with Reinforcement Learning, May 2026. URL http://arxiv.org/abs/2605.28287. arXiv:2605.28287 [cs.LG].
Marcel Hedman, Desi R Ivanova, Cong Guan, and Tom Rainforth. Step-DAD: Semi-amortized policy-based bayesian experimental design. In Forty-second International Conference on Machine Learning, June 2025.
Steven Henikoff and Jorja G Henikoff. Amino acid substitution matrices from protein blocks. Proc. Natl. Acad. Sci. U. S. A., 89(22):10915–10919, November 1992.
Philipp Hennig and Christian J. Schuler. Entropy search for information-efficient global optimization. The Journal of Machine Learning Research, 13(null):1809–1837, June 2012. ISSN 1532-4435. URL https://dl.acm.org/doi/10.5555/2188385.2343701.
José Miguel Hernández-Lobato, Matthew W. Hoffman, and Zoubin Ghahramani. Predictive Entropy Search for Efficient Global Optimization of Black-box Functions. In Advances in Neural Information Processing Systems, volume 27. Curran Associates, Inc., 2014. URL https://proceedings.neurips.cc/paper_files/paper/2014/hash/6488484c982e9af5c35689523ba1abfe-Abstract.html.
José Miguel Hernández-Lobato, Michael Gelbart, Matthew Hoffman, Ryan Adams, and Zoubin Ghahramani. Predictive Entropy Search for Bayesian Optimization with Unknown Constraints. In Proceedings of the 32nd International Conference on Machine Learning, pp. 1699–1707. PMLR, June 2015. URL https://proceedings.mlr.press/v37/hernandez-lobatob15.html.
Tim Hesterberg. Weighted Average Importance Sampling and Defensive Mixture Distributions. Technometrics, 37(2):185–194, May 1995. ISSN 0040-1706. doi: 10.1080/00401706.1995.10484303. URL https://www.tandfonline.com/doi/abs/10.1080/00401706.1995.10484303.
Thomas A. Hopf, John B. Ingraham, Frank J. Poelwijk, Charlotta P. I. Schärfe, Michael Springer, Chris Sander, and Debora S. Marks. Mutation effects predicted from sequence co-variation. Nature Biotechnology, 35(2):128–135, February 2017. ISSN 1546-1696. doi: 10.1038/nbt.3769.
Richard A. Houghten, Clemencia Pinilla, Jon R. Appel, Sylvie E. Blondelle, Colette T. Dooley, Jutta Eichler, Adel Nefzi, and John M. Ostresh. Mixture-Based Synthetic Combinatorial Libraries. Journal of Medicinal Chemistry, 42(19):3743–3778, September 1999. ISSN 0022-2623. doi: 10.1021/jm990174v. URL https://doi.org/10.1021/jm990174v.
Martin Jankowiak, Yerdos Ordabayev, Rudraksh Tuwani, Henry N. Ward, Hunter Nisonoff, James M. McFarland, and Gevorg Grigoryan. Flexible Kernels for Protein Property Prediction, June 2026. URL http://arxiv.org/abs/2606.11057. arXiv:2606.11057 [cs.LG].
Donald R. Jones, Matthias Schonlau, and William J. Welch. Efficient Global Optimization of Expensive Black-Box Functions. Journal of Global Optimization, 13(4):455–492, December 1998. ISSN 1573-2916. doi: 10.1023/A:1008306431147. URL https://doi.org/10.1023/A:1008306431147.
Raghunandan M Kainkaryam and Peter J Woolf. Pooling in high-throughput drug screening. Curr. Opin. Drug Discov. Devel., 12(3):339–350, May 2009.
Nuo Liu, Walaa E. Kattan, Benjamin E. Mead, Conner Kummerlowe, Thomas Cheng, Sarah Ingabire, Jaime H. Cheah, Christian K. Soule, Anita Vrcic, Jane K. McIninch, Sergio Triana, Manuel Guzman, Tyler T. Dao, Joshua M. Peters, Kristen E. Lowder, Lorin Crawford, Ava P. Amini, Paul C. Blainey, William C. Hahn, Brian Cleary, Bryan Bryson, Peter S. Winter, Srivatsan Raghavan, and Alex K. Shalek. Scalable, compressed phenotypic screening using pooled perturbations. Nature Biotechnology, 43(8):1324–1336, August 2025a. ISSN 1546-1696. doi:10.1038/s41587-024-02403-z. URL https://www.nature.com/articles/s41587-024-02403-z.
Yuanbin Liu, Ata Madanchi, Andy S. Anker, Lena Simine, and Volker L. Deringer. The amorphous state as a frontier in computational materials design. Nature Reviews Materials, 10(3):228–241, March 2025b. ISSN 2058-8437. doi: 10.1038/s41578-024-00754-2. URL https://www.nature.com/articles/s41578-024-00754-2.
Ilya Loshchilov and Frank Hutter. Decoupled Weight Decay Regularization. September 2018. URL https://openreview.net/forum?id=Bkg6RiCqY7.
David J. C. MacKay. Information-Based Objective Functions for Active Data Selection. Neural Computation, 4(4):590–604, July 1992. ISSN 0899-7667. doi: 10.1162/neco.1992.4.4.590. URL https://doi.org/10.1162/neco.1992.4.4.590.
Natalie Maus, Yimeng Zeng, Haydn Thomas Jones, Yining Huang, Gaurav Ng Goel, Alden Rose, Kyurae Kim, Hyun-Su Lee, Marcelo Der Torossian Torres, Fangping Wan, Cesar de la Fuente-Nunez, Mark Yatskar, Osbert Bastani, and Jacob R. Gardner. Purely Agent-Driven Black-Box Optimization for Biological Design, May 2026. URL http://arxiv.org/abs/2601.22382. arXiv:2601.22382 [cs.LG].
Qun Meng, Songhao Wang, and Szu Hui Ng. Combined Global and Local Search for Optimization with Gaussian Process Models, July 2021. URL http://arxiv.org/abs/2107.03217. arXiv:2107.03217 [stat.ML].
R. B. Merrifield. Solid Phase Peptide Synthesis. I. The Synthesis of a Tetrapeptide. Journal of the American Chemical Society, 85(14):2149–2154, July 1963. ISSN 0002-7863. doi: 10.1021/ja00897a025. URL https://doi.org/10.1021/ja00897a025.
Vladislav A. Mints, Jack K. Pedersen, Alexander Bagger, Jonathan Quinson, Andy S. Anker, Kirsten M. Ø. Jensen, Jan Rossmeisl, and Matthias Arenz. Exploring the Composition Space of High-Entropy Alloy Nanoparticles for the Electrocatalytic H₂/CO Oxidation with Bayesian Optimization. ACS Catalysis, 12(18):11263–11271, September 2022. ISSN 2155-5435, 2155-5435. doi:10.1021/acscatal.2c02563. URL https://pubs.acs.org/doi/10.1021/acscatal.2c02563.
Erik Nijkamp, Jeffrey A. Ruffolo, Eli N. Weinstein, Nikhil Naik, and Ali Madani. ProGen2: Exploring the boundaries of protein language models. Cell Systems, 14(11):968–978.e3, November 2023. ISSN 2405-4712, 2405-4720. doi: 10.1016/j.cels.2023.10.002. URL https://www.cell.com/cell-systems/abstract/S2405-4712(23)00272-7.
Pascal Notin, Aaron Kollasch, Daniel Ritter, Lood van Niekerk, Steffanie Paul, Han Spinner, Nathan Rollins, Ada Shaw, Rose Orenbuch, Ruben Weitzman, Jonathan Frazer, Mafalda Dias, Dinko Franceschi, Yarin Gal, and Debora Marks. ProteinGym: Large-Scale Benchmarks for Protein Fitness Prediction and Design. Advances in Neural Information Processing Systems, 36:64331–64379, December 2023. doi: 10.52202/075280-2810. URL https://papers.nips.cc/paper_files/paper/2023/hash/cac723e5ff29f65e3fcbb0739ae91bee-Abstract-Datasets_and_Benchmarks.html.
Liam Paninski. Asymptotic Theory of Information-Theoretic Experimental Design. Neural Computation, 17(7):1480–1507, July 2005. ISSN 0899-7667, 1530-888X. doi: 10.1162/0899766053723032. URL https://direct.mit.edu/neco/article/17/7/1480-1507/6997.
Chiwoo Park. Jump Gaussian Process Model for Estimating Piecewise Continuous Regression Functions. Journal of Machine Learning Research, 23(278):1–37, 2022. ISSN 1533-7928. URL http://jmlr.org/papers/v23/21-1472.html.
Trevor Park and George Casella. The Bayesian Lasso. Journal of the American Statistical Association, 103(482):681–686, June 2008. ISSN 0162-1459, 1537-274X. doi: 10.1198/016214508000000337. URL https://www.tandfonline.com/doi/full/10.1198/016214508000000337.
Alexander A Peterson and David R Liu. Small-molecule discovery through DNA-encoded libraries. Nat. Rev. Drug Discov., 22(9):699–722, September 2023.
Du Phan, Neeraj Pradhan, and Martin Jankowiak. Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro, December 2019. URL http://arxiv.org/abs/1912.11554. arXiv:1912.11554 [stat.ML].
Juho Piironen and Aki Vehtari. Sparsity information and regularization in the horseshoe and other shrinkage priors. Electronic Journal of Statistics, 11(2), January 2017. ISSN 1935-7524. doi:10.1214/17-EJS1337SI. URL https://projecteuclid.org/journals/electronic-journal-of-statistics/volume-11/issue-2/Sparsity-information-and-regularization-in-the-horseshoe-and-other-shrinkage/10.1214/17-EJS1337SI.full.
Noam Prywes, Naiya R. Phillips, Luke M. Oltrogge, Sebastian Lindner, Leah J. Taylor-Kearney, Yi-Chin Candace Tsai, Benoit de Pins, Aidan E. Cowan, Hana A. Chang, Renée Z. Wang, Laina N. Hall, Daniel Bellieny-Rabelo, Hunter M. Nisonoff, Rachel F. Weissman, Avi I. Flamholz, David Ding, Abhishek Y. Bhatt, Oliver Mueller-Cajar, Patrick M. Shih, Ron Milo, and David F. Savage. A map of the rubisco biochemical landscape. Nature, 638(8051):823–828, February 2025. ISSN 1476-4687. doi: 10.1038/s41586-024-08455-0. URL https://www.nature.com/articles/s41586-024-08455-0.
Tom Rainforth, Adam Foster, Desi R. Ivanova, and Freddie Bickford Smith. Modern Bayesian Experimental Design. Statistical Science, 39(1):100–114, February 2024. ISSN 0883-4237, 2168-8745. doi: 10.1214/23-STS915. URL https://projecteuclid.org/journals/statistical-science/volume-39/issue-1/Modern-Bayesian-Experimental-Design/10.1214/23-STS915.full.
Rajesh Ranganath, Sean Gerrish, and David Blei. Black Box Variational Inference. In Proceedings of the Seventeenth International Conference on Artificial Intelligence and Statistics, pp. 814–822. PMLR, April 2014. URL https://proceedings.mlr.press/v33/ranganath14.html.
Jacob T. Rapp, Bennett J. Bremer, and Philip A. Romero. Self-driving laboratories to autonomously navigate the protein fitness landscape. Nature Chemical Engineering, 1(1):97–107, January 2024. ISSN 2948-1198. doi: 10.1038/s44286-023-00002-4. URL https://www.nature.com/articles/s44286-023-00002-4.
Adam J. Riesselman, John B. Ingraham, and Debora S. Marks. Deep generative models of genetic variation capture the effects of mutations. Nature Methods, 15(10):816–822, October 2018. ISSN 1548-7105. doi: 10.1038/s41592-018-0138-4. URL https://www.nature.com/articles/s41592-018-0138-4.
Philip A. Romero and Frances H. Arnold. Exploring protein fitness landscapes by directed evolution. Nature Reviews Molecular Cell Biology, 10(12):866–876, December 2009. ISSN 1471-0080. doi:10.1038/nrm2805. URL https://www.nature.com/articles/nrm2805.
Philip A. Romero, Andreas Krause, and Frances H. Arnold. Navigating the protein fitness landscape with Gaussian processes. Proceedings of the National Academy of Sciences, 110(3), January 2013. ISSN 0027-8424, 1091-6490. doi: 10.1073/pnas.1215251110. URL https://pnas.org/doi/full/10.1073/pnas.1215251110.
Lars Ruddigkeit, Ruud van Deursen, Lorenz C. Blum, and Jean-Louis Reymond. Enumeration of 166 Billion Organic Small Molecules in the Chemical Universe Database GDB-17. Journal of Chemical Information and Modeling, 52(11):2864–2875, October 2012. ISSN 1549-9596. doi:10.1021/ci300415d. URL https://doi.org/10.1021/ci300415d.
Daniel Russo and Benjamin Van Roy. Learning to Optimize via Information-Directed Sampling. Operations Research, 66(1):230–252, February 2018. ISSN 0030-364X. doi: 10.1287/opre.2017.1663. URL https://pubsonline.informs.org/doi/10.1287/opre.2017.1663.
Bobak Shahriari, Kevin Swersky, Ziyu Wang, Ryan P. Adams, and Nando De Freitas. Taking the Human Out of the Loop: A Review of Bayesian Optimization. Proceedings of the IEEE, 104(1):148–175, January 2016. ISSN 0018-9219, 1558-2256. doi: 10.1109/JPROC.2015.2494218. URL https://ieeexplore.ieee.org/document/7352306/.
C. E. Shannon. A mathematical theory of communication. The Bell System Technical Journal, 27(3):379–423, July 1948. ISSN 0005-8580. doi: 10.1002/j.1538-7305.1948.tb01338.x. URL https://ieeexplore.ieee.org/document/6773024.
Louis Sharrock. Wasserstein Gradient Flows for Batch Bayesian Optimal Experimental Design, 2026. URL https://arxiv.org/abs/2603.12102. Version Number: 1.
Andrew D. Skora, Jacqueline Douglass, Michael S. Hwang, Ada J. Tam, Richard L. Blosser, Sandra B. Gabelli, Jianhong Cao, Luis A. Diaz, Nickolas Papadopoulos, Kenneth W. Kinzler, Bert Vogelstein, and Shibin Zhou. Generation of MANAbodies specific to HLA-restricted epitopes encoded by somatically mutated genes. Proceedings of the National Academy of Sciences, 112(32):9967–9972, August 2015. ISSN 0027-8424, 1091-6490. doi: 10.1073/pnas.1511996112. URL https://pnas.org/doi/full/10.1073/pnas.1511996112.
Zoltán Szabó, Bharath K Sriperumbudur, Barnabás Póczos, and Arthur Gretton. Learning theory for distribution regression. J. Mach. Learn. Res., 17(152):1–40, 2016.
Jack W Szostak. Introduction: Combinatorial chemistry. Chem. Rev., 97(2):347–348, April 1997.
William R. Thompson. On the Likelihood that One Unknown Probability Exceeds Another in View of the Evidence of Two Samples. Biometrika, 25(3/4):285–294, 1933. ISSN 00063444. doi:10.2307/2332286. URL http://www.jstor.org/stable/2332286.
Mario A. Torres-Acosta, Gary J. Lye, and Duygu Dikicioglu. Automated liquid-handling operations for robust, resilient, and efficient bio-based laboratory practices. Biochemical Engineering Journal, 188:108713, December 2022. ISSN 1369-703X. doi: 10.1016/j.bej.2022.108713. URL https://www.sciencedirect.com/science/article/pii/S1369703X22003825.
Neil Vargesson. Thalidomide-induced teratogenesis: History and mechanisms. Birth Defects Research Part C: Embryo Today: Reviews, 105(2):140–156, 2015. ISSN 1542-9768. doi:10.1002/bdrc.21096. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/bdrc.21096._eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1002/bdrc.21096.
Antonio Vergari, YooJung Choi, Anji Liu, Stefano Teso, and Guy Van den Broeck. A compositional atlas of tractable circuit operations for probabilistic inference. In Proceedings of the 35th International Conference on Neural Information Processing Systems, NIPS '21, pp. 13189–13201, Red Hook, NY, USA, December 2021. Curran Associates Inc. ISBN 978-1-7138-4539-3.
Julien Villemonteix, Emmanuel Vazquez, and Eric Walter. An informational approach to the global optimization of expensive-to-evaluate functions. Journal of Global Optimization, 44(4):509–534, August 2009. ISSN 1573-2916. doi: 10.1007/s10898-008-9354-2. URL https://doi.org/10.1007/s10898-008-9354-2.
Eli N Weinstein and David M Blei. Hierarchical causal models. J. Mach. Learn. Res., 27(37):1–73, 2026.
Eli N. Weinstein, Alan N. Amin, Will S. Grathwohl, Daniel Kassler, Jean Disset, and Debora Marks. Optimal Design of Stochastic DNA Synthesis Protocols based on Generative Sequence Models. In Proceedings of The 25th International Conference on Artificial Intelligence and Statistics, pp. 7450–7482. PMLR, May 2022. URL https://proceedings.mlr.press/v151/weinstein22a.html.
Eli N Weinstein, Elizabeth B Wood, and David M Blei. Estimating the causal effects of T cell receptors. arXiv:2410.14127, 2024.
Eli N Weinstein, Andrei Slabodkin, Mattia G Gollub, Kerry Dobbs, Xiao-Bing Cui, Fang Zhang, Kristina Gurung, and Elizabeth B Wood. Lifting biomolecular data acquisition. arXiv [q-bio.BM], December 2025.
Eli N. Weinstein, Mattia G. Gollub, Andrei Slabodkin, Kerry Dobbs, Xiao-Bing Cui, Cameron L. Gardner, Ryan J. Grant, Kristina Gurung, Amira Bailey, Alan N. Amin, George M. Church, and Elizabeth B. Wood. Manufacturing-aware generative models enable petascale synthesis of designed DNA. Nature Biotechnology, pp. 1–9, March 2026. ISSN 1546-1696. doi: 10.1038/s41587-026-03020-8. URL https://www.nature.com/articles/s41587-026-03020-8.
David Wingate and Theophane Weber. Automated Variational Inference in Probabilistic Programming, January 2013. URL http://arxiv.org/abs/1301.1299. arXiv:1301.1299 [stat.ML].
Douglas Yao, Loic Binan, Jon Bezney, Brooke Simonton, Jahanara Freedman, Chris J Frangieh, Kushal Dey, Kathryn Geiger-Schuller, Basak Eraslan, Alexander Gusev, Aviv Regev, and Brian Cleary. Scalable genetic screening for regulatory circuits using compressed perturb-seq. Nat. Biotechnol., October 2023.
Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Poczos, Ruslan Salakhutdinov, and Alexander Smola. Deep Sets, April 2018. URL http://arxiv.org/abs/1703.06114. arXiv:1703.06114 [cs].
Ronald N. Zuckermann, Janice M. Kerr, Stephen B. H. Kent, and Walter H. Moos. Efficient method for the preparation of peptides [oligo(N-substituted glycines)] by submonomer solid-phase synthesis. Journal of the American Chemical Society, 114(26):10646–10647, December 1992. ISSN 0002-7863. doi: 10.1021/ja00052a076. URL https://doi.org/10.1021/ja00052a076.
A Notation
| Notation | Description |
| The molecular space, usually a Hamming space | |
| The set of probability distributions on | |
| The molecule-activity map | |
| The design - can be a mixture or a delta.The restriction on comes from the synthesis model. | |
| The normalized design, where is the yield, the total number of molecules produced by a synthesis. | |
| The chemical yield. The total number of molecules produced by the synthesis model. | |
| The assay noise, drawn from a Gaussian. | |
| The indicator function, which takes value when the input is true, and otherwise. | |
| A uniform distribution over a set | |
| A set of elements | |
| The simplex. | |
| The -vector of all ones | |
| The 'logsumexp' operation. |
B Proof of Proposition 1
Assume where , and there is no noise in the assay, so we measure . Define expected regret, . Let denote a policy that selects the next candidate uniformly at random from among the remaining candidates until the hit is discovered.
This policy has expected regret . There does not exist a policy with lower expected regret.
Proof. We first calculate the regret of the randomized policy . We have
Next consider an arbitrary policy . We will show that it cannot achieve lower regret than the randomized policy. We assume without loss of generality that plays once , since if it does not, its regret will only be improved by substituting this rule. Now start with the regret at . We have
Next consider the regret at t = 2. We have
Where for the second line we have used the fact that the distribution of just depends on the policy, which just depends on , and not on the unobserved . The inequality is strict when does not assign any probability to the previous observation when .
Repeating this argument for arbitrary t,
where the final step is from induction over t.
Summing over all t, we obtain the result.
☐
C Popular acquisition functions are not useful to optimize mixtures
Most acquisition functions are useless when it comes to designing mixtures. The proof for the Upper Confidence Bound and Expected Improvement acquisitions functions are given below, which hinge on the fact that while is an arbitrary bounded function, in a lifted setting is an affine function over the convex set .
Define the set of delta functions as
Upper Confidence Bound The UCB acquisition function for a mixture is defined as (Auer et al., 2002; Abbasi-yadkori et al., 2011)
where is a confidence set of possible f, conditioned on the data at timepoint . Note when this reduces to (Abbasi-yadkori et al., 2011). As this is the pointwise supremum over linear functions in , is convex in . The next mixture is chosen by . Since we have the inequality . A second inequality follows by Jensen's inequality:
This establishes that , and as such there must always exist a which is a maximizer of .
Expected Improvement Let denote the experimental outcome, and denote the maximum experimental outcome so far. The improvement is defined as , and the expected improvement is the expectation over the randomness in ,
Inside the expectation is the max of two affine functions, . Since the max of two affine functions is a convex function, is an expectation over terms that are convex in , which is itself, a convex function. It then follows from the same logic as for the UCB acquisition function, that , and
and as such there must always exist a which is a maximizer of .
D Derivation of variational lower bound on EIG
We can construct a lower variational bound on the mutual information, , where denotes a variational distribution with parameters , and denotes the KL divergence between distributions p and r (Barber & Agakov, 2003). To rewrite the expectation over , we use the fact that is a deterministic function of , and , using for some noise level and .
E Details on variational distribution
E.1 Architecture
The variational distribution approximates the conditional . As the design is fixed for any step of training, we don’t include it as an input to the variational distribution. The effect of on the EIG enters through the likelihood . For a batch of experimental outcomes we parameterize the variational distribution as a linear regression from to a position-wise independent categorical distribution , by
where is a weight tensor, and is a bias. The softmax is applied over the last dimension, which has size .
E.2 Training
For Gaussian noise, using the reparameterization trick to reduce variance (Foster et al., 2020), we obtain the gradient
where .
The variational distribution parameters , as well as mixture parameters , are optimized jointly using stochastic gradient ascent on , using the AdamW optimizer with a learning rate of 0.01, momentum of 0.9, and weight decay of (Loshchilov & Hutter, 2018). We train all our models on a dataset of 100000 samples of , either drawn from the prior (see App. F.1), or from the approximate posterior, (see App. G). We use 10000 linear warmup steps, and train for either 1000 epochs (for the sparse oracle, Sec. 6.1), or 5000 epoch (for the PLM oracle, Sec. 6.2). Training is done on an A100 Nvidia GPU with a batchsize of 512.
F Details on Bayesian neural network
We consider a Bayesian neural network as a function class for sparse molecule-activity maps.
F.1 Sparsity-inducing prior
We define , and . We restrict the domains of and to be and . We can then construct a prior, that induces sparsity in the filters by setting
and
Where Expon( ) denotes the exponential distribution with rate parameter . This choice is motivated by the use of the Laplace distribution for Bayesian LASSO (Park & Casella, 2008). It carries the belief that only few are relevant. There exists extensive literature on sparsity-inducing priors (Carvalho et al., 2009; Piironen & Vehtari, 2017; Andersen et al., 2014; Betancourt, 2021). We found the process above to be robust to posterior approximation by NUTS, whereas many other priors led to difficult posterior geometry, a significant amount of divergences, and high Gelman-Rubin statistics. The function is used to bring and to their restricted domains, and . Our prior on carries our belief about the maximum activity that the assay can record, , with equality if the filters are disjoint . Additionally, when the filters are disjoint, at least one will have activity , and all other will have lower activity . This makes it easy to incorporate prior information about the maximum activity, by setting . In the our simulations we use (for Sec. 6.1) and (for Sec. 6.2), where is the gamma pdf with shape and rate .
F.2 Regularization
We add a regularization term to the joint distribution, to prevent mode collapse of the different bump functions. Additionally, this encourages for which the argmax approximation is tighter, since it encourages the filters to be disjoint. This term is defined as
where the normalization is to bring the regularization term to the interval , and is a hyperparameter that controls the strength of the regularization. is the number of pairs of bump functions.
F.3 Inner product
The inner product can be computed by
The synthesis model is defined as . To see how the inner product can be computed in closed form, first rewrite the network as
The inner product can then be derived as
(54)
In practice, for numerical stability, we compute the functional inner product in log-space by
where is the 'logsumexp' operation
F.4 Approximation of
This function class has a tractable approximation of , or equivalently, . First, observe that we can write
The LSE operation can be bounded by
To approximate the maximum over , we can maximize the lower bound. We have
This is tractable. Define
Then \hat{x}^\star = \hat{x} = \hat{x}^\hat{n} is the approximate maximizer. This is exact when the filters are disjoint , which is encouraged by the regularizer.

(a)

(b)
Figure 8: Hierarchical causal model. (a) Our model can be viewed as a hierarchical causal model, where multiple molecules affect the outcome in each experiment , and there are total molecules. (b) The collapsed hierarchical causal model, where is the distribution of (elsewhere we drop the superscript for conciseness). This model leads to the estimator in Eqs. (3) and (4).
G Posterior approximation
We implement Eqs. (3) and (4) in the probabilistic programming language NumPyro (Phan et al., 2019). To approximate the posterior distribution , we primarily use the No-U-Turn-Sampler (NUTS) with a diagonal mass matrix, target acceptance probability of 0.8, and maximum tree depth of 10 (Phan et al., 2019). 8 NUTS chains are run in parallel on a single A100 with 2000 warmup samples, drawing a total of 100000 samples. We have observed that a large amount of samples is highly beneficial to prevent overfitting of our mixtures, , especially in the low SNR regime. If we obtain a Gelman-Rubin statistic (r-hat) greater than 2 we take this as an indication that the posterior is highly focused, preventing NUTS from sampling efficiently. In this case the posterior approximation switches to stochastic variational inference (SVI), using a mean-field approximation with a Gaussian distribution with diagonal covariance as the variational family. For SVI we use the AdamW optimizer with a learning rate of 0.001, momentum of 0.9, and adaptive gradient clipping at a ratio of 0.1 (Brock et al., 2021). We use a linear warmup of the learning rate over the first 4000 steps, and use a cosine decay throughout the rest of the training, for a total of 200000 steps. We train using the ELBO with 64 particles to reduce variance of the gradient (Wingate & Weber, 2013; Ranganath et al., 2014).
H Proof of Example 1
Example 4 (No noise, discrete map). Assume activity is discrete, s.t. for . Assume the model is well specified, , and . Assume we can synthesize arbitrary mixtures , and our assay has no noise, .
Then, by optimizing the EIG (Eq. (5)), we find after running one experiment.
Proof. Number the molecules, so . Set where is the normalizing constant. Now, . So is encoded in the digits of , e.g. for we have the decimal expansion . So for this experiment, the posterior over is a point mass at the true , and the EIG is maximized. So the posterior entropy can be driven to zero. Optimizing the EIG will find this solution or anything equally as good, which also drives the entropy to zero.
I Speedup for noiseless 1-sparse molecule-activity maps
Example 5 (No noise, continuous output, 1-sparse). Assume the molecule activity map is 1-sparse: . Assume our model is well-specified, so for and the prior has positive support . Assume we can synthesize arbitrary mixtures , and our assay has no noise, .
Then, by optimizing the EIG (Eq. (5)), we find after running two experiments in parallel.
Proof. Set , where is the -vector of all ones, and set so that no two entries are the same, for any . Now, , so is identified. Moreover, , so is identified. Since each is different, is identified. So for this choice of experiments, the posterior over is a point mass at the true , and the EIG is maximized.
By contrast, if we tested one molecule at a time, we would need experiments instead of , by the argument in Proposition 1.
J Proof of Example 2
Proof. The EIG executes -ary search. After testing , the posterior over is a uniform distribution over the set
where the probability of is . Testing a batch and receiving data we obtain the posterior where . The probability of is . The are non-overlapping and partition . So the EIG will be maximized if we set such that for all , making all partitions (as close as possible to) equal size.
After testing the first batch, we know , and our posterior is uniform over this domain. Applying the same logic, the next round will cut the number of possible optima down to , in the worst case. Iterating times, we are left with just one molecule when .
K Information gain under a detection threshold
Assays struggle to detect activity when only a very small number of physical molecules in the mixture have activity. Rather than assume we can detect any , consider a detection threshold . Consider an assay . The maximum expected information gain from a single experiment is
where is the entropy of a Bernoulli distribution with parameter r.
The Bernoulli entropy is maximized at Bern(0.5). Higher detection thresholds restrict our maximum information gain, making it harder and harder for to reach 0.5. For example, assume the maximum activity is for all . In the extreme where , we only have if is a delta mass at a single sequence, i.e. we revert to standard testing of individual molecules. In sum, we can only take advantage of mixtures if we can achieve high enough yield that more than one molecular species in the mixture passes the detection threshold.
Proof. Define the experimental outcome as a random variable by
(65) where the randomness stems from the randomness in . This is a Bernoulli random variable with parameter . The EIG is given by the mutual information between and , using . Since is a deterministic function of , the conditional entropy is zero, . Therefore, the EIG is
L Proof of Proposition 2
Proof. The signal of our experiment is . This is a random variable with randomness stemming from , the prior on .
By the chain rule . Since , then . So for a fixed design , the mutual information between and is equal to the EIG, . We now bound . The first bound stems from the bound on the entropy of , by bounding the mutual information by the prior entropy as
where we use the fact that S comes from a finite set Z. This is an upper bound on the amount of information we can encode into an experiment. The second bound stems from the channel capacity of an additive gaussian noise channel derived by Shannon (Shannon, 1948) by
From our assumptions on , must have bounded second moment. So, the differential entropy, , can be bounded by its maximum entropy, which is achieved when is Gaussian distributed with variance
Combining Eq. (70) and Eq. (71) we get
Defining , and combining the two bounds we get
L.1 SNR(q) is maximized at
Proof. To maximize , we need to maximize . Define , the centered . Then . For any fixed , is a linear function in . Since is a convex function, is a convex function for any fixed .
So, the variance is an expectation over pointwise convex functions, which means that it is a convex function. We are therefore trying to find the maximum of a convex function over a compact convex set . By Bauer's maximum principle, this attains its maximum at an extreme point (Bauer, 1958). For , the extreme points are , the set of measures concentrated on a single molecule. We can therefore establish
M Proof of Example 3
Assume the molecule activity map is 1-sparse with maximum value one, , and the prior is uniform, . Assume a synthesis model that creates uniform mixtures, for , and . Assume Gaussian noise where .
EIG bound from Proposition 2
where . The first term is strictly increasing on the interval , while the second term is strictly decreasing in .
The exact EIG is given by,
where , with the Gaussian pdf. We approximate this by Monte Carlo to obtain Fig. 3.
Proof. Define the random variable , where . It has probability mass function (pmf)
This is the pmf of a Bernoulli random variable, scaled by , which has entropy , and variance
Plugging into Proposition 2 we get
For this example, we can even compute the exact EIG.
True MI
Proof. The EIG can be defined as the expected KL-divergence between the prior and the posterior by
where . This is a scaled Bernoulli random variable plus a Gaussian random variable, with pdf , where is the Gaussian pdf. Since is a Bernoulli distribution pmf, the EIG can be simplified to
☐
N Proof of Proposition 3
Proof. Let be the search space of size . Let be an arbitrary molecule-activity map. We aim to gain information about , not its parameters.
is a positive measure subject to a 1-norm constraint . Additionally, define the set of delta functions as subject to the same constraint. Assume Gaussian noise . The score function for this likelihood is
The information matrix is given by the outer product of the score function, evaluated at the true parameter by
The result from Paninski (Paninski, 2005) states that for information optimal sampling, the posterior is asymptotically normal, with covariance matrix determined by
where denotes the convex closure of the set of information matrices, and is the determinant of a matrix . We will now show how restricting to does not change the asymptotic variance over the case of the full measure . First, note that is positive semidefinite by construction, and that it has a fixed sum . The convex closure of any set of information matrices inherits these properties, because the set of positive semidefinite matrices is convex, as is the set of matrices with a fixed sum, and the set of positive-valued matrices. We can write this succinctly as , where denotes an eigenvalue. We can use , as well as to conclude that the determinant is bounded by , as this is the point where all eigenvalues are equal, and the trace is maximal. Furthermore, since
and
this supremum is attained within . To say it another way, the determinant, and hence the asymptotic variance, is maximized at . Because , there can be nothing to gain in the asymptotic sense by lifting to , and we may conclude
O Details on sparse synthetic oracle simulations
Our sparse oracle is created by sparsifying draws from our prior and setting the maximum to one . The prior is described in App. F.1. We set and , and then draw 10 independent repeats . Afterwards, we construct the oracle by , where denotes the Hamming distance.
Such molecule-activity maps have the following qualities:
-
Exactly one DNA sequence has activity .
-
Every single mutation has lower activity. .
-
Every double mutation abolishes activity. .
For both LIDS and Thompson, we use the same hyperparameters of the model . We set the number of filters to , regularization strength , and use as the prior on . Hyperparameters for EIG optimization and posterior approximation are described in Apps. E.2 and G, respectively.
P CI calculation
95% confidence intervals are calculated using a critical t-value and the delta method. Let be the activity of the test molecules for the replicates, and the known true maximum activity. First, compute the standard error and mean.
This naive standard error (SE) can be very large, making our confidence interval go below 0, or above the maximum possible activity. To make the confidence interval (CI) stay bounded in , we use a logit transformation , along with the delta method. Specifically, we use , which has derivative , and inverse .
is the 0.975 quantile of the student-t distribution with degrees of freedom. For the and applied in this article, this corresponds to 99.45% and 97.63% CI respectively, if we were to use the Gaussian distribution instead of a student-t. We then plot the arithmetic mean , along with the .
Q Details on PLM oracle simulations
For the hyperparameters of the surrogate , we set the number of filters to , regularization strength , and use as the prior on . Hyperparameters for training and posterior approximation are described in Apps. E.2 and G.
Q.1 Importance sampling
To simulate an experiment we need to evaluate . To do so we exploit the fact that can be sampled from, as it is given by a PLM, which is a generative model. We set a defensive mixture distribution as the proposal distribution (Hesterberg, 1995) and approximate the expectation by importance sampling.
R Ablation of posterior approximation

Figure 9: Posterior approximation. LIDS using different number of posterior samples M. The setup is the same as in Sec. 6.2.