VineLM: Trie-Based Fine-Grained Control for Agentic Workflows

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pagonas, Nikos, Lou, Matthew, Peng, Tianyi, Rubenstein, Dan, Kaffes, Kostis
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911709954834432
author Pagonas, Nikos
Lou, Matthew
Peng, Tianyi
Rubenstein, Dan
Kaffes, Kostis
author_facet Pagonas, Nikos
Lou, Matthew
Peng, Tianyi
Rubenstein, Dan
Kaffes, Kostis
contents Agentic workflows interleave configurable LLM stages with tool stages and often include retries or refinement loops. Existing workflow managers profile full workflow configurations offline and assign each request a static workflow-level plan that binds each configurable LLM stage to a single model, reuses that model across repeated loop iterations, and does not revisit those choices at runtime. We present VineLM, a workflow manager that enables fine-grained control by choosing the model for each stage invocation as execution unfolds under request-level objectives such as maximizing accuracy under cost or latency budgets. VineLM represents feasible executions as an annotated trie of model-choice prefixes and uses checkpointing and cascade profiling to estimate path accuracy, cost, and latency without exhaustively profiling every request on every path. At runtime, VineLM re-roots the trie after each stage invocation and replans over the remaining subtrie using the realized execution prefix and remaining latency budget. On NL2SQL and math reasoning workflows, VineLM improves the cost-latency-accuracy frontier over coarse workflow-level baselines, achieving up to 18% higher accuracy at the same per-request budget with its sparse profiling reducing offline profiling cost by 98-99.8% when compared to exhaustive profiling.
format Preprint
id arxiv_https___arxiv_org_abs_2605_23914
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle VineLM: Trie-Based Fine-Grained Control for Agentic Workflows
Pagonas, Nikos
Lou, Matthew
Peng, Tianyi
Rubenstein, Dan
Kaffes, Kostis
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Multiagent Systems
Agentic workflows interleave configurable LLM stages with tool stages and often include retries or refinement loops. Existing workflow managers profile full workflow configurations offline and assign each request a static workflow-level plan that binds each configurable LLM stage to a single model, reuses that model across repeated loop iterations, and does not revisit those choices at runtime. We present VineLM, a workflow manager that enables fine-grained control by choosing the model for each stage invocation as execution unfolds under request-level objectives such as maximizing accuracy under cost or latency budgets. VineLM represents feasible executions as an annotated trie of model-choice prefixes and uses checkpointing and cascade profiling to estimate path accuracy, cost, and latency without exhaustively profiling every request on every path. At runtime, VineLM re-roots the trie after each stage invocation and replans over the remaining subtrie using the realized execution prefix and remaining latency budget. On NL2SQL and math reasoning workflows, VineLM improves the cost-latency-accuracy frontier over coarse workflow-level baselines, achieving up to 18% higher accuracy at the same per-request budget with its sparse profiling reducing offline profiling cost by 98-99.8% when compared to exhaustive profiling.
title VineLM: Trie-Based Fine-Grained Control for Agentic Workflows
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Multiagent Systems
url https://arxiv.org/abs/2605.23914