arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04430cs.DB
收藏

用于LLM增强数据系统的Stretto执行引擎

The Stretto Execution Engine for Semantic Data Systems

EURECOM(欧雷康);Technical University of Darmstadt(达姆施塔特工业大学);TU Darmstadt, DFKI, HessianAI(达姆施塔特工业大学、德国人工智能研究中心、黑森人工智能)

Gabriele Sanmartino, Matthias Urban, Paolo Papotti, Carsten Binnig

AI总结:

Stretto通过约束优化和梯度优化器,在LLM增强数据系统中实现端到端查询保证,同时高效平衡运行时准确性权衡。

摘要:

LLM增强的数据系统能够对结构化和非结构化数据进行语义查询,但使用LLM驱动的操作符执行查询会引入一个根本的运行时准确性权衡。在本文中,我们提出了Stretto,这是一个新的执行引擎,能够在端到端查询保证的同时,以整体方式高效地导航这一权衡。为此,Stretto将查询规划制定为一个约束优化问题,并使用基于梯度的优化器,联合选择操作符实现并分配误差预算到管道中。此外,为了使执行选择更加精细,Stretto引入了一种新的想法,即如何利用键值缓存来实现一系列不同的物理操作符,将稀疏的设计空间转化为运行时准确性权衡的连续体。实验显示,Stretto在性能上优于最先进的系统,同时始终满足质量保证。

英文摘要:

Semantic data systems enable querying over both structured and unstructured data using LLMs, but a central challenge is navigating the performance-accuracy trade-off when selecting among alternative strategies for executing semantic operators. In this paper, we present Stretto, a new execution engine for semantic query processing that combines a novel optimizer with a rich set of physical execution strategies for semantic operators. Unlike prior work, Stretto provides global - rather than per-operator - accuracy guarantees while optimizing query performance. To this end, Stretto formulates query planning as a constrained optimization problem and employs a gradient-based optimizer to jointly select operator implementations and allocate error budgets across the full query plan. Furthermore, to enable diverse execution choices, Stretto introduces a new technique that builds on KV-cache compression to realize a spectrum of physical execution strategies for semantic operators with controllable runtime-accuracy trade-offs. Experimental results demonstrate that Stretto outperforms state-of-the-art systems while consistently satisfying quality guarantees.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑