{"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/is-a-single-vector-enough-exploring-node","title":"Is a Single Vector Enough? Exploring Node Polysemy for Network Embedding","arxiv_id":"1905.10668","date":"2019-05-25","proceeding":null,"authors":["Ninghao Liu","Qiaoyu Tan","Yuening Li","Hongxia Yang","Jingren Zhou","Xia Hu"],"abstract":"Networks have been widely used as the data structure for abstracting real-world systems as well as organizing the relations among entities. Network embedding models are powerful tools in mapping nodes in a network into continuous vector-space representations in order to facilitate subsequent tasks such as classification and link prediction. Existing network embedding models comprehensively integrate all information of each node, such as links and attributes, towards a single embedding vector to represent the node's general role in the network. However, a real-world entity could be multifaceted, where it connects to different neighborhoods due to different motives or self-characteristics that are not necessarily correlated. For example, in a movie recommender system, a user may love comedies or horror movies simultaneously, but it is not likely that these two types of movies are mutually close in the embedding space, nor the user embedding vector could be sufficiently close to them at the same time. In this paper, we propose a polysemous embedding approach for modeling multiple facets of nodes, as motivated by the phenomenon of word polysemy in language modeling. Each facet of a node is mapped as an embedding vector, while we also maintain association degree between each pair of node and facet. The proposed method is adaptive to various existing embedding models, without significantly complicating the optimization process. We also discuss how to engage embedding vectors of different facets for inference tasks including classification and link prediction. Experiments on real-world datasets help comprehensively evaluate the performance of the proposed method.","url_abs":"https://arxiv.org/abs/1905.10668v1","url_pdf":"https://arxiv.org/pdf/1905.10668v1.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":"is-a-single-vector-enough-exploring-node","repo_url":"https://github.com/ninghaohello/Polysemous-Network-Embedding","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"classification","task_name":"General Classification"},{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"link-prediction","task_name":"Link Prediction"},{"task_slug":"network-embedding","task_name":"Network Embedding"},{"task_slug":"recommendation-systems","task_name":"Recommendation Systems"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1905.10668","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1905.10668"}},"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/ninghaohello/Polysemous-Network-Embedding","reach":null}],"summary":{"ran_draft_wrong":3,"unverified":1},"by_repo_kind":{"listed":{"samples":4,"ran":3,"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":4,"samples":[{"code_sha256_prefix":"b41ee090e8f3d74e","entry":"bipartite2homo","repo":"ninghaohello/Polysemous-Network-Embedding","repo_kind":"listed","path":"src/main_poly_pte.py","file_url":"https://github.com/ninghaohello/Polysemous-Network-Embedding/blob/HEAD/src/main_poly_pte.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b41ee090e8f3d74e"}},{"code_sha256_prefix":"a21a3e9e1efd12ca","entry":"load_edgelist","repo":"ninghaohello/Polysemous-Network-Embedding","repo_kind":"listed","path":"src/main_poly_deepwalk.py","file_url":"https://github.com/ninghaohello/Polysemous-Network-Embedding/blob/HEAD/src/main_poly_deepwalk.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a21a3e9e1efd12ca"}},{"code_sha256_prefix":"b655720b45e9894a","entry":"shift_to_zero","repo":"ninghaohello/Polysemous-Network-Embedding","repo_kind":"listed","path":"src/main_poly_pte.py","file_url":"https://github.com/ninghaohello/Polysemous-Network-Embedding/blob/HEAD/src/main_poly_pte.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b655720b45e9894a"}},{"code_sha256_prefix":"43cca77a9d6e6b46","entry":"clustering","repo":"ninghaohello/Polysemous-Network-Embedding","repo_kind":"listed","path":"src/main_poly_pte.py","file_url":"https://github.com/ninghaohello/Polysemous-Network-Embedding/blob/HEAD/src/main_poly_pte.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"43cca77a9d6e6b46"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}