A federated learning model code compiling method and device, electronic equipment and a storage medium

A technology for learning models and compiling methods, which is applied to code compiling methods for federated learning models, electronic equipment and storage media, and devices, and can solve problems such as complex code logic, time-consuming development and maintenance, and low training efficiency

Pending Publication Date: 2021-04-09
WEBANK (CHINA)
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, the training code of federated learning needs to be compiled based on the data calculation, parameter training, and interaction of all parties involved in the training. For users, the code logic to be implemented is quite complicated and requires more time to develop and maintenance, training is less efficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A federated learning model code compiling method and device, electronic equipment and a storage medium
  • A federated learning model code compiling method and device, electronic equipment and a storage medium
  • A federated learning model code compiling method and device, electronic equipment and a storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the scope of protection of this application.

[0082] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0083] In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where permitted, the specific order or sequencing may be interchanged such that the embodiments of the application described herein can be practiced in sequences oth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a federated learning model code compiling method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining model information of a federated learning model; constructing a calculation graph corresponding to the model information based on the model information, wherein the calculation graph comprises nodes corresponding to each layer in the federated learning model, and is used for indicating a forward connection relationship and a backward connection relationship between the layers in the federated learning model; obtaining a program code corresponding to each node in the calculation graph; compiling a program code corresponding to each node in the calculation graph according to a forward connection relationship and a backward connection relationship between layers in the federated learning model to obtain an executable training code for training the federated learning model; through the invention, the complexity of training codes of the federated learning model required to be realized by a user can be reduced, and the model training efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular to a code compilation method, device, electronic equipment and storage medium for a federated learning model. Background technique [0002] Artificial Intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the nature of intelligence and produce a new kind of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that the machines have the functions of perception, reasonin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41G06N20/00
CPCG06F8/427G06N20/00
Inventor 陈建蓉唐兴兴黄启军陈振南陈瑞钦
Owner WEBANK (CHINA)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products