The 50 top-scoring molecules generated via multinomial sampling not only indicated lower median perplexity values but also spanned a narrower range of values (Fig. ). This suggests that multinomial sampling yields more high-scoring designs (low perplexity) for follow-up synthesis and biological testing than the beam search algorithm (Fig. and Supplementary Fig. ).