cs.AIAug 13, 2026

Reward Machines for Signal Temporal Logic

Authors: Alper Kamil Bozkurt, Shangtong Zhang, Yuichi Motai

Organizations: Department of Computer Science, University of Virginia, Charlottesville, VA, USA

Abstract

Signal temporal logic (STL) provides a formal language for specifying real-time properties of real-valued observations, along with a quantitative robustness score for monitoring satisfaction. Control synthesis from STL specifications is of interest since manual controller design becomes infeasible as real-world systems grow in complexity. Moreover, many modern autonomous and AI-enabled systems lack accurate and complete system models, which makes optimization-based synthesis approaches unsuitable and motivates learning-based control. Prior work uses STL robustness scores as rewards in reinforcement learning (RL) to obtain control policies satisfying given specifications; however, robustness depends on execution history, leading to intractable state space expansion for general long-horizon specifications with arbitrarily nested temporal operators. This work introduces a novel automata-based approach that provides an efficient memory mechanism and associated Markovian rewards suitable for RL frameworks. Our approach constructs a timed alternating automaton from the given STL specifications, augments the state space with automaton locations and clock valuations, and derives rewards from the automaton acceptance condition. We empirically demonstrate that our approach learns policies that achieve higher robustness scores and satisfaction rates than those learned by existing approaches using robustness-based rewards.

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. Tractable Reinforcement Learning for Full Class of Signal Temporal Logic Specifications Using Spatiotemporal Tube Reward

    Sep 23, 2026Vaishnavi Jagabathula, P Sangeerth, Pushpak JagtapRobotic RLReinforcement Learning

  3. STL-SVPIO: Signal Temporal Logic guided Stein Variational Path Integral Optimization

    Mar 6, 2026Hongrui Zheng, Zirui Zang, Ahmad Amine +2Trajectory OptimizationRobot Task Planning