{"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/arxiv-2511-21416","title":"Odin: Oriented Dual-module Integration for Text-rich Network Representation Learning","arxiv_id":"2511.21416","date":"2025-11-26","proceeding":null,"authors":["Kaifeng Hong","Yinglong Zhang","Xiaoying Hong","Xuewen Xia","Xing Xu"],"abstract":"Text-attributed graphs require models to effectively combine strong textual understanding with structurally informed reasoning. Existing approaches either rely on GNNs--limited by over-smoothing and hop-dependent diffusion--or employ Transformers that overlook graph topology and treat nodes as isolated sequences. We propose Odin (Oriented Dual-module INtegration), a new architecture that injects graph structure into Transformers at selected depths through an oriented dual-module mechanism. Unlike message-passing GNNs, Odin does not rely on multi-hop diffusion; instead, multi-hop structures are integrated at specific Transformer layers, yielding low-, mid-, and high-level structural abstraction aligned with the model's semantic hierarchy. Because aggregation operates on the global [CLS] representation, Odin fundamentally avoids over-smoothing and decouples structural abstraction from neighborhood size or graph topology. We further establish that Odin's expressive power strictly contains that of both pure Transformers and GNNs. To make the design efficient in large-scale or low-resource settings, we introduce Light Odin, a lightweight variant that preserves the same layer-aligned structural abstraction for faster training and inference. Experiments on multiple text-rich graph benchmarks show that Odin achieves state-of-the-art accuracy, while Light Odin delivers competitive performance with significantly reduced computational cost. Together, Odin and Light Odin form a unified, hop-free framework for principled structure-text integration. The source code of this model has been released at https://github.com/hongkaifeng/Odin.","url_abs":"https://arxiv.org/abs/2511.21416","url_pdf":"https://arxiv.org/pdf/2511.21416","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2511.21416","atlas_url":"https://app.syntology.ai/?focus=2511.21416","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2511.21416"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/hongkaifeng/Odin","reach":null}],"summary":{"ran":4,"ran_draft_wrong":2,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":12,"ran":6,"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":12,"samples":[{"code_sha256_prefix":"1ca500dc6d3e0485","entry":"BertOutput","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"1ca500dc6d3e0485"}},{"code_sha256_prefix":"f2984e2313d67383","entry":"BertSelfAttention","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"f2984e2313d67383"}},{"code_sha256_prefix":"d2a01c9ffae7873c","entry":"BertSelfOutput","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"d2a01c9ffae7873c"}},{"code_sha256_prefix":"150918388c2fed8e","entry":"SingleLayerGraphSAGE","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"150918388c2fed8e"}},{"code_sha256_prefix":"1f8bc1150ae0cf8b","entry":"get_all_distances_from_center","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1f8bc1150ae0cf8b"}},{"code_sha256_prefix":"1377d029e5372c58","entry":"remove_nodes","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1377d029e5372c58"}},{"code_sha256_prefix":"15dfdc5559b52462","entry":"BertAttention","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"15dfdc5559b52462"}},{"code_sha256_prefix":"ffaf6bb5b06be8ca","entry":"BertLayer","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"ffaf6bb5b06be8ca"}},{"code_sha256_prefix":"d117d3eba3949c80","entry":"CLSAggregator","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"d117d3eba3949c80"}},{"code_sha256_prefix":"636099a509f5514a","entry":"GraphBertEncoder","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"636099a509f5514a"}},{"code_sha256_prefix":"ecc7d04b3ca4b5ea","entry":"GraphFormers","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"ecc7d04b3ca4b5ea"}},{"code_sha256_prefix":"fc9042dadd5ee290","entry":"GraphFormersForLinkPredict","repo":"hongkaifeng/Odin","repo_kind":"found_in_text","path":"src/OpenLP/models/Graphformer ME.py","file_url":"https://github.com/hongkaifeng/Odin/blob/HEAD/src/OpenLP/models/Graphformer%20ME.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":"fc9042dadd5ee290"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_api"},"syntology_extracted_results":null}