IP Library › Granted Patent US 12,425,181
Granted Patent B2
US 12,425,181 · App. 17/853,798 · Granted Sep 23, 2025

Using homomorphic encryption with private variables

Inventors: Jae Wook Lee (Seoul, KR); Jun Young Byun (Seoul, KR)
Assignee: SEOUL NATIONAL UNIVERSITY R&DB FOUNDATION
H04L9/008G06F18/2415
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,425,181
App. No.
17/853,798
Granted
Sep 23, 2025
Kind
B2
Abstract

Provided is homomorphic encryption data processing method and apparatus and relates to homomorphic encryption data processing method and apparatus that set weighted values to a segment classification value (a logit value) and a distribution value of a dataset including a homomorphic encryption and uses weighted values to perform computation and learning of data in a state in which the homomorphic encryption is maintained.

Claims (44)

1. A homomorphic encryption data processing method comprising:

deriving a first classification value which is a segment classification value of a dataset including homomorphic encryption by inputting the dataset of data including the homomorphic encryption to a segment classification module for determining whether the data is about what kind of information, wherein the segment classification module was trained by using a non-homomorphic encryption dataset that does not include the homomorphic encryption;

deriving a first distribution average value of the first classification value and deriving a second distribution average value by adding a weighted value to the first distribution average value;

deriving a second classification value by using the second distribution average value; and

performing computation of data including the homomorphic encryption by using the second classification value and the second distribution average value,

wherein the weighted value is used to correct a distribution bias that occurs when data including homomorphic encryption is input to the segment classification module.

2. The homomorphic encryption data processing method of claim 1 , wherein the deriving of the first classification value comprises:

extracting a first logit of the dataset including the homomorphic encryption; and

setting, as the first classification value, a value corresponding to probability that the data of the dataset including the homomorphic encryption from the first logit is classified into any one of segments.

3. The homomorphic encryption data processing method of claim 2 , wherein the deriving of the second distribution average value comprises:

deriving a third classification value that is a segment classification value of the dataset that does not include the homomorphic encryption by inputting the dataset of the data that do not include the homomorphic encryption to the segment classification module;

deriving a third distribution average value that is a distribution average value of the third classification value; and

setting the weighted value such that the first distribution average value is equal to the third distribution average value by performing average fitting of the first distribution average value and the third distribution average value.

4. The homomorphic encryption data processing method of claim 3 , wherein the performing of the computation of the data including the homomorphic encryption comprises:

storing a first dataset including data including the homomorphic encryption and data that do not include the homomorphic encryption as a slot;

calculating an estimation value for a previously stored linear model by applying the homomorphic encryption data and the non-homomorphic encryption data in the first dataset to the linear model; and

transmitting the calculated estimation value to an external apparatus.

5. The homomorphic encryption data processing method of claim 4 , wherein the calculating of the estimation value comprises extracting a term using the homomorphic encryption data from among polynomials required for calculating the estimation value of the linear model and calculating the estimation value by performing homomorphic computation for the extracted term.

6. The homomorphic encryption data processing method of claim 5 , wherein the calculating of the estimation value comprises:

generating a matrix corresponding to the first dataset;

decomposing the matrix into a first matrix including the homomorphic encryption data and a second matrix that does not include the homomorphic encryption data;

enabling the second matrix to be orthogonal to the first matrix; and

calculating the estimation value for the linear model by using the first matrix and the second matrix.

7. The homomorphic encryption data processing method of claim 6 , wherein the first dataset comprises a plurality of different variables, each homomorphically encrypted.

8. The homomorphic encryption data processing method of claim 7 , wherein the linear model is a ridge regression linear model.

9. A homomorphic encryption data computing apparatus comprising:

a memory storing at least one instruction; and

a processor configured to execute the at least one instruction,

wherein the processor executes the at least one instruction to:

classify whether data is about what kind of information,

derive a first classification value that is a segment classification value of a dataset of data including a homomorphic encryption by inputting the dataset of data including the homomorphic encryption to a segment classification module, wherein the segment classification module was trained by using a non-homomorphic encryption dataset that does not include the homomorphic encryption,

derive a first distribution average value of the first classification value,

drive a second distribution average value by adding a weighted value to the first distribution average value,

drive a second classification value by using the second distribution average value, and

calculate data including a homomorphic encryption by using the second classification value and the second distribution average value,

wherein the weighted value is used to correct a distribution bias that occurs when data including homomorphic encryption is input to the segment classification module.

10. The homomorphic encryption data computing apparatus of claim 9 , wherein the processor extracts a first logit of the dataset including the homomorphic encryption, and sets, as the first classification value, a value corresponding to probability that the data of the dataset including the homomorphic encryption from the first logit is classified into any one of segments.

11. The homomorphic encryption data computing apparatus of claim 10 , wherein the processor derives a third classification value which is a segment classification value of a dataset that does not include the homomorphic encryption by inputting the dataset of the data that do not include the homomorphic encryption to the segment classification module, derives a third distribution average value that is a distribution average value of the third classification value, and sets the weighted value such that the first distribution average value is equal to the third distribution average value by performing average fitting of the first distribution average value and the third distribution average value.

12. The homomorphic encryption data computing apparatus of claim 11 , wherein the processor performs repetitive learning of a classification process as to whether data is homomorphic encryption data by using the non-homomorphic encryption dataset.

13. The homomorphic encryption data computing apparatus of claim 12 , wherein the processor stores a first dataset including data including the homomorphic encryption and data that do not include the homomorphic encryption as a slot and calculates an estimation value for a previously stored linear model by applying the homomorphic encryption data and the non-homomorphic encryption data in the first dataset to the linear model.

14. The homomorphic encryption data computing apparatus of claim 13 , wherein the processor extracts a term using the homomorphic encryption data from among polynomials required for calculating the estimation value of the linear model and calculating the estimation value by performing homomorphic computation for the extracted term.

15. The homomorphic encryption data computing apparatus of claim 14 , wherein the processor generates a matrix corresponding to the first dataset, decomposes the matrix into a first matrix including the homomorphic encryption data and a second matrix that does not include the homomorphic encryption data, enables the second matrix to be orthogonal to the first matrix, and calculates the estimation value for the linear model by using the first matrix and the second matrix.

16. The homomorphic encryption data computing apparatus of claim 15 , wherein the first dataset comprises a plurality of different variables, each homomorphically encrypted.

17. The homomorphic encryption data computing apparatus of claim 16 , wherein the linear model is a ridge regression linear model.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2022
From: LEE, JAE WOOK; BYUN, JUN YOUNG
To: SEOUL NATIONAL UNIVERSITY R&DB FOUNDATION
Reel/Frame 060543/0108 →
Priority Claims (1)
KR 10-2021-0111809 · Aug 24, 2021 · national
Continuity (1)
Related Publication 20230081162A1 · Mar 16, 2023
References Cited (11)
US 20120201378A1 · Nabeel · 2012 [cited by examiner]
US 20160036584A1 · Nikolaenko et al. · 2016 [cited by applicant]
US 20170293913A1 · Gulak · 2017 [cited by examiner]
US 20200036512A1 · Vaikuntanathan · 2020 [cited by examiner]
US 20200228336A1 · Streit · 2020 [cited by examiner]
US 20210135837A1 · Cheung · 2021 [cited by examiner]
US 20210150266A1 · Sarpatwar · 2021 [cited by examiner]
JP 2019514301 · 2019 [cited by applicant]
KR 101919940 · 2018 [cited by applicant]
KR 20210067958 · 2021 [cited by applicant]
Byun, et al., Parameter-free HE-friendly Logistic Regression, 35th Conference on Neural Information Processing Systems (NeurIPS 2021). [cited by applicant]