arXiv:2512.04105cs.CYcs.AI2025-12被引 3

用大模型驱动的网页代理帮普通人自助处理法律事务

LegalWebAgent: Empowering Access to Justice via LLM-Based Web Agents

  • 用大模型理解用户问题并自动操作网页完成法律流程
  • 在15项真实任务中平均成功率84.4%,最高达86.7%
  • 适合普通民众、法律援助机构及司法科技研究者

获取正义仍是全球性挑战,许多公民在面对法律问题时难以获得帮助。尽管互联网提供大量法律信息和服务,但复杂的网站导航、法律术语理解以及程序表单填写仍构成障碍。本文提出LegalWebAgent框架,利用多模态大语言模型驱动的网页代理,弥合普通民众与司法系统之间的差距。该框架包含三个阶段:询问模块通过自然语言处理理解用户需求;浏览模块自主访问网页,交互页面元素(包括表单和日历),从HTML结构和网页截图中提取信息;执行模块为用户提供信息整合或直接执行操作,如表单填写和预约。我们设计了一个涵盖15个真实任务的基准测试,模拟魁北克民事法用户从问题识别到程序操作的典型法律服务流程。评估结果显示,LegalWebAgent在所有测试模型中平均成功率达84.4%,峰值达86.7%,展现出在复杂现实场景中的高自主性。

原文摘要 · Abstract (English)

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网页代理大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。