Toward Relational-Vector Databases with Schema-Structured Embeddings
Abstract
Vector databases use embeddings for similarity search while relying on traditional attributes for relational query processing. This separation limits their applicability to domains where the semantic attributes required for database operations are not explicitly available. In this paper, we introduce Relational-Vector Databases (rVecDBs), a database model in which the relational structure is encoded within the embeddings. The enabling representation is the Schema-Structured Embedding (SSE), where different coordinate blocks are geometrically aligned with different semantic facets, and nested prefixes within a block represent different levels of semantic abstraction. Unlike materialized categorical attributes, SSEs represent semantic facets as continuous geometric spaces, allowing semantic comparisons beyond a predefined set of labels. We formulate a range query model over SSEs and use it to define relational database operations, including semantic filtering, similarity ranking, and joins. We further formulate grouping and aggregation over the learned semantic spaces. We present two complementary approaches for learning SSEs and address schema compatibility across relations through sequential alignment of shared semantic join keys. Our experiments on four real-world datasets demonstrate the effectiveness of SSEs in capturing facet-specific and hierarchical semantics while preserving general similarity search quality. This paper takes the first step toward the development of rVecDBs, opening up a range of research directions in indexing, query optimization, and physical database design. The authors hope this work lays the foundation for a new generation of vector databases where relational query processing and similarity search operate directly over learned representations.
Create a lesson
Related papers
Schemas That Hold: Verified Agentic Ingestion of Heterogeneous Scientific Tables into Relational Databases
Shared title terminologycs.DBBharatha Rankothge, Suzanne Hodgkins, Virginia Rich et al.
Toward Database-Native Genomics: A Vision for Declarative Genomic Analysis
Shared title terminologycs.DBDhruv Aron, Danial Saleem, James Christopher Sorenson et al.
Shoonya: Zero-Socket In-Process Small Language Models for Graph Databases with Schema-Epoch KV Caching, Live Catalog Logit Masking, and Verifier-Advantage Distillation
Shared title terminologycs.DBMadhulatha Mandarapu, Sandeep Kunkunuru
[Experiment, Analysis, and Benchmark] How well do LLMs comprehend and design relational database schemata?
Shared title terminologycs.DBSriom Chakrabarti, Sean Bin Yang, Arijit Khan et al.
Authenticated Approximate Nearest Neighbor Search in Outsourced Vector Databases
Shared title terminologycs.DBYuanhang Zhou, Xinyi Zhang, Cheng Xu et al.
VecDBLens: An Evaluatology-Based Framework for Vector Database Diagnosis
Shared title terminologycs.DBYutong Zhou, Guoxin Kang, Wenxin Zhou et al.