Multitask vision transformation device based on distributed learning using random patch permutation and transformation method using the same
The multi-task vision conversion device with random patch permutation addresses data scarcity and privacy issues in distributed learning by separating the model and using a permutation module, enhancing performance and reducing communication in medical imaging applications.
Patent Information
- Application Number
- JP2023062821
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-09-19
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2043-04-07
AI Technical Summary
Conventional distributed learning methods for medical imaging face challenges in ensuring robust performance due to data scarcity, biased datasets, privacy vulnerabilities, and excessive communication overhead, particularly in multi-institutional collaborations.
A distributed learning-based multi-task vision conversion device using random patch permutation, which separates the vision converter model into client-side and server-side components, employs a task-nonspecific patch embedder and permutation module to protect privacy and reduce communication by randomly mixing patch permutations, enabling learning without direct data sharing.
This approach enhances multi-task learning performance, reduces communication by nearly half, and effectively protects personal information, improving the robustness and efficiency of AI models in medical imaging and other fields.
Smart Images

Figure 0007575814000005 
Figure 0007575814000006 
Figure 0007575814000007
Abstract
Description
[Technical field]
[0001] The following embodiment relates to a distributed learning-based multitask vision conversion device using random patch permutation for protecting personal information and a conversion method using the same. This research was conducted under the support of the Korea Health Industry Development Institute's Integrated Doctor-Scientist Training Project, funded by the Ministry of Health and Welfare. [Background technology]
[0002] Artificial Intelligence (AI) is experiencing unprecedented popularity due to its revolutionary potential in various fields of data science. In particular, deep neural networks have achieved expert-level performance in various applications in medical imaging.
[0003] AI models require huge amounts of data to provide robust and accurate decision-making. However, data collected through voluntary participation from some institutions is not fully sufficient to guarantee strong results. Even large public datasets inevitably contain unquantifiable biases, such as limited geographic regions and patient demographics such as race, which can lead to unstable performance in real applications. In particular, in the case of an unprecedented disease such as COVID-19, these limitations can be exacerbated by the difficulty of instantly building a sufficiently diverse and well-organized dataset.
[0004] Therefore, the ability of various institutions to collaborate is crucial for the successful application of AI in medical imaging, but strict regulations and ethical constraints for sharing patient data are further obstacles to multi-institutional collaboration. Formal regulations and guidelines such as the US Health Insurance Portability and Accountability Act (HIPAA) and the EU General Data Protection Regulation (GDPR) articulate strict regulations regarding the recording and sharing of patient data.
[0005] Therefore, distributed learning methods that perform learning tasks in a distributed manner on edge devices can be effectively applied in health management research. Specifically, distributed learning was introduced to train models with data that is always present on the source device without sharing. Federated Learning (FL) is one method that allows distributed clients to collaboratively train a shared model without sharing training data. However, it still has limitations in that it must rely heavily on client-side computing resources due to parallel computing and is not completely free from privacy protection issues due to gradient inversion attacks. Split Learning (SL), another distributed learning method that splits the network between the client and server, is a promising method that can reduce the computing load on edge devices. However, it has the disadvantage of high communication overhead between the client and server, and has limitations in privacy protection because personal data can be recovered by malicious attacks such as function hijacking and model inversion. Furthermore, SL has slower convergence than FL and cannot perform optimally when the data distribution among clients is highly skewed.
[0006] Recently, inspired by the modular decomposition structure of Vision Transformer (ViT), a novel distributed learning method named Federated Split Task-Agnostic learning (FESTA) for distributed multi-task collaboration using the ViT architecture has been proposed. With a server-side shared task-agnostic vision transformer body and a client-side multi-task specific convolutional neural network (CNN) head and tail, the FESTA framework balances the advantages of federated learning (FL) and split learning (SL), and can improve the performance of individual tasks level by level in a distributed multi-task collaboration setting, which is far superior to single-task specialized models trained by data centralization methods.
[0007] Despite this, the FESTA framework has some important limitations. First, the communication overhead is higher than that of segmented learning (SL) and federated learning (FL) because the model must continually share features and gradients as well as the head and tail parts of the network, making it difficult to practically implement. Second, in the original FESTA, the large size of the head and tail parts tend to reduce the role of the shared body, so despite the potential of multi-task learning (MTL) of the vision transformer, it was found to provide less improvement compared to single-task learning. Finally, the FESTA framework is not free from privacy issues because the same method used in segmented learning (SL) allows an external malicious attacker or an "honest but curious" server to seize features sent to the server body and recover the original data. [Prior art documents] [Non-patent literature]
[0008] [Non-Patent Document 1] H. Chen, Y. Wang, T. Guo, C. Xu, Y. Deng, Z. Liu, S. Ma, C. Xu, C. Xu, and W. Gao, “Pre-trained image processing transformer,” arXiv preprint arXiv:2012.00364, 2020. Summary of the Invention [Problem to be solved by the invention]
[0009] The embodiments relate to a multi-task vision transformation device based on distributed learning using random patch permutation and a transformation method using the same. More specifically, the present invention provides a technology that can improve multi-task learning performance while protecting privacy by adopting a simple patch embedder that randomly permutes permutations.
[0010] The embodiments provide a multi-task vision conversion device based on distributed learning using random patch permutation and a conversion method using the same, which integrates a distributed learning method and multi-task learning by utilizing a vision converter model and at the same time applies random patch permutation module technology, thereby enabling personal information protection that could not be achieved with conventional methods and reducing communication volume by approximately half. [Means for solving the problem]
[0011] In one embodiment, a conversion method using a multi-task vision conversion device based on distributed learning with random patch permutation may include a step of preparing patch embeddings for each client using a task non-specific patch embedder, passing them through a permutation module, and sending them to a server, and a step of recording the patch embeddings received by the server and using them to update the body and tail portions of a vision conversion model.
[0012] The vision converter model performing multi-task learning may be separated into a head and tail part which is a client-side model and a main part which is a server-side model, allowing learning in a distributed learning manner without direct data sharing.
[0013] The step of preparing the patch embedding and passing it through a permutation module and then transmitting it to a server may utilize the permutation module to randomly mix and transmit patch permutations before transmitting patch features from the client side to the server.
[0014] The permutation module may be a random patch permutation module, and the data transmitted from the client side to the server side may be representational feature data in which the patch permutation has been randomly permuted, making it impossible to identify the original data.
[0015] The permutation module may be a random patch permutation module that shares only a portion of the model weights that are aggregated and distributed on the server side, making it impossible to repair the entire data in reverse order.
[0016] The method may further include performing a forward pass and resending the encoded features to the client as permuted patch features in the body portion of the vision converter model at the server.
[0017] The client may further include a step of reversing permutations according to a recorded key and transmitting the returned features to a tail portion for each task to calculate a final output, and the step of preparing the patch embedding and transmitting it to a server after passing it through a permutation module may record the key in order to randomly mix patch permutations and reverse the permutation on the client side before transmitting the patch features from the client side to the server using the permutation module.
[0018] The step of transmitting the encoded features to the client may involve backpropagation using the permutation module through the tail, body and head order of the vision converter model, which is the opposite of forward propagation.
[0019] According to another embodiment, a conversion method using a multi-task vision conversion device based on distributed learning using random patch permutation may include: randomly mixing patch permutations using a permutation module, recording a key to reverse the permutation on a client side, and then transmitting patch features from the client to a server; performing a forward pass as the permuted patch features in a main part of a vision converter model of the server, and resending the encoded features to the client; and the client reverses the permutation using the recorded key, and transfers the returned features to a tail part for each task to calculate a final output.
[0020] The step of retransmitting the encoded features to the client may involve backpropagation using the permutation module through the tail, body and head order of the vision transformer model, which is the opposite of forward propagation.
[0021] The step of transmitting patch features from the client to the server may include preparing patch embeddings for each client using a task-non-specific patch embedder and passing the patch embeddings through a permutation module before transmitting the patch embeddings to the server.
[0022] The method may further include recording the patch embeddings received at the server and using them to update a body and tail portion of a vision converter model.
[0023] In yet another embodiment, a conversion device using a multi-task vision conversion device based on distributed learning using random patch permutation may include a head unit that uses a task non-specific patch embedder to prepare patch embeddings for each client and transmit them to a server after passing them through a permutation module, and a feature recording unit that records the patch embeddings received by the server and uses them to update the body and tail portions of the vision conversion model.
[0024] The vision converter model performing multi-task learning may be separated into a head and tail part which is a client-side model and a main part which is a server-side model, allowing learning in a distributed learning manner without direct data sharing.
[0025] The head unit may utilize the permutation module to randomly mix and transmit patch permutations before transmitting patch characteristics from the client side to the server.
[0026] The permutation module may be a random patch permutation module, and the data transmitted from the client side to the server side may be representational feature data in which the patch permutation has been randomly permuted, making it impossible to identify the original data.
[0027] The permutation module may be a random patch permutation module that shares only a portion of the model weights that are aggregated and distributed on the server side, making it impossible to repair the entire data in reverse order.
[0028] The server may further include a body portion for performing a forward pass and resending encoded features to the client as permuted patch features in a body portion of the vision converter model of the server.
[0029] The client may further include a tail unit that reverses the permutation according to a recorded key and transfers the returned features to a tail unit by task to calculate a final output, and the head unit may record the key in order to randomly mix patch permutations and reverse the permutation on the client side using the permutation module before transmitting patch features from the client side to the server.
[0030] The body may use the permutation module to backpropagate through the tail, body and head order of the vision transducer model, which is the opposite of forward propagation. Effect of the Invention
[0031] According to an embodiment, by utilizing a vision converter model to integrate a distributed learning method and multi-task learning, and at the same time applying random patch permutation module technology, it is possible to provide a multi-task vision conversion device based on distributed learning using random patch permutation and a conversion method using the same, which enables personal information protection that could not be achieved with conventional methods and reduces communication volume by approximately half.
[0032] According to the embodiment, it is possible to effectively disseminate the platform while protecting personal information, compared to the conventional distributed learning method.
[0033] In addition, according to the embodiment, the performance of artificial intelligence models specialized for individual tasks can be improved by widespread use of the multi-task distributed learning platform and its application to various modalities.
[0034] Furthermore, according to the embodiment, efficient server-client communication can reduce the amount of communication, costs, and time required in the distributed learning process. [Brief description of the drawings]
[0035] [Figure 1] FIG. 1 shows the structure of a conventional FESTA. [Diagram 2]FIG. 1 is a diagram for explaining a conventional FESTA learning method. [Diagram 3] FIG. 2 is a diagram illustrating a structure of a distributed learning-based multi-task vision transformation device using random patch permutation according to an embodiment. [Figure 4] FIG. 1 is a diagram illustrating a training method for a distributed learning-based multi-task vision transformation device using random patch permutation according to an embodiment. [Diagram 5] FIG. 1 illustrates a permutation module for enhancing privacy in one embodiment. [Figure 6] FIG. 13 illustrates different permutation patterns for each data of each client in one embodiment. [Figure 7] 1 is a flowchart illustrating a transformation method using a distributed learning based multi-task vision transformation device with random patch permutation according to an embodiment. [Figure 8] FIG. 1 is a block diagram illustrating a distributed learning-based multi-task vision transformation device using random patch permutation according to one embodiment. [Figure 9] 11 is a flowchart illustrating a transformation method using a distributed learning-based multi-task vision transformation device using random patch permutation according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0036] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. However, the described embodiments may be modified in various different forms, and the scope of the present invention should not be limited to the embodiments described below. Various embodiments are provided to more completely explain the present invention to those skilled in the art. The shapes and sizes of elements shown in the drawings may be exaggerated for clarity.
[0037] As artificial intelligence models have demonstrated excellent performance in the field of medical imaging, various related products have been developed, but these models often cannot guarantee good generalization performance because they are models that have only learned a portion of the data using a centralized learning method, and they have the problem of requiring a huge amount of data to ensure good generalization performance. Distributed learning methods such as federated learning have been developed as a result, but they are difficult to apply in practice because they require a large amount of communication and there is a risk that personal information may be restored due to incomplete personal information protection. In particular, conventional technologies that improved performance by utilizing multi-learning in a distributed learning method had a limit of further increasing communication volume.
[0038] The following embodiment solves the problem of privacy violation caused by the restoration of personal information by attackers and servers, which was an issue in the conventional distributed learning method, and provides a method that maximizes the performance improvement by the multi-learning framework by making the most of the advantages of the multi-learning method and can even reduce the amount of communication between the server and the client.
[0039] In the embodiment, personal information is protected by a method of randomly mixing patch permutations before transmitting the representation features from the client side to the server, utilizing the inherent property of the vision transformer model, namely, patch permutation invariance. In this method, since there is no risk of leakage even if the representation features are recorded on the server, the amount of communication can be reduced by first recording all the representation features and proceeding with learning. At the same time, the vision transformer model is separated into a head, a transformer (body), and a tail, and the transformer itself is shared, thereby improving performance compared to individual tasks while taking advantage of the advantages of the multi-learning method.
[0040] According to the embodiment, it is expected that the platform will be popularized with more effective personal information protection than the conventional distributed learning method. As a result, it is expected that the performance of the AI model specialized for each task will be improved by the wide spread of the multi-task distributed learning platform and its application to various modalities, and it is expected that the communication amount, cost, and time required in the actual distributed learning process will be reduced by the efficient server-client communication.
[0041] In this embodiment, we present multi-task distributed learning using a Vision Transformer (ViT) with random patch permutation. Instead of using a CNN-based head like federated split task-agnostic (FESTA), p-FESTA of this embodiment adopts a simple patch embedder that randomly permutes, thereby improving multi-tasking learning performance while protecting privacy. Experimental results show that the proposed method can greatly improve the advantages of multi-task collaboration, communication efficiency, and personal information protection, and can illuminate actual multi-task distributed learning in the medical imaging field.
[0042] More specifically, this embodiment incorporates the p-FESTA framework, which is a Federated Split Task-Agnostic learning (FESTA) that replaces the Vision Transformer (ViT), to enhance privacy-preserving and communication-efficient Multi-Task Learning (MTL). The overall configuration of p-FESTA is similar to FESTA, but instead of a CNN-based head, a simple task-nonspecific patch embedder like the vanilla Vision Transformer (ViT) is adopted, and multi-task learning (MTL) performance is improved by applying self-attention within the transformer architecture. To protect privacy, a permutation module is incorporated that randomly changes the order of all patch features to prevent external attackers or "honest but curious" servers from returning features to the original data containing personal information.
[0043] The new architectural changes provided p-FESTA with multiple benefits. First, it significantly reduced communication overhead by recording the features used in the entire learning process. Furthermore, it enhanced the advantages of multi-task learning (MTL) by making the head play a minor role and having the multi-task body take on heavy lifting. Furthermore, it enhanced data privacy protection through a simple and effective permutation module that uses the unique attributes of the vision transformer (ViT).
[0044] First, the vision transformer (ViT) will be described.
[0045] Vision Transformer (ViT), a recently introduced deep learning model with an elaborate attention mechanism inspired by its successful application in Natural Language Processing (NLP), has demonstrated impressive performance in many vision tasks. ViT's multi-headed self-attention allows it to flexibly attend to a sequence of patches of an image to encode cues, making the model more shape-biased, human-like than CNN-based models, and robust to disturbances such as occlusion, spatial permutation, and adversarial perturbations.
[0046] It also implies that the modular design of the Vision Transformer (ViT) is straightforward and can be easily decomposed into components such as the head that projects image patches into embeddings, the transformer body that encodes the embeddings, and the tail that generates the output for each task. Such an easily decomposable design offers potential in multi-task learning (MTL) applications. It should be remembered that the motivation for multi-task learning (MTL) started from an attempt to alleviate the data scarcity problem where the number of data for individual tasks is limited. Multi-task learning (MTL) offers the advantages of improving data efficiency, reducing overfitting through shared representations, and enabling rapid convergence by leveraging auxiliary knowledge.
[0047] In particular, multi-task learning (MTL) with transformer-based models has emerged as a popular approach to improve the performance of closely related tasks in natural language processing (NLP). In this approach, a shared transformer simultaneously learns a variety of related tasks, such as sentence classification and word prediction, and the modules calculate the results for each task separately. Models trained by multi-task learning (MTL) strategies generally perform well across a wide range of tasks. Although not as well studied as language, the decomposable design of the vision transformer (ViT) has made it possible to apply multi-task learning (MTL) to visual transformation models. In an early approach (NPL 1), the vision transformer (ViT) was divided into head, tail, and shared transformer structures for each task across tasks, and by sharing the transformation model between related tasks, it was possible to achieve similar generalization performance with fewer training stages.
[0048] FIG. 1 is a diagram showing the structure of the conventional FESTA, and FIG. 2 is a diagram for explaining the learning method of the conventional FESTA.
[0049] As shown in Figures 1 and 2, the main motivation of the traditional FESTA (Federated Split Task-Agnostic) framework is to provide a framework that takes full advantage of the obvious advantages of federated learning (FL) and classification learning (SL) methods and improves the performance of individual tasks through collaboration among clients performing diverse tasks.
[0050] TIFF0007575814000001.tif62166
[0051] TIFF0007575814000002.tif121166
[0052] For multitask body updates, optimization is performed with the head and tail fixed. For head and tail updates for each task, the converter body is modified to solve the optimization problem. In addition, the server 22 aggregates, averages, and distributes the head and tail parameters among clients participating in the same task, like FedAvg, for each "UnifyingRounds".
[0053] In previous work, FESTA, together with multi-task learning (MTL), has been shown to solve problems of data governance and ownership while simultaneously improving the individual performance of clients without the need to transmit large weights from the transducer body.
[0054] The FESTA framework still has some shortcomings. First, like SL, features and gradients must be continuously exchanged between the server and the client, but like FL, head and tail weights must also be aggregated between the client, which can increase communication costs. This makes communication costs higher than SL and, depending on the size of the network, higher than FL. Second, as can be seen from research without a transducer body, the CNN head and tail themselves already have strong expressive capabilities, which can reduce the role of the transducer body between the head and tail. Finally, privacy protection issues can arise because there is no way to protect privacy from model inversion attacks on features sent from the client to the server.
[0055] The p-FESTA proposed in accordance with one embodiment is a framework designed to alleviate these shortcomings.
[0056] FIG. 3 is a diagram for explaining a structure of a multi-task vision conversion device based on distributed learning using random patch permutation in one embodiment, and FIG. 4 is a diagram for explaining a learning method of the multi-task vision conversion device based on distributed learning using random patch permutation in one embodiment.
[0057] As shown in Figures 3 and 4, the overall structure of p-FESTA is similar to that of FESTA, which decomposes the network into head H (310, 410), body B (320, 420), tail T (330, 430), etc., but unlike conventional FESTA, p-FESTA does not use CNN heads tailored to each task. If the CNN heads that play an important role in the task are powerful, there is little room for improvement with this additional module, preventing the shared transformer from becoming a key component. Instead, in one embodiment, a simple task non-specific patch embedder like the vanilla vision transformer (ViT) is adopted to enforce self-attention within the transformer architecture and perform heavy lift.
[0058] The use of patch embedding in vanilla vision transformers (ViTs) can lead to external attackers attempting to subvert the patch embedder to obtain the original image. To address this issue, we propose a new permutation module 340, 440 as shown in FIG. 3 to prevent external attackers or “honest but curious” servers from returning features to the original data, including personal information. In particular, the permutation module 340, 440 records a permutation key to arbitrarily mix the order of all patch features before sending them to the server and reverse the permutation on the client side. The server’s transformer body B (320, 420) then performs a forward pass to resend the encoded features to the client as permuted patch features. Finally, the client reverses the permutation according to the recorded key and propagates the returned features to the task-specific tail Tk (330, 430) to calculate the final output. Backpropagation is performed in the opposite manner, where the same permutation module 340, 440 is used for forward propagation.
[0059] The utility of the permutation module 340, 440 is based on an interesting property of the vision transformer (ViT) that all the components that make up the transformer body, such as the multi-head self-attention, feedforward network, and hierarchical normalization, are fundamentally "permutation equivariant". These are processed independently in a patch-based manner, but the order of the patches does not affect the results, so the transformer body can be trained without performance degradation. Also, the patch order is fully entangled, so a malicious attacker cannot successfully recover the original image. The manner in which the permutation module 340, 440 provides privacy protection from malicious attackers is described in more detail below.
[0060] In the case of federated learning (FL), privacy is improved due to the temporal and centralized nature of the federated aggregation, averaging, and distribution of model updates when model updates are considered less informative than the original data. However, recent studies have questioned the false sense of security that such local model updates alone can faithfully discover private data. Specifically, given access to the global model W and the client's model updates ΔW, an attacker can optimize the previous input image before generating a gradient that matches the client's model update. However, the proposed p-FESTA method makes such attacks impossible because only the tail part of the global model is aggregated by the server and distributed to clients. For example, in the case of COVID-19 classification, the task-specific tails cannot discover private original data as a simple linear classifier.
[0061] Split Learning (SL) preserves privacy in a different way. As the name suggests, Split Learning (SL) splits the entire model into a client-side subnetwork and a server-side subnetwork, and does not transmit the model between the server and the client. Instead, features and gradients are transmitted back and forth between the server and the client, which can be bait for malicious attackers.
[0062] TIFF0007575814000003.tif88166
[0063] FIG. 5 illustrates a permutation module for enhancing privacy in one embodiment, and FIG. 6 illustrates different permutation patterns for each data of each client in one embodiment.
[0064] Feature space hijacking is also possible in p-FESTA according to an embodiment. The head part of the model according to an embodiment is relatively simple, making it an easy target for attackers. This is why we introduce a new permutation module to protect privacy, as shown in FIG. 7. The permutation module randomly mixes the order of all patch features. In an embodiment, the permutations of each data of each client are all different without any regularity, as shown in FIG. 8, so numerous patterns occur for all data. With such random permutations, even if a malicious attacker or server steals patch features to discover personal data, the position imbedding parameters, which are unknown variables that can be learned, cannot be inferred because there is no information about the original order of the patches. Furthermore, it is impossible to reverse the patch features to the image patches, because the added position imbeddings, which are unknown to the attacker, must be subtracted prior to inversion. This creates a contradiction in that the attacker must already know the "unknown" things in order to infer other "unknown" things, leading the inversion attack to a type of underdetermined problem.
[0065] The learning process of p-FESTA in one embodiment is described below.
[0066] The training process of p-FESTA is similar to the original FESTA, but differs in many aspects. Instead of a task-specific head Hk for each task k, the task-non-specific patch embedder H first prepares a patch embedding hc for each client c, and sends it to the server after passing through the permutation module. The server then records the received patch embedding hc on its side and uses it for the remainder of the training process to update the body B and tail Tk parts of the model. As a result, communication to send intermediate features hc or update the head H is no longer required, which can significantly reduce the overall communication costs compared to the original FESTA.
[0067] The patch embedder, which is the head part of the model, cannot be updated in this configuration. However, modifying the parameters of the patch embedder does not degrade performance due to its simple structure that allows image patches to be embedded in the same vector space. Allowing learning would cause embedding mismatch between tasks, resulting in some degradation in performance. The detailed process of the proposed p-FESTA is described in Algorithm 1 in Table 1 below. [Table 1]
[0068] FIG. 7 is a flow chart illustrating a transformation method using a distributed learning based multi-task vision transformation device with random patch permutation according to one embodiment.
[0069] Referring to FIG. 7, in one embodiment, a conversion method using a multi-task vision conversion device based on distributed learning with random patch permutation may include step 110 of preparing patch embeddings for each client using a task non-specific patch embedder, passing them through a permutation module, and then sending them to a server, and step 120 of recording the patch embeddings received by the server and using them to update the body and tail portions of the vision conversion model.
[0070] The method may further include performing a forward pass and sending the encoded features to the client as permuted patch features in the body of the vision converter model at the server 130 .
[0071] Also, the client may further include a step 140 of reversing the permutation according to the recorded key and transmitting the returned features to the tail portion for each task to calculate the final output. Here, the step of preparing the patch embedding and transmitting it to the server after passing through the permutation module may record a key to randomly mix the patch permutations and reverse the permutation on the client side before transmitting the patch features from the client side to the server using the permutation module.
[0072] Hereinafter, a conversion method using a distributed learning based multi-task vision conversion device using random patch permutation according to an embodiment will be described in more detail.
[0073] FIG. 8 is a block diagram illustrating a distributed learning based multi-task vision transformation device with random patch permutation according to one embodiment.
[0074] 8, in one embodiment, a multi-task vision conversion device 800 based on distributed learning using random patch permutation may include a head unit 810 and a feature recording unit 820. According to an embodiment, the multi-task vision conversion device 800 based on distributed learning using random patch permutation may further include a body unit 830 and a tail unit 840. In the embodiment, a vision converter model that performs multi-task learning is separated into a head and tail part that is a client-side model and a body part that is a server-side model, so that learning can be performed in a distributed learning manner without direct data sharing.
[0075] In step 110, the head unit 810 may prepare patch embedding for each client using a task non-specific patch embedder, pass the embedding through a permutation module, and then transmit the embedding to the server. The head unit 810 may randomly mix and transmit patch permutations using the permutation module before transmitting patch features from the client side to the server. In this case, the head unit 810 may record a key to randomly mix patch permutations and reverse the permutation on the client side.
[0076] Here, the permutation module may be a random patch permutation module, and data transmitted from the client side to the server side may transmit representational feature data in which patch permutations are randomly permuted so that the original data cannot be identified. Also, the permutation module may be a random patch permutation module, and may share only a portion of the model weights aggregated and distributed on the server side, so that the entire data is not restored in reverse order.
[0077] At step 120, the feature recorder 820 records the patch embeddings received at the server and may be used to update the body and tail portions of the vision converter model.
[0078] At stage 130, a forward pass may be performed and the encoded features resent to the client as permuted patch features in the body unit 830, i.e., the body portion of the vision converter model at the server. The body unit 830 may use a permutation module such that backpropagation occurs in the order of tail, body, and head of the vision converter model, which is the opposite of the forward propagation.
[0079] In step 140, the client may reverse the permutation according to the recorded key, and the tail unit 840 may transmit the returned features to the tail unit by task to calculate the final output.
[0080] FIG. 9 is a flowchart illustrating a transformation method using a distributed learning-based multi-task vision transformation device with random patch permutation according to another embodiment.
[0081] Referring to FIG. 9, in another embodiment, a conversion method using a multi-task vision conversion device based on distributed learning using random patch permutation may include step 210 of randomly mixing patch permutations using a permutation module, recording a key to reverse the permutation on the client side, and then transmitting patch features from the client to the server, step 220 of performing a forward pass as the permuted patch features in the main part of the vision converter model of the server and resending the encoded features to the client, and step 230 of the client reverses the permutation using the recorded key and transfers the returned features to the tail part for each task to calculate a final output.
[0082] In another embodiment, the conversion method using a multi-task vision conversion device based on distributed learning using random patch permutation may be included in the configuration of the conversion method using a multi-task vision conversion device based on distributed learning using random patch permutation in the above-mentioned embodiment, and duplicated explanations will be omitted.
[0083] In step 210, the head unit 810 may use the permutation module to randomly mix the patch permutations and record the key to reverse the permutation on the client side, and then transmit the patch characteristics from the client to the server.
[0084] Meanwhile, the feature recorder 820 may record the patch embeddings received at the server and use them to update the body and tail parts of the vision converter model.
[0085] At stage 220, the body unit 830 may perform a forward pass and resend the encoded features to the client as permuted patch features in the body portion of the server's vision converter model, i.e., a permutation module may be used to backpropagate through the tail, body, and head of the vision converter model, which is the opposite of the forward propagation.
[0086] In step 230, the tail unit 840 may invert the permutation according to the key recorded by the client, and transfer the returned features to the tail unit by task to calculate the final output.
[0087] The embodiment uses a scheme in which the vision converter model that performs multi-task learning is separated into a client (connector) side model and a server side model, enabling learning in a distributed learning manner without direct data sharing.
[0088] In the above process, the feature representation and client model weights from the client side must be transmitted to the server side. In the case of using a conventional distributed learning method, if an external attacker hacks the data transmitted to the server during this process or attempts to recover personal information using the data on the server itself, it is possible to restore sensitive information to a level where it can be identified.
[0089] However, in the embodiment, a random patch permutation module is additionally applied to the above process, so that the data transmitted to the server side transmits representational feature data in which the patch permutation is randomly permuted to make it impossible to identify the original data. Also, the model weights aggregated and distributed on the server side are only partially shared, so that the entire data cannot be restored in reverse order. With these two methods, the embodiment makes it possible to protect personal information more effectively than the conventional distributed learning method. Such a random patch permutation method utilizes a characteristic of a vision transformer model called patch permuation invariance.
[0090] In addition, the embodiment takes advantage of the multi-learning scheme to share representation features and gradients useful for model learning among clients performing multiple tasks, thereby improving the performance of the final trained model compared to a single-task model. The embodiment uses a simple head model compared to conventional methods, and is designed to maximize the advantages of the multi-learning scheme by allowing learning to be performed in the same representation space by utilizing the same head among clients and allowing a shared transformer module to perform most tasks.
[0091] Furthermore, in the conventional multitask distributed learning method, excessive communication volume between the server and the client is a problem, but in the embodiment, the representational feature data is recorded on the server side at the start of learning and is used throughout the learning, reducing the communication volume by almost half and enabling learning at low cost. This is made possible by transmitting data with protected personal information to the server side using a random patch permutation module, and effectively utilizes the fact that even if the representational features are recorded on the server side, the server cannot restore them.
[0092] The above-mentioned personal information protection multi-task distributed learning technology can be applied not only to medical images but also to various other fields. The technology that protects personal information by random patch replacement using the characteristics of the vision transformer model can be applied to any modality in the imaging field where the vision transformer model can be applied, and the task to be performed by the artificial intelligence model can be applied to various tasks regardless of the type of task, such as classification / segmentation / quantification, making it versatile.
[0093] According to the embodiment, it is expected that the protection of personal information is most effectively applied in the medical imaging field, where protection of personal information is of utmost importance. In addition to X-ray images, which were used in the study, the technology can be applied to various medical imaging modalities such as CT, MRI, and PET due to its advantage of being applicable to any "image" information regardless of modality, and the flexibility of the multitask learning model allows the technology to be effectively applied even in situations where each client wants to perform different tasks. In addition to the medical imaging field, the technology can also be effectively applied in distributed learning environments that utilize data from mobile devices such as smartphones, because image information contained in personal smartphones is also data for which protection of personal information is important.
[0094] The embodiment was developed based on a vision transformer model, but the way in which each image patch is handled in the vision transformer model is almost the same as the way in which a transformer model for natural language processing handles words, and considering that other structures are also similar, it is expected that the present technology can also be used in distributed learning and multi-task learning models in the field of natural language processing. Just as the embodiment protects personal information by randomly mixing patch permutations, the natural language model can also be expected to have an overall protection effect on personal information by randomly mixing word orders.
[0095] As described above, the embodiment combines the advantages of the distributed associative learning and decomposed learning methods, and at the same time, improves the performance of the vision transformer model through multi-task learning. In addition, the embodiment makes it impossible for an attacker to recover sensitive personal information, which was a problem in the conventional distributed learning method, by using a random patch permutation method, so that sensitive personal information cannot be recovered fundamentally without using other personal information protection methods, which is due to the use of patch permutation invariance, which is an inherent characteristic of the vision transformer itself. As a result, the permuted data is recorded on the server side and learned, so that the overall communication volume of the distributed learning process can be reduced by almost half.
[0096] As a result, the embodiment provides a greater degree of performance improvement through the multi-learning method compared to the conventional distributed learning method, and can reduce communication traffic by almost half while strengthening personal information protection. This improvement is an effect obtained by making the most of the inherent characteristics of the vision converter. Therefore, the embodiment provides improved personal information protection compared to the conventional patented method, and can be widely applied to medical image artificial intelligence and other image artificial intelligence fields.
[0097] The medical imaging artificial intelligence field, which can utilize the technology according to the embodiment first, is a field in which the market size has grown rapidly in recent years, and products using artificial intelligence models for various modalities such as X-ray, CT, and MRI have been developed. However, since such conventional products are developed by centrally integrating data for a single task and learning it, it is difficult to develop products for detailed tasks for which sufficient data is difficult to collect, and since the models are learned using a small number of institutional data, there are problems in that they often cannot demonstrate excellent generalization performance. The embodiment is a technology for solving the shortcomings of such conventional products on the market, and can provide a learning framework that can protect the personal information of patients while learning a model without direct sharing and central integration of data required for product development, and has the advantage that it can be widely used regardless of the type of task and can further improve performance by taking advantage of the advantages of multi-task learning. Therefore, it can be effectively used by companies that develop medical artificial intelligence models, and can be sold by providing a development platform product to such companies, and since it can be effectively used for research purposes, it is expected that the platform can be sold to research institutions such as hospitals and universities for research purposes.
[0098] The above-mentioned devices may be realized by hardware components, software components, and / or a combination of hardware and software components. For example, the devices and components described in the embodiments may be realized using one or more general-purpose or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), a programmable logic unit (PLU), a microprocessor, or various devices capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications that run on the OS. The processing device may also respond to the execution of the software to access, record, manipulate, process, and generate data. For convenience of understanding, a single processing device may be described as being used, but one skilled in the art will understand that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, the processing device may include multiple processors or one processor and one controller. Other processing configurations, such as parallel processors, are also possible.
[0099] The software may include computer programs, codes, instructions, or a combination of one or more of these, and may configure a processing device to operate as desired or instruct the processing device, either independently or collectively. The software and / or data may be embodied in any type of machine, component, physical device, virtual device, computer storage medium, or device to be interpreted based on the processing device or to provide instructions or data to the processing device. The software may be distributed and stored or executed in a distributed manner on computer systems connected by a network. The software and data may be stored on one or more computer-readable storage media.
[0100] The method according to the embodiment may be implemented in the form of program instructions executable by various computer means and recorded on a computer-readable medium. The computer-readable medium may include, alone or in combination, program instructions, data files, data structures, and the like. The program instructions recorded on the medium may be specially designed and constructed for the embodiment, or may be known and available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to record and execute program instructions, such as ROMs, RAMs, flash memories, and the like. Examples of program instructions include high-level language codes executed by a computer using an interpreter, etc., as well as machine language codes such as those generated by a compiler.
[0101] Although the embodiments have been described based on the limited embodiments and drawings as above, those skilled in the art will be able to make various modifications and variations from the above description. For example, the described techniques may be performed in an order different from that described, and / or the components of the described systems, structures, devices, circuits, etc. may be combined or combined in a manner different from that described, or may be counterbalanced or replaced by other components or equivalents, and still achieve suitable results.
[0102] Therefore, different embodiments are within the scope of the appended claims provided that they are equivalent to the claims.
Claims
1. A method for converting images using a distributed learning-based multitask vision conversion device using random patch permutation, preparing patch embeddings for each client using a task-non-singular patch embedder and sending the patch embeddings to the server after passing them through a permutation module; recording the patch embeddings received at the server and using them to update the body and tail portions of a vision converter model; Including, The step of preparing the patch embedding, passing it through a permutation module, and then transmitting it to a server comprises: A multi-task vision transformation method, comprising: utilizing the permutation module to randomly mix and send patch permutations before sending patch features from the client side to the server.
2. The vision converter model that performs multitask learning is separated into a head and tail part that is a client-side model and a main part that is a server-side model, so that learning can be performed in a distributed learning manner without direct data sharing. The multi-task vision transformation method according to claim 1 .
3. The permutation module comprises: A random patch permutation module, which transmits the data from the client side to the server side, represents characteristic data in which the patch permutation has been randomly permuted and the original data cannot be identified. The multi-task vision transformation method according to claim 1 .
4. The permutation module comprises: A random patch permutation module that aggregates and distributes model weights on the server side and shares only a portion of the weights, preventing the entire data from being repaired in reverse order. The multi-task vision transformation method according to claim 1 .
5. performing a forward pass on the encoded features as permuted patch features in the body of the vision converter model at the server and retransmitting the encoded features to the client. The multi-task vision transformation method of claim 1 , further comprising:
6. The client inverts the permutation according to the recorded key, and transmits the returned features to the tail part for each task to calculate the final output. Further comprising: The step of preparing the patch embedding, passing it through a permutation module, and then transmitting it to a server comprises: Recording a key for randomly mixing patch permutations and reversing permutations at the client side before transmitting patch characteristics from the client side to the server using the permutation module. The multi-task vision transformation method according to claim 5 .
7. The step of retransmitting the encoded characteristics to the client comprises: using the permutation module to perform backpropagation through the tail, body, and head of the vision transformer model in the opposite order to the forward propagation; The multi-task vision transformation method according to claim 5 .
8. A method for converting images using a distributed learning-based multitask vision conversion device using random patch permutation, randomly mixing patch permutations using a permutation module and recording a key for inverting the permutation at a client side, and then transmitting patch characteristics from the client to a server; performing a forward pass to resend the encoded features to the client as permuted patch features in the body of the vision converter model at the server; and The client inverts the permutation according to the recorded key, and transmits the returned features to the tail part for each task to calculate the final output. A multi-task vision transformation method including:
9. The step of retransmitting the encoded characteristics to the client comprises: using the permutation module to perform backpropagation through the tail, body, and head of the vision transformer model in the opposite order to the forward propagation; The multi-task vision transformation method according to claim 8 .
10. The step of transmitting patch characteristics from the client to the server includes: Task: Using a non-singular patch embedder, prepare patch embeddings for each client and send them to the server after passing them through a permutation module. The multi-task vision transformation method according to claim 8 .
11. recording the patch embeddings received at the server and using them to update the body and tail portions of a vision converter model; The multi-task vision transformation method of claim 10 , further comprising:
12. A transformation device using a distributed learning-based multitask vision transformation device using random patch permutation, a head part that uses a task-non-singular patch embedder to prepare patch embeddings for each client and send them to the server after passing through a permutation module; a feature recorder for recording the patch embeddings received by the server and using them to update the body and tail portions of a vision converter model; Including, The head portion is Using the permutation module, before transmitting patch characteristics from the client side to the server, randomly mix and transmit patch permutations. A multitasking vision transformation device, comprising:
13. The vision converter model that performs multitask learning is separated into a head and tail part that is a client-side model and a main part that is a server-side model, so that learning can be performed in a distributed learning manner without direct data sharing. The multitasking vision transformation device according to claim 12 .
14. The permutation module comprises: A random patch permutation module, which transmits the data from the client side to the server side, represents characteristic data in which the patch permutation has been randomly permuted and the original data cannot be identified. The multitasking vision transformation device according to claim 12 .
15. The permutation module comprises: A random patch permutation module that aggregates and distributes model weights on the server side so that only a portion of the weights is shared, preventing the entire data from being repaired in reverse order. The multitasking vision transformation device according to claim 12 .
16. a body for performing a forward pass and retransmitting the encoded features to the client as permuted patch features in a body portion of the vision converter model of the server; The multi-tasking vision transformation device of claim 12 , further comprising:
17. The client inverts the permutation according to the recorded key, and transmits the returned features to the tail part for each task to calculate the final output. Further comprising: The head portion is Recording the key for randomly mixing patch permutations and reversing permutations on the client side before transmitting patch characteristics from the client side to the server using the permutation module. The multitasking vision transformation device according to claim 16 .
18. The main body portion is using the permutation module to perform backpropagation through the tail, body, and head of the vision transformer model in the opposite order to the forward propagation; The multitasking vision transformation device according to claim 16 .
Citation Information
Patent Citations
Model training method and system for privacy protection
CN113011587A
Longitudinal federated learning linear regression and logistic regression model training method and device
CN113505894A
Privacy protection image classification method based on federal learning
CN113642664A
Computation system using hierarchical network
WO2018011842A1
