{"record_type":"pith_number_record","schema_url":"https://pith.science/schemas/pith-number/v1.json","pith_number":"pith:2026:TXQVCDGDU5XNKGAJFHRL5YFFOO","short_pith_number":"pith:TXQVCDGD","schema_version":"1.0","canonical_sha256":"9de1510cc3a76ed5180929e2bee0a5738cae4cd717624087ade232a72852cc07","source":{"kind":"arxiv","id":"2605.12975","version":1},"attestation_state":"computed","paper":{"title":"Retrieval is Cheap, Show Me the Code: Executable Multi-Hop Reasoning for Retrieval-Augmented Generation","license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","headline":"PyRAG reformulates multi-hop RAG as synthesis and execution of Python programs over retrieval tools.","cross_cats":[],"primary_cat":"cs.AI","authors_text":"Ge Liu, Jash Rajesh Parekh, Jiajun Fan, Jiashuo Sun, Jiawei Han, Jimeng Shi, Peiran Li, Pengcheng Jiang, Qinglong Zheng, Saizhuo Wang, Shaowen Wang, Yixuan Xie, Zhiyi Shi","submitted_at":"2026-05-13T04:14:13Z","abstract_excerpt":"Retrieval-Augmented Generation (RAG) has become a standard approach for knowledge-intensive question answering, but existing systems remain brittle on multi-hop questions, where solving the task requires chaining multiple retrieval and reasoning steps. Key challenges are that current methods represent reasoning through free-form natural language, where intermediate states are implicit, retrieval queries can drift from intended entities, and errors are detected by the same model that produces them making self-reflection an unreliable, ungrounded signal.\n  We observe that multi-hop question answ"},"verification_status":{"content_addressed":true,"pith_receipt":true,"author_attested":false,"weak_author_claims":0,"strong_author_claims":0,"externally_anchored":false,"storage_verified":false,"citation_signatures":0,"replication_records":0,"graph_snapshot":true,"references_resolved":true,"formal_links_present":true},"canonical_record":{"source":{"id":"2605.12975","kind":"arxiv","version":1},"metadata":{"license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","primary_cat":"cs.AI","submitted_at":"2026-05-13T04:14:13Z","cross_cats_sorted":[],"title_canon_sha256":"1d97c7f21586a0542518b277b13610e8eca1507d01b4dc4e6eb54a3a3817b6dd","abstract_canon_sha256":"edd89fe4071ca30b1c3f0974ea426bf6988c50805ef42fad2f4913521ce95e34"},"schema_version":"1.0"},"receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-05-18T03:09:08.764742Z","signature_b64":"TMkC/6L0TYhuiB1mKHExE9OkcNaqNs+/Uco6zN7IfVorT/vE3a17cKuXz40HtUGUAiDnslQ8PHWRk20ykd6qCQ==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"9de1510cc3a76ed5180929e2bee0a5738cae4cd717624087ade232a72852cc07","last_reissued_at":"2026-05-18T03:09:08.763960Z","signature_status":"signed_v1","first_computed_at":"2026-05-18T03:09:08.763960Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"graph_snapshot":{"paper":{"title":"Retrieval is Cheap, Show Me the Code: Executable Multi-Hop Reasoning for Retrieval-Augmented Generation","license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","headline":"PyRAG reformulates multi-hop RAG as synthesis and execution of Python programs over retrieval tools.","cross_cats":[],"primary_cat":"cs.AI","authors_text":"Ge Liu, Jash Rajesh Parekh, Jiajun Fan, Jiashuo Sun, Jiawei Han, Jimeng Shi, Peiran Li, Pengcheng Jiang, Qinglong Zheng, Saizhuo Wang, Shaowen Wang, Yixuan Xie, Zhiyi Shi","submitted_at":"2026-05-13T04:14:13Z","abstract_excerpt":"Retrieval-Augmented Generation (RAG) has become a standard approach for knowledge-intensive question answering, but existing systems remain brittle on multi-hop questions, where solving the task requires chaining multiple retrieval and reasoning steps. Key challenges are that current methods represent reasoning through free-form natural language, where intermediate states are implicit, retrieval queries can drift from intended entities, and errors are detected by the same model that produces them making self-reflection an unreliable, ungrounded signal.\n  We observe that multi-hop question answ"},"claims":{"count":4,"items":[{"kind":"strongest_claim","text":"PyRAG reformulates multi-hop RAG as program synthesis and execution, enabling compiler-grounded self-repair and execution-driven adaptive retrieval without any additional training, and consistently outperforms strong baselines on five QA benchmarks with large gains on compositional multi-hop datasets.","source":"verdict.strongest_claim","status":"machine_extracted","claim_id":"C1","attestation":"unclaimed"},{"kind":"weakest_assumption","text":"That code-specialized language models can reliably synthesize correct executable programs for multi-hop reasoning and that execution feedback alone suffices for self-repair without additional training or human oversight.","source":"verdict.weakest_assumption","status":"machine_extracted","claim_id":"C2","attestation":"unclaimed"},{"kind":"one_line_summary","text":"PyRAG turns multi-hop reasoning into executable Python code over retrieval tools for explicit, verifiable step-by-step RAG.","source":"verdict.one_line_summary","status":"machine_extracted","claim_id":"C3","attestation":"unclaimed"},{"kind":"headline","text":"PyRAG reformulates multi-hop RAG as synthesis and execution of Python programs over retrieval tools.","source":"verdict.pith_extraction.headline","status":"machine_extracted","claim_id":"C4","attestation":"unclaimed"}],"snapshot_sha256":"6b567fa34c9b29c699e967492ebebbdc3b88ea368fcf26988fb8075d3eaf7c6b"},"source":{"id":"2605.12975","kind":"arxiv","version":1},"verdict":{"id":"39d37e6d-7d48-41cb-a11b-8896600d4507","model_set":{"reader":"grok-4.3"},"created_at":"2026-05-14T19:59:18.013477Z","strongest_claim":"PyRAG reformulates multi-hop RAG as program synthesis and execution, enabling compiler-grounded self-repair and execution-driven adaptive retrieval without any additional training, and consistently outperforms strong baselines on five QA benchmarks with large gains on compositional multi-hop datasets.","one_line_summary":"PyRAG turns multi-hop reasoning into executable Python code over retrieval tools for explicit, verifiable step-by-step RAG.","pipeline_version":"pith-pipeline@v0.9.0","weakest_assumption":"That code-specialized language models can reliably synthesize correct executable programs for multi-hop reasoning and that execution feedback alone suffices for self-repair without additional training or human oversight.","pith_extraction_headline":"PyRAG reformulates multi-hop RAG as synthesis and execution of Python programs over retrieval tools."},"references":{"count":51,"sample":[{"doi":"","year":2026,"title":"Pathrag: Pruning graph-based retrieval augmented generation with relational paths","work_id":"cd70c5f3-52f2-4dd8-8e03-f154e0c5499d","ref_index":1,"cited_arxiv_id":"","is_internal_anchor":false},{"doi":"","year":2025,"title":"ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning","work_id":"cc9775d9-2fbd-4690-a641-2b50ae4a59dc","ref_index":2,"cited_arxiv_id":"2503.19470","is_internal_anchor":true},{"doi":"","year":2022,"title":"Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Tasks","work_id":"618aa44c-a6c6-425c-abce-8aa8aa842921","ref_index":3,"cited_arxiv_id":"2211.12588","is_internal_anchor":true},{"doi":"","year":2022,"title":"Binding language models in symbolic languages.arXiv preprint arXiv:2210.02875","work_id":"f8fe6642-904b-44b0-a533-ae63c3a213e1","ref_index":4,"cited_arxiv_id":"","is_internal_anchor":false},{"doi":"","year":2024,"title":"From Local to Global: A Graph RAG Approach to Query-Focused Summarization","work_id":"588618d7-fd41-4053-b34d-a981f8793039","ref_index":5,"cited_arxiv_id":"2404.16130","is_internal_anchor":true}],"resolved_work":51,"snapshot_sha256":"623aa3942647c3c84ce1b82dd39849253305f391dfcfb130f4d96e437d2e6bc8","internal_anchors":13},"formal_canon":{"evidence_count":2,"snapshot_sha256":"db6ce467eafda4bb230b655df36ffccf128fe248380b1cd95565d260e65d3f0c"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"aliases":[{"alias_kind":"arxiv","alias_value":"2605.12975","created_at":"2026-05-18T03:09:08.764087+00:00"},{"alias_kind":"arxiv_version","alias_value":"2605.12975v1","created_at":"2026-05-18T03:09:08.764087+00:00"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2605.12975","created_at":"2026-05-18T03:09:08.764087+00:00"},{"alias_kind":"pith_short_12","alias_value":"TXQVCDGDU5XN","created_at":"2026-05-18T12:33:37.589309+00:00"},{"alias_kind":"pith_short_16","alias_value":"TXQVCDGDU5XNKGAJ","created_at":"2026-05-18T12:33:37.589309+00:00"},{"alias_kind":"pith_short_8","alias_value":"TXQVCDGD","created_at":"2026-05-18T12:33:37.589309+00:00"}],"events":[],"event_summary":{},"paper_claims":[],"inbound_citations":{"count":0,"internal_anchor_count":0,"sample":[]},"formal_canon":{"evidence_count":2,"sample":[],"anchors":[]},"links":{"html":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO","json":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO.json","graph_json":"https://pith.science/api/pith-number/TXQVCDGDU5XNKGAJFHRL5YFFOO/graph.json","events_json":"https://pith.science/api/pith-number/TXQVCDGDU5XNKGAJFHRL5YFFOO/events.json","paper":"https://pith.science/paper/TXQVCDGD"},"agent_actions":{"view_html":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO","download_json":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO.json","view_paper":"https://pith.science/paper/TXQVCDGD","resolve_alias":"https://pith.science/api/pith-number/resolve?arxiv=2605.12975&json=true","fetch_graph":"https://pith.science/api/pith-number/TXQVCDGDU5XNKGAJFHRL5YFFOO/graph.json","fetch_events":"https://pith.science/api/pith-number/TXQVCDGDU5XNKGAJFHRL5YFFOO/events.json","actions":{"anchor_timestamp":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO/action/timestamp_anchor","attest_storage":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO/action/storage_attestation","attest_author":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO/action/author_attestation","sign_citation":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO/action/citation_signature","submit_replication":"https://pith.science/pith/TXQVCDGDU5XNKGAJFHRL5YFFOO/action/replication_record"}},"created_at":"2026-05-18T03:09:08.764087+00:00","updated_at":"2026-05-18T03:09:08.764087+00:00"}