Metraipolis › archive › dc_f2b5a8ae63c7

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-03T08:23:44.092Z
SHA-256 of the archived text
6fcf3f2127c364dca7869c83f5047de6fd56385954617faa207bac06d928c96a
Stable URL of this page
https://metraipolis.com/documento/dc_f2b5a8ae63c7

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_f2b5a8ae63c7 (Metraipolis archive dc_f2b5a8ae63c7, sha256 6fcf3f2127c364dca7869c83f5047de6fd56385954617faa207bac06d928c96a)
BibTeX
@misc{dcf2b5a8ae63c7,
  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_f2b5a8ae63c7; sha256 6fcf3f2127c364dca7869c83f5047de6fd56385954617faa207bac06d928c96a},
  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-03T08:07:08.784Z dalla pagina https://arxiv.org/list/cs.DB/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).