The invention discloses a
blockchain and game theory enabling privacy enhancement federal learning method and
system, and relates to the technical field of
privacy protection. The invention aims to solve the problems of single-point fault risk, data privacy leakage hidden danger, Byzantine
attack threat and the like when an industrial institution with
harmonic reducer data uses federal learning to
train a global fault diagnosis model. According to the technical key points, the method comprises the following steps: firstly, enabling federal learning of a block chain, and proposing a decentralized training framework; secondly, a
privacy protection method fusing the
Chinese remainder theorem and the shamir
secret sharing technology is provided, and dual
privacy protection is flexibly provided for participants; then, the homomorphic characteristic of the privacy enhancement method is utilized to defend Byzantine attacks, and the robustness of a
federated learning system is improved; and finally, designing an incentive
mechanism based on the game theory, inhibiting malicious behaviors in the training process, and realizing collaborative security of all parties. Experiments show that compared with a baseline scheme, the test accuracy of the BGFL is improved by 0.93%-22.75%; compared with a comparative
federated learning scheme based on
secret sharing, the BGFL can achieve the goals of safety, robustness and the like only with the calculation overhead and the communication overhead of 5.91% and 4.01%.