Information processing apparatus and information processing method

FedPM addresses the issue of biased data in SOPM by implementing preconditioned averaging and sharing preconditioning matrices, ensuring effective parameter learning and reducing communication costs in federated learning.

JP2026185448APending Publication Date: 2026-11-27NIPPON TELEGRAPH & TELEPHONE CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025082580
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Conventional Second-Order Parameter Mixing (SOPM) methods in federated learning face challenges in achieving proper parameter learning when local data is statistically biased across multiple clients, leading to potential performance degradation due to discrepancies between local and global preprocessing matrices.

Method used

The proposed method, FedPM, incorporates a preconditioned averaging process that shares both parameters and preconditioning matrices, allowing for multiple local updates while using a globally preprocessed global gradient to correct local gradients, thereby addressing data heterogeneity and reducing communication costs.

Benefits of technology

FedPM effectively handles data heterogeneity, ensuring proper parameter learning and reducing communication costs by utilizing a preconditioned mixing approach, demonstrating superior performance over conventional SOPM methods, especially in real-world scenarios with statistically biased data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185448000001_ABST
    Figure 2026185448000001_ABST
Patent Text Reader

Abstract

This technology provides a mechanism for appropriately learning parameters in associative learning, even when local data is statistically biased across multiple clients. [Solution] An information processing device that functions as a client in a system having a server and multiple clients and performing federated learning of a machine learning model, comprising: a calculation unit that updates the parameters of the machine learning model using a preprocessing matrix and gradients; and an output unit that transmits the updated parameters and the preprocessing matrix to the server.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This invention relates to decentralization in the training of neural network models. [Background technology]

[0002] Decentralized learning is gaining attention as a technique for training neural network models (e.g., large-scale models such as LLMs). Federated learning (FL) is a well-known technique for decentralized learning.

[0003] In federative learning, a central server and multiple clients are used. Two well-known methods for federative learning are first-order optimization-based methods and second-order optimization-based methods. For example, among the second-order optimization-based methods, there are known methods called Second-Order Gradient Mixing (SOGM) and Second-Order Parameter Mixing (SOPM).

[0004] In SOGM, each client calculates a preprocessing matrix and gradients and sends them to the server. The server updates the global parameters using the global preprocessing matrix obtained by averaging the preprocessing matrices and the global gradient obtained by averaging the gradients, and sends the updated parameters to each client.

[0005] In SOPM, each client updates its local parameters at least once and sends the updated parameters to the server. The server updates the global parameters by averaging the parameters received from multiple clients and sends the updated parameters to each client. [Prior art documents] [Non-patent literature]

[0006] [Non-Patent Document 1] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agueray Arcas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics. PMLR,1273-1282. 2017.

Outdoor Tool2

Outdoor Tools3

Outdoor Tools 4

Direct Environment 5

Outdoor Configuration6

Direct Environment 7

Outdoor Track 8

[0007] SOPM has the advantage of lower communication costs compared to SOGM. However, with SOPM, parameter learning may not be performed properly, especially when local data is statistically biased across multiple clients.

[0008] This invention has been made in view of the above points, and aims to provide a technology that enables appropriate parameter learning in associative learning, even when local data is statistically biased among multiple clients. [Means for solving the problem]

[0009] According to the disclosed technology, an information processing device that functions as a client in a system having a server and multiple clients and performing federated learning of a machine learning model, A calculation unit that updates the parameters of the machine learning model using a preprocessing matrix and gradients, An output unit that transmits the updated parameters and the preprocessing matrix to the server. An information processing device equipped with [this feature] is provided. [Effects of the Invention]

[0010] According to the disclosed technology, a technique is provided that enables proper parameter learning in federative learning, even when local data is statistically biased across multiple clients. [Brief explanation of the drawing]

[0011] [Figure 1] This is a diagram illustrating the PSGD procedure. [Figure 2] This is a diagram illustrating the FedAvg procedure. [Figure 3] This is a diagram illustrating the procedure of the SOPM method in the previous technology. [Figure 4] This diagram shows the part of equation (6) that corresponds to parameter mixing on the server and the part that corresponds to parameter updating on the client. [Figure 5] This figure compares the computational and communication costs of FedPM using FOOF approximation and FedPM without any preprocessing matrix approximation. [Figure 6] This figure shows the FedPM algorithm (Algorithm 1) incorporating the FOOF approximation. [Figure 7] This is a diagram illustrating the processing steps in the proposed method. [Figure 8] This is a diagram illustrating the processing steps in the proposed method. [Figure 9] This figure shows an example configuration of the information processing device 100. [Figure 10] This figure shows an example of the device's hardware configuration. [Figure 11] This diagram shows the data distribution (data allocation) between clients. [Figure 12] This diagram shows the data distribution (data allocation) between clients. [Figure 13] This diagram shows the data distribution (data allocation) between clients. [Figure 14] This diagram shows the data distribution (data allocation) between clients. [Figure 15]This figure shows the best test accuracy of the global model achieved by each method across four test configurations combining two datasets / models and two levels of data heterogeneity. [Figure 16] This figure shows the convergence curve using the test accuracy of global parameters. [Figure 17] This figure shows the convergence curve using the test accuracy of global parameters. [Figure 18] This figure shows the convergence curve using the test accuracy of global parameters. [Figure 19] This figure shows the convergence curve using the test accuracy of global parameters. [Figure 20] This figure shows the classification results for CIFAR10 under the condition α=0.1. [Figure 21] This figure shows the results of verifying the impact of client sampling on test accuracy. [Figure 22] This figure shows the results of verifying the impact of client sampling on test accuracy. [Figure 23] This figure shows the effect of changes in the number of local data samples used to calculate the FOOF matrix in FedPM. [Figure 24] This figure shows the effect of changes in the number of local data samples used to calculate the FOOF matrix in FedPM. [Modes for carrying out the invention]

[0012] Hereinafter, embodiments of the present invention (this embodiment) will be described with reference to the drawings. The embodiments described below are merely examples, and the embodiments to which the present invention is applied are not limited to the embodiments described below.

[0013] In the following, we will first describe the conventional technology and its problems in more detail, and then describe the technology according to this embodiment in detail. In this embodiment, we will use a neural network model as an example of a machine learning model, but the technology according to the present invention is applicable to machine learning models other than neural network models.

[0014] (Regarding first-order optimization-based federative learning) As mentioned above, decentralization of learning is attracting attention for training neural network models (e.g., large-scale models such as LLMs). Federated learning (FL) is a well-known technique for decentralizing learning. Federated learning uses a server and N (N≧2) clients.

[0015] More specifically, PSGD (Parallel SGD) and FedAvg (Federated Averaging) are well-known first-order distributed optimization methods for associative learning. Both methods aim to learn parameters using distributed data across multiple clients, but they differ in how parameters are updated and how variables are transferred between the server and clients. PSGD and FedAvg will be explained below.

[0016] <psgd> PSGD is the simplest and most practical method of associative learning. In PSGD, each local node (each client) calculates a gradient, which is then aggregated and averaged at a central server to update the parameters. In other words, PSGD is an extension of stochastic gradient descent (SGD) to a distributed parameter learning setting and is classified as a method called First-Order Gradient Mixing (FOGM).

[0017] The PSGD procedure will be explained with reference to Figure 1. As shown in Figure 1(a), first, the server distributes initial parameters θ to each of the N clients. In (b), each client calculates the gradient (local gradient) using the local dataset with the client-side equation in equation (1) below. In (c), each client sends the calculated gradient to the server, and the server calculates the global parameter θ∈R using the server-side equation in equation (1) below. d Update.

[0018]

number

[0019] In many implementations, ∇f i (θ (t) This can be replaced with a stochastic gradient obtained by mini-batch sampling, which allows for statistical heterogeneity caused by biases in the number and distribution of data samples. However, this method has the drawback of high communication costs because it requires the transmission of local gradients from the client to the server for each iteration t.

[0020] <fedavg> An effective approach for reducing communication cost is to perform multiple local parameter updates on the client side and extend the communication interval with the server. In FedAvg (Non-Patent Document 1), as shown in FIG. 2, after each client performs multiple local parameter updates, the local parameter θ i ∈R d is transmitted to the server, and the parameters are aggregated on the server side. This method is classified as a method called First Order Parameter Mixing (FOPM). The update rules often used in FOPM such as FedAvg are as follows.

[0021] [Formula] Here, K (≧1) indicates the number of local updates, and the global parameter θ (0) is assumed to be randomly initialized. In addition, client sampling may be performed, which is a method of randomly selecting clients that transmit local parameters to the server. Note that client sampling is not considered in the above equation (2).

[0022] By increasing K, the communication inefficiency that is a problem in FOGM can be mitigated, and the learning efficiency can be improved by utilizing the computational resources of N clients. Also, client sampling can relax the requirement that all clients be synchronized.

[0023] <Regarding FOGM (Equation (1)) and FOPM (Equation (2))> Regarding FOGM (Equation (1)) and FOPM (Equation (2)), although the update rules are different, the ultimate purpose of both is the same. That is, the purpose is to obtain the global parameter θ as if all data samples were aggregated in a single location. This can be confirmed by synthesizing the client-server update rule of FOGM (Equation (1)), as shown in Equation (3) below.

[0024]

number

[0025] <Challenges of first-order optimization-based federative learning> The first-order optimization-based associative learning described so far has the following challenges:

[0026] While PSGD (a first-order optimization-based federated learning algorithm that aggregates and averages gradients) has the advantage of being easy to implement, it has the drawback of high communication costs because it requires the client to repeatedly perform gradient calculations and server updates alternately each time.

[0027] FedAvg (a first-order optimization-based federated learning algorithm that aggregates / averages parameters) has the advantage of being easy to implement and allowing multiple (K) local parameter updates, thus reducing communication costs to 1 / K. However, because it is first-order optimization-based, it has the drawback of sometimes being somewhat slow to learn.

[0028] (Federation learning based on quadratic optimization) Next, we will describe the conventional technique of quadratic optimization-based federative learning. Quadratic optimization-based methods utilize curvature information (e.g., Hessian matrices) to achieve faster convergence and enable more precise parameter updates. Similar to the previously mentioned primary optimization-based methods (FOGM and FOPM), quadratic optimization-based methods can be divided into the following two categories. Note that the system configuration for quadratic optimization-based methods is the same as for primary optimization-based methods, consisting of a server and multiple clients.

[0029] Classification 1: This method calculates the gradient on each client and mixes the gradients on the server to update the parameters; it is called Second-Order Gradient Mixing (SOGM).

[0030] Classification 2: This method involves updating parameters on each client and mixing the parameters on the server; it is called Second-Order Parameter Mixing (SOPM).

[0031] The following explains SOGM and SOPM respectively.

[0032] Secondary Gradient Mixing (SOGM) Methods such as Federated Newton Learn (FedNL) (Non-Patent Document 2), FLECS (Non-Patent Document 3), and DONE (Non-Patent Document 4), which are SOGMs, correspond to quadratic optimization versions of first-order FOGMs. Similar to equation (1), these methods do not perform multiple local updates. Each client uses a local preprocessing matrix (P i (t) ∈R d×d ) and local gradient (g i (t) ∈R d Calculate the result and send it to the server.

[0033] The server updates the global parameters using a quadratic optimization method, employing a global preprocessing matrix obtained by averaging local preprocessing matrices and global gradients obtained by averaging local gradients. The server then shares the updated parameters with each client.

[0034] Hesse's matrix ∇ 2 f i (θ)∈R d×d When the preprocessing matrix is ​​given by , the update rule for SOGM is as follows:

[0035]

number

[0036] <Second-order parameter mixing (SOPM)> Next, I will explain SOPM. To address the communication cost problem mentioned above, SOPM is a method that aims to reduce costs by allowing multiple local parameter updates on the client side. Specific methods known include LocalNewton (Non-Patent Document 5), FedNew (Non-Patent Document 6), NAAM (Non-Patent Document 7), and FedSophia (Non-Patent Document 8).

[0037] In SOPM, quadratic optimization is achieved by applying a preprocessing matrix to the local parameter update in equation (2), and simple mixing is performed on the server side. When a Hessian matrix is ​​used as the preprocessing matrix, the update rule for SOPM is given by equation (5) below. Here, the global parameter θ (0) It is initialized randomly.

[0038]

number

[0039] <Challenges of conventional SOPM-based associative learning> SOPM has the advantage of lower communication costs compared to SOGM, as it only needs to share parameters once every K iterations. However, there are challenges regarding whether SOPM truly leads to successful learning. The following explains these challenges in detail.

[0040] As mentioned above, the combination of the update rules for FOGM (Equation (1)) and FOPM (Equation (2)) in the client and server is equivalent when the number of local updates K=1. However, this equivalence does not apply to their second-order optimization methods. More specifically, SOGM (Equation (4)) and SOPM (Equation (5)) are not equivalent even when K=1.

[0041] To clarify this difference, we derive the synthesis of the client and server update rules for SOGM in equation (4). As a result, we obtain the global parameter update equation using globally preprocessed global gradients, as shown in equation (6) below.

[0042]

number

[0043] In contrast, in the conventional SOPM method, when the update rules for the client and server (equation (5)) are combined under the local update count K=1, the following global parameter update equation is obtained.

[0044]

number

[0045] In other words, the main constraint of the update rule in equation (7) lies in its reliance on a local preprocessing matrix derived based on the curvature (Hessian matrix) of each client's local loss function. If the training data between clients is statistically homogeneous, these local preprocessing matrices closely approximate the global preprocessing matrix, and the local update rule approaches the update rule of an ideal second-order optimization using all the data. Under these circumstances, even simply averaging the local parameters allows conventional SOPM methods to achieve behavior close to global second-order optimization.

[0046] However, as the data distribution among clients becomes more heterogeneous, the discrepancy between the local preprocessing matrix and the global preprocessing matrix increases. When this discrepancy is large, the SOPM update rule deviates from the ideal global parameter update, making it difficult to obtain an optimal solution using all data samples.

[0047] In fact, this problem is also suggested in convergence analyses of SOPM methods, which often rely on the assumption that "the local preprocessing matrix closely approximates the global preprocessing matrix." In other words, they implicitly assume that "the data is homogeneous."

[0048] However, in standard associative learning problem settings, the data between clients is usually heterogeneous, as frequently occurs in real-world scenarios, and traditional SOPM methods may face potential risks (performance degradation) under such circumstances.

[0049] To summarize the description of the conventional technology, the processing procedure of the SOPM method (LocalNewton

[12] , FedNew

[10] , NAAM

[20] , FedSophia[9]) in the conventional technology will be explained with reference to Figure 3.

[0050] In S1 (Step 1), the server initializes the global parameter θ with a random value and distributes θ to each client.

[0051] In S2, each client uses the client-side equation (5) to perform local quadratic optimization, thereby reducing the local parameter θ i Update θ i The following is sent to the server. S3 updates the global parameter θ according to the server-side equation (5) and sends the updated global parameter θ to each client. In S3, the local parameter θ is selected from among the N clients. i Client sampling may be used to sample clients that collect data.

[0052] (Regarding the technology (proposed method) related to this embodiment) The proposed method will be described below. The system configuration in the proposed method is the same as that of the conventional technology, and the system consists of a server and N clients.

[0053] <Overview of the proposed method> In this embodiment, in order to solve the above-described problems, an update rule for evolving SOPM-based federated learning (Federated Learning Using Second-order Optimization with Preconditioned Mixing: FedPM) is proposed. The main idea of the proposed method is as follows.

[0054] If the rule for updating parameters by correcting the global gradient using the global preconditioning matrix described in Equation (6) is decomposed into SOPM (which allows parameters to be updated multiple times locally), it is believed that ideal parameter update decentralization can be achieved while inheriting the concept of SOPM.

[0055] Based on the above idea, in the proposed method, the simple averaging process at the server in the conventional SOPM method is changed to a preconditioned averaging process. Furthermore, while in the conventional SOPM method only parameters were shared from clients to the server, in the proposed method, not only parameters but also the preconditioning matrix is shared. Although sharing the preconditioning matrix increases communication costs, this embodiment can reduce communication costs. The implementation (example) for reducing the calculation of the preconditioning matrix and communication costs will be described later.

[0056] When statistically biased data was installed on each client, experimental results were obtained in which the superiority of the proposed method (FedPM) was remarkably demonstrated. That is, experiments have shown that FedPM is more effective than the conventional SOPM method.

[0057] <Derivation of FedPM> Hereinafter, the derivation of FedPM will be described. In order to address the problems of the conventional SOPM method, the ideal quadratic optimization equation (6) is reformulated into the SOPM format. That is, equation (6) is decomposed and reformulated into a form consisting of local parameter updates on the client side and parameter mixing on the server side. Here, Example 1 and Example 2 will be described.

[0058] Equation (6) can be transformed into equation (8) below. Note that (P (t) ) -1 , g (t) This is as shown in equation (6). In equation (6), the part corresponding to parameter mixing on the server and the part corresponding to parameter updating on the client are as shown in Figure 4.

[0059]

number

[0060] [FedPM: Single local update (K=1)]

[0061]

number

[0062] In Example 2, equation (9) is extended to obtain the following update rule, where the number of local updates by the client is arbitrary (K≧1). The case where K≧2 is shown below.

[0063] [FedPM: In the case of multiple local updates (K≧2)]

[0064]

number

[0065] A key feature of FedPM is its "preconditioned mixing" method, which uses a preconditioner matrix to mix local parameters on the server.

[0066] Unlike conventional SOPM methods that follow equation (5) (e.g., LocalNewton, FedNew, FedSophia), FedPM requires sending not only local parameters but also local preprocessing matrices to the server, resulting in additional communication costs.

[0067] However, FedPM has a significant advantage: when K=1, it can update global parameters using globally preprocessed global gradients. This ensures that the preprocessing matrix of the global loss function is correctly used to update the global parameters. This advantage solves the problem seen in conventional SOPM methods, where locally preprocessed local gradients do not take into account the global preprocessing matrix, thus preventing performance degradation in heterogeneous data environments.

[0068] As a result, FedPM can effectively handle data heterogeneity and is expected to be a more adaptable and robust approach in real-world associative learning scenarios compared to conventional SOPM methods. Furthermore, because FedPM allows for multiple local parameter updates, it can mitigate the drawback of high communication costs due to the additional transmission of preprocessing matrices seen in SOGM methods.

[0069] <Theoretical analysis> Next, we will describe the theoretical convergence analysis for a single local parameter update setting (Equation (9)) in FedPM.

[0070] As mentioned above, FedPM is a method derived from global parameter updates based on quadratic optimization, as seen in equations (8) and (9). Since FedPM and FedNL in the case of K=1 follow the same global parameter update rule (equation (6)), the convergence analysis strategy used in FedNL can also be applied to FedPM. The following assumptions are used here.

[0071] Assumption 1 (strong convexity): The average of the local loss functions f(θ) = (1 / N)(Σ i=1 N f i (θ) is μ-strongly convex.

[0072] Assumption 2 (Smoothness of the Hessian matrix): Local loss function f i Assume that (θ) is a Lipschitz continuous Hessian matrix. Here, L * (>0) and L F (>0) represents two distinct types of matrix norms: the spectral norm ||·|| and the Frobenius norm ||·||. F This represents the Lipschitz constant relating to all i ∈ {1, …, N} and a, b ∈ R. d The following conditions must be met for this to be possible.

[0073]

number

[0074]

number

[0075] Theorem 1 (Convergence rate of single local updates in FedPM): Under assumption 1, assumption 2, and condition 1, the following linear convergence rate of the Lyapunov function is obtained for FedPM performing a single local update (K=1) using equation (9).

[0076]

number

[0077]

number

[0078] <Approximation methods for preprocessing matrices> Next, as Example 3, we will describe an approximation method for the preprocessing matrix. In FedPM, calculating the preprocessing matrix and sharing it from the client to the server increases costs. It is possible to reduce the cost by calculating the preprocessing matrix using an approximation method. Below, we will describe an approximation method called FOOF, but it is not limited to this, and other approximation methods such as K-FAC may also be used. In addition, this embodiment is implemented assuming the use of an L-layer neural network. Below, we will describe the preprocessing matrix approximation method in detail.

[0079] Modern associative learning applications often deal with non-convex DNN models, and the sheer number of parameters makes it impractical to directly compute the complete Hessian matrix.

[0080] Approximation methods such as the Conjugate Gradient (CG) method employ iterative methods to implicitly calculate preprocessed gradients, but these require passing the DNN model forward and backward at each iteration, resulting in high computational costs. Furthermore, since iterative methods do not explicitly construct the Hessian matrix or its approximation matrix, the matrices necessary for preprocessed mixing on the server side do not exist, and therefore cannot be transmitted.

[0081] To address this problem, approximation methods that simplify the calculation of the Hessian matrix without relying on iterative methods and while maintaining accuracy are effective. A widely used strategy is to capture curvature information using the Fisher information matrix (FIM). It is noteworthy that, under common loss functions such as mean squared error and cross-entropy, FIM is equivalent to the generalized Gauss-Newton (GGN) matrix, a widely used approximation method for the Hessian matrix in deep learning.

[0082] In this embodiment, FOOF is adopted as the approximation method for FIM and is also used for approximating the Hessian matrix. This approach allows for approximation of the Hessian matrix while significantly reducing the number of parameters, thereby drastically lowering the computational cost. The outline of this approximation method is shown below.

[0083] FOOF is an effective FIM approximation method, especially for DNNs with a large number of parameters. It simplifies the calculation of FIM by approximating the FIM of each layer (each of the L layers) of the DNN as a block-diagonal matrix. Furthermore, each block is approximated as a non-centered variance-covariance matrix for the input of that layer, reducing the computational load. The FOOF update rule for a particular l-th layer in the i-th client of the DNN is defined as shown in equation (13) below.

[0084]

number

[0085] vec and vec -1 These represent operations that convert a matrix to a vector and operations that convert a vector back to a matrix, respectively.

[0086] FOOF is particularly useful in situations where a balance between computational cost and performance is crucial. Server-based pre-processed mixing based on FOOF approximation can be expressed as follows (14):

[0087]

number

[0088] Compared to FedPM, which uses a preprocessing matrix without approximation, using FOOF approximation significantly reduces computational and communication costs.

[0089] Figure 6 shows the FedPM algorithm (Algorithm 1) incorporating the FOOF approximation. Figure 6 corresponds to the server and client processing steps in the proposed method when the FOOF approximation is introduced in the calculation of the preprocessing matrix. The processing details shown in Figure 6 will be explained by considering the row numbers as step numbers.

[0090] In S1 (Step 1), the server uses the global model θ. (0,0) Initialize the system. In S2-S14, the processes in S3-S13 are executed at each t from t=0 to T-1.

[0091] In S3, the server is based on the global model θ. (t,0) is transmitted to each client. In S4 to S12, the processes of S5 to S11 are executed in parallel (at each client) for each i from i=1 to N.

[0092] In S5, the client i sets θ i (t,0) =θ (t,0) . In S6 to S10, the processes of S7 to S9 are executed for each k from k=1 to K-1 and for each l from l=1 to L.

[0093] In S7, the client i calculates a local stochastic gradient g i,l (t,k) . In S8, the client i calculates the FOOF matrix A i,l (t,k) . In S9, the client i calculates the above equation (13).

[0094] In S11, the client i transmits, for each l from l=1 to L, the local model θ i,l (t,K) and the local preprocessing matrix A i,l (t,K-1) to the server. In S13, the server calculates equation (14) for each l from l=1 to L.

[0095] As described above, in the present embodiment (Example 3), the FOOF matrix (A) is calculated for each layer instead of directly calculating the Hessian matrix. The FOOF matrix (A) is a non-centered variance-covariance matrix of hidden inputs of each layer. Since block approximation is performed for each layer, the amount of computation does not increase. Furthermore, averaging processing with preprocessing is implemented using the FOOF matrix (A). Compared with a d×d-dimensional preprocessing matrix, A has an overwhelmingly lower dimension, and therefore the influence on communication cost and computation cost can be reduced.

[0096] ><Processing Procedure> As a summary of the explanation of the proposed method, the processing content in the proposed method will be described with reference to FIGS. 7 and 8. FIG. 7 shows a system configuration in the proposed method. As shown in FIG. 7, this system includes one server and N clients. The server and each client are connected via a communication network.

[0097] The operation of the system will be described with reference to FIG. 8. FIG. 8 shows processing corresponding to the second embodiment.

[0098] In S101, the server initializes a global parameter θ with a random value or the like, and distributes θ to each client.

[0099] In S102, each client updates a local parameter θ i K times by local quadratic optimization according to the client-side formula of formula (10), and transmits θ i and a preprocessing matrix P i to the server. In S103, the server updates the global parameter θ according to the server-side formula of formula (10). It should be noted that the preprocessing matrix approximation method described in the third embodiment may be used.

[0100] Further, in S103, client sampling may be used, in which one or more clients that collect a local parameter θ i and a preprocessing matrix P i are sampled (selected) from among the N clients. When performing client sampling, the server transmits the updated global parameter θ to all clients, or the server transmits the updated global parameter θ to one or more clients that have collected the local parameter θ i and the preprocessing matrix P i .

[0101] (Example of Device Configuration) FIG. 9 shows a configuration example of an information processing device 100 that functions as a server or a client. That is, both the server and the clients have the configuration of the information processing device 100 shown in FIG. 9.

[0102] As shown in Figure 9, the information processing device 100 comprises an input unit 110, an arithmetic unit 120, an output unit 130, and a data storage unit 140. The information processing device 100 may also be referred to as an information processing system 100. The information processing device 100 may also be a device (which may also be referred to as a system) consisting of multiple computing devices (computers).

[0103] In the information processing device 100, data is input from the input unit 110, and the calculation unit 120 performs calculations using the data. The output unit 130 outputs the calculation results from the calculation unit 120. The data storage unit 140 stores, for example, predetermined constants. The calculation unit 120 reads the constants from the data storage unit 140 and uses them in calculations.

[0104] For example, when the information processing device 100 functions as a client, the calculation unit 120 updates the model parameters using the preprocessing matrix and gradients, and the output unit 130 sends the updated parameters and the preprocessing matrix to the server.

[0105] Furthermore, when the information processing device 100 functions as a server, the input unit 110 receives the model parameters updated using the preprocessing matrix and gradient, as well as the preprocessing matrix, from all or some of the multiple clients performing federated learning. The calculation unit 130 then updates the global parameters of the model using the multiple parameters and multiple preprocessing matrices received from all or some of the multiple clients.

[0106] (Example hardware configuration) The information processing device 100 (server, client) described in this embodiment can be realized, for example, by having a computer execute a program. This computer may be a physical computer or a virtual machine on the cloud.

[0107] In other words, the device can be realized by using hardware resources such as the CPU and memory built into a computer to execute a program corresponding to the processing performed by the device. The program can be recorded on a computer-readable recording medium (such as portable memory), saved, and distributed. It can also be provided via a network, such as the Internet or email.

[0108] Figure 10 shows an example of the hardware configuration of the computer described above. The computer in Figure 10 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, etc., all of which are interconnected by bus B. The computer may also be equipped with a GPU.

[0109] The program that enables processing on the computer is provided, for example, on a recording medium 1001 such as a CD-ROM or memory card. When the recording medium 1001 containing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001; it may also be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files and data.

[0110] The memory device 1003 reads and stores a program from the auxiliary storage device 1002 when a program startup command is received. The CPU 1004 implements the functions related to the memory device 1003 according to the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, etc. The display device 1006 displays a GUI (Graphical User Interface) etc. generated by a program. The input device 1007 consists of a keyboard and mouse, buttons, or a touch panel etc., and is used to input various operation commands. The output device 1008 outputs the calculation results.

[0111] Furthermore, the functions of the elements disclosed herein may be implemented using circuits or processing circuitry that include general-purpose processors, special-purpose processors, integrated circuits, ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), conventional circuits, and / or combinations thereof that are programmed using one or more programs stored in one or more memories, or otherwise configured to perform the disclosed functions. A processor is considered a processing circuitry or circuitry because it includes transistors and other circuits. A processor may be a programmed processor that executes programs stored in memory. In this disclosure, a circuit, unit, or means is hardware that performs the enumerated functions, or hardware programmed to perform the enumerated functions. Hardware may be any hardware disclosed herein that is programmed or configured to perform the enumerated functions.

[0112] The system includes memory for storing computer programs, which include computer instructions. These computer instructions provide logic and routines that enable hardware (e.g., processing circuitry or circuitry) to perform the methods disclosed herein. The computer programs can be implemented in commonly known forms, such as computer-readable storage media, computer program products, memory devices, recording media such as CD-ROMs and DVDs, and / or memory in FPGAs and ASICs.

[0113] (Verification by experiment) To verify the performance of the proposed method, FedPM, we conducted an experiment, and the details are described below.

[0114] <Experimental Setup> To empirically evaluate the effectiveness of the proposed FedPM method in a non-convex DNN model, we trained the DNN model parameters using 10 clients + 1 server with two image classification benchmarks. More specifically, we performed T1 and T2 tests.

[0115] In T1, experiments were conducted using a simple CNN on CIFAR10. In T2, experiments were conducted using ResNet18 on CIFAR100. In T2, the BatchNorm layer was replaced with a GroupNorm layer to improve tolerance to data heterogeneity.

[0116] The server and N=10 clients communicate with each local update epoch (either {1, 5, or 10}) during 100 communication rounds (T=100).

[0117] Data heterogeneity between clients was intentionally introduced by varying the concentration parameter α (α∈{0.1,1.0}) of the Dirichlet distribution. A smaller α indicates stronger data heterogeneity. Figures 11 to 14 show the data distribution (data allocation) of CIFAR10 and CIFAR100 under the conditions of α=1.0 and α=0.1 for a single random seed. Note that for CIFAR100 (Figures 13,14), the distribution is represented by varying shades of gray due to the large number of classes.

[0118] This experiment empirically investigated the effects of the number of local update epochs and the data heterogeneity level α on the test accuracy of global parameters.

[0119] <Comparison Method> We compared FedAvg, SCAFFOLD, FedAvgM, LocalNewton, the proposed method (FedPM), and FedProx. Furthermore, we used FOOF for approximation in LocalNewton and FedPM.

[0120] <Hyperparameter Settings> The hyperparameters specific to each method, such as the learning rate, the norm value of gradient clipping, the weight decay coefficient (regularization coefficient μ in FedProx), the damping term of the quadratic optimization method, and the momentum value in FedAvgM, were tuned to achieve the best possible test accuracy for each method.

[0121] Furthermore, to further improve the efficiency of the quadratic optimization method, the FOOF matrix was configured to be calculated only at the end of each round immediately before communication. This method did not result in a performance degradation compared to methods that periodically updated the matrix during local training. The entire local dataset was used for the matrix calculation.

[0122] <Experimental Results> Figure 15 shows the average best test accuracy (averaged across three random seeds) of the global parameters for each method on various datasets, under the conditions α=1.0 or α=0.1 (smaller α indicates greater heterogeneity). Five local updates are performed before each communication. The standard deviation between different seeds is also shown for each method. FOOF approximation is applied to both FedPM and LocalNewton.

[0123] Specifically, Figure 15 shows the highest test accuracy of the global model achieved by each method in four test configurations combining two datasets / models and two levels of data heterogeneity. The highest value was obtained from the test accuracy recorded for each communication round.

[0124] These results demonstrate that the proposed method, FedPM, achieved superior test accuracy compared to other comparative methods in most cases. Of particular note is that FedPM performed well under highly heterogeneous conditions (α=0.1), while LocalNewton's performance deteriorated significantly as the data heterogeneity increased.

[0125] These empirical findings demonstrate that pre-processed mixing improves the consistency of local and global parameter updates, offering significant advantages in heterogeneous data environments.

[0126] Figures 16-19 show the convergence curves using test accuracy for global parameters in CIFAR10 (Figures 16, 17) and CIFAR100 (Figures 18, 19). Figures 16(1a) and 18(2a) show the test accuracy for communication rounds, while Figures 17(1b) and 19(2b) show the test accuracy for execution time including communication.

[0127] Specifically, Figures 16 to 19 show the convergence curves when local parameters are updated for 5 epochs before each communication under data conditions with strong heterogeneity (α=0.1). The results show that FedPM converges faster than other methods in terms of both the number of communication rounds and execution time. This is because efficient preprocessing matrix approximation enables an implementation that does not significantly increase computation / communication costs.

[0128] Figure 20 shows the CIFAR10 classification results under the condition α=0.1, and presents results based on three settings in which the total number of communication rounds is fixed at 500 and the number of internal epochs is adjusted. Specifically, the following three settings are included:

[0129] • 500 communication rounds (1 local epoch per round) • 100 communication rounds (5 local epochs per round) • 50 communication rounds (10 local epochs per round) For each setting, the average of the best test accuracy of the global model obtained for three different random seeds is shown. The results show that FedPM consistently outperforms other methods, even when the number of local parameter updates varies.

[0130] Figures 21 and 22 show the results of verifying the impact of client sampling on test accuracy for CIFAR10 (Figure 21) and CIFAR100 (Figure 22) under the condition α=0.1. The plots show the highest value among the average of the best test accuracy in three random seeds for different numbers of participating clients. As shown in Figures 21 and 22, the superiority of FedPM is maintained.

[0131] Figures 23 and 24 show the effect of changing the number of local data samples used to calculate the FOOF matrix in FedPM. The line graph shows the best test accuracy (mean ± 1 standard deviation) across three random seeds. The bar graph represents the total training time per round across all clients, averaged over all runs. Experiments were conducted with 64, 256, and 1024 samples, as well as under conditions using the entire local data, as shown in Figures 16-19. As shown in Figures 23 and 24, depending on the dataset, test accuracy does not decrease significantly even when the number of data samples is reduced to some extent (e.g., 64).

[0132] (Effects of the technology according to the embodiment) As described above, the technology according to this embodiment makes it possible to appropriately learn parameters in federated learning even when the local data is statistically biased among multiple clients.

[0133] The following additional information is disclosed regarding the embodiments described above.

[0134] <Note> (Additional note 1) An information processing device that functions as a client in a system having a server and multiple clients, and performing federative learning of a machine learning model, A calculation unit that updates the parameters of the machine learning model using a preprocessing matrix and gradients, An output unit that transmits the updated parameters and the preprocessing matrix to the server. An information processing device equipped with the following features. (Additional note 2) The calculation unit calculates a non-centered variance-covariance matrix for the hidden input as a matrix that approximates the preprocessing matrix, The output unit transmits the decentered variance-covariance matrix to the server as the preprocessing matrix. The information processing device described in Appendix 1. (Additional note 3) An information processing device that functions as a server in a system having a server and multiple clients, and performing federative learning of a machine learning model, An input unit that receives the parameters of the machine learning model updated using the preprocessing matrix and gradient, and the preprocessing matrix, from each of all or some of the aforementioned clients. A calculation unit that updates the global parameters of the machine learning model using a plurality of parameters and a plurality of preprocessing matrices received from all or some of the aforementioned clients. An information processing device equipped with the following features. (Additional note 4) The input unit receives a non-centered variance-covariance matrix for the hidden input, which is an approximation of the preprocessing matrix, as the preprocessing matrix. The information processing device described in Appendix 3. (Additional note 5) An information processing method executed by an information processing device that functions as a client in a system having a server and multiple clients and performing federative learning of a machine learning model, A step of updating the parameters of the machine learning model using a preprocessing matrix and gradients, The steps include sending the updated parameters and the preprocessing matrix to the server. An information processing method comprising the following: (Additional note 6) An information processing method executed by an information processing device that functions as a server in a system having a server and multiple clients and performing federative learning of a machine learning model, The steps include receiving the parameters of the machine learning model, updated using the preprocessing matrix and gradients, and the preprocessing matrix from each of the multiple clients, either all or some of the multiple clients. A step of updating the global parameters of the machine learning model using a plurality of parameters and a plurality of preprocessing matrices received from all or some of the aforementioned clients. An information processing method comprising the following:

[0135] Although this embodiment has been described above, the present invention is not limited to this specific embodiment, and various modifications and changes are possible within the scope of the gist of the invention as described in the claims. [Explanation of Symbols]

[0136] 100 Information Processing Devices 110 Input Section 120 Arithmetic section 130 Output section 140 Data Storage Unit 1000 drive unit 1001 Recording media 1002 Auxiliary storage 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input device 1008 Output device< / fedavg> < / psgd>

Claims

1. An information processing device that functions as a client in a system having a server and multiple clients, and performing federative learning of a machine learning model, A calculation unit that updates the parameters of the machine learning model using a preprocessing matrix and gradients, An output unit that transmits the updated parameters and the preprocessing matrix to the server. An information processing device equipped with the following features.

2. The calculation unit calculates a non-centered variance-covariance matrix for the hidden input as a matrix that approximates the preprocessing matrix, The output unit transmits the decentered variance-covariance matrix to the server as the preprocessing matrix. The information processing apparatus according to claim 1.

3. An information processing device that functions as a server in a system having a server and multiple clients, and performing federative learning of a machine learning model, An input unit that receives the parameters of the machine learning model updated using the preprocessing matrix and gradient, and the preprocessing matrix, from each of all or some of the aforementioned clients. A calculation unit that updates the global parameters of the machine learning model using a plurality of parameters and a plurality of preprocessing matrices received from all or some of the aforementioned clients. An information processing device equipped with the following features.

4. The input unit receives a non-centered variance-covariance matrix for the hidden input, which is an approximation of the preprocessing matrix, as the preprocessing matrix. The information processing apparatus according to claim 3.

5. An information processing method executed by an information processing device that functions as a client in a system having a server and multiple clients and performing federative learning of a machine learning model, A step of updating the parameters of the machine learning model using a preprocessing matrix and gradients, The steps include sending the updated parameters and the preprocessing matrix to the server. An information processing method comprising the following:

6. An information processing method executed by an information processing device that functions as a server in a system having a server and multiple clients and performing federative learning of a machine learning model, The steps include receiving the parameters of the machine learning model, updated using the preprocessing matrix and gradients, and the preprocessing matrix from each of the multiple clients, either all or some of the multiple clients. A step of updating the global parameters of the machine learning model using a plurality of parameters and a plurality of preprocessing matrices received from all or some of the aforementioned clients. An information processing method comprising the following: