{"id":201290,"date":"2024-12-11T15:27:30","date_gmt":"2024-12-11T21:27:30","guid":{"rendered":"https:\/\/lifeboat.com\/blog\/2024\/12\/a-simulated-annealing-algorithm-for-randomizing-weighted-networks"},"modified":"2024-12-11T15:27:30","modified_gmt":"2024-12-11T21:27:30","slug":"a-simulated-annealing-algorithm-for-randomizing-weighted-networks","status":"publish","type":"post","link":"https:\/\/lifeboat.com\/blog\/2024\/12\/a-simulated-annealing-algorithm-for-randomizing-weighted-networks","title":{"rendered":"A simulated annealing algorithm for randomizing weighted networks"},"content":{"rendered":"<p><a class=\"aligncenter blog-photo\" href=\"https:\/\/lifeboat.com\/blog.images\/a-simulated-annealing-algorithm-for-randomizing-weighted-networks.jpg\"><\/a><\/p>\n<p>While we have established, using rank-based methods, that the simulated annealing algorithm outperforms other randomization techniques in preserving the empirical network\u2019s strength sequence, we have not quantified how well the different models preserve the strength distribution. The level to which the empirical strength distribution is preserved in a null network is crucial, because it ensures an accurate representation of influential graph features, such as hubs, whose importance is intricately tied to characteristics of the distribution.<\/p>\n<p>To assess the goodness of fit between the strength distributions of the empirical and the randomized structural networks, we superimpose their cumulative distribution functions (Fig. 2b and Supplementary Fig. 8). Across all datasets, the curves produced via simulated annealing show the best match to the empirical strength cumulative distribution function with almost perfect superposition. Furthermore, the curves obtained using the Rubinov\u2013Sporns and the Maslov\u2013Sneppen algorithms show considerably more variability across null networks as shown by their wider spread, recapitulating previously observed patterns of underestimation and overestimation across datasets (see \u2018Null model calibration\u2019 section in Supplementary Information). To confirm these observations quantitatively, we compute Kolmogorov\u2013Smirnov test statistics between the cumulative strength distributions of the empirical and each randomized network, measuring the maximum distance between them (Fig. 2b and Supplementary Fig. 8). Across all datasets, the simulated annealing algorithm outperforms the other two null models with significantly lower Kolmogorov\u2013Smirnov statistics (P \u2248 0, CLES of 100% for all two-tailed, Wilcoxon\u2013Mann\u2013Whitney two-sample rank-sum tests). Furthermore, in the HCP dataset and the higher resolution Lausanne network, the Rubinov\u2013Sporns algorithm generated cumulative strength distributions with slightly worse correspondence to the empirical distribution than the cumulative strength distributions yielded by the Maslov\u2013Sneppen algorithm (LAU, high resolution: P 10<sup>\u2212176<\/sup>, CLES of 61.58%; HCP: P \u2248 0, CLES of 100% for all empirical networks, two-tailed, Wilcoxon\u2013Mann\u2013Whitney two-sample rank-sum test).<\/p>\n<p>As an illustration, we consider whether the nulls generated by different algorithms recapitulate fundamental characteristics associated with the empirical strength distribution. Namely, we focus on the heavy tailedness of the strength distribution (that is, does the null network also have a heavy-tailed strength distribution, suggesting the presence of hubs?) and the spatial location of high-strength hub nodes. We assess heavy tailedness and identify hubs using the nonparametric procedure outlined in refs. <sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Gajwani, M. et al. Can hubs of the human connectome be identified consistently with diffusion MRI? Netw. Neurosci. 7, 1326&ndash;1350 (2023).\" href=\"https:\/\/www.nature.com\/articles\/s43588-024-00735-z#ref-CR73\" id=\"ref-link-section-d28528807e1224\">73<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"Jordanova, P. K. & Petkova, M. P. Measuring heavy-tailedness of distributions. AIP Conf. Proc. 1910, 060002 (2017).\" href=\"https:\/\/www.nature.com\/articles\/s43588-024-00735-z#ref-CR74\" id=\"ref-link-section-d28528807e1227\">74<\/a><\/sup> (see <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"section anchor\" href=\"https:\/\/www.nature.com\/articles\/s43588-024-00735-z#Sec12\">Methods<\/a> for more details).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While we have established, using rank-based methods, that the simulated annealing algorithm outperforms other randomization techniques in preserving the empirical network\u2019s strength sequence, we have not quantified how well the different models preserve the strength distribution. The level to which the empirical strength distribution is preserved in a null network is crucial, because it ensures [\u2026]<\/p>\n","protected":false},"author":661,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-201290","post","type-post","status-publish","format-standard","hentry","category-information-science"],"_links":{"self":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/201290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/users\/661"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/comments?post=201290"}],"version-history":[{"count":0,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/201290\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/media?parent=201290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/categories?post=201290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/tags?post=201290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}