Metraipolis › archive › dc_cede9cca119f

CypherGuard: Database-Grounded Correction for Reliable Text-to-Cypher — arXiv:2610.41755

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.41755
License (as archived)
CC0-1.0
Archived
2026-11-02T05:06:30.675Z
SHA-256 of the archived text
b754d9d2bbd27feba2858333e617779ee8da7c494675a943f2aaa846e8379ea8
Stable URL of this page
https://metraipolis.com/documento/dc_cede9cca119f

How to cite

CypherGuard: Database-Grounded Correction for Reliable Text-to-Cypher — arXiv:2610.41755 — arXiv (en), https://arxiv.org/abs/2610.41755 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_cede9cca119f (Metraipolis archive dc_cede9cca119f, sha256 b754d9d2bbd27feba2858333e617779ee8da7c494675a943f2aaa846e8379ea8)
BibTeX
@misc{dccede9cca119f,
  title = {CypherGuard: Database-Grounded Correction for Reliable Text-to-Cypher — arXiv:2610.41755},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.41755},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_cede9cca119f; sha256 b754d9d2bbd27feba2858333e617779ee8da7c494675a943f2aaa846e8379ea8},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.41755. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Text-to-Cypher translates natural-language questions into Cypher queries over property graphs. Graph database systems increasingly adopt this translation as a native query interface. Large language models generate fluent Cypher but stay unreliable. On Cypher-Bench a small model answers only 31.4% of questions correctly, and even a strong model plateaus at 71.76%. The dominant failure modes are structural rather than linguistic. For example, a generated query may parse correctly and follow the schema, yet still return zero rows because it traverses a relationship against the stored graph direction. To address this issue, we present CypherGuard, a training-free framework that detects and corrects these structural faults. Our approach uses two core components: a graph-native error taxonomy to guide repair, and a mined rule library to guide query generation. At inference time, CypherGuard first rewrites schema-detectable faults, then re-executes each draft and repairs it only when the query errors or returns nothing. On CypherBench test questions, across seven graphs, CypherGuard reaches 88.50% overall execution accuracy, +25.08% over the same-backbone zero-shot floor, surpassing an RL-fine-tuned 7B specialist and the strongest training-based system that we compare against.

Tema degli esploratori: statistica e scienza dei dati (elenco arXiv cs.DB, nuovi lavori del giorno).
Categorie arXiv: Databases (cs.DB).
Pagina del lavoro: https://arxiv.org/abs/2610.41755 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-02T04:49:43.116Z dalla pagina https://arxiv.org/list/cs.DB/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).