The Master-Slave Encoder Model for Improving Patent Text Summarization: A New Approach to Combining Specifications and Claims

Shu Zhou, Xin Wang, Zhengda Zhou, Haohan Yi, Xuhui Zheng, Hao WanarXiv 2024

Abstract

Traditional patent text summarization models often struggle with low generation quality because they rely solely on patent specifications, ignoring the critical legal context of claims. Furthermore, rapid technological updates lead to out-of-vocabulary (OOV) issues, and the dense nature of patent language often results in redundant outputs. This paper proposes the Master-Slave Encoder Architecture (MSEA) to address these challenges. The MSEA model utilizes a dual-encoder system to integrate both specifications and claims, a pointer network to handle technical terminology, and an enhanced repetition suppression mechanism. Experimental results on a large-scale patent dataset show that MSEA outperforms state-of-the-art models, achieving significant improvements in ROUGE-1, ROUGE-2, and ROUGE-L scores.

Introduction

Summarizing patent documents is a complex task that differs significantly from standard news summarization. The authors identify three primary obstacles in the field:

  1. Information Mismatch: Most existing models focus exclusively on the technical "specifications," neglecting the "claims" which define the legal scope of the invention. This often results in summaries that miss the invention's core legal and technical points.
  2. The OOV (Out-of-Vocabulary) Problem: The fast-paced nature of innovation introduces novel technical terms that are not present in pre-defined model vocabularies, leading to "unknown" token errors.
  3. Redundancy and Professionalism: Patent language is inherently dense and repetitive. Standard sequence-to-sequence models frequently fall into repetition loops, failing to produce the precise, professional summaries required for legal review.

Methodology

The core of the proposed solution is the Master-Slave Encoder Architecture (MSEA). This framework enhances the standard sequence-to-sequence model by introducing a hierarchical processing method for the two distinct parts of a patent document.

Architecture of the Master-Slave Encoder (MSEA) model for patent summarization.

Master-Slave Hierarchy

The model employs a Master Encoder (a Bi-directional GRU) to process the technical specifications, capturing the broad context of the invention. A Slave Encoder (a unidirectional GRU) then integrates the output of the Master Encoder with the text from the patent claims. By calculating importance weights for each word, the Slave Encoder allows the model to prioritize the legal "meat" of the patent, effectively filtering the technical description through the lens of the legal claims.

Step-by-Step Decoding and Pointer Network

To improve coherence, MSEA utilizes Step-by-Step Decoding, where the model generates text in fixed-length stages (typically 100-150 steps). After each stage, the Slave Encoder generates a new state, allowing the decoder to "remember" previous segments and adjust its focus. To solve the OOV problem, a Pointer Network acts as a "soft switch," allowing the model to either generate a word from its internal vocabulary or copy a specific technical term directly from the input text.

Enhanced Repetition Suppression

The model combines a traditional coverage mechanism with the Slave Encoder’s multi-step memory. This ensures that the generated text tracks which parts of the input have already been summarized, effectively preventing the model from looping or producing redundant technical jargon.

Experimental Setup

The researchers evaluated the MSEA model using a dataset of 265,416 Chinese patents published between 2015 and 2022, sourced from the Yizhuan Patent Retrieval and Analysis Database. The dataset spans five diverse domains: Water Resources, Artificial Intelligence, Fiber Optics, Finance, and Agriculture. The data was partitioned into an 8:1:1 ratio for training, testing, and validation.

Key Results and Discussion

The MSEA model was compared against several baselines, including the IMHAM (Improved Multi-Head Attention Mechanism).

  • Performance Metrics: MSEA achieved superior ROUGE scores across the board: ROUGE-1 (0.541), ROUGE-2 (0.352), and ROUGE-L (0.447). These represent improvements of approximately 0.005 to 0.006 over the previous state-of-the-art.
  • Ablation Study: The study confirmed that the Repetition Suppression module was the most critical component; its removal caused the ROUGE-1 score to drop significantly from 0.541 to 0.524.
  • Dual-Input Validation: Experiments confirmed that using both specifications and claims as input yielded higher accuracy than using either in isolation, validating the fundamental premise of the Master-Slave architecture.

Conclusion

The MSEA model demonstrates that integrating the structural characteristics of patents—specifically the relationship between claims and specifications—significantly enhances summarization quality. While currently tested on Chinese-language patents, the architecture is theoretically language-agnostic. Future work may focus on optimizing the computational overhead of the dual-encoder setup and testing the model's efficacy on international patent databases with different syntactic structures.

Summary updated

Abstract

In order to solve the problem of insufficient generation quality caused by traditional patent text abstract generation models only originating from patent specifications, the problem of new terminology OOV caused by rapid patent updates, and the problem of information redundancy caused by insufficient consideration of the high professionalism, accuracy, and uniqueness of patent texts, we proposes a patent text abstract generation model (MSEA) based on a master-slave encoder architecture; Firstly, the MSEA model designs a master-slave encoder, which combines the instructions in the patent text with the claims as input, and fully explores the characteristics and details between the two through the master-slave encoder; Then, the model enhances the consideration of new technical terms in the input sequence based on the pointer network, and further enhances the correlation with the input text by re weighing the "remembered" and "for-gotten" parts of the input sequence from the encoder; Finally, an enhanced repetition suppression mechanism for patent text was introduced to ensure accurate and non redundant abstracts generated. On a publicly available patent text dataset, compared to the state-of-the-art model, Improved Multi-Head Attention Mechanism (IMHAM), the MSEA model achieves an improvement of 0.006, 0.005, and 0.005 in Rouge-1, Rouge-2, and Rouge-L scores, respectively. MSEA leverages the characteristics of patent texts to effectively enhance the quality of patent text generation, demonstrating its advancement and effectiveness in the experiments.
BibTeX
@misc{zhou2024master,
  author = {Shu Zhou and Xin Wang and Zhengda Zhou and Haohan Yi and Xuhui Zheng and Hao Wan},
  title = {{The Master-Slave Encoder Model for Improving Patent Text Summarization: A New Approach to Combining Specifications and Claims}},
  year = {2024},
  eprint = {2411.14072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.14072},
}
Figure