@article{Corazza_Gavran_Neider_2022, title={Reinforcement Learning with Stochastic Reward Machines}, volume={36}, url={https://ojs.aaai.org/index.php/AAAI/article/view/20594}, DOI={10.1609/aaai.v36i6.20594}, abstractNote={Reward machines are an established tool for dealing with reinforcement learning problems in which rewards are sparse and depend on complex sequences of actions. However, existing algorithms for learning reward machines assume an overly idealized setting where rewards have to be free of noise. To overcome this practical limitation, we introduce a novel type of reward machines, called stochastic reward machines, and an algorithm for learning them. Our algorithm, based on constraint solving, learns minimal stochastic reward machines from the explorations of a reinforcement learning agent. This algorithm can easily be paired with existing reinforcement learning algorithms for reward machines and guarantees to converge to an optimal policy in the limit. We demonstrate the effectiveness of our algorithm in two case studies and show that it outperforms both existing methods and a naive approach for handling noisy reward functions.}, number={6}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, author={Corazza, Jan and Gavran, Ivan and Neider, Daniel}, year={2022}, month={Jun.}, pages={6429-6436} }