Parrot: Efficient Serving of LLM-based Applications with Semantic Variable

Auteurs : Chaofan Lin, Zhenhua Han, Chengruidong Zhang, Yuqing Yang, Fan Yang, Chen Chen, Lili Qiu

Soumis à arXiv le 30 Mai. 2024
Licence : CC BY 4.0
Résumé scientifique

The rise of large language models (LLMs) has enabled LLM-based applications (a.k.a. AI agents or co-pilots), a new software paradigm that combines the strength of LLM and conventional software. Diverse LLM applications from different tenants could design complex workflows using multiple LLM requests to accomplish one task. However, they have to use the over-simplified request-level API provided by today's public LLM services, losing essential application-level information. Public LLM services have to blindly optimize individual LLM requests, leading to sub-optimal end-to-end performance of LLM applications. This paper introduces Parrot, an LLM service system that focuses on the end-to-end experience of LLM-based applications. Parrot proposes Semantic Variable, a unified abstraction to expose application-level knowledge to public LLM services. A Semantic Variable annotates an input/output variable in the prompt of a request, and creates the data pipeline when connecting multiple LLM requests, providing a natural way to program LLM applications. Exposing Semantic Variables to the public LLM service allows it to perform conventional data flow analysis to uncover the correlation across multiple LLM requests. This correlation opens a brand-new optimization space for the end-to-end performance of LLM-based applications. Extensive evaluations demonstrate that Parrot can achieve up to an order-of-magnitude improvement for popular and practical use cases of LLM applications.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Proche Cite cet article Utilise cet article en profondeur
    Autellix: An Efficient Serving Engine for LLM Agents as General Programs
    Michael Luo, Xiaoxiang Shi, Colin Cai et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 88 fois · Pas encore résumé
    Résumé scientifique

    Large language model (LLM) applications are evolving beyond simple chatbots into dynamic, general-purpose agentic programs, which scale LLM calls and output tokens to help AI agents reason, explore, and solve complex tasks. However, existing LLM serving systems ignore dependencies between programs and calls, missing significant opportunities for optimization. Our analysis reveals that programs submitted to LLM serving engines experience long cumulative wait times, primarily due to head-of-line blocking at both the individual LLM request and the program. To address this, we introduce Autellix, an LLM serving system that treats programs as first-class citizens to minimize their end-to-end late…

  2. Proche Cite cet article
    Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective
    Noppanat Wadlom, Jun-Yi Shen, Yao Lu · 2026 · Proc. ACM Manag. Data · cité 20 fois · Pas encore résumé
    Résumé scientifique

    Agentic workflows are composed of sequences of interdependent Large Language Model (LLM) calls, and they have become a dominant workload in modern AI systems. These workflows exhibit extensive redundancy from overlapping prompts and intermediate results due to speculative and parallel exploration. Existing LLM serving systems, such as vLLM, focus on optimizing individual inference calls and overlook cross-call dependencies, leading to significant inefficiencies. This paper rethinks LLM and agent serving from a data systems perspective and introduces Helium, a workflow-aware serving framework that models agentic workloads as query plans and treats LLM invocations as first-class operators. Hel…

  3. Proche Cite cet article
    Serve Programs, Not Prompts
    In Gim, Lin Zhong · 2025 · USENIX Workshop on Hot Topics in Operating Systems · cité 1 fois · Pas encore résumé
    Résumé scientifique

    Current large language model (LLM) serving systems, primarily designed for text completion, are neither efficient nor adaptable for increasingly complex LLM applications due to their inflexible design. We propose a new LLM serving system architecture that serves programs instead of prompts to address this problem. These programs, called LLM Inference Programs (LIPs), allow users to customize token prediction and KV cache management at runtime and to offload parts of their application logic, such as tool execution, to the server. We describe an example of this architecture through a system named Symphony, which functions as an operating system for LIPs. Symphony exposes LLM model computations…

  4. Proche
    Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agents
    Yashar Talebirad, Amirhossein Nadiri · 2023 · Artificial Intelligence · preprint, non relu par les pairs · cité 509 fois · Résumé IA disponible
    Résumé scientifique

    In this paper, we present a novel framework for enhancing the capabilities of large language models (LLMs) by leveraging the power of multi-agent systems. Our framework introduces a collaborative environment where multiple intelligent agent components, each with distinctive attributes and roles, work together to handle complex tasks more efficiently and effectively. We demonstrate the practicality and versatility of our framework through case studies in artificial general intelligence (AGI), specifically focusing on the Auto-GPT and BabyAGI models. We also examine the "Gorilla" model, which integrates external APIs into the LLM. Our framework addresses limitations and challenges such as loop…

  5. Proche
    Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
    Simran Arora, Brandon Yang, Sabri Eyuboglu et al. · 2023 · Computation and Language · cité 218 fois · Résumé IA disponible
    Résumé scientifique

    A long standing goal of the data management community is to develop general, automated systems that ingest semi-structured documents and output queryable tables without human effort or domain specific customization. Given the sheer variety of potential documents, state-of-the art systems make simplifying assumptions and use domain specific training. In this work, we ask whether we can maintain generality by using large language models (LLMs). LLMs, which are pretrained on broad data, can perform diverse downstream tasks simply conditioned on natural language task descriptions. We propose and evaluate EVAPORATE, a simple, prototype system powered by LLMs. We identify two fundamentally differe…

  6. Proche
    PAL: Program-aided Language Models
    Luyu Gao, Aman Madaan, Shuyan Zhou et al. · 2022 · Computation and Language · cité 901 fois · Résumé IA disponible
    Résumé scientifique

    Large language models (LLMs) have recently demonstrated an impressive ability to perform arithmetic and symbolic reasoning tasks when provided with a few examples at test time (few-shot prompting). Much of this success can be attributed to prompting methods for reasoning, such as chain-of-thought, that employ LLMs for both understanding the problem description by decomposing it into steps, as well as solving each step of the problem. While LLMs seem to be adept at this sort of step-by-step decomposition, LLMs often make logical and arithmetic mistakes in the solution part, even when the problem is correctly decomposed. We present Program-Aided Language models (PaL): a new method that uses th…

  7. Proche
    Large Language Models for Robotics: A Survey
    Fanlong Zeng, Wensheng Gan, Yongheng Wang et al. · 2023 · Robotics · preprint, non relu par les pairs · cité 277 fois · Pas encore résumé
    Résumé scientifique

    The human ability to learn, generalize, and control complex manipulation tasks through multi-modality feedback suggests a unique capability, which we refer to as dexterity intelligence. Understanding and assessing this intelligence is a complex task. Amidst the swift progress and extensive proliferation of large language models (LLMs), their applications in the field of robotics have garnered increasing attention. LLMs possess the ability to process and generate natural language, facilitating efficient interaction and collaboration with robots. Researchers and engineers in the field of robotics have recognized the immense potential of LLMs in enhancing robot intelligence, human-robot interac…

  8. Proche
    Procedural Memory Is Not All You Need: Bridging Cognitive Gaps in LLM-Based Agents
    Schaun Wheeler, Olivier Jeunen · 2025 · Artificial Intelligence · cité 18 fois · Résumé IA disponible
    Résumé scientifique

    Large Language Models (LLMs) represent a landmark achievement in Artificial Intelligence (AI), demonstrating unprecedented proficiency in procedural tasks such as text generation, code completion, and conversational coherence. These capabilities stem from their architecture, which mirrors human procedural memory -- the brain's ability to automate repetitive, pattern-driven tasks through practice. However, as LLMs are increasingly deployed in real-world applications, it becomes impossible to ignore their limitations operating in complex, unpredictable environments. This paper argues that LLMs, while transformative, are fundamentally constrained by their reliance on procedural memory. To creat…

Les travaux antérieurs sur lesquels il s’appuie

  1. Apparenté Utilisé en profondeur par cet article Une méthode qu’il utilise
    MetaGPT: Meta Programming for Multi-Agent Collaborative Framework
    Si-Rui Hong, Xia-Wu Zheng, Jonathan P. Chen et al. · 2023 · arXiv.org · preprint, non relu par les pairs · cité 2 753 fois · Résumé IA disponible
    Résumé scientifique

    Recently, remarkable progress has been made in automated task-solving through the use of multi-agent driven by large language models (LLMs). However, existing LLM-based multi-agent works primarily focus on solving simple dialogue tasks, and complex tasks are rarely studied, mainly due to the LLM hallucination problem. This type of hallucination becomes cascading when naively chaining multiple intelligent agents, resulting in a failure to effectively address complex problems. Therefore, we introduce MetaGPT, an innovative framework that incorporates efficient human workflows as a meta programming approach into LLM-based multi-agent collaboration. Specifically, MetaGPT encodes Standardized Ope…

  2. Apparenté Utilisé en profondeur par cet article Une méthode qu’il utilise
    Efficient Memory Management for Large Language Model Serving with PagedAttention
    Woosuk Kwon, Zhuo-Han Li, Si-Yuan Zhuang et al. · 2023 · Symposium on Operating Systems Principles · cité 9 683 fois · Résumé IA disponible
    Résumé scientifique

    High throughput serving of large language models (LLMs) requires batching sufficiently many requests at a time. However, existing systems struggle because the key-value cache (KV cache) memory for each request is huge and grows and shrinks dynamically. When managed inefficiently, this memory can be significantly wasted by fragmentation and redundant duplication, limiting the batch size. To address this problem, we propose PagedAttention, an attention algorithm inspired by the classical virtual memory and paging techniques in operating systems. On top of it, we build vLLM, an LLM serving system that achieves (1) near-zero waste in KV cache memory and (2) flexible sharing of KV cache within an…

  3. Apparenté Une méthode qu’il utilise
    Judging LLM-as-a-judge with MT-Bench and Chatbot Arena
    Lian-Min Zheng, Wei-Lin Chiang, Ying Sheng et al. · 2023 · Neural Information Processing Systems · cité 12 756 fois · Résumé IA disponible
    Résumé scientifique

    Evaluating large language model (LLM) based chat assistants is challenging due to their broad capabilities and the inadequacy of existing benchmarks in measuring human preferences. To address this, we explore using strong LLMs as judges to evaluate these models on more open-ended questions. We examine the usage and limitations of LLM-as-a-judge, including position, verbosity, and self-enhancement biases, as well as limited reasoning ability, and propose solutions to mitigate some of them. We then verify the agreement between LLM judges and human preferences by introducing two benchmarks: MT-bench, a multi-turn question set; and Chatbot Arena, a crowdsourced battle platform. Our results revea…

  4. Apparenté
    Splitwise: Efficient Generative LLM Inference Using Phase Splitting
    P. Patel, Esha Choukse, Chaojie Zhang et al. · 2023 · International Symposium on Computer Architecture · cité 1 078 fois · Pas encore résumé
    Résumé scientifique

    Generative large language model (LLM) applications are growing rapidly, leading to large-scale deployments of expensive and power-hungry GPUs. Our characterization of LLM inference shows that each inference request undergoes two phases: a compute-intensive prompt computation phase and a memory intensive token generation phase, each with distinct latency, throughput, memory, and power characteristics. Despite state-of-the-art batching and scheduling, the token generation phase underutilizes compute resources. Unlike prompt computation, token generation does not need the compute capability of the latest GPUs and can be run with lower power and cost. Based on these insights, we propose Splitwis…

  5. Apparenté
    DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
    Yin-Min Zhong, Sheng-Yu Liu, Junda Chen et al. · 2024 · USENIX Symposium on Operating Systems Design and Implementation · cité 1 163 fois · Pas encore résumé
    Résumé scientifique

    DistServe improves the performance of large language models (LLMs) serving by disaggregating the prefill and decoding computation. Existing LLM serving systems colocate the two phases and batch the computation of prefill and decoding across all users and requests. We find that this strategy not only leads to strong prefill-decoding interferences but also couples the resource allocation and parallelism plans for both phases. LLM applications often emphasize individual latency for each phase: time to first token (TTFT) for the prefill phase and time per output token (TPOT) of each request for the decoding phase. In the presence of stringent latency requirements, existing systems have to priori…

Les articles qui le citent

  1. Proche Utilise cet article en profondeur
    Characterizing Performance–Energy Trade-offs of Large Language Models in Multi-Request Workflows
    Md. Monzurul Amin Ifath, Israat Haque · 2026 · Measurement and Modeling of Computer Systems · cité 7 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) are increasingly deployed in applications forming multi-request workflows like document summarization, search-based copilots, and multi-agent programming. While these workflows unlock richer functionality, they also amplify latency and energy demand during inferences. Existing measurement and benchmarking efforts either focus on assessing performance of LLM inference systems or consider single-request evaluations, overlooking workflow dependencies and cross-request interactions unique to multi-request workflows. Moreover, the energy usage of such interdependent LLM calls is not explored in-depth. To address these gaps, this paper presents the first systematic cha…

  2. Proche Utilise cet article en profondeur
    Hermes: Efficient Serving of LLM Applications with Probabilistic Demand Modeling
    Yifei Liu, Zuo Gan, Zheng-Hao Gan et al. · 2025 · ACM Transactions on Architecture and Code Optimization (TACO) · cité 3 fois · Pas encore résumé
    Résumé scientifique

    Applications based on Large Language Models (LLMs) contain a series of tasks to address real-world problems with boosted capability, which have dynamic demand volumes on diverse backends. Existing serving systems treat the resource demands of LLM applications as a blackbox, compromising end-to-end efficiency due to improper queuing order and backend warm up latency. We find that the resource demands of LLM applications can be modeled in a general and accurate manner with Probabilistic Demand Graph (PDGraph). We then propose Hermes, which leverages PDGraph for efficient serving of LLM applications. Confronting probabilistic demand description, Hermes applies the Gittins policy to determine th…

  3. Proche
    Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems
    Xupeng Miao, Gabriele Oliaro, Zhihao Zhang et al. · 2023 · Machine Learning · cité 207 fois · Résumé IA disponible
    Résumé scientifique

    In the rapidly evolving landscape of artificial intelligence (AI), generative large language models (LLMs) stand at the forefront, revolutionizing how we interact with our data. However, the computational intensity and memory consumption of deploying these models present substantial challenges in terms of serving efficiency, particularly in scenarios demanding low latency and high throughput. This survey addresses the imperative need for efficient LLM serving methodologies from a machine learning system (MLSys) research perspective, standing at the crux of advanced AI innovations and practical system optimizations. We provide in-depth analysis, covering a spectrum of solutions, ranging from …

  4. Proche Utilise cet article en profondeur
    Characterizing Performance–Energy Trade-offs of Large Language Models in Multi-Request Workflows
    Md. Monzurul Amin Ifath, Israat Haque · 2026 · Proceedings of the ACM on Measurement and Analysis of Computing Systems · cité 1 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) are increasingly deployed in applications forming multi-request workflows like document summarization, search-based copilots, and multi-agent programming. While these workflows unlock richer functionality, they also amplify latency and energy demand during inferences. Existing measurement and benchmarking efforts either focus on assessing performance of LLM inference systems or consider single-request evaluations, overlooking workflow dependencies and cross-request interactions unique to multi-request workflows. Moreover, the energy usage of such interdependent LLM calls is not explored in-depth. To address these gaps, this paper presents the first systematic cha…

  5. Proche
    Towards End-to-End Optimization of LLM-based Applications with Ayo
    Xin Tan, Yi-Min Jiang, Yitao Yang et al. · 2024 · International Conference on Architectural Support for Programming Languages and Operating Systems · cité 59 fois · Pas encore résumé
    Résumé scientifique

    Large language model (LLM)-based applications consist of both LLM and non-LLM components, each contributing to the end-to-end latency. Despite great efforts to optimize LLM inference, end-to-end workflow optimization has been overlooked. Existing frameworks employ coarse-grained orchestration with task modules, which confines optimizations to within each module and yields suboptimal scheduling decisions. We propose fine-grained end-to-end orchestration, which utilizes task primitives as the basic units and represents each query's workflow as a primitive-level dataflow graph. This explicitly exposes a much larger design space, enables optimizations in parallelization and pipelining across pri…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 2 novembre 2026.

Le guide illustré des articles autour d’un article