Context-Aware Word Embedding Generation via Pretrained NLP

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional natural language processing (NLP) models struggle to capture context-dependent semantics of words, as they represent each word with a single embedding vector, which limits their ability to differentiate between various contextual meanings of a word.

Innovation Solution

The development of an automatic context-aware embedding generation system that uses a pretrained context-aware NLP model to generate multiple context-aware representations of words in a multi-dimensional embedding space, allowing for the aggregation of context-aware information to derive word-level embedding vectors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a single embedding vector is used to represent each word, then the model structure remains simple and computationally efficient, but the ability to capture context-dependent semantics is insufficient

Engineering Contradiction:
Improvecontext-dependent semantics captureVSAvoidembedding representation complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the single word embedding vector into multiple context-specific embedding vectors, each capturing different semantic aspects of the word in different contexts. This is achieved by using multiple context vectors that are combined with the word embedding to produce context-aware representations, thereby resolving the contradiction between simplicity and semantic capture capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extends the embedding space by introducing additional dimensions through context vectors. Instead of relying solely on the intrinsic word embedding dimensions, the system adds context-specific dimensions that encode semantic information from surrounding text, enabling more precise capture of context-dependent meanings while maintaining a structured approach to complexity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Measurement precision

If multiple context-aware embedding vectors are generated for each word, then the representation accuracy improves, but the computational complexity and processing time increase

Engineering Contradiction:
Improveword representation accuracyVSAvoidprocessing efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs preliminary action by pre-defining a set of context vectors that can be reused across different words and sentences. These context vectors are computed once and stored, allowing the system to efficiently generate context-aware embeddings by simply combining them with word embeddings during processing, rather than computing everything from scratch for each word.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes parameters by dynamically selecting and weighting different context vectors based on the specific sentence or context being processed. Instead of always using all context vectors with equal weight, the system adjusts the parameters (weights and selections) of context vectors to optimize both accuracy and computational efficiency for each specific case.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If domain-specific training data is used to train context-aware models, then the model performance on domain tasks improves, but the requirement for large amounts of labeled data increases

Engineering Contradiction:
Improvedomain task performanceVSAvoidtraining data volume
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent applies universality by designing context vectors that can serve multiple functions across different domains and tasks. The same set of context vectors can be used for various NLP tasks (sentiment analysis, topic modeling, machine translation, etc.) without requiring domain-specific retraining, thereby achieving domain-agnostic performance improvement without the need for large amounts of domain-specific labeled data.

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

Solution Approach 2:

The patent uses copying by replicating and reusing the same context vector representations across different applications and domains. Instead of creating new domain-specific embeddings for each task, the system copies and adapts the general-purpose context-aware embedding framework to different domains, significantly reducing the need for domain-specific training data while maintaining performance.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12315052B2Generation of context-aware word embedding vectors for given semantic properties of a word using few texts
Publication Date: 2025.05.27 ACCENTURE GLOBAL SOLUTIONS LTD
  • US12315052B2 patent drawing
  • US12315052B2 patent drawing
  • US12315052B2 patent drawing

AI summary

This disclosure describes example implementations for generating context-dependent embedding vectors of words in the multi-dimensional embedding space based on a generic and non-domain-specific pretrained word embeddings. Such an implementation requires no domain specific training corpus and is capable of generating context-dependent embedding vectors of multi-semantic words using a few contextual texts. Such an implementation thus provides an efficient way to generate a library of multiple domain specific embedding vectors for multi-semantic words without any domain-specific training process. Other example embodiments further apply the principles of the context-dependent word embedding generation to a text-to-image application.