paper-with-me

Papers

Fully Inductive Cardinality Estimation

2026-07-30 · Tim Schwabe, Lukas Ketzer, Maribel Acosta arxiv

Query optimization of Basic Graph Patterns (BGP) SPARQL queries over Knowledge Graphs (KG) requires accurate cardinality estimation. Recently published learned estimators outperform statistics- and sampling-based approaches, but share a limitation preventing their adoption in real-world triplestores: they are transductive and require retraining when the underlying graph changes or when applied to new graphs. We present FICE (Fully Inductive Cardinality Estimation), the first learned cardinality estimator for BGP queries over KGs that generalizes to entirely unseen graphs (including unseen relations), without any retraining. FICE is a graph neural network (GNN) with two coupled components. First, an encoder GNN over a factor-graph view of the KG produces entity and relation embeddings. We prove that BGP cardinality is a local function of the 2-hop neighborhood around bound terms in this view, motivating the local message-passing encoder. A decoder GNN then composes these embeddings along the join topology of the query to predict log-cardinality. The encoder and decoder are trained jointly, making the embeddings specialized for cardinality estimation. FICE is trained using neighborhood sampling to scale to KGs with millions of triples, and decouples embedding generation from cardinality decoding to enable estimation latency below a millisecond. Compared to learned and non-learned baselines over 10 KGs, FICE reduces the overall median q-error from 13.54 (for the best competitor) to 5.34 and dominates all approaches in tail behavior.

📄 PDF Abstract BibTeX arXiv:2607.28311

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Neural NetworkKnowledge Graphs

Similar Papers 제목 키워드 기반

Cardinality Estimation over Knowledge Graphs with Embeddings and Graph Neural Networks

2023-03-02 · Tim Schwabe, Maribel Acosta

Cardinality Estimation over Knowledge Graphs (KG) is crucial for query optimization, yet remains a challenging task due to the semi-structured nature and complex correlations of typical Knowledge Graphs. In this work, we…

Knowledge Graph EmbeddingsKnowledge Graphs

Improved Accuracy for Private Continual Cardinality Estimation in Fully Dynamic Streams via Matrix Factorization

2026-01-05 · Joel Daniel Andersson, Palak Jain, Satchit Sivakumar arxiv

We study differentially-private statistics in the fully dynamic continual observation model, where many updates can arrive at each time step and updates to a stream can involve both insertions and deletions of an item. E…

Adaptive Cardinality Estimation

2017-11-22 · Oleg Ivanov, Sergey Bartunov

In this paper we address cardinality estimation problem which is an important subproblem in query optimization. Query optimization is a part of every relational DBMS responsible for finding the best way of the execution …

CardBench: A Benchmark for Learned Cardinality Estimation in Relational Databases

2024-08-28 · Yannis Chronis, Yawen Wang, Yu Gan, Sami Abu-El-Haija 외

Cardinality estimation is crucial for enabling high query performance in relational databases. Recently learned cardinality estimation models have been proposed to improve accuracy but there is no systematic benchmark or…

Scardina: Scalable Join Cardinality Estimation by Multiple Density Estimators

2023-03-31 · Ryuichi Ito, Yuya Sasaki, Chuan Xiao, Makoto Onizuka

In recent years, machine learning-based cardinality estimation methods are replacing traditional methods. This change is expected to contribute to one of the most important applications of cardinality estimation, the que…