Abstract
Scientific discovery in fields like drug design and materials science requires searching through vast, high-dimensional spaces where evaluations are often prohibitively expensive. We introduce MF-GFN, a multi-fidelity active learning framework that leverages Generative Flow Networks (GFlowNets) to efficiently discover diverse, high-performing candidates. By jointly sampling candidate objects and fidelity levels, MF-GFN balances cheap, low-accuracy simulations with expensive, high-accuracy oracles. Our results demonstrate that MF-GFN achieves state-of-the-art performance at a fraction of the computational cost of traditional methods while maintaining high candidate diversity.
Introduction
In scientific discovery, researchers must navigate combinatorially large spaces to identify optimal candidates, such as DNA aptamers or antimicrobial peptides. This process faces two primary hurdles: the extreme cost of high-fidelity evaluations (e.g., wet-lab experiments or complex quantum simulations) and the problem of underspecification. Because simulations are imperfect proxies, finding a single global optimum is insufficient; a diverse set of high-scoring candidates is required to ensure real-world viability.
Standard Bayesian Optimization (BO) and Reinforcement Learning (RL) often struggle with these requirements, frequently collapsing to a single mode or failing to scale to high-dimensional structured data. While multi-fidelity methods exist to utilize cheaper simulations, they rarely address the need for diverse, structured generation in high-dimensional spaces.
Methodology
MF-GFN integrates multi-fidelity optimization into the GFlowNet framework through an active learning loop. The architecture consists of three core components:
- Multi-Fidelity Surrogate Model: A Gaussian Process, often utilizing Deep Kernel Learning for complex sequences, predicts candidate performance across various fidelity levels.
- Cost-Aware Acquisition Function: The system employs Multi-Fidelity Max-value Entropy Search (MF-MES) to quantify the information gain of testing a candidate at a specific fidelity, penalizing expensive tests unless they provide significant utility.
- Multi-Fidelity GFlowNets: Unlike standard GFlowNets, MF-GFN is trained to jointly sample both the candidate object $x$ and the fidelity level $m$. The acquisition function serves as the reward, guiding the model to learn which fidelity to query for specific regions of the search space.
Experimental Evaluation
MF-GFN was evaluated across several challenging domains:
- Synthetic Benchmarks: Branin and Hartmann functions.
- DNA Aptamers: Designing 30-base sequences using NUPACK as a high-fidelity oracle and a Transformer-based proxy as low-fidelity.
- Antimicrobial Peptides (AMP): Generating protein sequences up to 50 amino acids, using neural networks of varying capacities as oracles.
- Small Molecules: Generating SELFIES strings to maximize Ionization Potential and Electron Affinity using quantum chemistry simulations at three cost levels.
Results and Discussion
MF-GFN demonstrated significant advantages over single-fidelity baselines and traditional RL methods like PPO. In the DNA task, MF-GFN matched baseline performance using only ~25% of the computational budget. In the AMP task, the efficiency gain was even more pronounced, reaching peak performance with nearly 100x less budget than single-fidelity approaches.
Crucially, MF-GFN maintained high diversity scores (e.g., 0.87 on AMP), whereas RL-based methods like MF-PPO suffered from severe mode collapse, generating redundant variations of the same candidates. This diversity is a direct result of the GFlowNet objective, which treats the acquisition function as a distribution to sample from rather than a function to maximize.
Conclusion and Future Work
MF-GFN provides a robust framework for cost-efficient, diversity-preserving discovery in expensive search spaces. By learning to intelligently allocate computational resources across different fidelity levels, it overcomes the limitations of traditional active learning. Future research will focus on handling asynchronous batch acquisition to further reduce wall-clock time and extending the framework to multi-objective optimization problems, such as balancing drug efficacy with safety.
Summary updated