TL;DR
Traditional databases excel at retrieving explicitly stored facts, but they fall short when data is noisy, incomplete, or continuously changing. This paper introduces NGDBench, a comprehensive benchmark designed to evaluate next-generation Neural Graph Databases (NGDBs) that combine symbolic query execution with neural inference. The benchmark reveals that current state-of-the-art LLMs and GraphRAG pipelines struggle significantly with data noise and dynamic state tracking.
What Problem Does This Paper Address?
Modern organizational data is messy: it is scattered across heterogeneous systems, riddled with data-entry errors, and constantly evolving. Current data management stacks are largely passive. Traditional relational and graph databases rely on strict schemas and explicit facts, failing when data is missing or corrupted. Vector databases handle semantic similarity well but cannot execute complex logical or analytical queries.
When AI agents interact with these databases via Text-to-SQL or Text-to-Cypher, they merely query the observed (and often flawed) data rather than inferring the latent ground truth (e.g., spotting a hidden fraud ring despite missing transaction records). Furthermore, existing graph reasoning benchmarks are limited to static, simple logic operations.
The authors argue for a shift toward Neural Graph Data Management, where a database system can execute full query languages (like Cypher) while using neural capabilities to reason through noise, uncover latent relationships, and maintain consistency during data evolution.
Methods
The authors present the NGDBench framework, which unifies diverse data sources into a Labeled Property Graph (LPG) format and evaluates systems on two primary tasks:
- Task I: Robust Analytical Querying: Evaluating whether a model can answer complex analytical queries over a perturbed (noisy) graph by inferring the correct latent information.
- Task II: Sequential Editing for Dynamic Data Management: Testing a model's ability to track graph states over a sequence of
CREATE,UPDATE, andDELETEoperations.
The core construction pipeline consists of:
- Data Unification: Converting both structured and unstructured data into a standardized LPG representation.
- Perturbation Generator: Injecting realistic synthetic noise (topological, schema, and attribute errors) into structured graphs based on real-world data quality surveys.
- Query Generator: Constructing a library of 29 core functional Cypher operators to sample highly expressive analytical and managerial queries.
Datasets
NGDBench introduces five domain-specific datasets prefixed with NGD-:
- Structured Domains:
- NGD-BI: A dense social-network dataset (adapted from LDBC-BI) testing multi-hop reasoning.
- NGD-Fin: A financial transaction ecosystem (adapted from LDBC-FIN) focusing on temporal, numerical, and multi-edge patterns.
- NGD-Prime: A biomedical dataset (derived from PrimeKG) containing cross-type relations between diseases, drugs, and genes.
- Unstructured Domains (containing natural extraction errors):
- NGD-MCP: AI agent workflow trajectories (from Toucan-1.5M).
- NGD-Econ: Financial data extracted from company annual reports (from LongBench).
Key Insights and Ideas
- The Text-to-Cypher vs. GraphRAG Trade-off: Text-to-Cypher methods (where an LLM translates a question into a symbolic Cypher query) generally outperform GraphRAG on complex analytical queries. This is because structured execution ensures complete matching, whereas GraphRAG relies on top-$k$ embedding retrieval, which often truncates critical evidence needed for aggregations (like
SUMorAVG). - The Vulnerability of Symbolic Execution: While Text-to-Cypher excels at precise execution, it is entirely bounded by the noise in the observed graph. If an attribute value is corrupted or an edge is missing, the symbolic execution fails catastrophically without neural interpolation.
- Error Accumulation in Dynamic States: In sequential data management, Text-to-Cypher methods suffer from severe error accumulation—a single mistake in an early
UPDATEstep propagates downstream. GraphRAG pipelines, by contrast, maintain a flatter error rate because they can reason over the entire edit history in their context window.
Key Results
The authors evaluated state-of-the-art LLMs (including GPT-5.1-Codex, DeepSeek V3.2, and Qwen3-Coder) across the benchmark:
- Analytical Queries: On clean or consistent graph regions, Text-to-Cypher methods performed well. However, on noisy/inconsistent regions, performance degraded sharply. For instance, on
NGD-Finaggregation queries, GraphRAG suffered massive numerical errors (Median Relative Error of 254.33), while Text-to-Cypher methods were heavily skewed by minor attribute corruptions. - Boolean Verification: When queries were framed as binary verification tasks (Boolean queries), GraphRAG became highly competitive with Text-to-Cypher, as the candidate-based setup narrowed the retrieval space significantly.
- Dynamic Management: As shown in the sequential tracking task (Figure 3, right), traditional LLM approaches struggle to maintain low Mean Log Relative Error (MLRE) as the number of database modification steps increases, highlighting the difficulty of tracking state changes neurally.
Limitations and Future Work
- Structured-Only Mutations: The dynamic management workload (
CREATE/UPDATE/DELETE) is currently restricted to structured datasets. Extending this to unstructured text-source graphs requires complex factual grounding and validation mechanisms that are not yet implemented. - Scope of Metrics: The benchmark primarily evaluates answer accuracy under noise. It does not currently measure other critical production database factors such as execution efficiency, memory overhead, or uncertainty calibration.
Summary updated