Semantic Vector Search Recall Using Pre-trained Neural Networks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing search engine recalling methods are limited by their inability to generalize semantics, affecting accuracy due to reliance on literal matches using indicators like TFIDF and BM25.

Innovation Solution

A method utilizing a pre-trained neural network model to calculate semantic vectors of search terms, establishing an index based on these vectors, and recalling target documents from candidate documents, thereby improving recall accuracy by leveraging semantic characteristics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If literal match-based indicators (TFIDF, BM25) are used for recalling, then the matching process is simple and fast, but the recalling accuracy deteriorates due to inability to generalize semantics

Engineering Contradiction:
Improverecalling accuracyVSAvoidrecalling system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces the traditional mechanical/literal matching system (inverted index with TFIDF/BM25) with a neural network-based semantic vector system. The neural network model processes search terms and documents to generate semantic vectors that capture meaning beyond literal word matches, thereby improving recalling accuracy while maintaining system manageability through automated vector computation

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

Solution Approach 2:

The patent changes the fundamental parameter of document representation from literal word frequency counts (TFIDF, BM25) to semantic vectors derived from neural network processing. This parameter transformation enables the system to capture semantic similarities and generalize meanings, directly addressing the accuracy limitation of literal match-based approaches

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If neural network models are used to calculate semantic vectors, then the semantic generalization capability is improved, but the computational complexity and training requirements increase

Engineering Contradiction:
Improvesemantic generalization capabilityVSAvoidmodel training and computation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-training the neural network model offline using extensive training data and computational resources before actual search operations. The model is trained to map words and documents to semantic vectors in advance, so that during real-time searching, only lightweight vector similarity computations are needed, thereby managing the complexity burden outside the main search process

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses the pre-trained neural network model as a reusable computational resource that can be applied to multiple search queries without retraining. The model's semantic vector generation capability is copied and applied consistently across different documents and search terms, enabling semantic generalization while avoiding the repeated computational burden of training

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11182445B2Method, apparatus, server, and storage medium for recalling for search
Publication Date: 2021.11.23 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11182445B2 patent drawing
  • US11182445B2 patent drawing
  • US11182445B2 patent drawing

AI summary

Embodiments of the present disclosure disclose a method, an apparatus, a server, and a storage medium for recalling for a search. The method for recalling for a search includes: acquiring a search term inputted by a user; calculating a semantic vector of the search term using a pre-trained neural network model; and recalling, according to a pre-established index, target documents related to the semantic vector of the search term from candidate documents, the index being established based on the semantic vectors of the candidate documents, and the semantic vectors of the candidate documents being calculated using the pre-trained neural network model. The embodiments of the present disclosure may solve a problem in the existing method for recalling that the recalling accuracy is affected by failing to generalize semantics, to improve the accuracy of recalling for a search.