Cost-Efficient Observation for LLM-Based UI Grounding: Measuring Predicate-Relative Attribute Sufficiency Within a Symbolic Representation

A large language model (LLM)-based agent uses text observations to find UI elements. Their content affects token cost and grounding success. Observation-reduction work asks how much to remove; we ask which attribute subsets are sufficient under a fixed success predicate. We compare 6000 events across 24 synthetic pages, varying attributes and serialisations. Removing volatile class and id values increases success by 9.48 pp (95% CI [+4.90, +15.52] pp). The secondary metric P_now (unique correct match) changes little where a stable attribute exists but decreases otherwise. The improvement comes from removing unstable locator candidates, not adding information. Abbreviating attribute names reduces success by 12.08 pp, saving 0.2% of tokens. Removing JSON syntax while keeping attribute names reduces cost without a significant change in success. The cost-optimal profile (COP), best among 21 main configurations, achieves 10.00 pp higher success with 34.0% fewer tokens than full-attribute JSON. In a one-attempt comparison, the accessibility snapshot uses half the tokens but performs worse; neither dominates. The direction persists across three gpt-4.1 generations and four models under non-identical decoding settings (for o4-mini, via the COP). A 33-site archived-page pilot shows a smaller gain in that direction. Results concern predicate-relative sufficiency in HTML DOM with CSS locators.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-11-11
DOI
https://doi.org/10.3390/app162211180
Primary Topic
Web Data Mining and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Cost-Efficient Observation for LLM-Based UI Grounding: Measuring Predicate-Relative Attribute Sufficiency Within a Symbolic Representation

Milena Kirilova Lazarova, Anton Angelov
Applied Sciences
Web Data Mining and Analysis
article

Cost-Efficient Observation for LLM-Based UI Grounding: Measuring Predicate-Relative Attribute Sufficiency Within a Symbolic Representation

Milena Kirilova Lazarova, Anton Angelov
article en

Abstract

A large language model (LLM)-based agent uses text observations to find UI elements. Their content affects token cost and grounding success. Observation-reduction work asks how much to remove; we ask which attribute subsets are sufficient under a fixed success predicate. We compare 6000 events across 24 synthetic pages, varying attributes and serialisations. Removing volatile class and id values increases success by 9.48 pp (95% CI [+4.90, +15.52] pp). The secondary metric P_now (unique correct match) changes little where a stable attribute exists but decreases otherwise. The improvement comes from removing unstable locator candidates, not adding information. Abbreviating attribute names reduces success by 12.08 pp, saving 0.2% of tokens. Removing JSON syntax while keeping attribute names reduces cost without a significant change in success. The cost-optimal profile (COP), best among 21 main configurations, achieves 10.00 pp higher success with 34.0% fewer tokens than full-attribute JSON. In a one-attempt comparison, the accessibility snapshot uses half the tokens but performs worse; neither dominates. The direction persists across three gpt-4.1 generations and four models under non-identical decoding settings (for o4-mini, via the COP). A 33-site archived-page pilot shows a smaller gain in that direction. Results concern predicate-relative sufficiency in HTML DOM with CSS locators.

Applied SciencesVol. 16(22)
Technical University of Sofia (BG)
Web Data Mining and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon