mlsanityData to 13 Oct 2026

Reward Augmentation in Reinforcement Learning for Testing Distributed Systems

arXiv 2409.02137 ↗First posted 2 Sep 2024cs.SE cs.DC cs.LGcited by 0

On the map: Deep reinforcement learning methods → RL training of language and agent models

Abstract (arXiv)

Bugs in popular distributed protocol implementations have been the source of many downtimes in popular internet services. We describe a randomized testing approach for distributed protocol implementations based on reinforcement learning. Since the natural reward structure is very sparse, the key to successful exploration in reinforcement learning is reward augmentation. We show two different techniques that build on one another. First, we provide a decaying exploration bonus based on the discovery of new states -- the reward decays as the same state is visited multiple times. The exploration bonus captures the intuition from coverage-guided fuzzing of prioritizing new coverage points; in contrast to other schemes, we show that taking the maximum of the bonus and the Q-value leads to more effective exploration. Second, we provide waypoints to the algorithm as a sequence of predicates that capture interesting semantic scenarios. Waypoints exploit designer insight about the protocol and guide the exploration to ``interesting'' parts of the state space. Our reward structure ensures that new episodes can reliably get to deep interesting states even without execution caching. We have implemented our algorithm in Go. Our evaluation on three large benchmarks (RedisRaft, Etcd, and RSL) shows that our algorithm can significantly outperform baseline approaches in terms of coverage and bug finding.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 9 of its 44 references that are in the map. First posted on arXiv 2 Sep 2024.

Builds on

9 of 44 references.

References · 9

  1. 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 183
  2. 2020Reward-Free Exploration for Reinforcement Learningcited by 177
  3. 2021Compositional Reinforcement Learning from Logical Specificationscited by 65
  4. 2020Task-agnostic Exploration in Reinforcement Learningcited by 37
  5. 2019Transfer of Temporal Logic Formulas in Reinforcement Learningcited by 31
  6. 2020Temporal-Logic-Based Reward Shaping for Continuing Reinforcement Learning Taskscited by 28
  7. 2018Deep Reinforcement Fuzzingcited by 14
  8. 2020MUZZ: Thread-aware Grey-box Fuzzing for Effective Bug Hunting in Multithreaded Programscited by 3
  9. 2023Greybox Fuzzing of Distributed Systemscited by 1

Built on by

Not cited yet.