arXiv:2610.08367cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08367

Evolutionary One-Step Generators: Fast and Diverse Sampling for Discrete Design

Marcus Vukojevic, Erik Nielsen, Veronica Lachi, Andrea Passerini, Giovanni Iacca

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

ABSTRACT

Several discrete design tasks, such as molecular discovery, require diverse collections of useful candidates at low computational cost. High validity alone does not guarantee a useful candidate library: repeatedly generating the same valid structures leaves few distinct alternatives. Training for both feasibility and diversity is challenging because many relevant criteria can only be evaluated after hard decoding. To address this challenge, we propose EGO (Evolutionary Generators with One-step inference), a framework for training compact generators directly on discrete outputs. The method combines distribution matching with structural constraints and optional diversity or history-dependent rewards, using antithetic low-rank evolution strategies without requiring criterion-specific differentiable surrogates. Once trained, the generator produces the entire graph in a single neural-network evaluation. On molecular generation benchmarks, our compact generator achieves over 50×50\times the valid-and-unique yield per estimated dense operation compared to recent one-step flow-map baselines while retaining high chemical validity. In scaffold completion, EGO achieves an observed 44.3×44.3\times speedup over MoLeR in generation to SMILES and produces approximately 10×10\times as many filter-passing proposals within matched time budgets for generation and screening. Beyond chemistry, EGO produces 1.54×1.54\times as many distinct held-out elite architectures as relaxed gradient training on NAS-Bench-101. The low generation cost may enable real-time candidate generation across discrete design tasks, supporting interactive exploration of constrained design spaces and rapid construction of candidate sets for downstream evaluation.

1 INTRODUCTION

Many discrete generative applications ultimately require not an unlimited stream of plausible samples, but a finite collection of useful candidates (Renz et al., 2024). Molecular discovery constructs libraries of compounds for downstream screening, while neural architecture search considers a limited set of computational graphs for further evaluation (Brown et al., 2019). In such settings, distributional fidelity and validity remain important, but they are not sufficient: invalid outputs waste evaluation budget, repeated outputs add little to the candidate pool, and expensive sampling limits how many proposals can be considered. A useful generator must therefore produce many distinct qualifying candidates (Xie et al., 2023) under a finite proposal and compute budget.

This is challenging for discrete generative models because many relevant criteria are naturally defined only on the final discrete object. Connectivity, graph validity, exact identity, duplicate detection, and history-dependent rewards are straightforward to evaluate on generated structures, while optimizing them through categorical sampling typically requires task-specific relaxations or surrogate gradients. Continuous relaxations and straight-through estimators instead optimize differentiable surrogates (Bengio et al., 2013; Jang et al., 2017), which can be highly effective when the surrogate faithfully represents the desired hard-output criterion. Score-function estimators provide direct access to hard rewards, but introduce different optimization trade-offs.

One-step generators are particularly appealing in this setting because, once trained, they map latent noise and optional conditions directly to a complete proposal in a single learned-network evaluation (Cao and Kipf, 2018; Roos et al., 2026; Deng et al., 2026). The central training question is: How can this one-step proposal distribution be shaped directly by criteria evaluated on its final hard outputs?

We address this problem by proposing EGO, an objective-direct framework for training one-step discrete generators. Complete hard samples are scored using distribution-matching terms, structural constraints, and optional set- or history-dependent rewards, without requiring these criteria to be differentiable. We optimize the resulting objective with antithetic evolution strategies (ES) using shared sampling noise and low-rank parameter perturbations.

Building on established ES methods (Salimans et al., 2017; Sarkar et al., 2025), we contribute a training interface for reusable one-step discrete generators, a finite-budget formulation, and an empirical study of when the resulting training–inference trade-off is favorable. Population evaluation increases training cost, but after training each proposal requires only one evaluation of the central generator. The EGO workflow is shown in Figure 1.

Our experiments show that this trade-off can be favorable in structured candidate-generation tasks. On molecular benchmarks, EGO achieves high distinct valid yield at low estimated inference cost: relative to CFM-ECLD (Roos et al., 2026), its valid-and-unique yield per estimated dense operation is approximately 50×50\times higher on QM9 (Ramakrishnan et al., 2014) and 200×200\times higher on ZINC250K (Irwin et al., 2012), with a measurable distributional-fidelity trade-off. Under a matched 30-minute active-training budget on ZINC250K, EGO reaches a mean strict valid–unique–novel yield of 77.9%, compared with 5.8% for relaxed training, despite the gradient methods completing approximately six times as many optimizer updates. We further explore the potential of EGO as a reusable candidate generator through pilot experiments. On 100 held-out scaffold queries, EGO produces an average of 547.3 filter-passing proposals per query, compared with 54.5 for MoLeR (Maziarz et al., 2022), under matched generation and screening budgets averaging 6.08 seconds per query, giving a 10.05×10.05\times gain in the number of filter-passing proposals. In a complementary evaluation at 100000 proposals, EGO returns 20245 distinct filter-passing completions versus 16684 for MoLeR, a 1.21×1.21\times increase with an observed speedup of 44.3×44.3\times. On NAS-Bench-101 (Ying et al., 2019), it produces 1.54×1.54\times as many distinct held-out elite architectures as relaxed training at the same proposal budget, although relaxed training achieves higher mean accuracy and closer feature-distribution matching.

Together, these results suggest that objective-direct evolutionary training is most useful when hard feasibility and candidate diversity are poorly represented by a differentiable surrogate, and when low-cost repeated sampling is important. To summarize, our main contributions are:

  1. We formulate discrete generation as a finite-budget candidate-generation problem, showing that distinct successful yield depends both on success probability and on how probability mass is distributed across successful identities.

  2. We introduce an objective-direct training framework for one-step discrete generators that supports distributional, structural, and history-dependent criteria evaluated on complete hard samples.

  3. We instantiate this interface with antithetic low-rank evolution strategies and evaluate it against diverse graph-generation baselines, demonstrating its effectiveness for distinct candidate generation with one-step inference while documenting the associated trade-offs.

The appendix further examines this trade-off through variations in optimization recipe and model scale, as well as controlled non-molecular experiments. It also discusses related work and provides full implementation and evaluation details for reproducibility.

References (35)