SymNet 3.0: Exploiting Long-Range Influences in Learning Generalized Neural Policies for Relational MDPs

Vishal Sharma, Daman Arora, Mausam, Parag SinglaUAI 2023

Abstract

We focus on the learning of generalized neural policies for Relational Markov Decision Processes (RMDPs) expressed in RDDL. Recent work first converts the instances of a relational domain into an instance graph, and then trains a Graph Attention Network (GAT) of fixed depth with parameters shared across instances to learn a state representation, which can be decoded to get the policy. Unfortunately, this approach struggles to learn policies that exploit long-range dependencies – a fact we formally prove in this paper. As a remedy, we first construct a novel influence graph characterized by edges capturing one-step influence (dependence) between nodes based on the transition model. We then define influence distance between two nodes as the shortest path between them in this graph – a feature we exploit to represent long-range dependencies. We show that our architecture, referred to as Symbolic Influence Network (SymNet3.0), with its distance-based features, does not suffer from the representational issues faced by earlier approaches. Extensive experimentation demonstrates that we are competitive with existing baselines on 12 standard IPPC domains, and perform significantly better on six additional domains (including IPPC variants), designed to test a model’s capability in capturing long-range dependencies. Further analysis shows that SymNet3.0 automatically learns to focus on nodes that have key information for representing policies that capture long-range dependencies.

Introduction

Generalized Planning for Relational Markov Decision Processes (RMDPs) aims to train a single neural policy on small problem instances that can generalize to much larger, unseen instances. Recent state-of-the-art models, such as SymNet 2.0, utilize Graph Attention Networks (GATs) to represent the state. However, standard GATs possess a fundamental limitation: they have a fixed depth $d$, meaning a node can only aggregate information from its $d$-hop neighbors. In scenarios where a robot is far from its goal, the GAT effectively remains "blind" to the goal's location. While global pooling is often employed to summarize the state, it is permutation-invariant and fails to distinguish between states that are locally identical but globally distinct—a phenomenon known as symmetry breaking.

Methods: The Symbolic Influence Network

The core innovation of this work is the Symbolic Influence Network (SymNet 3.0), which explicitly incorporates "influence distance" to overcome the receptive field limitations of standard GATs.

  1. Influence Graph ($I_G$): Using the RDDL (Relational Dynamic influence Diagram Language) domain description, we construct a graph where nodes represent state variables. A directed edge exists if one variable affects another in the subsequent time step.
  2. Influence Distance: We calculate the shortest path between any two nodes in this influence graph. This distance represents the minimum number of steps required for one variable to affect another, providing a powerful inductive bias based on the domain's transition model.
  3. Architecture: The pipeline consists of a pre-process GAT to compute initial node embeddings, followed by an Influence Layer. This layer uses a multi-head attention mechanism where weights are conditioned on the pre-calculated influence distances, allowing the model to attend to relevant nodes regardless of physical distance. Finally, a post-process GAT merges these features for action decoding.
SymNet 3.0 Architecture: The model integrates an Influence Layer that utilizes influence distances derived from the transition model to capture long-range dependencies across the instance graph.

Experimental Evaluation

SymNet 3.0 was evaluated against 12 standard IPPC domains and 6 new Long-Range (LR) domains specifically designed to test global reasoning (e.g., Deterministic Navigation, Pizza Delivery).

Key Results

  • Superiority in Long-Range Tasks: On the 6 LR domains, SymNet 3.0 achieved an 18% relative performance gain over the SymNet 2.0 baseline. In complex domains like StNav and Pizza, where previous neural models and even the teacher planner (PROST) struggled, SymNet 3.0 found significantly more effective policies.
  • Symmetry Breaking and Automatic Focus: Visualizations demonstrate that SymNet 3.0 successfully breaks the symmetries that plague standard GATs. t-SNE plots show that SymNet 3.0 (SINet+KL) learns more distinct representations for states that SymNet 2.0 conflates. Furthermore, attention maps reveal that the model naturally learns to focus on key task elements, such as the robot's current location and the goal, even when they are far apart in the physical space.
Visualization of state representations and attention: (a) The original state space; (b) SymNet 2.0 embeddings showing poor separation; (c) SymNet 3.0 embeddings showing improved state distinction; and a heatmap illustrating the model's focus on critical task nodes.

Conclusion

SymNet 3.0 addresses the "receptive field" problem in neural planners by leveraging the structure of the physics (the transition model) to build an influence graph. By incorporating influence distance into the attention mechanism, the model achieves superior generalization in long-range navigation and resource management tasks. Future work will explore reducing dependency on teacher planners through reinforcement learning and extending the influence concept to other planning languages.

Summary updated

BibTeX
@inproceedings{sharma2023symnet,
  author = {Vishal Sharma and Daman Arora and Mausam and Parag Singla},
  title = {{SymNet 3.0: Exploiting Long-Range Influences in Learning Generalized Neural Policies for Relational MDPs}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=PL2zpCUknL},
}
Figure