RNS-Based CKKS Scaling Alignment for Lower Decryption Noise

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Homomorphic encryption schemes like CKKS suffer from significant noise growth during operations, leading to inaccurate decryption results due to exponential error accumulation, especially when using residue number systems (RNS) for efficient computations.

Innovation Solution

The method adjusts scaling factors of ciphertexts to match before operations and applies modified rescaling techniques to minimize error, using prime moduli in the RNS system to maintain accurate decryption by controlling noise growth linearly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional CKKS homomorphic encryption is used with residue number systems for efficient computations, then computational efficiency is improved, but noise growth becomes exponential leading to inaccurate decryption results

Engineering Contradiction:
Improvecomputational efficiencyVSAvoiddecryption accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies preliminary action by adjusting the scaling factor of ciphertexts before performing homomorphic multiplication operations. When ciphertexts have different scaling factors, the method pre-adjusts them to have matching scaling factors before the operation, preventing noise growth issues during computation and maintaining decryption accuracy while preserving computational efficiency

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If homomorphic multiplication operations are performed on ciphertexts with different scaling factors, then operational flexibility is improved, but noise accumulation increases exponentially

Engineering Contradiction:
Improveoperational flexibilityVSAvoidnoise accumulation
Core Design Contradiction:
Adaptability or versatilityVSObject-generated harmful factors

Solution Approach 1:

The method performs preliminary scaling factor adjustment before homomorphic multiplication. By ensuring both ciphertexts have the same scaling factor prior to operation, the system maintains operational flexibility while preventing exponential noise accumulation that would occur if operations were performed on mismatched scaling factors

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If rescaling operations are applied to reduce noise, then decryption precision is improved, but computational complexity increases

Engineering Contradiction:
Improvedecryption precisionVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies rescaling operations as a preliminary step before homomorphic multiplication when ciphertexts have different scaling factors. By normalizing scaling factors in advance, the method reduces noise and improves decryption precision while avoiding the need for complex rescaling operations during the main computation

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12362903B2RNS-based CKKS variant with minimal rescaling error
Publication Date: 2025.07.15 DUALITY TECHNOLOGIES INC
  • US12362903B2 patent drawing
  • US12362903B2 patent drawing
  • US12362903B2 patent drawing

AI summary

Methods and systems for reducing noise in homomorphic multiplication include: receiving a plurality of ciphertexts, each having a corresponding level; receiving data specifying a homomorphic multiplication on two ciphertexts; for two ciphertexts having different levels: adjusting a scaling factor of a first ciphertext so that the respective scaling factors of the two ciphertexts are the same; performing the homomorphic multiplication; and rescaling a result of the homomorphic multiplication; for two ciphertexts having the same level: performing the homomorphic multiplication; rescaling a result of the homomorphic multiplication; and using the scaling factors of the two ciphertexts during a decryption process.