diff --git a/.gitattributes b/.gitattributes index 0799978f8c8ad8913f69e8385e1425aafbec23e9..a60c6ae1cd837c14e09106eb3aebd085b0342b62 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3748,3 +3748,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text 2025/To[[:space:]]CoT[[:space:]]or[[:space:]]not[[:space:]]to[[:space:]]CoT_[[:space:]]Chain-of-thought[[:space:]]helps[[:space:]]mainly[[:space:]]on[[:space:]]math[[:space:]]and[[:space:]]symbolic[[:space:]]reasoning/78080855-33d6-4037-9b8c-edc307a2e575_origin.pdf filter=lfs diff=lfs merge=lfs -text 2025/To[[:space:]]Code[[:space:]]or[[:space:]]Not[[:space:]]To[[:space:]]Code_[[:space:]]Exploring[[:space:]]Impact[[:space:]]of[[:space:]]Code[[:space:]]in[[:space:]]Pre-training/e6b439cb-3b05-45ee-8c52-561b8f255560_origin.pdf filter=lfs diff=lfs merge=lfs -text 2025/To[[:space:]]Tackle[[:space:]]Adversarial[[:space:]]Transferability_[[:space:]]A[[:space:]]Novel[[:space:]]Ensemble[[:space:]]Training[[:space:]]Method[[:space:]]with[[:space:]]Fourier[[:space:]]Transformation/11b8de53-d193-4b48-bf31-fc86f1bab485_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/A[[:space:]]Real-World[[:space:]]WebAgent[[:space:]]with[[:space:]]Planning,[[:space:]]Long[[:space:]]Context[[:space:]]Understanding,[[:space:]]and[[:space:]]Program[[:space:]]Synthesis/7b0b68ac-f5c6-4674-acc8-4425712f7a19_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/ASID_[[:space:]]Active[[:space:]]Exploration[[:space:]]for[[:space:]]System[[:space:]]Identification[[:space:]]in[[:space:]]Robotic[[:space:]]Manipulation/22c89e0b-1caf-4875-86e0-f3b9397a36cc_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/Accelerating[[:space:]]Distributed[[:space:]]Stochastic[[:space:]]Optimization[[:space:]]via[[:space:]]Self-Repellent[[:space:]]Random[[:space:]]Walks/9e8fce71-9845-4483-82b8-2e8fb64c4467_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/Amortizing[[:space:]]intractable[[:space:]]inference[[:space:]]in[[:space:]]large[[:space:]]language[[:space:]]models/7ed5418b-3773-431a-ac5f-3cceb14f6956_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/An[[:space:]]Analytical[[:space:]]Solution[[:space:]]to[[:space:]]Gauss-Newton[[:space:]]Loss[[:space:]]for[[:space:]]Direct[[:space:]]Image[[:space:]]Alignment/1a6e78f9-a669-4d03-b852-34ab11b21b42_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/Approximating[[:space:]]Nash[[:space:]]Equilibria[[:space:]]in[[:space:]]Normal-Form[[:space:]]Games[[:space:]]via[[:space:]]Stochastic[[:space:]]Optimization/6057db18-b37f-44dd-ad29-cdbda9e3f494_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/Batched[[:space:]]Low-Rank[[:space:]]Adaptation[[:space:]]of[[:space:]]Foundation[[:space:]]Models/698c37fd-a34d-43c4-aeed-9c12baba206a_origin.pdf filter=lfs diff=lfs merge=lfs -text +2024/Beyond[[:space:]]Weisfeiler-Lehman_[[:space:]]A[[:space:]]Quantitative[[:space:]]Framework[[:space:]]for[[:space:]]GNN[[:space:]]Expressiveness/fa29bbb1-c854-4aeb-a13c-5bf1509f8f38_origin.pdf filter=lfs diff=lfs merge=lfs -text diff --git a/2024/A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis/7b0b68ac-f5c6-4674-acc8-4425712f7a19_content_list.json b/2024/A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis/7b0b68ac-f5c6-4674-acc8-4425712f7a19_content_list.json new file mode 100644 index 0000000000000000000000000000000000000000..8d591b6f7ac3dcfd54b49dc0e24d60d0be0ac506 --- /dev/null +++ b/2024/A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis/7b0b68ac-f5c6-4674-acc8-4425712f7a19_content_list.json @@ -0,0 +1,2533 @@ +[ + { + "type": "text", + "text": "A REAL- WORLD WEBAGENT WITH PLANNING, LONG CONTEXT UNDERSTANDING, AND PROGRAM SYNTHESIS", + "text_level": 1, + "bbox": [ + 171, + 99, + 746, + 171 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "Izzeddin Gur $^{1*}$ Hiroki Furuta $^{1,2*†}$ Austin Huang $^{1}$ Mustafa Safdari $^{1}$ Yutaka Matsuo $^{2}$ Douglas Eck $^{1}$ Aleksandra Faust $^{1}$", + "bbox": [ + 181, + 193, + 797, + 223 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "1Google DeepMind, 2The University of Tokyo \nizzeddin@google.com, furuta@weblab.t.u-tokyo.ac.jp", + "bbox": [ + 181, + 223, + 674, + 253 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "ABSTRACT", + "text_level": 1, + "bbox": [ + 450, + 289, + 545, + 304 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "Pre-trained large language models (LLMs) have recently achieved better generalization and sample efficiency in autonomous web automation. However, the performance on real-world websites has still suffered from (1) open domaininess, (2) limited context length, and (3) lack of inductive bias on HTML. We introduce WebAgent, an LLM-driven agent that learns from self-experience to complete tasks on real websites following natural language instructions. WebAgent plans ahead by decomposing instructions into sub-instructions, summarizes long HTML documents into task-relevant snippets, and acts on websites via Python programs generated from those. We design WebAgent with Flan-U-PaLM, for grounded code generation, and HTML-T5, a new pre-trained LLM for long HTML documents using local and global attention mechanisms and a mixture of long-span denoising objectives, for planning and summarization. We empirically demonstrate that our modular recipe improves the success on real websites by over $50\\%$ , and that HTML-T5 is the best model to solve various HTML understanding tasks; achieving $18.7\\%$ higher success rate than the prior method on MiniWoB web automation benchmark, and SoTA performance on Mind2Web, an offline task planning evaluation.", + "bbox": [ + 228, + 320, + 769, + 544 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "1 INTRODUCTION", + "text_level": 1, + "bbox": [ + 173, + 569, + 336, + 584 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "Large language models (LLM) (Brown et al., 2020; Chowdhery et al., 2022; OpenAI, 2023) can solve a variety of natural language tasks, such as arithmetic, commonsense, logical reasoning, question answering, text generation (Brown et al., 2020; Kojima et al., 2022; Wei et al., 2022), and even interactive decision making tasks (Ahn et al., 2022; Yao et al., 2022b). Recently, LLMs have also demonstrated success in autonomous web navigation by controlling computers or browsers to follow natural language instructions through multi-step reasoning and decision making (Furuta et al., 2023; Gur et al., 2022; Kim et al., 2023).", + "bbox": [ + 169, + 599, + 826, + 699 + ], + "page_idx": 0 + }, + { + "type": "text", + "text": "However, web automation on real-world websites has still suffered from (1) the lack of pre-defined action space, (2) much longer HTML documents than simulated observations, and (3) the absence of domain-specific knowledge for understanding HTML documents (Figure 1). Considering the open-endedness of real-world websites and the complexity of instructions, defining appropriate action spaces in advance is challenging. In addition, although several works have argued that recent LLMs with instruction-finetuning or reinforcement learning from human feedback improve HTML understanding and web automation accuracy (Furuta et al., 2023; Kim et al., 2023), their architectures are not always suitable to process real-world HTML documents; as presented in Figure 2, HTML tokens of real websites are much longer than those of simulators, and most LLMs have shorter context lengths than the average HTML tokens in real websites. It is prohibitively costly to treat such long documents as inputs directly, or adopt prior techniques such as text-XPath alignment (Li et al., 2021b) or text-HTML token separation (Wang et al., 2022a). To prioritize broader task generalization and model-size scaling, such domain knowledge for HTML documents is ignored in recent LLMs.", + "bbox": [ + 169, + 705, + 826, + 887 + ], + "page_idx": 0 + }, + { + "type": "header", + "text": "Published as a conference paper at ICLR 2024", + "bbox": [ + 171, + 32, + 478, + 47 + ], + "page_idx": 0 + }, + { + "type": "page_footnote", + "text": "\\*Equal Contribution. $\\dagger$ Work done as Student Researcher at Google.", + "bbox": [ + 192, + 896, + 467, + 924 + ], + "page_idx": 0 + }, + { + "type": "page_number", + "text": "1", + "bbox": [ + 493, + 948, + 503, + 959 + ], + "page_idx": 0 + }, + { + "type": "image", + "img_path": "images/39eb50e4f17095f2f001b2f9831de1fa590a3e008341c90c90d990424da2412b.jpg", + "image_caption": [ + "Figure 1: Challenges in real-world web automation. Recent language model agents (Furuta et al., 2023; Gur et al., 2022; Kim et al., 2023; Yao et al., 2022b) can navigate simulated websites (Shi et al., 2017; Yao et al., 2022a), where the agents manipulate pre-defied actions and receive simplified HTML documents that are easy to parse. In contrast, language model agents continue to face challenges in navigating real-world websites, where they must interact with dynamic environments, handle open-ended actions (actions that cannot be pre-determined), and process lengthy HTML documents containing significant amounts of task-irrelevant information." + ], + "image_footnote": [], + "bbox": [ + 238, + 101, + 759, + 219 + ], + "page_idx": 1 + }, + { + "type": "text", + "text": "In this work, we introduce WebAgent, an LLM-driven autonomous agent that learns from self-experience to complete user instructions on real websites by combining canonical web actions in a program space (Figure 3). WebAgent (i) plans sub-instructions for each step by decomposing natural language instructions, (ii) summarizes long HTML documents into task-relevant snippets based on the plan, and (iii) acts via programming on real websites by grounding sub-instructions and HTML snippets into executable Python codes. We combine two LLMs to form WebAgent: newly introduced HTML-T5, a domain-expert pre-trained language model, for task planning and conditional HTML summarization and Flan-U-PaLM (Chowdhery et al., 2022; Chung et al., 2022) for grounded code generation. HTML-T5 has an encoder-decoder architecture and is specialized to capture the structure of long HTML documents better by adopting local and global attention mechanisms (Guo et al., 2022). It is", + "bbox": [ + 169, + 306, + 552, + 556 + ], + "page_idx": 1 + }, + { + "type": "text", + "text": "pre-trained using a mixture of long-span denoising objective (Tay et al., 2022) on a large-scale HTML corpus extracted from CommonCrawl. To ground language model agents into real websites, we introduce self-experience supervision, where the domain-expert language models are finetuned with data generated by scripted planning/summarization and self-generated programming.", + "bbox": [ + 169, + 556, + 823, + 613 + ], + "page_idx": 1 + }, + { + "type": "image", + "img_path": "images/292bfb3753779e5220a522cbe2a88efdf71e18b2c7d0fb464b76b3b5de2e6d05.jpg", + "image_caption": [ + "Figure 2: Statistics of HTML tokens among real websites. Compared to simulator (about 0.5K tokens on average), HTML tokens of real websites are much longer (from 7K to 14K), which takes up the context length of large language models. As preprocessing, we remove the irrelevant tags (e.g.