GrAVITree: Graph-based Approximate Value Function In a Tree

Patrick H. Washington, David Fridovich-Keil, Mac Schwager · DOI

Abstract

This paper introduces GrAVITree, a sampling-based algorithm designed to navigate complex control landscapes for nonlinear systems. By constructing a map of optimal paths backward from a goal state, GrAVITree develops a robust feedback policy that overcomes the limitations of traditional gradient-based methods. Specifically, the algorithm utilizes a dual graph-tree structure and derivative-free optimization to maintain stability even when operating on "noisy" dynamics models, such as deep neural networks. Experimental results demonstrate that GrAVITree successfully stabilizes systems where traditional Model Predictive Control (MPC) fails and adapts to environmental changes in near real-time.

1. Introduction

In robotics and control theory, achieving optimal trajectory generation from a starting state to a goal is a fundamental challenge, particularly under strict constraints like motor torque limits or dynamic obstacles. Current methodologies generally bifurcate into two categories: Hamilton-Jacobi-Bellman (HJB) methods and Model Predictive Control (MPC). While HJB methods provide global optimality, they suffer from the "curse of dimensionality" and lack the agility to update when obstacles appear. Conversely, MPC offers high-speed local optimization but is prone to local minima and relies heavily on smooth gradients.

Modern control increasingly relies on deep neural networks (DNNs) to approximate complex physics. However, these models often produce "messy" or discontinuous gradients. Standard optimization tools, such as MATLAB’s fmincon, frequently fail when applied to these models, leading to unstable control. GrAVITree is proposed as a solution that bridges the gap between global optimality and real-time adaptability without requiring reliable gradient information.

2. Methodology

GrAVITree (Graph-based Approximate Value Function In a Tree) innovates by separating the discovery of feasible paths from the selection of the optimal policy.

2.1 Backward-in-Time Construction

Unlike forward-planning algorithms, GrAVITree begins at the goal state and branches outward. By sampling feasible control inputs in reverse, the algorithm identifies which states can successfully reach the goal, effectively building a "cost-to-go" map from the target point.

2.2 Dual Structure: Graph and Tree

The algorithm maintains two distinct data structures:

  • The Graph: A comprehensive repository of all discovered state connections and feasible transitions.
  • The Tree: A subset of the graph representing the current lowest-cost paths to the goal.

This separation allows for Rapid Rewiring. If an obstacle is detected, GrAVITree does not need to re-sample the entire space; it simply re-evaluates the existing graph to find the next best path, updating the value function in seconds.

2.3 Derivative-Free Optimization and Interpolation

To navigate the irregularities of neural network-based dynamics, GrAVITree employs a "Pattern Search" method. This derivative-free approach probes the local state space to determine the best control action, bypassing the need for gradients. To ensure continuous control between discrete sampled points, the algorithm utilizes "bump functions" for smooth interpolation of the value function.

3. Experimental Evaluation

The algorithm was evaluated against three primary benchmarks to test its adaptability and robustness.

3.1 2D Single Integrator

Using a point-mass model, the authors tested the algorithm's ability to handle sudden environmental changes. When a U-shaped obstacle was introduced, GrAVITree recomputed a globally optimal path in approximately 1–2 seconds.

3.2 Inverted Pendulum and Learned Dynamics

The inverted pendulum was used to test "swing-up" maneuvers under tight torque constraints. Crucially, the authors trained a DNN on pendulum data to simulate a scenario where the true physics are unknown. The controller was then required to stabilize the physical system using only the imperfect, learned model.

4. Key Results and Discussion

GrAVITree demonstrated significant advantages over standard baselines:

  • Robustness to Model Noise: In tests involving learned neural network dynamics, GrAVITree was the only algorithm capable of successfully stabilizing the pendulum. Gradient-based solvers (MPC with fmincon) failed as the unreliable gradients caused the system to spin out of control.
  • Global Optimality: By maintaining a tree that covers the state space, the algorithm avoids the local minima that often trap MPC-based planners.
  • Efficiency: While initial offline construction of the tree may take several minutes, the online "rewiring" and runtime control are efficient enough for real-time applications.

5. Conclusion and Future Work

GrAVITree provides a robust framework for nonlinear control, particularly when dealing with non-smooth dynamics models. Its ability to decouple the memory of the environment (the graph) from the current policy (the tree) allows for rapid adaptation to new constraints.

Future research will focus on addressing the challenges of higher-dimensional systems, such as multi-jointed robots. The authors suggest that exploring latent space representations could mitigate the sampling requirements in high-dimensional states. Additionally, further mathematical analysis is required to provide full convergence guarantees across continuous state spaces.

Summary updated

BibTeX
@inproceedings{washington2023gravitree,
  author = {Patrick H. Washington and David Fridovich-Keil and Mac Schwager},
  title = {{GrAVITree: Graph-based Approximate Value Function In a Tree}},
  booktitle = {ACC},
  year = {2023},
  doi = {10.23919/acc55779.2023.10156366},
}
Figure