Word Embedding Fusion With Word Scores for Low-Latency Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text classification methods face challenges in achieving competitive performance with state-of-the-art results while meeting low latency requirements, particularly in natural language processing tasks involving unstructured data.

Innovation Solution

The fusion of word embeddings with word scores using context-independent models, such as FastText, combined with feed-forward layers and techniques like softmax classification, enhances text classification performance by incorporating term frequency, document frequency, and learned parameters to generate composite embedding vectors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If contextual models are used to obtain word embeddings, then text classification accuracy is improved, but computational intensity increases and latency increases

Engineering Contradiction:
Improvetext classification accuracyVSAvoidcomputational intensity
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent segments the text into individual words or subwords, obtaining embedding vectors for each segment independently using a pre-trained context-independent model. This avoids the computational burden of processing the entire text through a contextual model while preserving meaningful word-level representations that can be aggregated for classification.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary action by pre-training the word embedding model offline before deployment. The context-independent embeddings are pre-computed and stored, allowing the system to bypass the computationally intensive contextual modeling step during actual text classification operations, thus reducing latency and computational intensity while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If contextual models are used to obtain word embeddings, then text classification accuracy is improved, but latency increases

Engineering Contradiction:
Improvetext classification accuracyVSAvoidlatency
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the text into individual words or subwords, obtaining embedding vectors for each segment independently using a pre-trained context-independent model. This avoids the computational burden of processing the entire text through a contextual model while preserving meaningful word-level representations that can be aggregated for classification.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary action by pre-training the word embedding model offline before deployment. The context-independent embeddings are pre-computed and stored, allowing the system to bypass the computationally intensive contextual modeling step during actual text classification operations, thus reducing latency and computational intensity while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

3Loss of time

If context-independent word embedding models are used, then latency is reduced, but text classification performance deteriorates

Engineering Contradiction:
ImprovelatencyVSAvoidtext classification performance
Core Design Contradiction:
Loss of timeVSMeasurement precision

Solution Approach 1:

The patent merges multiple context-independent word embedding vectors corresponding to different words or subwords of a text into a single aggregated embedding vector. This combination captures the collective semantic information from multiple word representations, compensating for the lack of contextual information and improving text classification performance while maintaining low latency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent uses pre-trained context-independent word embedding models to generate embedding vectors for individual words, effectively copying proven word representation knowledge into the text classification system. This allows the system to leverage existing high-quality word embeddings without incurring the computational cost of generating contextual embeddings from scratch.

Inventive Principle:
Principle #26Copying

4Measurement precision

If word embeddings are fused with word scores, then text classification accuracy is improved, but device complexity increases

Engineering Contradiction:
Improvetext classification accuracyVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges multiple context-independent word embedding vectors corresponding to different words or subwords of a text into a single aggregated embedding vector. This combination captures the collective semantic information from multiple word representations, compensating for the lack of contextual information and improving text classification performance while maintaining low latency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent uses pre-trained context-independent word embedding models to generate embedding vectors for individual words, effectively copying proven word representation knowledge into the text classification system. This allows the system to leverage existing high-quality word embeddings without incurring the computational cost of generating contextual embeddings from scratch.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12518098B2Fusion of word embeddings and word scores for text classification
Publication Date: 2026.01.06 ORACLE INT CORP
  • US12518098B2 patent drawing
  • US12518098B2 patent drawing
  • US12518098B2 patent drawing

AI summary

Techniques disclosed herein relate generally to text classification and include techniques for fusing word embeddings with word scores for text classification. In one particular aspect, a method for text classification is provided that includes obtaining an embedding vector for a textual unit, based on a plurality of word embedding vectors and a plurality of word scores. The plurality of word embedding vectors includes a corresponding word embedding vector for each of a plurality of words of the textual unit, and the plurality of word scores includes a corresponding word score for each of the plurality of words of the textual unit. The method also includes passing the embedding vector for the textual unit through at least one feed-forward layer to obtain a final layer output, and performing a classification on the final layer output.