TensorX
返回文献探索

Paper · arXiv 2410.16392

LLM-based Optimization of Compound AI Systems: A Survey

Matthieu Lin, Jenny Sheng, Andrew Zhao, Shenzhi Wang, Yang Yue, Yiran Wu, Huan Liu, Jun Liu, Gao Huang, Yong-Jin Liu

16 upvotesOctober 21, 2024arXiv 预印本
AI 摘要

A survey of principles and trends in using large language models (LLMs) for end-to-end optimization of compound AI systems, focusing on LLM-driven approaches and program analysis concepts.

LLMcompound AI systemsend-to-end optimizationLLM-based optimizationprogram analysis

Abstract

In a compound AI system, components such as an LLM call, a retriever, a code interpreter, or tools are interconnected. The system's behavior is primarily driven by parameters such as instructions or tool definitions. Recent advancements enable end-to-end optimization of these parameters using an LLM. Notably, leveraging an LLM as an optimizer is particularly efficient because it avoids gradient computation and can generate complex code and instructions. This paper presents a survey of the principles and emerging trends in LLM-based optimization of compound AI systems. It covers archetypes of compound AI systems, approaches to LLM-based end-to-end optimization, and insights into future directions and broader impacts. Importantly, this survey uses concepts from program analysis to provide a unified view of how an LLM optimizer is prompted to optimize a compound AI system. The exhaustive list of paper is provided at https://github.com/linyuhongg/LLM-based-Optimization-of-Compound-AI-Systems.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
LLM-based Optimization of Compound AI Systems: A Survey | TensorX