Reward Machines for Deep RL in Noisy and Uncertain Environments
Andrew C. Li, Zizhao Chen, Toryn Q. Klassen, Pashootan Vaezipoor, Rodrigo Toro Icarte, Sheila A. McIlraith
TL;DR
This work extends Reward Machines to deep RL under uncertain domain vocabulary by framing the problem as a POMDP and introducing a Noisy Reward Machine Environment. It proposes three RM-state inference modules—Naive, Independent Belief Updating, and Temporal Dependency Modelling—to leverage RM structure with noisy abstractions, showing that only TDM is consistently reliable in partially observable settings. Theoretical results establish equivalence to POMDPs and highlight when abstraction choices matter, while experiments across Traffic Light, Kitchen, Colour Matching, and Gold Mining demonstrate that TDM achieves Oracle-like performance and improves sample efficiency. The findings suggest that task structure, when paired with temporally aware belief modelling and even zero-shot abstractions from foundation models, can robustly guide learning in real-world, uncertain environments.
Abstract
Reward Machines provide an automaton-inspired structure for specifying instructions, safety constraints, and other temporally extended reward-worthy behaviour. By exposing the underlying structure of a reward function, they enable the decomposition of an RL task, leading to impressive gains in sample efficiency. Although Reward Machines and similar formal specifications have a rich history of application towards sequential decision-making problems, they critically rely on a ground-truth interpretation of the domain-specific vocabulary that forms the building blocks of the reward function--such ground-truth interpretations are elusive in the real world due in part to partial observability and noisy sensing. In this work, we explore the use of Reward Machines for Deep RL in noisy and uncertain environments. We characterize this problem as a POMDP and propose a suite of RL algorithms that exploit task structure under uncertain interpretation of the domain-specific vocabulary. Through theory and experiments, we expose pitfalls in naive approaches to this problem while simultaneously demonstrating how task structure can be successfully leveraged under noisy interpretations of the vocabulary.
