Robust Reward Machine Learning and Execution in Noisy Environments
Roko Parac, Lorenzo Nodari, Daniel Furelos-Blanco, Leo Ardon, Federico Cerutti, Alessandra Russo
Abstract
Background: Reward machines (RMs) represent non-Markovian reward functions as finite-state machines over high-level propositional events. Traditionally, these events are generated by a deterministic labelling function that maps environment states to proposition sets. However, real-world labelling functions are inherently noisy. Objectives: Design and implement a method that learns RMs in the presence of noisy labelling functions and exploits them for policy learning in both discrete and continuous environments. Methods: We propose Prob-IRM, a method that learns RMs from noisy proposition histories using inductive logic programming (ILP) and exploits them for policy learning. Noisy proposition histories are represented as training examples for ILP, which learns an RM that maximises coverage of low-uncertainty histories. RM learning is interleaved with policy optimisation. Prob-IRM uses a belief over RM states to determine when to relearn the RM and to provide additional guiding rewards. Results: Prob-IRM is evaluated on environments with discrete and continuous state spaces under varying levels of labelling noise. Prob-IRM performs comparably to baselines using handcrafted RMs and outperforms approaches that use recurrent neural networks to encode history, despite operating with noisy labels. Conclusions: Prob-IRM represents a step towards deploying reward machines in noisy, real-world environments.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Journal
- Journal of Artificial Intelligence Research 87, Article 18 (2026)
- Comments
- 44 pages, 21 figures, 5 tables. Published in the Journal of Artificial Intelligence Research. Code: https://github.com/rparac/Prob-IRM
Related papers
Layer-Level Control of Language Model Execution in Agent Frameworks
Shared title terminologycs.AIRan Guan, Yiqi Lin, Xiangxi Tian et al.
CausalNTP: A World-Model Recipe for Causal Next-Token Prediction under Noisy Training-data
Shared title terminologycs.AIDevansh Arpit
From Point Clouds to Engineering Models: Benchmarking Agentic 3D Reconstruction in the Built Environment
Shared title terminologycs.AIChangyu Du, Stavros Nousias, Syed Salman Ahmed et al.
torchtsetlin: Fast, Interpretable Tsetlin Machines for PyTorch
Shared title terminologycs.AIVajira Thambawita, Pål Halvorsen, Ole-Christoffer Granmo
Can Vision-Language Models Synthesize Executable Game-Playing Programs?
Shared title terminologycs.AIYao Tong, Jiaxin Qi, Dingyu Zhang et al.
Average-Depth Variable Execution via Request-Local Token Routing
Shared title terminologycs.AIPengjie Zheng, Mengwei Xie, Huan Yang et al.