Abstract
Coverage-based greybox fuzzing (CGF) relies heavily on seed scheduling to explore program logic efficiently. Traditional schedulers often treat seeds as independent entities, failing to account for their evolutionary relationships. AlphaFuzz addresses this by modeling seed mutations as a "seed mutation tree" and applying Monte Carlo Tree Search (MCTS) to navigate this tree. This approach provides a principled balance between exploration and exploitation, leading to superior code coverage and vulnerability detection in both synthetic and real-world benchmarks.
1. Introduction
Coverage-based greybox fuzzing (CGF) is a dominant technique for automated software testing. It operates by iteratively selecting a seed input from a pool, mutating it, and executing the target program. If the mutation reaches new code regions, the resulting input is saved as a new seed. A critical bottleneck in this process is the seed scheduler, which determines the order and frequency of seed selection. Existing schedulers often struggle with "local optima," where the fuzzer repeatedly explores shallow variations of the same code path while missing deeper, more complex logic.
2. Problem Statement: The Independence Assumption
Current CGF tools typically treat seeds as independent elements in a flat queue. However, seeds possess an inherent "family history" based on their mutation lineage. If Seed B is derived from Seed A, they likely exercise similar program paths. By ignoring these relationships, traditional schedulers fail to distinguish between seeds that explore redundant logic and those that offer high potential for discovering novel branches.
As shown in Figure 1, different inputs (test cases $t_1$ to $t_5$) cover specific basic blocks ($b_0$ to $b_{14}$). Understanding which seeds are mutations of others is crucial for navigating the program's execution tree effectively.
3. Methodology: MCTS on Seed Mutation Trees
AlphaFuzz introduces two core innovations to optimize seed scheduling:
3.1 The Seed Mutation Tree
Instead of a flat queue, AlphaFuzz organizes seeds into a directed tree structure. When a mutation of Seed A produces a new seed (Seed B) that increases coverage, B is added as a child of A. This tree serves as a lightweight proxy for the program's actual execution tree, capturing the hierarchical nature of code exploration.
3.2 MCTS-based Scheduling
Seed selection is modeled as a search problem on the mutation tree using the Upper Confidence Bound for Trees (UCT) algorithm.
Figure 2 illustrates how AlphaFuzz's seed mutation tree (d) contrasts with traditional flat scheduling (b) and coverage-based hierarchical models (c), providing a more accurate reflection of the program's execution paths (a). The scoring mechanism balances "reward" (unique branches discovered by a seed's lineage) against "effort" (the number of times a path has been selected). To allow the fuzzer to continue testing older, high-potential seeds, AlphaFuzz introduces "variant nodes"—leaf nodes representing the original seed itself—enabling the algorithm to choose between further mutating an ancestor or exploring its descendants.
4. Evaluation and Results
The researchers evaluated AlphaFuzz and its AFL++-based counterpart, AlphaFuzz++, across three major datasets: the Cyber Grand Challenge (CGC) binaries, the UniFuzz suite, and 12 real-world binaries.
4.1 Vulnerability Discovery
On the CGC dataset, AlphaFuzz identified 87 unique bugs, outperforming AFL (83), AFLFast (83), and FairFuzz (76). In real-world testing, the tool discovered 12 vulnerabilities, resulting in 3 new CVEs (CVE-2021-25792, CVE-2021-25793, and CVE-2021-25794).
4.2 Code Coverage and Efficiency
AlphaFuzz++ demonstrated superior performance on 14 out of 18 UniFuzz binaries compared to AFL++. Furthermore, AlphaFuzz found crashes faster than AFL in over 50% of cases and maintained comparable or better speed in 91% of the tested programs.
5. Conclusion
By reimagining seed scheduling as a search problem on a mutation tree, AlphaFuzz provides a mathematically grounded framework for the exploration-exploitation trade-off in fuzzing. While future work includes automating parameter tuning and integrating with symbolic execution, AlphaFuzz represents a significant step toward more principled and effective automated vulnerability discovery.
Summary updated