Actor-Predictor Architecture for Reinforcement Learning with Formal Specification Objectives

Josef Brozovich, Qining Zhang, Lei YingarXiv 2026

Enforcing complex, time-dependent rules—like "visit A, then B, but never touch C while D is true"—is a notorious challenge in Reinforcement Learning (RL). Traditionally, researchers solve this by translating these "formal specifications" into finite-state automata (essentially complex flowcharts). However, this approach hits a wall when the logic gets complicated: the state machines can explode in size, and they can't handle tasks that require counting (non-regular languages).

A new paper from the University of Michigan, "Actor-Predictor Architecture for Reinforcement Learning with Formal Specification Objectives," proposes a clever workaround. Instead of building a rigid state machine, they train a neural network to predict logic progress.

TL;DR

The Actor-Predictor framework replaces explicit, computationally expensive automata with a neural "predictor" that estimates the probability of future task satisfaction. This approach outperforms traditional methods on complex logic tasks and, crucially, can solve non-regular problems (like counting) that standard state machines simply cannot represent.

What Problem Does This Paper Address?

When we give an RL agent a formal specification (often written in Linear Temporal Logic, or LTL), we face two main hurdles:

  1. Non-Markovian Rewards: The "right" move depends on the history of the trajectory, not just the current state.
  2. Sparse Feedback: You usually only know if you succeeded or failed at the very end of a long sequence of actions.

The standard fix is to build a Limit-Deterministic Büchi Automaton (LDBA) and bake it into the environment's state. But LDBA construction is "double-exponential" in complexity—meaning a slightly more complex rule can make the problem computationally impossible. Furthermore, automata are limited to "regular" languages; they can't handle tasks like $a^n b^n$ (doing task A exactly $n$ times, then task B exactly $n$ times), which require an arbitrary counter.

Methods

The authors introduce the Actor-Predictor architecture, which sidesteps automaton construction entirely.

Figure 1: (a) Automaton corresponding to equation 1: reward is obtained upon completing 3 Ñ 0; transition E denotes a reset. (b) Actor-predictor architecture with predictor ϕθ and actor πψ. The predictor estimates satisfaction probability and passes features ϕk to the actor.

The Predictor

Instead of a graph, they use a Mamba State Space Model (SSM) as a predictor. Mamba is ideal here because it handles long-range dependencies efficiently and its internal hidden state can act as a "surrogate" for the automaton state. The predictor takes the partial trajectory as input and outputs the probability that the agent will satisfy the specification in the future.

The Actor

The actor is a standard MLP that receives two inputs: the current environment state and the hidden features from the predictor. By feeding the actor these features, the authors effectively turn a history-dependent problem back into a Markovian one.

Optimization

The system uses an alternating training scheme:

  • Predictor: Trained via Binary Cross-Entropy to accurately guess success/failure.
  • Actor: Optimized using GRPO (Group Relative Policy Optimization) combined with Reward-Weighted Regression (RWR). They use an exponential reward weighting to help the agent "notice" rare success signals in a sea of failures, solving the cold-start problem.

Datasets and Benchmarks

The authors evaluated their framework on two distinct setups:

  1. Quadruped Navigation (Isaac Lab): A Unitree quadruped robot must navigate landmarks (Blue, Purple, Orange, Yellow) in specific sequences defined by LTL formulas while avoiding a patrolling "red" robot.
  2. Grid World ($a^n b^n$): A $10 \times 10$ grid used to test non-regular specifications. The agent must complete subtask 'a' $n$ times and then subtask 'b' exactly $n$ times. This is a classic "impossible" task for finite-automaton-based RL.

Key Insights and Ideas

  • Predictive Sufficiency: The core "aha!" moment is theoretical. The authors prove that if a predictor is accurate enough at guessing future success, its internal hidden representation is mathematically equivalent to the state of an underlying automaton. You don't need the graph if you have the features.
  • Beyond Regular Logic: Because the Mamba predictor isn't restricted to a finite number of discrete states, it can learn to "count." This allows the agent to solve non-regular tasks like $a^n b^n$ that leave traditional LTL-based methods stranded.
  • Feature Transferability: The predictor learns general "logic progress" features. The authors showed that a predictor trained on one specification can be frozen and reused to help an actor learn a different specification faster.

Key Results

  • Superior Performance: In the Quadruped tasks, Actor-Predictor achieved a higher average reward (0.0905) compared to state-of-the-art automaton-based baselines like CyclER (0.0724) and LCER (0.0566).
  • Solving the Unsolvable: In the $a^n b^n$ grid world, Actor-Predictor reached a final average reward of 7.37, while all other baselines (including those using truncated automata) hovered around 1.0 or 2.0.
  • State Recovery: To prove their theory, the authors trained a simple linear classifier to see if they could "find" the ground-truth automaton state inside the predictor's hidden features. They achieved >99% accuracy, confirming the predictor successfully mimics the logic engine.
Performance comparison on the $a^n b^n$ task (b) and transfer learning (c)

Limitations and Future Work

While powerful, the Actor-Predictor approach has a slower initial convergence (the "cold start") compared to methods that have the automaton's structure handed to them on day one. The agent has to spend time "discovering" the logic through the predictor.

The authors suggest that future work could involve scaling this to multi-agent settings or more hierarchical tasks where the "predictor" might handle high-level strategic logic while the actor focuses on low-level control.

Summary updated

Abstract

One fundamental challenge in reinforcement learning (RL) is enforcing temporal safety constraints, such as satisfying formal specifications. Existing methods often transform logic formulas into automata for state augmentation and reward shaping. However, this approach assumes that automaton construction is both feasible and tractable, which limits its applicability to small specifications and linear temporal logic (LTL). This paper proposes Actor-Predictor, a framework that learns a surrogate representation of logic progress without explicitly constructing an automaton. The predictor continuously estimates whether a partial trajectory will satisfy the formal specification in a later step, and its learned features are provided as auxiliary inputs to the actor, which is then optimized using GRPO and RWR. We show theoretically that, under sufficient predictive accuracy, the learned representation is equivalent to the automaton state. Experiments on grid world and robotic tasks in Isaac Lab demonstrate that Actor-Predictor outperforms automaton-based baselines on LTL-constrained tasks. It also performs well on non-regular formal specifications, such as $(a^n b^n)$, for which finite-automaton-based approaches are not applicable.
BibTeX
@misc{brozovich2026actor,
  author = {Josef Brozovich and Qining Zhang and Lei Ying},
  title = {{Actor-Predictor Architecture for Reinforcement Learning with Formal Specification Objectives}},
  year = {2026},
  eprint = {2611.26313},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26313},
}
Figure