Private power conversion device, private power conversion method, and program
Patent Information
- Application Number
- JP2023526779
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-10
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-06-10
Smart Images

Figure 0007568091000006 
Figure 0007568091000007 
Figure 0007568091000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a private power conversion device, a private power conversion method, and a program. [Background technology]
[0002] Power transformations such as the Box-Cox transformation are known (for example, see Non-Patent Document 1). In power transformations, the parameters of a non-linear function that brings data closer to a normal distribution (Gaussian distribution) are found, and then the non-linear function is applied, thereby bringing data closer to a normal distribution. This makes it possible to expand the scope of application of various analyses that assume the normality of data. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] George EP Box and David R Cox. An analysis of transformations. Journal of the Royal Statistical Society: Series B (Methodological), Vol. 26, No. 2, pp. 211-243, 1964. Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, when analyzing data that includes personal information, it is necessary to perform the analysis in a manner that protects the privacy of individuals.
[0005] However, when applying the Box-Cox transformation to data including personal information, in the conventional technology, the nonlinear function whose parameters are calculated from the data is likely to contain information relating to the individual.
[0006] An embodiment of the present invention has been made in view of the above points, and has an object to realize a privacy-preserving Box-Cox transformation. [Means for solving the problem]
[0007] In order to achieve the above object, a private power transformation device according to one embodiment is a private power transformation device that transforms data using a Box-Cox transformation, the private power transformation device including: - <0 and λ + >0 - and λ + a random number generator that generates the random number λ using the data; - and λ + Using a differentially private gradient descent algorithm with the initial values of - ^ and λ + ^ and an optimization unit that calculates the local solution λ - ^ and λ + ^ as an optimal solution for the parameters, and a transformation unit that transforms the data by the Box-Cox transformation using the optimal solution. Effect of the Invention
[0008] It is possible to realize privacy-preserving Box-Cox transformation. [Brief description of the drawings]
[0009] [Figure 1] FIG. 2 is a diagram illustrating an example of a hardware configuration of a private power transformation device according to the present embodiment. [Diagram 2] 1 is a diagram illustrating an example of a functional configuration of a private power transformation device according to an embodiment of the present invention. [Diagram 3] 13 is a flowchart illustrating an example of a private power conversion process according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described. A private power conversion device 10 capable of realizing a privacy-protected Box-Cox conversion will be described, targeting Box-Cox conversion, which is an example of power conversion.
[0011] <Box-Cox transformation> When the input of the Box-Cox transformation f is x, the transformation is performed by the non-linear function shown in the following equation (1).
[0012]
Equation
[0013] Let the N data input to the Box-Cox transformation f be {x1, ···, x N}, and the data y i (i = 1, ···, N) obtained by transforming the data x i = f(x i ) be used. At this time, the above parameter λ is determined such that the N data {y1, ···, y N} is closest to the normal distribution. More specifically, a parameter λ is obtained such that the likelihood shown in the following equation (2) is maximized.
[0014]
Equation
[0015]
Equation
[0016] As a method for obtaining the above parameter λ, an optimization algorithm called the Brent method is generally adopted.
[0017] <Privacy-protected Box-Cox transformation> In this embodiment, (ε, δ)-differential privacy (see, for example, Reference 1) is used as the criterion for privacy protection.
[0018] As mentioned above, N pieces of data {x1, . . . , x N} contains personal information, these data {x1,...,x N There is a high possibility that the nonlinear function f obtained by calculating the parameter λ from {\displaystyle \lambda ...
[0019] DP-SGD guarantees (ε,δ)-differential privacy by imposing certain constraints on the L2 norm of the gradient used in the SGD (stochastic gradient descent) calculation and adding noise that follows a normal distribution (Gaussian distribution) to the gradient. Note that in Reference 2, a method of clipping the gradient is used to impose constraints on the L2 norm of the gradient.
[0020] <Hardware Configuration of the Private Power Transformation Device 10> The hardware configuration of a private power conversion device 10 according to this embodiment is shown in Fig. 1. As shown in Fig. 1, the private power conversion device 10 according to this embodiment is realized by the hardware configuration of a general computer or computer system, and has an input device 101, a display device 102, an external I / F 103, a communication I / F 104, a processor 105, and a memory device 106. Each of these hardware components is connected to each other via a bus 107 so as to be able to communicate with each other.
[0021] The input device 101 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 102 is, for example, a display, etc. Note that the private power transformation device 10 does not necessarily have to include at least one of the input device 101 and the display device 102, for example.
[0022] The external I / F 103 is an interface with an external device such as a recording medium 103a. The private power transformation device 10 can read and write data from and to the recording medium 103a via the external I / F 103. Examples of the recording medium 103a include a CD (Compact Disc), a DVD (Digital Versatile Disk), a SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.
[0023] The communication I / F 104 is an interface for connecting the private power transformation device 10 to a communication network. The processor 105 is, for example, various arithmetic devices such as a central processing unit (CPU) or a graphics processing unit (GPU). The memory device 106 is, for example, various storage devices such as a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read only memory (ROM), and a flash memory.
[0024] The private power conversion device 10 according to the present embodiment can realize a private power conversion process described later by having the hardware configuration shown in Fig. 1. Note that the hardware configuration shown in Fig. 1 is an example, and the private power conversion device 10 may have other hardware configurations. For example, the private power conversion device 10 may have multiple processors 105, may have multiple memory devices 106, or may have various hardware other than the hardware shown in Fig. 1.
[0025] <Functional configuration of the private power transformation device 10> The functional configuration of the private power conversion device 10 according to this embodiment is shown in Fig. 2. As shown in Fig. 2, the private power conversion device 10 according to this embodiment includes a random number generation unit 201, an optimization unit 202, a parameter output unit 203, and a conversion unit 204. Each of these units is realized by, for example, processing executed by a processor 105 of one or more programs installed in the private power conversion device 10.
[0026] Moreover, the private power transformation device 10 according to the present embodiment includes a storage unit 205. The storage unit 205 is realized by, for example, the memory device 106. Note that the storage unit 205 may be realized by, for example, a storage device (such as a database server) connected to the private power transformation device 10 via a communication network.
[0027] The random number generator 201 generates a random number λ as an initial value of the parameter λ. - and λ + Generate.
[0028] The optimization unit 202 optimizes the random number λ generated by the random number generation unit 201. - and λ + are set as initial values, and the data {x1, ,x N} and use DP-SGD to find the local solution λ - ^ and λ + ^ is calculated for each. Note that a local solution is at least a locally optimal solution.
[0029] The parameter output unit 203 outputs the local solution λ calculated by the optimization unit 202. - ^ and λ + One of the two is output as the parameter λ of the Box-Cox transformation f.
[0030] The transformation unit 204 transforms the data {x1, . . . , x N} to {y1,...,y N}.
[0031] The storage unit 205 stores various data (for example, data {x1, . . . , x N}, parameter λ, etc.) are stored.
[0032] <Private power transformation processing> The private power conversion process according to this embodiment will be described with reference to FIG.
[0033] First, the random number generation unit 201 generates a random number λ as an initial value of the parameter λ. - (where λ - <0) and λ + (where λ + >0) is generated (step S101).
[0034] Next, the optimization unit 202 calculates the random number λ generated in step S101. - and λ + are set as initial values, and the data {x1, ,x N} and use DP-SGD to find the local solution λ - ^ and λ + That is, the optimization unit 202 calculates the random number λ - Using DP-SGD, we set the initial value to λ - ^ is calculated and a random number λ + Using DP-SGD, we set the initial value to λ + At this time, the optimization unit 202 uses, as the loss function L(λ) of DP-SGD, L(λ) defined as L(λ)=-llf(λ) using the (logarithmic) likelihood function llf(λ) shown in the following formula (3).
[0035]
number
[0036]
number
[0037] The likelihood function llf(λ) shown in equation (3) is obtained by rewriting the above equation (2) as a likelihood function.
[0038] This allows us to find the local solution λ - ^ and λ + ^ and the corresponding likelihood function value llf(λ - ^) and llf(λ + ^) and are calculated. These local solutions λ - ^ and λ + Both of ^ satisfy (ε, δ)-differential privacy.
[0039] For details of the DP-SGD algorithm, see, for example, Reference 2.
[0040] Next, the parameter output unit 203 outputs the local solution λ calculated in step S102 above. - ^ and λ + Among these, the one with the larger likelihood function value is output as the parameter λ (that is, the optimal solution for the parameter λ) (step S103). - ^)>llf(λ + ^) if λ - ^ is output as parameter λ, and llf(λ - ^) <llf(λ + ^) if λ + ^ is output as the parameter λ. Note that llf(λ - ^)=llf(λ + ^), the parameter output unit 203 - ^ and λ + Either of the above may be output as the parameter λ (so in this case, a predetermined one may be output as the parameter λ).
[0041] This gives us the parameter λ of the Box-Cox transformation f that satisfies (2ε, 2δ)-differential privacy.
[0042] Then, the conversion unit 204 converts the data {x1, . . . , x N} to {y1,...,y N} (step S104). This converts data {y1, . . . , y N} is obtained.
[0043] <Summary> As described above, the private power transformation device 10 according to the present embodiment calculates the parameter λ of the Box-Cox transformation by differentially private gradient descent (DP-SGD) instead of the Brent algorithm. This makes it possible to obtain the parameter λ of the Box-Cox transformation f that satisfies (2ε, 2δ)-differential privacy, thereby realizing a privacy-protected Box-Cox transformation.
[0044] Therefore, by using the private power transformation device 10 according to this embodiment, N pieces of data {x1, . . . , x N} is transformed into data {y1, ,y N}, it is possible to prevent leakage of the confidential information. Therefore, by performing the Box-Cox transformation using the private power transformation device 10 according to the present embodiment, data {x1, . . . , x N}, it becomes possible to perform various analyses that assume normality. For example, it becomes possible to build machine learning models using parametric machine learning methods that assume the normality of data.
[0045] In addition, the private power transformation device 10 according to the present embodiment may not only perform data transformation by the Box-Cox transformation, but may also perform various analyses assuming normality, and may further perform control based on the analysis results. For example, after constructing a machine learning model using a parametric machine learning method, other devices, equipment, systems, programs, etc. may be controlled (such as starting, stopping, changing the operation state, etc.) based on the inference results of this machine learning model.
[0046] The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications, changes, combinations with known technologies, etc. are possible without departing from the scope of the claims.
[0047] [References] Reference 1: Cynthia Dwork. Differential privacy. In 33rd International Colloquium on Automata, Languages and Programming, part II (ICALP 2006), Vol. 4052, pp. 1-12, 2006. Reference 2: Martin Abadi, Andy Chu, Ian Goodfellow, H Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC conference on computer and communications security, pp. 308-318, 2016. [Explanation of symbols]
[0048] 10 Private Power Converter 101 Input Device 102 Display device 103 External I / F 103a Recording media 104 Communication I / F 105 processors 106 Memory Device 107 Bus 201 Random Number Generator 202 Optimization Department 203 Parameter Output Section 204 Conversion unit 205 Storage section
Claims
1. A private power transformation device that transforms data using a Box-Cox transformation, comprising: As the initial value of the parameter of the Box-Cox transformation, λ - <0 and λ + >0 - and λ + A random number generator that generates a random number Using the data, the random number λ - and λ + Using a differentially private gradient descent method with the initial values of - ^ and λ + an optimization unit for calculating each of The local solution λ - ^ and λ + a parameter output unit that outputs one of the above as an optimal solution for the parameters; a transformation unit that transforms the data by the Box-Cox transformation using the optimal solution; A private power transformer having
2. The optimization unit is The local solution λ is calculated by the differentially private gradient descent method using a likelihood ll(λ) that indicates that the distribution of the transformed data after transforming the data by the Box-Cox transformation is a normal distribution, and the negative value of the likelihood ll(λ) is used as a loss. - ^ and λ + 2. The private power transformation device according to claim 1, wherein each of the power transformation devices calculates ^.
3. The parameter output unit The local solution λ - ^ and λ + 3. The private power transformation device according to claim 2, wherein the one having a higher value of the likelihood ll(λ) is output as the optimal solution.
4. The private power transformation device according to claim 1 , wherein the data includes information that should be kept secret.
5. A private power transformation device that transforms data by a Box-Cox transformation, As the initial value of the parameter of the Box-Cox transformation, λ - <0 and λ + >0 - and λ + A random number generation procedure that generates Using the data, the random number λ - and λ + Using a differentially private gradient descent method with the initial values of - ^ and λ + ^, and an optimization procedure to calculate The local solution λ - ^ and λ + a parameter output step of outputting one of the above as an optimal solution for the parameters; a transformation step of transforming the data by the Box-Cox transformation using the optimal solution; A private power transformation method that performs
6. A program for causing a computer to function as the private power transformation device according to any one of claims 1 to 4.
Citation Information
Cited By
Interpolation method for multi-dimensional time series monitoring data of concrete condition
JP2025031561A
