GGideondatabases

CypherGuard: Database-Grounded Correction for Reliable Text-to-Cypher

2 Nov 2026, 8:39 pm

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

https://arxiv.org/abs/2610.41755v1

Join the conversation

Sign up to like, save, comment, and connect with techies who think like you.

Log in / Sign up