Reinforcement Learning with Stochastic Reward Machines

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Corazza, Jan, Gavran, Ivan, Neider, Daniel
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911216086024192
author Corazza, Jan
Gavran, Ivan
Neider, Daniel
author_facet Corazza, Jan
Gavran, Ivan
Neider, Daniel
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_14837
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Reinforcement Learning with Stochastic Reward Machines
Corazza, Jan
Gavran, Ivan
Neider, Daniel
Machine Learning
Artificial Intelligence
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.
title Reinforcement Learning with Stochastic Reward Machines
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.14837