AutoPatent: A Multi-Agent Framework for Automatic Patent Generation

  • 2024-12-13 02:27:34
  • Qiyao Wang, Shiwen Ni, Huaren Liu, Shule Lu, Guhong Chen, Xi Feng, Chi Wei, Qiang Qu, Hamid Alinejad-Rokny, Yuan Lin, Min Yang
  • 0

Abstract

As the capabilities of Large Language Models (LLMs) continue to advance, thefield of patent processing has garnered increased attention within the naturallanguage processing community. However, the majority of research has beenconcentrated on classification tasks, such as patent categorization andexamination, or on short text generation tasks like patent summarization andpatent quizzes. In this paper, we introduce a novel and practical task known asDraft2Patent, along with its corresponding D2P benchmark, which challenges LLMsto generate full-length patents averaging 17K tokens based on initial drafts.Patents present a significant challenge to LLMs due to their specializednature, standardized terminology, and extensive length. We propose amulti-agent framework called AutoPatent which leverages the LLM-based planneragent, writer agents, and examiner agent with PGTree and RRAG to generatelengthy, intricate, and high-quality complete patent documents. Theexperimental results demonstrate that our AutoPatent framework significantlyenhances the ability to generate comprehensive patents across various LLMs.Furthermore, we have discovered that patents generated solely with theAutoPatent framework based on the Qwen2.5-7B model outperform those produced bylarger and more powerful LLMs, such as GPT-4o, Qwen2.5-72B, and LLAMA3.1-70B,in both objective metrics and human evaluations. We will make the data and codeavailable upon acceptance at \url{https://github.com/QiYao-Wang/AutoPatent}.