Papers › SGHA: Evidence-Grounded Research Problem Discovery with Local Language Models

SGHA: Evidence-Grounded Research Problem Discovery with Local Language Models

18 Aug 2026arXiv:2608.17501added by Syntology

Sarvesh Gharat, Junpei Komiyama

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

Recent efforts toward fully automated AI scientists have demonstrated that language-model agents can generate hypotheses, execute experiments, and draft scientific manuscripts. However, during the early stages of research, when research problems are formulated, these AI scientists often rely heavily on proprietary frontier models. Their proposals are shaped by opaque parametric knowledge and by literature searches conditioned on the proposals themselves. Such knowledge is effectively a black box, and this dependence makes the evidential basis and validity of generated research problems difficult to audit and leaves the process vulnerable to model-specific hallucinations and biases. Furthermore, if proprietary research materials are transmitted to external APIs, the use of these models creates confidentiality, privacy, and data-governance concerns. We introduce the Structural Gap Hypothesis Agent (SGHA), a fully automated, corpus-first research-problem discovery system that runs entirely on a local LLM. SGHA structures a scientific literature corpus into evidence-linked paper objects and a typed evidence graph, detects unresolved structural patterns across papers, screens candidate gaps before formulation, and produces traceable research-problem families. In particular, it is able to output assumptions, objectives, success criteria, and remaining ambiguities. All LLM-based components of SGHA are executed using a locally served open-weight 9B language model, without requiring proprietary frontier-model APIs. We compare SGHA with the AI Scientist-v2 idea formulation module in five machine-learning domains. Our results suggest that explicit corpus structure and evidence-constrained reasoning can support promising, inspectable research-problem formulation without relying on frontier models during generation or verification.

PaperPDFCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 46 code samples harvested from 1 repository linked to this paper: 35 ran (of which 2 constructed an object rather than computing a result; 6 with no instrument failure: 4 honoured, 0 violated, 2 with no contract checked; 29 where Syntology's instrument failed) · 11 unverified. Where Syntology's instrument failed: 28 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 46 samples from 1 repository, 35 ran (6 with no instrument failure; 29 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

SarveshVGharat/structural-gap-hypothesis-agent found in paper text by SyntologySyntology: 46 samples, 35 ran (29 instrument-failed) · 11 unverified 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

46 samples harvested: 35 ran (of which 2 constructed an object rather than computing a result; 6 with no instrument failure: 4 honoured, 0 violated, 2 with no contract checked; 29 where Syntology's instrument failed) · 11 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · honoured contract
28ran · our draft was wrong
1ran; the contract check could not run
2ran
11unverified

Licence: 0 of the 46 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 SarveshVGharat/structural-gap-hypothesis-agent. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

SarveshVGharat/structural-gap-hypothesis-agent found in paper text by Syntology 46 samples, 35 ran (29 instrument-failed) · 11 unverified
CandidateGap src/sgha/gap_detection.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 4fd12cb55d0c3e39 · report fixture: returned CandidateGap · level recorded 2026-09-22
MotifHit src/sgha/gap_detection.py ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 1990a33e2eb27c2a · report fixture: returned MotifHit · level recorded 2026-09-22
_bounded_graph src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 37610c9e350c0fb4 · report fixture: signature graph:MultiDiGraph/0/?, max_nodes:int/0/int · returned MultiDiGraph · level recorded 2026-09-22
_csv_value src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · c87bdcd9651987a8 · report fixture: signature value:dict/0/? · returned str · level recorded 2026-09-22
_derive_mechanism src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · a1b44bc5609a2a3a · report fixture: signature hit:MotifHit/0/? · returned str · level recorded 2026-09-22
_graphml_safe_copy src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · c72d2717c3edd7ca · report fixture: signature graph:MultiDiGraph/0/? · returned MultiDiGraph · level recorded 2026-09-22
_safe_attr src/sgha/gap_detection.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 4f4348f48f92d5ad · report fixture: signature value:str/0/str · returned str · level recorded 2026-09-22
_summary_rows src/sgha/gap_detection.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 044559028ec38a98 · report fixture: signature values:list/1/str, field:str/0/str · returned list · level recorded 2026-09-22
add_edge in 5 papers src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 1d98057df833e09b · report fixture: signature graph:MultiDiGraph/0/?, source:str/0/str, target:str/0/str, relation:str/0/str, paper_id:str/0/str, evidence_text:str/0/str, section:str/0/str, confidence:float/0/float · returned str · level recorded 2026-09-22
assumption_mismatch src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · decad84f653c39db · report fixture: signature graph:MultiDiGraph/0/? · returned list · level recorded 2026-09-22
bounded src/sgha/gap_detection.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · 2cec75e36c6b83fc · report fixture: signature value:float/0/float, low:float/0/float, high:float/0/float · returned float · level recorded 2026-09-22
candidate_gap_from_hit src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 80ed8cfaa7625567 · report fixture: signature hit:MotifHit/0/? · returned CandidateGap · level recorded 2026-09-22
candidate_overall src/sgha/gap_detection.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · b35ecfd464d446d4 · report fixture: signature novelty:float/0/float, feasibility:float/0/float, impact:float/0/float, motif_score:float/0/float · returned float · level recorded 2026-09-22
claim_without_measurement src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 109d08404cadc616 · report fixture: signature graph:MultiDiGraph/0/?, max_measurement_edges:int/0/int, require_claim_keyword:bool/0/bool, min_papers:int/0/int, min_claim_edges:int/0/int · returned list · level recorded 2026-09-22
conflicting_claims src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 926f6d191c21910c · report fixture: signature graph:MultiDiGraph/0/? · returned list · level recorded 2026-09-22
edge_rows src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 2cbba16af2e9a62a · report fixture: signature graph:MultiDiGraph/0/? · returned list · level recorded 2026-09-22
ensure_dir in 22 papers src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 618c853a29411feb · report fixture: signature path:PosixPath/0/? · returned PosixPath · level recorded 2026-09-22
load_graph in 36 papers src/sgha/gap_detection.py ran · honoured contract Apache-2.0 (permissive) · 02ec7d29f5aba8e5 · report fixture: signature path:str/0/str · returned MultiDiGraph · level recorded 2026-09-22
missing_baseline_comparison src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 157e56b5e9c0d18b · report fixture: signature graph:MultiDiGraph/0/?, min_eval_edges:int/0/int, min_method_papers:int/0/int · returned list · level recorded 2026-09-22
missing_stress_test src/sgha/gap_detection.py ran · honoured contract Apache-2.0 (permissive) · ab80218346933a00 · report fixture: signature graph:MultiDiGraph/0/?, min_methods:int/0/int, min_papers:int/0/int, max_eval_edges:int/0/int · returned list · level recorded 2026-09-22
model_dump src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 0bfcf7878847fb49 · report fixture: signature obj:MockModelWithModelDump/0/? · returned dict · level recorded 2026-09-22
motif_rows src/sgha/gap_detection.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · babfc1664ca4860d · report fixture: signature hits:list/1/MotifHit · returned list · level recorded 2026-09-22
node_rows src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 79979887a7848830 · report fixture: signature graph:MultiDiGraph/0/? · returned list · level recorded 2026-09-22
repeated_unaddressed_limitation src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · adfe356506baf3de · report fixture: signature graph:MultiDiGraph/0/?, min_papers:int/0/int · returned list · level recorded 2026-09-22
shared_failure_condition src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · eadeb9da55964aae · report fixture: signature graph:MultiDiGraph/0/?, min_methods:int/0/int · returned list · level recorded 2026-09-22
shared_unrealistic_assumption src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 8dbe60e4272ff86d · report fixture: signature graph:MultiDiGraph/0/?, min_methods:int/0/int · returned list · level recorded 2026-09-22
sparse_evaluation src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · f50e6ed55ee46158 · report fixture: signature graph:MultiDiGraph/0/?, min_mentions:int/0/int, max_evaluations:int/0/int · returned list · level recorded 2026-09-22
theory_practice_gap src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · fcdda5866a0f4078 · report fixture: signature graph:MultiDiGraph/0/?, min_papers:int/0/int · returned list · level recorded 2026-09-22
to_jsonable src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 410b43e930daf358 · report fixture: signature value:dict/0/? · returned dict · level recorded 2026-09-22
transfer_solution_gap src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · b41a60f12b76e264 · report fixture: signature graph:MultiDiGraph/0/?, min_papers:int/0/int, min_methods:int/0/int · returned list · level recorded 2026-09-22
unrealistic_assumption src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 95d0d271de00ecaf · report fixture: signature graph:MultiDiGraph/0/? · returned list · level recorded 2026-09-22
write_csv src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · c1306d470d6124f0 · report fixture: signature path:PosixPath/0/?, rows:list/1/dict, fieldnames:list/1/str · returned PosixPath · level recorded 2026-09-22
write_json in 11 papers src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · 7cb5283783868c23 · report fixture: signature path:str/0/str, data:dict/0/?, indent:int/0/int · returned PosixPath · level recorded 2026-09-22
write_pyvis_html src/sgha/gap_detection.py ran; the contract check could not run (DEP_MISSING) · metamorphic tier: deterministic Apache-2.0 (permissive) · d52b043bbbd9a3c7 · report fixture: signature graph:MultiDiGraph/0/?, output_path:PosixPath/0/?, max_nodes:int/0/int · returned PosixPath · level recorded 2026-09-22
write_text src/sgha/gap_detection.py ran · our draft was wrong Apache-2.0 (permissive) · e68bafb350668e32 · report fixture: signature path:str/0/str, text:str/0/str · returned PosixPath · level recorded 2026-09-22
_resolve_legacy_activation src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · a8365d7b5c2562c1 · report
_resolve_profile_activation src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · 59b9ba25b78b03b7 · report
_run_detector src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · 75de469192fc268d · report
add_gap_nodes src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · bb134125988d9921 · report
detect_gaps src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · 868fb311a4f7d5bb · report
export_graph src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · 32cc20b6d43cb0f5 · report
merge_strict_thresholds src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · bdd1d54718d5e6d7 · report
resolve_motif_activation src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · e152cef3ea78469f · report
run_all_motif_queries src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · b2c432f5adfc00bd · report
stable_id src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · 37b58d435c0540df · report
unresolved_tradeoff src/sgha/gap_detection.py unverified Apache-2.0 (permissive) · 2b667228e0f42ce7 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for SGHA (graph method: SGHA). 46 bricks; individually on a fixture: 35 ran (of which 2 constructed an object rather than computing a result; 6 with no instrument failure: 4 honoured, 0 violated, 2 with no contract checked; 29 where Syntology's instrument failed) · 11 unverified. The assembly has not been run end-to-end.

  1. detect_gaps entry · level 0 · unverified · 868fb311a4f7d5bb
  2. CandidateGap helper · level 1 · ran · 4fd12cb55d0c3e39
  3. add_gap_nodes helper · level 0 · unverified · bb134125988d9921
  4. candidate_gap_from_hit helper · level 1 · ran · our draft was wrong · 80ed8cfaa7625567
  5. export_graph helper · level 0 · unverified · 32cc20b6d43cb0f5
  6. load_graph helper · level 1 · ran · honoured contract · 02ec7d29f5aba8e5
  7. model_dump helper · level 1 · ran · our draft was wrong · 0bfcf7878847fb49
  8. motif_rows helper · level 1 · ran · our draft was wrong · babfc1664ca4860d
  9. resolve_motif_activation helper · level 0 · unverified · e152cef3ea78469f
  10. run_all_motif_queries helper · level 0 · unverified · b2c432f5adfc00bd
  11. write_csv helper · level 1 · ran · our draft was wrong · c1306d470d6124f0
  12. write_json helper · level 1 · ran · our draft was wrong · 7cb5283783868c23
  13. write_pyvis_html helper · level 1 · ran; the contract check could not run (DEP_MISSING) · d52b043bbbd9a3c7
  14. add_edge helper · level 1 · ran · our draft was wrong · 1d98057df833e09b
  15. MotifHit helper · level 1 · ran · 1990a33e2eb27c2a
  16. _derive_mechanism helper · level 1 · ran · our draft was wrong · a1b44bc5609a2a3a
  17. candidate_overall helper · level 1 · ran · honoured contract · b35ecfd464d446d4
  18. stable_id helper · level 0 · unverified · 37b58d435c0540df
  19. _graphml_safe_copy helper · level 1 · ran · our draft was wrong · c72d2717c3edd7ca
  20. _summary_rows helper · level 1 · ran · our draft was wrong · 044559028ec38a98
  21. edge_rows helper · level 1 · ran · our draft was wrong · 2cbba16af2e9a62a
  22. ensure_dir helper · level 1 · ran · our draft was wrong · 618c853a29411feb
  23. node_rows helper · level 1 · ran · our draft was wrong · 79979887a7848830
  24. _resolve_legacy_activation helper · level 0 · unverified · a8365d7b5c2562c1
  25. _resolve_profile_activation helper · level 0 · unverified · 59b9ba25b78b03b7
  26. _run_detector helper · level 0 · unverified · 75de469192fc268d
  27. merge_strict_thresholds helper · level 0 · unverified · bdd1d54718d5e6d7
  28. _csv_value helper · level 1 · ran · our draft was wrong · c87bdcd9651987a8
  29. to_jsonable helper · level 1 · ran · our draft was wrong · 410b43e930daf358
  30. _bounded_graph helper · level 1 · ran · our draft was wrong · 37610c9e350c0fb4
  31. write_text helper · level 1 · ran · our draft was wrong · e68bafb350668e32
  32. bounded helper · level 1 · ran · honoured contract · 2cec75e36c6b83fc
  33. _safe_attr helper · level 1 · ran · our draft was wrong · 4f4348f48f92d5ad
  34. assumption_mismatch helper · level 1 · ran · our draft was wrong · decad84f653c39db
  35. claim_without_measurement helper · level 1 · ran · our draft was wrong · 109d08404cadc616
  36. conflicting_claims helper · level 1 · ran · our draft was wrong · 926f6d191c21910c
  37. missing_baseline_comparison helper · level 1 · ran · our draft was wrong · 157e56b5e9c0d18b
  38. missing_stress_test helper · level 1 · ran · honoured contract · ab80218346933a00
  39. repeated_unaddressed_limitation helper · level 1 · ran · our draft was wrong · adfe356506baf3de
  40. shared_failure_condition helper · level 1 · ran · our draft was wrong · eadeb9da55964aae
  41. shared_unrealistic_assumption helper · level 1 · ran · our draft was wrong · 8dbe60e4272ff86d
  42. sparse_evaluation helper · level 1 · ran · our draft was wrong · f50e6ed55ee46158
  43. theory_practice_gap helper · level 1 · ran · our draft was wrong · fcdda5866a0f4078
  44. transfer_solution_gap helper · level 1 · ran · our draft was wrong · b41a60f12b76e264
  45. unrealistic_assumption helper · level 1 · ran · our draft was wrong · 95d0d271de00ecaf
  46. unresolved_tradeoff helper · level 0 · unverified · 2b667228e0f42ce7

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2608.17501") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

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