{"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-2511-14096","title":"NeuroPath: Neurobiology-Inspired Path Tracking and Reflection for Semantically Coherent Retrieval","arxiv_id":"2511.14096","date":"2025-11-18","proceeding":"NeurIPS","authors":["Junchen Li","Rongzheng Wang","Yihong Huang","Qizhi Chen","Jiasheng Zhang","Shuang Liang"],"abstract":"Retrieval-augmented generation (RAG) greatly enhances large language models (LLMs) performance in knowledge-intensive tasks. However, naive RAG methods struggle with multi-hop question answering due to their limited capacity to capture complex dependencies across documents. Recent studies employ graph-based RAG to capture document connections. However, these approaches often result in a loss of semantic coherence and introduce irrelevant noise during node matching and subgraph construction. To address these limitations, we propose NeuroPath, an LLM-driven semantic path tracking RAG framework inspired by the path navigational planning of place cells in neurobiology. It consists of two steps: Dynamic Path Tracking and Post-retrieval Completion. Dynamic Path Tracking performs goal-directed semantic path tracking and pruning over the constructed knowledge graph (KG), improving noise reduction and semantic coherence. Post-retrieval Completion further reinforces these benefits by conducting second-stage retrieval using intermediate reasoning and the original query to refine the query goal and complete missing information in the reasoning path. NeuroPath surpasses current state-of-the-art baselines on three multi-hop QA datasets, achieving average improvements of 16.3% on recall@2 and 13.5% on recall@5 over advanced graph-based RAG methods. Moreover, compared to existing iter-based RAG methods, NeuroPath achieves higher accuracy and reduces token consumption by 22.8%. Finally, we demonstrate the robustness of NeuroPath across four smaller LLMs (Llama3.1, GLM4, Mistral0.3, and Gemma3), and further validate its scalability across tasks of varying complexity. Code is available at https://github.com/KennyCaty/NeuroPath.","url_abs":"https://arxiv.org/abs/2511.14096","url_pdf":"https://arxiv.org/pdf/2511.14096","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":{"atlas_url":"https://app.syntology.ai/?focus=2511.14096","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2511.14096"}},"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/KennyCaty/NeuroPath","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":12},"by_repo_kind":{"found_in_text":{"samples":13,"ran":1,"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":"fe0e2df4d9cb5edd","entry":"mean_pooling","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/processing.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/processing.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fe0e2df4d9cb5edd"}},{"code_sha256_prefix":"ed8aa81ae1c961b1","entry":"extract_json_dict","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/neuropath.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/neuropath.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":"ed8aa81ae1c961b1"}},{"code_sha256_prefix":"fb8ca1a44bc50ca2","entry":"get_file_name","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/processing.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/processing.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":"fb8ca1a44bc50ca2"}},{"code_sha256_prefix":"7077df248eb32b65","entry":"init_langchain_model","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/langchain_util.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/langchain_util.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":"7077df248eb32b65"}},{"code_sha256_prefix":"fdb4473ae6fdb6e5","entry":"mean_pooling_embedding","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/processing.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/processing.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":"fdb4473ae6fdb6e5"}},{"code_sha256_prefix":"fd9a32955a7d7c97","entry":"merge_elements_with_same_first_line","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/rag_neuropath.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/rag_neuropath.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":"fd9a32955a7d7c97"}},{"code_sha256_prefix":"d06d677988b9614d","entry":"ner_vtp_extraction","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/query_ner_vtp_parallel.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/query_ner_vtp_parallel.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":"d06d677988b9614d"}},{"code_sha256_prefix":"d581f1e22c7c99ef","entry":"parse_prompt","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/rag_neuropath.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/rag_neuropath.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":"d581f1e22c7c99ef"}},{"code_sha256_prefix":"eaf91b9196566123","entry":"parse_prompt","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/baselines/ircot_246.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/baselines/ircot_246.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":"eaf91b9196566123"}},{"code_sha256_prefix":"899c1a2c5d08fe99","entry":"retrieve_step","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/baselines/ircot_246.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/baselines/ircot_246.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":"899c1a2c5d08fe99"}},{"code_sha256_prefix":"9c0a071dfc20995e","entry":"search","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/elastic_search_tool.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/elastic_search_tool.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":"9c0a071dfc20995e"}},{"code_sha256_prefix":"736e514581ef54cc","entry":"search_with_id_and_content","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/elastic_search_tool.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/elastic_search_tool.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":"736e514581ef54cc"}},{"code_sha256_prefix":"8aea60e563f93cd0","entry":"search_with_score","repo":"KennyCaty/NeuroPath","repo_kind":"found_in_text","path":"src/elastic_search_tool.py","file_url":"https://github.com/KennyCaty/NeuroPath/blob/HEAD/src/elastic_search_tool.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":"8aea60e563f93cd0"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.IR","source":"arxiv_api"},"syntology_extracted_results":null}