Data analysis method and device based on federated learning, equipment and storage medium

By receiving and analyzing the data submitted by resource providers, the authenticity of their contributions is determined, thus solving the problem of malicious behavior in joint learning and ensuring the fairness and effectiveness of model training.

CN116384782BActive Publication Date: 2026-11-20新奥新智科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111572527.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2026-11-20
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In collaborative learning, malicious actors may misrepresent the quantity and quality of resources, leading to poor model performance and losses for the platform. Current technologies lack effective data analysis solutions to combat such behavior.

Method used

By receiving resource metadata submitted by resource providers, we determine the unit's resource indicators and contribution declaration values, select resource providers to participate in joint learning, and judge whether there is distorted data based on the actual contribution values. If so, we eliminate the risk.

Benefits of technology

Accurately identify distorted data from resource providers, reduce their impact, ensure the training results of joint learning models, prevent malicious profiteering, and improve the fairness and efficiency of model training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116384782B_ABST
    Figure CN116384782B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of federated learning, and particularly relates to a data analysis method and device based on federated learning, equipment and a storage medium. The method comprises the following steps: receiving resource metadata declared by a plurality of resource parties, wherein the resource metadata at least carries a unit resource index and a contribution declaration value; selecting a resource provider from the plurality of resource parties according to the unit resource index, so that the resource provider participates in federated learning and jointly trains a federated learning model; determining an actual contribution value of the resource provider to the training of the federated learning model; and if it is determined that the resource provider has distorted data according to the contribution declaration value and the actual contribution value, determining that the resource metadata declared by the resource provider is unqualified according to the distorted data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of federated learning technology, and in particular to a data analysis method, apparatus, device and storage medium based on federated learning. Background Technology

[0002] Federation learning is a machine learning setup in which many clients collaboratively train a model under the coordination of a central server, while maintaining the decentralization and distribution of training data. The long-term goal of federated learning is to analyze and learn from data from multiple data owners without exposing the data itself.

[0003] In collaborative learning, it's crucial to ensure that participants receive compensation covering the cost of their provided resources; otherwise, they won't continue participating in the long term. Generally, collaborative learning platforms, acting as central servers, allow participants to declare their resource costs and select participants to train models. This allows malicious participants to potentially misrepresent the quantity, quality, and cost of resources, excluding other participants from training and thus gaining illicit profits. Furthermore, misrepresenting resource quantity and quality can cause models trained by participating participants to fail to meet expectations, resulting in losses for the platform.

[0004] Therefore, a solution is needed that can perform data analysis based on federated learning to combat such malicious behavior. Summary of the Invention

[0005] In view of this, embodiments of the present disclosure provide a data analysis method, apparatus, electronic device, and computer-readable storage medium for jointly learning distorted data, in order to solve the problem in the prior art that there is a need for a solution that can perform data analysis based on joint learning to combat such malicious behavior.

[0006] A first aspect of this disclosure provides a data analysis method based on joint learning, comprising:

[0007] Receive resource metadata from multiple resource providers. The resource metadata must include at least the unit resource index and the contribution declaration value.

[0008] Based on the unit resource indicators, resource providers are selected from multiple resource providers to enable resource providers to participate in joint learning and jointly train the joint learning model.

[0009] Determine the actual contribution of the resource provider to training the joint learning model;

[0010] If, based on the declared contribution value and the actual contribution value, it is determined that the resource provider has distorted data, then based on the distorted data, the resource provider's declared resource metadata is deemed unqualified.

[0011] A second aspect of this disclosure provides a data analysis apparatus based on joint learning, comprising:

[0012] The data receiving module receives resource metadata submitted by multiple resource providers. The resource metadata must include at least the unit resource index and the contribution submission value.

[0013] The joint learning module selects resource providers from multiple resource providers based on unit resource indicators, enabling resource providers to participate in joint learning and jointly train the joint learning model.

[0014] The contribution value determination module determines the actual contribution value of the resource provider to training the joint learning model.

[0015] If the data judgment module determines that the resource provider has distorted data based on the declared contribution value and the actual contribution value, then it determines that the resource provider's declared resource metadata is unqualified based on the distorted data.

[0016] A third aspect of this disclosure provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described above.

[0017] A fourth aspect of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.

[0018] The beneficial effects of this disclosed embodiment compared to the prior art are: by analyzing the difference between the actual contribution value and the declared contribution value, it is possible to accurately determine whether the resource provider has distorted data. If distorted data is found, risk elimination can be implemented, making the provider pay for its own distorted data. This risk elimination reduces the amount of distorted data from resource providers, ensuring the training results of the joint learning model. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of a joint learning architecture according to an embodiment of this disclosure;

[0021] Figure 2 This is a flowchart illustrating a data analysis method based on joint learning provided in an embodiment of this disclosure;

[0022] Figure 3 This is a schematic diagram of the structure of a data analysis device based on joint learning provided in an embodiment of this disclosure;

[0023] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0024] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, so as to provide a thorough understanding of the embodiments of this disclosure. However, those skilled in the art will understand that this disclosure may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this disclosure with unnecessary detail.

[0025] Federation learning refers to the comprehensive utilization of multiple AI (Artificial Intelligence) technologies, under the premise of ensuring data security and user privacy, to collaboratively explore the value of data and foster new intelligent business forms and models based on joint modeling. Federation learning has at least the following characteristics:

[0026] (1) Participating nodes control their own data in a weakly centralized joint training mode to ensure data privacy and security in the process of co-creating intelligence.

[0027] (2) In different application scenarios, various model aggregation optimization strategies are established by using screening and / or combination of AI algorithms and privacy-preserving computing to obtain high-level and high-quality models.

[0028] (3) Under the premise of ensuring data security and user privacy, based on multiple model aggregation optimization strategies, obtain methods to improve the performance of the federated learning engine. The performance methods can be improved by solving problems such as parallel computing architecture, information interaction under large-scale cross-domain networks, intelligent perception, and anomaly handling mechanisms.

[0029] (4) Obtain the needs of multiple users in various scenarios, determine the true contribution of each joint participant through a mutual trust mechanism, and allocate incentives accordingly.

[0030] Based on the above approach, an AI technology ecosystem based on collaborative learning can be established, fully leveraging the value of industry data and promoting the implementation of scenarios in vertical fields.

[0031] A data analysis method and apparatus based on federated learning according to embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings.

[0032] Figure 1This is a schematic diagram of a joint learning architecture according to an embodiment of this disclosure. Figure 1 As shown, the architecture of joint learning may include a server (central node) 101 and participants 102, 103 and 104.

[0033] In the joint learning process, a basic model can be established through server 101, which then sends this model to participants 102, 103, and 104 with whom it has established a communication connection. Alternatively, any participant can establish the basic model and upload it to server 101, which then sends it to other participants with whom it has established a communication connection. Participants 102, 103, and 104 construct models based on the downloaded basic structure and model parameters, train the models using local data, obtain updated model parameters, and encrypt and upload these updated model parameters to server 101. Server 101 aggregates the model parameters sent by participants 102, 103, and 104 to obtain global model parameters, which are then transmitted back to participants 102, 103, and 104. Participants 102, 103, and 104 iterate on their respective models based on the received global model parameters until the models converge, thus achieving model training. During the collaborative learning process, the data uploaded by participants 102, 103, and 104 are model parameters. Local data is not uploaded to server 101, and all participants can share the final model parameters. Therefore, collaborative modeling can be achieved while ensuring data privacy. It should be noted that the number of participants is not limited to the three mentioned above, but can be set as needed. This embodiment of the disclosure does not impose any restrictions on this.

[0034] Figure 2 This is a flowchart illustrating a data analysis method based on joint learning provided in an embodiment of this disclosure. Figure 2 Data analysis methods based on joint learning can be developed by Figure 1 Executed by the terminal device or server.

[0035] like Figure 2 As shown, this data analysis based on joint learning includes:

[0036] S201, Receive resource metadata submitted by multiple resource providers, the resource metadata shall include at least the unit resource index and the contribution submission value;

[0037] S202, based on the unit resource index, select a resource provider from multiple resource providers so that the resource provider can participate in joint learning and jointly train the joint learning model;

[0038] S203, Determine the actual contribution of the resource provider to training the joint learning model;

[0039] S204. If it is determined that the resource provider has distorted data based on the declared contribution value and the actual contribution value, then the resource provider's declared resource metadata is deemed unqualified based on the distorted data.

[0040] Specifically, the joint learning platform first proposes model and resource requirements. If a resource provider wishes to participate in the joint learning process, they can send a resource metadata declaration to the platform. This resource metadata declaration includes the contribution declaration value and unit resource metrics (e.g., unit resource cost). The contribution declaration value can include the amount of data, data quality, computing resources, storage resources, network bandwidth, and other resources that the provider can offer.

[0041] After receiving the resource metadata submitted by resource providers, the collaborative learning platform filters these providers using various methods, such as selecting the provider with the lowest unit resource index or the highest contribution declaration value. The selected resource providers are then designated as resource providers (which can be...). Figure 1 Participants 101, 102, and 103 (shown in the diagram) participated in this joint learning process.

[0042] After this joint learning session concludes, the actual contribution of the resource provider is determined according to a pre-defined contribution measurement method. For example, based on the quantity of resources provided by the resource provider, the actual contribution of the resource provider to training the joint learning model is determined using marginal utility or Shapley value.

[0043] If the actual contribution value reaches the contribution value declared by the resource provider, it can be determined that the provider acted honestly in this collaborative learning activity and that there was no distorted data (distorted data can be understood as resource data provided based on the resource provider's dishonest behavior). If the actual contribution value does not reach the declared contribution value, it indicates that the resource provider has distorted data in this collaborative learning activity, and its declared resource metadata is deemed unqualified, allowing for risk exclusion. Risk exclusion can involve defining sensitive information items as requiring risk exclusion. For example, in cases involving financial events, it would be pre-agreed to reduce resource output / input to the resource provider to achieve the effect of risk exclusion.

[0044] According to the technical solution provided in this disclosure, by analyzing the difference between the actual contribution value and the declared contribution value, it is possible to accurately determine whether the resource provider has distorted data. If distorted data is found, risk elimination can be performed on its related event items, making it liable for its own distorted data. By eliminating risks, the reduction of distorted data from resource providers can be achieved, thus ensuring the training results of the joint learning model.

[0045] In some embodiments, determining that the resource provider has distorted data based on the contribution declaration value and the actual contribution value specifically includes: obtaining a corresponding deviation coefficient based on the difference between the number of declaration data carried in the contribution declaration value and the actual contribution value, or the difference between the quality of the declaration data carried in the contribution declaration value and the average quality of the declaration data carried in the actual contribution value; and determining that the resource provider has distorted data based on the deviation coefficient.

[0046] Based on the distorted data, risk assessment is performed on the resource inputs of the resource provider. Specifically, this includes: obtaining a risk coefficient based on the difference between the actual contribution value and the deviation coefficient; obtaining the risk item of the resource provider based on the risk coefficient and the total data value of the joint learning model; and eliminating risks from the resource inputs of the resource provider based on the risk item.

[0047] Specifically, the discrepancy between the declared contribution value and the actual contribution value can be used to determine whether the resource provider has distorted data.

[0048] For example, obtain the number of declared data corresponding to the contribution declaration value and the actual contribution value, then determine the difference between the two, and use the difference as the deviation coefficient d. Alternatively, determine the quality of the declared data carried in the contribution declaration value, and calculate the average quality of the declared data corresponding to each data in the actual contribution value to obtain the average quality of the declared data. Calculate the difference between the quality of the declared data and the average quality of the declared data, and use the difference as the deviation coefficient d.

[0049] If the deviation coefficient d reaches the preset threshold, it can be considered that the resource provider has distorted data, and risk elimination is required.

[0050] The deviation coefficient represents the gap between the resource provider's failure to meet the declared contribution value and this gap is used as the basis for risk exclusion. However, since the deviation coefficient may not accurately indicate the degree of risk exclusion in different scenarios, it needs to be corrected before being used as the risk coefficient. Based on this risk coefficient and the total data value of the joint learning model, the risk item for the resource provider can be obtained. Subtracting the risk item from the original resource input items to the resource provider completes the risk exclusion for the resource provider.

[0051] According to the technical solution provided in this disclosure, by setting a specific solution with a deviation coefficient, and by explaining how to use the deviation coefficient to eliminate risks from resource input items, the standard for risk elimination can be quantified, ensuring the reliability of the basis for risk elimination.

[0052] In some embodiments, the deviation coefficient is corrected to obtain the corresponding risk coefficient, specifically including: determining a pre-set deviation risk index; and correcting the deviation coefficient by multiplication based on the deviation risk index to obtain the risk coefficient.

[0053] Based on distorted data, risk assessment of resource providers is conducted, specifically including: using the formula Payment i =(C i -d*lmbs)*B, performs risk elimination on the resource input items of resource provider i, where Payment i C is the actual resource input for resource provider i. i Let d be the actual contribution of resource provider i, d be the deviation coefficient, lmbs be the deviation risk index, and B be the total data value of the joint learning model (e.g., the total budget).

[0054] According to the technical solution provided in this disclosure, a pre-set deviation risk index is used to correct the deviation coefficient, resulting in a risk coefficient. This ensures the accuracy of the corrected risk coefficient. When the deviation risk index is sufficiently large, if the resource provider provides distorted data, their final revenue may be zero or even result in a loss. This ensures that they cannot profit through malicious acts such as falsifying quantity and quality. Multiplying the risk coefficient by the total data value yields the risk item for the resource provider. Subtracting this risk item from the original resource input item obtained from their actual contribution value and the total data value gives the actual resource input item. This enables a quantitative process for risk elimination, improving the reliability of the risk elimination basis.

[0055] In some embodiments, determining a pre-set deviation risk index specifically includes: determining the application scenario corresponding to this joint learning; determining the saturation level corresponding to this joint learning based on the application scenario; and compensating the pre-set deviation risk index based on the saturation level, wherein the saturation level and the compensation effect are positively correlated.

[0056] Specifically, the difficulty of resource providers in providing resources varies for different application scenarios. If the same deviation risk index is used for compensation, it would be unfair to the resource sharing parties.

[0057] Based on this, the corresponding application scenario is first determined, followed by its saturation level. The saturation level indicates the degree of market saturation for that application scenario. A higher saturation level indicates a more saturated market, meaning there should be more mature data within the application scenario, making it relatively simpler for resource-sharing parties to provide resources. If, at this point, the resource-sharing party still has distorted data, the risk assessment should be strengthened. This will result in a more effective compensation for the deviation risk index, with the compensation effect positively correlated with the saturation level. A higher compensation level leads to a higher final deviation risk index, more risk items for the resource provider, and a greater degree of risk mitigation.

[0058] According to the technical solution provided in this disclosure, by setting corresponding compensation effects for the saturation levels corresponding to different application scenarios, it is possible to distinguish the distorted data of the resource provider, thereby reducing the risk of distorted data caused by objective difficulties (such as the application scenario being too unpopular, the saturation level being very low, and therefore it being difficult to contribute enough data), and protecting the interests of the resource provider.

[0059] In some embodiments, selecting resource providers from multiple resource providers based on unit resource indicators specifically includes: selecting several potential resource providers from multiple resource providers based on unit resource indicators and the total data value of the joint learning model; determining the corresponding contribution cost ratio based on the ratio between the contribution declaration values ​​provided by the several potential resource providers and the unit resource indicators, and using the historical credit value of the potential resource providers as a coefficient; and selecting a specified number of potential resource providers with the highest contribution cost ratios from among the several potential resource providers as resource providers.

[0060] Specifically, when selecting a resource provider from multiple resource providers, simply choosing the one with the lowest cost, as is the traditional approach, can easily lead to issues of trust breach. Therefore, the selection process should begin by identifying a few potential resource providers with the lowest costs, followed by a second round of screening among them.

[0061] The selection criteria can be based on the ratio between the declared contribution value and the unit resource indicator, resulting in a contribution-cost ratio. A higher contribution-cost ratio indicates that the resource provider can provide more resources per unit cost, thus increasing its value. Alternatively, its historical credit score (e.g., historical credit score = number of times no defaults / total number of times participating in joint learning) can be used as a coefficient to ultimately determine its corresponding contribution-cost ratio. The resource providers with the highest ratios (a specified number of such ratios) can then be selected as the final resource providers.

[0062] According to the technical solution provided in this disclosure, by no longer solely relying on the lowest cost when selecting resource providers, but also combining the resource cost ratio and historical credit score of each resource provider, the most valuable resource provider can be selected for this joint learning, which can also reduce the probability of distorted data and protect the interests of resource sharing parties and the joint learning platform.

[0063] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0064] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.

[0065] Figure 3 This is a schematic diagram of a data analysis device based on federated learning provided in an embodiment of this disclosure.

[0066] like Figure 3 As shown, the data analysis device based on joint learning includes:

[0067] The data receiving module 301 is configured to receive application resource metadata sent by multiple resource parties, and the application resource metadata carries at least the unit resource index and the contribution application value;

[0068] The joint learning module 302 is configured to select a resource provider from multiple resource providers based on unit resource indicators, so that the resource providers can participate in joint learning and jointly train the joint learning model.

[0069] The contribution value determination module 303 is configured to determine the actual contribution value of the resource provider to training the joint learning model;

[0070] The data judgment module 304 is configured to, if based on the contribution declaration value and the actual contribution value, determine that the resource provider has distorted data, then based on the distorted data, perform risk elimination on the resource input items of the resource provider.

[0071] According to the technical solution provided in this disclosure, by analyzing the difference between the actual contribution value and the declared contribution value, it is possible to accurately determine whether the resource provider has distorted data. If distorted data exists, risk can be applied to its resource input items, making it pay for its own distorted data. This risk-based approach reduces the amount of distorted data from the resource provider, ensuring the training results of the joint learning model.

[0072] In some embodiments, the data determination module 304 is configured to obtain a corresponding deviation coefficient based on the difference between the number of declared data carried in the contribution declaration value and the actual contribution value, or the difference between the quality of the declared data carried in the contribution declaration value and the average quality of the declared data carried in the actual contribution value.

[0073] Based on the deviation coefficient, it was determined that the resource provider contained distorted data;

[0074] The data determination module 304 is followed by the risk elimination module 305, which is configured to correct the deviation coefficient to obtain the corresponding risk coefficient.

[0075] Based on the risk coefficient and the total data value of the joint learning model, the risk item of the resource provider is obtained;

[0076] Based on the risk items, risk elimination is performed on the resource input items of the resource provider.

[0077] In some embodiments, the data determination module 304 is configured to determine a pre-set deviation risk index;

[0078] The deviation coefficient is corrected by multiplying the deviation risk index to obtain the risk coefficient.

[0079] In some embodiments, the distortion module 304 is configured to adjust the distortion according to the formula Payment. i =(C i -d*lmbs)*B, performs risk elimination on the resource input items of resource provider i, where Payment i C is the actual resource input for resource provider i. i Let d be the actual contribution value of resource provider i, d be the deviation coefficient, lmbs be the deviation risk index, and B be the total data value of the joint learning model.

[0080] In some embodiments, the distortion module 304 is configured to determine the application scenario corresponding to this joint learning;

[0081] Determine the saturation level corresponding to this joint learning based on the application scenario;

[0082] Based on the saturation level, compensation is applied to the pre-set deviation risk index, and the saturation level and the effect of compensation are positively correlated.

[0083] In some embodiments, the joint learning module 302 is configured to select several potential resource providers from multiple resource providers based on the unit resource metric and the total data value of the joint learning model;

[0084] The contribution cost ratio is determined by comparing the contribution declaration values ​​provided by several potential resource providers with the unit resource indicators, and by using the historical credit values ​​of the potential resource providers as a coefficient.

[0085] From a pool of potential resource providers, select a specified number of providers with the highest contribution cost ratios as the resource providers.

[0086] In some embodiments, the contribution value determination module 303 is configured to determine the actual contribution value of the resource provider to training the joint learning model based on the amount of resources provided by the resource provider, using marginal utility or Shapley value.

[0087] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this disclosure.

[0088] Figure 4 This is a schematic diagram of the electronic device 4 provided in an embodiment of this disclosure. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, it implements the steps in the various method embodiments described above. Alternatively, when the processor 401 executes the computer program 403, it implements the functions of each module / unit in the various device embodiments described above.

[0089] For example, computer program 403 may be divided into one or more modules / units, which are stored in memory 402 and executed by processor 401 to perform the present disclosure. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 403 in electronic device 4.

[0090] Electronic device 4 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 4 may include, but is not limited to, processor 401 and memory 402. Those skilled in the art will understand that... Figure 4 This is merely an example of electronic device 4 and does not constitute a limitation on electronic device 4. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device may also include input / output devices, network access devices, buses, etc.

[0091] Processor 401 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0092] The memory 402 can be an internal storage unit of the electronic device 4, such as a hard disk or RAM. The memory 402 can also be an external storage device of the electronic device 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 402 can include both internal and external storage units of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device. The memory 402 can also be used to temporarily store data that has been output or will be output.

[0093] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0094] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0095] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0096] In the embodiments provided in this disclosure, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0097] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0098] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0099] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in a computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0100] The above embodiments are only used to illustrate the technical solutions of this disclosure, and are not intended to limit it. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be included within the protection scope of this disclosure.

Claims

1. A data analysis method based on joint learning, characterized in that, include: Receive resource metadata from multiple resource providers, wherein the resource metadata includes at least unit resource indicators and contribution declaration values; Based on the unit resource index, a resource provider is selected from the plurality of resource providers so that the resource provider can participate in joint learning and jointly train the joint learning model. Determine the actual contribution of the resource provider to training the joint learning model; If, based on the declared contribution value and the actual contribution value, it is determined that the resource provider has distorted data, then based on the distorted data, it is determined that the resource provider's declared resource metadata is unqualified. Specifically, determining that the resource provider has distorted data based on the declared contribution value and the actual contribution value includes: Based on the difference between the number of declared data carried in the declared contribution value and the actual contribution value, or the difference between the quality of the declared data carried in the declared contribution value and the average quality of the declared data carried in the actual contribution value, the corresponding deviation coefficient is obtained. Based on the deviation coefficient, it is determined that the resource provider contains distorted data; After determining that the resource provider's declared resource metadata is unqualified based on the distorted data, the method further includes: The risk coefficient of the distorted data is obtained by correcting the deviation coefficient. Based on the risk coefficient and the total data value of the joint learning model, the risk item data of the resource provider is obtained; Based on the risk item data, the resource provider is risk-excluded; Specifically, the step of correcting the deviation coefficient to obtain the corresponding risk coefficient includes: Determine the pre-set deviation risk index; The deviation coefficient is corrected by multiplying the deviation risk index to obtain the risk coefficient. Specifically, the step of risk assessment of the resource provider based on the distorted data includes: According to the formula Regarding the resource provider i Risk elimination is performed on the resource input items, among which, For the resource provider i Actual resource input items, For the resource provider i The actual contribution value, The deviation coefficient is... This refers to the deviation risk index. The total data value of the joint learning model.

2. The method according to claim 1, characterized in that, The determination of the pre-set deviation risk index specifically includes: Determine the application scenarios corresponding to this joint learning; Based on the application scenario, determine the saturation level corresponding to this joint learning; Based on the saturation level, a pre-set deviation risk index is compensated, and the saturation level and the effect of the compensation are positively correlated.

3. The method according to claim 1, characterized in that, The step of selecting a resource provider from among the multiple resource providers based on the unit resource index specifically includes: Based on the unit resource index and the total data value of the joint learning model, select several potential resource providers from among the multiple resource providers; The contribution cost ratio is determined based on the ratio between the contribution declaration values ​​provided by the plurality of pending resource providers and the unit resource indicators, and by using the historical credit values ​​of the pending resource providers as coefficients. From the plurality of potential resource providers, a specified number of potential resource providers with the highest contribution cost ratio are selected as resource providers.

4. The method according to claim 1, characterized in that, Determining the actual contribution of the resource provider to training the joint learning model specifically includes: Based on the amount of resources provided by the resource provider, the actual contribution of the resource provider to training the joint learning model is determined in terms of marginal utility or Shapley value.

5. A data analysis device based on joint learning, characterized in that, include: The data receiving module receives resource metadata submitted by multiple resource providers. The resource metadata includes at least unit resource indicators and contribution submission values. The joint learning module selects a resource provider from among the multiple resource providers based on the unit resource index, so that the resource provider can participate in joint learning and jointly train the joint learning model. The contribution value determination module determines the actual contribution value of the resource provider to training the joint learning model. If the data determination module determines that the resource provider has distorted data based on the declared contribution value and the actual contribution value, then it determines that the resource provider's declared resource metadata is unqualified based on the distorted data. Specifically, determining that the resource provider has distorted data based on the declared contribution value and the actual contribution value includes: Based on the difference between the number of declared data carried in the declared contribution value and the actual contribution value, or the difference between the quality of the declared data carried in the declared contribution value and the average quality of the declared data carried in the actual contribution value, the corresponding deviation coefficient is obtained. Based on the deviation coefficient, it is determined that the resource provider contains distorted data; After determining that the resource provider's declared resource metadata is unqualified based on the distorted data, the method further includes: The risk coefficient of the distorted data is obtained by correcting the deviation coefficient. Based on the risk coefficient and the total data value of the joint learning model, the risk item data of the resource provider is obtained; Based on the risk item data, the resource provider is risk-excluded; Specifically, the step of correcting the deviation coefficient to obtain the corresponding risk coefficient includes: Determine the pre-set deviation risk index; The deviation coefficient is corrected by multiplying the deviation risk index to obtain the risk coefficient. Specifically, the step of risk assessment of the resource provider based on the distorted data includes: According to the formula Regarding the resource provider i Risk elimination is performed on the resource input items, among which, For the resource provider i Actual resource input items, For the resource provider i The actual contribution value, The deviation coefficient is... This refers to the deviation risk index. The total data value of the joint learning model.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 4.