Modular Exponentiation Engine for Federated Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Federated learning faces challenges in computing performance due to the need for large integer modular multiplication operations, particularly with algorithms like RSA, Paillier, and DH, which require extensive processing resources and hinder data collaboration across organizations.

Innovation Solution

A processing device and method that includes modular exponentiation engines, pre-processing, montgomerization, confusion calculation, and montgomery reduction modules, allowing flexible execution of different operator modes to optimize modular exponentiation operations, transforming them into multiple modular multiplication operations for improved efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional modular exponentiation algorithms (RSA, Paillier, DH) are used in federated learning, then privacy security is ensured through encryption, but computing performance deteriorates due to extensive large integer modular multiplication operations

Engineering Contradiction:
Improveprivacy securityVSAvoidcomputing performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the modular exponentiation operation into multiple modular multiplication operations. By breaking down the complex exponentiation task into simpler multiplication steps, the system can process each segment in parallel, thereby improving computing performance while maintaining the security properties of the original encryption algorithms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges multiple modular multiplication operations into a unified parallel processing framework. By combining several computation steps that can be executed simultaneously, the system achieves better resource utilization and faster overall processing speed without compromising the cryptographic security requirements.

Inventive Principle:
Principle #5Merging (Combining)

2Adaptability or versatility

If multiple encryption algorithms are supported for different operator modes in federated learning, then adaptability is improved, but device complexity increases due to needing separate processing circuits for each algorithm

Engineering Contradiction:
Improvesupport for multiple operator modesVSAvoidcircuit complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent designs a universal processing device that can handle multiple encryption algorithms (RSA, Paillier, DH) and various operator modes through a single unified circuit architecture. This multi-functional design eliminates the need for separate dedicated circuits for each algorithm, thereby reducing device complexity while maintaining broad adaptability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent implements a dynamic configuration capability that allows the processing device to adapt its operation mode based on the specific algorithm and operator mode requirements. This dynamic adaptability enables a single circuit to efficiently handle different cryptographic operations without requiring static dedicated hardware for each case.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11521129B2Processing device, accelerator, and method for federated learning
Publication Date: 2022.12.06 CLUSTAR TECH LO LTD
  • US11521129B2 patent drawing
  • US11521129B2 patent drawing
  • US11521129B2 patent drawing

AI summary

A processing device for federated learning, including: a modular exponentiation module including at least one modular exponentiation engine; a pre-processing module for providing operations corresponding to a plurality of operator modes; a montgomerization module for providing montgomerization operations; a confusion calculation module for providing modular multiplication operations in montgomery space; a montgomery reduction module for providing montgomery reduction operations; and a controller for determining, according to an input operator mode, whether to enable at least two modules out of the pre-processing module, the montgomerization module, the confusion calculation module, and the montgomery reduction module, so as for cooperatively performing the input operator mode together with the modular exponentiation module.