Shared Semantic Model for Neural Search Recall and Ranking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In search scenarios, existing technologies face a disjunction in optimization targets between the recall and ranking stages, leading to suboptimal recall of highly matching data and inability to provide early warnings on low matching values, affecting the ranking and searching effect.

Innovation Solution

The implementation of a neural network model that shares a semantic representation model for both recall and ranking stages, ensuring consistent semantic representation and parameter distribution across both stages, thereby improving the ranking effect.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If separate semantic representation models are used for recall and ranking stages, then each stage can be optimized independently, but the optimization targets become disjoined leading to suboptimal recall and ranking effects

Engineering Contradiction:
Improvematching value accuracyVSAvoidmodel structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges the semantic representation models of the recall and ranking stages into a single shared model. This unified semantic representation model processes both recall queries and ranking queries through the same parameter distribution, ensuring consistent semantic understanding across both stages while improving matching value accuracy without proportionally increasing complexity

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The shared semantic representation model serves multiple functions: it performs semantic encoding for recall operations and semantic encoding for ranking operations simultaneously. This multi-functional design allows a single model to support both recall and ranking tasks with consistent parameter distributions, resolving the contradiction between precision and complexity

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

2Reliability

If a shared semantic representation model is used for both recall and ranking stages, then consistent semantic representation is achieved, but the model must handle multiple optimization targets simultaneously

Engineering Contradiction:
Improveranking effectVSAvoidoptimization target flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the optimization process into distinct phases: the semantic representation model is trained independently with its own loss function and optimization targets, then the recall model and ranking model are trained separately with their respective optimization goals. This segmented training approach allows the shared semantic model to provide consistent representations while each downstream model adapts to its specific optimization targets

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The semantic representation model is trained in advance as a preliminary step before training the recall and ranking models. This preliminary training establishes consistent parameter distributions and semantic understandings that both subsequent models can rely on, ensuring reliability while maintaining the flexibility of separate optimization stages

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20220414474A1Search method, electronic device and storage medium based on neural network model
Publication Date: 2022.12.29 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US20220414474A1 patent drawing
  • US20220414474A1 patent drawing
  • US20220414474A1 patent drawing

AI summary

A search method based on a neural network model is provided. The neural network model includes a semantic representation model, a recall model, and a ranking model. The present disclosure relates to the field of artificial intelligence, and in particular to the technical field of search. An implementation of the method comprises: inputting a target search and a plurality of objects to be matched to the semantic representation model to obtain a first output of the semantic representation model; inputting the first output of the semantic representation model to the recall model, and obtaining at least one recall object matching the target search from the plurality of objects to be matched by using the recall model; and inputting a second output of the semantic representation model to the ranking model, and obtaining a matching value of each of the at least one recall object by using the ranking model.