# Interpretable Early Termination of Web Navigation Agents via Closed Sequential Pattern Mining

DevFeed: [Interpretable Early Termination of Web Navigation Agents via Closed Sequential Pattern Mining](<https://devfeed.tech/articles/interpretable-early-termination-of-web-navigation-agents-via-closed-sequential-pattern-mining-117430.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.04142>)

Author: Sergio Talavera, Magdalini Eirinaki

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI Bots](<https://devfeed.tech/topics/ai-bots.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ma](<https://devfeed.tech/tags/cs-ma.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [mining](<https://devfeed.tech/tags/mining.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [taxonomy](<https://devfeed.tech/tags/taxonomy.md>), [traces](<https://devfeed.tech/tags/traces.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

The paper applies BIDE+ closed sequential pattern mining to the first K steps of web-agent traces, producing a small, human-reviewable library of failure signatures grouped into four categories with repair recommendations. Its evaluation protocol removes zero-step crashes and trivially separable single-step successes to reduce trace-length contamination. Across 1,544 MiniWoB++ traces from three open-weight models, the method reaches its best F1 of 0.717 at K=3 on the Exclude-errors configuration, detects 88% of test failures within three steps, and supports termination that saves 26.3% of tokens at 92% precision.

## Source excerpt

arXiv:2611.04142v1 Announce Type: new Abstract: Web navigation agents built on open-weight language models fail often and fail late, with most of the tokens spent after the trajectory has become unrecoverable. Recent work has shown that early termination is a viable cost-reduction strategy, but existing approaches produce opaque termination decisions that do not support diagnosis or human oversight. In this work we apply closed sequential pattern mining (BIDE+) to K-step prefixes of agent execution traces to produce a small, human-reviewable failure-signature library that organizes into a four-category failure taxonomy with associated repair recommendations. We use a multi-variant evaluation protocol that explicitly removes contamination artifacts (zero-step crashes and trivially separable single-step successes) so that reported detection accuracy reflects behavioral discrimination rather than trace-length distributions. We evaluate our methodology on 1,544 MiniWoB++ traces collected from three open-weight language models, achieving the best F1 at K=3 on the Exclude-errors configuration across eight methods (0.717), recovering 88% of test-set failures within three steps, and supporting an early-termination policy that saves 26.3% of tokens at 92% precision.