Two-Level Semantic Model for Text Vector Representation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing natural language processing models, such as BERT, face limitations in representing long texts and fail to capture information across different levels like paragraphs and sentences, leading to information loss and separation of text semantics.

Innovation Solution

A method involving a two-level semantic model approach, where text is divided into segments, with a first-level model generating segment vectors indicating text segment semantics and a second-level model recognizing these vectors to produce a text vector representing the topic, thereby capturing paragraph-level and text-level information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a single-level semantic model is used to represent text, then the model complexity is low, but the text information completeness deteriorates and semantic separation occurs

Engineering Contradiction:
Improvemodel complexityVSAvoidtext information completeness
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The patent divides text representation into two hierarchical levels: segment-level vectors representing local text segments (sentences or paragraphs) and document-level vectors representing the overall text. This segmentation allows different levels of semantic information to be captured separately and then integrated, preventing information loss and semantic separation while maintaining manageable model complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

2Ease of operation

If text is processed as a whole by a single model, then the processing simplicity is high, but the representation accuracy for different text levels deteriorates

Engineering Contradiction:
Improveprocessing simplicityVSAvoidrepresentation accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent introduces a hierarchical dimension to text representation, organizing vectors at two levels: segment-level vectors for local semantics and document-level vectors for global semantics. This dimensional organization allows the model to simultaneously maintain processing simplicity through automated hierarchical generation while achieving high representation accuracy by capturing both local and global semantic features that a single-level model would miss.

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

Data Source

PatentUS11403468B2Method and apparatus for generating vector representation of text, and related computer device
Publication Date: 2022.08.02 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11403468B2 patent drawing
  • US11403468B2 patent drawing
  • US11403468B2 patent drawing

AI summary

A method for generating a vector representation of a text includes dividing the text into text segments. Each text segment is represented as a segment vector corresponding to the respective text segment by employing a first-level semantic model. The segment vector is configured to indicate a semantics of the text segment. Text semantics recognition is performed on the segment vector of each text segment by employing a second-level semantic model to obtain a text vector for indicating a topic of the text.