Queue Management for Large Language Model Serving
Archit Patke, Dhemath Reddy, et al.
ASPLOS 2024
Like traditional software, AI agents are prone to failure; specifically, they can enter ‘repetitive futile cycles’ — loops of unproductive behavior that are particularly difficult to detect. This paper introduces the concept of futile cycles and distinguishes them from productive cycles in agent execution trajectories. We propose unsupervised approaches for detecting futile cycles that leverage both structural and semantic representations of agent trajectories evaluated on a large dataset of trajectories for a LangGraph-based stock market multi-Agent application. Our hybrid approach achieves an F1 score of (precision: , recall: ), significantly outperforming individual structural (F1: ) and semantic (F1: ) methods.
Archit Patke, Dhemath Reddy, et al.
ASPLOS 2024
Larry Carvalho, Anca Sailer, et al.
KubeCon EU 2025
William Zhang, Pavithra Harsha, et al.
NeurIPS 2026
Matthew Arnold, Jeffrey Boston, et al.
MLSys 2020