Papers › Doc2SoarGraph: Discrete Reasoning over Visually-Rich Table-Text Documents via...

Doc2SoarGraph: Discrete Reasoning over Visually-Rich Table-Text Documents via Semantic-Oriented Hierarchical Graphs

3 May 2023arXiv:2305.01938archive 2025-07-28

Fengbin Zhu, Chao Wang, Fuli Feng, Zifeng Ren, Moxin Li, Tat-Seng Chua

Discrete reasoning over table-text documents (e.g., financial reports) gains increasing attention in recent two years. Existing works mostly simplify this challenge by manually selecting and transforming document pages to structured tables and paragraphs, hindering their practical application. In this work, we explore a more realistic problem setting in the form of TAT-DQA, i.e. to answer the question over a visually-rich table-text document. Specifically, we propose a novel Doc2SoarGraph framework with enhanced discrete reasoning capability by harnessing the differences and correlations among different elements (e.g., quantities, dates) of the given question and document with Semantic-oriented hierarchical Graph structures. We conduct extensive experiments on TAT-DQA dataset, and the results show that our proposed framework outperforms the best baseline model by 17.73% and 16.91% in terms of Exact Match (EM) and F1 score respectively on the test set, achieving the new state-of-the-art.

PaperPDFCodeCode 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="2305.01938")

Code

Syntology Ran 5 of 19 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

fengbinzhu/doc2soargraph officialmentioned in papermentioned on GitHubjaxMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

19 samples harvested; 5 ran; 3 honoured the contract we drafted; 14 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.

3ran · honoured contract
2ran
14unverified

Licence: 0 of the 19 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 fengbinzhu/doc2soargraph. “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.

gelu fengbinzhu/doc2soargraph/etr/model/tree_model.py official repository ran · honoured contract fingerprinted MIT (permissive) · 56a9ab06b860b180 · report
is_remote_url fengbinzhu/doc2soargraph/etr/model/file_utils.py official repository ran MIT (permissive) · 899d1e2736236351 · report
torch_only_method fengbinzhu/doc2soargraph/etr/model/file_utils.py official repository ran MIT (permissive) · 56ffa4b32330ceab · report
warmup_constant fengbinzhu/doc2soargraph/etr/model/optimizer.py official repository ran · honoured contract fingerprinted MIT (permissive) · e7d542062316094a · report
warmup_linear fengbinzhu/doc2soargraph/etr/model/optimizer.py official repository ran · honoured contract fingerprinted MIT (permissive) · c58d57224530d17e · report
create_logger fengbinzhu/doc2soargraph/etr/model/sys_util.py official repository unverified MIT (permissive) · 10844798fc58cc7d · report
extract_feature_from_image fengbinzhu/doc2soargraph/etr/model/layout_model.py official repository unverified MIT (permissive) · e5ec43ad6ecbb2b9 · report
extract_gold_answers fengbinzhu/doc2soargraph/tatqa_metric.py official repository unverified MIT (permissive) · 3f39764e4b17918b · report
extract_one_num_from_str fengbinzhu/doc2soargraph/tatqa_utils.py official repository unverified MIT (permissive) · b591a51b9d4dd3bb · report
get_arithmetic_input fengbinzhu/doc2soargraph/etr/model/model_doc2soar.py official repository unverified MIT (permissive) · 4f6c175642bee7dc · report
get_logger fengbinzhu/doc2soargraph/etr/log.py official repository unverified MIT (permissive) · 85bc6fd421c42e7c · report
masked_cross_entropy fengbinzhu/doc2soargraph/etr/model/tree_model.py official repository unverified MIT (permissive) · 06efa6795b7a9514 · report
metric_max_over_ground_truths fengbinzhu/doc2soargraph/tatqa_metric.py official repository unverified MIT (permissive) · 03692148eacb9928 · report
normalize_bbox fengbinzhu/doc2soargraph/etr/model/layout_model.py official repository unverified MIT (permissive) · b97f0283fababae5 · report
replace_return_docstrings fengbinzhu/doc2soargraph/etr/model/file_utils.py official repository unverified MIT (permissive) · 2cd9135e83a62a04 · report
scale_to_num fengbinzhu/doc2soargraph/tatqa_utils.py official repository unverified MIT (permissive) · 71b0d5b420628a19 · report
sequence_mask fengbinzhu/doc2soargraph/etr/model/tree_model.py official repository unverified MIT (permissive) · aa9d285348e69a1a · report
simple_extract_one_num_from_str fengbinzhu/doc2soargraph/tatqa_utils.py official repository unverified MIT (permissive) · 8550db0b2a901b9c · report
warmup_cosine fengbinzhu/doc2soargraph/etr/model/optimizer.py official repository unverified MIT (permissive) · 35f7cddf90dd05d4 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Test

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