AI & ML
Supervised and LLM-Augmented Cardinality Estimation for Similarity Queries on Knowledge Graphs
arXiv cs.DB0 views
arXiv:2610.41669v1 Announce Type: new Abstract: Over the past decades, query cardinality estimation on relational databases has been proven crucial, enabling the result size estimation of all sub-plans of each query. This allowed query optimizers to design efficient query plans, towards minimizing the query response time. Lately, knowledge graphs are being preferred over traditional databases in various applications, due to their ability to represent complex relationships and semantic meaning in a domain-specific context. In this work, we present a novel approach for supervised similarity-aware cardinality estimation on knowledge graphs that incorporates similarities into the model training process, thus treating them as first-class citizens. To this end, we present SCE-KG, a model that employs a novel encoding scheme for cardinality estimation, named SGsplit. We further extend our approach by leveraging a Large Language Model (LLM) to generate training queries that resemble realistic user workloads, and show that combining LLM-generated and random walk samples consistently improves estimation accuracy on test workloads generated by two independent LLMs. Our experimental evaluation reveals that our approach outperforms the state-of-the-art techniques in terms of prediction error, achieving 40x and 37x improvement for star and chain queries, respectively (95th percentile), whereas its online overhead accounts for less than 0.05% of the average query execution time and less than 1% of the average query planning time, showing a sub-millisecond latency in all cases.
Source:https://arxiv.org/abs/2610.41669PreviousIdle Cycles Are Not Wasted CyclesNextCypherGuard: Database-Grounded Correction for Reliable Text-to-Cypher
Related posts
Mir 2.31 Released With Expanded Wayland Protocol Support
0Phoronix

AI promised big productivity benefits, but workers aren't happy with what they've seen so far
0TechRadar

Motorola Signature 27 goes official with true flagship specs and a $1,599 price tag
09to5Google
Running AI Models Locally in 2026: Ollama, vLLM & Quantization
0dev.to

Most companies don't think they could leave their main cloud provider quickly should the worst happen
0TechRadar

'Nothing will ever replace the emotional depth and creative inspiration of human beings as artists and creators' — Call of Duty: Modern Warfare 4 composer speaks out against AI in video games, says 'm
0TechRadar