Abstract
In this work, we introduce a comprehensive error typology specifically designed for evaluating two distinct tasks in machine-generated patent texts: claims-to-abstract generation, and the generation of the next claim given previous ones. We have also developed a benchmark, PatentEval, for systematically assessing language models in this context. Our study includes a comparative analysis, annotated by humans, of various models. These range from those specifically adapted during training for tasks within the patent domain to the latest general-purpose large language models (LLMs). Furthermore, we explored and evaluated some metrics to approximate human judgments in patent text evaluation, analyzing the extent to which these metrics align with expert assessments. These approaches provide valuable insights into the capabilities and limitations of current language models in the specialized field of patent text generation.
Introduction
Patent drafting is a high-stakes, technically demanding task where precision is paramount. A minor error in a claim can invalidate an entire invention, making the generation of patent text a significant challenge for artificial intelligence. While AI has been successfully applied to patent search and classification, drafting remains a "frontier" task. PatentEval introduces a standardized benchmark and a comprehensive error typology to rigorously evaluate how well Large Language Models (LLMs) can handle the complexities of patent abstracts and claims.
Methodology and Datasets
The researchers focused on two core tasks:
- Claims2Abstract: Summarizing complex legal claims into a concise technical abstract.
- Next Claim Generation: Predicting a dependent claim based on a preceding independent claim.
Evaluation was performed using the Harvard USPTO Dataset (HUPD) and a new benchmark, PatentEval, which consists of 400 randomly sampled granted patents from 2017-2018. The study compared specialized models like PatentTransformer and PGT against general-purpose LLMs such as Llama 2, Falcon, and GPT-3.5 (ChatGPT). Human experts, including a seasoned patent lawyer, performed pairwise comparisons and categorized errors based on World Intellectual Property Organization (WIPO) guidelines.
Results and Performance
The evaluation revealed a significant shift in the landscape of patent AI: general-purpose models now produce text that human experts often prefer over original human-written filings.
As illustrated in Figure 6, ChatGPT (GPT-3.5) emerged as the dominant model. In the Claims2Abstract task, experts preferred ChatGPT’s summaries over original human-written abstracts more than 50% of the time. This suggests that LLMs can effectively distill technical information, sometimes surpassing the clarity of human drafts which may be intentionally vague for legal strategy.
Error Typology and Insights
The study's error typology provides a detailed roadmap of model failures. While smaller models struggle with basic grammar and repetitive hallucinations, larger models face more nuanced challenges related to technical scope and coverage.
Figure 1 shows the distribution of these errors. A key insight is the prevalence of "Incomplete Coverage" and "Ineffective Summarization" even in high-performing models. Interestingly, human-written abstracts often "fail" these same coverage tests. Patent attorneys frequently use strategic vagueness to avoid over-committing to specific interpretations or to make patents harder to find via keyword searches. This highlights that what an automated system might flag as an "error" can sometimes be a deliberate legal tactic.
Key Findings
- Metric Correlation: Rule-based checkers, which evaluate structural elements like numbering and transitional phrases, achieved a Kendall’s Tau correlation of 0.4120 with human experts—significantly outperforming standard semantic metrics like ROUGE.
- Human-Level Claims: In generating the "next claim," ChatGPT matched human preference rates at 50%, indicating its potential as a drafting assistant.
Limitations and Future Directions
While promising, the study notes potential "data pollution" as LLMs may have seen USPTO patents during training. Additionally, the generation of the unstructured and lengthy "Description" section remains an unsolved challenge. Future work will need to incorporate novelty and non-obviousness testing to determine if AI can truly assist in the inventive process rather than just the descriptive one.
Summary updated