AllTogether: Investigating the Efficacy of Spliced Prompt for Web Navigation using Large Language Models

Published in arxiv preprint, 2023

Recommended citation: Liu, Jiarun, Wentao Hu, and Chunhong Zhang. "AllTogether: Investigating the Efficacy of Spliced Prompt for Web Navigation using Large Language Models." arXiv preprint arXiv:2310.18331 (2023). https://arxiv.org/pdf/2310.18331v1.pdf

Large Language Models (LLMs) have emerged as promising agents for web navigation tasks, interpreting objectives and interacting with web pages. However, the efficiency of spliced prompts for such tasks remains underexplored. We introduces AllTogether, a standardized prompt template that enhances task context representation, thereby improving LLMs’ performance in HTML-based web navigation. We evaluate the efficacy of this approach through prompt learning and instruction finetuning based on open-source Llama-2 and API-accessible GPT models. Our results reveal that models like GPT-4 outperform smaller models in web navigation tasks. Additionally, we find that the length of HTML snippet and history trajectory significantly influence performance, and prior step-by-step instructions prove less effective than real-time environmental feedback. Overall, we believe our work provides valuable insights for future research in LLM-driven web agents.

📌 This paper is still under review. You can check the arxiv preprint version.

Download paper here