graph_adversarial_attack
graph_adversarial_attack copied to clipboard
Question about hierarchical Q-Learning
Hi, hanjun. Thanks a lot for your great work! I have a question about the hierarchical Q-Learning mentioned in the paper. In equation 11, there are 2M Q functions and the paper claims only two distinct parametrizations are enough. However, when I read the code /node_attack/q_net_node.py, in line 163, there initialize num_steps Q networks which are different from the paper. Does my understanding have any mistakes? Looking forward to your reply!!
Hi there,
Thanks for your interest in our work. As in our paper we only add/delete one edge, so it is equivalent.
Hi,
I can see adding one edge in the code https://github.com/Hanjun-Dai/graph_adversarial_attack/blob/f2aaad73efd142bcc20d5e8c43117e5359f9aa8e/code/graph_attack/rl_common.py#L77 But I have not found where an edge is removed. Or the code did not implement edge removing? Thanks!
Hi, you can check the folder for node attack case.
Thank you for your reply. For node attack, I only find adding edges: https://github.com/Hanjun-Dai/graph_adversarial_attack/blob/f2aaad73efd142bcc20d5e8c43117e5359f9aa8e/code/node_attack/node_attack_common.py#L33