cs.ARJul 7, 2026

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

Authors: Ya WangHanwei FanZhenguo LiuXiaofeng ZhouYangdi LyuJiang XuWei Zhang

Organizations: Hong Kong University of Science and Technology (HKUST), Hong Kong · The Hong Kong University of Science and Technology (Guangzhou), China

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.

Explore similar work

CardsList
  1. FunFuzz: An LLM-Powered Evolutionary Fuzzing Framework

    May 4, 2026Mario Rodríguez Béjar, B. Romera-Paredes, Jose L. Hernández-RamosFuzzingProgram Analysis