{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/neural-higher-order-pattern-motif-prediction","title":"Neural Predicting Higher-order Patterns in Temporal Networks","arxiv_id":"2106.06039","date":"2021-06-10","proceeding":null,"authors":["Yunyu Liu","Jianzhu Ma","Pan Li"],"abstract":"Dynamic systems that consist of a set of interacting elements can be abstracted as temporal networks. Recently, higher-order patterns that involve multiple interacting nodes have been found crucial to indicate domain-specific laws of different temporal networks. This posts us the challenge of designing more sophisticated hypergraph models for these higher-order patterns and the associated new learning algorithms. Here, we propose the first model, named HIT, for full-spectrum higher-order pattern prediction in temporal hypergraphs. Particularly, we focus on predicting three types of common but important interaction patterns involving three interacting elements in temporal networks, which could be extended to even higher-order patterns. HIT extracts the structural representation of a node triplet of interest on the temporal hypergraph and uses it to tell what type of, when, and why the interaction expansion could happen in this triplet. HIT could achieve significant improvement (averaged 20% AUC gain to identify the interaction type, uniformly more accurate time estimation) compared to both heuristic and other neural-network-based baselines on 5 real-world large temporal hypergraphs. Moreover, HIT provides a certain degree of interpretability by identifying the most discriminatory structural features on the temporal hypergraphs for predicting different higher-order patterns.","url_abs":"https://arxiv.org/abs/2106.06039v2","url_pdf":"https://arxiv.org/pdf/2106.06039v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"neural-higher-order-pattern-motif-prediction","repo_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"neural-higher-order-pattern-motif-prediction","repo_url":"https://github.com/graph-com/neural_higher-order_pattern_prediction","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":null,"task_name":"Triplet"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.06039","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.06039"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/graph-com/neural_higher-order_pattern_prediction","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":8},"by_repo_kind":{"official":{"samples":9,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"b76ea688550cb2aa","entry":"expand_last_dim","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"module.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/module.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b76ea688550cb2aa"}},{"code_sha256_prefix":"9df03d2335a59622","entry":"find_triangle_closure","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"find_pattern.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/find_pattern.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9df03d2335a59622"}},{"code_sha256_prefix":"7363b5672f6ecfc0","entry":"float2str","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"position.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/position.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7363b5672f6ecfc0"}},{"code_sha256_prefix":"71e33cd45a7eb62e","entry":"make_batched_keys","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"position.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/position.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"71e33cd45a7eb62e"}},{"code_sha256_prefix":"de0d9b7530c923d5","entry":"nodets2key","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"position.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/position.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"de0d9b7530c923d5"}},{"code_sha256_prefix":"9aad56561e90757d","entry":"preprocess_dataset","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"find_pattern.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/find_pattern.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9aad56561e90757d"}},{"code_sha256_prefix":"1bca86cbda580d51","entry":"process_pattern","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"interpretation.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/interpretation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1bca86cbda580d51"}},{"code_sha256_prefix":"5f52c56192f85b39","entry":"set_up_logger","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"log.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/log.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5f52c56192f85b39"}},{"code_sha256_prefix":"97cb7fae2bdc893a","entry":"to_percent","repo":"Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks","repo_kind":"official","path":"histogram.py","file_url":"https://github.com/Graph-COM/Neural_Higher-order_Pattern-Motif_Prediction_in_Temporal_Networks/blob/HEAD/histogram.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"97cb7fae2bdc893a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}