Redirecting to original paper in 30 seconds...

Click below to go immediately or wait for automatic redirect

arxiv_cl 90% Match Research Paper AI System Designers,Machine Learning Engineers,Researchers in Agent-based Systems,Robotics Engineers,Software Architects 20 hours ago

Understanding and Optimizing Agentic Workflows via Shapley value

large-language-models › reasoning
📄 Abstract

Abstract: Agentic workflows have become the dominant paradigm for building complex AI systems, orchestrating specialized components, such as planning, reasoning, action execution, and reflection, to tackle sophisticated real-world tasks. However, systematically analyzing and optimizing these workflows remains challenging due to intricate component interdependencies and the lack of principled attribution methods. In this work, we introduce ShapleyFlow, the first framework that employs cooperative game theory to analyze and optimize agentic workflows. By applying the Shapley value to evaluate all possible component configurations, ShapleyFlow enables fine-grained attribution of each component's contribution and facilitates the identification of task-specific optimal configurations. Through a constructed dataset evaluated across 7 scenarios, such as navigation, math and OS, we demonstrate 3 key contributions: (1) Theoretical Framework: a principled game-theoretic approach for the attribution of contributions in agentic workflows. (2) Optimal Workflow Discovery: ShapleyFlow identifies task-specific component configurations that consistently outperform workflows relying on a single LLM across all tested tasks. (3) Comprehensive Analysis: we construct and analyze over 1,500 tasks, providing actionable insights and design guidelines for optimizing workflows across multiple domains.

Key Contributions

Introduces ShapleyFlow, the first framework using cooperative game theory (Shapley value) to analyze and optimize agentic workflows. It enables fine-grained attribution of each component's contribution and identifies task-specific optimal configurations for complex AI systems.

Business Value

Improves the efficiency, reliability, and understandability of complex AI systems (like LLM agents), leading to better performance and easier debugging in applications ranging from autonomous driving to sophisticated software agents.