WO2021164286A1 - User intention recognition method, apparatus and device, and computer-readable storage medium - Google Patents

User intention recognition method, apparatus and device, and computer-readable storage medium Download PDF

Info

Publication number
WO2021164286A1
WO2021164286A1 PCT/CN2020/122059 CN2020122059W WO2021164286A1 WO 2021164286 A1 WO2021164286 A1 WO 2021164286A1 CN 2020122059 W CN2020122059 W CN 2020122059W WO 2021164286 A1 WO2021164286 A1 WO 2021164286A1
Authority
WO
WIPO (PCT)
Prior art keywords
elements
historical
target
training
model
Prior art date
Application number
PCT/CN2020/122059
Other languages
French (fr)
Chinese (zh)
Inventor
朱海军
许开河
王少军
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021164286A1 publication Critical patent/WO2021164286A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches

Abstract

The present application relates to the technical field of natural language processing. Disclosed are a user intention recognition method, apparatus and device, and a computer-readable storage medium. The method comprises: receiving a target question input by a user, and inputting the target question into an element recognition model so as to acquire a plurality of historical questions associated with the target question; acquiring historical elements corresponding to the historical questions, and performing duplicate checking processing on the historical elements so as to acquire a plurality of relevant historical elements; sequentially combining each relevant historical element with the target question so as to acquire a plurality of pieces of target data, and sequentially performing prediction on each piece of target data by means of the element recognition model so as to determine whether each piece of target data meets a preset requirement; and taking relevant historical elements in the target data which meets the preset requirement as target question elements corresponding to the target question, and on the basis of the target question elements, determining the intention of the user. The technical problem in the prior art of the accuracy being relatively low when elements are recognized is solved.

Description

用户意图识别方法、装置、设备及计算机可读存储介质User intention recognition method, device, equipment and computer readable storage medium
本申请要求于2020年2月21日提交中国专利局、申请号为CN202010110441.2,发明名称为“用户意图识别方法、装置、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 21, 2020, the application number is CN202010110441.2, and the invention title is "User Intention Recognition Method, Device, Equipment, and Computer-readable Storage Medium". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及自然语言处理技术领域,尤其涉及一种用户意图识别方法、装置、设备及计算机可读存储介质。This application relates to the field of natural language processing technology, and in particular to a method, device, device, and computer-readable storage medium for recognizing user intentions.
背景技术Background technique
目前,在智能客服系统中,用户query(疑问)的意图识别是非常重要的组成部分,而目前在对用户query的意图识别方案(如意图分类以及意图检索等)中,无法准确地对意图不明的query进行识别。At present, in the intelligent customer service system, the intent recognition of the user query (question) is a very important part. However, in the current intent recognition scheme for the user query (such as intent classification and intent retrieval, etc.), it is impossible to accurately identify the unknown intent. The query is identified.
技术问题technical problem
发明人意识到为了解决上述问题,目前基本上是采用识别用户query的重要要素来进行的,但是目前常见的要素识别方法有很大的局限性,要么对处理的数据限制较为严格,要么无法直接针对要素识别的目标进行优化,进而使要素识别时的准确性降低,从而影响到用户query的意图识别的最终结果。The inventor realizes that in order to solve the above-mentioned problems, the current method is basically to identify the important elements of the user query, but the current common element identification methods have great limitations. Either they have strict restrictions on the data to be processed, or they cannot be directly processed. Optimize the target of the element recognition, thereby reducing the accuracy of the element recognition, thereby affecting the final result of the user's query intention recognition.
技术解决方案Technical solutions
一种用户意图识别方法,所述用户意图识别方法包括:A method for recognizing user intentions, the method for recognizing user intentions includes:
接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
依次将各所述相关历史要素和所述目标问题进行组合,以获取各目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain each target data, and each of the target data is sequentially predicted through the element recognition model to determine whether each of the target data conforms to a preset Require;
将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
一种用户意图识别装置,所述用户意图识别装置包括:A user intention recognition device, the user intention recognition device comprising:
第一获取模块,用于接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;The first obtaining module is configured to receive the target question input by the user, and input the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
第二获取模块,用于获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;The second acquisition module is configured to acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
预测模块,用于依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;The prediction module is used to sequentially combine each of the relevant historical elements and the target question to obtain multiple target data, and predict each of the target data in turn through the element recognition model to determine each of the target data Whether the target data meets the preset requirements;
确定模块,用于将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The determining module is configured to use the relevant historical elements in the target data that meets the preset requirements as the target question elements corresponding to the target question, and determine the user's intention based on the target question elements.
一种用户意图识别设备,所述用户意图识别设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中:A user intention recognition device, the user intention recognition device comprising: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein:
所述计算机程序被所述处理器执行时实现如下步骤:When the computer program is executed by the processor, the following steps are implemented:
接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following steps are implemented:
接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
附图说明Description of the drawings
图1是本申请实施例方案涉及的硬件运行环境的终端\装置结构示意图;FIG. 1 is a schematic diagram of the terminal\device structure of the hardware operating environment involved in the solution of the embodiment of the present application;
图2为本申请用户意图识别方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for identifying user intentions according to this application;
图3为本申请用户意图识别装置的功能模块示意图。FIG. 3 is a schematic diagram of functional modules of the user intention recognition device of this application.
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the objectives, functional characteristics, and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application.
本申请实施例终端为用户意图识别设备。The terminal in the embodiment of the present application is a user intention recognition device.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在终端设备移动到耳边时,关闭显示屏和/或背光。当然,终端设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may also include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among them, sensors such as light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor can turn off the display screen and/or when the terminal device is moved to the ear. Backlight. Of course, the terminal device can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be repeated here.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及用户意图识别程序。As shown in FIG. 1, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a user intention recognition program.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的用户意图识别程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the back-end server and communicate with the back-end server; the user interface 1003 is mainly used to connect to the client (user side) and communicate with the client; and the processor 1001 can be used to call the user intention recognition program stored in the memory 1005 and perform the following operations:
接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
参照图2,本申请提供一种用户意图识别方法,在用户意图识别方法一实施例中,用户意图识别方法包括以下步骤:2, the present application provides a method for recognizing user intent. In an embodiment of the method for recognizing user intent, the method for recognizing user intent includes the following steps:
步骤S10,接收用户输入的目标问题,并将所述目标问题输入至所述要素识别模型,以获取获取与所述目标问题关联的多个历史问题;Step S10, receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
在本实施例中将要素识别转换为要素寻找,从而简化任务的难度。要素寻找可以通过多次query(疑问)与要素的0/1分类来实现,1表示query中蕴含该要素,0表示query中没有蕴含该要素。但是由于目前人工标注通常只会标注query蕴含了哪些要素,但是0/1分类模型需要大量负样本数据,也就是只能通过query来获取0/1分类模型需要的要素,而不能获取到负样本数据。因此可以通过es(elasticsearch,开源搜索引擎)框架构架大量高质量的负样本数据。其中,负样本数据可以是与query相关联但是不相同的数据。In this embodiment, element identification is converted to element search, thereby simplifying the difficulty of the task. Element search can be achieved through multiple queries (questions) and 0/1 classification of elements. 1 means that the element is contained in the query, and 0 means that the element is not contained in the query. However, because the current manual labeling usually only labels which elements are contained in the query, the 0/1 classification model requires a large amount of negative sample data, that is, the elements required by the 0/1 classification model can only be obtained through the query, but the negative samples cannot be obtained. data. Therefore, a large number of high-quality negative sample data can be constructed through the es (elasticsearch, open source search engine) framework. Among them, the negative sample data may be data that is associated with the query but is not the same.
当获取到负样本数据和要素后,可以借助bert(语言表征模型)模型的自注意力以及强大的泛化能力,来对query和要素进行0/1分类训练,从而可以提高对数据分类的准确率,并降低了训练数据量的需求。并在bert模型对query和要素进行分类训练完成后,可以明显地检测到bert模型参数量巨大,进行模型训练时耗时较长,容易导致该bert模型无法满足智能客服实时性的需求,因此需要对已训练完成的bert模型,在尽量不损失模型效果的前提下,尽可能地压缩模型的参数量。也就是可以通过知识蒸馏技术对已训练完成的bert模型进行压缩,并在压缩完成后,将该已训练完成且进行压缩后的bert模型进行发布,即可以让线上人员正式应用此已发布的bert模型。其中,知识蒸馏是通过引用语教师网络相关的软目标以诱导学生网络的训练,实现知识迁移。在本实施例中,通过知识蒸馏对已训练好的bert模型进行知识精简,仅保留与query相关联的参数。When the negative sample data and elements are obtained, the self-attention and powerful generalization ability of the bert (language representation model) model can be used to perform 0/1 classification training on the query and elements, which can improve the accuracy of data classification Rate and reduce the demand for training data. And after the bert model has completed the classification training of the query and elements, it can be clearly detected that the bert model has a huge amount of parameters, and the model training takes a long time, which may easily lead to the bert model not being able to meet the real-time needs of intelligent customer service, so it is necessary For the bert model that has been trained, the parameters of the model are compressed as much as possible without losing the effect of the model as much as possible. That is to say, the trained bert model can be compressed through the knowledge distillation technology, and after the compression is completed, the trained and compressed bert model can be released, that is, online personnel can formally apply the released bert model bert model. Among them, the knowledge distillation is to induce the training of the student network through the soft goal related to the teacher network of the quotation, and realize the knowledge transfer. In this embodiment, the trained bert model is knowledge simplified through knowledge distillation, and only the parameters associated with the query are retained.
目标问题可以是用户输入的任意问题。要素识别模型可以是bert模型经过分类训练并进行知识蒸馏压缩发布后的模型。当系统终端接收到用户或者客户端输入的目标问题时,会将目标问题输入至要素识别模型中进行模型训练,并在要素识别模型对应的知识库中获取各个历史问题,并通过ES检索在各所述历史问题中获取与目标问题相关的各个历史问题。其中,在进行es检索时,可以通过检查各个历史问题中的文字是否有和目标问题相同的来确定与目标问题相关的各个历史问题;还可以是检查各个历史问题中词语的词义是否有和目标问题相同的来确定与目标问题相关的各个历史问题等。The target question can be any question entered by the user. The element recognition model can be a model after the bert model has been classified and trained and the knowledge is distilled and compressed and released. When the system terminal receives the target question input by the user or the client, it will input the target question into the element recognition model for model training, and obtain each historical question in the knowledge base corresponding to the element recognition model, and retrieve it in each From the historical questions, various historical questions related to the target question are obtained. Among them, when performing es search, you can determine each historical question related to the target question by checking whether the text in each historical question is the same as the target question; it can also check whether the meaning of the word in each historical question has and the target The problem is the same to determine the various historical problems related to the target problem, etc.
步骤S20,获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Step S20: Obtain historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
当获取到与目标问题相关的各个历史问题后,还需要确定这些历史问题对应的历史要素,也就是从知识库中获取与目标问题相关的各个历史问题对应的历史要素,并在获取到历史要素后,可以对这些历史要素进行查重处理,检测是否存在有两个及两个以上的要素是完全相同的,若存在,则确定这些相同的要素为重复要素,并在确定各个重复要素之后,需要从这些重复要素中任选一个要素和非重复要素一起作为与目标问题对应的相关历史要素。其中,历史要素可以是历史问题中标注的要素。After obtaining each historical issue related to the target issue, it is also necessary to determine the historical elements corresponding to these historical issues, that is, obtain the historical elements corresponding to each historical issue related to the target issue from the knowledge base, and obtain the historical elements Later, these historical elements can be checked for duplicate processing to detect whether there are two or more elements that are completely the same. If they exist, determine these same elements as repeated elements, and after determining each repeated element, It is necessary to select one element from these repetitive elements and non-repetitive elements together as the relevant historical element corresponding to the target question. Among them, historical elements can be elements marked in historical questions.
步骤S30,依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Step S30: Combine each of the relevant historical elements and the target question in sequence to obtain multiple target data, and use the element recognition model to predict each of the target data in turn to determine each of the target data Whether it meets the preset requirements;
当获取到各个相关历史要素后,还需要依次将各个相关历史要素和目标问题进行组合,以得到组合后的目标数据。例如,当目标问题为“柜员机转账是免费的吗”,而获取到的相关历史要素为“柜员机、手续费、免费”,此时就可以依次将“柜员机、手续费、免费”和“柜员机转账是免费的吗”分别进行组合,以获取到三个目标数据,以便通过要素识别模型对这三个目标数据进行模型训练。再将各个目标数据依次通过要素识别模型进行预测,根据预测结果来确定该目标数据是否符合预设要求,也就是在遍历各个目标数据时,通过要素识别模型确定当前遍历的目标数据是否符合预设要求(其中,预设要求可以是用户提前设置的任意要求),若当前遍历的目标数据符合预设要求,则可以认为当前遍历的目标数据中的目标问题包含当前遍历的目标数据中的相关历史要素,并以此确定当前遍历的目标数据中的相关历史要素为与目标问题对应的目标问题要素。但是,若当前遍历的目标数据不符合预设要求,则可以认为当前遍历的目标数据中的目标问题不包含当前遍历的目标数据中的相关历史要素,并以此确定当前遍历的目标数据中的相关历史要素不是与目标问题对应的目标问题要素。需要说明的是,在本实施例中需要将所有的目标数据都通过要素识别模型进行预测。After obtaining each relevant historical element, it is also necessary to sequentially combine each relevant historical element and the target question to obtain the combined target data. For example, when the target question is "Are the ATM transfers free?" and the relevant historical elements obtained are "Teller Machines, Handling Fees, Free", then you can turn "Teller Machines, Handling Fees, Free" and "Teller Machine Transfers" in turn. Is it free?” Combine separately to obtain three target data, so that the three target data can be model-trained through the element recognition model. Then, each target data is predicted through the feature recognition model in turn, and the prediction result is used to determine whether the target data meets the preset requirements, that is, when traversing each target data, the feature recognition model determines whether the currently traversed target data meets the preset requirements Requirements (where the preset requirements can be any requirements set by the user in advance), if the currently traversed target data meets the preset requirements, it can be considered that the target problem in the current traversed target data includes the relevant history in the current traversed target data Elements, and determine the relevant historical elements in the target data currently traversed as the target problem elements corresponding to the target problem. However, if the target data currently traversed does not meet the preset requirements, it can be considered that the target problem in the target data currently traversed does not include the relevant historical elements in the target data currently traversed, and the current traversed target data can be determined accordingly. The relevant historical element is not the target question element corresponding to the target question. It should be noted that in this embodiment, all target data needs to be predicted through the element recognition model.
步骤S40,将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。In step S40, relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
当将所有的目标数据均通过要素识别模型进行预测后,获取各个目标数据经过要素识别模型预测的预测结果,并根据预测结果来确定哪些目标数据是符合预设要求的,哪些目标数据是不符合预设要求,并将符合预设要求的目标数据中的相关历史要素作为与目标问题对应的目标问题要素,并当获取到各个目标问题要素后,就可以根据这些目标问题要素推算出用户的意图。After all the target data are predicted by the feature recognition model, the prediction results of each target data predicted by the feature recognition model are obtained, and based on the prediction results, it is determined which target data meets the preset requirements and which target data is not. Preset requirements, and use the relevant historical elements in the target data that meet the preset requirements as the target problem elements corresponding to the target problem, and when each target problem element is obtained, the user's intention can be calculated based on these target problem elements .
在本实施例中,通过接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。通过根据目标问题确定各相关历史要素,并依次将各相关历史要素和目标问题进行组合得到目标数据,再将各个目标数据依次输入到要素识别模型中进行模型训练,以确定目标问题要素,从而避免了现有技术中进行要素识别,无法直接对要素识别的目标进行优化的现象发生,提高了对用户意图识别的准确性,并由于是根据问题在模型中进行要素查找,从而提高了获取到的要素的准确性,解决了现有技术中在进行要素识别时,准确率较低的技术问题。In this embodiment, by receiving the target question input by the user, and inputting the target question into the element recognition model, a plurality of historical questions associated with the target question are obtained; and the historical element corresponding to each of the historical questions is obtained , And perform duplicate checking on each of the historical elements to obtain multiple relevant historical elements; sequentially combine each of the relevant historical elements and the target question to obtain multiple target data, and identify them through the elements The model predicts each of the target data in turn to determine whether each of the target data meets the preset requirements; uses the relevant historical elements in the target data that meets the preset requirements as the target question elements corresponding to the target question, and The user's intention is determined based on the target question element. By determining the relevant historical elements according to the target question, and combining the relevant historical elements and the target question in turn, the target data is obtained, and then each target data is sequentially input into the element recognition model for model training to determine the target problem element, thereby avoiding In the prior art for element identification, the phenomenon that the target of element identification cannot be directly optimized occurs, which improves the accuracy of user intent identification, and because element search is performed in the model according to the problem, the obtained value is improved. The accuracy of the elements solves the technical problem of low accuracy when performing element identification in the prior art.
进一步地,在本申请第一实施例的基础上,提出了本申请用户意图识别方法的第二实施例,本实施例是本申请第一实施例的步骤S30,通过所述要素识别模型对各所述目标数据依次进行预测的步骤,包括:Further, on the basis of the first embodiment of the present application, a second embodiment of the user intention recognition method of the present application is proposed. This embodiment is step S30 of the first embodiment of the present application. The step of sequentially predicting the target data includes:
步骤a,依次遍历各所述目标数据,通过所述要素识别模型对当前遍历的目标数据进行训练,以确定所述目标问题是否包含当前遍历的所述目标数据中的相关历史要素;Step a: traverse each of the target data in turn, and train the currently traversed target data through the element recognition model to determine whether the target question includes relevant historical elements in the currently traversed target data;
在获取到各个目标数据后,需要通过要素识别模型对每个目标数据进行模型训练,以确定哪些目标数据是符合要求的,即可以通过依次遍历各个目标数据,并通过要素识别模型对当前遍历的目标数据进行模型训练,并根据训练结果确定目标问题是否包含当前遍历的目标数据中的相关历史要素,并基于不同的确定结果执行不同的操作。After obtaining each target data, it is necessary to perform model training on each target data through the feature recognition model to determine which target data meets the requirements, that is, to traverse each target data in turn, and use the feature recognition model to analyze the current traversal Model training is performed on the target data, and based on the training results, it is determined whether the target question contains relevant historical elements in the target data currently traversed, and different operations are performed based on different determination results.
步骤b,若包含,则确定当前遍历的所述目标数据符合预设要求,并将当前遍历的所述目标数据中的相关历史要素作为所述目标问题对应的目标问题要素,直至各所述目标数据遍历完成。Step b, if included, determine that the currently traversed target data meets the preset requirements, and use the relevant historical elements in the currently traversed target data as the target problem element corresponding to the target question until each target Data traversal is complete.
当经过判断发现目标问题包含当前遍历的目标数据中的相关历史要素,则可以将当前遍历的目标数据中的相关历史要素作为目标问题对应的目标问题要素,直到各个目标数据遍历完成,也就是需要确定所有的目标数据中的相关历史要素是否是目标问题对应的目标问题要素。但是若目标问题不包含当前遍历的目标数据中的相关历史要素,则继续遍历下一个目标数据,直至所有的目标数据遍历完成。When it is judged that the target question contains the relevant historical elements in the target data currently traversed, the relevant historical elements in the target data currently traversed can be used as the target question elements corresponding to the target question, until each target data traversal is completed, that is, it is necessary Determine whether the relevant historical elements in all target data are the target problem elements corresponding to the target problem. However, if the target problem does not include the relevant historical elements in the target data currently traversed, the traversal of the next target data is continued until all target data traversal is completed.
在本实施例中,通过遍历所有的目标数据,并通过要素识别模型确定目标问题对应的目标问题要素,从而提高了确定目标问题要素的准确性,并由于是直接确定目标问题是否包含相关历史要素,因此相对于现有技术中确定目标问题有哪些要素,简化了获取到目标问题要素的流程。In this embodiment, by traversing all the target data, and determining the target problem element corresponding to the target problem through the element recognition model, the accuracy of determining the target problem element is improved, and because it is directly determined whether the target problem contains relevant historical elements Therefore, compared with determining the elements of the target problem in the prior art, the process of obtaining the elements of the target problem is simplified.
进一步地,在本实施例第一至第二任意一个实施例的基础上,提出了本申请用户意图识别方法的第三实施例,本实施例是本申请第一实施例的步骤S10,接收用户输入的目标问题,并将所述目标问题输入至要素识别模型的步骤之前,包括:Further, on the basis of any one of the first to second embodiments of this embodiment, a third embodiment of the user intention identification method of the present application is proposed. This embodiment is step S10 of the first embodiment of the present application. Before the step of inputting the target question and inputting the target question into the element recognition model, it includes:
步骤c,获取语言表征模型bert模型和输入的多个训练问题,并通过所述bert模型对依次对各所述训练问题进行分类训练;Step c: Obtain a bert model of a language representation model and a plurality of input training questions, and perform classification training on each of the training questions sequentially through the bert model;
获取预设的bert模型和需要进行训练的各个训练问题,并可以通过bert模型和bert模型对应的知识库依次对各个训练问题进行分类训练,以确定训练问题包含哪些要素,直至各个训练问题训练完成。Obtain the preset bert model and each training problem that needs to be trained, and classify and train each training problem in turn through the knowledge base corresponding to the bert model and the bert model to determine which elements the training problem contains, until the training of each training problem is completed .
步骤d,将经过各分类训练完成的bert模型作为训练模型,并基于所述训练模型确定要素识别模型。In step d, the bert model completed after each classification training is used as a training model, and an element recognition model is determined based on the training model.
当bert模型已对各个训练问题分类训练完成后,就可以将经过各分类训练完成的bert模型作为训练模型,并可以根据此训练模型来确定要素识别模型。即若将训练模型直接发布,则可以将已发布的训练模型作为要素识别模型,但是一般由于训练模型的参数量巨大,不满足实时需求,可以先对训练模型进行处理后再发布,以得到要素识别模型。After the bert model has completed the classification and training of each training problem, the bert model that has been trained for each classification can be used as the training model, and the element recognition model can be determined according to this training model. That is, if the training model is directly released, the released training model can be used as a feature recognition model. However, generally due to the huge amount of parameters of the training model, which does not meet the real-time requirements, the training model can be processed first and then released to obtain the features Identify the model.
在本实施例中,通过将已进行过分类训练的bert模型作为训练模型,并根据训练模型确定要素识别模型,从而保障了获取到的要素识别模型是有效可用的。In this embodiment, the bert model that has undergone classification training is used as the training model, and the element recognition model is determined according to the training model, thereby ensuring that the obtained element recognition model is effective and usable.
具体地,通过所述bert模型对依次对各所述训练问题进行分类训练的步骤,包括:Specifically, the step of sequentially classifying and training each of the training questions through the bert model includes:
步骤c1,依次遍历各所述训练问题,确定当前遍历的训练问题中的多个标注要素,并获取与当前遍历的训练问题相关联的多个负样本数据;Step c1, traverse each of the training questions in turn, determine multiple label elements in the training question currently traversed, and obtain multiple negative sample data associated with the training question currently traversed;
依次遍历各个训练问题,确定当前遍历的训练问题中的各个标注要素,并可以通过es检索来构造与当前遍历的训练问题相关联的大量高质量的负样本数据。其中,负样本数据是与训练问题相关联但不是标注要素的数据。Each training problem is traversed in turn, and each labeling element in the training problem currently traversed is determined, and a large number of high-quality negative sample data associated with the training problem currently traversed can be constructed through es retrieval. Among them, the negative sample data is data that is associated with the training problem but is not annotated elements.
步骤c2,基于各所述负样本数据和各所述标注要素,并通过bert模型对当前遍历的所述训练问题进行分类训练,直至各所述训练问题遍历完成。Step c2, based on each of the negative sample data and each of the annotation elements, and perform classification training on the currently traversed training questions through the bert model, until the traversal of each of the training questions is completed.
当获取到大量高质量的负样本数据和各个标注要素后,就可以通过bert模型对当前遍历的训练问题进行分类训练,确定当前遍历的训练问题包含哪些要素,直至各个训练问题遍历完成,也就是直到所有的训练问题均已进行分类训练。When a large number of high-quality negative sample data and each labeling element are obtained, the bert model can be used to classify and train the current traversed training problem to determine which elements the current traversed training problem contains until the traversal of each training problem is completed, that is Until all training problems have been classified training.
在本实施例中,通过获取训练问题对应的标注要素和各负样本数据,并通过bert模型进行分类训练,从而确定了bert模型的可用性。In this embodiment, the usability of the bert model is determined by obtaining the annotation elements and each negative sample data corresponding to the training problem, and performing classification training through the bert model.
具体地,基于所述训练模型确定要素识别模型的步骤,包括:Specifically, the step of determining an element recognition model based on the training model includes:
步骤d1,通过知识蒸馏对所述训练模型进行压缩,以获取压缩模型,并将所述压缩模型进行发布,以获取要素识别模型。In step d1, the training model is compressed through knowledge distillation to obtain a compressed model, and the compressed model is published to obtain an element recognition model.
当获取到训练模型后,可以明显地检测到训练模型的参数量巨大,进行模型训练时耗时较长,容易导致此训练模型无法满足智能客服实时性的需求,因此需要对此训练模型,在尽量不损失模型效果的前提下,尽可能地压缩模型的参数量,即可以通过知识蒸馏来对此训练模型进行压缩,并将压缩后的训练模型作为压缩模型,在将此压缩模型进行发布,从而获取到要素识别模型。When the training model is obtained, it can be clearly detected that the parameters of the training model are huge, and the training of the model takes a long time, which easily causes the training model to fail to meet the real-time needs of intelligent customer service. Therefore, it is necessary to train the model. Under the premise of not losing the effect of the model as much as possible, compress the parameters of the model as much as possible, that is, the training model can be compressed through knowledge distillation, and the compressed training model can be used as the compression model, and the compressed model will be released. In order to obtain the feature recognition model.
在本实施例中,通过知识蒸馏对训练模型进行压缩、发布,以获取要素识别模型,从而避免训练模型参数过多,导致训练模型确定目标问题要素时间过长的现象发生,保障了要素识别模型的实用性。In this embodiment, the training model is compressed and released through knowledge distillation to obtain the element recognition model, so as to avoid too many parameters of the training model, which leads to the phenomenon that the training model determines the target problem element for a long time, and ensures the element recognition model Practicality.
进一步地,在本实施例第一至第三任意一个实施例的基础上,提出了本申请用户意图识别方法的第四实施例,本实施例是本申请第一实施例的步骤S20,获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素的步骤的细化,包括:Further, on the basis of any one of the first to third embodiments of this embodiment, a fourth embodiment of the user intention recognition method of this application is proposed. This embodiment is step S20 of the first embodiment of this application, and each The historical elements corresponding to the historical questions, and the process of checking the duplicates of each historical element to obtain multiple relevant historical elements, include:
步骤e,获取各所述历史问题对应的历史要素,对各所述历史要素进行查重处理,确定各所述历史要素中是否存在重复历史要素;Step e: Obtain the historical elements corresponding to each of the historical questions, perform duplicate checking processing on each of the historical elements, and determine whether there are duplicate historical elements in each of the historical elements;
获取各个历史问题对应的历史要素,并依次对各个历史要素进行查重处理,以确定各个历史要素中是否存在重复历史要素,并基于不同的确定结果执行不同的操作。Obtain the historical elements corresponding to each historical issue, and perform duplicate checking on each historical element in turn to determine whether there are duplicate historical elements in each historical element, and perform different operations based on different determination results.
步骤f,若不存在,则将各所述历史要素作为相关历史要素。In step f, if it does not exist, use each of the historical elements as related historical elements.
当经过判断发现各个历史要素中不存在重复历史要素,则可以直接将各个历史要素作为目标问题对应的相关历史要素。When it is found through judgment that there are no repeated historical elements in each historical element, each historical element can be directly used as the relevant historical element corresponding to the target question.
在本实施例中,通过对各个历史要素进行查重处理,确定是否存在重复历史要素,若不存在,则将各个历史要素作为相关历史要素,从而确保了获取到的相关历史要素的高质量。In this embodiment, each historical element is checked for duplicate processing to determine whether there is a repeated historical element. If it does not exist, each historical element is taken as a relevant historical element, thereby ensuring the high quality of the obtained relevant historical element.
进一步地,确定各所述历史要素中是否存在重复历史要素的步骤之后,包括:Further, after the step of determining whether there are repeated historical elements in each of the historical elements, the method includes:
步骤h,若存在,则确定各所述重复历史要素的类型是否相同;Step h, if it exists, determine whether the types of the repeated historical elements are the same;
当经过判断发现在各个历史要素中存在有重复要素,则确定各个重复历史要素的类型(如词意、拼音等)是否相同,也就是在确定有历史要素相重复时,确定是否所有的历史要素均相同,若相同,则可以直接在这些重复历史要素中选择一个重复历史要素作为相关历史要素。若不相同,则需要针对不同类型的重复历史要素进行筛选。When it is judged that there are duplicate elements in each historical element, it is determined whether the types of each repeated historical element (such as word meaning, pinyin, etc.) are the same, that is, when it is determined that there are duplicate historical elements, determine whether all historical elements are repeated If they are the same, you can directly select one of these repeated historical elements as the relevant historical element. If they are not the same, you need to filter for different types of repeated historical elements.
步骤g,若不相同,则在同一类型的各所述重复历史要素中筛选一个重复历史要素作为需求历史要素,并将各所述历史要素中的非重复历史要素和所述需求历史要素作为相关历史要素,其中,各所述历史要素包括非重复历史要素和重复历史要素。In step g, if they are not the same, select one of the repeated historical elements of the same type as the demand historical element, and use the non-repetitive historical elements and the demand historical elements in each of the historical elements as related Historical elements, wherein each of the historical elements includes non-repetitive historical elements and repeated historical elements.
当经过判断发现各个历史要素的类型不相同,则在同一类型的各个重复历史要素中任意筛选一个重复历史要素作为需求历史要素,并将各个历史要素中的非重复历史要素和各个需求历史要素作为目标问题对应的相关历史要素。其中在本实施例中,历史要素要么为重复历史要素,要么为非重复历史要素。When the type of each historical element is found to be different after judgment, one of the repeated historical elements of the same type is randomly selected as the demand historical element, and the non-repetitive historical elements and each demand historical element in each historical element are regarded as Relevant historical elements corresponding to the target question. In this embodiment, the historical elements are either repetitive historical elements or non-repetitive historical elements.
在本实施例中,通过确定各个重复历史要素的类型是否相同,若不相同,则需要在每个类型的重复历史要素中均获取一个重复历史要素和非重复历史要素一起作为相关历史要素,保障了获取到的相关历史要素的精简度。In this embodiment, by determining whether the types of each repeated historical element are the same, if they are not the same, it is necessary to obtain a repeated historical element and a non-repetitive historical element together as the related historical element in each type of repeated historical element to ensure that The degree of conciseness of the relevant historical elements obtained.
此外,参照图3,本申请实施例还提出一种用户意图识别装置,所述用户意图识别装置包括:In addition, referring to FIG. 3, an embodiment of the present application also proposes a user intention recognition device, and the user intention recognition device includes:
第一获取模块,用于接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;The first obtaining module is configured to receive the target question input by the user, and input the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
第二获取模块,用于获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;The second acquisition module is configured to acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
预测模块,用于依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;The prediction module is used to sequentially combine each of the relevant historical elements and the target question to obtain multiple target data, and predict each of the target data in turn through the element recognition model to determine each of the target data Whether the target data meets the preset requirements;
确定模块,用于将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The determining module is configured to use the relevant historical elements in the target data that meets the preset requirements as the target question elements corresponding to the target question, and determine the user's intention based on the target question elements.
进一步地,所述预测模块还用于:Further, the prediction module is also used for:
依次遍历各所述目标数据,通过所述要素识别模型对当前遍历的目标数据进行训练,以确定所述目标问题是否包含当前遍历的所述目标数据中的相关历史要素;Traverse each of the target data in turn, and train the currently traversed target data through the element recognition model to determine whether the target question includes relevant historical elements in the currently traversed target data;
若包含,则确定当前遍历的所述目标数据符合预设要求,并将当前遍历的所述目标数据中的相关历史要素作为所述目标问题对应的目标问题要素,直至各所述目标数据遍历完成。If it does, it is determined that the target data currently traversed meets the preset requirements, and the relevant historical elements in the target data currently traversed are used as target problem elements corresponding to the target question, until each target data traversal is completed .
进一步地,所述第一获取模块还用于:Further, the first obtaining module is also used for:
获取语言表征模型bert模型和输入的多个训练问题,并通过所述bert模型对依次对各所述训练问题进行分类训练;Acquiring a language representation model bert model and a plurality of input training questions, and sequentially classifying and training each of the training questions through the bert model;
将经过各分类训练完成的bert模型作为训练模型,并基于所述训练模型确定要素识别模型。The bert model completed after each classification training is used as the training model, and the element recognition model is determined based on the training model.
进一步地,所述第一获取模块还用于:Further, the first obtaining module is also used for:
依次遍历各所述训练问题,确定当前遍历的训练问题中的多个标注要素,并获取与当前遍历的训练问题相关联的多个负样本数据;Traverse each of the training questions in turn, determine multiple label elements in the training question currently traversed, and obtain multiple negative sample data associated with the training question currently traversed;
基于各所述负样本数据和各所述标注要素,并通过bert模型对当前遍历的所述训练问题进行分类训练,直至各所述训练问题遍历完成。Based on each of the negative sample data and each of the annotation elements, the training questions currently traversed are classified and trained through a bert model until the traversal of each training problem is completed.
进一步地,所述第一获取模块还用于:Further, the first obtaining module is also used for:
通过知识蒸馏对所述训练模型进行压缩,以获取压缩模型,并将所述压缩模型进行发布,以获取要素识别模型。The training model is compressed through knowledge distillation to obtain a compressed model, and the compressed model is published to obtain an element recognition model.
进一步地,所述第二获取模块还用于:Further, the second acquisition module is also used for:
获取各所述历史问题对应的历史要素,对各所述历史要素进行查重处理,确定各所述历史要素中是否存在重复历史要素;Obtain the historical elements corresponding to each of the historical questions, perform duplicate checking processing on each of the historical elements, and determine whether there are duplicate historical elements in each of the historical elements;
若不存在,则将各所述历史要素作为相关历史要素。If it does not exist, use each of the historical elements as related historical elements.
进一步地,所述第二获取模块还用于:Further, the second acquisition module is also used for:
若存在,则确定各所述重复历史要素的类型是否相同;If it exists, determine whether the types of the repeated historical elements are the same;
若不相同,则在同一类型的各所述重复历史要素中筛选一个重复历史要素作为需求历史要素,并将各所述历史要素中的非重复历史要素和所述需求历史要素作为相关历史要素,其中,各所述历史要素包括非重复历史要素和重复历史要素。If they are not the same, select one of the repeated historical elements of the same type as the demand historical element, and use the non-repetitive historical elements and the demand historical elements in each of the historical elements as related historical elements, Wherein, each of the historical elements includes non-repetitive historical elements and repeated historical elements.
其中,用户意图识别装置的各个功能模块实现的步骤可参照本申请用户意图识别方法的各个实施例,此处不再赘述。Among them, the steps implemented by each functional module of the user intention recognition device can refer to the various embodiments of the user intention recognition method of the present application, which will not be repeated here.
本申请还提供一种用户意图识别设备,所述用户意图识别设备包括:存储器、处理器及存储在所述存储器上的用户意图识别程序;所述处理器用于执行所述用户意图识别程序,以实现如下步骤:The present application also provides a user intention recognition device. The user intention recognition device includes: a memory, a processor, and a user intention recognition program stored on the memory; the processor is used to execute the user intention recognition program to To achieve the following steps:
接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质可以是易失性的,也可以是非易失性的,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现如下步骤:The present application also provides a computer-readable storage medium, the computer-readable storage medium may be volatile or non-volatile, and the computer-readable storage medium stores one or more programs, The one or more programs may also be executed by one or more processors to implement the following steps:
接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
本申请计算机可读存储介质具体实施方式与上述要素识别方法各实施例基本相同,在此不再赘述。The specific implementation of the computer-readable storage medium of the present application is basically the same as the embodiments of the element identification method described above, and will not be repeated here.
在另一实施例中,本申请所提供的用户意图识别方法,为进一步保证上述所有出现的数据的私密和安全性,上述所有数据还可以存储于一区块链的节点中。例如目标数据及历史问题等等,这些数据均可存储在区块链节点中。In another embodiment, the user intention recognition method provided by the present application further ensures the privacy and security of all the above-mentioned data, all the above-mentioned data can also be stored in a node of a blockchain. For example, target data and historical issues, etc., these data can be stored in the blockchain node.
需要说明的是,本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。It should be noted that the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or system. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种用户意图识别方法,其中,所述用户意图识别方法包括以下步骤:A method for identifying user intentions, wherein the method for identifying user intentions includes the following steps:
    接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
    获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
    依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
    将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
  2. 如权利要求1所述的用户意图识别方法,其中,所述通过所述要素识别模型对各所述目标数据依次进行预测的步骤,包括:5. The user intention recognition method of claim 1, wherein the step of sequentially predicting each of the target data through the element recognition model comprises:
    依次遍历各所述目标数据,通过所述要素识别模型对当前遍历的目标数据进行训练,以确定所述目标问题是否包含当前遍历的所述目标数据中的相关历史要素;Traverse each of the target data in turn, and train the currently traversed target data through the element recognition model to determine whether the target question includes relevant historical elements in the currently traversed target data;
    若包含,则确定当前遍历的所述目标数据符合预设要求,并将当前遍历的所述目标数据中的相关历史要素作为所述目标问题对应的目标问题要素,直至各所述目标数据遍历完成。If it does, it is determined that the target data currently traversed meets the preset requirements, and the relevant historical elements in the target data currently traversed are used as target problem elements corresponding to the target question, until each target data traversal is completed .
  3. 如权利要求1所述的用户意图识别方法,其中,所述接收用户输入的目标问题,并将所述目标问题输入至要素识别模型的步骤之前,包括:5. The user intention recognition method according to claim 1, wherein before the step of receiving the target question input by the user and inputting the target question into the element recognition model, the method comprises:
    获取语言表征模型bert模型和输入的多个训练问题,并通过所述bert模型对依次对各所述训练问题进行分类训练;Acquiring a language representation model bert model and a plurality of input training questions, and sequentially classifying and training each of the training questions through the bert model;
    将经过各分类训练完成的bert模型作为训练模型,并基于所述训练模型确定要素识别模型。The bert model completed after each classification training is used as the training model, and the element recognition model is determined based on the training model.
  4. 如权利要求3所述的用户意图识别方法,其中,所述通过所述bert模型对依次对各所述训练问题进行分类训练的步骤,包括:8. The user intention recognition method of claim 3, wherein the step of sequentially classifying and training each of the training questions through the bert model comprises:
    依次遍历各所述训练问题,确定当前遍历的训练问题中的多个标注要素,并获取与当前遍历的训练问题相关联的多个负样本数据;Traverse each of the training questions in turn, determine multiple label elements in the training question currently traversed, and obtain multiple negative sample data associated with the training question currently traversed;
    基于各所述负样本数据和各所述标注要素,并通过bert模型对当前遍历的所述训练问题进行分类训练,直至各所述训练问题遍历完成。Based on each of the negative sample data and each of the annotation elements, the training questions currently traversed are classified and trained through a bert model until the traversal of each training problem is completed.
  5. 如权利要求3所述的用户意图识别方法,其中,所述基于所述训练模型确定要素识别模型的步骤,包括:8. The user intention recognition method of claim 3, wherein the step of determining an element recognition model based on the training model comprises:
    通过知识蒸馏对所述训练模型进行压缩,以获取压缩模型,并将所述压缩模型进行发布,以获取要素识别模型。The training model is compressed through knowledge distillation to obtain a compressed model, and the compressed model is published to obtain an element recognition model.
  6. 如权利要求1-5任一项所述的用户意图识别方法,其中,所述获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素的步骤,包括:5. The user intention recognition method according to any one of claims 1 to 5, wherein said obtaining historical elements corresponding to each of said historical questions, and performing duplicate checking processing on each of said historical elements, to obtain a plurality of related histories The elements of the steps include:
    获取各所述历史问题对应的历史要素,对各所述历史要素进行查重处理,确定各所述历史要素中是否存在重复历史要素;Obtain the historical elements corresponding to each of the historical questions, perform duplicate checking processing on each of the historical elements, and determine whether there are duplicate historical elements in each of the historical elements;
    若不存在,则将各所述历史要素作为相关历史要素。If it does not exist, use each of the historical elements as related historical elements.
  7. 如权利要求6所述的用户意图识别方法,其中,所述确定各所述历史要素中是否存在重复历史要素的步骤之后,包括:7. The user intention recognition method according to claim 6, wherein after the step of determining whether there are repeated historical elements in each of the historical elements, the method comprises:
    若存在,则确定各所述重复历史要素的类型是否相同;If it exists, determine whether the types of the repeated historical elements are the same;
    若不相同,则在同一类型的各所述重复历史要素中筛选一个重复历史要素作为需求历史要素,并将各所述历史要素中的非重复历史要素和所述需求历史要素作为相关历史要素,其中,各所述历史要素包括非重复历史要素和重复历史要素。If they are not the same, select one of the repeated historical elements of the same type as the demand historical element, and use the non-repetitive historical elements and the demand historical elements in each of the historical elements as related historical elements, Wherein, each of the historical elements includes non-repetitive historical elements and repeated historical elements.
  8. 一种用户意图识别装置,其中,所述用户意图识别装置包括:A user intention recognition device, wherein the user intention recognition device includes:
    第一获取模块,用于接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;The first obtaining module is configured to receive the target question input by the user, and input the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
    第二获取模块,用于获取各所述历史问题对应的多个历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;The second acquisition module is configured to acquire multiple historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
    预测模块,用于依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;The prediction module is used to sequentially combine each of the relevant historical elements and the target question to obtain multiple target data, and predict each of the target data in turn through the element recognition model to determine each of the target data Whether the target data meets the preset requirements;
    确定模块,用于将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The determining module is configured to use the relevant historical elements in the target data that meets the preset requirements as the target question elements corresponding to the target question, and determine the user's intention based on the target question elements.
  9. 一种用户意图识别设备,其中,所述用户意图识别设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的用户意图识别程序,所述用户意图识别程序被所述处理器执行时实现如下步骤:A user intention recognition device, wherein the user intention recognition device includes a memory, a processor, and a user intention recognition program stored on the memory and running on the processor, and the user intention recognition program is When the processor executes, the following steps are implemented:
    接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
    获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
    依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
    将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
  10. 如权利要求9所述的用户意图识别设备,其中,所述通过所述要素识别模型对各所述目标数据依次进行预测的步骤,包括:9. The user intention recognition device according to claim 9, wherein the step of sequentially predicting each of the target data through the element recognition model comprises:
    依次遍历各所述目标数据,通过所述要素识别模型对当前遍历的目标数据进行训练,以确定所述目标问题是否包含当前遍历的所述目标数据中的相关历史要素;Traverse each of the target data in turn, and train the currently traversed target data through the element recognition model to determine whether the target question includes relevant historical elements in the currently traversed target data;
    若包含,则确定当前遍历的所述目标数据符合预设要求,并将当前遍历的所述目标数据中的相关历史要素作为所述目标问题对应的目标问题要素,直至各所述目标数据遍历完成。If it does, it is determined that the target data currently traversed meets the preset requirements, and the relevant historical elements in the target data currently traversed are used as target problem elements corresponding to the target question, until each target data traversal is completed .
  11. 如权利要求9所述的用户意图识别设备,其中,所述接收用户输入的目标问题,并将所述目标问题输入至要素识别模型的步骤之前,包括:9. The user intention recognition device according to claim 9, wherein before the step of receiving the target question input by the user and inputting the target question into the element recognition model, the method comprises:
    获取语言表征模型bert模型和输入的多个训练问题,并通过所述bert模型对依次对各所述训练问题进行分类训练;Acquiring a language representation model bert model and a plurality of input training questions, and sequentially classifying and training each of the training questions through the bert model;
    将经过各分类训练完成的bert模型作为训练模型,并基于所述训练模型确定要素识别模型。The bert model completed after each classification training is used as the training model, and the element recognition model is determined based on the training model.
  12. 如权利要求11所述的用户意图识别设备,其中,所述通过所述bert模型对依次对各所述训练问题进行分类训练的步骤,包括:The user intention recognition device according to claim 11, wherein the step of sequentially classifying and training each of the training questions through the bert model comprises:
    依次遍历各所述训练问题,确定当前遍历的训练问题中的多个标注要素,并获取与当前遍历的训练问题相关联的多个负样本数据;Traverse each of the training questions in turn, determine multiple label elements in the training question currently traversed, and obtain multiple negative sample data associated with the training question currently traversed;
    基于各所述负样本数据和各所述标注要素,并通过bert模型对当前遍历的所述训练问题进行分类训练,直至各所述训练问题遍历完成。Based on each of the negative sample data and each of the annotation elements, the training questions currently traversed are classified and trained through a bert model until the traversal of each training problem is completed.
  13. 如权利要求11所述的用户意图识别设备,其中,所述基于所述训练模型确定要素识别模型的步骤,包括:The user intention recognition device according to claim 11, wherein the step of determining an element recognition model based on the training model comprises:
    通过知识蒸馏对所述训练模型进行压缩,以获取压缩模型,并将所述压缩模型进行发布,以获取要素识别模型。The training model is compressed through knowledge distillation to obtain a compressed model, and the compressed model is published to obtain an element recognition model.
  14. 如权利要求9-13任一项所述的用户意图识别设备,其中,所述获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素的步骤,包括:The user intention recognition device according to any one of claims 9-13, wherein said obtaining historical elements corresponding to each of said historical questions, and performing duplicate checking processing on each of said historical elements, to obtain a plurality of related histories The elements of the steps include:
    获取各所述历史问题对应的历史要素,对各所述历史要素进行查重处理,确定各所述历史要素中是否存在重复历史要素;Obtain the historical elements corresponding to each of the historical questions, perform duplicate checking processing on each of the historical elements, and determine whether there are duplicate historical elements in each of the historical elements;
    若不存在,则将各所述历史要素作为相关历史要素。If it does not exist, use each of the historical elements as related historical elements.
  15. 如权利要求14所述的用户意图识别设备,其中,所述确定各所述历史要素中是否存在重复历史要素的步骤之后,所述用户意图识别程序被所述处理器执行时还实现如下步骤:The user intention recognition device according to claim 14, wherein after the step of determining whether there are repeated historical elements in each of the historical elements, the user intention recognition program is executed by the processor further implementing the following steps:
    若存在,则确定各所述重复历史要素的类型是否相同;If it exists, determine whether the types of the repeated historical elements are the same;
    若不相同,则在同一类型的各所述重复历史要素中筛选一个重复历史要素作为需求历史要素,并将各所述历史要素中的非重复历史要素和所述需求历史要素作为相关历史要素,其中,各所述历史要素包括非重复历史要素和重复历史要素。If they are not the same, select one of the repeated historical elements of the same type as the demand historical element, and use the non-repetitive historical elements and the demand historical elements in each of the historical elements as related historical elements, Wherein, each of the historical elements includes non-repetitive historical elements and repeated historical elements.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有用户意图识别程序,所述用户意图识别程序被处理器执行时实现如下步骤:A computer-readable storage medium, wherein a user intention recognition program is stored on the computer-readable storage medium, and the following steps are implemented when the user intention recognition program is executed by a processor:
    接收用户输入的目标问题,并将所述目标问题输入至要素识别模型,以获取与所述目标问题关联的多个历史问题;Receiving a target question input by a user, and inputting the target question into the element recognition model to obtain a plurality of historical questions associated with the target question;
    获取各所述历史问题对应的历史要素,并对各所述历史要素进行查重处理,以获取多个相关历史要素;Acquire historical elements corresponding to each of the historical questions, and perform duplicate checking processing on each of the historical elements to obtain multiple related historical elements;
    依次将各所述相关历史要素和所述目标问题进行组合,以获取多个目标数据,并通过所述要素识别模型对各所述目标数据依次进行预测,以确定各所述目标数据是否符合预设要求;Each of the relevant historical elements and the target question are sequentially combined to obtain multiple target data, and each target data is sequentially predicted through the element recognition model to determine whether each target data meets the forecast Set requirements
    将符合预设要求的目标数据中的相关历史要素作为与所述目标问题对应的目标问题要素,并基于所述目标问题要素确定所述用户的意图。The relevant historical elements in the target data that meet the preset requirements are used as target question elements corresponding to the target question, and the user's intention is determined based on the target question elements.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述通过所述要素识别模型对各所述目标数据依次进行预测的步骤,包括:16. The computer-readable storage medium of claim 16, wherein the step of sequentially predicting each of the target data through the element recognition model comprises:
    依次遍历各所述目标数据,通过所述要素识别模型对当前遍历的目标数据进行训练,以确定所述目标问题是否包含当前遍历的所述目标数据中的相关历史要素;Traverse each of the target data in turn, and train the currently traversed target data through the element recognition model to determine whether the target question includes relevant historical elements in the currently traversed target data;
    若包含,则确定当前遍历的所述目标数据符合预设要求,并将当前遍历的所述目标数据中的相关历史要素作为所述目标问题对应的目标问题要素,直至各所述目标数据遍历完成。If it does, it is determined that the target data currently traversed meets the preset requirements, and the relevant historical elements in the target data currently traversed are used as target problem elements corresponding to the target question, until each target data traversal is completed .
  18. 如权利要求16所述的计算机可读存储介质,其中,所述接收用户输入的目标问题,并将所述目标问题输入至要素识别模型的步骤之前,包括:16. The computer-readable storage medium according to claim 16, wherein before the step of receiving the target question input by the user and inputting the target question into the element recognition model, comprises:
    获取语言表征模型bert模型和输入的多个训练问题,并通过所述bert模型对依次对各所述训练问题进行分类训练;Acquiring a language representation model bert model and a plurality of input training questions, and sequentially classifying and training each of the training questions through the bert model;
    将经过各分类训练完成的bert模型作为训练模型,并基于所述训练模型确定要素识别模型。The bert model completed after each classification training is used as the training model, and the element recognition model is determined based on the training model.
  19. 如权利要求18所述的计算机可读存储介质,其中,所述通过所述bert模型对依次对各所述训练问题进行分类训练的步骤,包括:18. The computer-readable storage medium of claim 18, wherein the step of sequentially classifying and training each of the training questions through the bert model comprises:
    依次遍历各所述训练问题,确定当前遍历的训练问题中的多个标注要素,并获取与当前遍历的训练问题相关联的多个负样本数据;Traverse each of the training questions in turn, determine multiple label elements in the training question currently traversed, and obtain multiple negative sample data associated with the training question currently traversed;
    基于各所述负样本数据和各所述标注要素,并通过bert模型对当前遍历的所述训练问题进行分类训练,直至各所述训练问题遍历完成。Based on each of the negative sample data and each of the annotation elements, the training questions currently traversed are classified and trained through a bert model until the traversal of each training problem is completed.
  20. 如权利要求18所述的计算机可读存储介质,其中,所述基于所述训练模型确定要素识别模型的步骤,包括:18. The computer-readable storage medium of claim 18, wherein the step of determining an element recognition model based on the training model comprises:
    通过知识蒸馏对所述训练模型进行压缩,以获取压缩模型,并将所述压缩模型进行发布,以获取要素识别模型。The training model is compressed through knowledge distillation to obtain a compressed model, and the compressed model is published to obtain an element recognition model.
PCT/CN2020/122059 2020-02-21 2020-10-20 User intention recognition method, apparatus and device, and computer-readable storage medium WO2021164286A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010110441.2 2020-02-21
CN202010110441.2A CN111368045B (en) 2020-02-21 2020-02-21 User intention recognition method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2021164286A1 true WO2021164286A1 (en) 2021-08-26

Family

ID=71208318

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122059 WO2021164286A1 (en) 2020-02-21 2020-10-20 User intention recognition method, apparatus and device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN111368045B (en)
WO (1) WO2021164286A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473070A (en) * 2023-12-27 2024-01-30 深圳星网信通科技股份有限公司 Multi-channel application method of intelligent robot, intelligent robot and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111368045B (en) * 2020-02-21 2024-05-07 平安科技(深圳)有限公司 User intention recognition method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522556A (en) * 2018-11-16 2019-03-26 北京九狐时代智能科技有限公司 A kind of intension recognizing method and device
EP3502928A1 (en) * 2017-12-22 2019-06-26 Sap Se Intelligent natural language query processor
CN110390108A (en) * 2019-07-29 2019-10-29 中国工商银行股份有限公司 Task exchange method and system based on deeply study
CN110399609A (en) * 2019-06-25 2019-11-01 众安信息技术服务有限公司 Intension recognizing method, device, equipment and computer readable storage medium
CN111368045A (en) * 2020-02-21 2020-07-03 平安科技(深圳)有限公司 User intention identification method, device, equipment and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599278B (en) * 2016-12-23 2020-06-12 北京奇虎科技有限公司 Application search intention identification method and device
CN108446286B (en) * 2017-02-16 2023-04-25 阿里巴巴集团控股有限公司 Method, device and server for generating natural language question answers
CN107862005A (en) * 2017-10-25 2018-03-30 阿里巴巴集团控股有限公司 User view recognition methods and device
CN107977415B (en) * 2017-11-22 2019-02-05 北京寻领科技有限公司 Automatic question-answering method and device
CN110377911B (en) * 2019-07-23 2023-07-21 中国工商银行股份有限公司 Method and device for identifying intention under dialog framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3502928A1 (en) * 2017-12-22 2019-06-26 Sap Se Intelligent natural language query processor
CN109522556A (en) * 2018-11-16 2019-03-26 北京九狐时代智能科技有限公司 A kind of intension recognizing method and device
CN110399609A (en) * 2019-06-25 2019-11-01 众安信息技术服务有限公司 Intension recognizing method, device, equipment and computer readable storage medium
CN110390108A (en) * 2019-07-29 2019-10-29 中国工商银行股份有限公司 Task exchange method and system based on deeply study
CN111368045A (en) * 2020-02-21 2020-07-03 平安科技(深圳)有限公司 User intention identification method, device, equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473070A (en) * 2023-12-27 2024-01-30 深圳星网信通科技股份有限公司 Multi-channel application method of intelligent robot, intelligent robot and storage medium
CN117473070B (en) * 2023-12-27 2024-04-02 深圳星网信通科技股份有限公司 Multi-channel application method of intelligent robot, intelligent robot and storage medium

Also Published As

Publication number Publication date
CN111368045A (en) 2020-07-03
CN111368045B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
CN108897867B (en) Data processing method, device, server and medium for knowledge question answering
CN109597993B (en) Statement analysis processing method, device, equipment and computer readable storage medium
CN110147726B (en) Service quality inspection method and device, storage medium and electronic device
US10922355B2 (en) Method and apparatus for recommending news
JP6894534B2 (en) Information processing method and terminal, computer storage medium
US11507677B2 (en) Image classification modeling while maintaining data privacy compliance
CN109684047A (en) Event-handling method, device, equipment and computer storage medium
US11741094B2 (en) Method and system for identifying core product terms
WO2021164286A1 (en) User intention recognition method, apparatus and device, and computer-readable storage medium
WO2021174812A1 (en) Data cleaning method and apparatus for profile, and medium and electronic device
CN110209700B (en) Data stream association method and device, electronic equipment and storage medium
WO2019223056A1 (en) Gesture recognition-based teaching and learning method and apparatus
US11483408B2 (en) Feature-based network embedding
WO2022100452A1 (en) Ocr system evaluation method, apparatus and device, and readable storage medium
WO2022100376A1 (en) Text paragraph structure restoration method and apparatus, and device and computer storage medium
CN113360521A (en) Log query method, device, equipment and storage medium
WO2021051872A1 (en) Entity identification method, device, apparatus, and computer readable storage medium
CN115438740A (en) Multi-source data convergence and fusion method and system
CN110209589B (en) Knowledge base system test method, device, equipment and medium
WO2019214019A1 (en) Online teaching method and apparatus based on convolutional neural network
CN112364145A (en) Work order processing method and device, electronic equipment and storage medium
WO2020252880A1 (en) Reverse turing verification method and apparatus, storage medium, and electronic device
US20230351172A1 (en) Supervised machine learning method for matching unsupervised data
US11500764B2 (en) Human interactions with artificial intelligence (AI)-based testing tool
CN111382383A (en) Method, device, medium and computer equipment for determining sensitive type of webpage content

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20919866

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20919866

Country of ref document: EP

Kind code of ref document: A1