Skip to main content
QUICK REVIEW

[Paper Review] Large-Scale Text Analysis Using Generative Language Models: A Case Study in Discovering Public Value Expressions in AI Patents

Sergio Pelaez, Gaurav Verma|Research Explorer (The University of Manchester)|May 17, 2023
Computational and Text Analysis MethodsSocial Sciences5 citations
TL;DR

This paper proposes a novel framework using GPT-4 to generate high-quality labels and rationales for identifying public value expressions in 5.4 million sentences from 154,934 US AI patents. The approach achieves high F1 scores (0.85 for 3-class, 0.91 for 2-class) in classifying public value content, demonstrating that generative models with structured prompting can enable scalable, accurate, and interpretable large-scale text analysis of abstract concepts with minimal human labor.

ABSTRACT

Labeling data is essential for training text classifiers but is often difficult to accomplish accurately, especially for complex and abstract concepts. Seeking an improved method, this paper employs a novel approach using a generative language model (GPT-4) to produce labels and rationales for large-scale text analysis. We apply this approach to the task of discovering public value expressions in US AI patents. We collect a database comprising 154,934 patent documents using an advanced Boolean query submitted to InnovationQ+. The results are merged with full patent text from the USPTO, resulting in 5.4 million sentences. We design a framework for identifying and labeling public value expressions in these AI patent sentences. A prompt for GPT-4 is developed which includes definitions, guidelines, examples, and rationales for text classification. We evaluate the quality of the labels and rationales produced by GPT-4 using BLEU scores and topic modeling and find that they are accurate, diverse, and faithful. These rationales also serve as a chain-of-thought for the model, a transparent mechanism for human verification, and support for human annotators to overcome cognitive limitations. We conclude that GPT-4 achieved a high-level of recognition of public value theory from our framework, which it also uses to discover unseen public value expressions. We use the labels produced by GPT-4 to train BERT-based classifiers and predict sentences on the entire database, achieving high F1 scores for the 3-class (0.85) and 2-class classification (0.91) tasks. We discuss the implications of our approach for conducting large-scale text analyses with complex and abstract concepts and suggest that, with careful framework design and interactive human oversight, generative language models can offer significant advantages in quality and in reduced time and costs for producing labels and rationales.

Motivation & Objective

  • To address the challenge of labeling complex, abstract concepts like 'public value' in large-scale text data.
  • To develop a scalable method for identifying public value expressions in AI patents using generative language models.
  • To evaluate the quality and interpretability of GPT-4-generated labels and rationales for human verification and model transparency.
  • To train BERT-based classifiers on GPT-4-generated labels for large-scale classification across a database of 5.4 million patent sentences.
  • To demonstrate that generative models can reduce labeling costs and time while maintaining high accuracy in detecting nuanced societal concepts.

Proposed method

  • A prompt for GPT-4 was engineered with definitions, classification guidelines, annotated examples, and rationale generation instructions to ensure consistency and interpretability.
  • The framework was applied to a dataset of 154,934 US AI patents, expanded to 5.4 million sentences after merging with full-text data from the USPTO.
  • GPT-4 generated both binary and multi-class labels (3-class and 2-class) for public value expressions, along with detailed rationales explaining each classification decision.
  • Label quality was evaluated using BLEU scores and topic modeling to assess accuracy, diversity, and faithfulness to the input text.
  • The GPT-4-generated labels were used to fine-tune BERT-based classifiers for inference on the full dataset.
  • Human-in-the-loop validation was used to ensure model outputs remained aligned with public value theory and domain semantics.

Experimental results

Research questions

  • RQ1Can generative language models like GPT-4 reliably identify abstract public value expressions in large-scale patent text?
  • RQ2How accurate and diverse are the rationales generated by GPT-4 when classifying public value content in AI patents?
  • RQ3To what extent can GPT-4-generated labels support the training of high-performance BERT-based classifiers for large-scale text analysis?
  • RQ4Can the rationales produced by GPT-4 serve as a transparent, verifiable chain-of-thought for human oversight and annotation guidance?
  • RQ5What is the scalability and cost-efficiency of using generative models for labeling complex, abstract concepts compared to traditional human annotation?

Key findings

  • GPT-4-generated labels achieved an F1 score of 0.85 for the 3-class classification task and 0.91 for the 2-class task, indicating strong performance in detecting public value expressions.
  • The rationales produced by GPT-4 demonstrated high faithfulness and diversity, as confirmed by BLEU scores and topic modeling, supporting model interpretability.
  • The generated rationales functioned as a transparent chain-of-thought, enabling human verification and reducing cognitive load for human annotators.
  • The BERT classifiers fine-tuned on GPT-4-generated labels generalized well to the full dataset, enabling efficient large-scale inference.
  • The framework significantly reduced labeling time and cost while maintaining high-quality outputs, demonstrating the feasibility of using generative models for abstract concept detection.
  • The study confirms that with careful prompt design and human oversight, generative models can be a scalable and reliable alternative to manual labeling for complex text classification tasks.

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.