Retrieval intention recognition method and device, readable storage medium and computer equipment

Through the combination of the component analysis model and the FastText model, primary intent and secondary intent are identified, which solves the problem of redundant results in retrieval intent recognition in freight scenarios and improves retrieval efficiency.

CN118568480APending Publication Date: 2024-08-30SHENZHEN YISHIHUOLALA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410664646.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the freight scenario, in the existing retrieval intention identification methods, only the first-level intention is retrieved by default, which leads to recall of too many redundant results and affects the efficiency of subsequent location retrieval.

Method used

By calling the pre-trained component analysis model to identify the components of the retrieval information, combined with the Bert model and the FastText model, the retrieval information is accurately identified with the first-level intention and the second-level intention to avoid recalling redundant results.

Benefits of technology

It improves the efficiency of subsequent location retrieval, accurately identifies the user's specific intentions, and reduces the recall of redundant results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568480A
    Figure CN118568480A
Patent Text Reader

Abstract

The invention is suitable for the field of intention recognition in a freight scene, and provides a retrieval intention recognition method and device, a readable storage medium and computer equipment. The retrieval intention recognition method comprises the steps that retrieval information corresponding to an intention recognition instruction is obtained in response to the intention recognition instruction; calling a pre-trained component analysis model to perform component identification on the retrieval information to obtain a component identification result; performing first-level intention recognition on the retrieval information according to the component recognition result to obtain a first-level intention recognition result; when it is determined that the first-level intention recognition result is the target intention, second-level intention recognition is conducted on the retrieval information based on the first-level intention recognition result, and an intention recognition result corresponding to the intention recognition instruction is obtained. According to the method, the specific intention of the user is further considered, and recall of excessive redundant results is avoided, so that the efficiency of subsequent site retrieval is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intent recognition in freight scenarios, and in particular to a retrieval intent recognition method, apparatus, readable storage medium, and computer equipment. Background Art

[0002] With the development of mobile Internet technology, new travel modes combined with the Internet have also seen vigorous development. In order to better meet the needs of users, accurately identifying the destination that users want to go to is crucial for retrieval intent recognition.

[0003] The current search intent recognition method for freight scenarios may include first-level intents such as gate address, POI (Point Of Interest), and AOI (Area Of Interest), and the destination is searched based on the first-level intent. Therefore, if the search is performed directly without considering the user's specific intent, too many redundant results will be recalled, resulting in inefficient subsequent location search. Summary of the invention

[0004] The purpose of the present application is to provide a search intent recognition method, apparatus, readable storage medium and computer equipment, aiming to solve the problem that the current default search for only the first-level intent leads to the recall of too many redundant results, affecting the efficiency of subsequent location retrieval.

[0005] In a first aspect, the present application provides a method for identifying retrieval intent, comprising: In response to the intention recognition instruction, obtaining search information corresponding to the intention recognition instruction; Calling a pre-trained component analysis model to perform component identification on the search information to obtain a component identification result; Performing primary intent recognition on the search information according to the component recognition result to obtain a primary intent recognition result; When it is determined that the first-level intention recognition result is a target type intention, second-level intention recognition is performed on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction.

[0006] Further, after performing primary intent recognition on the search information according to the component recognition result and obtaining the primary intent recognition result, the method further includes: When it is determined that the first-level intention recognition result is a portal-type intention, the first-level intention recognition result is used as the intention recognition result corresponding to the intention recognition instruction.

[0007] Preferably, when it is determined that the first-level intention recognition result is a target class intention, performing second-level intention recognition on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction includes: When it is determined that the first-level intention recognition result is an AOI type intention, the administrative division intention is determined on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction.

[0008] Preferably, when it is determined that the first-level intention recognition result is a target class intention, performing second-level intention recognition on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction includes: When it is determined that the first-level intention recognition result is a POI-type intention or other-type intention, the search information is subjected to category intention judgment and fuzzy intention judgment based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction; wherein, the other-type intention is intention other than door address-type intention, POI-type intention and AOI-type intention.

[0009] Preferably, based on the first-level intention recognition result, the search information is subjected to category intention determination and fuzzy intention determination to obtain the intention recognition result corresponding to the intention recognition instruction, including: Based on the first-level intent recognition result, the FastText model in the freight scenario is called to perform category intent judgment on the retrieval information of POI-type intent or other types of intent, and to perform fuzzy intent judgment on the retrieval information to obtain the intent recognition result corresponding to the intent recognition instruction.

[0010] Furthermore, before calling the FastText model in the freight scenario to determine the category intent of the retrieval information of the POI class intent or other class intent, it also includes: Acquire training data; wherein the training data includes POI data; The training data is used to train the neural network model to obtain a FastText model for the freight scenario.

[0011] Furthermore, before calling a pre-trained component analysis model to perform component identification on the search information and obtaining a component identification result, the method further includes: Obtain a manually annotated component identification dataset; The component identification data set is used to train the Bert model to obtain a trained component analysis model.

[0012] In a second aspect, the present application provides a retrieval intention recognition device, comprising: An acquisition module, configured to acquire, in response to an intention recognition instruction, retrieval information corresponding to the intention recognition instruction; A component identification module is used to call a pre-trained component analysis model to perform component identification on the search information to obtain a component identification result; A primary intention recognition module, used to perform primary intention recognition on the search information according to the component recognition result to obtain a primary intention recognition result; The secondary intention recognition module is used to perform secondary intention recognition on the search information based on the primary intention recognition result when it is determined that the primary intention recognition result is a target type intention, so as to obtain the intention recognition result corresponding to the intention recognition instruction.

[0013] In a third aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the retrieval intention identification method as described in any one of the above items.

[0014] In a fourth aspect, the present application provides a computer device, comprising: one or more processors; Memory; and One or more computer programs, the processor and the memory are connected via a bus, wherein the one or more computer programs are stored in the memory and are configured to be executed by the one or more processors, and the processors implement the steps of the retrieval intention identification method as described in any one of the above items when executing the computer programs.

[0015] In the present application, a pre-trained component analysis model is first called to perform component identification on the retrieval information, so as to accurately identify the components in the retrieval information through artificial intelligence; then, a first-level intention judgment is performed on the user's retrieval information based on the component analysis results, and a first-level intention recognition result is obtained, so as to accurately identify the first-level intention corresponding to the retrieval information in combination with the components in the retrieval information; finally, based on the first-level intention recognition result, a second-level intention judgment is further performed on the retrieval information of the target class intention, and an intent recognition result corresponding to the intent recognition instruction is obtained, so as to further consider the user's specific intention, avoid recalling too many redundant results, and thus improve the efficiency of subsequent location retrieval. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flowchart of a search intent identification method provided in one embodiment of the present application.

[0017] Figure 2 This is a schematic diagram of an ingredient label provided by an embodiment of the present application.

[0018] Figure 3This is a functional module block diagram of a retrieval intent recognition device provided in one embodiment of the present application.

[0019] Figure 4 It is a specific structural block diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and beneficial effects of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0021] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0022] See also Figure 1 , is a flowchart of a search intent recognition method provided in an embodiment of the present application. This embodiment mainly uses the search intent recognition method applied to a computer device as an example to illustrate. The search intent recognition method provided in an embodiment of the present application includes the following steps: S101, in response to an intention recognition instruction, obtaining search information corresponding to the intention recognition instruction; S102, calling a pre-trained component analysis model to perform component identification on the search information to obtain a component identification result; S103, performing primary intent recognition on the search information according to the component recognition result to obtain a primary intent recognition result; S104. When it is determined that the first-level intention recognition result is a target type intention, a second-level intention recognition is performed on the search information based on the first-level intention recognition result to obtain an intention recognition result corresponding to the intention recognition instruction.

[0023] As described in step S101 above, the intention recognition instruction may be triggered by a user through keyboard input or voice. For example, in response to a destination search operation triggered by a user on a mobile phone, an intention recognition instruction is generated according to the destination search operation.

[0024] Then, the search information corresponding to the intention recognition instruction is obtained. The search information can be the query text information or voice information input by the user on the mobile terminal. The search information includes address information, such as province, city, district, street, community, building or house number. When the search information is voice information, the search information can be converted into text form first. Specifically, the acquired voice information is preprocessed, including noise elimination, voice signal enhancement and other steps to improve the accuracy of voice recognition; then the preprocessed voice information is converted into a feature vector, and the feature vector is voice recognized using a voice recognition model to generate text information corresponding to the voice information, so as to facilitate subsequent intention recognition. Among them, the voice recognition model is an artificial intelligence model for converting voice signals into text. The voice recognition model uses machine learning and deep learning technology to understand the voice signal and convert it into a readable text form. The voice recognition model includes a hidden Markov model, a deep neural network model, a recurrent neural network model, and the like.

[0025] As described in step S102 above, the component analysis model is a neural network model used to discover the intrinsic structure or hidden components of data, such as a principal component analysis model. This model finds the direction that causes the greatest change in data through linear transformation, thereby achieving data dimensionality reduction and feature extraction.

[0026] refer to Figure 2 As shown in the figure, in the field of signal processing, the component analysis model can be used to separate different entities in the retrieval information and generate component recognition results. For example, different words in the retrieval information are divided into corresponding component labels. For example, the component label corresponding to the core words "road, side street, lane" in the retrieval information is "S", and the component label corresponding to "door, entrance and exit, parking lot" is "G".

[0027] Specifically, when calling a pre-trained component analysis model to identify the components of the search information and obtaining the component identification results, this embodiment can perform data preprocessing on the search information that needs to be identified, and the data preprocessing method includes text segmentation, removal of stop words, stem extraction or word form changes, etc., in order to prepare the data for input into the component analysis model. Subsequently, the pre-processed text data is converted into a feature vector using a word bag model, TF-IDF (term frequency-inverse text frequency) representation, Word2Vec and other word embedding models, and the feature vector is input into the trained component analysis model, and the component identification results obtained by identifying the components of the search information are output. According to the component identification results, the meaning of the search information can also be interpreted and analyzed for subsequent use in intent recognition.

[0028] As described in step S103 above, intent recognition refers to the process of identifying and understanding the intentions expressed by users in interactive conversations in the field of natural language processing. When a user interacts with a voice assistant, chatbot or voice recognition system, intent recognition helps the system understand the user's intentions and make corresponding responses or actions accordingly. In this embodiment, first, a first-level intent recognition is performed on the retrieval information based on the component recognition results to obtain a first-level intent recognition result, and the intent category to which the retrieval information belongs is determined based on the different entities in the retrieval information. The first-level intent recognition result can be divided into portal address intent, POI intent, AOI intent and other intents.

[0029] For example, when determining the portal type intent, if the search information contains the following entities or numbers, the search information is determined to be the portal type intent: Road + House Number; Residential area + building number; Village + Geographical number (house number).

[0030] For example: "No. 188 Huaihai Middle Road", "Room 302, Building 20, Ankang Community, Shanghai", "No. 10, Group 2, Ganjingzi Village".

[0031] When judging POI-type intent, if the search information does not contain entities such as "house number" and "building number", and contains one or more of the following entities, the search information is determined to be a POI-type intent: Core word-POI; Core word - building (community does not count, use strategy to identify building / community).

[0032] For example: "Shanghai Plaza KFC store".

[0033] When judging AOI-type intent, if the search information does not contain "house number", "building number", "POI", or "building", and contains one or more of the following entities, it is determined to be an AOI-type intent: village; the way; Land plots and business districts; Community.

[0034] For example: "Huaihai Middle Road", "Shanghai Ankang Community", "Shanghai Plaza".

[0035] In addition, other user search information that does not belong to the portal type intent, POI type intent, and AOI type intent is attributed to other types of intent.

[0036] As described in the above step S104, this embodiment determines whether the first-level intention recognition result is a target class intention, and the target class intention may include POI class intention, AOI class intention and other class intentions. When it is determined that the first-level intention recognition result is a gate address class intention, the first-level intention recognition result of the gate address class intention is directly used as the intention recognition result corresponding to the intention recognition instruction.

[0037] When the first-level intent recognition result is determined to be the target class intent, the second-level intent recognition is performed on the search information based on the first-level intent recognition result to obtain the intent recognition result corresponding to the intent recognition instruction. For example, for the search information with the first-level intent of POI and other types of intent, the category intent judgment and fuzzy intent judgment are performed; for the search information with the first-level intent of AOI, the administrative division judgment is performed to further consider the user's specific intent and avoid recalling too many redundant results, so as to accurately and efficiently identify the user's search intent in the freight scenario.

[0038] The retrieval intention recognition method of the present application first calls a pre-trained component analysis model to perform component recognition on the retrieval information, so as to accurately identify the components in the retrieval information through artificial intelligence; then, a first-level intention judgment is performed on the user's retrieval information based on the component analysis results, and a first-level intention recognition result is obtained, so as to accurately identify the first-level intention corresponding to the retrieval information in combination with the components in the retrieval information; finally, based on the first-level intention recognition result, a second-level intention judgment is further performed on the retrieval information of the target class intention, and an intention recognition result corresponding to the intention recognition instruction is obtained, so as to further consider the user's specific intention, avoid recalling too many redundant results, and thus improve the efficiency of subsequent location retrieval.

[0039] In one embodiment, when it is determined that the first-level intent recognition result is a target class intent, performing second-level intent recognition on the search information based on the first-level intent recognition result to obtain the intent recognition result corresponding to the intent recognition instruction may specifically include: When it is determined that the first-level intention recognition result is an AOI type intention, the administrative division intention is determined on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction.

[0040] In this embodiment, for the intent whose first-level intent recognition result is AOI, it is determined whether the intent of the search information is an administrative division based on the first-level intent recognition result. For example, the intent of the search information is to search for provinces, cities, counties, etc., which are further subdivided into administrative divisions or AOI_OTHER: Administrative divisions: The largest level is province / city / county / town / village / road (for example: Huaihai Middle Road, Shanghai); AOI_OTHER: Other AOI class intentions except administrative divisions.

[0041] In one embodiment, when it is determined that the first-level intent recognition result is a target class intent, performing second-level intent recognition on the search information based on the first-level intent recognition result to obtain the intent recognition result corresponding to the intent recognition instruction may specifically include: When it is determined that the first-level intention recognition result is a POI-type intention or other-type intention, the search information is subjected to category intention judgment and fuzzy intention judgment based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction; wherein, the other-type intention is intention other than door address-type intention, POI-type intention and AOI-type intention.

[0042] Among them, the category intention judgment is to judge the category of POI category intention, such as bank, hotel, restaurant, etc., and the fuzzy intention judgment is to judge whether the POI is a fuzzy intention, and the fuzzy intention includes north, up, etc. For example, assuming that the search information is "Shanghai Bank", the first-level intention recognition result of the search information is POI category intention, the category intention in the second-level intention judgment is "bank", and the fuzzy intention in the second-level intention judgment is "non-fuzzy intention"; assuming that the search information is "7 Days Inn", the first-level intention recognition result of the search information is POI category intention, the category intention in the second-level intention judgment is "hotel", and the fuzzy intention in the second-level intention judgment is "non-fuzzy intention"; for another example, assuming that the search information is "North", the first-level intention recognition result of the search information is other category intention, the category intention in the second-level intention judgment is "other", and the fuzzy intention in the second-level intention judgment is "fuzzy intention".

[0043] Among them, fuzzy intent usually refers to the fact that in a dialogue system, the user's expression may be vague or unclear, making it difficult for the system to accurately understand the user's intention. In the field of natural language processing, processing fuzzy intent is a challenging problem because the system needs to be able to understand the user's true intention from uncertain or ambiguous information. The fuzzy intent may come from the following aspects: Ambiguous language expression: The text or voice information input by the user may be ambiguous, vague or uncertain, such as lack of context, vague description, slip of the tongue, etc.

[0044] Lack of context: When the system cannot obtain sufficient contextual information based on previous conversation history, ambiguous intent is prone to occur.

[0045] Polysemy: Some words or phrases in a language may have multiple different meanings, which can easily lead to ambiguity in the system's understanding of user intent.

[0046] In one embodiment, based on the first-level intention recognition result, the search information is subjected to category intention determination and fuzzy intention determination to obtain the intention recognition result corresponding to the intention recognition instruction, which may specifically include: Based on the first-level intent recognition result, the FastText model in the freight scenario is called to perform category intent judgment on the retrieval information of POI-type intent or other types of intent, and to perform fuzzy intent judgment on the retrieval information to obtain the intent recognition result corresponding to the intent recognition instruction.

[0047] This embodiment calls the FastText model in the freight scenario to perform category intent judgment on the search information of POI-type intent or other types of intent, and obtains the category intent judgment; at the same time, fuzzy intent judgment is performed on the search information, and the fuzzy intent judgment result is generated according to the category intent judgment result and the fuzzy intent judgment result. For example, assuming that the search information is "Shanghai Bank", the category intent judgment of the search information in the secondary intent judgment is "bank", and the fuzzy intent judgment in the secondary intent judgment is "non-fuzzy intent"; assuming that the search information is "7 Days Inn", the category intent judgment of the search information in the secondary intent judgment is "hotel", and the fuzzy intent judgment in the secondary intent judgment is "non-fuzzy intent".

[0048] Among them, the FastText model is an efficient learning algorithm for text classification and text representation, with a fast training speed. The FastText model is based on the bag-of-words model and the continuous bag-of-words model (CBOW), and uses technologies such as hierarchical Softmax and N-gram features to improve efficiency. It can automatically generate subword-level representations of word vectors, so that it can better handle unregistered vocabulary and complex morphological changes; at the same time, it uses the hierarchical Softmax technology based on the Huffman tree to reduce the impact of the number of categories on the training speed, which is particularly suitable for large-scale classification tasks; by considering the n-gram features of consecutive n words, FastText can capture a certain degree of word order information, and to some extent make up for the shortcomings of the traditional bag-of-words model in capturing word order relationships. Compared with other word embedding models (such as Word2Vec, GloVe, etc.), the FastText model shows faster training speed and better performance when processing large amounts of text data.

[0049] In one embodiment, before calling the FastText model in the freight scenario to determine the category intent of the retrieval information of the POI type intent or other type intent, the following may also be included: Acquire training data; wherein the training data includes POI data; The training data is used to train the neural network model to obtain a FastText model for the freight scenario.

[0050] In this embodiment, first, training data including POI data is prepared, and the amount of the training data must be greater than a threshold, which can be customized, such as 30 million, to ensure the training effect of the model. The training data may include information such as POI name, description, category, and geographic location.

[0051] In addition, the acquired training data can also be preprocessed to ensure that the format of the training data meets the input requirements of the FastText model. Specifically, the POI data in the training data is subjected to text processing, including operations such as word segmentation, stop word removal, and stem extraction, so as to convert the POI data into a text format suitable for the FastText model to be trained. Then, the processed training data is divided into a training set, a validation set, and a test set for model training and evaluation; at the same time, a neural network model is constructed, and the neural network model is iteratively trained multiple times using the training set in the training data, and the loss function is used to calculate the loss value of the neural network model after each training. When the loss value is greater than the preset loss value, the parameters of the FastText model are adjusted according to the training effect, such as the word vector dimension, learning rate, number of iterations, etc., to obtain better performance and obtain a FastText model in the freight scenario.

[0052] Finally, the trained FastText model is evaluated using the validation set or test set in the training data to check the category intent judgment performance of the FastText model on the POI data, so as to obtain a FastText model with good performance and stability. Specifically, the validation set or test set in the training data is input into the trained FastText model, and the FastText model is used to predict the validation set or test set to obtain the prediction results. Based on the prediction results of the FastText model and the true labels of the validation set or test set, the performance indicators of the FastText model on the validation set or test set, such as accuracy, recall rate, F1 value, etc., are calculated. When all performance indicators meet the requirements, a FastText model with good performance and stability is obtained.

[0053] The validation set evaluation in this embodiment helps to understand the performance of the FastText model on unseen data, evaluate whether the FastText model has overfitting or underfitting problems, optimize model parameters to improve generalization ability, and provide a basis for the final model selection.

[0054] In one embodiment, calling a pre-trained component analysis model to perform component identification on the search information, before obtaining the component identification result, may also include: Obtain a manually annotated component identification dataset; The component identification data set is used to train the Bert model to obtain a trained component analysis model.

[0055] In this embodiment, the component recognition dataset can be used to train and evaluate recognition and classification models of entities in text, such as the recognition of address information such as provinces, cities, counties, roads, side streets, lanes, communities, and buildings.

[0056] When manually annotating component identification datasets, we first need to collect text corpora about address information to ensure that the corpus covers various types of place names and related contextual information. In order to ensure the consistency and reliability of annotation, annotators need to understand the annotation specifications. When formulating annotation specifications, it is necessary to clearly define which texts are considered place names, and annotators need to learn how to distinguish different types of place names, such as countries, cities, streets, etc. Subsequently, the place name entities in the corpus are annotated in a specific format. Common formats include BIO labeling (that is, the starting word of each entity is marked as B, the middle word is marked as I, and the non-entity word is marked as O), or XML format, etc. Annotators need to browse the text sentence by sentence, find the place names in it, and annotate them. At the same time, the actual category of each place name must be determined, such as country, city, state, etc. After the annotation is completed, review and proofreading are required to ensure the accuracy and consistency of the annotation. Finally, the annotation specifications and the annotated training set are documented for the annotators to refer to during the annotation process and to provide guidance for subsequent data processing.

[0057] In this embodiment, the manually annotated component recognition data set is input into a pre-built Bert model for multiple iterative training, and the trained Bert model is used as a component analysis model, and the component analysis model is used to perform component analysis on the user's search information.

[0058] Among them, the Bert model is a pre-trained language representation model based on the Transformer architecture. The Bert model uses the Transformer structure and considers all words in the context at the same time, that is, bidirectional encoding, which enables the Bert model to better understand the context and meaning of words in the text. At the same time, the Bert model uses an unsupervised method to pre-train on a large-scale text corpus to learn rich representations of words. Through pre-training, the Bert model can understand the rich semantic and syntactic information in natural language. In addition, the Bert model performs well in various natural language processing tasks, including text classification, named entity recognition, question-answering systems, semantic similarity calculations, etc., and only needs fine-tuning to adapt to different tasks.

[0059] The input and output of the component analysis model of this embodiment may be as follows: Input: The user enters the search information; Output: the result after component identification; For example: the user input is "No. 188 Huaihai Middle Road, Shanghai"; The output is: "Shanghai - City, Huaihai Middle Road - Road, No. 188 - House Number".

[0060] Second, see Figure 3 The search intent recognition device provided in one embodiment of the present application may be a computer program or a program code running in a computer device, for example, the search intent recognition device is an application software; the search intent recognition device may be used to execute the corresponding steps in the search intent recognition method provided in the embodiment of the present application. The search intent recognition device provided in one embodiment of the present application includes: An acquisition module 110, configured to acquire, in response to an intention recognition instruction, search information corresponding to the intention recognition instruction; The component identification module 120 is used to call a pre-trained component analysis model to perform component identification on the search information to obtain a component identification result; A primary intention recognition module 130, configured to perform primary intention recognition on the search information according to the component recognition result to obtain a primary intention recognition result; The secondary intention recognition module 140 is used to perform secondary intention recognition on the search information based on the primary intention recognition result when it is determined that the primary intention recognition result is a target type intention, so as to obtain the intention recognition result corresponding to the intention recognition instruction.

[0061] It should be noted that the retrieval intention identification device provided in one embodiment of the present application and the retrieval intention identification method provided in one embodiment of the present application belong to the same concept. The specific implementation process is detailed in the full text of the specification and will not be repeated here.

[0062] In a third aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the retrieval intent identification method provided in one embodiment of the present application.

[0063] Fourthly, Figure 4 A specific structural block diagram of a computer device provided in an embodiment of the present application is shown. The computer device may be Figure 4The terminal 100 shown in the figure, a computer device 100 includes: one or more processors 101, a memory 102, and one or more computer programs, wherein the processor 101 and the memory 102 are connected via a bus, the one or more computer programs are stored in the memory 102, and are configured to be executed by the one or more processors 101, and the processor 101 implements the steps of the retrieval intention recognition method provided in an embodiment of the present application when executing the computer program. The computer device includes a server and a terminal, etc. The computer device can be a desktop computer, a mobile terminal or a vehicle-mounted device, and the mobile terminal includes at least one of a mobile phone, a tablet computer, a personal digital assistant or a wearable device, etc.

[0064] It should be understood that each step in each embodiment of the present application is not necessarily performed in sequence according to the order indicated by the step number. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, at least a part of the steps in each embodiment can include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0065] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0066] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0067] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A search intent identification method, characterized in that: include: In response to the intent recognition instruction, obtaining search information corresponding to the intent recognition instruction; Calling a pre-trained component analysis model to perform component identification on the search information to obtain a component identification result; Performing first-level intent recognition on the search information according to the component recognition result to obtain a first-level intent recognition result; When it is determined that the first-level intention recognition result is a target type intention, second-level intention recognition is performed on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction.

2. The search intention identification method according to claim 1, wherein: Performing first-level intent recognition on the search information according to the component recognition result, and obtaining the first-level intent recognition result, further comprising: When it is determined that the first-level intention recognition result is a portal-type intention, the first-level intention recognition result is used as the intention recognition result corresponding to the intention recognition instruction.

3. The search intention identification method according to claim 1, wherein: When it is determined that the first-level intent recognition result is a target class intent, performing second-level intent recognition on the search information based on the first-level intent recognition result to obtain an intent recognition result corresponding to the intent recognition instruction, including: When it is determined that the first-level intention recognition result is an AOI type intention, the administrative division intention is determined on the search information based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction.

4. The search intention identification method according to claim 1, wherein: When it is determined that the first-level intent recognition result is a target class intent, performing second-level intent recognition on the search information based on the first-level intent recognition result to obtain an intent recognition result corresponding to the intent recognition instruction, including: When it is determined that the first-level intention recognition result is a POI-type intention or other-type intention, the retrieval information is subjected to category intention judgment and fuzzy intention judgment based on the first-level intention recognition result to obtain the intention recognition result corresponding to the intention recognition instruction; wherein, the other-type intention is other intentions except for door address-type intention, POI-type intention, and AOI-type intention.

5. The search intention identification method according to claim 4, wherein: Based on the first-level intention recognition result, the search information is subjected to category intention determination and fuzzy intention determination to obtain an intention recognition result corresponding to the intention recognition instruction, including: Based on the first-level intent recognition result, the FastText model in the freight scenario is called to perform category intent judgment on the retrieval information of POI-type intent or other types of intent, and fuzzy intent judgment is performed on the retrieval information to obtain the intent recognition result corresponding to the intent recognition instruction.

6. The search intention identification method according to claim 5, wherein: Before calling the FastText model in the freight scenario to determine the category intent of the retrieved information of the POI type intent or other type intent, the following steps are also included: Acquire training data; wherein the training data includes POI data; The neural network model is trained using the training data to obtain a FastText model for the freight scenario.

7. The search intention identification method according to claim 1, wherein: Before calling a pre-trained component analysis model to perform component identification on the search information and obtaining the component identification result, the following steps are also included: Obtain a manually annotated component identification dataset; The component recognition data set is used to train the Bert model to obtain a trained component analysis model.

8. A search intention recognition device, characterized in that: include: an acquisition module, configured to, in response to an intent recognition instruction, acquire retrieval information corresponding to the intent recognition instruction; A component identification module is used to call a pre-trained component analysis model to perform component identification on the search information and obtain a component identification result; a first-level intention recognition module, configured to perform first-level intention recognition on the search information according to the component recognition result to obtain a first-level intention recognition result; The secondary intention recognition module is used to perform secondary intention recognition on the search information based on the primary intention recognition result when it is determined that the primary intention recognition result is a target type intention, and obtain the intention recognition result corresponding to the intention recognition instruction.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the retrieval intention identification method according to any one of claims 1 to 7 are implemented.

10. A computer device comprising: one or more processors; Memory; as well as One or more computer programs, the processor and the memory are connected via a bus, wherein the one or more computer programs are stored in the memory and are configured to be executed by the one or more processors, characterized in that when the processor executes the computer program, the steps of the retrieval intention identification method according to any one of claims 1 to 7 are implemented.