Artificial intelligence model updating method, apparatus, electronic device and storage medium
By enabling natural user interactions to generate update rules for AI models, the method reduces costs and improves model performance by directly updating neuron states and connections, addressing the inefficiencies of traditional training methods.
Patent Information
- Application Number
- JP2023002287
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-06-24
- Filing Date
- 2023-01-11
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2043-01-11
AI Technical Summary
Existing artificial intelligence models require extensive training sample collection and marking, leading to high human and time costs, which hinders efficient model updates and performance improvements.
A method that allows natural interaction with users to determine update rules for AI models based on user interactions, eliminating the need for training sample collection and marking, and directly updating model neuron states and connections using these rules.
This approach reduces costs and improves model performance by allowing quick adaptation to changes and needs, enhancing accuracy and efficiency in model updates.
Smart Images

Figure 0007551970000002 
Figure 0007551970000001 
Figure 0007551970000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to an artificial intelligence model updating method, apparatus, electronic device, and storage medium in fields such as deep learning and natural language processing. [Background technology]
[0002] With the development of technology, the deep learning models obtained by training are being used in various situations, such as classifying images using an image classification model, recognizing emotions in text sentences using an emotion recognition model, etc. To improve the performance of a model, we can update the model, such as optimizing the existing model. Summary of the Invention [Problem to be solved by the invention]
[0003] The present disclosure provides an artificial intelligence model updating method, device, electronic device, and storage medium. [Means for solving the problem]
[0004] An artificial intelligence model updating method is provided, which includes: a dialogue system having a natural interaction with a user, acquiring interaction content including M (M is a positive integer greater than 1) dialogue contents performed for any one training sample; in response to the dialogue system determining that the dialogue with the user for the training sample has ended, determining an update rule for a model to be processed based on the interaction content; and updating the model to be processed using the update rule.
[0005] An artificial intelligence model updating device is provided which is applied to a dialogue system and includes an interaction module and a first update module, in which the interaction module performs natural interaction with a user to obtain interaction content including M (M is a positive integer greater than 1) dialogue contents performed for any one training sample, and in response to determining that the dialogue with the user for the training sample has ended, the first update module determines an update rule for a model to be processed based on the interaction content, and updates the model to be processed using the update rule.
[0006] An electronic device is provided comprising at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the commands, when executed by the at least one processor, causing the at least one processor to perform the method.
[0007] A non-transitory computer readable storage medium is provided having computer instructions stored thereon for causing a computer to perform the method.
[0008] A computer program product is provided that contains computer programs / commands which, when executed by a processor, implement the method.
[0009] It should be understood that the contents described in this section are not intended to identify key or essential features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood from the following specification. [Brief description of the drawings]
[0010] The drawings are for better understanding of the present technical solution and are not intended to limit the present application. [Figure 1] 1 is a flow chart of an embodiment of an artificial intelligence model updating method described in the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of an embodiment of the dialogue system described in the present disclosure and the case where the model to be processed is two independent models. [Diagram 3] FIG. 1 is a schematic diagram of an embodiment in which the dialogue system described in the present disclosure and the model to be processed are integrated into the same model. [Figure 4] FIG. 4 is a schematic diagram of the configuration of a first embodiment 400 of an artificial intelligence model updating device described in the present disclosure. [Diagram 5] FIG. 5 is a schematic diagram of the configuration of a second embodiment 500 of an artificial intelligence model updating apparatus described in the present disclosure. [Figure 6] FIG. 6 is a schematic block diagram of an electronic device 600 in which embodiments of the present disclosure can be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, exemplary embodiments of the present application will be described based on the drawings. For ease of understanding, various details of the embodiments of the present application are included, and they should be regarded as merely examples. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of simplicity, the following description omits the description of well-known functions and structures.
[0012] Furthermore, the term "and / or" in this specification is simply a relational relationship describing related objects, and means that three relations may exist. For example, A and / or B can mean three situations: A exists alone, A and B exist simultaneously, and B exists alone. Also, the character " / " in this specification generally means that the related objects before and after it are in an "or" relationship.
[0013] 1 is a flowchart of an embodiment of the artificial intelligence model updating method described in this disclosure. As shown in FIG. 1, the following specific implementation manners are included:
[0014] In step 101, the dialogue system performs natural interactions with a user to obtain interaction contents including M dialogue contents performed for any one training sample, where M is a positive integer greater than 1.
[0015] In step 102, in response to determining that the dialogue with the user for the training sample has ended, the dialogue system determines an update rule for the model to be processed based on the interaction content, and updates the model to be processed using the update rule.
[0016] In conventional methods, when a model needs to be updated, the model is generally updated based on collected training samples. However, according to the technical solution described in the embodiment of the above-mentioned method, natural interaction with the user is possible, and an update rule for the model to be processed can be determined based on the content of the interaction, and the model to be processed can be updated based on the update rule. In other words, the user can achieve the purpose of updating the model through natural interaction alone, and there is no need to collect or label training samples, thereby reducing human and time costs and improving processing efficiency. Furthermore, updating the model can improve the performance of the model.
[0017] The technical solutions described in the above-mentioned method embodiments can be applied to various scenarios such as image classification and emotion recognition. For example, for an image classification model in the scenario of image classification, the image classification model can be updated according to the technical solutions described in the above-mentioned method embodiments, and the updated image classification model can be used to perform image classification, so that the accuracy of the classification result is improved. For an emotion recognition model in the scenario of emotion recognition, the emotion recognition model can be updated according to the technical solutions described in the above-mentioned method embodiments, and the updated emotion recognition model can be used to perform emotion recognition, so that the accuracy of the recognition result is improved.
[0018] In practical applications, the dialogue system can naturally interact with a user, such as an expert, to obtain the interaction content, and determine the model update rules to be processed based on the interaction content.
[0019] The interaction content may include M interaction contents performed on any one of the training samples, where M is a positive integer greater than 1. Accordingly, the update rule may be generated in response to determining that the interaction with the user on the training sample has ended.
[0020] The interaction contents can be exemplified as follows:
[0021] 1) Image classification scene Assuming that the image classification model performs poorly on a set of new data, the user can naturally interact with the dialogue system as follows. User: "Hello, your effect is not good in this picture." At the same time attach the corresponding picture like picture a. Dialogue system: "Looking at this picture, my classification is a Pothos because the leaf and stem shapes all match those of a Pothos." User: "This picture is actually a golden vine because it has gold stripes." Dialogue system: "I've never come across a type of goldenrod before, is it a type of pothos?" User: "No, it doesn't belong to the pothos." Dialogue system: "I have documented a new type of goldenrod, its characteristics and its golden stripes. I will never make the same mistake again." User: "Here's the next picture..." As can be seen from the above, the user has multiple interactions with the dialogue system regarding the training sample picture a, and when it is determined that the dialogue with the user regarding picture a has ended, an update rule can be generated based on the content of the multiple interactions. Here, according to the user's expression "Next is this picture...", it can be determined that the interaction with the user for picture a has ended.
[0022] 2) Emotion recognition scenarios In this scenario, the user can naturally interact with the dialogue system as follows: User: "Why would you classify the emotion as 'neutral' for the statement 'Everyone who's been to this restaurant knows it, and as soon as they see it they spit out their overnight rice'?" Dialogue system: "I think the phrase 'Everyone who's been there knows' is 60% positive, but the part at the end, 'They'll spit out the rice they ate the night before', seems negative, so I've classified it as neutral." User: "No, that's not true. 'Spit out the rice you ate the night before' is clearly a negative thing. The previous part, 'Everyone who's been there knows', isn't clear whether it's positive or negative on its own, but when combined with the following words it becomes a clear criticism." Dialogue Systems: "Does the true meaning of 'I know everyone who's been there' depend on the context?" User: "That's true." Dialogue system: "I remembered. I fixed it." As can be seen from the above, the user has multiple interactions with the dialogue system regarding the training sample, "Everyone who has been to this restaurant knows it. When they see it, they immediately spit out the overnight meal," and when it is determined that the dialogue with the user regarding the training sample has ended, an update rule can be generated based on the content of the multiple interactions. By combining the contents of multiple conversations, the meaning of what the user said can be better understood, and the accuracy of the generated update rules can be improved.
[0023] Furthermore, the obtained update rule can be used to update the model to be processed. In one embodiment of the present disclosure, updating the model to be processed can mean updating the neuron state and / or neuron connection of the model to be processed. That is, the update rule can be used to directly and permanently change the neuron state and / or connection of the model to be processed, thereby achieving the effect of model update, which can be realized simply and conveniently.
[0024] In an embodiment of the present disclosure, each interaction may include a user input and a response generated for the user input, where the response may include a response generated based on the obtained neuron states and neuron connectivity information of the model to be processed.
[0025] For example, the following is the content of one conversation: User: "Hello, your effect is not good in this picture." At the same time attach the corresponding picture like picture a. Dialogue system: "Looking at this picture, my classification is a Pothos because the leaf and stem shapes all match those of a Pothos." Here, the content corresponding to the “user” is the user input content, and the content corresponding to the “dialogue system” is the response generated to the user input content. For example, in combination with the acquired neuron state and neuron connection information of the model to be processed, it is possible to determine that the classification result of the picture is pothos, and generate the response accordingly.
[0026] In other words, it is possible to perform state reading on the model to be processed to obtain its neuron state and neuron connection information, and then accurately generate a response based on the user input based on this information, thereby improving the quality of the dialogue, etc.
[0027] In practical applications, a dialogue system can include an encoder and a decoder, and the encoder can process the acquired interaction content to obtain the necessary update rules, and the decoder can generate responses to user inputs.
[0028] The specific form of the update rule is not limited. For example, the above example of "Citrus umbellata" is used as the label of picture a, and the corresponding objective function, learning rate, etc. are simultaneously generated, and these information are used as the update rule, and the neuron state and / or neuron connection of the model to be processed can be updated using the gradient back method by this update rule. As another example, the update method of the neuron state and / or neuron connection is directly generated and stored in memory so as to be read by the model to be processed, and the neuron state and / or neuron connection are updated accordingly.
[0029] In practical applications, the update rule can be used to update only the neuron states of the model to be processed, or to update only the neuron connections of the model to be processed, or to simultaneously update the neuron states and neuron connections of the model to be processed according to practical needs.
[0030] In one embodiment of the present disclosure, the dialogue system can obtain a prediction result of a model to be processed and update according to the prediction result, where the prediction result is a prediction result of the training sample generated by the model to be processed updated using an update rule.
[0031] As described above, the interaction content can include M conversation contents performed for any one training sample. Therefore, after updating the model to be processed using the update rule, the training sample is further processed using the updated model to be processed, and image classification is performed on the picture a, for example, to obtain a prediction result, i.e., an image classification result of the picture a. In response, the dialogue system obtains the prediction result, and based on the prediction result, updates the dialogue system based on a method such as reinforcement learning, for example, updating the encoder and decoder.
[0032] Still taking picture a as an example, after updating the model to be processed using the update rule, the model's performance is theoretically improved, so when re-predicting picture a using the model to be processed, the obtained prediction result may be different from the previous one. For example, if the previous prediction result is pothos, the re-prediction result may be pothos or may be gold vine. If the re-prediction result is still pothos, it indicates that the generated update rule may not be accurate, and the dialogue system can be updated accordingly to improve the accuracy of the subsequently generated update rule.
[0033] In other words, the above processing makes it possible to update the dialogue system, i.e., to improve the performance of the dialogue system, and further improve the accuracy of the update rules generated based on the dialogue system, thereby improving the model update effect, etc.
[0034] In one embodiment of the present disclosure, the dialogue system and the model to be processed can be two independent models, or can be integrated into the same model. The specific method to be adopted can be determined according to actual needs, which is very flexible and convenient.
[0035] FIG. 2 is a schematic diagram of the dialogue system described in the present disclosure and the implementation of the model to be processed when the model is two independent models. As shown in FIG. 2, the dialogue system may include an encoder and a decoder. The dialogue system receives information, i.e., obtains user input contents including natural language (e.g., characters entered by the user), pictures, voice, etc., and outputs information, i.e., generates a response to the user input contents to dialogue with the user. Here, a response can be generated based on the neuron state and neuron connection information of the model to be processed obtained by reading the state. In addition, the dialogue system can generate an update rule from multiple dialogue contents with the user, and update the neuron state and / or neuron connection of the model to be processed using the update rule. In addition, a training sample corresponding to the multiple dialogue contents can be input to the updated model to be processed to obtain a prediction result, and the dialogue system can be updated using the prediction result.
[0036] The model to be processed may be any model, such as a model to be optimized that has already been used, a model that has not been used but has been trained to some extent in advance, or an untrained model.
[0037] Figure 3 is a schematic diagram of an implementation scheme when the dialogue system described in this disclosure and the model to be processed are integrated into the same model. Compared with the scheme shown in Figure 2, the implementation principle is the same, but the information exchange between the dialogue system and the model to be processed is only implicit. Also, in order to simplify the drawing, the "training sample" and "prediction result" are not shown.
[0038] In addition, for the above-mentioned embodiment of the method, the example is expressed as a combination of a series of operations for the sake of simplicity of description, but as will be understood by those skilled in the art, some steps of the present application can be performed in other orders or simultaneously, so the present application is not limited to the order of operations described. Next, those skilled in the art should understand that any of the embodiments described in the specification are preferred embodiments, and related operations and modules are not necessarily required by the present application.
[0039] In short, according to the technical solution described in the embodiment of the method of the present disclosure, the user can achieve the purpose of updating the model only by natural interaction methods, and thus improve the performance of the model. Moreover, the updating method is simple and convenient, and can allow the model to quickly adapt to actual changes and needs, etc.
[0040] The above is a description of the method embodiment, and the technical solutions described in this disclosure will be further described below through the apparatus embodiment.
[0041] 4 is a block diagram of a first embodiment 400 of an artificial intelligence model updating device described in the present disclosure. The device can be applied to a dialogue system. As shown in FIG. 4, the device includes an interaction module 401 and a first updating module 402.
[0042] The interaction module 401 acquires M pieces of interaction content, including M conversation contents, performed for any one training sample by natural interaction with a user, where M is a positive integer greater than 1.
[0043] The first update module 402, in response to determining that the user interaction with the training sample has ended, determines an update rule for the model to be processed based on the interaction content, and updates the model to be processed using the update rule.
[0044] According to the technical solution described in the embodiment of the device described above, natural interaction with the user is possible, the update rules for the model to be processed can be determined based on the content of the interaction, and the model to be processed can be updated based on the update rules. In other words, the user can achieve the purpose of updating the model through natural interaction alone, and there is no need to collect or label training samples, thereby reducing human and time costs and improving processing efficiency. Furthermore, updating the model can improve the performance of the model.
[0045] The first update module 402 can use the obtained update rule to update the model to be processed. In one embodiment of the present disclosure, updating the model to be processed can mean updating the neuron state and / or neuron connection of the model to be processed. That is, the update rule can be used to directly and permanently change the neuron state and / or connection of the model to be processed to achieve the effect of model update.
[0046] In other words, the update rule may update only the neuron state of the model to be processed, may update only the neuron connection of the model to be processed, or may update both the neuron state and the neuron connection of the model to be processed at the same time, depending on the actual needs.
[0047] In an embodiment of the present disclosure, each interaction may include a user input and a response generated for the user input, where the response may include a response generated based on the obtained neuron states and neuron connectivity information of the model to be processed.
[0048] That is, a state read can be performed on the model to be processed to obtain its neuron states and neuron connection information, and a response can be generated based on the information in response to user input.
[0049] 5 is a schematic diagram of the configuration of a second embodiment 500 of an artificial intelligence model updating device described in the present disclosure. The device can be applied to a dialogue system. As shown in FIG. 5, the device includes an interaction module 401, a first updating module 402, and a second updating module 403.
[0050] Here, the interaction module 401 and the first update module 402 are the same as the embodiment shown in FIG. 4, and will not be described further.
[0051] The second update module 403 obtains the prediction result of the model to be processed, and updates the dialogue system according to the prediction result, where the prediction result is the prediction result of the training sample generated by the model to be processed updated using the update rule.
[0052] As mentioned above, the interaction content can include M dialogue contents performed for any one training sample. Therefore, after updating the model to be processed using the update rule, the training sample can be further processed using the updated model to be processed, for example, by performing image classification on the picture a, to obtain a prediction result, i.e., the image classification result of the picture a. Accordingly, the second update module 403 can obtain the prediction result, and update the dialogue system according to the prediction result according to a method such as reinforcement learning.
[0053] The specific workflow of the apparatus embodiment shown in FIG. 4 and FIG. 5 may refer to the relevant description in the aforementioned method embodiment, and will not be further described.
[0054] In short, according to the technical solution described in the embodiment of the device of the present disclosure, the user can achieve the purpose of updating the model only through natural interaction methods, so that the performance of the model can be improved. Moreover, the updating method is simple and convenient, so that the model can quickly adapt to actual changes and needs, etc.
[0055] The technical solutions described in this application can be applied to the field of artificial intelligence, especially to the fields of deep learning and natural language processing. Artificial intelligence is a discipline that studies how computers simulate human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, etc. Artificial intelligence software technologies mainly include computer vision technology, voice recognition technology, natural language processing technology, and several directions such as machine learning / deep learning, big data processing technology, knowledge map technology, etc.
[0056] In addition, the interaction content in the embodiment of the present disclosure is not targeted to a specific user and does not reflect the personal information of a specific user. In addition, the subject of the method of the present disclosure can obtain the interaction content in a manner that complies with various disclosure and laws and regulations, for example, from the user side with the user's permission.
[0057] In the technical solution disclosed herein, the acquisition, storage, application, processing, transmission, provision and distribution of personal information of users involved all comply with the provisions of relevant laws and regulations and are not contrary to public order and morals.
[0058] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.
[0059] 6 is a schematic block diagram of an electronic device 600 that may be used to implement embodiments of the present disclosure. The electronic device may represent various forms of digital computers, such as laptops, desktop computers, workbenches, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as PDAs, mobile phones, smartphones, wearable devices, and other similar computing devices. The components, their connections and relationships, and their functions shown herein are merely examples and are not intended to limit the implementation of the present disclosure as described and / or claimed herein.
[0060] 6, the device 600 includes a computing means 601 capable of performing various appropriate operations and processes according to a computer program stored in a read only memory (ROM) 602 or loaded from a storage means 608 into a random access memory (RAM) 603. The RAM 603 may store various programs and data necessary for the operation of the device 600. The computing means 601, the ROM 602, and the RAM 603 are connected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0061] Several components of device 600 are connected to I / O interface 605, including input means 606, e.g., a keyboard, a mouse, etc., output means 607, e.g., various types of displays, speakers, etc., storage means 608, e.g., magnetic disks, optical disks, etc., and communication means 609, e.g., a network card, a modem, a wireless communication transceiver, etc. The communication means 609 enables device 600 to exchange information / data with other devices via computer networks, e.g., the Internet, and / or various telecommunication networks.
[0062] The computing means 601 may be various general-purpose and / or dedicated processing components having processing and computing capabilities. Some examples of the computing means 601 include, but are not limited to, a central processing unit (CPU), a graphic processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that execute machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing means 601 executes various methods and processes described above, such as the methods described in the present disclosure. For example, in some embodiments, the methods described in the present disclosure may be implemented as a computer software program physically embodied in a machine-readable medium, such as the storage means 608. In some embodiments, some or all of the computer program may be loaded and / or installed in the device 600 via the ROM 602 and / or the communication means 609. When the computer program is loaded into the RAM 603 and executed by the computing means 601, one or more steps of the methods described in the present disclosure may be executed. Alternatively, in other embodiments, the computing means 601 may be configured in any other suitable manner (eg, via firmware) to perform the methods described herein.
[0063] Various embodiments of the systems and techniques described herein may be implemented in digital electronic circuitry systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), field programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include being embodied in one or more computer programs that may be executed and / or interpreted on a programmable system that includes at least one programmable processor. The programmable processor may be a special purpose or general purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and may transfer data and instructions to the storage system, the at least one input device, and the at least one output device.
[0064] Program codes for implementing the methods of the present disclosure can be written using any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing apparatus such that, when the program codes are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are performed. The program codes can be executed entirely on the machine, partially on the machine, as a stand-alone package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0065] In the context of this disclosure, a machine-readable medium is a tangible medium that can contain or store a program used by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more line-based electrical connections, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0066] To provide interaction with a user, the systems and techniques described herein may be implemented on a computer that includes a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user, and a keyboard and pointing device (e.g., a mouse or trackball) for providing input to the computer by the user. Other types of devices may also be used to provide interaction with a user. For example, feedback provided to the user may be any form of sensing feedback (e.g., visual feedback, auditory feedback, or haptic feedback), and input from the user may be received in any form (including sound input, speech input, or tactile input).
[0067] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a client computer having a graphical user interface or a web browser through which a user can interact with embodiments of the systems and techniques described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network ("LAN"), a wide area network ("WAN"), and an internetwork.
[0068] The computer system may include clients and servers. The clients and servers are generally remote from each other and typically interact through a communication network. The relationship of clients and servers arises by virtue of computer programs running on the corresponding computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server in combination with a blockchain.
[0069] It should be understood that steps can be rearranged, added, or removed using the various types of flows shown above. For example, each step described in this application can be performed in a parallel order or a sequential order, or can be performed in a different order, and is not limited thereto, as long as the desired results of the technical solution disclosed in this application can be achieved.
[0070] The above specific embodiments do not constitute limitations on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, partial combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the scope of protection of this application.
Claims
1. 1. A method for updating an artificial intelligence model, comprising: The dialogue system performs natural interactions with the user to obtain interaction contents including M (M is a positive integer greater than 1) dialogue contents performed for any one of the training samples; In response to the dialogue system determining that the dialogue with the user for the training sample has ended, determining an update rule for a model to be processed based on the interaction content, and updating the model to be processed using the update rule; Including, The update rule includes update method information of neuron states and / or neuron connections of the model to be processed; updating the model to be processed using the update rule comprises updating neuron states and / or neuron connections of the model to be processed using the update rule. How to update artificial intelligence models.
2. Each of the dialogue contents includes a user input content and a response generated in response to the user input content, The response includes a response generated based on the acquired information of the neuron states and the neuron connections of the model to be processed. The method for updating an artificial intelligence model according to claim 1 .
3. The dialogue system further includes obtaining a prediction result of the model to be processed, the prediction result being updated using the update rule, of the training sample generated by the model to be processed, and updating according to the prediction result.
3. A method for updating an artificial intelligence model according to claim 1 or 2.
4. The dialogue system and the model to be processed are two independent models, Alternatively, the dialogue system and the model to be processed are integrated into a single model.
3. A method for updating an artificial intelligence model according to claim 1 or 2.
5. An update device for an artificial intelligence model applied to a dialogue system, comprising: an interaction module and a first update module; The interaction module performs natural interactions with a user to obtain interaction contents including M (M is a positive integer greater than 1) conversation contents performed for any one training sample; The first update module, in response to determining that the interaction with the user on the training sample is completed, determines an update rule for a model to be processed based on the interaction content, and updates the model to be processed using the update rule, the update rule including update method information of neuron states and / or neuron connections of the model to be processed; updating the model to be processed using the update rule comprises updating neuron states and / or neuron connections of the model to be processed using the update rule. Artificial intelligence model updater.
6. Each of the dialogue contents includes a user input content and a response generated in response to the user input content, The response includes a response generated based on the acquired information of the neuron states and the neuron connections of the model to be processed.
6. An apparatus for updating an artificial intelligence model according to claim 5.
7. a second update module for obtaining a prediction result of the model to be processed, the prediction result being updated using the update rule, of the training sample generated by the model to be processed, and updating the dialogue system according to the prediction result; 7. An apparatus for updating an artificial intelligence model according to claim 5 or 6.
8. At least one processor; a memory communicatively coupled to the at least one processor; An electronic device having stored in the memory instructions executable by the at least one processor, the commands, when executed by the at least one processor, causing the at least one processor to perform the artificial intelligence model updating method of claim 1.
9. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of updating an artificial intelligence model of claim 1.
10. A computer program product which, when executed by a processor, implements the method for updating an artificial intelligence model according to claim 1.
Citation Information
Patent Citations
Artificial intelligence model training method and device, storage medium and robot
CN109074502A
Leaning device, learning method, and learning program
JP2019215483A
Model training method, apparatus, electronic device, recording medium, and program
JP2021152961A
Dialogue generation method and device, computer device and program
JP2022503838A
Adaptive robot communication system and method of adaptive robot communication using the same
KR1020200031245A
