Papers › RouterKGQA: Specialized--General Model Routing for Constraint-Aware Knowledge Graph...

RouterKGQA: Specialized--General Model Routing for Constraint-Aware Knowledge Graph Question Answering

20 Mar 2026arXiv:2603.20017added by Syntology

Bo Yuan, Hexuan Deng, Xuebo Liu, Min Zhang

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

Knowledge graph question answering (KGQA) is a promising approach for mitigating LLM hallucination by grounding reasoning in structured and verifiable knowledge graphs. Existing approaches fall into two paradigms: retrieval-based methods utilize small specialized models, which are efficient but often produce unreachable paths and miss implicit constraints, while agent-based methods utilize large general models, which achieve stronger structural grounding at substantially higher cost. We propose RouterKGQA, a framework for specialized--general model collaboration, in which a specialized model generates reasoning paths and a general model performs KG-guided repair only when needed, improving performance at minimal cost. We further equip the specialized with constraint-aware answer filtering, which reduces redundant answers. In addition, we design a more efficient general agent workflow, further lowering inference cost. Experimental results show that RouterKGQA outperforms the previous best by 3.57 points in F1 and 0.49 points in Hits@1 on average across benchmarks, while requiring only 1.15 average LLM calls per question. Codes and models are available at https://github.com/Oldcircle/RouterKGQA.

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.20017")

Code

Syntology Ran 3 of 20 code samples harvested from 1 repository linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong.

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

Oldcircle/RouterKGQA 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; 3 ran; 0 honoured the contract we drafted; 17 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.

1ran · violated contract
2ran · our draft was wrong
17unverified

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 Oldcircle/RouterKGQA. “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.

to_list Oldcircle/RouterKGQA/config.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 9df40357afea56cc · report
is_number Oldcircle/RouterKGQA/evaluate.py found in paper text by Syntology ran · violated contract MIT (permissive) · b2feca00ae40a160 · report
type_checker Oldcircle/RouterKGQA/evaluate.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 038bd5a70277091b · report
date_post_process Oldcircle/RouterKGQA/evaluate.py found in paper text by Syntology unverified MIT (permissive) · 12463bd4ac760fc0 · report
dump_json Oldcircle/RouterKGQA/components/utils.py found in paper text by Syntology unverified MIT (permissive) · c6c40b1c5bfcfce5 · report
get_model_class Oldcircle/RouterKGQA/config.py found in paper text by Syntology unverified MIT (permissive) · e267b92fe2e9c426 · report
get_symbol_type Oldcircle/RouterKGQA/executor/logic_form_util.py found in paper text by Syntology unverified MIT (permissive) · 59e485418bc26b24 · report
get_value_for_year Oldcircle/RouterKGQA/entity_retrieval/aqqu_entity_linker.py found in paper text by Syntology unverified MIT (permissive) · 572a76bdb7ce1656 · report
httpPort Oldcircle/RouterKGQA/Freebase-Setup/virtuoso.py found in paper text by Syntology unverified MIT (permissive) · 2bc45468ebfe2d61 · report
isqlPort Oldcircle/RouterKGQA/Freebase-Setup/virtuoso.py found in paper text by Syntology unverified MIT (permissive) · f42bcb1c173e1a09 · report
lisp_to_nested_expression Oldcircle/RouterKGQA/executor/logic_form_util.py found in paper text by Syntology unverified MIT (permissive) · 2d8aeba7bf38ecda · report
load_bin Oldcircle/RouterKGQA/components/utils.py found in paper text by Syntology unverified MIT (permissive) · 0572ce867129132b · report
load_json Oldcircle/RouterKGQA/components/utils.py found in paper text by Syntology unverified MIT (permissive) · 7277c744809fb106 · report
load_untrained_model Oldcircle/RouterKGQA/config.py found in paper text by Syntology unverified MIT (permissive) · e8cde2d16a8c1b7c · report
parse_all_filters Oldcircle/RouterKGQA/data_process/sparql_to_crp.py found in paper text by Syntology unverified MIT (permissive) · b800e090d1f27021 · report
parse_sparql Oldcircle/RouterKGQA/data_process/sparql_to_crp.py found in paper text by Syntology unverified MIT (permissive) · f6084e968f694bac · report
read_abbreviations Oldcircle/RouterKGQA/entity_retrieval/aqqu_util.py found in paper text by Syntology unverified MIT (permissive) · 3e0e55a1459eb4f0 · report
remove_abbreviations_from_entity_name Oldcircle/RouterKGQA/entity_retrieval/aqqu_util.py found in paper text by Syntology unverified MIT (permissive) · 2b8c76f1ff45f86e · report
run Oldcircle/RouterKGQA/Freebase-Setup/virtuoso.py found in paper text by Syntology unverified MIT (permissive) · acd5c28102430f1b · report
same_logical_form Oldcircle/RouterKGQA/executor/logic_form_util.py found in paper text by Syntology unverified MIT (permissive) · 87e2744d57d71f30 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.20017, 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