Skip to main content
QUICK REVIEW

[Paper Review] Deep Q-Learning for Directed Acyclic Graph Generation

Laura D'Arcy, Padraig Corcoran|arXiv (Cornell University)|Jun 5, 2019
Advanced Graph Neural NetworksComputer Science8 references6 citations
TL;DR

This paper proposes a deep Q-learning approach for generating directed acyclic graphs (DAGs) with specified topologies and node types using a graph convolutional network to approximate Q-values. The method enables efficient DAG generation in sparse reward environments by treating node and edge additions as single actions, achieving high success rates on small DAGs despite exponential action space growth.

ABSTRACT

We present a method to generate directed acyclic graphs (DAGs) using deep reinforcement learning, specifically deep Q-learning. Generating graphs with specified structures is an important and challenging task in various application fields, however most current graph generation methods produce graphs with undirected edges. We demonstrate that this method is capable of generating DAGs with topology and node types satisfying specified criteria in highly sparse reward environments.

Motivation & Objective

  • To develop a reinforcement learning method for generating directed acyclic graphs (DAGs) without requiring prior training data.
  • To address the challenge of sparse rewards in DAG generation by using deep Q-learning with function approximation.
  • To enable scalable DAG generation with multiple node types and continuous features using a single-action mechanism for node and edge addition.
  • To overcome the limitations of tabular Q-learning by using a deep neural network to handle large state and action spaces.
  • To improve learning efficiency by accounting for symmetries in edge addition through batch action selection.

Proposed method

  • The method models the DAG generation process as a Markov decision process with states defined by adjacency matrices and one-hot encoded node features.
  • Actions consist of adding a new node of a specified type and simultaneously adding a set of incoming edges, encoded as a binary vector converted to an integer for action space enumeration.
  • A graph convolutional network (GCN) processes the state to produce Q-value estimates, using the transpose of the adjacency matrix to encode edge directionality.
  • Deep Q-learning with experience replay and target networks is used to stabilize training, with prioritized experience replay to improve sample efficiency.
  • The action space is defined as $ b \times (2^{n-1} - 1) $, where $ b $ is the number of node types and $ n $ is the number of nodes, excluding the null edge set to avoid isolated nodes.
  • Exploration is performed via $ \epsilon $-greedy selection over the full action space, with actions sampled from the binary-encoded edge sets.

Experimental results

Research questions

  • RQ1Can deep Q-learning generate DAGs with specific topologies and node types in a data-free, reinforcement learning setting?
  • RQ2How effective is deep Q-learning in sparse reward environments where only a small fraction of terminal states yield non-zero rewards?
  • RQ3Does treating node and edge addition as a single action improve learning efficiency compared to sequential node/edge addition?
  • RQ4To what extent does prioritized experience replay enhance learning convergence in DAG generation?
  • RQ5How does the method scale with increasing DAG size and number of node types?

Key findings

  • The DQN with prioritized experience replay (DQN+PER) achieved an average total reward of 9,902 on 4-node DAGs with 1 node type, significantly outperforming random action selection (882).
  • For 6-node DAGs with 3 node types, DQN+PER achieved an average reward of 5,169, compared to 6 for random agents, demonstrating learning in a highly sparse environment.
  • The method achieved a success rate of over 95% for 4-node DAGs with 1 node type using DQN+PER, indicating effective learning despite exponential state and action space growth.
  • Binary action selection (adding multiple edges at once) led to faster convergence than sequential edge addition, as it eliminated asymmetries in edge order.
  • The average success rate of the greedy policy increased steadily over 10,000 episodes, with DQN+PER showing superior performance to standard DQN across all tested configurations.
  • For a 5-node DAG with 3 node types, only 3 out of 25,515 possible terminal states were isomorphic to the target, yet the agent learned to reach them with high frequency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.