TeleGen: Improving LLM-Based Web Application Generation via Runtime Telemetry

Yujia Luo, Haonan Zhang, Jiasi Shen, Zishuo Ding, Weiyi Shang


Abstract
Large language models can generate runnable web applications from natural-language requirements, but many generated applications still fail interactive tasks. Existing generate-execute-repair pipelines execute the generated application and use task outcomes or error messages to guide code revision. However, this feedback often misses the runtime behavior between a browser action and the final task outcome, making interaction-level failures difficult to diagnose. Therefore, we propose TeleGen, an observability-enhanced framework for LLM-based web application generation. TeleGen instruments generated applications, collects runtime telemetry during task execution, and compresses raw telemetry logs into concise briefs for repair. We evaluate TeleGen on WebGen-Bench and Web-Bench. On WebGen- Bench, TeleGen improves task success from 67.7% with repair without telemetry to 76.2%, an increase of 8.5 percentage points. On Web-Bench, it improves cumulative Pass@2 from 21.7% to 29.8%. Ablation results show that runtime telemetry provides a useful diagnostic signal, while telemetry briefs make this signal more effective and less costly to use. Further analysis shows that telemetry is especially helpful for failures involving hidden execution paths, such as navigation, form workflows, and frontend-backend coordination.
Anthology ID:
2026.findings-emnlp.1860
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
39697–39715
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1860/
DOI:
Bibkey:
Cite (ACL):
Yujia Luo, Haonan Zhang, Jiasi Shen, Zishuo Ding, and Weiyi Shang. 2026. TeleGen: Improving LLM-Based Web Application Generation via Runtime Telemetry. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 39697–39715, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
TeleGen: Improving LLM-Based Web Application Generation via Runtime Telemetry (Luo et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1860.pdf