cs.LGMar 3, 2026

Reinforcement Learning with Symbolic Reward Machines

Authors: Thomas Krug, Daniel Neider

Organizations: TU Dortmund University · Research Center Trustworthy Data Science and Security

Abstract

Reward Machines (RMs) are an established mechanism in Reinforcement Learning (RL) to represent and learn sparse, temporally extended tasks with non-Markovian rewards. RMs rely on high-level information in the form of labels that are emitted by the environment alongside the observation. However, this concept requires manual user input for each environment and task. The user has to create a suitable labeling function that computes the labels. These limitations lead to poor applicability in widely adopted RL frameworks. We propose Symbolic Reward Machines (SRMs) together with the learning algorithms QSRM and LSRM to overcome the limitations of RMs. SRMs consume only the standard output of the environment and process the observation directly through guards that are represented by symbolic formulas. In our evaluation, our SRM methods outperform the baseline RL approaches and generate the same results as the existing RM methods. At the same time, our methods adhere to the widely used environment definition and provide interpretable representations of the task to the user.

Figures & tables

Explore similar work

CardsList
  1. On Tackling Complex Tasks with Reward Machines and Signal Temporal Logics

    Apr 9, 2026Ana María Gómez Ruiz, Thao Dang, Alexandre DonzéRL ControlReinforcement Learning

  2. Reinforcement Learning for Long-Horizon Unordered Tasks: From Boolean to Coupled Reward Machines

    Oct 31, 2025Kristina Levina, Nikolaos Pappas, Athanasios Karapantelakis +2Reinforcement LearningQ-Learning

  3. Pareto Q-Learning with Reward Machines

    Jun 17, 2026Arnaud Lequen, Clément Legrand-Lixon, Léo SaulièresMulti-Objective Reinforcement LearningReinforcement Learning