Metraipolis › archive › dc_6811b43dc8fc

When to Compile a Computer-Use Agent? Measuring Payback and Making Compilation Decisions for Token Efficiency — arXiv:2610.02932

Source
arXiv
Original
https://arxiv.org/abs/2610.02932
License (as archived)
CC0-1.0
Archived
2026-10-05T22:49:22.741Z
SHA-256 of the archived text
8a896b6107a0e9427cea8967015cefbde1b42c1d43dd9785cfabfc7f74fea6f3
Stable URL of this page
https://metraipolis.com/documento/dc_6811b43dc8fc

How to cite

When to Compile a Computer-Use Agent? Measuring Payback and Making Compilation Decisions for Token Efficiency — arXiv:2610.02932 — arXiv, https://arxiv.org/abs/2610.02932 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6811b43dc8fc (Metraipolis archive dc_6811b43dc8fc, sha256 8a896b6107a0e9427cea8967015cefbde1b42c1d43dd9785cfabfc7f74fea6f3)
BibTeX
@misc{dc6811b43dc8fc,
  title = {When to Compile a Computer-Use Agent? Measuring Payback and Making Compilation Decisions for Token Efficiency — arXiv:2610.02932},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.02932},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6811b43dc8fc; sha256 8a896b6107a0e9427cea8967015cefbde1b42c1d43dd9785cfabfc7f74fea6f3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.02932. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Compiling GUI procedures that agents execute repeatedly into programs can reduce their token costs. However, measuring payback and deciding when to compile have two challenges. First, compilation costs are uncertain because attempts can require repair and still fail to produce a usable program. Second, future reuse is unknown because tasks may stop arriving or GUI drift may stop the program from working. To address these challenges, we propose PACE (Payback-Aware Compilation from Experience), a system with a measurement protocol and an online compilation algorithm. The measurement protocol records successful and failed compilation costs, and compares agent and program execution costs on matched task inputs to estimate per-use savings and payback counts. Using these measurements, the online algorithm compares estimated future savings with compilation costs, including failed attempts, based on past task arrivals and compilation outcomes. It checks execution and compilation charges against a cumulative budget determined by observed task arrivals before allowing either action. Under stated action-cost assumptions, total cost after each arrival is at most $1+\epsilon$ times the cost of running every task with the agent. For successful compilation attempts, estimated payback counts excluding source agent runs are 2-16 uses. In simulations using recorded task arrivals, PACE reduces token costs by 17.3% compared with ReAct, 24.9% with the AutoRPA adaptation, and 17.3% with the ToolPro adaptation on average ($\epsilon=0.25$).

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.02932 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-05T22:45:55.653Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).