Evaluating Feedback-Driven Black-Box Processes via Stochastic Modeling and Simulation
Abstract
We study feedback-driven black-box processes across software engineering and machine learning. These processes are inherently sequential: policies generate inputs, observe outputs/feedback from systems, and use the feedback to guide the design of subsequent inputs. While many policies are developed under structural assumptions on the underlying systems, many real-world systems operate without such knowledge, necessitating black-box policies that lack a unified evaluation framework. We introduce a stochastic framework that models and evaluates such policies using Markov chains and simulation, thereby connecting empirical practice with theory. We instantiate the framework in mutation-based fuzzing (widely used for discovering software bugs via sequential input mutation), by a novel Markov chain model of fuzzing whose transitions are governed by the mutation strategy and whose feedback is given by program execution. We develop a rigorous evaluation paradigm with new performance measures, sound estimators, and evaluation procedures with provable guarantees. Guided by the theory, we evaluate 9 fuzzers on 18 widely used fuzzing benchmarks and conduct case studies in 4 non-fuzzing domains. These results show that the framework provides a principled basis for evaluation while connecting to practice, with implications beyond fuzzing.
Create a lesson
Metadata
- Categories
- cs.SE, cs.LG
Related papers
Decision Models for Definition-Driven GitHub Actions Workflow Smell Detection
Shared title terminologycs.SERohit Gheyi, Anderson Uchôa, Wesley Assunção et al.
RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup
Shared title terminologycs.SEHongyixuan Yuan, Qixing Zhou, Pengcheng Huang et al.
STUN-Bench: Truly Unseen Tools for Evaluating Shared Tool Experience
Shared title terminologycs.SEAbhijit Chakraborty, Ni Trieu, Vivek Gupta
Fixed or Deleted? External Feedback Lets Cheaper AI Coding Agents Repair Rule Violations
Shared title terminologycs.SELaura Wynter
Dhaani: A Data-Flow-Driven Tool for Greenfield Construction and Brownfield Modernisation
Shared title terminologycs.SEShraddha Surana, Ashwin Srinivasan
Simulation-Based Testing of RCM-Constrained Robotic Software via Task Manifolds
Shared title terminologycs.SEZhenyu Jiang, Yanlin Li, Rongjie Yan et al.