Query Processing Using Word and Entity Vector Representations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current search engine and question-answer systems rely on literal sorting methods that fail to understand semantic meanings and have limited generalization ability, requiring large training datasets and lacking universality in information retrieval.

Innovation Solution

A query processing method and apparatus that determines word and entity vector representations for query sequences and paragraphs using knowledge graphs, calculating similarity based on these representations to improve retrieval accuracy and generalization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If literal sorting methods are used in search engines and question-answer systems, then the system structure remains simple and easy to implement, but the system fails to understand semantic meanings and has limited generalization ability

Engineering Contradiction:
Improvesemantic understanding capabilityVSAvoidsystem structure complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces vector representations as an intermediary between literal text matching and semantic understanding. By converting words, entities, and paragraphs into vector forms, the system enables semantic comparison without requiring complex neural network structures, thus improving adaptability while controlling complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms the representation parameters of text from literal strings to numerical vectors. This parameter change allows the system to capture semantic meanings through vector operations and similarity calculations, enhancing the system's semantic understanding capability without significantly increasing structural complexity

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If traditional sorting methods based on literal matching are used, then the system is easy to operate and implement, but the retrieval accuracy and generalization ability are insufficient

Engineering Contradiction:
Improveretrieval accuracyVSAvoidsystem operation simplicity
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The patent replaces the mechanical literal string matching system with a vector-based semantic comparison system. By substituting exact match operations with vector similarity calculations, the system achieves higher retrieval accuracy while maintaining operational simplicity through standardized vector operations

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Adaptability or versatility

If knowledge graphs and dual vector representations are introduced to improve semantic understanding, then retrieval accuracy and generalization improve, but the processing complexity and computational requirements increase

Engineering Contradiction:
Improvegeneralization abilityVSAvoidprocessing complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the semantic representation task into two distinct vector components: word vectors for lexical meaning and entity vectors for conceptual meaning. This segmentation allows the system to capture multiple aspects of semantics independently, improving generalization ability while keeping each processing module relatively simple and manageable

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11216618B2Query processing method, apparatus, server and storage medium
Publication Date: 2022.01.04 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11216618B2 patent drawing
  • US11216618B2 patent drawing
  • US11216618B2 patent drawing

AI summary

Embodiments of the present disclosure provide a query processing method and an apparatus, a server and a storage medium. The method includes: determining a word vector representation of a query sequence and an entity vector representation of the query sequence respectively based on respective words and respective entities included in the query sequence; determining a word vector representation of a paragraph and an entity vector representation of the paragraph respectively based on respective words and respective entities included in the paragraph; and determining a similarity between the query sequence and the paragraph according to the word vector representation of the query sequence, the entity vector representation of the query sequence, the word vector representation of the paragraph, and the entity vector representation of the paragraph.