Poster

Unsupervised Approaches to Futile Cycle Detection in AI Agents

Abstract

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 15751575 trajectories for a LangGraph-based stock market multi-Agent application. Our hybrid approach achieves an F1 score of 0.720.72 (precision: 0.620.62, recall: 0.860.86), significantly outperforming individual structural (F1: 0.080.08) and semantic (F1: 0.280.28) methods.