Saved in:
Bibliographic Details
Main Authors: Lu, Qingyu, Ding, Liang, Cao, Siyi, Liu, Xuebo, Zhang, Kanjian, Zhang, Jinxia, Tao, Dacheng
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.17616
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909799250132992
author Lu, Qingyu
Ding, Liang
Cao, Siyi
Liu, Xuebo
Zhang, Kanjian
Zhang, Jinxia
Tao, Dacheng
author_facet Lu, Qingyu
Ding, Liang
Cao, Siyi
Liu, Xuebo
Zhang, Kanjian
Zhang, Jinxia
Tao, Dacheng
contents Agents powered by large language models (LLMs) have demonstrated strong planning and decision-making capabilities in complex embodied environments. However, such agents often suffer from inefficiencies in multi-turn interactions, frequently trapped in repetitive loops or issuing ineffective commands, leading to redundant computational overhead. Instead of relying solely on learning from trajectories, we take a first step toward exploring the early-exit behavior for LLM-based agents. We propose two complementary approaches: 1. an $\textbf{intrinsic}$ method that injects exit instructions during generation, and 2. an $\textbf{extrinsic}$ method that verifies task completion to determine when to halt an agent's trial. To evaluate early-exit mechanisms, we introduce two metrics: one measures the reduction of $\textbf{redundant steps}$ as a positive effect, and the other evaluates $\textbf{progress degradation}$ as a negative effect. Experiments with 4 different LLMs across 5 embodied environments show significant efficiency improvements, with only minor drops in agent performance. We also validate a practical strategy where a stronger agent assists after an early-exit agent, achieving better performance with the same total steps. We will release our code to support further research.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17616
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Runaway is Ashamed, But Helpful: On the Early-Exit Behavior of Large Language Model-based Agents in Embodied Environments
Lu, Qingyu
Ding, Liang
Cao, Siyi
Liu, Xuebo
Zhang, Kanjian
Zhang, Jinxia
Tao, Dacheng
Computation and Language
Artificial Intelligence
Agents powered by large language models (LLMs) have demonstrated strong planning and decision-making capabilities in complex embodied environments. However, such agents often suffer from inefficiencies in multi-turn interactions, frequently trapped in repetitive loops or issuing ineffective commands, leading to redundant computational overhead. Instead of relying solely on learning from trajectories, we take a first step toward exploring the early-exit behavior for LLM-based agents. We propose two complementary approaches: 1. an $\textbf{intrinsic}$ method that injects exit instructions during generation, and 2. an $\textbf{extrinsic}$ method that verifies task completion to determine when to halt an agent's trial. To evaluate early-exit mechanisms, we introduce two metrics: one measures the reduction of $\textbf{redundant steps}$ as a positive effect, and the other evaluates $\textbf{progress degradation}$ as a negative effect. Experiments with 4 different LLMs across 5 embodied environments show significant efficiency improvements, with only minor drops in agent performance. We also validate a practical strategy where a stronger agent assists after an early-exit agent, achieving better performance with the same total steps. We will release our code to support further research.
title Runaway is Ashamed, But Helpful: On the Early-Exit Behavior of Large Language Model-based Agents in Embodied Environments
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.17616