WEPO: Web Element Preference Optimization for LLM-based Web Navigation

Authors

  • Jiarun Liu State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications
  • Jia Hao State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications
  • Chunhong Zhang State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications
  • Zheng Hu State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications

DOI:

https://doi.org/10.1609/aaai.v39i25.34863

Abstract

The rapid advancement of autonomous web navigation has significantly benefited from grounding pretrained Large Language Models (LLMs) as agents. However, current research has yet to fully leverage the redundancy of HTML elements for contrastive training. This paper introduces a novel approach to LLM-based web navigation tasks, called Web Element Preference Optimization (WEPO). WEPO utilizes unsupervised preference learning by sampling distance-based non-salient web elements as negative samples, optimizing maximum likelihood objective within Direct Preference Optimization (DPO). We evaluate WEPO on the Mind2Web benchmark and empirically demonstrate that WEPO aligns user high-level intent with output actions more effectively. The results show that our method achieved the state-of-the-art, with an improvement of 13.8% over WebAgent and 5.3% over the visual language model CogAgent baseline. Our findings underscore the potential of preference optimization to enhance web navigation and other web page based tasks, suggesting a promising direction for future research.

Downloads

Published

2025-04-11

How to Cite

Liu, J., Hao, J., Zhang, C., & Hu, Z. (2025). WEPO: Web Element Preference Optimization for LLM-based Web Navigation. Proceedings of the AAAI Conference on Artificial Intelligence, 39(25), 26614–26622. https://doi.org/10.1609/aaai.v39i25.34863

Issue

Section

AAAI Technical Track on Planning, Routing, and Scheduling