[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85647-en":3,"doc-seo-85647-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},85647,4398048949847,"Eliana","https://ap-avatar.wpscdn.com/avatar/400002536579ef2da7f?_k=1778318612642679267",8,"Research & Report","CADENZA：将自然语言意图编译为用于语义查询处理的特定任务算子DAG","Semantic query processing engines extend relational query execution with semantic operators implemented through model inference over unstructured data. Their optimization is inherently multi-objective: inference dominates latency and monetary cost, while outputs are stochastic and backend-dependent, requiring quality to be optimized alongside efficiency. Existing optimizers cannot treat per-operator intermediate task outputs as relational optimization objects. CADENZA compiles each intent-bound operator instance into typed task DAGs and selects plans under user-specified trade-offs.","CADENZA: Compiling Natural-Language Intent into Task-Specific Operator DAGs for Semantic Query Processing  \nJaehyun Ha  \n[jhha@dblab.postech.ac.kr](jhha@dblab.postech.ac.kr)[ ](jhha@dblab.postech.ac.kr)GSAI, POSTECH Pohang, Korea  \nYongjoo Park  \n[yongjoo@illinois.edu](yongjoo@illinois.edu)[ ](yongjoo@illinois.edu)Univ. of Illinois Urbana-Champaign Urbana, USA  \nWook-Shin Han∗  \n[wshan@dblab.postech.ac.kr](wshan@dblab.postech.ac.kr)[ ](wshan@dblab.postech.ac.kr)GSAI, POSTECH Pohang, Korea  \narXiv :2606 .29151v3 [ cs .DB] 13 Jul 2026  \nAbstract  \nSemantic query processing engines (SQPEs) extend relational query processing with semantic operators that are executed via model inference over unstructured data. Optimizing such queries is inherently multi-objective: model inference dominates latency and monetary cost, and outputs are stochastic and backend-dependent, so quality must be optimized alongside efficiency. Existing SQPE optimizers do not expose each semantic operator instance’s intermediate task outputs as a relational optimization object, leaving optimization unable to filter, reorder, route, threshold, or jointly tune them. We present CADENZA, which compiles each semantic operator instance—a template bound to a natural-language intent—into an intent-specific plan space of typed task DAGs and selects an executable plan under user-specified quality–latency–cost trade-offs. CADENZA introduces task-extended relational algebra (TxRA), a conservative extension of relational algebra with task-specific operators. The logical planner synthesizes seed TxRA plans, applies structural rewrites whose safety conditions are checked from operator dependencies, and enumerates semantics-guided alternatives from alternative-generation templates. The physical planner compiles each task-specific operator into a router over heterogeneous backends and jointly tunes routing cutpoints, backend parameters, and relational thresholds with Bayesian optimization. On SemBench, CADENZA improves the scenario-level averages of quality, latency, and cost by up to +0.49, 165.7×, and 310.3×, respectively, relative to state-of-the-art.  \nKeywords  \nSemantic Operators, Large Language Models, Query Optimization, Multi-Objective Optimization, Task-Specific Operators  \nACM Reference Format:  \nJaehyun Ha, Yongjoo Park, and Wook-Shin Han. 2018. CADENZA: Compiling Natural-Language Intent into Task-Specific Operator DAGs for Semantic Query Processing. In Proceedings of (SIGMOD’27) . ACM, New York, NY, USA, 27 pages. [https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \n∗ Corresponding author.  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission [and/or a fee. Request permissions from permissions@acm.org](and/or a fee. Request permissions from permissions@acm.org).  \nSIGMOD’27, Woodstock, NY  \n© 2018 Copyright held by the owner/author(s) . Publication rights licensed to ACM. ACM ISBN 978-1-4503-XXXX-X/2018/06  \n[https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \nSELECT b.BrandName, COUNT(*) AS NumFlagged  \nFROM Products p JOIN Brands b ON p.BrandId = b.BrandId WHERE p .Category IN ( ' Supplements ' , ' Cosmetics ' )  \nAND SemFilter ( ' Compliance-sensitive claims (e .g . , \"FDA  \napproved\") appear on the package labels in {p .Image} . ' ) GROUP BY b.BrandName;  \nFigure 1: A semantic operator instance embedded in SQL.  \n1 Introduction  \nWith the advent of Large Language Models (LLMs), a new class of semantic query processing engines (SQPEs) has emerged [1, 7, 19, 21, 24, ","cbCaiiHMgLCPL08P","https://ap.wps.com/l/cbCaiiHMgLCPL08P","pdf",1598970,1,27,"English","en",105,"# Abstract\n# Introduction\n## Semantic query processing engines and semantic operators\n## Multi-objective optimization challenges\n## Limits of existing SQPE optimizers\n# CADENZA overview (from abstract)","[{\"question\":\"What problem does CADENZA address in semantic query processing?\",\"answer\":\"CADENZA addresses the difficulty of optimizing semantic query processing engines where expensive, uncertain model inference makes the task inherently multi-objective (quality, latency, and cost). Existing optimizers lack a way to represent intermediate semantic operator task outputs as relational optimization objects.\"},{\"question\":\"How does CADENZA structure optimization of semantic operators?\",\"answer\":\"CADENZA compiles each semantic operator instance—created by binding an operator template to a natural-language intent—into an intent-specific plan space of typed task DAGs, then selects an executable plan that satisfies user-defined trade-offs.\"},{\"question\":\"What techniques does CADENZA use to turn logical plans into executable execution?\",\"answer\":\"The logical planner synthesizes seed TxRA plans and applies dependency-safe structural rewrites, enumerating alternatives via semantics-guided templates. The physical planner compiles task-specific operators into routers across heterogeneous backends and jointly tunes routing cutpoints, backend parameters, and relational thresholds using Bayesian optimization.\"}]",1784205333,68,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"cadenza-compiling-natural-language-intent-into-task-specific-operator-dags-for-semantic-query-processing","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/cadenza-compiling-natural-language-intent-into-task-specific-operator-dags-for-semantic-query-processing/85647/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does CADENZA address in semantic query processing?","Question",{"text":75,"@type":76},"CADENZA addresses the difficulty of optimizing semantic query processing engines where expensive, uncertain model inference makes the task inherently multi-objective (quality, latency, and cost). Existing optimizers lack a way to represent intermediate semantic operator task outputs as relational optimization objects.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does CADENZA structure optimization of semantic operators?",{"text":80,"@type":76},"CADENZA compiles each semantic operator instance—created by binding an operator template to a natural-language intent—into an intent-specific plan space of typed task DAGs, then selects an executable plan that satisfies user-defined trade-offs.",{"name":82,"@type":73,"acceptedAnswer":83},"What techniques does CADENZA use to turn logical plans into executable execution?",{"text":84,"@type":76},"The logical planner synthesizes seed TxRA plans and applies dependency-safe structural rewrites, enumerating alternatives via semantics-guided templates. The physical planner compiles task-specific operators into routers across heterogeneous backends and jointly tunes routing cutpoints, backend parameters, and relational thresholds using Bayesian optimization.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":45,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":45,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":45,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":45,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":45,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":45,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]