Abstract
In the realm of patent document analysis, assessing semantic similarity between phrases presents a significant challenge, notably amplifying the inherent complexities of Cooperative Patent Classification (CPC) research. Firstly, this study addresses these challenges, recognizing early CPC work while acknowledging past struggles with language barriers and document intricacy. Secondly, it underscores the persisting difficulties of CPC research. To overcome these challenges and bolster the CPC system, this paper presents two key innovations. Firstly, it introduces an ensemble approach that incorporates four BERT-related models, enhancing semantic similarity accuracy through weighted averaging. Secondly, a novel text preprocessing method tailored for patent documents is introduced, featuring a distinctive input structure with token scoring that aids in capturing semantic relationships during CPC context training, utilizing BCELoss. Our experimental findings conclusively establish the effectiveness of both our Ensemble Model and novel text processing strategies when deployed on the U.S. Patent Phrase to Phrase Matching dataset.
Introduction
Patent documents are notoriously difficult to analyze due to their dense, technical nature and specialized terminology that often deviates from general-purpose language. A core challenge in patent research is the Cooperative Patent Classification (CPC), which requires accurately matching phrases to determine if they share the same technical meaning within a specific context.
Previous attempts to automate this process have struggled with language barriers, document complexity, and the sheer scale of patent data. While Deep Learning and BERT-based models have shown promise, they often face issues with scalability and capturing the nuanced semantic relationships required for precise patent classification. This study aims to bridge this gap by improving how models process patent-specific text and by leveraging an ensemble of specialized architectures.
Methodology
The Ensemble Model
Instead of relying on a single architecture, the proposed framework utilizes a weighted ensemble of four powerful Transformer-based models:
- Microsoft’s DeBERTa-v3-large: Optimized for efficiency in natural language understanding.
- MoritzLaurer’s DeBERTa-v3-large-mnli-fever-anli-ling-wanli: Fine-tuned on multiple inference tasks.
- Anferico’s BERT-for-patents: Specifically pre-trained on the patent domain.
- Google’s ELECTRA-large-discriminator: Utilizes a sample-efficient discriminator approach.
The final prediction is a weighted average of these models, with weights optimized based on validation performance.
Novel Text Preprocessing (V3)
The researchers developed a structured input format (V3) that groups anchor and context pairs. This method assigns scores to individual tokens within the sequence, following a specific pattern: [CLS] anchor [SEP] target [SEP] context.
Training Techniques
To ensure robustness, the team employed Binary Cross-Entropy Loss (BCELoss) to align predicted scores with ground truth. Additionally, Adversarial Weight Perturbation (AWP) was used to slightly perturb model weights during training, improving generalization and preventing overfitting.
Experimental Setup
The study utilized the U.S. Patent Phrase to Phrase Matching dataset, consisting of 48,548 entries with 973 unique "anchor" phrases. Pairs of phrases (anchor and target) are rated on a similarity scale from 0 to 1 in increments of 0.25. Each pair is associated with one of 106 different CPC context classes, ensuring the model understands that similarity is context-dependent (e.g., "lead" in electronics vs. metallurgy).
Results and Discussion
The effectiveness of the proposed methods was measured using the Pearson Correlation Coefficient ($r$).
Preprocessing Impact
The V3 preprocessing method significantly outperformed simpler structures. Using a DeBERTa-v3-large backbone, V3 achieved a Cross-Validation (CV) score of 0.8512, compared to 0.8347 for V1 and 0.8369 for V2. This jump highlights that the presentation of data to a Transformer is as critical as the architecture itself.
Ensemble Performance
The final ensemble model reached a CV score of 0.8534. As shown in the table below, the highest weight was assigned to Microsoft’s DeBERTa-v3-large (0.35), followed by ELECTRA (0.25), indicating their primary contribution to final accuracy.
The success of the ensemble suggests that combining domain-specific models (BERT-for-patents) with high-capacity general models (DeBERTa, ELECTRA) captures both linguistic nuances and technical jargon effectively.
Conclusion
This paper demonstrates a significant performance boost in patent phrase matching through an ensemble approach and structured text preprocessing. While the ensemble model is computationally intensive, it provides a high-accuracy benchmark for the field. Future work will focus on refining the CPC system's link to entity identification and exploring neural networks for International Patent Classification (IPC) prediction to address industry scalability concerns.
Summary updated