WO2019171443A1 - Machine learning-trained model update system, edge device, machine learning-trained model update method, and program - Google Patents

Machine learning-trained model update system, edge device, machine learning-trained model update method, and program Download PDF

Info

Publication number
WO2019171443A1
WO2019171443A1 PCT/JP2018/008419 JP2018008419W WO2019171443A1 WO 2019171443 A1 WO2019171443 A1 WO 2019171443A1 JP 2018008419 W JP2018008419 W JP 2018008419W WO 2019171443 A1 WO2019171443 A1 WO 2019171443A1
Authority
WO
WIPO (PCT)
Prior art keywords
learned model
machine
edge device
internet
new machine
Prior art date
Application number
PCT/JP2018/008419
Other languages
French (fr)
Japanese (ja)
Inventor
篤 古城
将仁 谷口
Original Assignee
株式会社ウフル
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社ウフル filed Critical 株式会社ウフル
Priority to PCT/JP2018/008419 priority Critical patent/WO2019171443A1/en
Publication of WO2019171443A1 publication Critical patent/WO2019171443A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N99/00Subject matter not provided for in other groups of this subclass

Definitions

  • the present invention relates to a technique for updating a machine-learned model installed in an edge device, and is used in the field of IoT (Internet of Things).
  • IoT Internet of Things
  • Patent Document 1 a technique for updating a model of a machine learning system is provided.
  • a machine learning system model is trained in a single device, but an edge device that does not have the processing capability to train a machine-learned model is machine-learned by itself. Unable to train the system model.
  • a server may update the machine-learned model and provide the updated model to the edge device via the Internet.
  • some medical devices and devices installed in factories are not connected to the Internet from the viewpoint of protecting personal information and ensuring security. For such devices, the installed machine-learned model cannot be updated by the method described above.
  • An object of the present invention is to provide a mechanism for updating a machine-learned model installed in an edge device that is not connected to the Internet to a machine-learned model provided via the Internet.
  • the present invention provides a machine-learned model installed in an edge device that is not connected to the Internet when the edge device is connected to the Internet via a communication device connected to the Internet.
  • a machine-learned model update system for updating to a new machine-learned model provided via the Internet is provided.
  • the present invention is an edge device that is not connected to the Internet, and the machine-learned model according to claim 1 when the device is connected to the Internet via a communication device connected to the Internet.
  • An edge device is provided that acquires the new machine-learned model from the update system via the Internet and replaces the installed machine-learned model with the new machine-learned model.
  • the present invention provides a machine-learned model that is installed on an edge device that is not connected to the Internet when the edge device is connected to the Internet via a communication device connected to the Internet. Is updated to a new machine-learned model provided via the Internet.
  • the present invention relates to a machine installed in an edge device that is not connected to the Internet when the edge device that is not connected to the Internet is connected to the Internet via a communication device connected to the Internet.
  • a program for executing a step of updating a learned model to a new machine-learned model provided via the Internet is provided.
  • a machine-learned model installed on an edge device that is not connected to the Internet can be updated to a machine-learned model provided via the Internet.
  • FIG. 2 is a diagram illustrating an example of a hardware configuration of a server 110.
  • FIG. 2 is a diagram illustrating an example of a functional configuration of a server 110.
  • FIG. 2 is a diagram illustrating an example of a hardware configuration of an edge device 130.
  • FIG. 3 is a diagram illustrating an example of a functional configuration of an edge device 130.
  • FIG. 5 is a sequence chart showing an example of an operation of the machine learning completed model update system 100. It is a figure which shows an example of the posting information 410.
  • FIG. It is a figure which shows an example of the machine learning completed model update system 200 which concerns on a modification. It is a figure which shows an example of a function structure of the server 110 which concerns on a modification.
  • FIG. 1 is a diagram illustrating an example of a machine-learned model update system 100 according to the present embodiment.
  • the machine-learned model update system 100 is a system that updates a machine-learned model installed in an edge device 130 that is not connected to the Internet. This “installation” means that the computer is stored and ready for use.
  • the machine learning completed model update system 100 includes a server 110, a communication device 120, and a plurality of edge devices 130.
  • the number of each apparatus shown in FIG. 1 is an illustration, and is not limited to this.
  • the server 110 and the communication device 120 are connected via a communication network 140.
  • the communication network 140 includes the Internet.
  • the plurality of edge devices 130 are not connected to the communication network 140.
  • FIG. 2 is a diagram illustrating an example of a hardware configuration of the server 110.
  • the server 110 is a device that generates a machine-learned model using learning data and provides the generated machine-learned model to the edge device 130.
  • the server 110 is a computer including a processor 111, a memory 112, a storage 113, and a communication unit 114, for example. These devices are connected via a bus 115.
  • the processor 111 executes various processes by reading the program into the memory 112 and executing it.
  • the processor 111 may be configured by, for example, a CPU (Central Processing ⁇ ⁇ ⁇ Unit).
  • the memory 112 stores a program executed by the processor 111.
  • the memory 112 may be configured by, for example, a ROM (Read Only Memory) or a RAM (Random Access Memory).
  • the storage 113 stores various data and programs.
  • the storage 113 may be configured by, for example, a hard disk drive or a flash memory.
  • the storage 113 stores a server program for realizing the function of the server 110.
  • the communication unit 114 is a communication interface connected to the communication network 140.
  • the communication unit 114 performs data communication via the communication network 140.
  • FIG. 3 is a diagram illustrating an example of a functional configuration of the server 110.
  • the server 110 includes a generation unit 211, a posting unit 212, an edge device authentication unit 213, and a control unit 214. These functions are realized by the processor 111 performing calculations or controlling communication by the communication unit 114 in cooperation with the server program stored in the memory 112 or the storage 113 and the processor 111 that executes the server program. Is done.
  • the generation unit 211 generates a new machine learned model corresponding to the machine learned model installed in the edge device 130 (hereinafter referred to as “new machine learned model”).
  • the new machine-learned model is generated by machine learning of learning data using a learning device, for example.
  • the new machine-learned model may be an improved model of at least a part of the machine-learned model, for example, a machine-learned model that is updated to improve accuracy.
  • the new machine-learned model may be a modified machine-learned model so that a new purpose can be achieved.
  • the learning data is data used for machine learning. For the learning data, for example, sensor data output from various sensors connected to the Internet is used.
  • the posting unit 212 posts to the edge device 130 that there is a new machine learned model.
  • This “posting” means presenting information.
  • This posting may be realized, for example, by storing information indicating that there is a new machine learned model in the storage 113.
  • the edge device authentication means 213 authenticates the edge device 130 using the authentication key and ID (Identification) of the edge device 130.
  • the authentication key is information used for authentication of the edge device 130.
  • the ID is information for identifying the edge device 130.
  • the authentication key and ID of the edge device 130 are stored in the storage 113 in advance, for example.
  • the control means 214 controls the edge device 130 to acquire a new machine learned model and update the machine learned model.
  • This “update” means replacing a machine-learned model with a new one.
  • This control may be realized by, for example, acquiring a new machine learned model and transmitting a control signal for updating the machine learned model.
  • the communication device 120 is a device having a communication function such as a smartphone, a tablet terminal, or a personal computer.
  • the communication device 120 is carried by the user and moves.
  • the communication device 120 is connected to the server 110 via the communication network 140.
  • the communication device 120 is connected to the edge device 130 via a communication network 150 different from the communication network 140.
  • the communication network 150 is, for example, a wireless network.
  • the communication network 150 is not limited to a wireless network, and may be a wired network.
  • the communication device 120 relays data exchange performed between the edge device 130 and the server 110. At this time, the communication device 120 communicates with the edge device 130 according to a predetermined communication standard.
  • the predetermined communication standard is a short-range wireless communication standard such as Wi-Fi (registered trademark), Bluetooth (registered trademark), ZigBee (registered trademark), or the like.
  • the predetermined communication standard is not limited to the short-range wireless communication standard, and may be a long-range wireless communication standard or a wired communication standard.
  • FIG. 4 is a diagram illustrating an example of a hardware configuration of the edge device 130.
  • the edge device 130 is not connected to the Internet, and performs a predetermined process using a machine-learned model.
  • the edge device 130 is a device such as a dialysis machine not connected to the Internet, an MRI (Magnetic Resonance Imaging) device, a CT (computed Tomography) scan, a medical device such as an electronic medical record system, and various devices installed in a factory.
  • the edge device 130 is not limited to these devices, and may be any device as long as it performs processing using a machine-learned model.
  • the edge device 130 is a computer including a processor 131, a memory 132, a storage 133, and a communication unit 134, for example. These devices are connected via a bus 135. Since the processor 131, the memory 132, the storage 133, the communication unit 134, and the bus 135 are the same as the processor 111, the memory 112, the storage 113, the communication unit 114, and the bus 115 described above, description thereof is omitted. However, the communication unit 134 is a communication interface connected to the communication network 150. When connected to the communication network 150, the communication unit 134 performs data communication via the communication network 150. In addition, the storage 133 stores a client program for realizing the function of the edge device 130 and a machine-learned model used for processing executed in the edge device 130.
  • FIG. 5 is a diagram illustrating an example of a functional configuration of the edge device 130.
  • the edge device 130 includes a connection unit 231, a server authentication unit 232, a confirmation unit 233, an acquisition unit 234, a replacement unit 235, and a processing unit 236. These functions are realized by the processor 131 performing calculations or controlling communication by the communication unit 134 in cooperation with the client program stored in the memory 132 or the storage 133 and the processor 131 that executes the program program. Is done.
  • the connection unit 231 establishes a connection with the communication device 120 via the communication network 150.
  • the connection is established when the edge device 130 enters the communication range of the communication device 120 by moving the communication device 120, for example.
  • the server authentication unit 232 authenticates the server 110 using the authentication key of the server 110.
  • the authentication key is information used for authentication of the server 110.
  • the authentication key is stored in the storage 133 in advance, for example.
  • the confirmation unit 233 is connected to the communication network 140 via the communication device 120, and based on the posted content of the server 110, the new machine learning corresponding to the machine learned model installed in the edge device 130 Check if there is a finished model. This confirmation may be performed by accessing the posting information 410 stored in the storage 113 of the server 110, for example.
  • the acquisition unit 234 acquires a new machine learned model from the server 110. More specifically, the acquisition of the new machine-learned model is performed by pull distribution. That is, the new machine learned model is transmitted in response to a request from the acquisition unit 234. At this time, the new machine learned model may be transmitted using an encrypted communication method.
  • This encrypted communication method refers to a communication method in which data is encrypted for communication.
  • a known encrypted communication method such as SSL (Secure Sockets Layer) or TLS (Transport Layer Security) may be used.
  • the replacement unit 235 obtains the new machine learning obtained by the obtaining unit 234 according to the control by the control unit 214 of the server 110 and the machine learned model stored in the storage 133 (hereinafter also referred to as “current machine learned model”). Replace with a completed model.
  • This replacement means making the new machine learned model usable in place of the current machine learned model.
  • the replacement may be realized, for example, by storing the new machine learned model in the storage 133 and setting the new machine learned model to be used instead of the current machine learned model. At this time, the current machine learned model stored in the storage 133 may be deleted or stored as it is.
  • the processing unit 236 executes a predetermined process using the new machine learned model replaced by the replacement unit 235.
  • the predetermined process may be different for each edge device 130.
  • the predetermined process may be a process of capturing a tomographic image inside the body.
  • the predetermined process may be a process of creating an electronic medical record.
  • FIG. 6 is a sequence chart illustrating an example of the operation of the machine-learned model update system 100.
  • the communication device 120 and the edge device 130 correspond to Bluetooth (registered trademark) and are paired in advance.
  • communication between the communication device 120 and the edge device 130 is performed according to Bluetooth (registered trademark).
  • the server 110 generates a new machine-learned model by causing the generation unit 211 to machine-learn the learning data using a learning device (step 301).
  • the new machine-learned model may be, for example, a model obtained by improving the accuracy of the current machine-learned model, or may be a model obtained by modifying the current machine-learned model so that a new analysis can be performed.
  • This new machine learned model is stored in the storage 113.
  • the server 110 causes the bulletin board 212 to store bulletin information 410 indicating that there is a new machine learned model in the storage 113 (step 302).
  • FIG. 7 is a diagram illustrating an example of the bulletin information 410.
  • a new machine learned model for the edge device 130 with the device ID “001” is generated.
  • the device ID “001” information “Yes” indicating that there is a new machine learned model
  • the acquisition destination of this new machine learned model, that is, the new machine learned model is stored in the storage 113.
  • An address “http://www.example.com/M001” indicating the location is stored in association with each other.
  • the user When updating the machine-learned model of the edge device 130 whose device ID is “001”, the user approaches the edge device 130 with the communication device 120.
  • the edge device 130 enters the communication range of the communication device 120, the edge device 130 establishes a connection with the communication device 120 via the communication network 150 by the connection means 231 (step 303).
  • the edge device 130 is connected to the communication network 140 via the communication device 120.
  • the state of being connected to the communication network 140 via the communication device 120 is not directly connected to the communication network 140, but communication via the communication network 140 is possible when the communication device 120 relays. State.
  • the server authentication means 232 authenticates the server 110 using the authentication key of the server 110 (step 304). Specifically, the authentication key of the server 110 is stored in advance in the storage 133, for example.
  • the edge device 130 transmits an authentication key (hereinafter referred to as “target authentication key”) stored in the storage 133 to the communication device 120.
  • target authentication key an authentication key stored in the storage 133 to the communication device 120.
  • the communication device 120 transmits the target authentication key to the server 110.
  • the server 110 transmits a response indicating that to the communication device 120.
  • the communication device 120 transmits this response to the edge device 130.
  • the server authentication unit 232 authenticates the server 110.
  • the server 110 is not authenticated and the subsequent processing is not performed.
  • transmitting data to the communication device 120 and transferring the data to the server 110 or the edge device 130 is referred to as “transmitting via the communication device 120”.
  • the server 110 authenticates the edge device 130 by the edge device authentication means 213 using the authentication key and ID of the edge device 130 (step 305). Specifically, the authentication key and ID of the edge device 130 are stored in advance in the storage 113, for example.
  • the server 110 transmits the authentication key and ID stored in the storage 113 (hereinafter referred to as “target authentication key and ID”) to the edge device 130 via the communication device 120.
  • target authentication key and ID are the authentication key and ID of the edge device 130
  • the edge device 130 transmits a response indicating that to the server 110 via the communication device 120.
  • the edge device authentication unit 213 authenticates the edge device 130.
  • the edge device 130 is not authenticated and the subsequent processing is not performed.
  • the edge device 130 accesses the bulletin information 410 stored in the storage 113 via the communication device 120 by the confirmation unit 233 (step 306). Subsequently, the edge device 130 determines whether or not there is a new machine learned model corresponding to the machine learned model installed in the edge device 130 based on the posting information 410 (step 233). 307).
  • the bulletin information 410 stores information “Yes” indicating that there is a new machine learned model in association with the device ID “001”. In this case, it is determined that there is a new machine learned model generated for the edge device 130 (YES in step 307), and the process proceeds to the next step.
  • information “none” indicating that there is no new machine learned model is stored in association with the device ID “001”, there is no new machine learned model generated for the edge device 130. Is determined (NO at step 307), and the process ends.
  • the server 110 acquires a new machine learned model using a predetermined encrypted communication method, and makes the current machine learned model stored in the storage 133 a new machine learned model.
  • a control signal for replacement is transmitted from the control unit 214 to the edge device 130 whose device ID is “001” via the communication device 120 (step 308).
  • the edge device 130 When receiving the control signal, the edge device 130 uses the predetermined encrypted communication method in accordance with the control signal, and “http://www.example.com/M001” included in the posting information 410 shown in FIG.
  • the new machine learned model is acquired by the acquiring unit 234 from the location indicated by the address (step 309). Specifically, a request for acquiring a new machine learned model is transmitted to the server 110 via the communication device 120, and the new machine learned model transmitted from the server 110 via the communication device 120 in response to the request is transmitted. Received by the acquisition means 234.
  • the edge device 130 replaces the current machine-learned model stored in the storage 133 with the new machine-learned model by the replacing unit 235 according to the received control signal (step 310). Specifically, the new machine learned model is stored in the storage 133 instead of the current machine learned model, and the new machine learned model is used instead of the current machine learned model.
  • the edge device 130 executes a predetermined process by the processing unit 236 using the new machine-learned model (step 311).
  • “storage 113”, “ID of edge device 130”, and “new machine learned model” are “storage means”, “identification information”, and “new machine” according to the present invention, respectively. Used as a “learned model”.
  • the machine-learned model installed in the edge device 130 that is not directly connected to the Internet by communicating with the server 110 via the communication device 120 connected to the Internet, It is possible to update to a new machine learned model provided from the server 110.
  • the generation of a new machine-learned model requires a high processing capability.
  • the edge device 130 since the server 110 generates a new machine-learned model, the edge device 130 has a high processing capability. You don't have to.
  • the bulletin information 410 and the new machine learned model are transmitted in response to pull distribution from the edge device 130, that is, in response to a request from the edge device 130.
  • the server 110 adopts a push distribution, that is, a configuration in which the server 110 transmits the data without requesting it from the edge device 130
  • the edge device 130 impersonates the server 110 as well as the server 110. It is also possible to receive information transmitted by push-side distribution from other devices. In this case, there is a risk that damage is caused by information transmitted by another malicious device.
  • the data is pulled from the server 110, that is, when the data is transmitted from the server 110 in response to a request from the edge device 130, such a risk is reduced, so that information security is high.
  • a risk is reduced, so that information security is high.
  • the server 110 since the server 110 is authenticated by the edge device 130, it is possible to prevent impersonation of the server 110 by another malicious device. Furthermore, according to the above-described embodiment, since authentication of the edge device 130 is performed in the server 110, it is possible to prevent spoofing of the edge device 130 by another malicious device. Furthermore, according to the above-described embodiment, since the new machine learned model is acquired using the encrypted communication method, it is possible to prevent the new machine learned model from being acquired by a malicious third party.
  • the same machine-learned model may be installed in these edge devices 130.
  • one edge device 130 included in the plurality of edge devices 130 may distribute the new machine learned model to other edge devices 130.
  • FIG. 8 is a diagram illustrating an example of the machine learning completed model update system 200 according to the modification. Similar to the machine learning completed model update system 100 described above, the machine learned model update system 200 includes a server 110, a communication device 120, and a plurality of edge devices 130. However, the plurality of edge devices 130 are connected via the communication network 160.
  • the communication network 160 is a closed network such as a LAN (Local Area Network) or a dedicated line, and is not connected to the communication network 140.
  • Each of the plurality of edge devices 130 performs data communication with other edge devices 130 by the communication unit 134.
  • the same machine-learned model is stored in advance in the storage 133 of the plurality of edge devices 130.
  • the one edge device 130 acquires the new machine learned model from the server 110 as in the above-described embodiment.
  • the edge device 130 transmits a copy of the acquired new machine-learned model to another edge device 130 via the communication network 160.
  • This duplicate is generated, for example, by copying a new machine learned model.
  • the encrypted communication method may not be used.
  • each of the other edge devices 130 replaces the current machine learned model stored in the storage 133 with the new machine learned model, similarly to step 310 described above.
  • the management apparatus may perform processing of one edge device 130 instead of the one edge device 130. According to this modification, the machine-learned models installed in the plurality of edge devices 130 can be updated all at once.
  • the client program may be stored in a device externally attached to the edge device 130. In this case, even if the edge device 130 has no client program installed, the processing described in the above-described embodiment can be performed by externally attaching this device.
  • the server 110 evaluates the current machine-learned model and the new machine-learned model used in the edge device 130, and when the current machine-learned model has higher accuracy.
  • the new machine learned model may not be provided to the edge device 130.
  • the current machine-learned model used in the edge device 130 is stored in the storage 113 of the server 110 in addition to the new machine-learned model.
  • FIG. 9 is a diagram illustrating an example of a functional configuration of the server 110 according to the modification.
  • the server 110 includes an evaluation unit 215 in addition to the functions shown in FIG.
  • the evaluation means 215 evaluates the current new machine learned model and the new machine learned model. This evaluation may be performed, for example, by inputting learning data and obtaining the prediction accuracy of these machine-learned models. For this evaluation, a well-known evaluation index such as a ROC (receiver operating characteristic curve) curve or AUC (Area under an ROC curve) may be used.
  • the posting unit 212 determines whether the accuracy of the new machine learned model is higher than the accuracy of the current machine learned model based on the evaluation result of the evaluation unit 215.
  • the posting unit 212 posts information indicating that there is a new machine-learned model, as in the above-described embodiment.
  • the posting unit 212 does not post information indicating that there is a new machine learned model.
  • the edge device 130 does not update the machine-learned model.
  • a machine-learned model has a problem of overlearning, and a machine-learned model with advanced learning is not necessarily superior. According to this modification, when the new machine learned model is inferior to the current machine learned model, it is possible to prevent the current machine learned model from being updated.
  • the machine learning algorithm generates a model based on the result of machine learning from given data, for example, on a computer, and inputs new input data to the model.
  • a so-called supervised learning algorithm for outputting an event predicted from the input data may be used.
  • the machine learning algorithm is not limited to a so-called supervised learning algorithm, and may be an algorithm for machine learning such as unsupervised learning, semi-supervised learning, reinforcement learning, and expression learning.
  • the algorithm for machine learning may include other learning algorithms such as data mining and deep learning. Note that these learning algorithms use various techniques or techniques such as decision tree learning, correlation rule learning, neural network, genetic programming, inductive logic programming, support vector machine, clustering, and Bayesian network. included. In short, any machine learning algorithm may be used as long as it is processed together with some data provided by the data provider and outputs information desired by the user as a result of the processing.
  • the update of the machine-learned model is not limited to an update that completely replaces the current machine-learned model, and may be an update that replaces only the difference from the current machine-learned model. In this case, only the difference of the new machine learned model may be provided to the edge device 130.
  • the location where the new machine learned model is stored is not limited to the storage 113 of the server 110.
  • the new machine learned model may be stored in this storage device instead of the storage 113.
  • the posting information 410 includes an address indicating a location in the storage device. Then, the edge device 130 acquires a new machine learned model from the storage device based on this address.
  • the posting information 410 may be updated in response to the acquisition of the new machine learned model by the edge device 130.
  • the determination whether or not a new machine learned model has been acquired may be performed based on whether or not information indicating that a new machine learned model has been acquired from the edge device 130, for example. For example, when the new machine learned model is acquired by the edge device 130 with the device ID “001”, the new machine learned model stored in association with the device ID “001” in the posting information 410 illustrated in FIG. Information indicating presence / absence is changed from “present” to “none”. In addition, it is changed to “-” indicating that the acquisition destination of the new machine learned model is not applicable. Thereby, it is possible to prevent the edge device 130 from trying to acquire the acquired new machine learned model again.
  • the machine-learned model does not necessarily have to be installed in advance in the edge device 130.
  • a machine learned model provided from the server 110 may be installed in the edge device 130.
  • the edge device 130 or an external device may have a part of the function of the server 110.
  • an external device used by a provider such as an AI (Artificial Intelligent) vendor may have the generation unit 211 instead of the server 110.
  • the external device generates a new machine learned model using the learning data, and transmits the generated new machine learned model to the server 110.
  • the new machine learned model may be generated on the provider side and registered in the server 110.
  • the server 110 or an external device may have a part of the function of the edge device 130.
  • the steps of processing performed in the machine learning completed model update system 100 are not limited to the example described in the above embodiment. The steps of this process may be interchanged as long as there is no contradiction. Further, the present invention may be provided as a machine-learned model update method performed in the machine-learned model update system 100 or 200.
  • the present invention may be provided as a program executed in the server 110, the communication device 120, or the edge device 130.
  • This program may be downloaded via a communication line such as the Internet, or a computer such as a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, or a semiconductor memory. May be provided in a state of being recorded on a readable recording medium.
  • Model update system 100, 200: Model update system, 110: Server, 120: Communication device, 130: Edge device, 211: Generation means, 212: Posting means, 213: Edge device authentication means, 214: Control means, 215: Evaluation means, 231 : Connection means, 232: server authentication means, 233: confirmation means, 234: acquisition means, 235: replacement means, 236: processing means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

In the field of Internet of Things (IoT), the present invention provides a mechanism whereby a machine learning-trained model installed on an edge device not connected to the Internet is updated to a machine learning-trained model provided via the Internet. When an edge device (130), which is not directly connected to the Internet, is in a state where the edge device (130) is connected to the Internet via a communication device (120) connected to the Internet, a machine learning-trained model update system (100) updates a machine learning-trained model installed on the edge device (130) to a machine learning-trained model provided via the Internet.

Description

機械学習済みモデルアップデートシステム、エッジデバイス、機械学習済みモデルアップデート方法、及びプログラムMachine learning model update system, edge device, machine learning model update method, and program
 本発明は、エッジデバイスにインストールされている機械学習済みモデルをアップデートする技術に関し、IoT(Internet of Things)の分野で利用される。 The present invention relates to a technique for updating a machine-learned model installed in an edge device, and is used in the field of IoT (Internet of Things).
 近年、AI(artificial intelligence)技術の進歩によって、学習済みモデルの更新技術が注目されている。例えば、機械学習システムのモデルを更新するための技術が提供されている(特許文献1)。 In recent years, with the advancement of AI (artificial intelligence) technology, renewed technology for learned models has attracted attention. For example, a technique for updating a model of a machine learning system is provided (Patent Document 1).
特開2017-120647号公報JP 2017-120647 A
 特許文献1に記載のシステムでは、単一の装置内で機械学習システムのモデルをトレーニングしているが、機械学習済みモデルをトレーニングできるだけの処理能力を有していないエッジデバイスは、自分で機械学習システムのモデルをトレーニングすることができない。このようなエッジデバイスにインストールされている機械学習済みモデルをアップデートするには、例えばサーバーが機械学習済みモデルを更新し、更新されたモデルをインターネットを介してエッジデバイスに提供するという方法が考えられる。しかし、医療機器や工場に設置された機器の中には、個人情報の保護やセキュリティの確保等の観点から、インターネットに接続されていない機器がある。このような機器については、上述した方法により、インストールされている機械学習済みモデルをアップデートすることができない。
 本発明は、インターネットに接続されていないエッジデバイスにインストールされている機械学習済みモデルを、インターネットを介して提供される機械学習済みモデルにアップデートする仕組みを提供することを目的とする。
In the system described in Patent Document 1, a machine learning system model is trained in a single device, but an edge device that does not have the processing capability to train a machine-learned model is machine-learned by itself. Unable to train the system model. In order to update the machine-learned model installed on such an edge device, for example, a server may update the machine-learned model and provide the updated model to the edge device via the Internet. . However, some medical devices and devices installed in factories are not connected to the Internet from the viewpoint of protecting personal information and ensuring security. For such devices, the installed machine-learned model cannot be updated by the method described above.
An object of the present invention is to provide a mechanism for updating a machine-learned model installed in an edge device that is not connected to the Internet to a machine-learned model provided via the Internet.
 本発明は、インターネットに接続されていないエッジデバイスが、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、当該エッジデバイスにインストールされている機械学習済みモデルを、前記インターネットを介して提供される新たな機械学習済みモデルにアップデートする機械学習済みモデルアップデートシステムを提供する。 The present invention provides a machine-learned model installed in an edge device that is not connected to the Internet when the edge device is connected to the Internet via a communication device connected to the Internet. A machine-learned model update system for updating to a new machine-learned model provided via the Internet is provided.
 また、本発明は、インターネットに接続されていないエッジデバイスであって、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、請求項1に記載の機械学習済みモデルアップデートシステムから前記インターネットを介して前記新たな機械学習済みモデルを取得し、インストールされている機械学習済みモデルを、前記新たな機械学習済みモデルに置き換えるエッジデバイスを提供する。 Furthermore, the present invention is an edge device that is not connected to the Internet, and the machine-learned model according to claim 1 when the device is connected to the Internet via a communication device connected to the Internet. An edge device is provided that acquires the new machine-learned model from the update system via the Internet and replaces the installed machine-learned model with the new machine-learned model.
 さらに、本発明は、インターネットに接続されていないエッジデバイスが、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、当該エッジデバイスにインストールされている機械学習済みモデルを、前記インターネットを介して提供される新たな機械学習済みモデルにアップデートする機械学習済みモデルアップデート方法を提供する。 Furthermore, the present invention provides a machine-learned model that is installed on an edge device that is not connected to the Internet when the edge device is connected to the Internet via a communication device connected to the Internet. Is updated to a new machine-learned model provided via the Internet.
 さらに、本発明は、コンピュータに、インターネットに接続されていないエッジデバイスが、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、当該エッジデバイスにインストールされている機械学習済みモデルを、前記インターネットを介して提供される新たな機械学習済みモデルにアップデートするステップを実行させるためのプログラムを提供する。 Furthermore, the present invention relates to a machine installed in an edge device that is not connected to the Internet when the edge device that is not connected to the Internet is connected to the Internet via a communication device connected to the Internet. A program for executing a step of updating a learned model to a new machine-learned model provided via the Internet is provided.
 本発明によれば、インターネットに接続されていないエッジデバイスにインストールされている機械学習済みモデルを、インターネットを介して提供される機械学習済みモデルにアップデートすることができる。 According to the present invention, a machine-learned model installed on an edge device that is not connected to the Internet can be updated to a machine-learned model provided via the Internet.
実施形態に係る機械学習済みモデルアップデートシステム100の一例を示す図である。It is a figure which shows an example of the machine learning completed model update system 100 which concerns on embodiment. サーバー110のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a server 110. FIG. サーバー110の機能構成の一例を示す図である。2 is a diagram illustrating an example of a functional configuration of a server 110. FIG. エッジデバイス130のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of an edge device 130. FIG. エッジデバイス130の機能構成の一例を示す図である。3 is a diagram illustrating an example of a functional configuration of an edge device 130. FIG. 機械学習済みモデルアップデートシステム100の動作の一例を示すシーケンスチャートである。5 is a sequence chart showing an example of an operation of the machine learning completed model update system 100. 掲示情報410の一例を示す図である。It is a figure which shows an example of the posting information 410. FIG. 変形例に係る機械学習済みモデルアップデートシステム200の一例を示す図である。It is a figure which shows an example of the machine learning completed model update system 200 which concerns on a modification. 変形例に係るサーバー110の機能構成の一例を示す図である。It is a figure which shows an example of a function structure of the server 110 which concerns on a modification.
1.構成
 図1は、本実施形態に係る機械学習済みモデルアップデートシステム100の一例を示す図である。機械学習済みモデルアップデートシステム100は、インターネットに接続されていないエッジデバイス130にインストールされている機械学習済みモデルをアップデートするシステムである。この「インストール」とは、コンピュータに記憶され、使用できる状態にすることをいう。
1. Configuration FIG. 1 is a diagram illustrating an example of a machine-learned model update system 100 according to the present embodiment. The machine-learned model update system 100 is a system that updates a machine-learned model installed in an edge device 130 that is not connected to the Internet. This “installation” means that the computer is stored and ready for use.
 機械学習済みモデルアップデートシステム100は、サーバー110と、通信機器120と、複数のエッジデバイス130とを備える。なお、図1に示す各装置の数は、例示であり、これに限定されない。サーバー110と通信機器120とは、通信ネットワーク140を介して接続されている。通信ネットワーク140は、インターネットを含んで構成される。複数のエッジデバイス130は、通信ネットワーク140には接続されていない。 The machine learning completed model update system 100 includes a server 110, a communication device 120, and a plurality of edge devices 130. In addition, the number of each apparatus shown in FIG. 1 is an illustration, and is not limited to this. The server 110 and the communication device 120 are connected via a communication network 140. The communication network 140 includes the Internet. The plurality of edge devices 130 are not connected to the communication network 140.
 図2は、サーバー110のハードウェア構成の一例を示す図である。サーバー110は、学習用データを用いて機械学習済みモデルを生成し、生成した機械学習済みモデルをエッジデバイス130に提供する装置である。サーバー110は、例えばプロセッサ111と、メモリ112と、ストレージ113と、通信部114とを備えるコンピュータである。これらの装置は、バス115を介して接続されている。 FIG. 2 is a diagram illustrating an example of a hardware configuration of the server 110. The server 110 is a device that generates a machine-learned model using learning data and provides the generated machine-learned model to the edge device 130. The server 110 is a computer including a processor 111, a memory 112, a storage 113, and a communication unit 114, for example. These devices are connected via a bus 115.
 プロセッサ111は、プログラムをメモリ112に読み出して実行することにより、各種の処理を実行する。プロセッサ111は、例えばCPU(Central Processing Unit)により構成されてもよい。メモリ112は、プロセッサ111により実行されるプログラムを記憶する。メモリ112は、例えばROM(Read Only Memory)又はRAM(Random Access Memory)により構成されてもよい。ストレージ113は、各種のデータ及びプログラムを記憶する。ストレージ113は、例えばハードディスクドライブ又はフラッシュメモリにより構成されてもよい。ストレージ113には、サーバー110の機能を実現するためのサーバープログラムが記憶されている。通信部114は、通信ネットワーク140に接続された通信インタフェースである。通信部114は、通信ネットワーク140を介してデータ通信を行う。 The processor 111 executes various processes by reading the program into the memory 112 and executing it. The processor 111 may be configured by, for example, a CPU (Central Processing 例 え ば Unit). The memory 112 stores a program executed by the processor 111. The memory 112 may be configured by, for example, a ROM (Read Only Memory) or a RAM (Random Access Memory). The storage 113 stores various data and programs. The storage 113 may be configured by, for example, a hard disk drive or a flash memory. The storage 113 stores a server program for realizing the function of the server 110. The communication unit 114 is a communication interface connected to the communication network 140. The communication unit 114 performs data communication via the communication network 140.
 図3は、サーバー110の機能構成の一例を示す図である。サーバー110は、生成手段211と、掲示手段212と、エッジデバイス認証手段213と、制御手段214とを有する。これらの機能は、メモリ112又はストレージ113に記憶されたサーバープログラムと、このサーバープログラムを実行するプロセッサ111との協働により、プロセッサ111が演算を行い又は通信部114による通信を制御することにより実現される。 FIG. 3 is a diagram illustrating an example of a functional configuration of the server 110. The server 110 includes a generation unit 211, a posting unit 212, an edge device authentication unit 213, and a control unit 214. These functions are realized by the processor 111 performing calculations or controlling communication by the communication unit 114 in cooperation with the server program stored in the memory 112 or the storage 113 and the processor 111 that executes the server program. Is done.
 生成手段211は、エッジデバイス130にインストールされている機械学習済みモデルに対応する新たな機械学習済みモデル(以下、「新機械学習済みモデル」という。)を生成する。この新機械学習済みモデルは、例えば学習器を用いて学習用データを機械学習することにより生成される。新機械学習済みモデルは、機械学習済みモデルの少なくとも一部を改善したもの、例えば機械学習済みモデルを更新して精度を高めたものであってもよい。或いは、新機械学習済みモデルは、新たな目的を達成できるように機械学習済みモデルを改変したものであってもよい。学習用データは、機械学習に用いられるデータである。学習用データには、例えばインターネットに接続された各種のセンサーから出力されたセンサーデータが用いられる。 The generation unit 211 generates a new machine learned model corresponding to the machine learned model installed in the edge device 130 (hereinafter referred to as “new machine learned model”). The new machine-learned model is generated by machine learning of learning data using a learning device, for example. The new machine-learned model may be an improved model of at least a part of the machine-learned model, for example, a machine-learned model that is updated to improve accuracy. Alternatively, the new machine-learned model may be a modified machine-learned model so that a new purpose can be achieved. The learning data is data used for machine learning. For the learning data, for example, sensor data output from various sensors connected to the Internet is used.
 掲示手段212は、エッジデバイス130に対し、新機械学習済みモデルがあることを掲示する。この「掲示」とは、情報を提示することをいう。この掲示は、例えば新機械学習済みモデルがあることを示す情報をストレージ113に記憶させることにより実現されてもよい。 The posting unit 212 posts to the edge device 130 that there is a new machine learned model. This “posting” means presenting information. This posting may be realized, for example, by storing information indicating that there is a new machine learned model in the storage 113.
 エッジデバイス認証手段213は、エッジデバイス130の認証鍵及びID(Identification)を用いて、エッジデバイス130を認証する。認証鍵は、エッジデバイス130の認証に用いられる情報である。IDは、エッジデバイス130を識別する情報である。エッジデバイス130の認証鍵及びIDは、例えば予めストレージ113に記憶される。 The edge device authentication means 213 authenticates the edge device 130 using the authentication key and ID (Identification) of the edge device 130. The authentication key is information used for authentication of the edge device 130. The ID is information for identifying the edge device 130. The authentication key and ID of the edge device 130 are stored in the storage 113 in advance, for example.
 制御手段214は、エッジデバイス130に新機械学習済みモデルを取得させて、機械学習済みモデルをアップデートさせるように制御する。この「アップデート」とは、機械学習済みモデルを新しいものに置き換えることをいう。この制御は、例えば新機械学習済みモデルを取得させて、機械学習済みモデルをアップデートさせるための制御信号を送信することにより実現されてもよい。 The control means 214 controls the edge device 130 to acquire a new machine learned model and update the machine learned model. This “update” means replacing a machine-learned model with a new one. This control may be realized by, for example, acquiring a new machine learned model and transmitting a control signal for updating the machine learned model.
 図1に戻り、通信機器120は、スマートフォン、タブレット端末、パーソナルコンピュータ等の通信機能を有する装置である。通信機器120は、ユーザに持ち運ばれて移動する。通信機器120は、通信ネットワーク140を介してサーバー110に接続されている。また、通信機器120は、通信ネットワーク140とは異なる通信ネットワーク150を介してエッジデバイス130に接続される。通信ネットワーク150は、例えば無線ネットワークである。ただし、通信ネットワーク150は、無線ネットワークに限定されず、有線ネットワークでもよい。通信機器120は、エッジデバイス130に接続された状態になると、エッジデバイス130とサーバー110との間で行われるデータのやり取りを中継する。このとき、通信機器120は、所定の通信規格に従って、エッジデバイス130と通信を行う。この所定の通信規格は、例えばWi-Fi(登録商標)、Bluetooth(登録商標)、ZigBee(登録商標)等の近距離無線通信規格である。ただし、所定の通信規格は、近距離無線通信規格に限定されず、長距離無線通信規格又は有線の通信規格であってもよい。 Referring back to FIG. 1, the communication device 120 is a device having a communication function such as a smartphone, a tablet terminal, or a personal computer. The communication device 120 is carried by the user and moves. The communication device 120 is connected to the server 110 via the communication network 140. The communication device 120 is connected to the edge device 130 via a communication network 150 different from the communication network 140. The communication network 150 is, for example, a wireless network. However, the communication network 150 is not limited to a wireless network, and may be a wired network. When the communication device 120 is connected to the edge device 130, the communication device 120 relays data exchange performed between the edge device 130 and the server 110. At this time, the communication device 120 communicates with the edge device 130 according to a predetermined communication standard. The predetermined communication standard is a short-range wireless communication standard such as Wi-Fi (registered trademark), Bluetooth (registered trademark), ZigBee (registered trademark), or the like. However, the predetermined communication standard is not limited to the short-range wireless communication standard, and may be a long-range wireless communication standard or a wired communication standard.
 図4は、エッジデバイス130のハードウェア構成の一例を示す図である。エッジデバイス130は、インターネットに接続されておらず、機械学習済みモデルを用いて所定の処理を行う。エッジデバイス130は、例えばインターネットに接続されていない透析機械、MRI(Magnetic Resonance Imaging)装置、CT(computed tomography)スキャン、電子カルテシステム等の医療機器、工場に設置された各種機器等の装置である。ただし、エッジデバイス130は、これらの装置に限定されず、機械学習済みモデルを用いて処理を行う装置であれば、どのような装置であってもよい。 FIG. 4 is a diagram illustrating an example of a hardware configuration of the edge device 130. The edge device 130 is not connected to the Internet, and performs a predetermined process using a machine-learned model. The edge device 130 is a device such as a dialysis machine not connected to the Internet, an MRI (Magnetic Resonance Imaging) device, a CT (computed Tomography) scan, a medical device such as an electronic medical record system, and various devices installed in a factory. . However, the edge device 130 is not limited to these devices, and may be any device as long as it performs processing using a machine-learned model.
 エッジデバイス130は、例えばプロセッサ131と、メモリ132と、ストレージ133と、通信部134とを備えるコンピュータである。これらの装置は、バス135を介して接続されている。プロセッサ131、メモリ132、ストレージ133、通信部134、及びバス135は、上述したプロセッサ111、メモリ112、ストレージ113、通信部114、及びバス115と同様であるため、その説明を省略する。ただし、通信部134は、通信ネットワーク150に接続される通信インタフェースである。通信部134は、通信ネットワーク150に接続されると、通信ネットワーク150を介してデータ通信を行う。また、ストレージ133には、エッジデバイス130の機能を実現するためのクライアントプログラムと、エッジデバイス130において実行される処理に用いられる機械学習済みモデルとが記憶されている。 The edge device 130 is a computer including a processor 131, a memory 132, a storage 133, and a communication unit 134, for example. These devices are connected via a bus 135. Since the processor 131, the memory 132, the storage 133, the communication unit 134, and the bus 135 are the same as the processor 111, the memory 112, the storage 113, the communication unit 114, and the bus 115 described above, description thereof is omitted. However, the communication unit 134 is a communication interface connected to the communication network 150. When connected to the communication network 150, the communication unit 134 performs data communication via the communication network 150. In addition, the storage 133 stores a client program for realizing the function of the edge device 130 and a machine-learned model used for processing executed in the edge device 130.
 図5は、エッジデバイス130の機能構成の一例を示す図である。エッジデバイス130は、接続手段231と、サーバー認証手段232と、確認手段233と、取得手段234と、置換手段235と、処理手段236とを有する。これらの機能は、メモリ132又はストレージ133に記憶されたクライアントプログラムと、このプログラムプログラムを実行するプロセッサ131との協働により、プロセッサ131が演算を行い又は通信部134による通信を制御することにより実現される。 FIG. 5 is a diagram illustrating an example of a functional configuration of the edge device 130. The edge device 130 includes a connection unit 231, a server authentication unit 232, a confirmation unit 233, an acquisition unit 234, a replacement unit 235, and a processing unit 236. These functions are realized by the processor 131 performing calculations or controlling communication by the communication unit 134 in cooperation with the client program stored in the memory 132 or the storage 133 and the processor 131 that executes the program program. Is done.
 接続手段231は、通信ネットワーク150を介して通信機器120との接続を確立する。この接続の確立は、例えば通信機器120が移動されることにより、エッジデバイス130が通信機器120の通信範囲内に入ったときに行われる。 The connection unit 231 establishes a connection with the communication device 120 via the communication network 150. The connection is established when the edge device 130 enters the communication range of the communication device 120 by moving the communication device 120, for example.
 サーバー認証手段232は、サーバー110の認証鍵を用いて、サーバー110を認証する。認証鍵は、サーバー110の認証に用いられる情報である。認証鍵は、例えば予めストレージ133に記憶される。 The server authentication unit 232 authenticates the server 110 using the authentication key of the server 110. The authentication key is information used for authentication of the server 110. The authentication key is stored in the storage 133 in advance, for example.
 確認手段233は、通信機器120を介して通信ネットワーク140に接続された状態のときに、サーバー110の掲示内容に基づいて、エッジデバイス130にインストールされている機械学習済みモデルに対応する新機械学習済みモデルがあるかを確認する。この確認は、例えばサーバー110のストレージ113に記憶された掲示情報410にアクセスすることにより行われてもよい。 The confirmation unit 233 is connected to the communication network 140 via the communication device 120, and based on the posted content of the server 110, the new machine learning corresponding to the machine learned model installed in the edge device 130 Check if there is a finished model. This confirmation may be performed by accessing the posting information 410 stored in the storage 113 of the server 110, for example.
 取得手段234は、サーバー110から新機械学習済みモデルを取得する。この新機械学習済みモデルの取得は、より具体的には、プル型配信により行われる。すなわち、新機械学習済みモデルは、取得手段234からの要求に応じて送信される。このとき、新機械学習済みモデルは、暗号化通信方式を用いて送信されてもよい。この暗号化通信方式とは、データを暗号化して通信する通信方式をいう。暗号化通信方式には、SSL(Secure Sockets Layer)やTLS(Transport Layer Security)等の周知の暗号化通信方式が用いられてもよい。 The acquisition unit 234 acquires a new machine learned model from the server 110. More specifically, the acquisition of the new machine-learned model is performed by pull distribution. That is, the new machine learned model is transmitted in response to a request from the acquisition unit 234. At this time, the new machine learned model may be transmitted using an encrypted communication method. This encrypted communication method refers to a communication method in which data is encrypted for communication. As the encrypted communication method, a known encrypted communication method such as SSL (Secure Sockets Layer) or TLS (Transport Layer Security) may be used.
 置換手段235は、サーバー110の制御手段214による制御に従って、ストレージ133に記憶された機械学習済みモデル(以下、「現状の機械学習済みモデル」ともいう。)を取得手段234が取得した新機械学習済みモデルに置き換える。この置き換えとは、現状の機械学習済みモデルに代えて新機械学習済みモデルを使用可能な状態にすることをいう。置き換えは、例えばストレージ133に新機械学習済みモデルが記憶され、現状の機械学習済みモデルに代えて新機械学習済みモデルが使用されるように設定されることにより実現されてもよい。このとき、ストレージ133に記憶された現状の機械学習済みモデルは削除されてもよいし、そのまま記憶されていてもよい。 The replacement unit 235 obtains the new machine learning obtained by the obtaining unit 234 according to the control by the control unit 214 of the server 110 and the machine learned model stored in the storage 133 (hereinafter also referred to as “current machine learned model”). Replace with a completed model. This replacement means making the new machine learned model usable in place of the current machine learned model. The replacement may be realized, for example, by storing the new machine learned model in the storage 133 and setting the new machine learned model to be used instead of the current machine learned model. At this time, the current machine learned model stored in the storage 133 may be deleted or stored as it is.
 処理手段236は、置換手段235が置き換えた新機械学習済みモデルを用いて、所定の処理を実行する。所定の処理は、エッジデバイス130毎に相違してもよい。例えばエッジデバイス130がMRI装置である場合、所定の処理は、体内の断層画像を撮影する処理であってもよい。一方、エッジデバイス130が電子カルテシステムである場合、所定の処理は、電子カルテを作成する処理であってもよい。 The processing unit 236 executes a predetermined process using the new machine learned model replaced by the replacement unit 235. The predetermined process may be different for each edge device 130. For example, when the edge device 130 is an MRI apparatus, the predetermined process may be a process of capturing a tomographic image inside the body. On the other hand, when the edge device 130 is an electronic medical record system, the predetermined process may be a process of creating an electronic medical record.
2.動作
 図6は、機械学習済みモデルアップデートシステム100の動作の一例を示すシーケンスチャートである。ここでは、通信機器120とエッジデバイス130とは、Bluetooth(登録商標)に対応しており、予めペアリングされているものとする。この場合、通信機器120とエッジデバイス130との間の通信は、Bluetooth(登録商標)に従って行われる。
2. Operation FIG. 6 is a sequence chart illustrating an example of the operation of the machine-learned model update system 100. Here, it is assumed that the communication device 120 and the edge device 130 correspond to Bluetooth (registered trademark) and are paired in advance. In this case, communication between the communication device 120 and the edge device 130 is performed according to Bluetooth (registered trademark).
 サーバー110は、生成手段211が学習器を用いて学習用データを機械学習することにより、新機械学習済みモデルを生成する(ステップ301)。新機械学習済みモデルは、例えば現状の機械学習済みモデルの精度を改善したものであってもよいし、新たな分析を行えるように現状の機械学習済みモデルを改変したものであってもよい。この新機械学習済みモデルは、ストレージ113に記憶される。 The server 110 generates a new machine-learned model by causing the generation unit 211 to machine-learn the learning data using a learning device (step 301). The new machine-learned model may be, for example, a model obtained by improving the accuracy of the current machine-learned model, or may be a model obtained by modifying the current machine-learned model so that a new analysis can be performed. This new machine learned model is stored in the storage 113.
 サーバー110は、新機械学習済みモデルがあることを示す掲示情報410を掲示手段212によりストレージ113に記憶させる(ステップ302)。 The server 110 causes the bulletin board 212 to store bulletin information 410 indicating that there is a new machine learned model in the storage 113 (step 302).
 図7は、掲示情報410の一例を示す図である。ここでは、デバイスIDが「001」のエッジデバイス130用の新機械学習済みモデルが生成されたものとする。この場合、デバイスID「001」と、新機械学習済みモデルがあることを示す「あり」という情報と、この新機械学習済みモデルの取得先、すなわちストレージ113において新機械学習済みモデルが記憶された場所を示すアドレス「http://www.example.com/M001」とが対応付けて記憶される。 FIG. 7 is a diagram illustrating an example of the bulletin information 410. Here, it is assumed that a new machine learned model for the edge device 130 with the device ID “001” is generated. In this case, the device ID “001”, information “Yes” indicating that there is a new machine learned model, and the acquisition destination of this new machine learned model, that is, the new machine learned model is stored in the storage 113. An address “http://www.example.com/M001” indicating the location is stored in association with each other.
 ユーザは、デバイスIDが「001」のエッジデバイス130の機械学習済みモデルをアップデートする場合、通信機器120を持ってこのエッジデバイス130に近づく。エッジデバイス130が通信機器120の通信範囲内に入ると、エッジデバイス130は、接続手段231により通信ネットワーク150を介して通信機器120との接続を確立する(ステップ303)。これにより、エッジデバイス130は、通信機器120を介して通信ネットワーク140に接続された状態になる。この「通信機器120を介して通信ネットワーク140に接続された状態」とは、通信ネットワーク140には直接接続されていないが、通信機器120が中継することにより通信ネットワーク140を介した通信が可能な状態をいう。 When updating the machine-learned model of the edge device 130 whose device ID is “001”, the user approaches the edge device 130 with the communication device 120. When the edge device 130 enters the communication range of the communication device 120, the edge device 130 establishes a connection with the communication device 120 via the communication network 150 by the connection means 231 (step 303). As a result, the edge device 130 is connected to the communication network 140 via the communication device 120. The state of being connected to the communication network 140 via the communication device 120 is not directly connected to the communication network 140, but communication via the communication network 140 is possible when the communication device 120 relays. State.
 通信機器120を介して通信ネットワーク140に接続されたことを検出すると、エッジデバイス130は、サーバー110の認証鍵を用いてサーバー認証手段232によりサーバー110を認証する(ステップ304)。具体的には、サーバー110の認証鍵は、例えばストレージ133に予め記憶される。エッジデバイス130は、ストレージ133に記憶された認証鍵(以下、「対象の認証鍵」という。)を通信機器120に送信する。エッジデバイス130から対象の認証鍵を受信すると、通信機器120は、対象の認証鍵をサーバー110に送信する。対象の認証鍵がサーバー110の認証鍵である場合、サーバー110は、その旨を示す応答を通信機器120に送信する。サーバー110から応答を受信すると、通信機器120は、この応答をエッジデバイス130に送信する。対象の認証鍵がサーバー110の認証鍵である旨の応答を受信した場合、サーバー認証手段232はサーバー110を認証する。一方、対象の認証鍵がサーバー110の認証鍵ではない旨の応答を受信した場合、サーバー110は認証されず、以降の処理は行われない。なお、以下の説明では、通信機器120にデータを送信し、通信機器120がこのデータをサーバー110又はエッジデバイス130に転送することを、「通信機器120を介して送信する」という。 When the edge device 130 detects that it is connected to the communication network 140 via the communication device 120, the server authentication means 232 authenticates the server 110 using the authentication key of the server 110 (step 304). Specifically, the authentication key of the server 110 is stored in advance in the storage 133, for example. The edge device 130 transmits an authentication key (hereinafter referred to as “target authentication key”) stored in the storage 133 to the communication device 120. When receiving the target authentication key from the edge device 130, the communication device 120 transmits the target authentication key to the server 110. When the target authentication key is the authentication key of the server 110, the server 110 transmits a response indicating that to the communication device 120. When receiving the response from the server 110, the communication device 120 transmits this response to the edge device 130. When a response indicating that the target authentication key is the authentication key of the server 110 is received, the server authentication unit 232 authenticates the server 110. On the other hand, when a response indicating that the target authentication key is not the authentication key of the server 110 is received, the server 110 is not authenticated and the subsequent processing is not performed. In the following description, transmitting data to the communication device 120 and transferring the data to the server 110 or the edge device 130 is referred to as “transmitting via the communication device 120”.
 サーバー110は、エッジデバイス130の認証鍵及びIDを用いて、エッジデバイス認証手段213によりエッジデバイス130を認証する(ステップ305)。具体的には、エッジデバイス130の認証鍵及びIDは、例えばストレージ113に予め記憶される。サーバー110は、ストレージ113に記憶された認証鍵及びID(以下、「対象の認証鍵及びID」という。)を通信機器120を介してエッジデバイス130に送信する。対象の認証鍵及びIDがエッジデバイス130の認証鍵及びIDである場合、エッジデバイス130は、その旨を示す応答を通信機器120を介してサーバー110に送信する。対象の認証鍵及びIDがエッジデバイス130の認証鍵及びIDであることを示す応答を受信した場合、エッジデバイス認証手段213はエッジデバイス130を認証する。一方、対象の認証鍵及びIDがエッジデバイス130の認証鍵及びIDではない旨の応答を受信した場合、エッジデバイス130は認証されず、以降の処理は行われない。 The server 110 authenticates the edge device 130 by the edge device authentication means 213 using the authentication key and ID of the edge device 130 (step 305). Specifically, the authentication key and ID of the edge device 130 are stored in advance in the storage 113, for example. The server 110 transmits the authentication key and ID stored in the storage 113 (hereinafter referred to as “target authentication key and ID”) to the edge device 130 via the communication device 120. When the target authentication key and ID are the authentication key and ID of the edge device 130, the edge device 130 transmits a response indicating that to the server 110 via the communication device 120. When the response indicating that the target authentication key and ID are the authentication key and ID of the edge device 130 is received, the edge device authentication unit 213 authenticates the edge device 130. On the other hand, when a response indicating that the target authentication key and ID are not the authentication key and ID of the edge device 130 is received, the edge device 130 is not authenticated and the subsequent processing is not performed.
 サーバー110とエッジデバイス130とが互いに認証されると、エッジデバイス130は、確認手段233により通信機器120を介してストレージ113に記憶された掲示情報410にアクセスする(ステップ306)。続いて、エッジデバイス130は、掲示情報410に基づいて、このエッジデバイス130にインストールされている機械学習済みモデルに対応する新機械学習済みモデルがあるか否かを確認手段233により判定する(ステップ307)。図7に示す例では、掲示情報410には、デバイスID「001」と対応付けて、新機械学習済みモデルがあることを示す「あり」という情報が記憶されている。この場合、このエッジデバイス130用に生成された新機械学習済みモデルがあると判定され(ステップ307の判定がYES)、処理は次のステップに進む。一方、デバイスID「001」と対応付けて、新機械学習済みモデルがないことを示す「なし」という情報が記憶されている場合、このエッジデバイス130用に生成された新機械学習済みモデルがないと判定され(ステップ307の判定がNO)、この処理は終了する。 When the server 110 and the edge device 130 are mutually authenticated, the edge device 130 accesses the bulletin information 410 stored in the storage 113 via the communication device 120 by the confirmation unit 233 (step 306). Subsequently, the edge device 130 determines whether or not there is a new machine learned model corresponding to the machine learned model installed in the edge device 130 based on the posting information 410 (step 233). 307). In the example illustrated in FIG. 7, the bulletin information 410 stores information “Yes” indicating that there is a new machine learned model in association with the device ID “001”. In this case, it is determined that there is a new machine learned model generated for the edge device 130 (YES in step 307), and the process proceeds to the next step. On the other hand, when information “none” indicating that there is no new machine learned model is stored in association with the device ID “001”, there is no new machine learned model generated for the edge device 130. Is determined (NO at step 307), and the process ends.
 サーバー110は、上述したステップ306に応じて、所定の暗号化通信方式を用いて新機械学習済みモデルを取得させて、ストレージ133に記憶された現状の機械学習済みモデルを新機械学習済みモデルに置き換えさせるための制御信号を、制御手段214により通信機器120を介してデバイスIDが「001」のエッジデバイス130に送信する(ステップ308)。 In accordance with step 306 described above, the server 110 acquires a new machine learned model using a predetermined encrypted communication method, and makes the current machine learned model stored in the storage 133 a new machine learned model. A control signal for replacement is transmitted from the control unit 214 to the edge device 130 whose device ID is “001” via the communication device 120 (step 308).
 制御信号を受信すると、エッジデバイス130は、この制御信号に従って、所定の暗号化通信方式を用いて、図7に示される掲示情報410に含まれる「http://www.example.com/M001」というアドレスが示す場所から、取得手段234により新機械学習済みモデルを取得する(ステップ309)。具体的には、新機械学習済みモデルを取得する要求が通信機器120を介してサーバー110に送信され、この要求に応じてサーバー110から通信機器120を介して送信された新機械学習済みモデルが取得手段234にて受信される。 When receiving the control signal, the edge device 130 uses the predetermined encrypted communication method in accordance with the control signal, and “http://www.example.com/M001” included in the posting information 410 shown in FIG. The new machine learned model is acquired by the acquiring unit 234 from the location indicated by the address (step 309). Specifically, a request for acquiring a new machine learned model is transmitted to the server 110 via the communication device 120, and the new machine learned model transmitted from the server 110 via the communication device 120 in response to the request is transmitted. Received by the acquisition means 234.
 エッジデバイス130は、受信された制御信号に従って、ストレージ133に記憶された現状の機械学習済みモデルを置換手段235により新機械学習済みモデルに置き換える(ステップ310)。具体的には、現状の機械学習済みモデルの代わりに新機械学習済みモデルがストレージ133に記憶され、現状の機械学習済みモデルに代えて新機械学習済みモデルが使用されるように設定される。 The edge device 130 replaces the current machine-learned model stored in the storage 133 with the new machine-learned model by the replacing unit 235 according to the received control signal (step 310). Specifically, the new machine learned model is stored in the storage 133 instead of the current machine learned model, and the new machine learned model is used instead of the current machine learned model.
 このようにして機械学習済みモデルがアップデートされた後、エッジデバイス130は、新機械学習済みモデルを用いて処理手段236により所定の処理を実行する(ステップ311)。 After the machine-learned model is updated in this way, the edge device 130 executes a predetermined process by the processing unit 236 using the new machine-learned model (step 311).
 なお、上述した実施形態では、「ストレージ113」、「エッジデバイス130のID」、「新機械学習済みモデル」が、それぞれ、本発明に係る「記憶手段」、「識別情報」、「新たな機械学習済みモデル」として用いられている。 In the above-described embodiment, “storage 113”, “ID of edge device 130”, and “new machine learned model” are “storage means”, “identification information”, and “new machine” according to the present invention, respectively. Used as a “learned model”.
 以上説明した実施形態によれば、インターネットに接続された通信機器120を介してサーバー110と通信を行うことにより、インターネットに直接接続されていないエッジデバイス130にインストールされている機械学習済みモデルを、サーバー110から提供される新たな機械学習済みモデルにアップデートすることができる。また、新機械学習済みモデルの生成には高い処理能力が必要となるが、上述した実施形態では、サーバー110が新機械学習済みモデルを生成しているため、エッジデバイス130が高い処理能力を有していなくてもよい。 According to the embodiment described above, the machine-learned model installed in the edge device 130 that is not directly connected to the Internet by communicating with the server 110 via the communication device 120 connected to the Internet, It is possible to update to a new machine learned model provided from the server 110. In addition, the generation of a new machine-learned model requires a high processing capability. However, in the above-described embodiment, since the server 110 generates a new machine-learned model, the edge device 130 has a high processing capability. You don't have to.
 さらに、上述した実施形態では、掲示情報410及び新機械学習済みモデルをエッジデバイス130からのプル配信、すなわちエッジデバイス130からの要求に応じて送信している。仮に、サーバー110がこれらのデータをプッシュ型配信、すなわちエッジデバイス130から要求しなくてもサーバー110から送信する構成を採用した場合には、エッジデバイス130がサーバー110だけでなく、サーバー110を装った他の装置からプッシュ側配信で送信される情報をも受け取れるようになる。この場合、悪意ある他の装置により送信された情報により被害がもたらされるリスクがある。これに対し、上述した実施形態のように、これらのデータをプル配信、すなわちエッジデバイス130からの要求に応じてサーバー110から送信する場合には、このようなリスクが減るため、情報セキュリティが高くなる。 Furthermore, in the above-described embodiment, the bulletin information 410 and the new machine learned model are transmitted in response to pull distribution from the edge device 130, that is, in response to a request from the edge device 130. If the server 110 adopts a push distribution, that is, a configuration in which the server 110 transmits the data without requesting it from the edge device 130, the edge device 130 impersonates the server 110 as well as the server 110. It is also possible to receive information transmitted by push-side distribution from other devices. In this case, there is a risk that damage is caused by information transmitted by another malicious device. In contrast, as in the above-described embodiment, when the data is pulled from the server 110, that is, when the data is transmitted from the server 110 in response to a request from the edge device 130, such a risk is reduced, so that information security is high. Become.
 さらに、上述した実施形態によれば、エッジデバイス130においてサーバー110の認証が行われるため、悪意ある他の装置によるサーバー110のなりすましを防ぐことができる。さらに、上述した実施形態によれば、サーバー110においてエッジデバイス130の認証が行われるため、悪意ある他の装置によるエッジデバイス130のなりすましを防ぐことができる。さらに、上述した実施形態によれば、暗号化通信方式を用いて新機械学習済みモデルが取得されるため、悪意ある第三者により新機械学習済みモデルが取得されるのを防ぐことができる。 Furthermore, according to the above-described embodiment, since the server 110 is authenticated by the edge device 130, it is possible to prevent impersonation of the server 110 by another malicious device. Furthermore, according to the above-described embodiment, since authentication of the edge device 130 is performed in the server 110, it is possible to prevent spoofing of the edge device 130 by another malicious device. Furthermore, according to the above-described embodiment, since the new machine learned model is acquired using the encrypted communication method, it is possible to prevent the new machine learned model from being acquired by a malicious third party.
3.変形例
 本発明は上述した実施形態に限定されない。上述した実施形態に対し、種々の変形がなされてもよい。また、以下の変形例が組み合わせて実施されてもよい。
3. The present invention is not limited to the above-described embodiment. Various modifications may be made to the above-described embodiment. Moreover, the following modifications may be implemented in combination.
 上述した実施形態において、複数のエッジデバイス130が同様の処理を行う場合、これらのエッジデバイス130には同一の機械学習済みモデルがインストールされていてもよい。この場合、複数のエッジデバイス130に含まれる1のエッジデバイス130が他のエッジデバイス130に新機械学習済みモデルを配信してもよい。 In the embodiment described above, when a plurality of edge devices 130 perform similar processing, the same machine-learned model may be installed in these edge devices 130. In this case, one edge device 130 included in the plurality of edge devices 130 may distribute the new machine learned model to other edge devices 130.
 図8は、変形例に係る機械学習済みモデルアップデートシステム200の一例を示す図である。機械学習済みモデルアップデートシステム200は、上述した機械学習済みモデルアップデートシステム100と同様に、サーバー110と、通信機器120と、複数のエッジデバイス130とを備える。ただし、複数のエッジデバイス130は、通信ネットワーク160を介して接続されている。通信ネットワーク160は、LAN(Local Area Network)や専用回線等の閉じたネットワークであり、通信ネットワーク140には接続されていない。複数のエッジデバイス130は、それぞれ、通信部134により他のエッジデバイス130とデータ通信を行う。また、複数のエッジデバイス130のストレージ133には、同一の機械学習済みモデルが予め記憶される。 FIG. 8 is a diagram illustrating an example of the machine learning completed model update system 200 according to the modification. Similar to the machine learning completed model update system 100 described above, the machine learned model update system 200 includes a server 110, a communication device 120, and a plurality of edge devices 130. However, the plurality of edge devices 130 are connected via the communication network 160. The communication network 160 is a closed network such as a LAN (Local Area Network) or a dedicated line, and is not connected to the communication network 140. Each of the plurality of edge devices 130 performs data communication with other edge devices 130 by the communication unit 134. The same machine-learned model is stored in advance in the storage 133 of the plurality of edge devices 130.
 この場合、1のエッジデバイス130が、上述した実施形態と同様に、サーバー110から新機械学習済みモデルを取得する。また、このエッジデバイス130は、取得した新機械学習済みモデルの複製を通信ネットワーク160を介して他のエッジデバイス130に送信する。この複製は、例えば新機械学習済みモデルをコピーすることにより生成される。なお、新機械学習済みモデルの複製を他のエッジデバイス130に送信するときには、暗号化通信方式が用いられなくてもよい。新機械学習済みモデルを受信すると、他のエッジデバイス130は、それぞれ、上述したステップ310と同様に、ストレージ133に記憶された現状の機械学習済みモデルを新機械学習済みモデルに置き換える。他の例において、通信ネットワーク160に管理装置が接続されている場合、1のエッジデバイス130に代えて管理装置が1のエッジデバイス130の処理を行ってもよい。この変形例によれば、複数のエッジデバイス130にインストールされている機械学習済みモデルを一斉にアップデートすることができる。 In this case, the one edge device 130 acquires the new machine learned model from the server 110 as in the above-described embodiment. In addition, the edge device 130 transmits a copy of the acquired new machine-learned model to another edge device 130 via the communication network 160. This duplicate is generated, for example, by copying a new machine learned model. Note that when a copy of the new machine-learned model is transmitted to another edge device 130, the encrypted communication method may not be used. When receiving the new machine learned model, each of the other edge devices 130 replaces the current machine learned model stored in the storage 133 with the new machine learned model, similarly to step 310 described above. In another example, when a management apparatus is connected to the communication network 160, the management apparatus may perform processing of one edge device 130 instead of the one edge device 130. According to this modification, the machine-learned models installed in the plurality of edge devices 130 can be updated all at once.
 上述した実施形態において、クライアントプログラムは、エッジデバイス130に外付けされた装置に記憶されていてもよい。この場合、クライアントプログラムがインストールされていないエッジデバイス130であっても、この装置を外付けすることにより、上述した実施形態において説明した処理を行うことができる。 In the embodiment described above, the client program may be stored in a device externally attached to the edge device 130. In this case, even if the edge device 130 has no client program installed, the processing described in the above-described embodiment can be performed by externally attaching this device.
 上述した実施形態において、サーバー110は、エッジデバイス130で使用されている現状の機械学習済みモデルと新機械学習済みモデルとを評価し、現状の機械学習済みモデルの方が精度が高い場合には、新機械学習済みモデルをエッジデバイス130に提供しなくてもよい。この場合、サーバー110のストレージ113には、新機械学習済みモデルに加えて、エッジデバイス130で使用されている現状の機械学習済みモデルが記憶される。 In the above-described embodiment, the server 110 evaluates the current machine-learned model and the new machine-learned model used in the edge device 130, and when the current machine-learned model has higher accuracy. The new machine learned model may not be provided to the edge device 130. In this case, the current machine-learned model used in the edge device 130 is stored in the storage 113 of the server 110 in addition to the new machine-learned model.
 図9は、変形例に係るサーバー110の機能構成の一例を示す図である。サーバー110は、図3に示す機能に加え、評価手段215を有する。評価手段215は、現状の新機械学習済みモデルと新機械学習済みモデルとを評価する。この評価は、例えば学習データを入力してこれらの機械学習済みモデルの予測精度を求めることにより行われてもよい。この評価には、ROC(receiver operating characteristic curve)曲線、AUC(Area under an ROC curve)等の周知の評価指標が用いられてもよい。この場合、掲示手段212は、評価手段215の評価結果に基づいて、新機械学習済みモデルの精度が現状の機械学習済みモデルの精度よりも高いか否かを判定する。新機械学習済みモデルの精度が現状の機械学習済みモデルの精度よりも高い場合、掲示手段212は、上述した実施形態と同様に、新機械学習済みモデルがあることを示す情報を掲示する。一方、新機械学習済みモデルの精度が現状の機械学習済みモデルの精度よりも低い場合、掲示手段212は、新機械学習済みモデルがあることを示す情報を掲示しない。この場合、上述したステップ307の判定がNOとなるため、エッジデバイス130では機械学習済みモデルのアップデートは行われない。機械学習済みモデルには、過学習という問題があり、必ずしも学習が進んだ機械学習済みモデルの方が優れているわけではない。この変形例によれば、新機械学習済みモデルが現状の機械学習済みモデルよりも劣っている場合には、現状の機械学習済みモデルをアップデートされるのを防ぐことができる。 FIG. 9 is a diagram illustrating an example of a functional configuration of the server 110 according to the modification. The server 110 includes an evaluation unit 215 in addition to the functions shown in FIG. The evaluation means 215 evaluates the current new machine learned model and the new machine learned model. This evaluation may be performed, for example, by inputting learning data and obtaining the prediction accuracy of these machine-learned models. For this evaluation, a well-known evaluation index such as a ROC (receiver operating characteristic curve) curve or AUC (Area under an ROC curve) may be used. In this case, the posting unit 212 determines whether the accuracy of the new machine learned model is higher than the accuracy of the current machine learned model based on the evaluation result of the evaluation unit 215. When the accuracy of the new machine-learned model is higher than the accuracy of the current machine-learned model, the posting unit 212 posts information indicating that there is a new machine-learned model, as in the above-described embodiment. On the other hand, when the accuracy of the new machine learned model is lower than the accuracy of the current machine learned model, the posting unit 212 does not post information indicating that there is a new machine learned model. In this case, since the determination in Step 307 described above is NO, the edge device 130 does not update the machine-learned model. A machine-learned model has a problem of overlearning, and a machine-learned model with advanced learning is not necessarily superior. According to this modification, when the new machine learned model is inferior to the current machine learned model, it is possible to prevent the current machine learned model from being updated.
 上述した実施形態において、機械学習のアルゴリズムは、例えばコンピュータ上において、与えられたデータから機械学習した結果に基づいてモデルを生成し、そのモデルに対してさらに新たな入力データを入力することで、その入力データから予測される事象を出力するための、いわゆる教師あり学習のアルゴリズムであってもよい。ただし、機械学習用のアルゴリズムは、いわゆる教師あり学習のアルゴリズムに限定されず、教師なし学習、半教師あり学習、強化学習、表現学習等の機械学習用のアルゴリズムであってもよい。また、機械学習用のアルゴリズムは、データマイニングやディープラーニング等の、その他の学習用のアルゴリズムを含んでもよい。なお、これらの学習用のアルゴリズムは、例えば決定木学習、相関ルール学習、ニューラルネットワーク、遺伝的プログラミング、帰納論理プログラミング、サポートベクターマシン、クラスタリング、ベイジアンネットワーク等の各種の技法乃至技術を用いたものが含まれる。要するに、機械学習用のアルゴリズムは、データ提供者により提供される何らかのデータとともに処理されて、その処理の結果、ユーザが得たい情報を出力するものであればよい。 In the embodiment described above, the machine learning algorithm generates a model based on the result of machine learning from given data, for example, on a computer, and inputs new input data to the model. A so-called supervised learning algorithm for outputting an event predicted from the input data may be used. However, the machine learning algorithm is not limited to a so-called supervised learning algorithm, and may be an algorithm for machine learning such as unsupervised learning, semi-supervised learning, reinforcement learning, and expression learning. Further, the algorithm for machine learning may include other learning algorithms such as data mining and deep learning. Note that these learning algorithms use various techniques or techniques such as decision tree learning, correlation rule learning, neural network, genetic programming, inductive logic programming, support vector machine, clustering, and Bayesian network. included. In short, any machine learning algorithm may be used as long as it is processed together with some data provided by the data provider and outputs information desired by the user as a result of the processing.
 上述した実施形態において、機械学習済みモデルのアップデートは、現状の機械学習済みモデルを完全に置き換えるアップデートに限定されず、現状の機械学習済みモデルとの差分だけを置き換えるアップデートであってもよい。この場合、新機械学習済みモデルの差分だけがエッジデバイス130に提供されてもよい。 In the embodiment described above, the update of the machine-learned model is not limited to an update that completely replaces the current machine-learned model, and may be an update that replaces only the difference from the current machine-learned model. In this case, only the difference of the new machine learned model may be provided to the edge device 130.
 上述した実施形態において、新機械学習済みモデルが記憶される場所は、サーバー110のストレージ113に限定されない。例えば通信ネットワーク140にストレージ装置が接続されている場合、新機械学習済みモデルは、ストレージ113に代えてこのストレージ装置に記憶されてもよい。この場合、掲示情報410には、このストレージ装置内の場所を示すアドレスが含まれる。そして、エッジデバイス130は、このアドレスに基づいて、ストレージ装置から新機械学習済みモデルを取得する。 In the above-described embodiment, the location where the new machine learned model is stored is not limited to the storage 113 of the server 110. For example, when a storage device is connected to the communication network 140, the new machine learned model may be stored in this storage device instead of the storage 113. In this case, the posting information 410 includes an address indicating a location in the storage device. Then, the edge device 130 acquires a new machine learned model from the storage device based on this address.
 上述した実施形態において、エッジデバイス130により新機械学習済みモデルが取得されたことに応じて、掲示情報410が更新されてもよい。新機械学習済みモデルが取得されたか否かの判定は、例えばエッジデバイス130から新機械学習済みモデルを取得したことを示す情報が取得されたか否かに基づいて行われてもよい。例えばデバイスIDが「001」のエッジデバイス130により新機械学習済みモデルが取得された場合、図7に示す掲示情報410において、デバイスID「001」と対応付けて記憶された新機械学習済みモデルの有無を示す情報が「あり」から「なし」に変更される。また、新機械学習済みモデルの取得先が該当しないことを示す「‐」に変更される。これにより、エッジデバイス130が取得済みの新機械学習済みモデルを再度取得しようとするのを防ぐことができる。 In the embodiment described above, the posting information 410 may be updated in response to the acquisition of the new machine learned model by the edge device 130. The determination whether or not a new machine learned model has been acquired may be performed based on whether or not information indicating that a new machine learned model has been acquired from the edge device 130, for example. For example, when the new machine learned model is acquired by the edge device 130 with the device ID “001”, the new machine learned model stored in association with the device ID “001” in the posting information 410 illustrated in FIG. Information indicating presence / absence is changed from “present” to “none”. In addition, it is changed to “-” indicating that the acquisition destination of the new machine learned model is not applicable. Thereby, it is possible to prevent the edge device 130 from trying to acquire the acquired new machine learned model again.
 上述した実施形態において、エッジデバイス130には必ずしも機械学習済みモデルが予めインストールされていなくてもよい。例えばサーバー110から提供された機械学習済みモデルがエッジデバイス130にインストールされてもよい。 In the above-described embodiment, the machine-learned model does not necessarily have to be installed in advance in the edge device 130. For example, a machine learned model provided from the server 110 may be installed in the edge device 130.
 機械学習済みモデルアップデートシステム100又は200の機能を実現する主体は、上述した実施形態で説明した例に限定されない。例えばサーバー110の機能の一部をエッジデバイス130又は外部装置が有していてよい。例えば、AI(Artificial intelligence)ベンダー等の提供者が使用する外部装置がサーバー110に代えて生成手段211を有してもよい。この場合、外部装置は、学習データを用いて新機械学習済みモデルを生成し、生成した新機械学習済みモデルをサーバー110に送信する。このように、新機械学習済みモデルは提供者側で生成され、サーバー110に登録されてもよい。また、エッジデバイス130の機能の一部をサーバー110又は外部装置が有していてもよい。 The subject that realizes the functions of the machine learning completed model update system 100 or 200 is not limited to the example described in the above-described embodiment. For example, the edge device 130 or an external device may have a part of the function of the server 110. For example, an external device used by a provider such as an AI (Artificial Intelligent) vendor may have the generation unit 211 instead of the server 110. In this case, the external device generates a new machine learned model using the learning data, and transmits the generated new machine learned model to the server 110. As described above, the new machine learned model may be generated on the provider side and registered in the server 110. Further, the server 110 or an external device may have a part of the function of the edge device 130.
 機械学習済みモデルアップデートシステム100において行われる処理のステップは、上述した実施形態で説明した例に限定されない。この処理のステップは、矛盾のない限り、入れ替えられてもよい。また、本発明は、機械学習済みモデルアップデートシステム100又は200において行われる機械学習済みモデルアップデート方法として提供されてもよい。 The steps of processing performed in the machine learning completed model update system 100 are not limited to the example described in the above embodiment. The steps of this process may be interchanged as long as there is no contradiction. Further, the present invention may be provided as a machine-learned model update method performed in the machine-learned model update system 100 or 200.
 本発明は、サーバー110、通信機器120、又はエッジデバイス130において実行されるプログラムとして提供されてもよい。このプログラムは、インターネットなどの通信回線を介してダウンロードされてもよいし、磁気記録媒体(磁気テープ、磁気ディスクなど)、光記録媒体(光ディスクなど)、光磁気記録媒体、半導体メモリなどの、コンピュータが読取可能な記録媒体に記録した状態で提供されてもよい。 The present invention may be provided as a program executed in the server 110, the communication device 120, or the edge device 130. This program may be downloaded via a communication line such as the Internet, or a computer such as a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, or a semiconductor memory. May be provided in a state of being recorded on a readable recording medium.
100、200:モデルアップデートシステム、110:サーバー、120:通信機器、130:エッジデバイス、211:生成手段、212:掲示手段、213:エッジデバイス認証手段、214:制御手段、215:評価手段、231:接続手段、232:サーバー認証手段、233:確認手段、234:取得手段、235:置換手段、236:処理手段 100, 200: Model update system, 110: Server, 120: Communication device, 130: Edge device, 211: Generation means, 212: Posting means, 213: Edge device authentication means, 214: Control means, 215: Evaluation means, 231 : Connection means, 232: server authentication means, 233: confirmation means, 234: acquisition means, 235: replacement means, 236: processing means

Claims (12)

  1.  インターネットに接続されていないエッジデバイスが、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、当該エッジデバイスにインストールされている機械学習済みモデルを、前記インターネットを介して提供される新たな機械学習済みモデルにアップデートする機械学習済みモデルアップデートシステム。 When an edge device not connected to the Internet is connected to the Internet via a communication device connected to the Internet, a machine-learned model installed on the edge device is transferred via the Internet. A machine-learned model update system that updates to the new machine-learned model provided.
  2.  前記新たな機械学習済みモデルを提供するサーバーの認証鍵を用いて、当該サーバーを認証するサーバー認証手段を備える
     請求項1に記載の機械学習済みモデルアップデートシステム。
    The machine-learned model update system according to claim 1, further comprising server authentication means for authenticating the server using an authentication key of the server providing the new machine-learned model.
  3.  前記エッジデバイスの認証鍵を用いて、当該エッジデバイスを認証するエッジデバイス認証手段を備える
     請求項1又は2に記載の機械学習済みモデルアップデートシステム。
    The machine-learned model update system according to claim 1, further comprising an edge device authentication unit that authenticates the edge device using an authentication key of the edge device.
  4.  前記エッジデバイス認証手段は、前記エッジデバイスの前記認証鍵及び識別情報を用いて、当該エッジデバイスを認証する
     請求項3に記載の機械学習済みモデルアップデートシステム。
    The machine-learned model update system according to claim 3, wherein the edge device authentication unit authenticates the edge device using the authentication key and identification information of the edge device.
  5.  前記エッジデバイスに前記新たな機械学習済みモデルを取得させて、前記機械学習済みモデルを前記取得された新たな機械学習済みモデルにアップデートさせるように制御する制御手段を備える
     請求項1から4のいずれか1項に記載の機械学習済みモデルアップデートシステム。
    5. The control unit according to claim 1, further comprising: a control unit configured to cause the edge device to acquire the new machine-learned model and update the machine-learned model to the acquired new machine-learned model. The machine learning completed model update system according to claim 1.
  6.  前記制御手段は、暗号化通信方式を用いて、前記エッジデバイスに前記新たな機械学習済みモデルを取得させるように制御する
     請求項5に記載の機械学習済みモデルアップデートシステム。
    The machine learning model update system according to claim 5, wherein the control unit controls the edge device to acquire the new machine learned model using an encrypted communication method.
  7.  前記エッジデバイスは、前記インターネットとは異なる通信ネットワークを介して、前記インターネットに接続されていない他のエッジデバイスに接続されており、前記新たな機械学習済みモデルの複製を前記他のエッジデバイスに送信して、当該他のエッジデバイスにインストールされている前記機械学習済みモデルを前記新たな機械学習済みモデルにアップデートする
     請求項1から6のいずれか1項に記載の機械学習済みモデルアップデートシステム。
    The edge device is connected to another edge device not connected to the Internet via a communication network different from the Internet, and sends a copy of the new machine-learned model to the other edge device. The machine-learned model update system according to any one of claims 1 to 6, wherein the machine-learned model installed in the other edge device is updated to the new machine-learned model.
  8.  学習器を用いて学習データを機械学習することにより、前記機械学習済みモデルに対応する新たな機械学習済みモデルが生成されると、前記生成された新たな機械学習済みモデルを記憶する記憶手段と、
     前記新たな機械学習済みモデルがあることを示す情報と、前記新たな機械学習済みモデルが記憶された前記記憶手段内の場所を示すアドレスとを前記エッジデバイスに掲示する掲示手段とを備え、
     前記エッジデバイスは、
     前記インターネットとは異なる通信ネットワークを介して前記通信機器との接続を確立する接続手段と、
     前記接続が確立された後、前記掲示された情報に基づいて前記新たな機械学習済みモデルがあると判定されると、前記掲示されたアドレスが示す前記場所から前記通信機器を介して前記新たな機械学習済みモデルを取得する取得手段と、
     前記機械学習済みモデルを前記取得された新たな機械学習済みモデルに置き換える置換手段と、
     前記新たな機械学習済みモデルを用いて所定の処理を実行する処理手段とを有する
     請求項1から7のいずれか1項に記載の機械学習済みモデルアップデートシステム。
    Storage means for storing the generated new machine-learned model when a new machine-learned model corresponding to the machine-learned model is generated by machine learning of learning data using a learning device; ,
    Posting means for posting on the edge device information indicating that there is a new machine-learned model and an address indicating a location in the storage means in which the new machine-learned model is stored;
    The edge device is
    Connection means for establishing a connection with the communication device via a communication network different from the Internet;
    After the connection is established, if it is determined that there is the new machine-learned model based on the posted information, the new address is sent from the location indicated by the posted address via the communication device. An acquisition means for acquiring a machine-learned model;
    Replacement means for replacing the machine-learned model with the acquired new machine-learned model;
    The machine-learned model update system according to any one of claims 1 to 7, further comprising a processing unit that executes a predetermined process using the new machine-learned model.
  9.  前記機械学習済みモデル及び前記新たな機械学習済みモデルを評価する評価手段をさらに有し、
     前記掲示手段は、前記新たな機械学習済みモデルの精度が前記機械学習済みモデルの精度よりも低いと評価された場合には、前記新たな機械学習済みモデルがあることを示す情報を掲示しない
     請求項8に記載の機械学習済みモデルアップデートシステム。
    An evaluation means for evaluating the machine-learned model and the new machine-learned model;
    If the accuracy of the new machine-learned model is evaluated to be lower than the accuracy of the machine-learned model, the posting unit does not post information indicating that there is the new machine-learned model. Item 9. The machine-learned model update system according to Item 8.
  10.  インターネットに接続されていないエッジデバイスであって、
     前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、請求項1に記載の機械学習済みモデルアップデートシステムから前記インターネットを介して前記新たな機械学習済みモデルを取得し、インストールされている機械学習済みモデルを、前記新たな機械学習済みモデルに置き換えるエッジデバイス。
    An edge device that is not connected to the Internet,
    The new machine-learned model is acquired via the Internet from the machine-learned model update system according to claim 1 when connected to the Internet via a communication device connected to the Internet. An edge device that replaces an installed machine-learned model with the new machine-learned model.
  11.  インターネットに接続されていないエッジデバイスが、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、当該エッジデバイスにインストールされている機械学習済みモデルを、前記インターネットを介して提供される新たな機械学習済みモデルにアップデートする機械学習済みモデルアップデート方法。 When an edge device not connected to the Internet is connected to the Internet via a communication device connected to the Internet, a machine-learned model installed on the edge device is transferred via the Internet. A machine-learned model update method that updates to a new machine-learned model that is provided.
  12.  コンピュータに、
     インターネットに接続されていないエッジデバイスが、前記インターネットに接続された通信機器を介して前記インターネットに接続された状態のときに、当該エッジデバイスにインストールされている機械学習済みモデルを、前記インターネットを介して提供される新たな機械学習済みモデルにアップデートするステップ
     を実行させるためのプログラム。
    On the computer,
    When an edge device not connected to the Internet is connected to the Internet via a communication device connected to the Internet, a machine-learned model installed on the edge device is transferred via the Internet. A program to execute the step of updating to a new machine-learned model provided.
PCT/JP2018/008419 2018-03-05 2018-03-05 Machine learning-trained model update system, edge device, machine learning-trained model update method, and program WO2019171443A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/008419 WO2019171443A1 (en) 2018-03-05 2018-03-05 Machine learning-trained model update system, edge device, machine learning-trained model update method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/008419 WO2019171443A1 (en) 2018-03-05 2018-03-05 Machine learning-trained model update system, edge device, machine learning-trained model update method, and program

Publications (1)

Publication Number Publication Date
WO2019171443A1 true WO2019171443A1 (en) 2019-09-12

Family

ID=67846521

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/008419 WO2019171443A1 (en) 2018-03-05 2018-03-05 Machine learning-trained model update system, edge device, machine learning-trained model update method, and program

Country Status (1)

Country Link
WO (1) WO2019171443A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7505730B2 (en) 2019-11-14 2024-06-25 株式会社アクセル Inference system, information processing device, and information processing program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165057A (en) * 2009-01-13 2010-07-29 Nakayo Telecommun Inc Communication terminal and software updating method
WO2016118815A1 (en) * 2015-01-22 2016-07-28 Preferred Networks, Inc. Machine learning heterogeneous edge device, method, and system
WO2016152053A1 (en) * 2015-03-23 2016-09-29 日本電気株式会社 Accuracy-estimating-model generating system and accuracy estimating system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165057A (en) * 2009-01-13 2010-07-29 Nakayo Telecommun Inc Communication terminal and software updating method
WO2016118815A1 (en) * 2015-01-22 2016-07-28 Preferred Networks, Inc. Machine learning heterogeneous edge device, method, and system
WO2016152053A1 (en) * 2015-03-23 2016-09-29 日本電気株式会社 Accuracy-estimating-model generating system and accuracy estimating system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7505730B2 (en) 2019-11-14 2024-06-25 株式会社アクセル Inference system, information processing device, and information processing program

Similar Documents

Publication Publication Date Title
US11882118B2 (en) Identity verification and management system
US11334560B2 (en) Asset management method and apparatus, and electronic device
US20230006975A1 (en) Blockchain joining for a limited processing capability device and device access security
US10713874B2 (en) Machine learning-based platform for user identification
US20200136833A1 (en) Asset management method and apparatus, and electronic device
CN106104555B (en) For protecting the behavioural analysis of peripheral equipment
US10911438B2 (en) Secure detection and management of compromised credentials using a salt and a set model
Mehbodniya et al. Modified Lamport Merkle Digital Signature blockchain framework for authentication of internet of things healthcare data
US10129252B1 (en) Identity management system
CN116635866A (en) Method and system for mining minority class data samples to train a neural network
BR112019008140B1 (en) COMPUTER-IMPLEMENTED METHOD, COMPUTER-READABLE STORAGE MEDIA AND SYSTEM FOR IMPLEMENTING A METHOD
WO2022051237A1 (en) Methods and systems for secure data analysis and machine learning
US11695746B2 (en) Multi-layer user authentication with live interaction
CN111652615A (en) Safety identification method based on block chain big data and artificial intelligence cloud service platform
US10715315B1 (en) Secure management of content using a middleware layer between a client and a server
US11711215B2 (en) Methods, systems, and media for secure authentication of users based on a biometric identifier and knowledge-based secondary information
US20210144132A1 (en) Distributed encryption
CN109597796A (en) File content amending method, device and computer readable storage medium
US9467291B2 (en) Information processing system, information processing method, and non-transitory computer readable medium for processing requests using an authority object
WO2019171443A1 (en) Machine learning-trained model update system, edge device, machine learning-trained model update method, and program
WO2019171468A1 (en) Machine learning-trained model switching system, edge device, machine learning-trained model switching method, and program
US11403156B2 (en) API hub architecture
JP6759472B2 (en) Trained model update system, trained model update method, and program
KR20210138994A (en) Electric apparatus control method for Federated learning and Electric apparatus
Shah et al. Blockchain‐based object detection scheme using federated learning

Legal Events

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

Ref document number: 18909168

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18909168

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP