SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.06904 · ACL · 2024

Hypergraph based Understanding for Document Semantic Entity Recognition

Ping Wang, Zuchao Li, Hai Zhao, Qiwei Li, Haojun Ai

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.06904.json · badge: /api/ran/2407.06904.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Line-Kite/HGALayoutLM canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
FunctionStatusWhere it lives
crop Ran
ran on a synthesized input
Line-Kite/HGALayoutLM/utils/image_utils.py
pointer only (licence: NONE) · get_code("8dacfd39c4a41e17")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Line-Kite/HGALayoutLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

json_loader Ran
ran; our contract draft was wrong, not the code
Line-Kite/HGALayoutLM/utils/graph_builder_uitls.py
pointer only (licence: NONE) · get_code("8ea97f6b5e77a0f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Line-Kite/HGALayoutLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_bbox Ran
ran; our contract draft was wrong, not the code
Line-Kite/HGALayoutLM/utils/image_utils.py
pointer only (licence: NONE) · get_code("c23469a99394f25f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Line-Kite/HGALayoutLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

posotion_judge Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Line-Kite/HGALayoutLM/utils/graph_builder_uitls.py
pointer only (licence: NONE) · get_code("739884d68f7e0bd2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Line-Kite/HGALayoutLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

set_edges Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Line-Kite/HGALayoutLM/utils/graph_utils.py
pointer only (licence: NONE) · get_code("87320a38b510a8c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Line-Kite/HGALayoutLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

set_nodes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Line-Kite/HGALayoutLM/utils/graph_utils.py
pointer only (licence: NONE) · get_code("4fdc6cc217a701d5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Line-Kite/HGALayoutLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
normalize_bbox 1 other paper
1 dated earlier
2306.00526 (2023-06)
Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answering

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Semantic entity recognition is an important task in the field of visually-rich document understanding. It distinguishes the semantic types of text by analyzing the position relationship between text nodes and the relation between text content. The existing document understanding models mainly focus on entity categories while ignoring the extraction of entity boundaries. We build a novel hypergraph attention document semantic entity recognition framework, HGA, which uses hypergraph attention to focus on entity boundaries and entity categories at the same time. It can conduct a more detailed analysis of the document text representation analyzed by the upstream model and achieves a better performance of semantic information. We apply this method on the basis of GraphLayoutLM to construct a new semantic entity recognition model HGALayoutLM. Our experiment results on FUNSD, CORD, XFUND and SROIE show that our method can effectively improve the performance of semantic entity recognition tasks based on the original model. The results of HGALayoutLM on FUNSD and XFUND reach the new state-ofthe-art results.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.06904")
get_code_for_paper("2407.06904")
have("2407.06904")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.06904.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.06904.svg)](https://syntology.ai/paper/2407.06904)

Connect an agent — have() is free.