English

HiFuzz: Hierarchical Reinforcement Learning for Semantic-Aware and Adaptive CPU Fuzzing

Hardware Architecture 2026-07-07 v1 Machine Learning

Abstract

Modern processor verification struggles to reach deep architectural states due to the inefficiencies of traditional mutation-based fuzzing. We propose HiFuzz, a novel hierarchical reinforcement learning framework that replaces mutation with a structured, two-layer generation process: a Program Agent for global layout and a Basic Block Agent for precise instruction filling. To overcome reward sparsity, HiFuzz integrates an adaptive coverage reward mechanism and a semantic-aware basic block encoder providing intrinsic feedback. Extensive evaluations on three real-world RISC-V cores demonstrate that HiFuzz significantly outperforms state-of-the-art fuzzers in coverage and bug detection.

Cite

@article{arxiv.2607.06619,
  title  = {HiFuzz: Hierarchical Reinforcement Learning for Semantic-Aware and Adaptive CPU Fuzzing},
  author = {Ya Wang and Hanwei Fan and Zhenguo Liu and Xiaofeng Zhou and Yangdi Lyu and Jiang Xu and Wei Zhang},
  journal= {arXiv preprint arXiv:2607.06619},
  year   = {2026}
}

Comments

Accepted by the 2026 IEEE International Test Conference (ITC 2026)

R2 v1 2026-07-22T20:29:44.085Z