本文提出面向 AI 智能体工作负载的异构系统,通过成本模型、MLIR 编译和动态编排实现执行图优化与端到端 SLA,显著降低 TCO。
摘要:
AI 智能体正成为众多应用中的主流工作负载,有望成为将 AI 所承诺的收益交付给企业和消费者的载体。与传统软件或静态推理不同,智能体工作负载具有动态性和结构复杂性。这些智能体通常是由计算与 IO 操作构成的有向图,涵盖多模态数据输入与转换、数据处理和上下文收集(例如向量数据库查找)、多次 LLM 推理、工具调用等。为了扩展 AI 智能体的使用规模,我们需要高效、可扩展的部署与智能体服务基础设施。为应对这一挑战,本文提出一种在异构计算基础设施上动态编排 AI 智能体工作负载的系统设计,这些基础设施涵盖来自不同厂商的 CPU 和加速器,也包括单一厂商内不同性能层级的设备。该系统提供若干构建模块:一个用于规划和优化智能体 AI 执行图的框架,采用考虑不同硬件的计算、内存和带宽约束的成本模型;一套基于 MLIR 的表示与编译系统,能够将 AI 智能体执行图分解为细粒度算子,并为不同硬件选项生成代码;以及一个动态编排系统,能够将细粒度组件放置到异构计算基础设施上并将其拼接起来,同时满足端到端 SLA。我们的设计执行系统级 TCO 优化,初步结果表明,利用异构基础设施能够带来显著的 TCO 收益。一个令人惊讶的初步发现是,对于某些工作负载,旧一代 GPU 与较新加速器的异构组合可以提供与最新一代同构 GPU 基础设施设计相似的 TCO,从而有可能延长已部署基础设施的寿命。
英文摘要:
AI agents are emerging as a dominant workload in a wide range of applications, promising to be the vehicle that delivers the promised benefits of AI to enterprises and consumers. Unlike conventional software or static inference, agentic workloads are dynamic and structurally complex. Often these agents are directed graphs of compute and IO operations that span multi-modal data input and conversion), data processing and context gathering (e.g vector DB lookups), multiple LLM inferences, tool calls, etc. To scale AI agent usage, we need efficient and scalable deployment and agent-serving infrastructure.
To tackle this challenge, in this paper, we present a system design for dynamic orchestration of AI agent workloads on heterogeneous compute infrastructure spanning CPUs and accelerators, both from different vendors and across different performance tiers within a single vendor. The system delivers several building blocks: a framework for planning and optimizing agentic AI execution graphs using cost models that account for compute, memory, and bandwidth constraints of different HW; a MLIR based representation and compilation system that can decompose AI agent execution graphs into granular operators and generate code for different HW options; and a dynamic orchestration system that can place the granular components across a heterogeneous compute infrastructure and stitch them together while meeting an end-to-end SLA. Our design performs a systems level TCO optimization and preliminary results show that leveraging a heterogeneous infrastructure can deliver significant TCO benefits. A preliminary surprising finding is that for some workloads a heterogeneous combination of older generation GPUs with newer accelerators can deliver similar TCO as the latest generation homogenous GPU infrastructure design, potentially extending the life of deployed infrastructure.
ARCADIA: Scalable Causal Discovery for Corporate Bankruptcy Analysis Using Agentic AI
Department of Economics, Statistics and Business, Universitas Mercatorum, Rome, Italy(经济学、统计学与商业系,墨菲大学,罗马,意大利);Department of Engineering and Science, Universitas Mercatorum, Rome, Italy(工程与科学系,墨菲大学,罗马,意大利);Independent Researcher, Bucharest, Romania(独立研究者,布加勒斯特,罗马尼亚)
Internet of Agentic AI: Incentive-Compatible Distributed Teaming and Workflow
Department of Electrical and Computer Engineering, Tandon School of Engineering, New York University, Brooklyn, NY, USA(电气与计算机工程系,工程学院,纽约大学,布鲁克林,纽约,美国)
Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment
Centre for Software Excellence, Huawei Canada(华为加拿大软件卓越中心);Department of Computer Science, University of Manitoba, Canada(曼尼托巴大学计算机科学系);School of Computing, Queen’s University, Canada(皇后大学计算科学学院)
MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Science
Emory University(埃默里大学);Georgia Institute of Technology(佐治亚理工学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Yale University(耶鲁大学);UT Southwestern Medical Center(德克萨斯大学西南医学中心);University of Washington(华盛顿大学)
Enhancing Demand-Oriented Regionalization with Agentic AI and Local Heterogeneous Data for Adaptation Planning
College of Design, Construction and Planning, University of Florida(佛罗里达大学设计、建设与规划学院);Department of Electrical and Computer Engineering, University of Florida(佛罗里达大学电气与计算机工程系);Florida Institute for Built Environment Resilience (FIBER), University of Florida(佛罗里达大学环境韧性研究所)
Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolution
Princeton University(普林斯顿大学);Tsinghua University(清华大学);Shanghai Jiao Tong University(上海交通大学);University of Michigan(密歇根大学);Tianqiao and Chrissy Chen Institute(天桥和克里斯·陈研究所);The Chinese University of Hong Kong(香港中文大学)
Agentic workflow enables the recovery of critical materials from complex feedstocks via selective precipitation
Physical and Computational Sciences Directorate, Pacific Northwest National Laboratory(太平洋西北国家实验室物理与计算科学部门);Department of Chemical Engineering, University of Washington(华盛顿大学化学工程系)
Plan First, Judge Later, Run Better: A DMAIC-Inspired Agentic System for Industrial Anomaly Detection
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);Shanghai University of Finance and Economics(上海财经大学);Technische Universität München(慕尼黑技术大学);Southwestern University of Finance and Economics(西南财经大学)
Agentic AI for Scalable and Robust Optical Systems Control
Department of Electrical and Computer Engineering, Duke University(电气与计算机工程系,杜克大学);Duke Quantum Center and Department of Physics, Duke University(杜克量子中心和物理系,杜克大学);Department of Computer Science, Duke University(计算机科学系,杜克大学);NEC Laboratories America(NEC美国实验室);Axiomatic AI(公理AI);Joint Quantum Institute, Department of Physics, and the National Quantum Laboratory (QLab), University of Maryland(联合量子研究所、物理系以及国家量子实验室(QLab),马里兰大学);Research Laboratory of Electronics, Massachusetts Institute of Technology(电子研究实验室,麻省理工学院)
Optimizing Agentic Reasoning with Retrieval via Synthetic Semantic Information Gain Reward
Hong Kong JC STEM Lab of Smart City.(香港JC STEM实验室);City University of Hong Kong.(香港城市大学);Lingnan University(岭南大学);Fudan University.(复旦大学);Huazhong University of Science and Technology.(华中科技大学)