NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TGE-viz : Transition Graph Embedding for Visualization of Plan Traces and Domains

Sriram Gopalakrishnan, Subbarao KambhampatiarXiv 2018

Abstract

TGE-viz is a novel visualization tool for automated planning that embeds a domain's entire transition graph into a 2D space using force-directed algorithms. By overlaying plan traces onto this global map, it allows users to intuitively grasp domain structures, compare alternative plans, and identify bugs in domain definitions, significantly reducing cognitive load in mixed-initiative planning.

Introduction

Automated planners often present a usability barrier because plan traces—the sequence of actions output by the planner—are typically visualized in linear, pipeline-style formats like Gantt charts. While effective for execution, these formats strip away the broader context of the domain. Users cannot easily see the underlying structure of the state space, dependencies between non-adjacent actions, or alternative paths.

In mixed-initiative planning, where humans and planners collaborate, a human must mentally track preconditions and effects to understand the rationale behind a plan. This imposes a significant cognitive load. TGE-viz addresses this by providing a "map" of the entire domain that contextualizes the planner's choices.

Methods

TGE-viz (Transition Graph Embedding Visualization) visualizes the entire planning domain as a 2D graph through a multi-step process:

  1. Graph Construction: The system builds a bipartite-like transition graph where nodes represent grounded actions and fluents (state variables). Edges connect actions to their required preconditions and resulting effects.
  2. Graph Embedding: To map this graph into 2D space, a modified Fruchterman-Reingold (force-directed) algorithm is employed. Nodes are pulled toward neighbors and repelled by non-neighbors.
  3. Algorithmic Optimizations: To handle scale, two optimizations are introduced:
  4. Logarithmic Repulsion: Each node is repelled by a random subset of $\log(|V|)$ nodes per iteration, reducing complexity from $O(|V|^2)$.
  5. Half-Jumping: Nodes "jump" halfway toward the centroid of their neighbors' positions, avoiding complex attractive force calculations and temperature tuning.
  6. Interactive UI: Built in PyGame, the interface allows users to view the embedded graph and run the FastDownward planner, which draws the resulting plan trace directly over the domain map.

Experimental Evaluation

The authors evaluated TGE-viz on two standard planning domains with distinct topological properties:

  • Logistics: This domain was modified to restrict certain airplanes to specific cities, resulting in low average closeness and a high radius. As shown below, TGE-viz successfully identifies these highly structured environments as clean, interpretable clusters representing distinct cities.
Visualization of the Logistics domain across different configurations, showing distinct clusters (C0-C7) representing cities.
  • Barman: A domain involving cocktail mixing, characterized by high connectivity (high closeness, small radius). Despite the density, TGE-viz successfully separated logical structures. As seen in the Barman visualization, fluents and actions related to specific shot glasses form distinct "prongs" protruding from a central hub of mixing actions.
Visualization of the Barman domain, where logical structures like shot glasses form distinct 'prongs' around a central hub.

Key Insights and Results

The primary benefit of TGE-viz is the reduction of cognitive load by contextualizing plans. Users can visually spot nearby clusters representing alternative subgoals without parsing text-based action lists.

Furthermore, the tool serves as a powerful debugging aid for domain engineering. During testing, a missing flight route in a PDDL file caused a city's cluster to be visually severed from the rest of the graph, making the error immediately apparent. The optimized "Half-Jumping" and logarithmic repulsion techniques successfully produced stable, readable embeddings without massive computational overhead.

Limitations and Future Work

Current limitations include the lack of time or cost metrics in the UI and potential scaling limits for exceptionally massive domains. Future work will focus on parallelizing the algorithm via a map-reduce framework, overlaying heuristic search processes onto the embedding, and exploring alternative energy-minimization algorithms like Kamada-Kawaii for different domain topologies.

Summary updated

BibTeX
@misc{gopalakrishnan2018tge,
  author = {Sriram Gopalakrishnan and Subbarao Kambhampati},
  title = {{TGE-viz : Transition Graph Embedding for Visualization of Plan Traces and Domains}},
  year = {2018},
  eprint = {1811.09900},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.09900},
}
Figure