Bellman Value Decomposition for Task Logic in Safe Optimal Control

William Sharpless, Oswin So, Dylan Hirsch, Sylvia Herbert, Chuchu Fan · DOI

Abstract

Real-world tasks involve nuanced combinations of goal and safety specifications. In high dimensions, the challenge is exacerbated: formal automata become cumbersome, and the combination of sparse rewards tends to require laborious tuning. In this work, we consider the innate structure of the Bellman Value as a means to naturally organize the problem for improved automatic performance. Namely, we prove the Bellman Value for a complex task defined in temporal logic can be decomposed into a graph of Bellman Values, connected by a set of well-known Bellman equations (BEs): the Reach-Avoid BE, the Avoid BE, and a novel type, the Reach-Avoid-Loop BE. To solve the Value and optimal policy, we propose VDPPO, which embeds the decomposed Value graph into a two-layer neural net, bootstrapping the implicit dependencies. We conduct a variety of simulated and hardware experiments to test our method on complex, high-dimensional tasks involving heterogeneous teams and nonlinear dynamics. Ultimately, we find this approach greatly improves performance over existing baselines, balancing safety and liveness automatically.

Introduction

Standard Reinforcement Learning (RL) is designed to maximize cumulative expected rewards, making it notoriously bad at handling strict safety constraints or temporally structured tasks (e.g., "go to point A, then point B, but never enter zone C, and always return to base"). These types of tasks are naturally expressed using Temporal Logic (TL). However, combining RL with TL usually forces researchers into a frustrating trade-off between sparse binary rewards (leading to slow exploration), hand-crafted dense rewards (prone to reward hacking), or automata-based methods (which scale poorly in high dimensions).

This paper introduces a method to exactly decompose complex TL specifications into a graph of simpler Bellman value functions. By embedding this "Decomposed Value Graph" into a novel reinforcement learning algorithm, VDPPO, the authors enable heterogeneous robot teams to learn safe, highly complex behaviors without manual reward shaping.

Methods: Bellman Value Decomposition

The core contribution of this work is the formal connection between Temporal Logic and Bellman Value theory. The authors prove that the Bellman Value for a complex TL task can be exactly decomposed into a Directed Acyclic Graph (DAG) of "atomic" Bellman Equations (BEs).

Overview of the VDPPO pipeline: from Task Logic to Value Decomposition and final Performance.

Atomic Building Blocks

Complex tasks are broken down into fundamental Hamilton-Jacobi Reachability (HJR) problems:

  • Reach-Avoid BE: Reaching a goal while avoiding obstacles.
  • Avoid BE: Pure safety constraints.
  • Reach-Avoid-Loop (RA$\ell$) BE: A novel BE designed specifically for "always-eventually" (liveness/recurrence) specifications.

VDPPO (Value-Decomposition PPO)

To solve these, the authors developed valtr, a tool that parses TL specifications and generates the Decomposed Value Graph (DVG). This graph is then integrated into VDPPO, a specialized variant of Proximal Policy Optimization. Instead of training separate networks for every sub-task, VDPPO uses a single shared neural network trunk. A one-hot embedding identifies which node in the DVG is currently being evaluated, allowing the network to bootstrap value estimates from dependent sub-tasks. This parameter sharing is crucial for preventing the combinatorial explosion of parameters in complex environments.

Experimental Evaluation

The method was evaluated across four simulations (DoubleInt, Herding, Delivery, and Manipulator) and two real-world hardware setups using Crazyflie drones and a Unitree Go2 quadruped.

The Herding task: a heterogeneous team (drone and quadruped) learns to gather agents while avoiding obstacles.

Key Results

  • Scalability: VDPPO maintained near-perfect performance for deeply nested TL specifications (depth of 5), where baselines like LCRL and TL-MPPI dropped below 40% success.
  • Multi-Agent Coordination: VDPPO successfully solved the DoubleInt environment with 5 agents, a task where baseline performance degraded rapidly.
  • Emergent Behavior: In hardware tests, the team learned sophisticated division of labor. In the Herding task, the fast drone gathered "sheep" while the quadruped blocked escape routes. In Delivery, the quadruped anticipated drone movements to resupply them efficiently.

Discussion and Future Work

A major theoretical insight is that value algebra differs from logic algebra. Because the Bellman equation includes a max operation over actions, standard logic rules for rewards do not apply. By deriving the algebraic rules to decompose the optimal value functions, the authors ensure safety and goal achievement are prioritized without Lagrangian weight tuning.

Current limitations include a reliance on full state observability for hardware experiments. Future work aims to extend this framework to partially observable or noisy environments, bridging the gap between formal verification and deep reinforcement learning for even more complex autonomous tasks.

Summary updated

BibTeX
@misc{sharpless2026bellman,
  author = {William Sharpless and Oswin So and Dylan Hirsch and Sylvia Herbert and Chuchu Fan},
  title = {{Bellman Value Decomposition for Task Logic in Safe Optimal Control}},
  year = {2026},
  eprint = {2602.19532},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.19532},
}
Figure