Search recall method and device, server and storage medium
A technology of indexing and related retrieval, applied in the Internet field, can solve the problems of affecting recall accuracy, lack of semantic generalization ability, etc., and achieve the effect of improving search recall accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flowchart of the search and recall method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of search and recall. The method can be executed by a search and recall device, which can be implemented by software and / or hardware. Such as figure 1 As shown, the method specifically includes:
[0027] S110. Obtain the search term input by the user.
[0028] Among them, the search term is the key content entered by the user in the search engine according to the purpose of the search. Specifically, the search term can be a word, a word, or a sentence; it can be Chinese, it can be an English letter, it can be one or more numbers, or it can be a combination of the above forms. Retrieve content.
[0029] S120. Calculate the semantic vector of the search term by using the pre-trained neural network model.
[0030] What needs to be explained here is that in the prior art, search engines usually retrieve relevant results...
Embodiment 2
[0041] figure 2 It is a flow chart of the search and recall method provided by Embodiment 2 of the present invention. Embodiment 2 further optimizes the training process of the neural network model on the basis of Embodiment 1. Such as figure 2 As shown, the method includes:
[0042] S210. From the user log accumulated by the search engine, extract items presented to the user according to each search term, use the items clicked by the user as training positive samples, and use the items that the user does not click as training negative samples.
[0043] S220. From the user log, randomly extract a preset number of entries as random negative samples, and the randomly extracted entries have no clicks under all search terms.
[0044] Among them, random negative samples refer to the entries in the user log that do not have clicks under all the search terms. As supplementary negative samples, they are used to improve the filtering accuracy of irrelevant results and reduce wrong ...
Embodiment 3
[0062] Figure 4 It is a schematic structural diagram of the search and recall device in Embodiment 3 of the present invention. Such as Figure 4 As shown, search recall devices include:
[0063] The retrieval term acquiring module 410 is configured to acquire the retrieval term input by the user.
[0064] The semantic vector calculation module 420 is used to calculate the semantic vector of the search term by using the pre-trained neural network model.
[0065] The document recall module 430 is configured to recall target documents related to the semantic vectors of the search terms from the candidate documents according to the pre-established index, wherein the index is established according to the semantic vectors of the candidate documents, and the semantic vector of the candidate documents The vector is calculated according to the pre-trained neural network model.
[0066] Preferably, the search and recall device further includes: a model training module, configured t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com