cs.DCApr 9, 2026

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

Authors: Nikos Pagonas, Matthew Lou, Tianyi Peng, Dan Rubenstein, Kostis Kaffes

Organizations: Columbia University

Abstract

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.

Figures & tables

Explore similar work

CardsList
  1. RA-MoWE: Workflow-Affinity Embeddings for Query Clustering and Agentic Workflow Generation

    Oct 6, 2026Qi Cheng, Shengyu Chen, Wei Cheng +4LLM Agent Workflow OptimizationAgentic Workflows

  2. CB-Orchestrator: Adaptive Workflow Optimization for LLM Agents via Contextual Bandits

    Oct 9, 2026Jiahang Sun, Zhiwei Shang, Zhipiao Liu +4LLM Agent Workflow OptimizationAgentic Workflows