Pre-trained Language Model for NER Confidence Prediction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Named Entity Recognition (NER) solutions lack accuracy and confidence levels, especially for small document corpuses and unstructured documents, and often require large ground truth label sets, making them inefficient for businesses and limiting their applicability in various domains.

Innovation Solution

The proposed solution involves fine-tuning a pre-trained Universal Language model based on the transformer architecture, specifically using Bidirectional Encoder Representations from Transformers (BERT), for Named Entity Recognition (NER) tasks, which enables enhanced accuracy and confidence estimation through multi-task learning and semi-supervised training, allowing adaptation to new domains without requiring large labeled datasets.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional NER solutions are used, then implementation is simple, but accuracy and confidence levels are insufficient

Engineering Contradiction:
ImproveNER accuracyVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies pre-trained language models (such as BERT) that have been pre-trained on large corpora before being fine-tuned for specific NER tasks. This preliminary pre-training action enables the model to capture general language patterns and contextual relationships, significantly improving NER accuracy without requiring extensive task-specific data or complex architecture design from scratch.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent employs universal pre-trained language models that can be adapted to multiple NER tasks across different domains and languages. These models serve multiple functions: they can perform NER on various entity types (persons, organizations, locations), adapt to different domains (finance, healthcare, legal), and provide both entity recognition and confidence estimation, reducing the need for domain-specific model development.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Measurement precision

If large ground truth label sets are used for training, then NER accuracy improves, but data requirements and training costs increase

Engineering Contradiction:
ImproveNER accuracyVSAvoidlabeled data volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent leverages pre-trained models that have already learned from vast amounts of unlabeled text data during pre-training. This preliminary learning action transfers general language understanding to the NER task, allowing the model to achieve high accuracy with minimal labeled training data, thus reducing annotation costs and data requirements.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements semi-supervised learning approaches where the model can leverage unlabeled data alongside small labeled datasets. The pre-trained model's internal representations and predictions serve as self-generated features that improve learning from limited labeled examples, reducing dependency on extensive manual annotation while maintaining high accuracy.

Inventive Principle:
Principle #25Self-service

3Adaptability or versatility

If conventional NER models are used, then training is faster, but confidence estimation and adaptability to new domains are limited

Engineering Contradiction:
Improvedomain adaptabilityVSAvoidtraining time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent uses universal pre-trained language models that can be quickly adapted to new domains through fine-tuning on domain-specific data. These models provide multi-functionality by serving as base models for various NER tasks across different domains (finance, healthcare, legal, etc.), enabling rapid deployment without extensive retraining or architecture modification.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent employs fine-tuning techniques where the pre-trained model's parameters are adjusted on smaller domain-specific datasets. This parameter adjustment process allows the model to adapt to new domains efficiently, capturing domain-specific language patterns and entities while maintaining the general language understanding learned during pre-training, thus achieving fast adaptation with minimal training time.

Inventive Principle:
Principle #35Parameter changes

4Productivity

If small document corpuses are used, then processing is faster, but NER accuracy deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoidNER accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent applies pre-trained models that have already learned from large corpora, transferring this knowledge to small document corpora. This preliminary learning action enables the model to maintain high NER accuracy even when processing small datasets, as the pre-trained representations provide robust features that generalize well to limited data scenarios.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements approaches where the model leverages its pre-trained knowledge to compensate for limited training data. The model uses self-generated predictions and uncertainty estimates to identify areas needing improvement, allowing it to maintain accuracy on small corpora by relying on transferred knowledge rather than requiring extensive domain-specific training data.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12131122B2Pre-trained contextual embedding models for named entity recognition and confidence prediction
Publication Date: 2024.10.29 INTUIT INC
  • US12131122B2 patent drawing
  • US12131122B2 patent drawing
  • US12131122B2 patent drawing

AI summary

At least one processor may obtain a document comprising text tokens. The at least one processor may determine, based on a pre-trained language model, word embeddings corresponding to the text tokens. The at least one processor may determine, based on the word embeddings, named entities corresponding to the text tokens; and one or more accuracy predictions corresponding to the named entities. The at least one processor may compare the one or more accuracy predictions with at least one threshold. The at least one processor may associate, based on the comparing, the named entities with one or more confidence levels. The at last one processor may deliver the named entities and the one or more confidence levels.