graph_adversarial_attack icon indicating copy to clipboard operation
graph_adversarial_attack copied to clipboard

Question about hierarchical Q-Learning

Open matouk98 opened this issue 4 years ago • 4 comments

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!!

matouk98 avatar Dec 28 '20 06:12 matouk98

Hi there,

Thanks for your interest in our work. As in our paper we only add/delete one edge, so it is equivalent.

Hanjun-Dai avatar Jan 17 '21 05:01 Hanjun-Dai

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!

cxw-droid avatar Sep 13 '22 22:09 cxw-droid

Hi, you can check the folder for node attack case.

Hanjun-Dai avatar Oct 02 '22 23:10 Hanjun-Dai

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

cxw-droid avatar Oct 07 '22 16:10 cxw-droid