Skip to content

iPDB: SQL with ML and LLM Predicates (Towards a Database Engine for AI)

Aug 2026 · Proceedings of the VLDB Endowment · Vol 19, pp. 4782-4785 · 0 citations · 14 references

TL;DR

iPDB is demonstrated, a system that supports in-database LLM inference using an extended declarative SQL syntax and new optimizations that result in efficient query processing of LLM-enabled SQL queries that outperform state-of-the-art systems.

Abstract

Structured Query Language (SQL) has remained the standard query language for databases, and is highly optimized for processing structured data. However, it is inefficient for applications that leverage the capabilities of large language models (LLMs) to comprehend and extract semantic information from structured and unstructured data. This results in complex engineering and multiple data migration operations that transfer data between the data source and the LLM inference platform to couple them. We demonstrate iPDB, a system that supports in-database LLM inference using an extended declarative SQL syntax and new optimizations that result in efficient query processing of LLM-enabled SQL queries that outperform state-of-the-art systems.

View source

Similar papers

Open access 2026

NL2SQL+: An Extended Framework for SQL Generation With On-Demand Embedded ML Functions

The empirical findings indicate that factorizing ML-aware SQL generation into four distinct stages—query routing, structured intent extraction, model or function selection, and template-guided SQL synthesis—enhances semantic controllability and token efficiency when formulating predictive natural language queries over...

Jisoo Jang, Mingyoo Son, Wen-Syan Li · 0 citations
Open access May 2026

SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL

SafeQL is proposed, a search-based refinement paradigm that redefines the role of the DBMS as an active guide in the refinement process, and significantly improves execution accuracy and efficiency compared to regeneration-based methods.

Geonho Lee, Min-Soo Kim · 0 citations
Preprint Sep 2026

Compiling Linear Datalog to SQL for Program Analysis

This paper revisits the connection between Datalog and relational databases, advocating recursive SQL as a backend for Datalog evaluation, and presents a compilation framework that translates Datalog programs, particularly those in the Linear Datalog fragment, into equivalent recursive SQL queries.

Amir Shaikhha, Anna Herlihy, Hung Q. Ngo · 0 citations
Jun 2026

Decisionhouse: Prescriptive Analytics in the Data Stack

Data platforms have evolved by making data-intensive workloads native: SQL and query optimizers eliminated bespoke data-retrieval programs; Lakehouses added first-class support for ML training and serving over the same data. Prescriptive analytics (computing optimal actions subject to constraints over data) is equally...

Matteo Brucato, Fjodor Kholodkov, Soren Little et al. · 2 citations
Conference Sep 2026

Natural Language Verbalization of SQL Query Results for Human-AI Interaction with Databases

AI-native systems are becoming core components of modern data-centric infrastructures, where artificial intelligence is embedded directly into data access, processing, and interpretation workflows. Despite advances in large language models, most research focuses on natural language to SQL generation, while the inverse...

Iryna Turchenko, Mykhailo Dombrovskyi, Maksym Hrushytskyi · 0 citations

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