{"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/open-world-lifelong-graph-learning","title":"Open-World Lifelong Graph Learning","arxiv_id":"2310.12565","date":"2023-10-19","proceeding":null,"authors":["Marcel Hoffmann","Lukas Galke","Ansgar Scherp"],"abstract":"We study the problem of lifelong graph learning in an open-world scenario, where a model needs to deal with new tasks and potentially unknown classes. We utilize Out-of-Distribution (OOD) detection methods to recognize new classes and adapt existing non-graph OOD detection methods to graph data. Crucially, we suggest performing new class detection by combining OOD detection methods with information aggregated from the graph neighborhood. Most OOD detection methods avoid determining a crisp threshold for deciding whether a vertex is OOD. To tackle this problem, we propose a Weakly-supervised Relevance Feedback (Open-WRF) method, which decreases the sensitivity to thresholds in OOD detection. We evaluate our approach on six benchmark datasets. Our results show that the proposed neighborhood aggregation method for OOD scores outperforms existing methods independent of the underlying graph neural network. Furthermore, we demonstrate that our Open-WRF method is more robust to threshold selection and analyze the influence of graph neighborhood on OOD detection. The aggregation and threshold methods are compatible with arbitrary graph neural networks and OOD detection methods, making our approach versatile and applicable to many real-world applications.","url_abs":"https://arxiv.org/abs/2310.12565v1","url_pdf":"https://arxiv.org/pdf/2310.12565v1.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":"open-world-lifelong-graph-learning","repo_url":"https://github.com/bobowner/open-world-lgl","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"graph-learning","task_name":"Graph Learning"},{"task_slug":"graph-neural-network","task_name":"Graph Neural Network"},{"task_slug":"ood-detection","task_name":"Out of Distribution (OOD) Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2310.12565","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.12565"}},"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/bobowner/open-world-lgl","reach":{"status":"ok"}}],"summary":{"ran":12,"unverified":3},"by_repo_kind":{"official":{"samples":15,"ran":12,"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":15,"samples":[{"code_sha256_prefix":"e01e6f8f3431541a","entry":"add_edge_weight","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"data_iterators.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/data_iterators.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e01e6f8f3431541a"}},{"code_sha256_prefix":"73434f1baa29b6e9","entry":"bool2pmone","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"evaluation.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"73434f1baa29b6e9"}},{"code_sha256_prefix":"f86950d3522d7eaf","entry":"calc_precision_recall","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"evaluation.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f86950d3522d7eaf"}},{"code_sha256_prefix":"34c45914408314d8","entry":"evaluate_classifier","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"evaluation.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"34c45914408314d8"}},{"code_sha256_prefix":"e60ca669688f5ea2","entry":"find_pars_yaml","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"handle_meta_data.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/handle_meta_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e60ca669688f5ea2"}},{"code_sha256_prefix":"14204c69b333a5ab","entry":"get_A_r","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"models/graph_mlp.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/models/graph_mlp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"14204c69b333a5ab"}},{"code_sha256_prefix":"e2bef084b2ed04a7","entry":"get_graph","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"load_dataset.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/load_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e2bef084b2ed04a7"}},{"code_sha256_prefix":"2f98764744719bda","entry":"get_graph_masks","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"load_dataset.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/load_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f98764744719bda"}},{"code_sha256_prefix":"d5ebd613cef4acf2","entry":"get_state","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"handle_meta_data.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/handle_meta_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d5ebd613cef4acf2"}},{"code_sha256_prefix":"a4346d9252a7ce25","entry":"get_task_masks","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"load_dataset.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/load_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a4346d9252a7ce25"}},{"code_sha256_prefix":"cf43cd2605475571","entry":"make_inductive","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"data_iterators.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/data_iterators.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cf43cd2605475571"}},{"code_sha256_prefix":"c014d3536fad0c04","entry":"sample_graph_mlp","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"data_iterators.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/data_iterators.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c014d3536fad0c04"}},{"code_sha256_prefix":"3f90be77bee74d0c","entry":"aug_normalized_adjacency","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"models/graph_mlp.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/models/graph_mlp.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":"3f90be77bee74d0c"}},{"code_sha256_prefix":"ab836df32acbdeec","entry":"delete_last_setting","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"handle_meta_data.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/handle_meta_data.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":"ab836df32acbdeec"}},{"code_sha256_prefix":"20622d9ddf74ea35","entry":"getAr","repo":"bobowner/open-world-lgl","repo_kind":"official","path":"models/graph_mlp.py","file_url":"https://github.com/bobowner/open-world-lgl/blob/HEAD/models/graph_mlp.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":"20622d9ddf74ea35"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}