Distribution Matching Evolutionary Algorithms for Rare Event Sampling
Organizations: University of Oxford
Abstract
A novel discovery is one which is both useful and surprising: a generative model's output is a useful discovery if it has a low probability of being generated (it's surprising) and a high reward (it's useful). Global optimization can directly increase the probability of sampling high rewards but typically requires updating model weights. Such gradient based optimization is expensive and bars using capable closed-source models. Instead, modern search methods for discovery sacrifice the global target, and use evolutionary algorithms with local reward maximizing objectives, permitting the search to focus only on high probability samples. In this paper, we interpret various evolutionary algorithms as approximate Markov Chain Monte Carlo, an optimization-free method to sample from complex distributions. This interpretation allows developing Distribution Matching Evolutionary Algorithms (DME), a class of search methods which sample from a global target distribution without updating weights. Empirically, DME has a higher sample efficiency than existing methods on problems requiring many samples to find a solution.
Figures & tables
| RS-GRPO | TTT-Discover | GFlowNets | BoN | SCS | GEPA | (1+N) | (1,N) | DME | |
| Time per run (minutes) | |||||||||
| Markovian | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
| Requires a meta-model | ✓ | ✓ | |||||||
| Requires weight updates | ✓ | ✓ | ✓ | ||||||
| Requires log-probs | ✓ | ✓ | ✓ | ✓ |
| Problem | BoN | SCS | DME |
| # problems DME method | 9/9 | 9/9 | |
| Average rank ( ) | 2.6 | 1.8 | 1.0 |
| First autocorr. ineq. ( ) | 1.524 | 1.517 | 1.510 |
| Second autocorr. ineq. ( ) | 0.8779 | 0.8784 | 0.8868 |
| Uncertainty ineq. ( ) | 0.3521 | 0.3521 | 0.3521 |
| Erdős’ min. overlap ( ) | 0.3815 | 0.3812 | 0.3809 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Example correct regex | Description |
| ^\d+([^.,])?$ | Accepts positive integers. Match examples: - “34” - “1” - “1000000000” Non-match examples: - “-34” - “-1” |
| ^\d+/?\d*$ | Used to validate fractions or UK odds. It will match integers, allowing 10/1 to be entered as 10, and fractions. It will not match negative numbers or fractions, spaces or any alphabetical characters. Match examples: - “10” - “2/3” - “100/30” Non-match examples: - “-10” - “-2/3” |
| ^-?\d+(.\d+)?$ | Matches any unsigned or signed floating point number/numeric string. Match examples: - “123” - “3.14159” - “-1.2” Non-match examples: - “abc” - “3.4.2” |
| Path Marginalisation | |||
| ✓ | ✗ | ||
| Length-Respecting Prior | ✓ | 45.5% | 49.5% |
| ✗ | 46.5% | 48.5% | |
| Length-respecting prior | ||
| ✓ | ✗ | |
| 1.556 | 1.508 | |
| 1.489 | 1.488 | |
Distribution Matching
Distribution matching measures and aligns probability distributions to transfer data structure across models, domains, and generated outputs.
See all 80 papers