← News

ResearchSources: arXiv · 3 Dec 2026

UniBays prunes relational data before semantic queries to cut LLM cost and latency

A new arXiv paper describes a semantic database system that filters tuples with fast models and pruning before any expensive language-model call, reporting large speed and cost gains on its benchmarks.

In plain words

Semantic databases let analysts ask questions that require AI models to judge unstructured data, but calling large language models for every record is slow and costly. UniBays first removes records that cannot qualify using cheap relational checks and a reusable index, then runs a global optimizer that decides when a small decision model suffices and when to escalate to a frontier LLM. The authors report the lowest latency on all 21 benchmark queries and large cost savings.

What was announced

The system addresses what the authors call a time-scale gap: relational operators execute in nanoseconds to microseconds, while frontier LLMs need seconds per call at high monetary cost. UniBays runs in three stages. A Yannakakis-inspired reduction eliminates unqualified tuples before semantic evaluation. A proposition-based semantic index derives record-level necessary conditions that screen candidates across queries and data snapshots. Finally, a quality-aware optimizer over Boolean query lineage uses online score-bin calibration, batched inference, and selective frontier-LLM escalation to minimize cost and latency under query-level precision and recall targets, since decision models output uncalibrated raw scores.

The evaluation, reported by the paper's authors, compares UniBays against Palimpzest, LOTUS, and SEMA on SemBench plus two new TPC-DS-based workloads, Shelob-Maintenance and Shelob-Ops. UniBays was fastest on all 21 SemBench queries, 56.8x-82.4x faster and 3.2x-7.9x cheaper, with a mean quality of 0.858. On Shelob, where candidate spaces exceed a billion combinations and baselines hit a 2,000-second timeout on most queries, UniBays finished all 27 query instances in 5.8-209.4 seconds with F1 scores of 0.77-1.00. These results come only from the authors' own benchmarks and have not been independently confirmed.

What it does not show

  • The source is only the paper's abstract, so the claims rest on the authors' own description and benchmarks without independent confirmation.
  • Reported speedups, cost ratios, and quality scores apply to the specific SemBench and Shelob workloads and baselines tested; performance on other systems or datasets is not established.

For security and IT teams

Scope
The published evidence is the paper abstract only; detailed architecture, deployment requirements, and availability are not described in the supplied source.

Sources

Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 3 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.