cd /news/artificial-intelligence/cost-aware-optimization-for-agentic-… · home topics artificial-intelligence article
[ARTICLE · art-103970] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Cost-Aware Optimization for Agentic Query Execution

A new optimizer called EnumGRPO, developed by researchers, achieves 35.4% execution accuracy at $0.011 per query in LLM-operator cost on the SWAN benchmark, a ~317x cost reduction over the hybrid query baseline with an 18% relative improvement in answer accuracy. The work formalizes agentic query execution, where agent-based planning is interleaved with execution, and uses in-context reinforcement learning to distill quality-cost feedback into reusable planning heuristics.

read2 min views6 publishedAug 20, 2026
Cost-Aware Optimization for Agentic Query Execution
Image: source
[Submitted on 2 Jun 2026]


[View PDF](/pdf/2606.03152)

[HTML (experimental)](https://arxiv.org/html/2606.03152v1)

Abstract:Classical query optimization searches over algebraically equivalent plans that differ only in cost. This assumption breaks once LLM-backed operators enter the picture: their placement, ordering, and granularity jointly determine both dollar cost and answer quality, and the right choice among the alternatives is often revealed only at runtime. We formalize this setting as agentic query execution, a query execution paradigm in which agent-based planning is interleaved with execution, and agent workflow optimization becomes the analogue of classical query optimization. We then present EnumGRPO, a self-improving optimizer for this setting. During a learning stage, EnumGRPO enumerates query plans over decisions such as execution paradigm, operator type, operator placement, selectivity scope, and projection width, then distills quality-cost feedback into reusable planning heuristics via in-context reinforcement learning. Across four databases in SWAN, EnumGRPO achieves 35.4% execution accuracy at $0.011 per query in LLM-operator cost, a ~317x cost reduction over the hybrid query baseline with an 18% relative improvement in answer accuracy.

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?)# Code, Data and Media Associated with this Article alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?)# Demos Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?)# arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @enumgrpo 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/cost-aware-optimizat…] indexed:0 read:2min 2026-08-20 ·