Skip to content

Fully Inductive Cardinality Estimation

Jul 2026 · arXiv.org · Vol abs/2607.28311 · 0 citations · 47 references
Computer Science

TL;DR

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 is presented.

Abstract

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.

View source

Similar papers

Jul 2026

InductWave: Inductive Multi-Hop Logical Query Answering on Knowledge Graphs

The proposed InductWave, a wavelet-based inductive embedding method for logical query answering on large KGs, performs on par with the baseline models while having half the number of message-passing layers, and outperforms all of them in most cases.

Mayank Kharbanda, Michael Cochez, R. Shah et al. · 0 citations
Preprint Aug 2026

A Unifying Relational Perspective on Expressive Lottery Tickets

It is proved that sufficiently parameterized RGNNs contain sparse subnetworks that maintain 1-RWL expressivity and derive a lower bound on the probability that a random pruning yields such a subnetwork.

Lorenz Kummer, Samir Moustafa, Anatol Ehrlich et al. · 0 citations
Preprint Aug 2026

KGCache: Amortized Subgraph Retrieval for KG Reasoning with LLMs

This work proposes KGCache, an in-memory cache for one-hop knowledge graph neighborhoods, which is designed to be compatible with both iterative traversal (ToG) and one shot planning (RoG) KGQA paradigms and shows substantial entity reuse among starting entities and entities reached during traversal.

Uros Stanic, Chang-He Yuan, Sabuj Laskar et al. · 0 citations
Conference Aug 2026

Edge-AdaptiveKG: Resource-Efficient Knowledge Graph Construction for RAG on Edge Devices

Integrating Knowledge Graphs (KGs) into Retrieval-Augmented Generation (RAG) can substantially improve LLM performance on complex question answering (QA) by reducing hallucinations and supplying structured context. However, building high-quality KGs over large corpora for edge scenarios is challenging: cloud-based proc...

Yuyu Du, Ju-Xin Niu, Chun Jason Xue et al. · 0 citations
Aug 2026

UGD-LTR: an uncertainty-aware graph-based deep learning framework for learning to rank

The Uncertainty-aware graph-based deep learning to rank (UGD-LTR) framework tackles two critical gaps in learning to rank, and can train independently in distributed environments, and graph feature extraction can exploit distributed graph algorithms, providing a clear roadmap for future high-performance computing (HPC)...

M. Piroozmand, A. Moeini, M. Mazoochi et al. · 0 citations
Book Open access Jul 2026

One-for-All Community Search on Unseen Graphs

A Spectral-Aware Feature Alignment module to unify feature dimensionality and align cross-domain semantics in a community-aware manner and a Graph Diffusion Tokenized Transformer that constructs hybrid token sequences from local and global structural contexts for Transformer encoding, and applies diffusion-based refine...

Mo Li, Zhaosong Zhao, Linlin Ding et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.