| CPC G06F 16/2272 (2019.01) | 19 Claims |

|
1. A method for operating a first device in a machine-to-machine (M2M) system, the method comprising:
receiving, from a second device having a labeling tool, a first message for discovering resources for data labeling;
transmitting, to the second device, a second message including a resource for unlabeled raw data stored in the first device, the resource for the unlabeled raw data including the unlabeled raw data;
receiving, from the second device, a third message requesting to perform data labeling, the third message including information related to a label for the unlabeled raw data;
performing the data labeling of the unlabeled raw data for training an artificial intelligence (AI) model and updating the resource for the unlabeled raw data based on the information related to the label using a reference ontology;
storing the updated resource as training data based on a structure of the updated resource;
in response to a fourth message from a third device for retrieving labeled data, transmitting the updated resource to the third device, wherein the updated resource is used as learning data for training the artificial intelligence (AI) model in the third device; and
training the AI model to perform a predictive operation using the labeled data, determine a loss value based on the labeled data, and update the AI model based on the loss value,
wherein the structure of the updated resource includes a first attribute indicating that the data is for training, a second attribute indicating a type of labeling for the unlabeled raw data, a third attribute indicating a format of labeling for the unlabeled raw data, a fourth attribute containing annotation contents for the unlabeled raw data based on the format of labeling, and a fifth attribute indicating the reference ontology used to label the unlabeled raw data, and
wherein the information related to the label for the unlabeled raw data comprises annotations obtained through the labeling tool of the second device.
|