potentialpaper

AgentCypher: Learning to Revise and Accept Text-to-Cypher Queries from Execution Evidence

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:23 UTC · 06b0e7244fd6 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "YTIozcvpXz"
- }
- ],
- "title": "AgentCypher: Learning to Revise and Accept Text-to-Cypher Queries from Execution Evidence",
- "authors": [],
- "abstract": "Text-to-Cypher translates natural-language questions into executable queries for retrieving information from property graphs. A key challenge is that queries can execute successfully and return nonempty results despite semantic errors, such as following relationships in the wrong direction.A ReAct formulation makes query execution part of the reasoning process, allowing the model to inspect results and revise its entity choices and graph patterns. We propose AgentCypher, a reinforcement learning framework that integrates query execution, verification, and revision to improve the accuracy of generated Cypher. Specifically, the Grounded Query Execution (GQE) module tests graph patterns constructed from selected schema elements and grounded entities against the target database. The Execution-Guided Verification (EGV) module examines these results and query-specific graph evidence for potential errors in entity grounding, relationship direction, and result multiplicity, guiding query revision and acceptance. The Graded Terminal Reward (GTR) module compares the accepted query’s results with reference results, distinguishing exact answers from partial results through penalties for missing, extraneous, and duplicate rows. AgentCypher achieves 82.41\\% execution accuracy and 88.83\\% provenance subgraph Jaccard similarity on CypherBench, and 42.13\\% execution accuracy on Neo4j-Text2Cypher.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "7c9b91e1-c2b0-4180-b51b-c9046a8be298"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "AgentCypher: Learning to Revise and Accept Text-to-Cypher Queries from Execution Evidence",
+ "authors": [],
+ "abstract": "Text-to-Cypher translates natural-language questions into executable queries for retrieving information from property graphs. A key challenge is that queries can execute successfully and return nonempty results despite semantic errors, such as following relationships in the wrong direction.A ReAct formulation makes query execution part of the reasoning process, allowing the model to inspect results and revise its entity choices and graph patterns. We propose AgentCypher, a reinforcement learning framework that integrates query execution, verification, and revision to improve the accuracy of generated Cypher. Specifically, the Grounded Query Execution (GQE) module tests graph patterns constructed from selected schema elements and grounded entities against the target database. The Execution-Guided Verification (EGV) module examines these results and query-specific graph evidence for potential errors in entity grounding, relationship direction, and result multiplicity, guiding query revision and acceptance. The Graded Terminal Reward (GTR) module compares the accepted query’s results with reference results, distinguishing exact answers from partial results through penalties for missing, extraneous, and duplicate rows. AgentCypher achieves 82.41\\% execution accuracy and 88.83\\% provenance subgraph Jaccard similarity on CypherBench, and 42.13\\% execution accuracy on Neo4j-Text2Cypher.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}