Open sillysun opened 2 years ago
@sillysun the two reasons you listed could be the reason. The construction of graphs, edge removal, as well as permutation are done here.
Note that for some graph structures, removal of edges naturally makes the two graphs before and after dissimilar, therefore the ground truth normalized MI should not be close to 1. In the paper, we use the NMI as a measure to show commensurability between GOT and COPT when the numbers of nodes of the two graphs are equal, and indeed your results show the same.
Hi, i have question in reporducing the key alignment experiment both in COPT and GOT. i did this way:
nx.stochastic_block_model
to construct a 40-node 4-community graph, where the probs of adding edges within/between communities are 0.9, 0.1 respectively.graph.graph_dist(args, plot=False, Ly=Ly, take_ly_exp=False)
to calculate COPT distance, and the args here is same as that inutils.parse_args()
.got_stochastic.find_permutaion
as inrunGraph.perm_mi
However, the nmi is only about 0.5, not nearly 1 like table 2 shows. Now i'm not sure the exact reason, but two guesses:
nx.stochastic_block_model
matters? i noticed that this parameter inutils.create_graph(40, gtype='block', params=params, seed=seed)
is [0.97, 0.01, 0.01, 0.01], my case use [0.9, 0.1, 0.1, 0.1].self.optim
: lr and hiking.hope for you reply, thx !