{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2601-11047","title":"CoG: Controllable Graph Reasoning via Relational Blueprints and Failure-Aware Refinement over Knowledge Graphs","arxiv_id":"2601.11047","date":"2026-01-16","proceeding":null,"authors":["Yuanxiang Liu","Songze Li","Xiaoke Guo","Zhaoyan Gong","Qifei Zhang","Huajun Chen","Wen Zhang"],"abstract":"Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities but often grapple with reliability challenges like hallucinations. While Knowledge Graphs (KGs) offer explicit grounding, existing paradigms of KG-augmented LLMs typically exhibit cognitive rigidity--applying homogeneous search strategies that render them vulnerable to instability under neighborhood noise and structural misalignment leading to reasoning stagnation. To address these challenges, we propose CoG, a training-free framework inspired by Dual-Process Theory that mimics the interplay between intuition and deliberation. First, functioning as the fast, intuitive process, the Relational Blueprint Guidance module leverages relational blueprints as interpretable soft structural constraints to rapidly stabilize the search direction against noise. Second, functioning as the prudent, analytical process, the Failure-Aware Refinement module intervenes upon encountering reasoning impasses. It triggers evidence-conditioned reflection and executes controlled backtracking to overcome reasoning stagnation. Experimental results on three benchmarks demonstrate that CoG significantly outperforms state-of-the-art approaches in both accuracy and efficiency.","url_abs":"https://arxiv.org/abs/2601.11047","url_pdf":"https://arxiv.org/pdf/2601.11047","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2601.11047","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.11047"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/zjukg/CoG","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":13},"by_repo_kind":{"found_in_text":{"samples":13,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"8efd8b00e5ee004a","entry":"abandon_rels","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/freebase_func.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/freebase_func.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8efd8b00e5ee004a"}},{"code_sha256_prefix":"83e832b7a9f97750","entry":"align","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"eval/utils.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/eval/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"83e832b7a9f97750"}},{"code_sha256_prefix":"331ce3b42178a0dc","entry":"extract_skeleton","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/build_skeleton.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/build_skeleton.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"331ce3b42178a0dc"}},{"code_sha256_prefix":"c6edd0c4b397a6d4","entry":"get_one_data","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/main_freebase.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/main_freebase.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c6edd0c4b397a6d4"}},{"code_sha256_prefix":"eb6db827175b28c6","entry":"get_openai_client","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/utils.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eb6db827175b28c6"}},{"code_sha256_prefix":"9fe92725c88ed577","entry":"parse_grailqa_item","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/build_skeleton.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/build_skeleton.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9fe92725c88ed577"}},{"code_sha256_prefix":"c4a97fee7894319c","entry":"parse_webqsp_item","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/build_skeleton.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/build_skeleton.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c4a97fee7894319c"}},{"code_sha256_prefix":"6e60fdf7e6601fc1","entry":"prepare_dataset_for_eval","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"eval/utils.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/eval/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6e60fdf7e6601fc1"}},{"code_sha256_prefix":"d1f04ebb317abd0e","entry":"process_question","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/main_freebase.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/main_freebase.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1f04ebb317abd0e"}},{"code_sha256_prefix":"4c28af9eaa960d1c","entry":"read_output","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"eval/utils.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/eval/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4c28af9eaa960d1c"}},{"code_sha256_prefix":"7d3759994694a369","entry":"repeat_unanswer","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/main_freebase.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/main_freebase.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7d3759994694a369"}},{"code_sha256_prefix":"f7def732c19d62d5","entry":"replace_relation_prefix","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/freebase_func.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/freebase_func.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f7def732c19d62d5"}},{"code_sha256_prefix":"277f66c7640f893d","entry":"run_llm","repo":"zjukg/CoG","repo_kind":"found_in_text","path":"CoG/utils.py","file_url":"https://github.com/zjukg/CoG/blob/HEAD/CoG/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"277f66c7640f893d"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}