IPEval: A Bilingual Intellectual Property Agency Consultation Evaluation Benchmark for Large Language Models

Qiyao Wang, Jianguo Huang, Shule Lu, Yuan Lin, Kan Xu, Liang Yang, Hongfei LinarXiv 2024 · DOI

TL;DR

This paper introduces IPEval, the first bilingual benchmark designed to evaluate Large Language Models (LLMs) on intellectual property (IP) agency and consulting tasks. The benchmark, comprising over 2,600 multiple-choice questions in English and Chinese, reveals that while general-purpose LLMs show promise, specialized IP LLMs still lag behind, highlighting a significant opportunity for developing more capable AI in this domain.

What Problem Does This Paper Address?

The rapid advancement of LLMs has led to their application in various specialized fields, including law. However, the intellectual property (IP) domain, with its complex and nuanced legal landscape, has lacked a dedicated evaluation benchmark. Existing benchmarks either focus on broader legal knowledge or specific IP tasks like patent classification, failing to comprehensively assess an LLM's ability to act as an IP agent or consultant. This gap hinders the development and reliable deployment of LLMs for crucial IP-related tasks, such as understanding IP laws, applying them to specific scenarios, and providing consultation. The authors aim to bridge this gap by creating a robust evaluation tool that measures LLMs' capabilities across key IP dimensions and legal domains.

Methods

The authors developed IPEval, a comprehensive benchmark for evaluating LLMs in IP agency and consulting. The benchmark consists of 2,657 multiple-choice questions derived from past patent agent qualification exams in the US (USPTO) and China (CNIPA). These questions are categorized into four capability dimensions: IP Creation, IP Application, IP Protection, and IP Management. They also cover eight specific IP fields, including patents, trademarks, copyrights, trade secrets, and related laws. The evaluation employed three prompting strategies: zero-shot, 5-few-shot, and Chain of Thought (CoT). The study assessed 15 LLMs, both open-source and closed-source, primarily using English and Chinese.

Datasets

The primary dataset used is IPEval, a newly introduced benchmark. It comprises 2,657 multiple-choice questions collected from:

  • Annual Chinese patent bar exams (2012-2019)
  • Biannual US patent bar exams (1997-2003)

This dataset is designed to be bilingual (English and Chinese) and covers regional (US and China) and temporal (various years) aspects of IP law.

Key Insights and Ideas

  • Regional Preference is Strong: LLMs exhibit a clear bias towards performing better in the language they were primarily trained on. Chinese-trained models excel in Chinese IP tasks, and English-trained models do the same for English tasks. This highlights the importance of considering regional data distribution in LLM training for specialized domains.
  • Specialized IP LLMs Lag Behind: Despite being fine-tuned for legal or IP tasks, models like Fuzi-Mingcha and MoZi performed significantly worse than general-purpose LLMs of comparable parameter sizes. This suggests that while specialization is crucial, current specialized models may not yet fully capture the breadth and depth of IP knowledge required.
  • Multiple-Choice Questions are Tougher: LLMs, especially smaller ones, struggle significantly more with multiple-choice questions compared to single-choice ones. This indicates that accurately discerning relationships between options and applying nuanced reasoning is a major challenge.
  • Few-Shot Learning Helps, but CoT is Mixed: The 5-few-shot strategy generally improved model performance, but the Chain of Thought (CoT) strategy had mixed results, sometimes leading to performance degradation, particularly for smaller models or those with limited context windows.

Key Results

  • Overall Performance is Low: Most evaluated LLMs failed to reach satisfactory performance levels, with only Qwen-Max and Qwen-72B-Chat achieving the 2A level (60-70% accuracy). GPT-4 and other strong general-purpose models reached the A level (50-60%).
  • Chinese vs. English Performance: Models primarily trained in English (e.g., GPT series) outperformed others on English IP tasks. Conversely, Chinese-centric models (e.g., Qwen series) showed superior performance on Chinese IP tasks.
  • Few-Shot Improvement: The 5-few-shot strategy led to significant performance increases for many models. For instance, Baichuan2-7B-Chat saw a 38.6% improvement in Chinese questions.
  • CoT Impact Varies: While CoT improved performance for some larger models, it led to a decline in others, especially those with limited context windows.

Limitations and Future Work

  • Context Window Limitations: Models with small context windows (e.g., Fuzi-Mingcha) struggled with CoT experiments due to the length of prompts, hindering their ability to fully comprehend the text.
  • Overzealous Censorship: Some models exhibited refusal to answer due to keyword triggers related to ethical or political content, even when the dataset was deemed appropriate. This "overzealous censorship" mechanism needs refinement.
  • Temporal and Regional Nuances: The study highlights the need for LLMs to understand the dynamic nature of IP laws across different regions and time periods. Future research should focus on developing models that can better grasp these temporal and regional differences.
  • Improving Reasoning for Smaller Models: The significant performance gap in multiple-choice questions, especially for smaller models, indicates a need for future work focused on enhancing their reasoning capabilities.
  • Higher-Quality Few-Shot Examples: The authors suggest that future research should focus on creating a higher-quality pool of few-shot examples to better guide model performance.

Summary updated

BibTeX
@misc{wang2024ipeval,
  author = {Qiyao Wang and Jianguo Huang and Shule Lu and Yuan Lin and Kan Xu and Liang Yang and Hongfei Lin},
  title = {{IPEval: A Bilingual Intellectual Property Agency Consultation Evaluation Benchmark for Large Language Models}},
  year = {2024},
  eprint = {2406.12386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.12386},
}
Figure