Skip to main content
QUICK REVIEW

[Paper Review] Prior Art Search and Reranking for Generated Patent Text

Jieh-Sheng Lee, Jieh Hsiang|arXiv (Cornell University)|Sep 19, 2020
Topic ModelingComputer Science16 references4 citations
TL;DR

This paper proposes a two-stage reranking approach to identify the most similar prior art in GPT-2's training data for generated patent text spans. It combines BM25 retrieval with BERT embedding similarity, demonstrating that reranking improves search effectiveness over embeddings alone, though semantic matching for long text remains challenging.

ABSTRACT

Generative models, such as GPT-2, have demonstrated impressive results recently. A fundamental question we'd like to address is: where did the generated text come from? This work is our initial effort toward answering the question by using prior art search. The purpose of the prior art search is to find the most similar prior text in the training data of GPT-2. We take a reranking approach and apply it to the patent domain. Specifically, we pre-train GPT-2 models from scratch by using the patent data from the USPTO. The input for the prior art search is the patent text generated by the GPT-2 model. We also pre-trained BERT models from scratch for converting patent text to embeddings. The steps of reranking are: (1) search the most similar text in the training data of GPT-2 by taking a bag-of-word ranking approach (BM25), (2) convert the search results in text format to BERT embeddings, and (3) provide the final result by ranking the BERT embeddings based on their similarities with the patent text generated by GPT-2. The experiments in this work show that such reranking is better than ranking with embeddings alone. However, our mixed results also indicate that calculating the semantic similarities among long text spans is still challenging. To our knowledge, this work is the first to implement a reranking system to identify retrospectively the most similar inputs to a GPT model based on its output.

Motivation & Objective

  • To address the challenge of identifying the closest prior art in GPT-2's training data for generated patent text.
  • To evaluate the novelty of GPT-2-generated patent claims by retroactively locating similar training instances.
  • To improve prior art search in the patent domain through a hybrid reranking strategy combining lexical and semantic similarity.
  • To provide a practical framework for assessing memorization and novelty in generative patent models.
  • To lay the groundwork for future evaluation of novelty and non-obviousness in AI-generated inventions.

Proposed method

  • Pre-train GPT-2 and BERT models from scratch on USPTO patent data to enable domain-specific text generation and embedding.
  • Use BM25 as the initial retrieval method to find candidate prior art texts based on lexical overlap with the generated patent span.
  • Convert the top BM25 results into BERT embeddings to capture semantic similarity with the generated text.
  • Rerank the BM25 results using cosine similarity between the BERT embeddings of candidate texts and the generated patent span.
  • Employ Elasticsearch for efficient BM25 retrieval and Annoy for approximate nearest neighbor search on BERT embeddings.
  • Limit the scope to span-based comparisons in granted patents, with future work needed for paragraph-level aggregation.

Experimental results

Research questions

  • RQ1Can a hybrid reranking approach combining BM25 and BERT embeddings improve prior art search for GPT-2-generated patent text?
  • RQ2How effective is reranking in identifying semantically similar prior art compared to using embeddings alone?
  • RQ3To what extent does the model memorize training data, and can prior art search detect such memorization in patent text?
  • RQ4Can few-shot learning be achieved in a GPT-2 model for novel input formats in the patent domain?
  • RQ5What are the limitations of semantic similarity computation for long text spans in the patent domain?

Key findings

  • Reranking with BM25 followed by BERT embedding similarity outperforms using embeddings alone, reducing false positives in semantic search.
  • Embeddings alone produced many unreasonable similarities, such as high similarity between semantically unrelated patent titles, indicating poor performance.
  • The system successfully identified relevant prior art for generated patent spans, demonstrating feasibility as a novelty assessment tool.
  • Experiments revealed that semantic similarity computation for longer text spans remains challenging, with mixed results across test cases.
  • Few-shot learning failed to generate the correct title in a zero-shot prompt, though the model frequently generated the title from the second record, suggesting partial pattern learning.
  • The discrepancy between BM25 and embedding rankings may serve as a source for data augmentation, particularly for generating negative examples in sentence embedding training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.