Papers › HGNet: Scalable Foundation Model for Automated Knowledge Graph Generation from...

HGNet: Scalable Foundation Model for Automated Knowledge Graph Generation from Scientific Literature

24 Mar 2026arXiv:2603.23136added by Syntology

Devvrat Joshi, Islem Rekik

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Automated knowledge graph (KG) construction is essential for navigating the rapidly expanding body of scientific literature. However, existing approaches struggle to recognize long multi-word entities, often fail to generalize across domains, and typically overlook the hierarchical nature of scientific knowledge. While general-purpose large language models (LLMs) offer adaptability, they are computationally expensive and yield inconsistent accuracy on specialized tasks. As a result, current KGs are shallow and inconsistent, limiting their utility for exploration and synthesis. We propose a two-stage framework for scalable, zero-shot scientific KG construction. The first stage, Z-NERD, introduces (i) Orthogonal Semantic Decomposition (OSD), which promotes domain-agnostic entity recognition by isolating semantic "turns" in text, and (ii) a Multi-Scale TCQK attention mechanism that captures coherent multi-word entities through n-gram-aware attention heads. The second stage, HGNet, performs relation extraction with hierarchy-aware message passing, explicitly modeling parent, child, and peer relations. To enforce global consistency, we introduce two complementary objectives: a Differentiable Hierarchy Loss to discourage cycles and shortcut edges, and a Continuum Abstraction Field (CAF) Loss that embeds abstraction levels along a learnable axis in Euclidean space. This is the first approach to formalize hierarchical abstraction as a continuous property within standard Euclidean embeddings, offering a simpler alternative to hyperbolic methods. We release SPHERE (https://github.com/basiralab/SPHERE), a multi-domain benchmark for hierarchical relation extraction. Our framework establishes a new state of the art on SciERC, SciER, and SPHERE, improving NER by 8.08% and RE by 5.99% on out-of-distribution tests. In zero-shot settings, gains reach 10.76% for NER and 26.2% for RE.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2603.23136")

Code

Syntology Ran 0 of 20 code samples harvested from 1 repository linked to this paper; 20 have no recorded run.

By repository: found in paper text by Syntology: 20 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

basiralab/HGNet found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 0 ran; 0 honoured the contract we drafted; 20 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

20unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from basiralab/HGNet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_custom_label_maps basiralab/HGNet/NER/proposed_solution/Z-NERD/znerd.py found in paper text by Syntology unverified MIT (permissive) · 79c6aef5fe941ce2 · report
create_l2_prompt basiralab/HGNet/dataset_generation/generate_concepts.py found in paper text by Syntology unverified MIT (permissive) · 5e5f51beecce3560 · report
create_model_with_config basiralab/HGNet/NER/proposed_solution/Z-NERD/znerd_neural_scaling_laws_analysis_iclr.py found in paper text by Syntology unverified MIT (permissive) · a71c6067d98f0b80 · report
evaluate_conll basiralab/HGNet/RE/baselines/PL-Marker/conll.py found in paper text by Syntology unverified MIT (permissive) · 15f2da988c1b38ad · report
find_entity_in_text basiralab/HGNet/dataset_generation/fix_sphere_spans.py found in paper text by Syntology unverified MIT (permissive) · 150fa6d1890c5543 · report
get_doc_key basiralab/HGNet/RE/baselines/PL-Marker/conll.py found in paper text by Syntology unverified MIT (permissive) · f300a33fe05fc609 · report
get_entity_types_from_data basiralab/HGNet/NER/proposed_solution/Z-NERD/znerd.py found in paper text by Syntology unverified MIT (permissive) · 98a7c13fab8f4b94 · report
get_original_token basiralab/HGNet/RE/baselines/PL-Marker/preprocess_ontonotes.py found in paper text by Syntology unverified MIT (permissive) · e54f1fe179178f6b · report
get_saved_checkpoint basiralab/HGNet/RE/baselines/HGERE/run_hgnn.py found in paper text by Syntology unverified MIT (permissive) · 5fd358d232781554 · report
is_text_duplicate basiralab/HGNet/dataset_generation/generate_main_data.py found in paper text by Syntology unverified MIT (permissive) · ad1fb87a387fa034 · report
load_and_convert_scierc basiralab/HGNet/NER/proposed_solution/Z-NERD/znerd.py found in paper text by Syntology unverified MIT (permissive) · 4529163604f4d452 · report
load_custom_data basiralab/HGNet/NER/proposed_solution/Z-NERD/znerd_neural_scaling_laws_analysis_iclr.py found in paper text by Syntology unverified MIT (permissive) · 900674fcafa5fc6f · report
load_json_file basiralab/HGNet/dataset_generation/generate_concepts.py found in paper text by Syntology unverified MIT (permissive) · 3a2ea5a81c2031b2 · report
load_jsonl basiralab/HGNet/datasets/SPHERE/prepare_sphere.py found in paper text by Syntology unverified MIT (permissive) · d796bc0f8d962649 · report
normalize_relation_type basiralab/HGNet/dataset_generation/fix_sphere_spans.py found in paper text by Syntology unverified MIT (permissive) · 362a1fab2c7b79e8 · report
normalize_word basiralab/HGNet/RE/baselines/PL-Marker/preprocess_ontonotes.py found in paper text by Syntology unverified MIT (permissive) · ba4eb9ed094dc59e · report
official_conll_eval basiralab/HGNet/RE/baselines/PL-Marker/conll.py found in paper text by Syntology unverified MIT (permissive) · b12f4137ab9599e7 · report
save_sentences_thread_safe basiralab/HGNet/dataset_generation/generate_main_data.py found in paper text by Syntology unverified MIT (permissive) · d132cfb64d61d6cd · report
set_logger basiralab/HGNet/RE/baselines/HGERE/run_hgnn.py found in paper text by Syntology unverified MIT (permissive) · 4d88e67fe857597d · report
strip_parenthetical basiralab/HGNet/dataset_generation/fix_sphere_spans.py found in paper text by Syntology unverified MIT (permissive) · e5b6fb6c78dd4e95 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.23136, was issued in March 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections