GPA: Generative Population Annealing for Test-Time Sequence Design with Pretrained Generative Models
Abstract
Oracle-guided biological sequence design must improve predicted function without moving outside the sequence distribution where the oracle is trustworthy. We introduce Generative Population Annealing (GPA), a test-time sampler for sequence design with a frozen generator and frozen oracle. GPA uses established annealed sequential Monte Carlo machinery in an outer loop over completed sequences. Effective sample size determines the reward increment, after which sequences are reweighted, systematically resampled, and mutated through a model-specific operation supplied by the frozen generator. The terminal population is retained for downstream selection. A reward-tilted prior provides the theoretical reference; practical variants modify the proposal or objective to trade activity, specificity, fidelity, and diversity. Across enhancer and promoter benchmarks, GPA scales to thousands of sequences and is competitive with inference-time samplers, gradient-based editors, tree-search diffusion, and reward-fine-tuned generators. The same inference loop is evaluated with masked discrete-diffusion and autoregressive DNA generators. Within a fixed inference configuration, varying the terminal reward temperature produces different activity–fidelity operating points without reward-specific generator fine-tuning. We characterize this trade-off together with the contributions of population search and downstream selection. Specialized baselines retain higher raw activity, accessibility, or diversity at their own operating points. Cross-oracle evaluation tests transfer to a held-out predictor, and a sequence-level audit finds shorter homopolymer runs than Ctrl-DNA in the HepG2 design pools (5.1 bp mean maximum run versus 20.9 bp). All validation remains computational.