FHE Scale Initialization via Weighted Geometric Mean

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Fully-homomorphic encryption schemes face challenges in managing ciphertext scales during modulus chain operations, leading to computationally impractical magnitudes and inaccuracies, especially in deep modulus chains where scales grow exponentially or become too low to handle.

Innovation Solution

Initializing the highest level of the modulus chain scale to a weighted geometric mean of prime numbers, with weights based on the location of each prime, ensures that subsequent scales remain within manageable ranges, preventing excessive growth or decay, and allowing for accurate rescaling across levels.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional scale initialization methods are used in deep modulus chains, then the encryption scheme can operate, but the scales grow exponentially or become too low, leading to computationally impractical magnitudes and inaccuracies

Engineering Contradiction:
Improvecomputation accuracyVSAvoidscale management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing optimal scale values for each level of the modulus chain before execution. The scale at each level is determined in advance based on the prime factorization and modular arithmetic properties, eliminating the need for dynamic scale adjustment during computation and preventing exponential growth or decay of scales

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter initialization approach by setting the scale at the highest level to a specific value derived from the product of primes in the modulus chain, rather than using traditional initialization methods. This parameter change ensures that subsequent scales at lower levels remain within computationally practical ranges through the relationship defined by the modulus chain structure

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If scales are maintained at manageable ranges through weighted geometric mean initialization, then computation accuracy is preserved, but the initialization calculation becomes more complex

Engineering Contradiction:
Improvescale accuracyVSAvoidinitialization complexity
Core Design Contradiction:
Measurement precisionVSEase of manufacture

Solution Approach 1:

The complex weighted geometric mean calculation is performed in advance during system setup or key generation. The optimal scale values are pre-computed and stored in lookup tables, transforming a complex runtime calculation into a simple retrieval operation during actual homomorphic computations

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary computation layer that translates the complex weighted geometric mean formula into a structured initialization procedure. The scale at each level is computed as a function of the primes and the scale at the next level, creating a systematic intermediate step that simplifies the overall initialization process

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20240039691A1Management of accurate scales in fully-homomorphic encryption schemes
Publication Date: 2024.02.01 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240039691A1 patent drawing
  • US20240039691A1 patent drawing
  • US20240039691A1 patent drawing

AI summary

A computer-implemented method including, in a fully-homomorphic encryption (FHE) scheme that employs ciphertext rescaling at different levels of a modulus chain of prime numbers: initializing a scale of the highest level of the modulus chain to a value that equals a weighted geometric mean of all the prime numbers, wherein, in the weighted geometric mean, the weight for each of the prime numbers is two to the power of: a location of the respective prime number in the modulus chain, minus one.