LegalWebAgent:通过基于大语言模型的网络代理赋能正义获取
LegalWebAgent: Empowering Access to Justice via LLM-Based Web Agents
AI总结:
LegalWebAgent通过多模态大语言模型实现网络代理,解决普通公民在法律问题中的获取障碍,实现从查询到行动的全流程自动化,实验结果显示其在复杂场景中的高自主性。
摘要:
正义获取仍然是全球性挑战,许多公民在面临法律问题时仍难以寻求帮助。尽管互联网提供了丰富的法律信息和服务,但导航复杂的网站、理解法律术语和填写程序性表格仍然成为获取正义的障碍。本文介绍了LegalWebAgent框架,该框架利用基于多模态大语言模型的网络代理,以弥合普通公民获取正义的差距。该框架结合了大语言模型的自然语言理解能力与多模态感知,实现了从用户查询到具体行动的完整流程。它分为三个阶段:Ask模块通过自然语言处理理解用户需求;Browse模块自主导航网页,与页面元素(包括表单和日历)互动,并从HTML结构和网页截图中提取信息;Act模块综合信息为用户或执行直接操作,如表单填写和日程安排。为了评估其有效性,我们设计了一个涵盖15个现实任务的基准测试,模拟了与魁北克民法用户相关的典型法律服务流程,从问题识别到程序性操作。评估结果显示,LegalWebAgent在15个任务中实现了86.7%的峰值成功率,所有测试模型的平均成功率为84.4%,在复杂的现实场景中表现出高度的自主性。
英文摘要:
Access to justice remains a global challenge, with many citizens still finding it difficult to seek help from the justice system when facing legal issues. Although the internet provides abundant legal information and services, navigating complex websites, understanding legal terminology, and filling out procedural forms continue to pose barriers to accessing justice. This paper introduces the LegalWebAgent framework that employs a web agent powered by multimodal large language models to bridge the gap in access to justice for ordinary citizens. The framework combines the natural language understanding capabilities of large language models with multimodal perception, enabling a complete process from user query to concrete action. It operates in three stages: the Ask Module understands user needs through natural language processing; the Browse Module autonomously navigates webpages, interacts with page elements (including forms and calendars), and extracts information from HTML structures and webpage screenshots; the Act Module synthesizes information for users or performs direct actions like form completion and schedule booking. To evaluate its effectiveness, we designed a benchmark test covering 15 real-world tasks, simulating typical legal service processes relevant to Québec civil law users, from problem identification to procedural operations. Evaluation results show LegalWebAgent achieved a peak success rate of 86.7%, with an average of 84.4% across all tested models, demonstrating high autonomy in complex real-world scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。