Task learning system and method, and related devices - Patents.com
Patent Information
- Application Number
- JP2023527103
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-07
- Filing Date
- 2021-10-30
- Publication Date
- 2024-09-26
- Estimated Expiration
- 2041-10-30
Smart Images

Figure 0007557065000016 
Figure 0007557065000022 
Figure 0007557065000011
Abstract
Description
[Technical field]
[0001] This application claims priority to Chinese Patent Application No. 202011210952.8, entitled "TASK LEARNING SYSTEM AND METHOD," filed with the State Intellectual Property Office of the People's Republic of China on November 3, 2020, and Chinese Patent Application No. 202011417335.5, entitled "TASK LEARNING SYSTEM AND METHOD, AND RELATED DEVICE," filed with the State Intellectual Property Office of the People's Republic of China on December 7, 2020. The two aforementioned applications are hereby incorporated by reference in their entireties.
[0002] TECHNICAL FIELD Embodiments of the present application relate to the field of machine learning technologies, and in particular to task learning systems and methods, and related devices. [Background technology]
[0003] Machine learning is a process of automatically analyzing and acquiring rules from data and predicting unknown data by using the rules, and is widely used in many fields such as data mining, computer vision, natural language processing, search engines, speech and handwriting recognition, securities market analysis, and medical diagnosis. The machine learning process for a specific sample may be referred to as a task.
[0004] In conventional machine learning processing, a known machine learning model (i.e., a pre-trained model) is usually used to perform inference on input samples provided by a user and output an inference result (the inference accuracy of the inference result can be guaranteed through pre-training of the model). However, in practical applications, a user provides a variety of input samples. Therefore, it may be difficult to apply a known machine learning model to a variety of input samples. As a result, for some input samples provided by a user, the results obtained through inference by using a known machine learning model have low accuracy and are difficult to meet the user's practical application requirements. For example, in a face recognition scenario, the accuracy of face recognition results for daytime surveillance footage by using a known face recognition model is high. However, when a user inputs nighttime surveillance footage into the face recognition model, the accuracy of the face recognition result output by the face recognition model may be low. Therefore, currently, there is an urgent need for a task learning system so that accurate inference results can be provided when a user provides a variety of input samples. Summary of the Invention [Means for solving the problem]
[0005] The embodiments of the present application provide a task-learning system and method, a device, a storage medium, and a computer program product, such that accurate inference results can be obtained for a variety of input samples provided by a user.
[0006] According to a first aspect, an embodiment of the present application provides a task learning system. The system includes a knowledge base module and a task processing device. The knowledge base module can be constructed by using a knowledge base and is configured to store task attributes and task models corresponding to the task attributes. The task attributes and task models belong to known knowledge and can be used to perform accurate inference on input samples of known tasks. However, it is difficult to perform accurate inference on input samples of unknown tasks by using a single task model. The task processing device can be configured to obtain an input sample, and when an inference task corresponding to the input sample is an unknown task, generate an inference model for the unknown task based on the task attributes and the corresponding task model stored in the knowledge base module, and perform accurate inference on the input sample by using the generated inference model to obtain a target inference result.
[0007] In this way, when the inference task corresponding to the input sample provided by the user is an unknown task, a new inference model can be automatically generated for the input sample, and the inference for the input sample is completed by using the newly generated inference model instead of the existing single task model. Therefore, the inference accuracy of the input sample can be effectively improved, and the user does not need to customize the inference model, thereby reducing the customization cost of the user.
[0008] In one possible implementation, the task processor may be further configured to determine a target task attribute of the input sample based on the input sample provided by the user and the task attributes stored in the knowledge base module. The task processor may then determine that the inference task corresponding to the input sample is an unknown task based on the target task attribute of the input sample, the task attributes stored in the knowledge base module, and the task model stored in the knowledge base module. In this manner, after the user provides the input sample, the task processor may determine whether the inference task corresponding to the input sample is a known task or an unknown task. Thus, when determining that the inference task is a known task, the task processor may perform inference on the input sample by using the known task model, and when determining that the inference task is an unknown task, the task processor performs inference on the input sample by using the newly generated inference model.
[0009] In one possible implementation, based on the difference between the target task attributes of the input sample and the task attributes stored in the knowledge base module, the task processor is specifically configured to determine that the inference task corresponding to the input sample is an unknown task. For example, when there is a large difference between the target task attributes and each task attribute stored in the knowledge base module, the task processor may determine that the inference task corresponding to the input sample is an unknown task. However, when the task attributes stored in the knowledge base module include one or more task attributes that have a small difference from the target task attributes, the task processor may determine that the inference task corresponding to the input sample is a known task and perform inference on the input sample by using a known task model associated with the task attributes that have a small difference from the target task attributes.
[0010] In one possible implementation, the difference between the target task attribute and the task attribute stored in the knowledge base module may be measured by using a minimum edit distance between the attribute value of the target task attribute and the attribute value of the task attribute stored in the knowledge base module. Specifically, a smaller minimum edit distance indicates a smaller difference between the two task attributes. Conversely, a larger minimum edit distance indicates a larger difference between the two task attributes.
[0011] In one possible embodiment, the task processing device may specifically determine whether the inference task corresponding to the input sample is an unknown task based on any one or more of the confidence, model transfer rate, and task model quality of performing inference on the input sample by using the task model stored in the knowledge base module. Of course, in practical application, another manner may be used for the determination instead.
[0012] In one possible embodiment, when generating the inference model, the task processor may specifically generate an inference model for an unknown task based on the target task attributes of the input sample and the task attributes and task models stored in the knowledge base module. For example, the task processor may determine task attributes that are stored in the knowledge base module and have a high correlation with the target task attributes based on the target task attributes, and further determine multiple corresponding task models or training samples corresponding to the multiple task models, respectively, based on the task attributes. In this way, a new inference model may be generated by using multiple task models or training samples corresponding to the multiple task models.
[0013] In one possible embodiment, the knowledge base module is further configured to store task relations, and the task relations include sub-relationships and / or transition relations. When generating the inference model, the task processing device may specifically generate an inference model for an unknown task based on the task attributes of the target of the input sample, the task attributes and task models stored in the knowledge base module, and the task relations. In this way, the task processing device may perform filtering on some knowledge of the knowledge base module by using the task relations, thereby improving the efficiency of generating the inference model.
[0014] In one possible embodiment, when generating the inference model, the task processing device may specifically determine multiple candidate task models in the task models stored in the knowledge base module based on the target task attributes of the input sample, and use the multiple candidate task models as the inference model. In this way, the inference model can be generated by combining multiple existing known task models, thereby improving the generation efficiency of the inference model.
[0015] In one possible embodiment, the knowledge base module is further configured to store training samples corresponding to the task attributes. Thus, when generating the inference model, the task processing device may specifically determine multiple candidate task models in the task models stored in the knowledge base module based on the target task attributes of the input sample, and further determine training samples respectively corresponding to the multiple candidate task models. Then, the task processing device may retrain one or more candidate task models based on the training samples respectively corresponding to the multiple candidate task models, and use the one or more candidate task models obtained through retraining as the inference model. Thus, the task processing device may generate the inference model by performing fine tuning on the existing task model, so that the inference accuracy of the input sample is high and the generation efficiency of the inference model is also high.
[0016] In one possible embodiment, the knowledge base module is further configured to store training samples corresponding to the task attributes. Thus, when generating the inference model, the task processing device may specifically determine multiple candidate task models in the task models stored in the knowledge base module based on the target task attributes of the input sample, and further determine training samples respectively corresponding to the multiple candidate task models. Then, the task processing device may perform training to obtain a new task model based on the training samples respectively corresponding to the multiple candidate task models, and use the new task model as the inference model. Thus, the task processing device may obtain a new task model by using the training samples stored in the knowledge base module, so that the inference accuracy of the input sample may be increased.
[0017] In one possible embodiment, the task processing device may include a model determination module and an inference module. The model determination module is configured to generate an inference model for the unknown task based on the task attributes and the task model stored in the knowledge base module when the inference task corresponding to the input sample is an unknown task. The inference module performs inference on the input sample by using the inference model generated by the model determination module to obtain a target inference result. When the task processing device is deployed, the model determination module in the task processing device may be deployed in the cloud or in the edge-side network, and the inference module may be deployed in the edge-side network. Of course, in practical application, the model determination module and the inference model may be randomly deployed. For example, both the model determination module and the inference model are deployed in the cloud, or the model determination module is deployed in a distributed manner. This is not limited in the present application. When the model determination module is deployed in the cloud, the cloud computing resources may be fully used. In particular, when the model determination module uses a combination of known models or retrains a model for an unknown task, a large amount of storage and computational resources required by the model determination module can be shouldered by the cloud, thereby improving the efficiency of generating an inference model by the model determination module. However, when the model determination module is deployed in an edge-side network, the model determination module can determine an inference model for performing inference on an input sample by using the computational and storage resources of the edge-side network. In this way, the relevant data involved in the computational processing of the model determination module does not need to be uploaded to the cloud, thereby protecting the privacy of user data.
[0018] In one possible embodiment, the task processing device further includes an attribute definition module and a task determination module. The attribute definition module is configured to determine a target task attribute of the input sample based on the input sample and the task attribute stored in the knowledge base module. The task determination module is configured to determine whether the inference task corresponding to the input sample is an unknown task based on the target task attribute determined by the attribute definition module and the task attribute and task model stored in the knowledge base module. When the task processing device is deployed, both the attribute definition module and the task determination module in the task processing device may be deployed in an edge-side network. Of course, in practical application, both the attribute definition module and the task determination module may be deployed in a cloud, etc. This is not limited in the present application.
[0019] In one possible embodiment, the knowledge base module is deployed in the cloud. In this way, based on cloud resources, the knowledge base module can provide large-scale data such as models, samples, and other information, so that the task learning system can easily identify the inference task corresponding to the input sample as a known task. This can improve the inference efficiency of the input sample and improve the inference accuracy of the input sample. In addition, even if the inference task corresponding to the input sample belongs to an unknown task, the knowledge base module in the cloud can also provide data such as similar task models. Therefore, it is highly likely that the task learning system can improve the inference effect of the unknown task based on the data. Of course, in another possible embodiment, the knowledge base module can be alternatively deployed in a distributed manner. Specifically, multiple sub-knowledge bases can be deployed in an edge-side network, and the knowledge stored in each sub-knowledge base can be some knowledge stored in the knowledge base module in the cloud. The deployment of the knowledge base module is not limited in this application.
[0020] In one possible implementation, the task processor may be further configured to update the task attributes and the task model stored in the knowledge base module based on the target task attributes of the input sample and the generated inference model, so that when the same inference task is subsequently stored, inference for the inference task can be performed by using the updated knowledge stored in the knowledge base module.
[0021] In one possible embodiment, when updating the knowledge in the knowledge base module, the task processing device may specifically add the target task attributes of the input sample and the generated inference model to the knowledge base module. In this case, the knowledge base module stores the existing task attributes, the target task attributes, the existing task model, and the inference model simultaneously. In this way, new knowledge is added based on retaining the existing knowledge to realize the knowledge accumulation of the knowledge base module.
[0022] In one possible embodiment, when updating the knowledge stored in the knowledge base module, the task processing device may specifically replace the corresponding task attribute in the knowledge base module with the target task attribute of the input sample, and replace the corresponding task model in the knowledge base module with the newly generated inference model. In this way, the knowledge stored in the knowledge base module can always be the latest knowledge.
[0023] In one possible embodiment, the task processing device may include a knowledge base updating module. The knowledge base updating module may be configured to update the task attributes and task models stored in the knowledge base module based on the target task attributes of the input sample and the newly generated inference model. The knowledge base updating module may be deployed in a cloud or in an edge-side network. When the knowledge base updating module is deployed in a cloud, the knowledge base updating module may update the knowledge stored in the knowledge base module by using a lot of data, such as training samples and task models, and a lot of computational resources in the cloud to achieve a favorable update effect. However, when the knowledge base updating module is deployed in an edge-side network, both the input sample and the intermediate data involved in the process of performing inference on the input sample may be located in the edge-side network, so that the privacy of user data can be effectively protected. In another embodiment, the knowledge base updating module may be alternatively deployed in a distributed manner, etc. This is not limited in the present application.
[0024] In one possible embodiment, when the inference model includes multiple models, and when performing inference on the input sample by using the inference model, the task processing device may specifically perform inference on the input sample by using all models in the inference model to obtain inference results output by all models, and then determine the target inference result in the inference results output by all models. For example, the maximum amount of identical or similar inference results in the multiple inference results may be used as the final target inference result through voting, or the average value of the multiple inference results is calculated, and the average value is used as the final target inference result.
[0025] According to a second aspect, an embodiment of the present application further provides a task learning method, the method includes: obtaining an input sample; when an inference task corresponding to the input sample is an unknown task, generating an inference model for the unknown task based on task attributes in a knowledge base and a task model corresponding to the task attributes; and performing inference on the input sample by using the inference model to obtain a target inference result.
[0026] In one possible implementation, the method further includes determining target task attributes of the input sample based on the input sample and the task attributes, and determining that an inference task corresponding to the input sample is an unknown task based on the target task attributes and the task attributes and the task model in the knowledge base.
[0027] In one possible implementation, determining that the inference task corresponding to the input sample is an unknown task based on the target task attributes and the task attributes and task model in the knowledge base includes determining that the inference task corresponding to the input sample is an unknown task based on a difference between the target task attributes and the task attributes in the knowledge base.
[0028] In one possible implementation, determining that the inference task corresponding to the input sample is an unknown task based on the target task attributes and the task attributes and task model in the knowledge base includes determining that the inference task corresponding to the input sample is an unknown task based on any one or more of a confidence in performing inference on the input sample by using the task model, a model transfer rate, and a task model quality.
[0029] In one possible implementation, generating an inference model for the unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes includes generating an inference model for the unknown task based on task attributes of the target and the task attributes and task model in the knowledge base.
[0030] In one possible implementation, the knowledge base further stores task relations, the task relations including sub-relationships and / or transition relations. Generating an inference model for the unknown task based on the task attributes in the knowledge base and task models corresponding to the task attributes includes generating an inference model for the unknown task based on the task attributes of the target, the task attributes and task models in the knowledge base, and the task relations.
[0031] In one possible implementation, generating an inference model for the unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes includes determining a plurality of candidate task models in the task model based on the target task attributes, and using the plurality of candidate task models as the inference model.
[0032] In one possible embodiment, the knowledge base further stores training samples corresponding to the task attributes. Generating an inference model for the unknown task based on the task attributes in the knowledge base and the task models corresponding to the task attributes includes: determining training samples respectively corresponding to a plurality of candidate task models in the task model based on the target task attributes, retraining one or more candidate task models based on the training samples respectively corresponding to the plurality of candidate task models, and using the one or more candidate task models obtained through retraining as the inference model.
[0033] In one possible implementation, the knowledge base further stores training samples that correspond to the task attributes.
[0034] Generating an inference model for an unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes includes determining training samples respectively corresponding to a plurality of candidate task models in the task model based on target task attributes, performing training based on the training samples respectively corresponding to the plurality of candidate task models to obtain a new task model, and using the new task model as the inference model.
[0035] In one possible implementation, the method further includes updating the task attributes and the task model in the knowledge base based on the target task attributes of the input sample and the inference model.
[0036] In one possible implementation, updating the task attributes and task model in the knowledge base based on the target task attributes of the input sample and the inference model includes adding the target task attributes and the inference model to the knowledge base such that the knowledge base simultaneously stores the existing task attributes, the target task attributes, the task model, and the inference model.
[0037] In one possible implementation, updating the task attributes and the task model in the knowledge base based on the target task attributes of the input sample and the inference model includes replacing corresponding task attributes in the knowledge base with the target task attributes and replacing corresponding task models in the knowledge base with the inference model.
[0038] In one possible embodiment, when the inference model includes multiple models, performing inference on the input sample by using the inference models to obtain a target inference result includes performing inference on the input sample by using all the models to obtain inference results output by all the models, and determining the target inference result among the inference results output by all the models.
[0039] The task learning method according to the second aspect corresponds to the task learning system according to the first aspect. Therefore, for specific implementation forms of any implementation forms of the second aspect and their technical effects, please refer to the relevant description of the first aspect.
[0040] According to a third aspect, an embodiment of the present application provides a device. The device includes a processor and a memory. The memory is configured to store instructions. When the device operates, the processor executes the instructions stored in the memory, thereby causing the device to perform the task learning method according to the second aspect or any one of the implementations of the second aspect. It should be noted that the memory may be integrated with the processor or may be independent of the processor. The device may further include a bus. The processor is connected to the memory through the bus. The memory may include a readable memory and a random access memory.
[0041] According to a fourth aspect, an embodiment of the present application further provides a readable storage medium, the readable storage medium storing a program or instructions, which, when executed on a computer, performs the task learning method according to the second aspect or any one of the implementations of the second aspect.
[0042] According to a fifth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to perform the task-learning method according to the second aspect or any one of the implementations of the second aspect.
[0043] In addition, for technical effects provided by any of the embodiments of the second to fifth aspects, please refer to the technical effects provided by the different embodiments of the first aspect.
[0044] In order to clearly describe the technical solutions of the embodiments of the present application, the following briefly describes the accompanying drawings for describing the embodiments. The accompanying drawings in the following description only illustrate some embodiments of the present application, and it is obvious that those skilled in the art can create other drawings based on the accompanying drawings. [Brief description of the drawings]
[0045] [Figure 1] FIG. 1 is a schematic diagram of an example of a machine learning process. [Diagram 2] 1 is a schematic diagram of an example of the structure of a task learning system according to an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of task-related relationships in a knowledge base according to one embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of task-related relationships in another knowledge base according to an embodiment of the present application. [Diagram 5] 2 is a schematic diagram of an example of an inference goal input interface according to an embodiment of the present application; [Figure 6] FIG. 2 is a schematic diagram of an example of knowledge updating according to an embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of an example of knowledge updating according to an embodiment of the present application. [Figure 8] 2 is a schematic diagram of the deployment of modules in a task-learning system 200 according to an embodiment of the present application. [Figure 9] FIG. 2 is a schematic diagram of the deployment of modules in another task-learning system 200 according to an embodiment of the present application. [Figure 10] FIG. 1 is a schematic principle diagram of outputting DMD by an unsupervised model based on target task attributes according to an embodiment of the present application; [Figure 11] FIG. 2 is a schematic diagram of determining an MMD by using a reliability model according to an embodiment of the present application. [Figure 12] FIG. 2 is a schematic diagram of chiller energy consumption data stored in a knowledge base. [Figure 13]FIG. 1 is a schematic diagram of generating an inference model by combining multiple known task models according to an embodiment of the present application. [Figure 14] 1A-1D are schematic diagrams of different shooting scenarios according to an embodiment of the present application; [Figure 15] 1 is a schematic flowchart of a task learning method according to an embodiment of the present application. [Figure 16] FIG. 2 is a schematic diagram of a hardware structure of a device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0046] The terms "first" and "second" in the embodiments of this application are merely for descriptive purposes and should not be understood as an indication or implication of relative importance or an implicit indication of the number of technical features depicted. Thus, a feature qualified by "first" or "second" may explicitly or implicitly include one or more features.
[0047] As shown in FIG. 1, in a machine learning process, the process of performing machine learning on an input sample provided by a user 101 is usually considered as a known task by default. In other words, the input sample provided by a user is considered as the same or similar to the training sample used for machine learning model training by default, so that the known machine learning model stored in the knowledge base 102 can be used to perform inference on the input sample and an accurate inference result can be obtained. However, in some practical application scenarios, the input sample provided by a user 101 may be significantly different from the training sample used for machine learning model training. In this case, the accuracy of the inference result obtained by performing inference on the input sample by using the known machine learning model may be low. For example, in a face recognition scenario, the machine learning model may be trained by using one or more groups of samples including daytime face images. In this way, when the input sample provided by a user is a daytime sample, the face included in the sample may be accurately recognized by using the machine learning model. However, when the input sample provided by a user is a sample including a nighttime face image, the accuracy of the face recognition may be significantly reduced when the face recognition is performed by using the machine learning model, since the luminance of the light reflected on the sample is dark.
[0048] Based on this, an embodiment of the present application provides a task learning system. When the inference task corresponding to the input sample provided by the user is an unknown task, the task learning system can automatically generate a new inference model for the unknown task, so as to perform inference on the input sample by using the new inference model to obtain an accurate target inference result. In this way, when the input sample provided by the user is significantly different from the training sample of the known task model, a new inference model can be automatically generated for the input sample, and the inference on the input sample is completed by using the newly generated inference model. Therefore, the inference accuracy of the input sample can be effectively improved, and the user does not need to customize the inference model, thereby reducing the customization cost of the user.
[0049] In order to make the objectives, features and advantages of the present application clear and understandable, the following describes various non-limiting implementations in the embodiments of the present application with reference to the accompanying drawings by using examples. It is clear that the described embodiments are a part, but not all, of the embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0050] 2 is a schematic diagram of the architecture of a task learning system according to an embodiment of the present application. As shown in FIG. 2, the task learning system 200 may include a knowledge base module 210 and a task processing unit 220. The task processing unit 220 may generate an inference model by using the data (knowledge) stored in the knowledge base module 210, and perform inference on an input sample provided by a user by using the inference model. Of course, when the inference task corresponding to the input sample belongs to a known task, the task processing unit 220 may perform inference on the input sample by using the existing task model in the knowledge base module 210.
[0051] In an exemplary implementation, the task processor 220 may include an attribute definition module 221 , a task determination module 222 , a model determination module 223 , and an inference module 224 .
[0052] The knowledge base module 210 may be configured to store and search for task information. In this embodiment, the task information stored in the knowledge base module 210 may specifically be task attributes and task models corresponding to the task attributes.
[0053] The task attribute may include a task attribute category and an attribute value. For example, in a face recognition scenario, one task attribute may be the shooting weather of a video or a photo (the video or photo taken is used as a corresponding model input). In this case, the task attribute category is the shooting weather, and the attribute value is a value used to indicate the weather, such as "sunny" or "rainy". In practical application, the task attributes stored in the knowledge base module 210 may be defined by a user or a technical expert and pre-added to the knowledge base module 210. Of course, the task attributes may alternatively be added to the knowledge base module 210 in another manner. For example, as described below, the task processing device 220 further includes a knowledge base update module 225 configured to update new task attributes to the knowledge base module 210.
[0054] The task model corresponding to the task attribute is a machine learning model obtained through training by using training samples having the task attribute. The task model is used to perform inference on input samples having the task attribute and output corresponding inference results. When storing the task model, the knowledge base module 210 may further store information such as a training method, model hyperparameters, and model parameters corresponding to the task model. The training method is a machine learning algorithm used by the task model, and may be, for example, a machine learning algorithm of a neural network or a support vector machine. The model hyperparameter is a configuration item of the machine learning algorithm, and is a parameter set in the task model before the model is trained, such as a learning rate in a neural network. The model parameter is a parameter in the model that is determined by training the task model, such as a weight in a neural network or a support vector in a support vector machine.
[0055] In one example, the knowledge base module 210 may be specifically implemented by using a knowledge base with storage and search functions, and the information stored in the knowledge base is the aforementioned task information. For example, the knowledge base module 210 may further store training samples corresponding to each task model. The training samples corresponding to each task model are used to train the task model, and the training samples may be labeled samples and / or unlabeled samples. In addition, since different samples are used to train the task models to perform different tasks, in order to prevent the inference accuracy of each task model from decreasing as much as possible due to the number of small training samples, the knowledge base module 210 may further store task constraints corresponding to each task model, such as a lower limit on the number of training samples.
[0056] In one possible embodiment, the task attribute stored in the knowledge base module 210 may be generated by a clustering method. Specifically, a data set may be obtained. The data set may be data in a training sample or other data. Then, clustering may be performed on the data set to obtain one or more cluster sets, and similar data items in the data set are extracted. Then, the similarity between the data items in each cluster set is calculated, and a similarity variance is further calculated based on the similarity. Thus, the cluster set whose similarity variance is less than a predetermined value may be determined as a category, and the category is used as one task attribute. Of course, the task attribute may be alternatively determined in another manner, for example, may be generated in a manner such as a model manner or a setting manner. The specific embodiment of constructing the task attribute is not limited in this embodiment.
[0057] In practical application, some tasks may be related to each other. For example, if the temperature change of city A in winter is similar to the temperature change of city B in autumn, the temperature prediction task of city A in winter is similar to the temperature prediction task of city B in autumn. Therefore, in some application scenarios, the temperature of city A in winter may be predicted by using the temperature prediction model of city B in autumn. Based on this, in a further possible embodiment, the knowledge base module 210 may further store task relationships between different tasks. The task relationships between different tasks may be, for example, sub-relationships or transitional relationships. Sub-relationships mean that any task may be considered as a child task of another task. For example, after the autumn temperature prediction task a of city A and the winter temperature prediction task b of city A are combined, an autumn-winter temperature prediction task c of city A may be obtained. In this case, task a and task b are considered as child tasks of task c, and the sub-relationship is satisfied. Therefore, task a or task b can be implemented by using a task model corresponding to task c (of course, the inference accuracy of the task model may be reduced). In addition, the sub-relationship may be measured by using the sub-degree. The transition relationship means that a task model for implementing one task may be used to implement another task (of course, the inference accuracy of the task model may be reduced). For example, the above-mentioned model for predicting the temperature change in winter in city A may also be used to predict the temperature change in autumn in city B. In addition, the transition relationship may be measured by using the transition degree. In this embodiment, an example in which the task relationship is a sub-relationship and a transition relationship is used. In other embodiments, the task relationship may alternatively be a relationship between other tasks. This is not limited in this embodiment. It will be understood that the task relationship between different tasks may alternatively be a relationship between different task models for implementing different tasks.
[0058] Generally, different task models are used to perform inference on samples belonging to different tasks. Therefore, to help the knowledge base module 210 perform information query and management, the knowledge base module 210 may further store a task corresponding to each task model, for example, a face recognition task or an air conditioner performance prediction task. Correspondingly, each task may have information such as task attributes, training samples, task models, task constraints, and task relationships, and the task-related relationships shown in FIG. 3 may be established in the knowledge base.
[0059] The knowledge base module 210 may further cluster different stored tasks to aggregate tasks with similar relationships into one group. The group is hereinafter referred to as a task group. A task group may include one or more tasks. Similarly, each task group may have a corresponding task group attribute, a corresponding task group constraint (e.g., a minimum number of samples included in a task group), a corresponding task list, a corresponding task group sample (a set of training samples for multiple task models), and a corresponding task group model (i.e., a model used to implement each task in the task group), so that the task-related relationships shown in FIG. 4 may be established in the knowledge base.
[0060] When a user provides an input sample, the attribute definition module 221 may determine target task attributes for the input sample based on the input sample and the task attributes stored in the knowledge base module 210 to subsequently determine whether the inference task corresponding to the input sample is an unknown task.
[0061] In an example embodiment, when the input sample is specifically data item information, the attribute definition module 221 may determine a task attribute category included in the input sample and match the input sample with each task attribute stored in the knowledge base module 210 to further determine an attribute value corresponding to the task attribute category. For example, in an air conditioner performance prediction scenario, the input sample provided by the user may include data information "seasonal" to match one task attribute "seasonal" stored in the knowledge base module 210. In this case, the task attribute category corresponding to the input sample may be determined as "seasonal", and the attribute value "summer" of the task attribute category may be further retrieved from the input sample.
[0062] However, in another example, when the input sample does not belong to a data item, the attribute definition module 221 may extract a target task attribute corresponding to the input sample by using a pre-trained classifier. For example, in a face detection scenario, the task attributes stored in the knowledge base module 210 include shooting weather. In this case, the attribute definition module 221 may classify the input sample (photo or video) by using a classifier corresponding to the shooting weather, and use the classification result "sunny" output by the classifier as the target task attribute corresponding to the input sample (specifically, as the attribute value of the target task attribute). The attribute definition module 221 may determine a task attribute category based on an inference goal input by a user, and determine an attribute value of the task attribute category by using a classifier corresponding to the task attribute category. For example, the task learning system may provide a user with an inference goal input interface shown in FIG. 5, and the user inputs an inference goal into the inference goal input interface. For example, the user may input "face recognition", so that the attribute definition module 221 may determine an attribute value by using a classifier corresponding to the inference goal "face recognition". The user may further provide an input sample for the task learning system by tapping a "sample input" button on the task input interface.
[0063] After determining the target task attributes of the input sample, the task determination module 222 may determine whether the inference task corresponding to the input sample is an unknown task based on the target task attributes and the task information stored in the knowledge base module 210. If the inference task is determined to be an unknown task, it indicates that it is difficult to accurately perform inference on the input sample by using each task model currently stored in the knowledge base module 210. However, if the inference task is determined to be a known task (i.e., not an unknown task), it indicates that accurate inference can be performed on the input sample by using one task model currently stored in the knowledge base module 210.
[0064] In the task determination example, the task determination module 222 may determine that the inference task corresponding to the input sample is an unknown task based on the difference between the target task attribute and the task attribute in the task information. Specifically, if the task determination module 222 determines that the difference between the target task attribute and the task attribute stored in the knowledge base module 210 is small, the input sample and the training sample used for model training and corresponding to the task attribute have similar task attributes, so that the task model trained by using the training sample is generally applicable to inference on the input sample. In this case, the task determination module 222 may determine that the inference task corresponding to the input sample is a known task, and inference may be performed on the input sample by using the corresponding task model stored in the knowledge base module 210. However, if the task determination module 222 determines that the difference between the target task attribute and each task attribute stored in the knowledge base module 210 is large, it indicates that the input sample and the training sample corresponding to each task model have different task attributes, and it may be difficult to perform accurate inference on the input sample for each task model stored in the knowledge base module 210. In this case, the task determination module 222 may determine that the inference task corresponding to the input sample is an unknown task.
[0065] For example, the difference between the target task attribute and each task attribute stored in the knowledge base module 210 may be specifically measured by using a minimum edit distance. A larger minimum edit distance indicates a larger difference between the task attributes. Conversely, a smaller minimum edit distance indicates a smaller difference between the task attributes. In a specific implementation, the task determination module 222 may calculate the minimum edit distance between the attribute value of the target task attribute and the attribute value of each task attribute in the knowledge base module 210, and compare the minimum edit distance between the target task attribute and each task attribute stored in the knowledge base module 210 with an edit distance threshold. When there is a task attribute whose minimum edit distance from the target task attribute is less than the edit distance threshold, it indicates that the difference between the two task attributes is small, and thus the task determination module 222 may determine that the inference task corresponding to the input sample provided by the user belongs to a known task. When there is no task attribute whose minimum edit distance from the target task attribute is less than the edit distance threshold, it indicates that the difference between the two task attributes is large, so that the task determination module 222 may determine that the inference task corresponding to the input sample belongs to the known task. Of course, in another example, the difference between the two task attributes may be alternatively measured in another manner, which is not limited in this embodiment.
[0066] In another task determination example, based on any one or more of the confidence in performing inference on the input sample by using the task model in the task information, the model transition rate of the input sample, and the task model quality, the task determination module 222 may determine whether the inference task corresponding to the input sample is an unknown task.
[0067] The confidence of performing inference on an input sample by using a task model is the degree of confidence of an inference result output after the task model performs inference on the input sample. When the confidence is high (e.g., greater than a predetermined confidence threshold), the task model may be considered suitable for inference on the input sample. In this case, the task determination module 222 may determine that the inference task corresponding to the input sample is a known task. However, when the confidence is low, the task model is considered not suitable for inference on the input sample. In addition, when the confidence of performing inference on an input sample by using each task model stored in the knowledge base module 210 is low, the task determination module 222 may determine that the inference task corresponding to the input sample is an unknown task.
[0068] For example, the confidence of performing inference on an input sample by using a task model may be determined using a confidence model corresponding to the task model. Specifically, for each task model stored in the knowledge base module 210, a confidence model may be pre-trained for the task model. The confidence model may be constructed based on a neural network or a support vector machine. In addition, when the confidence model is trained, the input is a known sample stored in the knowledge base module 210, and the output is an error rate of predicting the known sample by using the task model (the predicted error rate may be manually marked in advance, for example). In this way, the confidence model may be obtained through iterative training by using a certain number of samples. In this way, for an input sample provided by a user, the input sample may be input to a confidence model corresponding to the task model, and the confidence model outputs a confidence of performing inference on the input sample by using the task model.
[0069] The model shift ratio for an input sample is the appropriateness of performing inference on the input sample by using a known task model stored in the knowledge base module 210. A larger model shift ratio indicates that the known task model is more suitable for use as a model for inference on the input sample, and correspondingly, the accuracy of the obtained inference result is usually higher. When the model shift ratio is greater than a predetermined shift ratio threshold, the task determination module 222 may determine that the inference task corresponding to the input sample is a known task. In this case, the model for performing inference on the input sample is the task model. In contrast, a smaller model shift ratio indicates that the task model is generally less suitable for use as a model for inference on the input sample. In addition, when the model shift ratio corresponding to each task model stored in the knowledge base module 210 is less than a predetermined shift ratio threshold, the task determination module 222 may determine that the inference task corresponding to the input sample is an unknown task.
[0070] For example, the model shift rate may be determined based on sample similarity. Specifically, for each task model, the task determination module 222 may calculate a sample similarity between the input sample and the training sample corresponding to the task model, so that the sample similarity may be used as the model shift rate corresponding to the task model. Of course, in another embodiment, the model shift rate may be alternatively determined according to another implementation. For example, similar to the above-mentioned confidence level, the machine learning model used to determine the model shift rate may also be obtained through training for the task model, so that the machine learning model may output a model shift rate corresponding to the task model based on the input sample. The specific implementation of determining the model shift rate is not limited in this embodiment.
[0071] The task model quality may be used to measure the generality of the task model. For example, the task model quality may be the number of training samples of the task model. Generally, from a statistical point of view, the more samples for training the task model, the higher the confidence of performing inference on the input sample by using the task model, that is, the task model is suitable for performing inference on the input sample. Therefore, when the number of training samples of the task model is greater than a predetermined sample number threshold, the task determination module 222 may determine that the inference task corresponding to the input sample is a known task. In this case, the model for performing inference on the input sample is the task model. However, when the knowledge base module 210 does not include a task model with a number of training samples greater than a predetermined sample number threshold, the task determination module 222 may determine that the inference task corresponding to the input sample is an unknown task.
[0072] In another example, the task model quality may also be used to measure the stability of testing diverse datasets by the task model. In this embodiment, if the output result of the task model always has high inference accuracy when the task model tests multiple different datasets, the model quality of the task model may be considered high, and the task model may be used as a model for performing inference on the input sample. In this case, the task determination module 222 may determine that the inference task corresponding to the input sample is a known task. In contrast, if there is no task model with high model quality in the multiple task models stored in the knowledge base module 210, the task determination module 222 may determine that the inference task corresponding to the input sample is an unknown task. The stability of testing diverse datasets by the task model may be measured by using the inference accuracy of the task model on the diverse datasets. If the accuracy reaches a predetermined accuracy threshold, it may be determined that the task model has high stability, i.e., the task model has high quality, and if not, the task model is determined to be low quality.
[0073] In practical application, the task determination module 222 may alternatively determine whether the inference task corresponding to the input sample is an unknown task based on a combination of the confidence, the model transfer rate, and the task model quality, or any two of them. Of course, the task determination may alternatively be implemented in a manner other than the manner of the above example, which is not limited in this embodiment.
[0074] In some implementations, the task determination module 222 may divide the confidence, model transfer rate, and task model quality into multiple levels for measurement, such as a single sample level, a task level, and a multi-task level. The single sample level is information such as confidence, model transfer rate, and task model quality obtained based on some of the multiple training samples of a task model. Correspondingly, the task level is information such as confidence obtained by using all training samples of a task model, and the multi-task level is information such as confidence obtained by using training samples for training all tasks in a task group. In this way, information such as the confidence of a task model may be divided in detail in terms of the hierarchical relationship of sample sets.
[0075] When determining whether there is a task model for performing inference on the input sample in the multiple task models stored in the knowledge base module 210, the task determination module 222 may further accelerate the determination process based on the task relationship. For example, if the confidence or model transfer rate of the task model for performing inference on the input sample is low (i.e., less than the corresponding threshold), another task model having a sub-relationship or transfer relationship with the task model is likely not generally suitable for inference on the input sample. In this case, the task determination module 222 may not need to determine another task model associated with the task model, and may continue to determine the remaining task models that do not have the aforementioned task relationship with the task model. In this way, the efficiency of determining whether a task is unknown by the task determination module 222 may be improved because some task models do not need to be involved in the calculation.
[0076] When the task determination module 222 determines that the inference task corresponding to the input sample is an unknown task, the inference module 224 may perform inference on the input sample provided by the user to obtain an inference result output by the task model based on the known task model determined by the task determination module 222, so that the inference module 224 may feed back the inference result to the user to complete inference on the input sample.
[0077] However, if the task determination module 222 determines that the inference task corresponding to the input sample is an unknown task, it indicates that there is no task model that can accurately perform inference on the input sample in the multiple task models stored in the knowledge base module 230. In this case, the task learning system 200 may generate a new task model for the unknown task by using the model determination module 223 to perform inference on the input sample by using the new model. Specifically, the model determination module 223 may generate a new task model (referred to as an inference model for ease of description below) for the unknown task based on the task attributes of the target and the task attributes and task models stored in the knowledge base module 210.
[0078] In one example of generating an inference model, the model determination module 223 may select multiple candidate task models from the task models stored in the knowledge base module 210 based on the target task attribute of the input sample. The difference between the task attribute of each selected candidate task model and the target task attribute is small. For example, when the minimum edit distance is used to measure the difference between task attributes, the model determination module 223 may calculate the minimum edit distance between the target task attribute and each task attribute stored in the knowledge base module 210 (or reuse the minimum edit distance calculated by the task determination module 222), and further determine the task attribute whose minimum edit distance from the target task attribute is less than a predetermined threshold. In this case, the multiple task models having the task attribute are the aforementioned candidate task models. Then, the model determination module 223 may use the selected multiple candidate task models as inference models.
[0079] In the process of determining the inference model, the user may further participate in the decision-making of the inference model. For example, for the selected task models, the user may implement corresponding parameter configurations, such as configuring constraints such as bandwidth or latency, so that among the selected task models, the task models having the parameter configurations may be used as inference models.
[0080] Correspondingly, the inference module 224 may perform inference on the input sample by using the selected multiple candidate task models to obtain multiple inference results. Then, the inference module 224 may calculate an average value of the multiple inference results and use the average value as the final target inference result of the input sample. Alternatively, the inference module 224 may determine the final inference result of the input sample from the multiple inference results through voting, and, for example, use the most identical (or similar) inference result among the multiple inference results as the final target inference result. In this way, the task learning system 200 may perform inference on the input sample by using a combination of existing task models, so that new task models do not need to be retrained. Therefore, the processing efficiency of the input sample by the task learning system 200 is high.
[0081] The model determination module 223 may further improve the efficiency of determining the inference model by referring to the task relations stored in the knowledge base module 210. For example, the model determination module 223 may determine the inference model by referring to the task relations. After determining one task model based on the target task attributes (the difference between the task attributes of the task model and the target task attributes is small), the model determination module 223 may use another task model that satisfies a sub-relationship and / or a transitional relationship with the task model as a selected candidate task model based on the task relations. Thus, the candidate task model does not need to be determined through task attribute comparison, which may improve the efficiency of determining the inference model. The model determination module 223 may further determine the inference model by referring to the task group. Specifically, the model determination module 223 may use each task model corresponding to a task group similar to the unknown task as an inference model.
[0082] In another example of generating an inference model, the model determination module 223 may alternatively determine one or more task attributes that have a small difference from the target task attributes in the task attributes stored in the knowledge base module 210, and further determine a plurality of candidate task models having task attributes (all or part) based on the one or more determined task attributes. Since the accuracy of the inference result for the input sample may be low by using each determined candidate task model, the model determination module 223 may perform fine tuning on each determined candidate task model. Specifically, the model determination module 223 may first obtain all or a part of training samples corresponding to each candidate task model, and retrain each candidate task model by using the obtained training samples. In this way, a plurality of new candidate task models may be obtained through training, and the plurality of new candidate task models are inference models.
[0083] Correspondingly, the inference module 224 may perform inference on the input sample by using multiple new candidate task models, and determine a final target inference result based on multiple obtained inference results. For details, please refer to the above description of the process of obtaining a final inference result by using multiple selected candidate task models. The details will not be repeated here. A new task model is obtained through training based on an existing task model. This may improve the accuracy of inference on the input sample, and may effectively reduce the model training time compared with the method of directly obtaining a task model through training based on a training sample.
[0084] In another embodiment, the model determination module 223 may alternatively retrain one candidate task model by using training samples corresponding to multiple candidate task models, and use the candidate task model obtained through retraining as an inference model, so that the inference module 224 may perform inference on the input sample based on only one candidate task model. Alternatively, in consideration of resource limitations (e.g., resources are limited when the model determination module 223 is deployed in an edge-side network), operations such as pruning, quantization, or distillation may be performed on the multiple candidate task models to reduce the number of candidate task models used as inference models. Alternatively, before the task model is retrained by using training samples corresponding to multiple candidate task models, the hyperparameters or machine learning methods of the task model may be further adjusted, and then the task model with the adjusted hyperparameters or machine learning methods is retrained by using the training samples.
[0085] In yet another example of generating an inference model, the model determination module 223 may alternatively determine multiple candidate task models in the task models stored in the knowledge base module 210 based on the target task attributes, and further obtain all or part of the training samples corresponding to the multiple candidate task models respectively. Then, the model determination module 223 may obtain a new task model through training based on the obtained training samples, and use the new task model as the inference model. In this way, the inference module 224 may perform inference on the input sample by using the inference model obtained through new training to obtain a corresponding inference result. Since the new task model is obtained through retraining based on the training samples, the accuracy of inference on the input sample by using the new task model may usually be high. Alternatively, the model determination module 223 may calculate the similarity between the input sample and the training sample in the knowledge base module 210, and perform retraining by using the training sample with high similarity to obtain an inference model.
[0086] Furthermore, when a training sample of structured data is used to train a task model, a small amount of training samples may be required. However, when a training sample of unstructured data is used to train a task model, a large amount of training samples is usually required (to ensure the inference accuracy of the task model). Therefore, in this embodiment, when the training sample of the candidate task model is determined to be structured data, the model determination module 223 may directly obtain a new model through training by using the training samples of multiple task models, and a small amount of computational resources is usually required. When the training sample of the candidate task model is determined to be unstructured data, the model determination module 223 may alternatively retrain each candidate task model by using the training samples of multiple candidate task models (i.e., perform fine-tuning for each candidate task model) to reduce computational resource consumption. In this way, an inference model may be generated for an unknown task in order to avoid the case where the inference efficiency of the task learning system 200 to the input sample is affected because the model determination module 223 responds slowly due to the limited edge-side network resources when the model determination module 223 is deployed in the edge-side network.
[0087] In practical application, the model determination module 223 may alternatively determine an inference model based on the found training sample. For example, if the model determination module 223 cannot find a suitable training sample in the knowledge base module 210, the model determination module 223 may perform inference on the input sample by using a predetermined domain model. The domain model may be constructed, for example, by using an inference formula in a specific domain. For example, a user may construct a domain model based on an empirical formula accumulated in the domain. If the model determination module 223 finds a training sample by using the knowledge base module 210 and the number of training samples is less than a predetermined value, the model determination module 223 may perform inference on the input sample by using a task model corresponding to the training sample as an inference model. However, if the model determination module 223 finds a training sample and the number of training samples is greater than a predetermined value (e.g., may find training samples corresponding to multiple task models), the model determination module 223 may obtain a new task model through training by using the training sample, and use the new task model as an inference model to perform inference on the input sample.
[0088] Thus, based on the above process, when the inference task corresponding to the input sample is a known task, inference for the input sample can be completed by using the known task models stored in the knowledge base module 210. However, when the inference task corresponding to the input sample is an unknown task, inference models can be generated for the unknown task through combination, retraining, etc. of the known task models to complete inference for the input sample. In this way, when the user provides diverse input samples, the task learning system 200 can perform accurate inference for all the input samples.
[0089] In a further possible embodiment, the task learning system 200 may further update the data (knowledge) stored in the knowledge base module 210 based on the inference task and the data (knowledge) generated in the process in which the task learning system 200 processes the inference task. Specifically, the task processing device 220 may further include a knowledge base update module 225. The knowledge base update module 225 may update the task attributes and the task model stored in the knowledge base module 210 based on the target task attributes and the inference model. For ease of explanation, the following uses an example in which the inference task corresponding to the input sample is an unknown task.
[0090] In one example, when the attribute value of the target task attribute is different from the attribute value of the existing task attribute stored in the knowledge base module 210, the knowledge base update module 225 may add the attribute value of the target task attribute to the knowledge base module 210. In addition, the knowledge base update module 225 may add an inference model corresponding to the target task attribute to the knowledge base module 210. For example, when the inference model of the unknown task is a task model obtained through retraining, the knowledge base update module 225 may add the task model obtained through retraining to the knowledge base module 210.
[0091] The knowledge base update module 225 may further add training samples required for training a new task model to the knowledge base module 210. The training samples may be rewritten to the knowledge base module 210. In this way, the knowledge base module 210 may store multiple same training samples to train the known task models and the currently added inference model separately. However, in another embodiment, the correspondence between the training samples and the task models may alternatively be added to the knowledge base module 210. In this way, when multiple different task models are trained by using the same training samples, the correspondence may be used for instructions, and the same training samples do not need to be repeatedly stored to reduce the storage resources occupied by the training samples in the knowledge base module 210. When an inference model of an unknown task is obtained by combining known task models, the knowledge base update module 225 may add the combination of the known task models to the knowledge base module 210, or may add instruction information indicating the combination of the known task models to the knowledge base module 210 (to reduce the storage resources occupied in the knowledge base module 210).
[0092] In addition to the task attributes, task models, and samples stored in the knowledge base module 210, the knowledge base updating module 225 may further update information such as tasks, task relationships, and task groups stored in the knowledge base module 210. For example, when updating a task, the knowledge base updating module 225 may add an unknown task to the knowledge base module 210. When updating a task relationship, the knowledge base updating module 225 may determine a relationship between the unknown task and a known task stored in the knowledge base module 210. For example, the knowledge base updating module 225 determines a transition relationship between the unknown task and the known task by calculating a similarity between an input sample and a training sample corresponding to another task model, and adds the determined task relationship to the knowledge base module 210 (when the inference task is a known task, it may be determined that the inference task and the known task satisfy a sub-relationship). When updating the task groups, the knowledge base update module 225 may determine particular task groups stored in the knowledge base module 210 into which the unknown task may be clustered, such as in a clustering manner, in order to add the unknown task to a task group in the knowledge base module 210. For example, an identifier (such as a name) of the unknown task may be specifically added to a task list corresponding to the task group. However, when the unknown task cannot be classified into any task group stored in the knowledge base module 210, a new task group may be created in the knowledge base module 210, and the task included in the new task group is the unknown task.
[0093] It should be noted that in this embodiment, the knowledge base update module 225 updating the data (knowledge) stored in the knowledge base module 210 may be adding new data (new knowledge) to the knowledge base module 210 on the basis of retaining the existing data (existing knowledge) to implement knowledge accumulation of the knowledge base module 210. For example, after the knowledge base update module 225 updates the knowledge stored in the knowledge base module 210 by using the target task attributes and inference model, the knowledge base module 210 further stores the newly added target task attributes and inference model while storing the known task attributes and task models. Through such a continuous / incremental machine learning mechanism (i.e., lifelong learning), etc., catastrophic forgetting of the task learning system 200, i.e., the existing knowledge becoming unknown due to loss after the existing knowledge is updated with new knowledge, can be avoided.
[0094] Of course, in another embodiment, the knowledge base updating module 225 may alternatively replace existing data (existing knowledge) stored in the knowledge base module 210 with new data (new knowledge). For example, when updating the knowledge stored in the knowledge base module 210 by using the target task attributes and the inference model, the knowledge base updating module 225 may replace the corresponding task attributes stored in the knowledge base module 210 with the target task attributes and replace the corresponding task model stored in the knowledge base module 210 with the inference model. The specific embodiment in which the knowledge base updating module 225 updates the knowledge stored in the knowledge base module 210 is not limited to this embodiment.
[0095] The knowledge base update module 225 may further update task information corresponding to another task associated with the unknown task in the knowledge base module 210. For example, when the inference module 224 performs inference on the input sample by using the inference model acquired through retraining, the knowledge base update module 225 may add the inference model and the input sample for training the inference model to the knowledge base module 210, and may further update another task model associated with the inference model (e.g., a task model having a sub-relationship or transition relationship with the inference model) by using the input sample. Specifically, the other task model may be retrained by using the input sample, and the task model acquired through retraining is tested by using some data sets to determine whether the performance of the task model acquired through retraining is improved, for example, to determine whether the inference accuracy of the task model is improved. In this case, if the performance of the task model acquired through retraining is good, the knowledge base update module 225 may replace the non-updated task model with the task model acquired through retraining. In contrast, if the performance of the task model obtained through retraining is not improved (or even deteriorated), the knowledge base updating module 225 may not update the known task model. In this manner, the knowledge base updating module 225 may be influenced by new knowledge and update the known knowledge stored in the knowledge base module 210 by using knowledge generated when the task learning system 200 processes an unknown task.
[0096] For example, the knowledge base update module 225 may update known knowledge stored in the knowledge base module 210 and influenced by new knowledge by using update methods such as knowledge inheritance, knowledge accumulation, knowledge merging, or knowledge remodeling.
[0097] Knowledge inheritance means that existing knowledge stored in the knowledge base module 210 continues to be used. For example, when the known knowledge stored in the knowledge base module 210 is not affected by new knowledge, the known knowledge (task attributes, task relations, task models, training samples, etc.) may continue to be used, i.e., may not be updated.
[0098] Knowledge accumulation means adding new knowledge completely to the knowledge base module 210. For example, when an unknown task is processed by using the inference model acquired through retraining, information such as the target task attribute of the unknown task, the inference model, the sample for training the inference model, the task relationship, and the task group may be added to the knowledge base module 210 as new knowledge. For example, the knowledge base module 210 may store five known models for predicting the energy consumption of chillers of different models (i.e., five chillers correspond to five known models), respectively. In this case, when the unknown task is to predict the energy consumption of a new chiller, the new inference model generated for the new chiller is significantly different from the five known task models, so that the inference model may be added to the knowledge base module 210. In this case, the knowledge base module 210 may store six task models. For example, when it is determined that the degree of match between the target task attribute and any task attribute stored in the knowledge base module 210 is less than a predetermined value, the knowledge base update module 225 may update the task attribute through knowledge accumulation.
[0099] Merging knowledge means merging new knowledge with existing knowledge stored in the knowledge base module 210. For example, when a target task attribute and a known task attribute stored in the knowledge base module 210 satisfy a sub-relationship, the target task attribute may be merged with the known task attribute, i.e., the attribute category of the known task attribute remains unchanged, and the number of attribute values increases. In another example, the knowledge base module 210 further stores five known models for predicting the energy consumption of different models of chillers, respectively. When the task learning system 200 predicts the energy consumption of a newly added sixth chiller, the attributes of the sixth chiller are different from the attributes of each of the other five chillers, but the model for predicting the sixth chiller is consistent with the known model for predicting the third chiller. In this case, the task attributes and samples stored in the knowledge base module 210 and used to predict the energy consumption task of the third chiller may be expanded to include the task attributes and samples of the third chiller and the sixth chiller. In this case, the number of known task models stored in the knowledge base module 210 remains unchanged, but the scope of applicability of the task models for predicting the energy consumption of the third chiller changes. For example, upon determining that the degree of match between the target task attribute and any one or more of the task attributes stored in the knowledge base module 210 is greater than a predetermined value, the knowledge base update module 225 may perform a knowledge update through knowledge merging.
[0100] Remodeling of knowledge means updating the known knowledge by using new knowledge and the known knowledge stored in the knowledge base module 210 (the updated knowledge may be different from the new knowledge). For example, after another task model associated with the inference model is retrained by using samples to train the inference model, the performance of the another task model is improved. In this case, the another task model obtained through retraining can be used to update the original another task model, that is, the remodeling of the another task model is completed. For example, in the above example, when new data in the third chiller is added to the knowledge base module 210, the known model may be retrained by using the training samples of the known model corresponding to the third chiller and the new data.
[0101] In one example, when updating the known knowledge stored in the knowledge base module 210, the knowledge base update module 225 may specifically update information such as task attributes, task relationships, task groups, models, and samples stored in the knowledge base module 210. In this case, the above update method may be updated with the corresponding knowledge as shown in Table 1.
[0102] [Table 1]
[0103] In Table 1, "continued use" means that existing knowledge continues to be used, i.e., the existing knowledge remains unchanged, and "update" means updating existing knowledge (including adding new knowledge and / or modifying existing knowledge based on existing knowledge).
[0104] An example of updating task attributes and task relationships is used: the knowledge base update module 225 may update task attributes in a tree format and update task relationships in a matrix format.
[0105] As shown in Figure 6, the knowledge base update module 225 may perform knowledge accumulation for task attributes and transition relationships. Specifically, before the update, the task attributes stored in the knowledge base module 210 are "Beijing",
number
[0106] Based on the aforementioned knowledge accumulation update shown in Fig. 6, when there is a new task attribute, the knowledge base update module 225 may continue to use the new task attribute to further update the structure tree and mobility matrix obtained through knowledge accumulation. As shown in Fig. 7, the knowledge base update module 225 may perform an update based on the new task attribute "Autumn Season in Shenzhen" through knowledge merging.
[0107] Specifically, because the temperature change in Shenzhen in summer is similar to the temperature change in Shenzhen in winter, the knowledge base updating module 225 may merge the task attribute “Summer in Shenzhen” with the task attribute “Autumn in Shenzhen” to obtain the task attribute “Summer in Shenzhen_Autumn”. In addition, the knowledge base updating module 225 may further perform corresponding calculations and update the mobility matrix, as shown in the right diagram of FIG. 7 .
[0108] In practical application, the knowledge base update module 225 may further adjust the known knowledge stored in the knowledge base module 210 based on the operation of the user or technical expert. For example, the user may perform annotation of inference results on the input sample, so that adjustments such as knowledge merging (e.g., merging samples) or knowledge remodeling (e.g., retraining the known task model by using the input sample) may be performed on the known knowledge by using the annotated input sample. Alternatively, how to adjust the known knowledge may be determined by using a pre-completed classifier. For example, information such as task attributes, task relations, and task groups may be used in advance as input, and the knowledge update scheme is used as output to complete the training of the classifier, so that the knowledge base update module 225 may use the classifier to output the update scheme based on the target task attributes corresponding to the current input sample, task relations, and the task group to which the current input sample belongs. For example, the classifier may determine the applicability of the inference model to perform inference on the input sample based on the task attributes, and determine the degree of match between the inference model and the known model based on the task relationships and task groups. Thus, the update scheme that may be output by the classifier is shown in Table 2.
[0109] [Table 2]
[0110] After the knowledge base update module 225 updates the known knowledge, the data stored in the knowledge base module 210 may be continuously accumulated and / or updated so that the task-learning system 200 can process many tasks and / or updated tasks, which improves the machine learning capabilities of the task-learning system.
[0111] Furthermore, the task learning system 200 in this embodiment may be deployed in a cloud (e.g., a cloud center), so that the machine learning service may be provided to a user in the form of a cloud service, or the task learning system 200 may be locally deployed, for example, on a local terminal or a local server, or the task learning system 200 may be deployed through edge-cloud collaboration. For ease of understanding, this embodiment provides two examples of deploying the task learning system 200 through edge-cloud collaboration, as shown in Figures 8 and 9, respectively.
[0112] 8, the knowledge base module 210 may be deployed in a cloud, and the knowledge base module 210 may include a knowledge base. The attribute definition module 221, the task determination module 222, the model determination module 223, the inference module 224, and the knowledge base update module 225 in the task learning system 200 may be deployed in an edge-side network close to the user.
[0113] In this deployment manner, the computation processes such as determining the target task attributes, determining unknown tasks, generating an inference model, and performing inference on the input sample can all be completed within the edge-side network, and the cloud can only be used for knowledge storage. In this way, in the process in which the task learning system 200 completes machine learning on the input sample, the original data (e.g., the input sample provided by the user and the intermediate data generated in the machine learning process) do not need to be uploaded to the cloud, thereby effectively reducing the risk of user privacy information leakage.
[0114] The task learning system 200 may further create one or more local knowledge bases in the edge-side network (e.g., create one local knowledge base in FIG. 8 ). The local knowledge base may be used to store some knowledge, for example, information of some tasks (e.g., common tasks of users), such as task attributes, task models, training samples of task models, task relationships, and task groups. When the task learning system 200 cannot find information, such as task attributes or task models, that match the inference task corresponding to the input sample in the local knowledge base, the task learning system may further determine whether the inference task is an unknown task based on the data stored in the knowledge base module 210 in the cloud. If it determines that the inference task is a known task based on the data in the local knowledge base, the task learning system 200 may directly perform inference on the known task by using the task models stored in the local knowledge base.
[0115] However, in the task learning system 200 shown in Fig. 9, some of the computational load may be shifted to the cloud, so that the inference accuracy of the input sample may be improved by using the data processing capacity of the cloud in the edge-side network with limited resources. Specifically, as shown in Fig. 9, the knowledge base module 210, the model determination module 223, and the knowledge base update module 225 may be located in the cloud, and the attribute definition module 221, the task determination module 222, and the inference module 224 may be located in the edge-side network. In this way, by using the computational capacity of the cloud, high inference accuracy may be achieved, and the resource consumption in the edge-side network may also be reduced, and the computational capacity requirement in the edge-side network may be reduced.
[0116] Of course, the edge-cloud collaborative deployment of the task-learning system 200 shown in Figures 8 and 9 is just an example. In practical application, the task-learning system 200 may be alternatively deployed in a manner other than that in the above example.
[0117] For example, the knowledge base module 210 may be deployed in the cloud, as shown in FIG. 8 and FIG. 9. In this way, based on cloud resources, the knowledge base module 210 may provide large-scale data such as models, samples, and other information, so that the task learning system 200 may easily identify the inference task corresponding to the input sample as a known task. This may improve the inference efficiency of the input sample and improve the inference accuracy of the input sample. In addition, even if the inference task corresponding to the input sample belongs to an unknown task, the knowledge base module 210 in the cloud may also provide data such as similar task models. Therefore, it is highly likely that the task learning system 200 may improve the inference effect of the unknown task based on the data.
[0118] Of course, the knowledge base module 210 may alternatively be deployed in the edge network, so that the attribute definition module 221, the task determination module 222, and the model determination module 223, which rely on the knowledge stored in the knowledge base module 210, can quickly acquire and process data, which can speed up the inference process for the input samples. In addition, the original data, such as the input samples provided by the user, can be stored in the edge network, and the privacy of the user data can be effectively protected.
[0119] However, in another embodiment, the knowledge base module 210 may be deployed in a distributed manner instead, i.e., a knowledge base with a large data scale may be deployed in the cloud, and multiple local knowledge bases with small data scale may be deployed in the edge-side network (e.g., different local knowledge bases may be deployed in different regions). In this way, by using the knowledge base deployed in the cloud with a large data scale, the task learning system 200 can easily identify the inference task corresponding to the input sample as a known task, and can also generate an inference model based on the data, such as a similar task model, for an unknown task. This may improve the inference effect of the input sample. In addition, the original data and calculation data acquired by each edge node may not need to be uploaded to the cloud knowledge base, and may be directly stored in the local knowledge base. This may effectively protect the privacy of user data.
[0120] The model determination module 223 may be deployed in the cloud as shown in Fig. 9, so that the cloud computational resources may be fully utilized. In particular, when the model determination module 223 retrains a model for an unknown task by combining known models, a large amount of storage and computational resources required by the model determination module may be shouldered by the cloud, thereby improving the efficiency of generating an inference model by the model determination module 223.
[0121] Of course, the model determination module 223 may alternatively be deployed in an edge-side network as shown in Figure 8, and may determine an inference model for performing inference on input samples by using the computational and storage resources of the edge-side network. In this way, the relevant data involved in the computational processing of the model determination module 223 may not be uploaded to the cloud, thereby the privacy of user data may be protected.
[0122] In another embodiment, the model determination module 223 may alternatively be deployed in a distributed manner. Specifically, the model determination module 223 may obtain known task models and corresponding training samples from different edge nodes in the edge-side network, so that the known task models and sample data can be used to generate corresponding inference models for inference tasks corresponding to input samples. In this way, the model determination module 223 can more easily obtain known task models that are similar to (or match) the inference model, and the inference accuracy of the input sample is improved. In addition, data involved in the process of the model determination module 223 generating an inference model may not need to be uploaded to the cloud, which may improve user privacy and data security.
[0123] The knowledge base updating module 225 may be deployed in the cloud, as shown in Figure 9. In this way, the knowledge base updating module 225 may update the knowledge stored in the knowledge base module 210 by using a lot of data, such as training samples and task models, and a lot of computing resources in the cloud to achieve a good updating effect.
[0124] Of course, the knowledge base updating module 225 may alternatively be deployed in the edge-side network, as shown in Figure 8. In this way, both the input samples and the intermediate data involved in the process of performing inference on the input samples may be located in the edge-side network, thereby effectively protecting the privacy of user data.
[0125] However, in another embodiment, the knowledge base update module 225 may be alternatively deployed in a distributed manner. Specifically, a function of updating the knowledge of unknown tasks may be deployed in an edge-side network, and a function of updating the affected known knowledge stored in the knowledge base module 210 by using the knowledge of unknown tasks is deployed in a cloud. This may effectively protect the privacy security of user data. In addition, the update function of the cloud may be connected to the update results of multiple edge-side networks, and the update results of multiple edge-side networks are used to update the data stored in the knowledge base module 210 in the cloud. This may improve the update effect of the known tasks (knowledge update scope is wide and accuracy is high) stored in the knowledge base module 210.
[0126] In the above example, the manner of deploying the knowledge base module 210, the model determination module 223, and the knowledge base update module 225 is described as an example. The attribute definition module 221, the task determination module 222, and the reasoning module 224 in the task learning system may also be deployed in the cloud and in the edge network as the above modules, or may be deployed in a distributed manner. Optionally, the attribute definition module 221, the task determination module 222, and the reasoning module 224 may all be deployed in the edge network. The above example is only used as an example to describe the deployment implementation of the task learning system 200. In practical application, complex or simplified deployment methods, etc. may be used. This is not limited in this embodiment.
[0127] For ease of understanding, the following describes in detail the technical solutions of one embodiment of the present application with reference to a specific application scenario.
[0128] The energy consumption cost of the chiller system accounts for a large proportion of the operating cost of the chiller system. Therefore, in the operating process of the chiller system, the energy consumption of the chiller system is usually expected to be reduced through machine learning. For example, the minimum energy consumption of the chiller system in various time periods in which the application requirements are met may be predicted by using a corresponding machine learning model, and energy consumption control may be implemented in the corresponding time periods based on the predicted energy consumption. This may avoid the situation where the excessively large energy consumption of the chiller system (exceeding the application requirements) causes unnecessary resource waste and increases the cost of the chiller system, and may also avoid the situation where the chiller cannot meet the application requirements due to the low energy consumption control.
[0129] For example, a task attribute that may be stored in the knowledge base module 210 includes a task attribute category “season” and an attribute value “winter”, and the stored task model is a task model for predicting energy consumption of a chiller during user work hours in winter (e.g., 9:00-12:30, 14:00-18:00). For example, the knowledge base module 210 temporarily stores only the operational energy consumption data (as a sample) of the chiller during user work hours in winter and the task model for predicting energy consumption.
[0130] In practical application, a user may expect that the task learning system 200 can predict the energy consumption of the chiller during the user's working hours in winter (in this case, the input sample provided by the user is the user's working hours in winter), and may also expect that the task learning system 200 can predict the energy consumption of the chiller during the user's lunch break in winter (e.g., 12:30-14:00) (in this case, the input sample provided by the user is the user's lunch break in winter), the energy consumption during the user's working hours in summer (in this case, the input sample provided by the user is the user's working hours in summer), the energy consumption during the user's lunch break in summer (in this case, the input sample provided by the user is the user's lunch break in summer), etc.
[0131] In this case, the attribute definition module 221 may determine the task attribute of the goal of the input sample based on the input sample provided by the user. The task attribute of the goal may be determined specifically based on the season and time period to which the input sample belongs. For example, when the input sample is a data item "predict the energy consumption of the chiller during lunch break in winter", the attribute definition module 221 may determine that the task attribute of the goal of the input sample is "winter". For specific implementation, please refer to the description of the preceding embodiment. Details will not be described here.
[0132] After the target task attributes of the input sample are determined, the task determination module 222 may determine whether the inference task corresponding to the input sample is a known task. For example, the task determination module 222 may determine whether the inference task corresponding to the input sample is a known task from two dimensions of the task attributes and the task model.
[0133] Specifically, the task determination module 222 may calculate a domain-match degree (DMD) between the target task attributes and the task attributes stored in the knowledge base module 210 to indicate the degree of match between the two task attributes. In addition, the task determination module 222 may further calculate a model-match degree (MMD) between the inference model of the input sample and the known task models stored in the knowledge base module 210 to indicate the degree of match between the two task models.
[0134] The range of values for the DMD and MMD may be set within the interval [0,1], and the values of the DMD and MMD may be discrete (e.g., only 0 or 1) or continuous (i.e., any value within the interval [0,1]).
[0135] When the value of the DMD is discrete, the task determination module 222 may calculate the minimum edit distance between the attribute value of the target task attribute and the attribute value of the task attribute stored in the knowledge base module 210, and determine whether the target task attribute matches the task attribute corresponding to each task in the knowledge base based on the minimum edit distance. Details are shown in Table 3.
[0136] [Table 3]
[0137] In one example, the task determination module 222 may measure the DMD by using the (minimum edit distance). In this case, if a user separately provides four different input samples (the target task attributes corresponding to the four input samples are "summer", "summer", "winter", and "winter", respectively), the DMDs corresponding to the four input samples respectively are shown in Table 3 ("1", "1", "0", and "0", respectively).
[0138] When the value of the DMD is continuous, the task determination module 222 may determine the value of the DMD by using a pre-trained unsupervised model (e.g., an unsupervised classifier), which may output the DMD between the target task attribute and the known task attribute.
[0139] The principle of outputting DMD by the unsupervised model based on the target task attribute may be shown in FIG. 10. The blocks in FIG. 10 may represent the knowledge base in the knowledge base module 210, and “1”, “2”, and “3” in FIG. 10 are the task attributes stored in the knowledge base module 210, and the same value indicates that the task attribute is aggregated into one category (each category is segmented by using the curve in FIG. 10), and “X” represents the target task attribute. In this case, the unsupervised model may calculate the similarity between the target task attribute and each cluster center. Suppose that the similarity between the target task attribute “X” and the cluster center of category 1 is 0.7, the similarity between the target task attribute “X” and the cluster center of category 2 is 0.2, and the similarity between the target task attribute “X” and the cluster center of category 3 is 0.1. In this case, the task determination module 222 may determine that DMD=max{0.7,0.2,0.1}=0.7.
[0140] Of course, the value of DMD may be calculated alternatively by using a supervised model. A specific embodiment is similar to the specific embodiment of calculating the value of DMD by using an unsupervised model. Please refer to the above description for understanding. Details are not repeated here.
[0141] In this embodiment, when the value of the DMD is greater than the predetermined similarity threshold, the task determination module 222 may determine that the target task attribute matches the known task attribute stored in the knowledge base module 210. However, when the value of the DMD is equal to or less than the predetermined similarity threshold, the task determination module 222 may determine that the target task attribute does not match the known task attribute stored in the knowledge base module 210. For example, assume that the predetermined similarity threshold is 0.5. Since DMD=0.7>0.5, the task determination module 222 may determine that the target task attribute matches the known task attribute stored in the knowledge base module 210.
[0142] When calculating the MMD, the task determination module 222 may pre-construct a confidence model for each known task model (of course, multiple known task models may alternatively share one confidence model, etc.). The input of the confidence model is a test sample, and the output is a predicted error rate for performing inference on the test sample by using the known task model. The predicted error rate may be marked, for example, by a person skilled in the art. In this way, the task determination module 222 may input the input sample into the confidence model corresponding to each known task model, and obtain the predicted error rate output by the confidence model to determine the MMD based on the predicted error rate output by each confidence model.
[0143] For example, as shown in Fig. 11, the multiple task models stored in the knowledge base module 210 may be divided into three groups, and the multiple task models in each group may share one confidence model. The task determination module 222 may input the input sample (i.e., "X" in Fig. 11) to confidence model 1, confidence model 2, and confidence model 3 stored in the knowledge base module 210, and each confidence model outputs a predicted error rate. Assuming that the ratios are 0.8 (confidence model 1), 0.7 (confidence model 2), and 0.3 (confidence model 3), respectively, the task determination module 222 may calculate the average value of the predicted error rates output by all confidence models and use the average value as the MMD, i.e., MMD = (0.8 + 0.7 + 0.3) / 3 = 0.6.
[0144] In this embodiment, when the value of MMD is greater than the predetermined error rate threshold, the task determination module 222 may determine that the inference model of the input sample does not match the known task model stored in the knowledge base module 210. However, when the value of DMD is equal to or less than the predetermined error rate threshold, the task determination module 222 may determine that the inference model of the input sample matches the known task model stored in the knowledge base module 210, i.e., the known task model can be used as the inference model to perform inference on the input sample. For example, assume that the predetermined error threshold is 0.5. Since MMD=0.6>0.5, the task determination module 222 may determine that the inference model of the input sample does not match the known task model stored in the knowledge base module 210.
[0145] Based on the DMD and the MMD, the task determination module 222 may determine whether the target task attributes match the known task attributes stored in the knowledge base module 210 based on the input sample, and determine whether the inference model of the input sample matches the known task model stored in the knowledge base module 210. Assume that four energy consumption prediction tasks of a chiller are currently stored, which are an energy consumption prediction task in winter working hours, an energy consumption prediction task in winter lunch break, an energy consumption prediction task in summer working hours, and an energy consumption prediction task in summer lunch break. In this case, for the four input samples (corresponding to the four energy consumption prediction tasks), the task determination module 222 may obtain the corresponding task attribute matching results and task model matching results as shown in Table 4 (the knowledge currently stored in the knowledge base module 210 is a task model for predicting the energy consumption generated by the chiller in winter working hours).
[0146] [Table 4]
[0147] Since the change in the number of people entering and leaving the campus during lunch break is large, the cooling capacity load of the chiller is greatly affected, so the energy consumption of the chiller during lunch break cannot be predicted by using existing work time prediction models.
[0148] For example, the task determination module 222 may determine that the energy consumption prediction task during winter working hours is a known task based on the result of the match between the task attributes and the task models shown in Table 4, and may perform prediction by using the existing task models in the knowledge base. The task determination module 222 may determine that the remaining three energy consumption prediction tasks are unknown tasks.
[0149] Then, for the known tasks, the task determination module 222 selects a corresponding known model from the knowledge base module 210 and sends the known model to the inference module 224, which then performs inference on the input samples belonging to "winter working hours" by using the known model. For each unknown task, the task determination module 222 may send the unknown task to the model determination module 223, so that the model determination module 223 determines a corresponding inference model for the unknown task.
[0150] In one example, the model determination module 223 may combine the training samples corresponding to different known models and stored in the knowledge base module 210, obtain a new task model through retraining by using the combined training samples, and use the new task model as an inference model for a (single) unknown task. For example, as shown in FIG. 12, when the model determination module 223 generates an inference model for an energy consumption prediction task during summer working hours, it may know through sample feature calculation that the energy consumption data of a chiller operating during summer nights and the energy consumption data of a chiller during winter working hours are both similar to the energy consumption results predicted by the energy consumption inference model. In this case, the model determination module 223 may use the energy consumption data during summer working hours (input sample) provided by the user as the center to find the data during summer nights and the data during winter working hours that are most similar to the energy consumption data during summer working hours, so that a new inference model may be obtained through retraining based on the found known sample from the energy consumption data (known sample) stored in the knowledge base module 210. When the known samples are structured data, the model determination module 223 may perform model training based on the found known samples to obtain a new inference model. When the known samples are unstructured data, if model training is performed, a large amount of computational resources may need to be consumed. Therefore, in order to reduce the amount of computation required by the model determination module 223 to generate a task model, the model determination module 223 may retrain the known model based on the known model in the knowledge base module 210 by using the found known samples, and use the known model obtained through retraining as an inference model. Then, the inference module 224 may perform inference on the input sample provided by the user by using the new inference model.
[0151] For example, the inference model may be determined by using equation (1).
number
[0152] where f new is the inference model obtained through combination, and f i is the model for the i-th attribute, and w i is the model weight value of the i-th attribute, and w i is the transition rate of the task model.
[0153] However, in another example, the model determination module 223 may alternatively combine known models to perform inference for a (single) unknown task by using multiple combined known models. For example, as shown in FIG. 13, when generating an inference model for an energy consumption prediction task during summer working hours, the model determination module 223 may find a known model A for predicting chiller energy consumption during summer nights and a known model B for predicting chiller energy consumption during winter working hours from the known models stored in the knowledge base module 210 based on the target task attributes and model transition rate. The known model is more suitable for inference for the input sample than another task model (i.e., may have high inference accuracy) stored in the knowledge base module 210. Therefore, the model determination module 223 may combine the task model A and the task model B and determine the combination as an inference model corresponding to the unknown task.
[0154] Correspondingly, when performing inference on the input sample based on the inference models, the inference module 224 may calculate the average value of the inference results output by task model A and task model B, and use the calculated average value as the final inference result of the input sample. Of course, in practical application, the specific implementation of the inference module 224 obtaining the inference result of the input sample based on multiple models is not limited to this example.
[0155] Finally, the knowledge base update module 225 may further update the knowledge (data such as task attributes and task models) stored in the knowledge base module 210. In this case, the knowledge base update module 225 may not need to perform re-learning based on all known knowledge and the knowledge about the newly added unknown task, but may update only a part of the known knowledge affected by the knowledge about the unknown task. Specifically, update methods such as knowledge inheritance, knowledge accumulation, knowledge merging, knowledge remodeling, etc. may be included. For example, based on Table 4, the knowledge update method of the knowledge base update module 225 may be shown in Table 5.
[0156] [Table 5]
[0157] In this embodiment, the knowledge base module 210 does not store the energy consumption prediction model of the chiller during winter lunch break, the energy consumption prediction model of the chiller during summer working hours, and the energy consumption prediction model of the chiller during summer lunch break, but the task learning system can automatically divide the energy consumption prediction task, generate a new inference model based on the known sample data (and the known model) stored in the knowledge base module 210, and complete the energy consumption prediction of the corresponding task by using the new inference model. This can effectively improve the inference effect of the unknown task, that is, improve the energy consumption prediction accuracy.
[0158] In the above embodiment, the technical solution of the present embodiment is described by using the example of predicting the energy consumption of a chiller. The technical solution of the present embodiment can also be applied to a safety helmet detection scenario.
[0159] The safety helmet detection system is generally a general and general-purpose artificial intelligence assistance system, and the construction site expects to identify whether the person in the surveillance camera is wearing a safety helmet through deep learning, so as to ensure the work safety of the construction engineers as much as possible. The task learning system 200 of the present embodiment may be incorporated into the safety helmet detection system, or the task learning system 200 is used as the safety helmet detection system.
[0160] In practical application, surveillance cameras are usually deployed in specific locations based on the construction progress, such as the entrance and exit of the construction site and the explicit passage of the construction site. However, as the construction progress changes, more surveillance cameras need to be deployed or the shooting angle of the existing surveillance cameras needs to be adjusted. Therefore, for the surveillance images of the newly added locations, the surveillance images obtained after the shooting angle is adjusted, etc., a safety helmet detection system is still needed to accurately identify whether the person in the surveillance image is wearing a safety helmet.
[0161] However, in different shooting scenarios, the attributes of the safety helmet identification task of the safety helmet detection system may change, and as a result, the accuracy of identifying the safety helmet by the known task model may be affected. In addition, even in the same shooting scenario, the accuracy of identifying the safety helmet may be affected by other factors (such as the brightness of the shooting light and the shooting angle). For example, assume that the known task model can perform safety helmet identification on a surveillance image taken by the surveillance camera 1 in the booth 1 (as shown in FIG. 14). In this case, the shooting brightness of the surveillance camera 1 is normal brightness. Therefore, the known knowledge stored in the knowledge base module 210 includes the known task attribute "booth 1" and the known model.
[0162] When the surveillance camera 1 performs "highlighting" processing (i.e., enhancing the brightness of the captured image) during shooting, in order to ensure the identification accuracy, a different model needs to be used to perform safety helmet identification for the surveillance image on which the "highlighting" processing is performed. In this case, the safety helmet identification task of the surveillance video on which the "highlighting" processing is performed is an unknown task with the same task attributes but a different task model.
[0163] When a new surveillance camera 2 is deployed in a new location (booth 2) and normal brightness is also used for shooting, the shooting angle, shooting brightness, etc. of surveillance camera 2 are similar to those of surveillance camera 1, so the known task model can be used to perform a safety helmet identification task in the surveillance footage shot at booth 2, i.e., an unknown task with different task attributes but the same task model. Correspondingly, the transfer of the task model is high.
[0164] However, when a new surveillance camera 3 is deployed in a construction site and normal brightness is used for shooting, the shooting location and shooting scenario are significantly different, so the safety helmet task in the surveillance footage captured by the surveillance camera 3 belongs to an unknown task with different task attributes and task models.
[0165] In the specific identification process of the safety helmet detection system, for an input sample (for example, a photographed video or a photographed image), the attribute definition module 221 may determine the target task attribute of the input sample. For example, the attribute definition module 221 may determine that the target task attribute is booth 1, booth 2, and construction site according to the location where the surveillance camera is deployed. For the specific implementation process of determining the target task attribute, please refer to the relevant description of determining the target task attribute in the above embodiment. Details are not repeated here.
[0166] Then, the task determination module 222 may perform unknown task determination on the inference task corresponding to the input sample. For example, the task determination module 222 may determine whether the inference task corresponding to the input sample is an unknown task from two dimensions of the task attribute and the task model. For the task attribute dimension, a value of DMD may be calculated. The DMD may be specifically the probability that the target task attribute is divided into known task attributes such as booth 1, booth 2, and construction site, or may be the cosine similarity between the vector feature of the target task attribute and the vector feature of each known task attribute. For the task model dimension, a value of MMD may be calculated. For example, the MMD may be calculated by using a confidence model corresponding to the known task model. For details, please refer to the related description above. Details will not be repeated here.
[0167] In this way, as shown in Table 6, based on the two dimensions of task attributes and task models, the matching results between each task attribute and each task model of the safety helmet identification task at normal brightness in booth 1, the safety helmet identification task at high brightness in booth 1, the safety helmet identification task at normal brightness in booth 2, and the safety helmet identification task at normal brightness in the construction site, as well as the corresponding unknown task determination results, can be determined.
[0168] [Table 6]
[0169] For the known tasks determined by the task determination module 222, the inference module 224 may perform safety helmet identification on the input sample by using the known model corresponding to Booth 1. For the unknown tasks determined by the task determination module 222, the model determination module 223 may generate a corresponding inference model for each unknown task. Specifically, the inference model may be generated by reusing the known task model, or by retraining the known task model, or by obtaining a new task model through training by using the training sample of the known model. For details, please refer to the related description in the preceding embodiment. Details will not be described here. For the inference model generated by the model determination module 223, the inference module 224 may perform inference on the input sample of the corresponding unknown task by using the inference model to obtain the inference result required by the user.
[0170] Furthermore, when the captured data of the surveillance camera is accumulated to meet a certain condition, the knowledge base update module 225 may be triggered to update the known task models and known task attributes stored in the knowledge base module 210. Specifically, the known knowledge stored in the knowledge base module 210 may be updated by the aforementioned update methods such as knowledge inheritance, knowledge accumulation, knowledge merging, and knowledge remodeling.
[0171] In this embodiment, the knowledge base module 210 does not store a model for detecting a safety helmet in a high-brightness monitoring image of the booth 1, a model for detecting a safety helmet in a normal-brightness monitoring image of the booth 2, and a model for detecting a safety helmet in a normal-brightness monitoring image of a construction site, but the task learning system can automatically divide the detection task, generate a new inference model based on the known sample data (and the known model) stored in the knowledge base module 210, and complete the safety helmet detection of the corresponding task by using the new inference model. This can effectively improve the inference effect of the unknown task, that is, improve the detection accuracy of the safety helmet.
[0172] The process in which task learning system 200 performs inference on an input sample provided by a user has been described above from the perspective of a system with reference to Figures 1 to 14. The specific process in which task learning system 200 performs inference on an input sample will be described below from the perspective of a method procedure with reference to Figure 15.
[0173] As shown in FIG. 15, the task learning method performed by the task learning system 200 may specifically include the following steps.
[0174] S101: The attribute definition module 221 receives an input sample provided by a user.
[0175] S102: The attribute definition module 221 determines target task attributes of the input sample based on the input sample and task attributes stored in the knowledge base module 210.
[0176] S103: The task determination module 222 determines whether the inference task corresponding to the input sample is an unknown task based on the target task attributes determined by the attribute definition module 221 and the task attributes and task models stored in the knowledge base module.
[0177] In one example, the task determination module 222 may determine a task, such as a known task or an unknown task, based on the difference between the task attributes of the target and the task attributes stored in the knowledge base module 210 .
[0178] The difference between task attributes may be, for example, the minimum edit distance between the attribute values. Alternatively, the degree of difference between task attributes is measured by using other information.
[0179] In another example, the task determination module 222 may select a task model associated with the target task attribute from the task models stored in the knowledge base module 210 based on the target task attribute, and perform inference on the input sample by using the selected task model, and determine whether the inference task corresponding to the input sample is an unknown task based on any one or more of the confidence, model transfer rate, and task model quality.
[0180] S104: Upon determining that the inference task corresponding to the input sample is a known task, the task determination module 222 may send the known task model to the inference module 224.
[0181] S105: The inference module 224 performs inference on the received input samples by using the received known task model, and feeds back the inference result.
[0182] S106: Upon determining that the inference task corresponding to the input sample is an unknown task, the task determination module 222 sends the target task attributes to the model determination module 223.
[0183] S107: The model determination module 223 generates a new inference model for the unknown task based on the received target task attributes and the task attributes and task models stored in the knowledge base module 210.
[0184] In one example, the model determination module 223 may determine multiple candidate task models within the task models stored in the knowledge base module 210 based on the target task attributes, and use the multiple candidate models as an inference model (in this case, the inference model is formed by combining multiple known task models).
[0185] In another example, the model determination module 223 may determine multiple candidate task models in the task model stored in the knowledge base module 210 based on the target task attributes, and further determine training samples corresponding to the multiple candidate task models stored in the knowledge base module 210, so that the model determination module 223 may retrain one or more candidate models based on the determined training samples, and use the candidate task models obtained through retraining as inference models. When one candidate task model is retrained by using the training samples, the inference model includes one model. When multiple candidate task models are retrained by using the training samples, the inference model includes multiple models.
[0186] In yet another example, the model determination module 223 may determine training samples corresponding to multiple candidate task models in the knowledge base module 210 based on target task attributes, perform retraining based on the determined training samples to obtain a new task model, and use the task model as an inference model.
[0187] In a further embodiment, the model determination module 223 may further generate a novel inference model for the unknown task by referring to the task relations (e.g., sub-relationships and / or transition relations) stored in the knowledge base module 210, the target task attributes, and the task attributes and task models stored in the knowledge base module 210.
[0188] S108: The model determination module 223 sends the generated inference model to the inference module 224.
[0189] S109: The inference module 224 performs inference on the received input samples by using the inference model sent by the model determination module 223, and feeds back the inference result.
[0190] When the inference model includes multiple models, the inference module 224 may perform inference on the input sample by using all the models to obtain the inference results output by all the models. The inference module 224 may then determine a final inference result from the inference results output by all the models, for example, through voting or averaging. However, when the inference model includes one model, the inference module 224 may use the output result of the model as the final inference result.
[0191] In this embodiment, the input sample received by the inference module 224 may be sent by the task determination module 222. Alternatively, when the inference task corresponding to the input sample is an unknown task, the input sample may be sent to the inference module 224 by the model determination module 223. Of course, in practical application, the input sample may alternatively be sent to the inference module 224 by another module (e.g., the attribute definition module 221). The specific implementation in which the inference module 224 obtains the input sample is not limited in this embodiment.
[0192] S110: The knowledge base update module 225 updates the knowledge stored in the knowledge base module 210.
[0193] In this embodiment, regardless of whether the inference task corresponding to the input sample belongs to a known task or an unknown task, the knowledge base update module 225 may update the known knowledge stored in the knowledge base module 210 by using data involved in the process of performing task learning on the input sample, where the update includes any one or more of knowledge inheritance, knowledge accumulation, knowledge merging, and knowledge remodeling.
[0194] It should be noted that the task learning method described in the method embodiment shown in Fig. 15 corresponds to the task learning system described in the above system embodiment. Therefore, for the specific implementation process of each of steps S101 to S110 and its technical effects, please refer to the relevant description of the above system embodiment. Details will not be repeated here.
[0195] The task learning system and the task learning method provided in the present application have been described in detail above with reference to Figures 1 to 15. The device provided in the present application will be described below with reference to Figure 16.
[0196] Based on the same inventive concept as the above-mentioned method, an embodiment of the present application further provides a device, which may also be a device such as a computer cluster with the above-mentioned task learning system 200. The device is configured to perform the functions of the task learning system 200 in the embodiment shown in FIG.
[0197] Figure 16 is a schematic diagram of the structure of a device 1600. As shown in Figure 16, the device 1600 includes a bus 1601, a processor 1602, a communication interface 1603, and a memory 1604. The processor 1602, the memory 1604, and the communication interface 1603 communicate with each other via the bus 1601.
[0198] The bus 1601 may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, etc. The buses may be classified as address buses, data buses, control buses, etc. For ease of representation, only one bold line is used in the representation of FIG. 16, but this does not mean that there is only one bus or only one type of bus.
[0199] The processor 1602 may be any one or more processors, such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), a digital signal processor (DSP), or the like.
[0200] The communication interface 1603 is configured to communicate with the outside world. For example, the communication interface 1603 may receive input samples provided by a user terminal and transmit inference results to the user terminal.
[0201] The memory 1604 may include volatile memory, such as random access memory (RAM), and may further include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0202] The memory 1604 stores executable code, and the processor 1602 executes the executable code, to implement the task-learning methods described above.
[0203] Specifically, when the embodiment shown in FIG. 2 is implemented, the modules in the task learning system 200 described in the embodiment of FIG. 2 are implemented by using software, and the software or program code necessary to carry out the functions performed by the knowledge base module 210, the attribute definition module 221, the task determination module 222, the model determination module 223, the inference module 224, and the knowledge base update module 225 of FIG. 2 are stored in the memory 1604.
[0204] The communication interface 1603 may receive input samples sent by a user terminal, and then the communication interface 1603 transmits the input samples to the processor 1602 through the bus 1601. To perform a step of determining whether an inference task corresponding to an input sample is an unknown task or another step, the processor 1602 executes program codes corresponding to each module and stored in the memory 1604, for example, program codes corresponding to the task determination module 222.
[0205] In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which may implement or perform the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed with reference to the embodiments of the present application may be directly performed by a hardware processor, or may be performed by using a combination of hardware and software modules in the processor.
[0206] A coupling in the embodiments of this application is an indirect coupling or communication connection between devices, units, or modules, which may be electrical, mechanical, or in another form, and is used for the exchange of information between devices, modules, and modules.
[0207] The processor may cooperate with a memory. The memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory, such as a random-access memory (RAM). The memory may be any medium, including but not limited to, that can carry or store expected program code in the form of instructions or data structures and that can be accessed by a computer.
[0208] The specific connection medium between the communication interface, the processor, and the memory is not limited in the embodiments of the present application. For example, the memory, the processor, and the communication interface may be connected through a bus. The bus may be classified into an address bus, a data bus, a control bus, etc.
[0209] Based on the above-mentioned embodiment, an embodiment of the present application further provides a computer storage medium. The storage medium stores a software program. When the software program is read and executed by one or more processors, the method implemented by the task learning system 200 provided in any one or more of the above-mentioned embodiments may be implemented. The computer storage medium may include any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0210] Based on the above embodiment, an embodiment of the present application further provides a chip. The chip includes a processor configured to perform the functions of the task learning system 200 in the above embodiment. Optionally, the chip further includes a memory, and the memory is configured to store necessary program instructions and data executed by the processor. The chip may include a chip, or may include a chip and other individual devices.
[0211] Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system, or a computer program product. Thus, the present application may use the form of a hardware-only embodiment, a software-only embodiment, or an embodiment involving a combination of software and hardware. In addition, the present application may use the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.
[0212] The present application will be described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that computer program instructions may be used to implement each process and / or each block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams. These computer program instructions may be provided for a processor for a general-purpose computer, a special-purpose computer, an embedded processor, or another programmable data processing device to create a machine, whereby the instructions executed by the computer or by the processor of another programmable data processing device create an apparatus that performs the specified functions in one or more processes in the flowcharts and / or in one or more blocks in the block diagrams.
[0213] These computer program instructions may alternatively be stored in a computer-readable memory that can cause a computer or another programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus that performs a particular function in one or more processes in the flowcharts and / or in one or more blocks in the block diagrams.
[0214] The computer program instructions may alternatively be loaded into a computer or another programmable data processing device such that a sequence of operations and steps are performed on the computer or another programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or another programmable device provide steps for implementing a particular function in one or more processes in the flowcharts and / or in one or more blocks in the block diagrams.
[0215] In the specification, claims, and accompanying drawings of this application, the terms "first," "second," etc. are intended to distinguish between similar items, but do not necessarily denote a particular order or sequence. It is to be understood that terms so used are interchangeable in appropriate circumstances, and are merely a distinguishing manner for describing items having the same attributes in the embodiments of this application.
[0216] It is obvious that those skilled in the art may make various modifications and variations to the embodiments of the present application without departing from the scope of the embodiments of the present application. Therefore, the present application intends to cover these modifications and variations of the embodiments of the present application, provided that they fall within the scope of protection defined by the following claims and their equivalent technologies. [Explanation of symbols]
[0217] 1. Reliability model, surveillance camera, booth, category 2. Reliability model, surveillance camera, booth, category 3. Reliability Model, Surveillance Camera, Category 101 users 102 Knowledge Base 200 Task Learning System 210 Knowledge Base Module 220 Task Processing Device 221 Attribute Definition Module 222 Task Decision Module 223 Model Decision Module 224 Inference Module 225 Knowledge Base Update Module 1600 devices 1601 Bus 1602 processor 1603 Communication Interface 1604 Memory
Claims
1. 1. A task-learning system, comprising: A knowledge base module and a task processing device, the knowledge base module is configured to store task attributes and task models corresponding to the task attributes; the task processor is configured to obtain input samples; the task processor is configured to determine that the inference task corresponding to the input sample is an unknown task based on a difference between a target task attribute and a task attribute stored in the knowledge base module; or The task processing device is configured to determine that an inference task corresponding to the input sample is an unknown task based on any one or more of a confidence level of performing inference on the input sample by using each task model, a model transfer rate, and a task model quality; The system, wherein the task processing device is further configured to, when the inference task corresponding to the input sample is the unknown task, generate an inference model for the unknown task based on task attributes and a corresponding task model stored in the knowledge base module, and perform inference on the input sample by using the inference model to obtain a target inference result.
2. 2. The system of claim 1, wherein the task processor is further configured to: determine target task attributes of the input sample based on the input sample and the task attributes of the input sample; and determine that the inference task corresponding to the input sample is the unknown task based on the target task attributes, the task attributes and the corresponding task model stored in the knowledge base module.
3. 3. The system of claim 2, wherein the task processor is configured to generate the inference model for the unknown task based on task attributes of the target and the task attributes and the corresponding task model stored in the knowledge base module.
4. the knowledge base module is further configured to store task relations, the task relations including sub-relationships and / or transition relations; 4. The system of claim 3, wherein the task processor is configured to generate the inference model for the unknown task based on task attributes of the target, the task attributes and the task model stored in the knowledge base module, and the task relationships.
5. The system of claim 3 , wherein the task processor is configured to determine a plurality of candidate task models within the task model based on task attributes of the target, and use the plurality of candidate task models as the inference model.
6. the knowledge base module is further configured to store training samples corresponding to the task attributes; The task processing device, determining training samples corresponding to a plurality of candidate task models in the task model based on the target task attributes; 4. The system of claim 3, configured to retrain one or more candidate task models based on the training samples corresponding to the plurality of candidate task models, and use the one or more candidate task models obtained through retraining as the inference model.
7. the knowledge base module is further configured to store training samples corresponding to the task attributes; The task processing device, determining training samples corresponding to a plurality of candidate task models in the task model based on the target task attributes; 4. The system of claim 3, configured to: perform training based on the training samples corresponding to the plurality of candidate task models, respectively, to obtain a new task model; and use the new task model as the inference model.
8. The task processing device includes a model determination module and an inference module, the model determination module is deployed in a cloud or an edge-side network, and the inference module is deployed in the edge-side network; the model determination module is configured to, when the inference task corresponding to the input sample is an unknown task, generate the inference model for the unknown task based on the task attributes and the corresponding task model; The system of claim 1 , wherein the inference module is configured to perform inference on the input samples by using the inference model to obtain the target inference result.
9. The task processing device further includes an attribute definition module and a task determination module, the attribute definition module and the task determination module being deployed in an edge side network; the attribute definition module is configured to determine the target task attributes of the input sample based on the input sample and the task attributes of the input sample stored in the knowledge base module; 9. The system of claim 1, wherein the task determination module is configured to determine that the inference task corresponding to the input sample is an unknown task based on task attributes of the target and the task attributes and the corresponding task model stored in the knowledge base module.
10. The system of claim 1 , wherein the knowledge base module is deployed in the cloud.
11. 11. The system of claim 1, wherein the task processing device is further configured to update task attributes and task models stored in the knowledge base module based on the target task attributes of the input sample and the inference model.
12. 12. The system of claim 11, wherein the task processor is configured to add the target task attributes and the inference model to the knowledge base module such that the knowledge base module simultaneously stores existing task attributes, the target task attributes, the task model, and the inference model.
13. The system of claim 11 , wherein the task processor is configured to replace corresponding task attributes in the knowledge base module with the target task attributes and to replace corresponding task models in the knowledge base module with the inference models.
14. The task processing device includes a knowledge base updating module, and the knowledge base updating module is deployed in a cloud or an edge side network; 14. The system of claim 12 or 13, wherein the knowledge base update module is configured to update the task attributes and the task model stored in the knowledge base module based on the target task attributes of the input sample and the inference model.
15. When the inference model includes a plurality of models, the task processing device: performing inference on the input samples by using all of the models to obtain inference results output by all of the models; 15. The system of claim 1 , configured to determine an inference outcome for the goal among the inference outcomes output by all of the models.
16. 1. A task learning method, comprising: obtaining input samples; determining that the inference task corresponding to the input sample is an unknown task based on a difference between a target task attribute and task attributes in a knowledge base; or determining that an inference task corresponding to the input sample is an unknown task based on any one or more of a confidence in performing inference on the input sample by using a task model, a model transfer rate, and a task model quality; when the inference task corresponding to the input sample is the unknown task, generating an inference model for the unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes; and performing inference on the input samples by using the inference model to obtain a target inference result.
17. determining the target task attributes of the input sample based on the input sample and the task attributes of the input sample; 17. The method of claim 16, further comprising: determining that the inference task corresponding to the input sample is the unknown task based on task attributes of the target and the task attributes and the task model in the knowledge base.
18. The method of claim 17, further comprising: generating an inference model for the unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes, the step of:
20. The method of claim 17, further comprising generating the inference model for the unknown task based on task attributes of the target and the task attributes and the task model in the knowledge base.
19. The knowledge base further stores task relations, the task relations including sub-relationships and / or transition relations; generating an inference model for the unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes, 20. The method of claim 18, further comprising generating the inference model for the unknown task based on task attributes of the target, the task attributes and the task model in the knowledge base, and the task relationships.
20. The step of generating an inference model for the unknown task based on task attributes in the knowledge base and a task model corresponding to the task attributes, comprising:
20. The method of claim 18, comprising determining a plurality of candidate task models within the task model based on the target task attributes, and using the plurality of candidate task models as the inference models.
Citation Information
Patent Citations
Task allocating method and device, program and recording medium
JP2002312337A
Information management server system, terminal device, information management system and information management method
JP2007065911A
Systems and techniques for predictive data analysis
JP2017520068A
Work management device, its control method, and program
JP2020064358A
