Skip to main navigation Skip to search Skip to main content

WEBCOT: Enhancing Web Agent Reasoning by Reconstructing Chain-of-Thought in Reflection, Branching, and Rollback

  • Minda Hu (Co-first Author)
  • , Tianqing Fang (Co-first Author)
  • , Jianshu Zhang
  • , Junyu Ma
  • , Zhisong Zhang
  • , Jingyan Zhou
  • , Hongming Zhang
  • , Haitao Mi
  • , Dong Yu
  • , Irwin King

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Web agents powered by Large Language Models (LLMs) show promise for next-generation AI, but their limited reasoning in uncertain, dynamic web environments hinders robust deployment. In this paper, we identify key reasoning skills essential for effective web agents, i.e., reflection & lookahead, branching, and rollback, and curate trajectory data that exemplifies these abilities by reconstructing the agent’s (inference-time) reasoning algorithms into chain-of-thought rationales. We conduct experiments in the agent self-improving benchmark, OpenWebVoyager, and demonstrate that distilling salient reasoning patterns into the backbone LLM via simple fine-tuning can substantially enhance its performance. Our approach yields significant improvements across multiple benchmarks, including WebVoyager, Mind2web-live, and SimpleQA (web search), highlighting the potential of targeted reasoning skill enhancement for web agents. ©2025 Association for Computational Linguistics.
Original languageEnglish
Title of host publicationFindings of the Association for Computational Linguistics
Subtitle of host publicationEMNLP 2025
EditorsChristos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, Violet Peng
PublisherAssociation for Computational Linguistics
Pages5155-5173
Number of pages19
ISBN (Print)979-8-89176-335-7
DOIs
Publication statusPublished - Nov 2025
Externally publishedYes
Event30th Conference on Empirical Methods in Natural Language Processing (EMNLP 2025) - Suzhou, China
Duration: 4 Nov 20259 Nov 2025
https://aclanthology.org/volumes/2025.emnlp-main/

Publication series

NameEMNLP - Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP

Conference

Conference30th Conference on Empirical Methods in Natural Language Processing (EMNLP 2025)
Abbreviated title30th EMNLP
PlaceChina
CitySuzhou
Period4/11/259/11/25
Internet address

Funding

Two authors (i.e., Minda Hu, Irwin King) of the work described in this paper were partially supported by the Research Grants Council of the Hong Kong Special Administrative Region, China (CUHK 2410072, RGC R1015-23). As the first author, I would like to express my heartfelt gratitude to my family, co-authors, and advisor, Prof. Irwin King, for their unwavering support and invaluable guidance throughout this work.

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

RGC Funding Information

  • RGC-funded

Fingerprint

Dive into the research topics of 'WEBCOT: Enhancing Web Agent Reasoning by Reconstructing Chain-of-Thought in Reflection, Branching, and Rollback'. Together they form a unique fingerprint.

Cite this