Feature crossing method, device, readable storage medium and computer program product

By generating encrypted public keys and private keys for federal cross feature calculation and decryption, combined with sample label information evaluation, the problem of poor feature cross interpretability is solved, and direct observation and evaluation of feature cross effects are achieved.

CN112668020BActive Publication Date: 2024-09-03WEBANK (CHINA)
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202011554365.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-09-03
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

The interpretability of feature intersection in the existing technology is poor, and technicians cannot directly observe the effect of multiple intersection features corresponding to the prediction results of the machine learning model.

Method used

By generating the encrypted public key and private key, the federated cross feature is calculated, the encrypted cross feature is generated, and the target cross feature is obtained through decryption, and the feature evaluation is performed based on the sample label information to realize the evaluation of the feature cross effect.

Benefits of technology

The interpretability of feature crossover is improved, and technicians can directly observe the quality of the feature crossover effect, which overcomes the problem of poor interpretability in the existing technology caused by the feature crossover process being completed internally in the machine learning model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112668020B
    Figure CN112668020B
Patent Text Reader

Abstract

The present application discloses a feature cross method, device, readable storage medium and computer program product. The feature cross method is applied to a third-party device. The feature cross method includes: generating an encrypted public key and an encrypted private key, and sending the encrypted public key to each participating device, so that the first device in each participating device performs a federated cross feature calculation with each second device in each participating device based on the acquired first local feature and the encrypted public key to generate an encrypted cross feature, and then receives the encrypted cross feature sent by the first device, and decrypts the encrypted cross feature based on the encrypted private key to obtain a target cross feature, and then performs feature evaluation interaction with a labeling device having sample label information, performs feature cross effect evaluation on the target cross feature, and obtains a feature cross effect evaluation result. The present application solves the technical problem of poor interpretability of feature cross.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence in financial technology (Fintech), and in particular to a feature intersection method, device, readable storage medium and computer program product. Background Art

[0002] With the continuous development of financial technology, especially Internet technology finance, more and more technologies (such as distributed, blockchain, artificial intelligence, etc.) are applied in the financial field, but the financial industry also puts forward higher requirements on technology, such as higher requirements on the distribution of corresponding to-do items in the financial industry.

[0003] With the continuous development of computer software and artificial intelligence, the application field of machine learning is becoming more and more extensive. At present, when conducting vertical federated learning, feature crossover is usually required to find features with good training effects for federated learning. At present, feature crossover is usually performed through machine learning models. In this method, the feature crossover process is completed by the internal model network (such as the hidden layer) of the machine learning model, and the model output is the model prediction result obtained based on the crossover features. Therefore, technicians cannot observe the effects of multiple crossover features corresponding to the model prediction results, and the interpretability of feature crossover is poor. Summary of the invention

[0004] The main purpose of this application is to provide a feature crossing method, device, readable storage medium and computer program product, aiming to solve the technical problem of poor interpretability of feature crossing in the prior art.

[0005] To achieve the above object, the present application provides a feature crossover method, which is applied to a third-party device and includes:

[0006] Generate an encryption public key and an encryption private key, and send the encryption public key to each participant device, so that the first device among the participant devices performs a federated cross-feature calculation with each second device among the participant devices based on the acquired first local feature and the encryption public key to generate an encryption cross-feature;

[0007] receiving the encrypted cross-feature sent by the first device, and decrypting the encrypted cross-feature based on the encryption private key to obtain a target cross-feature;

[0008] By performing feature evaluation interaction with a labeling device having sample label information, feature cross-effect evaluation is performed on the target cross-features to obtain feature cross-effect evaluation results.

[0009] To achieve the above object, the present application provides a feature crossover method, which is applied to a first device and includes:

[0010] Receiving an encryption public key sent by a third-party device, and encrypting the acquired first local feature into a first encrypted local feature based on the encryption public key;

[0011] Receiving a second local encrypted feature sent by a second device, wherein the second device is used to encrypt the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0012] Performing homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature;

[0013] The encrypted cross-feature is sent to the third-party device, so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on an encrypted private key corresponding to the encrypted public key, and evaluate the feature cross-effect of the target cross-feature.

[0014] To achieve the above object, the present application provides a feature crossover method, which is applied to a second device and includes:

[0015] receiving an encryption public key sent by a third-party device, and encrypting the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0016] The second encrypted local feature is sent to the first device, so that the first device calculates an encrypted cross feature based on the first encrypted local feature generated by local encryption and the second encrypted local feature.

[0017] To achieve the above object, the present application provides a feature intersection method, which is applied to a tag-side device and includes:

[0018] Acquire encrypted sample label information, and send the encrypted sample label information to a third-party device, so that the third-party device can generate encrypted bin sample label information corresponding to each cross-feature sample bin of the acquired target cross-feature based on the encrypted sample label information;

[0019] Receive the encrypted sample label information of each sub-box, and decrypt the encrypted sample label information of each sub-box to obtain the sample label information of each sub-box;

[0020] Based on the label information of each bin sample, calculate the feature evaluation value of each cross-feature sample bin;

[0021] Feedback each of the feature evaluation values ​​to the third-party device.

[0022] The present application also provides a feature cross device, which is a virtual device and is applied to a third-party device. The feature cross device includes:

[0023] A key management module, used to generate an encryption public key and an encryption private key, and send the encryption public key to each participant device, so that the first device among the participant devices performs a federated cross-feature calculation with each second device among the participant devices based on the acquired first local feature and the encryption public key to generate an encryption cross-feature;

[0024] a decryption module, configured to receive the encrypted cross-feature sent by the first device, and decrypt the encrypted cross-feature based on the encryption private key to obtain a target cross-feature;

[0025] The evaluation module is used to evaluate the feature cross effect of the target cross feature by performing feature evaluation interaction with the labeling device having sample label information, and obtain the feature cross effect evaluation result.

[0026] The present application also provides a feature cross device, which is a virtual device and is applied to a first device. The feature cross device includes:

[0027] An encryption module, used for receiving an encryption public key sent by a third-party device, and encrypting the acquired first local feature into a first encrypted local feature based on the encryption public key;

[0028] A receiving module, configured to receive a second local encrypted feature sent by a second device, wherein the second device is configured to encrypt the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0029] a multiplication module, configured to perform homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature;

[0030] A sending module is used to send the encrypted cross-feature to the third-party device, so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and evaluate the feature cross-effect of the target cross-feature.

[0031] The present application also provides a feature cross device, which is a virtual device and is applied to a second device. The feature cross device includes:

[0032] An encryption module, used for receiving an encryption public key sent by a third-party device, and encrypting the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0033] The sending module is used to send the second encrypted local feature to the first device, so that the first device can calculate the encrypted cross feature based on the first encrypted local feature and the second encrypted local feature generated by local encryption.

[0034] The present application also provides a feature cross device, which is a virtual device and is applied to a tag-side device. The feature cross device includes:

[0035] A sending module, used to obtain encrypted sample label information, and send the encrypted sample label information to a third-party device, so that the third-party device can generate encrypted bin sample label information corresponding to each cross-feature sample bin of the obtained target cross-feature based on the encrypted sample label information;

[0036] A decryption module, used to receive the encrypted sub-box sample label information, and decrypt the encrypted sub-box sample label information to obtain the label information of each sub-box sample;

[0037] A calculation module, used for calculating the feature evaluation value of each cross-feature sample bin based on the label information of each bin sample;

[0038] A feedback module is used to feed back each of the feature evaluation values ​​to the third-party device.

[0039] The present application also provides a feature intersection device, which is a physical device, comprising: a memory, a processor, and a program of the feature intersection method stored in the memory and executable on the processor. When the program of the feature intersection method is executed by the processor, the steps of the feature intersection method as described above can be implemented.

[0040] The present application also provides a readable storage medium, on which is stored a program for implementing the feature intersection method. When the program of the feature intersection method is executed by a processor, the steps of the feature intersection method as described above are implemented.

[0041] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned feature intersection method when executed by a processor.

[0042] The present application provides a feature cross method, device, readable storage medium and computer program product. Compared with the technical means of performing feature cross through machine learning models adopted in the prior art, the present application first generates an encrypted public key and an encrypted private key, and then sends the encrypted public key to each participating device, so that the first device in each participating device can perform federal cross feature calculation with each second device in each participating device based on the acquired first local feature and the encrypted public key to generate encrypted cross features, and then receive the encrypted cross features sent by the first device, and decrypt the encrypted cross features based on the encrypted private key to obtain target cross features. Therefore, a third-party device can obtain the target cross features obtained by performing feature cross through two or more known features from each participating device, thereby achieving the purpose of explaining the source of the target cross features and improving the feature. The interpretability of feature cross-talk is improved, and then through feature evaluation interaction with the labeling device having sample label information, the feature cross-talk effect is evaluated on the target cross-feature to obtain the feature cross-talk effect evaluation result, and then through joint evaluation with the labeling device having sample labels, the evaluation of the quality of feature cross-talk effect can be realized, and then the technician can directly observe the quality of feature cross-talk effect, so the interpretability of feature cross-talk is further enhanced, and the problem that in the prior art, when feature cross-talk is usually performed through a machine learning model, since the feature cross-talk process is completed by the internal model network (such as the hidden layer) of the machine learning model, the model output is the model prediction result obtained based on the cross-feature, and then the technician cannot observe the effect of multiple cross-features corresponding to the model prediction result, and then the technical defect of poor interpretability of feature cross-talk is improved. Therefore, the interpretability of feature cross-talk is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0045] Figure 1 This is a flow chart of the first embodiment of the feature crossover method of the present application;

[0046] Figure 2 A schematic diagram of the interaction between the first device, the second device, the third-party device and the tag-side device in the feature crossover method of the present application;

[0047] Figure 3 This is a flow chart of the second embodiment of the feature crossover method of the present application;

[0048] Figure 4 This is a flow chart of the third embodiment of the feature crossover method of the present application;

[0049] Figure 5 This is a flow chart of a fourth embodiment of the feature crossover method of the present application;

[0050] Figure 6 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application;

[0051] Figure 7 This is a schematic diagram of the hardware architecture involved in the embodiment of the present application.

[0052] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] The present application embodiment provides a feature crossover method. In the first embodiment of the feature crossover method of the present application, refer to Figure 1 , the feature crossover method is applied to a third-party device, and the feature crossover method includes:

[0055] Step S10, generating an encryption public key and an encryption private key, and sending the encryption public key to each participating device, so that the first device among the participating devices can perform a federated cross-feature calculation with each second device among the participating devices based on the acquired first local feature and the encryption public key to generate an encryption cross-feature;

[0056] In this embodiment, it should be noted that the third-party device is a trusted third party, and the participating party devices include a first device and second devices, wherein each participating party, after receiving the encrypted public key, will encrypt its own local features into encrypted features, and aggregate the encrypted features at the first device to obtain encrypted cross-features, and send the encrypted cross-features to the third-party device through the first device, wherein the local features can be represented by vectors, for example, assuming that the local features are vectors (a, b, c), wherein a is the feature value corresponding to sample A, b is the feature value corresponding to sample B, and c is the feature value corresponding to sample C.

[0057] In addition, it should be noted that the encrypted cross feature is obtained by performing homomorphic encryption multiplication by the first device on a first encrypted local feature generated based on the first local feature and the encrypted public key, and a second encrypted local cross feature sent by the second device.

[0058] Generate an encrypted public key and an encrypted private key, and send the encrypted public key to each participating device, so that the first device in each participating device can perform a federal cross-feature calculation with each second device in each participating device based on the acquired first local feature and the encrypted public key to generate an encrypted cross-feature. Specifically, generate an encrypted public key and an encrypted private key of a preset encryption method, wherein the preset encryption method includes a multiplicative homomorphic encryption method and a fully homomorphic encryption method. Since feature crossover is multiplication between features, when the preset encryption method is a multiplicative homomorphic encryption method, the computational complexity of feature crossover is low, which can improve the computational efficiency of feature crossover, thereby The encrypted public key is sent to each participating device, and then the first device among the participating devices encrypts the acquired first local feature based on the encrypted public key to obtain the first encrypted local feature, and each second device encrypts the acquired second local feature based on the encrypted public key to obtain each second encrypted local feature, and then each second device sends its own second encrypted local feature to the first device respectively. After receiving each second encrypted local feature, the first device performs homomorphic encryption multiplication on the first encrypted local feature and each second encrypted local feature to obtain an encrypted cross feature, and then the first device sends the encrypted cross feature to a third-party device.

[0059] Step S20, receiving the encrypted cross-feature sent by the first device, and decrypting the encrypted cross-feature based on the encryption private key to obtain a target cross-feature;

[0060] In this embodiment, it should be noted that the encrypted public key and the encrypted private key are a pair of public-private keys, the target cross-feature is the decrypted encrypted cross-feature, and since the target cross-feature is held by a third-party device, each participating device cannot infer the local features of other parameter party devices through the target cross-feature, thereby achieving privacy protection in the feature crossing process. The specific process of generating encrypted cross-features can refer to steps A10 to A30 in the second embodiment, which will not be repeated here.

[0061] Step S30, performing feature evaluation interaction with a labeling device having sample label information, performing feature cross-effect evaluation on the target cross-feature, and obtaining a feature cross-effect evaluation result.

[0062] In this embodiment, it should be noted that the labeling party device is a device that holds the sample label information of the target cross-feature, and the feature evaluation interaction process is a process in which the third-party device interacts with the labeling party device, combines the sample label information of the labeling party device, and evaluates the feature cross-effect of the target cross-feature without leaking privacy data. The sample label information includes a first sample label value and a second sample label value of the target cross-feature in the labeling party device, wherein the first sample label value is a positive sample label that identifies the target cross-feature, and the second sample label value is a negative sample label that identifies the target cross-feature, wherein the sum of the first sample label value and the second sample label value is 1. For example, assuming that the first sample label value is y, the second sample label value is 1-y.

[0063] By performing feature evaluation interaction with a labeling device having sample label information, a feature cross effect evaluation is performed on the target cross feature to obtain a feature cross effect evaluation result. Specifically, the third-party device aligns sample IDs with the labeling device so that the labeling device obtains the target sample IDs corresponding to each target cross feature sample corresponding to the target cross feature, and then the labeling device generates a second encryption key for additive homomorphic encryption, and based on the second encryption key, encrypts the first sample label value and the corresponding second sample label value corresponding to the target sample corresponding to each target sample ID to obtain each first encrypted sample label value and each second encrypted sample label value, and then sends each first encrypted sample label value and each second encrypted sample label value to the third-party device, and then the third-party device generates a second encryption key for additive homomorphic encryption, and encrypts the first sample label value and the corresponding second sample label value corresponding to the target sample corresponding to each target sample ID based on the second encryption key to obtain each first encrypted sample label value and each second encrypted sample label value, and then sends each first encrypted sample label value and each second encrypted sample label value to the third-party device. The third-party device bins the target cross-feature samples corresponding to the target cross-feature to obtain each cross-feature sample bin, and counts the sum of the first encrypted sample label values ​​and the sum of the second encrypted sample label values ​​corresponding to each target cross-feature sample in each cross-feature sample bin, and then the third-party device sends the sum of the first encrypted sample label values ​​and the sum of the second encrypted sample label values ​​to the labeling party device, so that the labeling party device calculates the feature evaluation value based on the sum of the first encrypted sample label values ​​and the sum of the second encrypted sample label values, wherein the feature evaluation value includes the IV value and the WOE value, etc., and sends the feature evaluation value to the third-party device, and then the third-party device performs feature cross effect evaluation on the target cross feature based on the feature evaluation value to obtain a feature cross effect evaluation result.

[0064] The step of performing feature cross effect evaluation on the target cross feature by performing feature evaluation interaction with a labeling device having sample label information to obtain a feature cross effect evaluation result comprises:

[0065] Step S31, receiving the encrypted sample label information sent by the labeling device, wherein the encrypted sample label information is obtained by the labeling device encrypting the sample label information;

[0066] In this embodiment, it should be noted that the sample label information includes the first sample label value and the second sample label value of the target sample corresponding to each target sample ID in the labeling device, and the encrypted sample information includes the first encrypted sample label value corresponding to each first sample label value and the second encrypted sample label value corresponding to each second sample label value.

[0067] Step S32, binning each target cross feature sample corresponding to the target cross feature to obtain bins of each cross feature sample;

[0068] In this embodiment, each target cross-feature sample corresponding to the target cross-feature is binned to obtain each cross-feature sample bin. Specifically, each target cross-feature sample is binned according to a feature value of each target cross-feature sample in the target cross-feature to obtain each cross-feature sample bin.

[0069] Step S33, based on the encrypted sample label information, counting the encrypted bin sample label information corresponding to each of the cross-feature sample bins;

[0070] In this embodiment, based on the encrypted sample label information, the encrypted bin sample label information corresponding to each cross-feature sample bin is counted. Specifically, the following steps are performed for each cross-feature sample bin:

[0071] Calculate the sum of the first encrypted sample label values ​​corresponding to each target cross-feature sample in the cross-feature sample bin to obtain the first encrypted bin sample label information, and calculate the sum of the second encrypted sample label values ​​corresponding to each target cross-feature sample in the cross-feature sample bin to obtain the second encrypted bin sample label information, and then use the first encrypted bin sample label information and the corresponding second encrypted bin sample label information corresponding to each cross-feature sample bin together as the encrypted bin sample label information.

[0072] The encrypted sample label information includes at least one sample identifier and a first encrypted sample label value and a second encrypted sample label value corresponding to the sample identifier, and the encrypted sub-box sample label information includes first encrypted sub-box sample label information and second encrypted sub-box sample label information.

[0073] The step of counting the encrypted bin sample label information corresponding to each cross-feature sample bin based on the encrypted sample label information includes:

[0074] Step S331, based on each of the sample identifiers, determining each of the first encrypted sample label values ​​and each of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins;

[0075] In this embodiment, it should be noted that the sample identifier is a target sample ID determined by the third-party device and the label-side device through sample ID alignment.

[0076] Based on each of the sample identifiers, determine each of the first encrypted sample label values ​​and each of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins. Specifically, based on each of the target sample IDs, determine the first encrypted sample label value and the second encrypted sample label value corresponding to each target cross-feature sample in each of the cross-feature sample bins, wherein one target sample ID corresponds to one target cross-feature sample, one first encrypted sample label value and one second encrypted sample label value.

[0077] Step S332, calculating the sum of the first encrypted sample label values ​​corresponding to each of the cross-feature sample bins, and obtaining the first encrypted bin sample label information corresponding to each of the cross-feature sample bins;

[0078] In this embodiment, the sum of the first encrypted sample label values ​​corresponding to each of the cross-feature sample bins is calculated to obtain the first encrypted bin sample label information corresponding to each of the cross-feature sample bins. Specifically, homomorphic encryption addition is performed on the first encrypted sample label values ​​corresponding to each of the cross-feature sample bins to obtain the sum of the first encrypted sample label values ​​corresponding to each of the cross-feature sample bins, and the sum of the first encrypted sample label values ​​is used as the first encrypted bin sample label information corresponding to each of the cross-feature sample bins.

[0079] Step S333, calculating the sum of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins, and obtaining the second encrypted bin sample label information corresponding to each of the cross-feature sample bins.

[0080] In this embodiment, the sum of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins is calculated to obtain the second encrypted bin sample label information corresponding to each of the cross-feature sample bins. Specifically, homomorphic encryption addition is performed on the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins to obtain the sum of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins, and the sum of the second encrypted sample label values ​​is used as the second encrypted bin sample label information corresponding to each of the cross-feature sample bins.

[0081] Step S34, sending the encrypted bin sample label information to the labeling device, so that the labeling device can calculate the feature evaluation value corresponding to each cross-feature sample bin based on the encrypted bin sample label information;

[0082] In this embodiment, the label information of each encrypted bin sample is sent to the labeling device, so that the labeling device can calculate the feature evaluation value corresponding to each cross-feature sample bin based on the encrypted bin sample label information. Specifically, the sum of the first encrypted sample label value and the sum of the second encrypted sample label value corresponding to each cross-feature sample bin are sent to the labeling device, so that the labeling device can decrypt the sum of the first encrypted sample label value and the sum of the second encrypted sample label value to obtain the sum of the first sample label value and the sum of the second sample label value corresponding to each cross-feature sample bin. Then, the labeling device calculates the IV value corresponding to each cross-feature sample bin based on the preset IV value calculation formula, the sum of the first sample label values, and the sum of the second sample label values, and uses each IV value as the feature evaluation value, wherein the preset feature evaluation value calculation formula is as follows:

[0083]

[0084] Among them, IV i is the IV value corresponding to the i-th cross-feature sample bin, p is the sum of all first sample label values, y i is the sum of the first sample label values ​​corresponding to the i-th cross-feature sample bin, n i It is the sum of the second sample label values ​​corresponding to the i-th cross-feature sample bin, wherein the specific process of the labeling device calculating the feature evaluation value can refer to steps C10 to C40 in the fourth embodiment, which will not be repeated here.

[0085] Step S35, receiving each of the feature evaluation values ​​sent by the tag-side device, and based on each of the feature evaluation values, evaluating the feature cross-effect of the target cross-feature, to obtain the feature cross-effect evaluation result.

[0086] In this embodiment, each of the feature evaluation values ​​sent by the tag-side device is received, and based on each of the feature evaluation values, the feature cross effect of the target cross feature is evaluated to obtain the feature cross effect evaluation result. Specifically, each of the feature evaluation values ​​sent by the tag-side device is received, and each of the feature evaluation values ​​is compared with a preset feature evaluation value threshold. If the feature evaluation value is greater than the preset feature evaluation value threshold, it is proved that the feature cross effect of the target cross feature at the cross feature sample bin corresponding to the feature evaluation value is better, and the feature evaluation value is used as the target feature evaluation value. If the feature evaluation value is less than or equal to the preset feature evaluation value threshold, it is proved that the feature cross effect of the target cross feature at the cross feature sample bin corresponding to the feature evaluation value is poor, and then the evaluation value ratio of the target feature evaluation value in each of the feature evaluation values ​​is determined, and then based on the evaluation value ratio, the feature cross effect of the target cross feature is evaluated to obtain the feature cross effect evaluation result, wherein the higher the evaluation value ratio, the better the feature cross effect.

[0087] Wherein, after the step of performing feature evaluation interaction with a labeling device having sample label information, evaluating the feature cross effect of the target cross feature, and obtaining the feature cross effect evaluation result, the feature cross method further includes:

[0088] Step S40, based on the feature cross effect evaluation result, feature screening is performed on each generated target cross feature to obtain federated training feature data;

[0089] In this embodiment, it should be noted that there is at least one target intersection feature in the third-party device.

[0090] Based on the feature cross-effect evaluation result, feature screening is performed on each generated target cross-feature to obtain federal training feature data. Specifically, based on the feature cross-effect evaluation result, each target feature whose corresponding evaluation value ratio is greater than a preset evaluation value ratio threshold is screened from each target cross-feature generated by a third-party device as federal training feature data, wherein the federal training feature data includes at least one target feature.

[0091] Step S50: Based on the federated training feature data, perform federated learning modeling with each of the participating devices to generate a target federated model.

[0092] In this embodiment, it should be noted that when performing federated learning modeling, the third-party device is a participant in the federated learning modeling, which is used to provide the federated training feature data, and each participating device is used to provide its own local features, thereby expanding the feature dimensions used for federated learning modeling, thereby improving the effect of federated learning modeling.

[0093] like Figure 2 The figure shows a schematic diagram of the interaction between the first device, the second device, the third-party device and the labeling device, where A is the first device, B is the second device, C is the third-party device, D is the labeling device, label data is the sample label data of the labeling device, and IV value is the feature evaluation value. is the first local feature, is the second local feature, is the first encrypted local feature, is the second encrypted local feature, To encrypt cross features, is the target cross feature.

[0094] The embodiment of the present application provides a feature cross method. Compared with the technical means of performing feature cross through a machine learning model adopted in the prior art, the embodiment of the present application first generates an encrypted public key and an encrypted private key, and then sends the encrypted public key to each participating device, so that the first device in each participating device can perform a federal cross feature calculation with each second device in each participating device based on the acquired first local feature and the encrypted public key to generate an encrypted cross feature, and then receive the encrypted cross feature sent by the first device, and decrypt the encrypted cross feature based on the encrypted private key to obtain a target cross feature. Therefore, a third-party device can obtain a target cross feature obtained by performing feature cross on two or more known features from each participating device, thereby achieving the purpose of explaining the source of the target cross feature and improving the solubility of feature cross. The interpretability of feature cross-feature is improved by performing feature evaluation interaction with a labeling device having sample label information, performing feature cross-feature effect evaluation on the target cross-feature, obtaining a feature cross-feature effect evaluation result, and then performing a joint evaluation with a labeling device having sample labels to realize an evaluation of the quality of feature cross-feature effect, so that the technician can directly observe the quality of the feature cross-feature effect, thereby further enhancing the interpretability of feature cross-feature, overcoming the problem that in the prior art, when feature cross-feature is usually performed through a machine learning model, since the feature cross-feature process is completed by the internal model network (such as the hidden layer) of the machine learning model, the model output is the model prediction result obtained based on the cross-feature, and thus the technician cannot observe the effects of multiple cross-features corresponding to the model prediction result, thereby the technical defect of poor interpretability of feature cross-feature, thereby improving the interpretability of feature cross-feature.

[0095] Further, refer to Figure 3 Based on the first embodiment of the present application, in another embodiment of the present application, the feature crossover method is applied to a first device, and the feature crossover method includes:

[0096] Step A10, receiving an encryption public key sent by a third-party device, and encrypting the acquired first local feature into a first encrypted local feature based on the encryption public key;

[0097] In this embodiment, it should be noted that the encrypted public key is a multiplicative homomorphic encryption public key.

[0098] Step A20, receiving a second local encrypted feature sent by a second device, wherein the second device is used to encrypt the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0099] In this embodiment, it should be noted that the third-party device encrypts the public key to the first device and each second device.

[0100] Step A30, performing homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature;

[0101] In this embodiment, homomorphic encryption multiplication is performed on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature. Specifically, the product of the first encrypted local feature and the second encrypted local feature is calculated to obtain the encrypted cross feature, wherein the calculation process of the encrypted cross feature is as follows:

[0102] [[X 1 ]]*[[X 2 ]]=[[X 1 X 2 ]]

[0103] Among them, [[X 1 ]] is the first encrypted local feature, [[X 2 ]] is the second encrypted local feature, [[X 1 X 2 ]] is the encrypted cross feature.

[0104] Step A40, sending the encrypted cross-feature to the third-party device, so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and evaluate the feature cross-effect of the target cross-feature.

[0105] In this embodiment, it should be noted that the target cross-feature is held by the third-party device. Since either the first device or the second device obtains the target cross-feature, it can infer the local feature of the other party, that is, the privacy data. Therefore, the first device and the second device cannot hold the target cross-feature.

[0106] The encrypted cross-feature is sent to the third-party device, so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and evaluate the feature cross effect of the target cross-feature. Specifically, the encrypted cross-feature is sent to the third-party device, and then the third-party device decrypts the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and then the third-party device bins each target cross-feature sample corresponding to the target cross-feature to obtain each cross-feature sample bin, and calculates the IV value corresponding to each cross-feature sample bin through the sample label information of the joint labeling party device, and then evaluates the feature cross effect of the target cross-feature based on each IV value, wherein the specific process of the third-party device evaluating the feature cross effect of the target cross feature can refer to steps S31 to S34 in the first embodiment, which will not be repeated here.

[0107] The embodiment of the present application provides a feature crossing method. Compared with the technical means of performing feature crossing through a machine learning model adopted in the prior art, the embodiment of the present application, after receiving an encrypted public key sent by a third-party device, first encrypts the acquired first local feature into a first encrypted local feature based on the encrypted public key, and then receives a second local encrypted feature sent by a second device, wherein the second device is used to encrypt the acquired second local feature into a second encrypted local feature based on the encrypted public key, and then perform homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature, and then send the encrypted cross feature to the third-party device for the third-party device to perform homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature based on the encrypted public key. The encrypted private key is used to decrypt the encrypted cross-feature into the target cross-feature, and the feature cross-effect of the target cross-feature is evaluated, thereby realizing the evaluation of the feature cross-effect. The technical personnel can directly observe the quality of the feature cross-effect, so the interpretability of the feature cross-feature is further enhanced, and the problem that in the prior art, when feature cross-feature is usually performed through a machine learning model, since the feature cross-feature process is completed by the internal model network (such as the hidden layer) of the machine learning model, the model output is the model prediction result obtained based on the cross-feature, and the technical personnel cannot observe the effects of multiple cross-features corresponding to the model prediction result, and the technical defect of poor interpretability of feature cross-feature is improved. Therefore, the interpretability of feature cross-feature is improved.

[0108] Further, refer to Figure 4 Based on the first embodiment and the second embodiment of the present application, in another embodiment of the present application, the feature crossover method is applied to a second device, and the feature crossover method includes:

[0109] Step B10, receiving the encryption public key sent by the third-party device, and encrypting the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0110] In this embodiment, it should be noted that the encrypted public key is a multiplicative homomorphic encryption public key.

[0111] Step B20: Send the second encrypted local feature to the first device, so that the first device can calculate the encrypted cross feature based on the first encrypted local feature generated by local encryption and the second encrypted local feature.

[0112] In this embodiment, the second encrypted local feature is sent to the first device so that the first device can calculate the encrypted cross feature based on the first encrypted local feature generated by local encryption and the second encrypted local feature. Specifically, the second encrypted local feature is sent to the first device so that the first device can calculate the product of the first encrypted local feature generated by local encryption and the second encrypted local feature to obtain the encrypted cross feature. The first device then sends the encrypted cross feature to a third-party device, and the third-party device decrypts the encrypted cross feature based on the encrypted private key of the encrypted public key to obtain the target cross feature and evaluate the feature cross effect of the target cross feature. The specific process of generating the encrypted cross feature can refer to steps A10 to A30 in the second embodiment, which will not be repeated here. The specific process of the third-party device evaluating the feature cross effect of the target cross feature can refer to steps S31 to S34 in the first embodiment, which will not be repeated here.

[0113] The embodiment of the present application provides a method for calculating encrypted cross-features, that is, receiving an encrypted public key sent by a third-party device, and based on the encrypted public key, encrypting the acquired second local feature into a second encrypted local feature, and then sending the second encrypted local feature to the first device, so that the first device can calculate the encrypted cross-feature based on the first encrypted local feature and the second encrypted local feature generated by local encryption, and then after the first device sends the encrypted cross-feature to the third-party device, the third-party device can obtain the target cross-feature obtained by cross-feature of two or more known features from each participant device, thereby achieving the purpose of explaining the source of the target cross-feature, improving the interpretability of feature cross-feature, and then through the labeling device with sample label information Perform feature evaluation interaction, evaluate the feature cross effect of the target cross feature, obtain the feature cross effect evaluation result, and then conduct a joint evaluation with the labeling device with sample labels to realize the evaluation of the quality of the feature cross effect, so that the technician can directly observe the quality of the feature cross effect, thereby further enhancing the interpretability of the feature cross. Therefore, the embodiment of the present application lays a foundation for overcoming the technical defect that in the prior art, when feature cross is usually performed through a machine learning model, since the feature cross process is completed by the internal model network (such as the hidden layer) of the machine learning model, the model output is the model prediction result obtained based on the cross feature, and the technician is unable to observe the effects of multiple cross features corresponding to the model prediction result, thereby laying a foundation for the poor interpretability of feature cross.

[0114] Further, refer to Figure 5 Based on the first embodiment, the second embodiment and the third embodiment of the present application, in another embodiment of the present application, the feature intersection method is applied to a tag-side device, and the feature intersection method includes:

[0115] Step C10, obtaining encrypted sample label information, and sending the encrypted sample label information to a third-party device, so that the third-party device generates encrypted binning sample label information corresponding to each cross-feature sample bin of the obtained target cross-feature based on the encrypted sample label information;

[0116] In this embodiment, it should be noted that before obtaining the encrypted sample label information, the third-party device and the labeling device need to align the sample IDs so that the labeling device obtains the target sample IDs corresponding to each target cross-feature sample corresponding to the target cross-feature.

[0117] Acquire encrypted sample label information, and send the encrypted sample label information to a third-party device, so that the third-party device can generate encrypted bin sample label information corresponding to each cross-feature sample bin of the acquired target cross-feature based on the encrypted sample label information. Specifically, perform sample ID alignment with the third-party device to obtain the target sample ID of each target cross-feature sample of the target cross-feature, and then obtain the first sample label value and the corresponding second sample label value corresponding to each target sample ID, and then encrypt each first sample label value and each second sample label value to obtain each first encrypted sample label value and each second encrypted sample label value, and align each first encrypted sample label value and each second encrypted sample label value. The two encrypted sample label values ​​are sent together as encrypted sample label information to a third-party device, and then the third-party device statistically obtains the sum of the first encrypted sample label values ​​corresponding to each target cross-feature sample in each cross-feature sample bin of the target cross-feature based on the first encrypted sample label values ​​and the second encrypted sample label values, obtains the sum of the first encrypted sample label values ​​corresponding to each cross-feature sample bin, and the sum of the corresponding second encrypted sample label values, and uses the sum of the first encrypted sample label values ​​corresponding to each cross-feature sample bin, and the sum of the corresponding second encrypted sample label values ​​as the encrypted bin sample label information corresponding to each cross-feature sample bin.

[0118] Step C20, receiving the encrypted label information of each sub-box sample, and decrypting the encrypted label information of each sub-box sample to obtain the label information of each sub-box sample;

[0119] In this embodiment, each of the encrypted binned sample label information is received, and each of the encrypted binned sample label information is decrypted to obtain each binned sample label information. Specifically, the sum of the first encrypted sample label values ​​and the corresponding sum of the second encrypted sample label values ​​corresponding to each cross-feature sample bin are received, and the sum of the first encrypted sample label values ​​and the corresponding sum of the second encrypted sample label values ​​corresponding to each cross-feature sample bin are decrypted to obtain the sum of the first sample label values ​​and the corresponding sum of the second sample label values ​​corresponding to each cross-feature sample bin, and the sum of the first sample label values ​​and the corresponding sum of the second sample label values ​​corresponding to each cross-feature sample bin are used as the binned sample label information corresponding to each cross-feature sample bin.

[0120] Step C30, calculating the feature evaluation value of each cross-feature sample bin based on the label information of each bin sample;

[0121] In this embodiment, based on the label information of each bin sample, the feature evaluation value of each cross-feature sample bin is calculated. Specifically, based on the preset IV value calculation formula, the sum of the first sample label values, and the sum of the second sample label values, the IV value corresponding to each cross-feature sample bin is calculated, and each IV value is used as each feature evaluation value, wherein the preset feature evaluation value calculation formula is as follows:

[0122]

[0123] Among them, IV i is the IV value corresponding to the i-th cross-feature sample bin, p is the sum of all first sample label values, y i is the sum of the first sample label values ​​corresponding to the i-th cross-feature sample bin, n i It is the sum of the second sample label values ​​corresponding to the i-th cross-feature sample bin.

[0124] Step C40: Feedback each of the feature evaluation values ​​to the third-party device.

[0125] In this embodiment, each of the feature evaluation values ​​is fed back to the third-party device, so that the third-party device can evaluate the feature cross-effect of the target cross-feature based on each of the feature evaluation values. The specific process of the third-party device evaluating the feature cross-effect of the target cross-feature based on each of the feature evaluation values ​​can be referred to step S35 in the first embodiment, which will not be repeated here.

[0126] This community embodiment provides a method for calculating a feature evaluation value, that is, obtaining encrypted sample label information, and sending the encrypted sample label information to a third-party device, so that the third-party device can generate encrypted bin sample label information corresponding to each cross-feature sample bin of the obtained target cross-feature based on the encrypted sample label information, and then receive each encrypted bin sample label information, decrypt each encrypted bin sample label information, obtain each bin sample label information, and then calculate the feature evaluation value of each cross-feature sample bin based on each bin sample label information, and then after sending each feature evaluation value to the third-party device, the third-party device can evaluate the quality of the feature cross-feature effect of the target cross-feature based on each feature evaluation value, and then the technician can directly observe the quality of the feature cross-feature effect, so the interpretability of the feature cross-feature is further enhanced, in order to overcome the technical defect that when feature cross-feature is usually performed through a machine learning model in the prior art, since the feature cross-feature process is completed by the internal model network (such as the hidden layer) of the machine learning model, the model output is the model prediction result obtained based on the cross-feature, and then the technician cannot observe the effects of multiple cross-features corresponding to the model prediction result, and then the interpretability of the feature cross-feature is poor.

[0127] Reference Figure 6 , Figure 6 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0128] like Figure 6 As shown, the feature cross device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0129] Optionally, the feature cross device may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0130] Those skilled in the art will understand that Figure 6The characteristic cross-device structure shown in the figure does not constitute a limitation on the characteristic cross-device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0131] like Figure 6 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module and a feature cross program. The operating system is a program that manages and controls the hardware and software resources of the feature cross device, and supports the operation of the feature cross program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the feature cross system.

[0132] exist Figure 6 In the feature crossover device shown, the processor 1001 is used to execute the feature crossover program stored in the memory 1005 to implement the steps of any of the feature crossover methods described above.

[0133] The specific implementation of the feature crossover device of the present application is basically the same as the above-mentioned embodiments of the feature crossover method, and will not be repeated here.

[0134] The embodiment of the present application further provides a feature cross-connection device, and the feature cross-connection device is applied to a third-party device, and the feature cross-connection device includes:

[0135] A key management module, used to generate an encryption public key and an encryption private key, and send the encryption public key to each participant device, so that the first device among the participant devices performs a federated cross-feature calculation with each second device among the participant devices based on the acquired first local feature and the encryption public key to generate an encryption cross-feature;

[0136] a decryption module, configured to receive the encrypted cross-feature sent by the first device, and decrypt the encrypted cross-feature based on the encryption private key to obtain a target cross-feature;

[0137] The evaluation module is used to evaluate the feature cross effect of the target cross feature by performing feature evaluation interaction with the labeling device having sample label information, and obtain the feature cross effect evaluation result.

[0138] Optionally, the evaluation module is further used for:

[0139] Receiving the encrypted sample label information sent by the labeling device, wherein the encrypted sample label information is obtained by the labeling device encrypting the sample label information;

[0140] Binning each target cross-feature sample corresponding to the target cross-feature to obtain each cross-feature sample bin;

[0141] Based on the encrypted sample label information, statistics are collected on the encrypted bin sample label information corresponding to each of the cross-feature sample bins;

[0142] Sending the encrypted bin sample label information to the labeling device, so that the labeling device can calculate the feature evaluation value corresponding to each cross-feature sample bin based on the encrypted bin sample label information;

[0143] Receive each of the feature evaluation values ​​sent by the tag-side device, and based on each of the feature evaluation values, evaluate the feature cross-effect of the target cross-feature to obtain the feature cross-effect evaluation result.

[0144] Optionally, the evaluation module is further used for:

[0145] Based on the sample identifiers, determining the first encrypted sample label values ​​and the second encrypted sample label values ​​corresponding to the cross-feature sample bins;

[0146] Calculate the sum of the first encrypted sample label values ​​corresponding to each of the cross-feature sample bins, and obtain the first encrypted bin sample label information corresponding to each of the cross-feature sample bins;

[0147] The sum of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins is calculated to obtain the second encrypted bin sample label information corresponding to each of the cross-feature sample bins.

[0148] Optionally, the feature intersection device is further used for:

[0149] Based on the feature cross effect evaluation result, feature screening is performed on each generated target cross feature to obtain federated training feature data;

[0150] Based on the federated training feature data, federated learning modeling is performed with each of the participating devices to generate a target federated model.

[0151] The specific implementation of the feature intersection device of the present application is basically the same as the above-mentioned embodiments of the feature intersection method, and will not be repeated here.

[0152] The embodiment of the present application further provides a feature cross device, and the feature cross device is applied to a first device, and the feature cross device includes:

[0153] An encryption module, used for receiving an encryption public key sent by a third-party device, and encrypting the acquired first local feature into a first encrypted local feature based on the encryption public key;

[0154] A receiving module, configured to receive a second local encrypted feature sent by a second device, wherein the second device is configured to encrypt the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0155] a multiplication module, configured to perform homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature;

[0156] A sending module is used to send the encrypted cross-feature to the third-party device, so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and evaluate the feature cross-effect of the target cross-feature.

[0157] The specific implementation of the feature intersection device of the present application is basically the same as the above-mentioned embodiments of the feature intersection method, and will not be repeated here.

[0158] The embodiment of the present application further provides a feature cross device, and the feature cross device is applied to a second device, and the feature cross device includes:

[0159] An encryption module, used for receiving an encryption public key sent by a third-party device, and encrypting the acquired second local feature into a second encrypted local feature based on the encryption public key;

[0160] The sending module is used to send the second encrypted local feature to the first device, so that the first device can calculate the encrypted cross feature based on the first encrypted local feature and the second encrypted local feature generated by local encryption.

[0161] The specific implementation of the feature intersection device of the present application is basically the same as the above-mentioned embodiments of the feature intersection method, and will not be repeated here.

[0162] The embodiment of the present application further provides a feature intersection device, and the feature intersection device is applied to a tag-side device, and the feature intersection device includes:

[0163] A sending module, used to obtain encrypted sample label information, and send the encrypted sample label information to a third-party device, so that the third-party device can generate encrypted bin sample label information corresponding to each cross-feature sample bin of the obtained target cross-feature based on the encrypted sample label information;

[0164] A decryption module, used to receive the encrypted sample label information of each sub-box, and decrypt the encrypted sample label information of each sub-box to obtain the sample label information of each sub-box;

[0165] A calculation module, used for calculating the feature evaluation value of each cross-feature sample bin based on the label information of each bin sample;

[0166] A feedback module is used to feed back each of the feature evaluation values ​​to the third-party device.

[0167] The specific implementation of the feature intersection device of the present application is basically the same as the above-mentioned embodiments of the feature intersection method, and will not be repeated here.

[0168] An embodiment of the present application provides a readable storage medium, and the readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of any of the feature intersection methods described above.

[0169] The specific implementation of the readable storage medium of the present application is basically the same as the above-mentioned embodiments of the feature intersection method, and will not be repeated here.

[0170] An embodiment of the present application provides a computer program product, including one or more computer programs, and the one or more computer programs can also be executed by one or more processors to implement the steps of any of the feature intersection methods described above.

[0171] The specific implementation methods of the computer program product of the present application are basically the same as the above-mentioned embodiments of the feature intersection method, and will not be repeated here.

[0172] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A feature crossover method, It is characterized in that The feature crossover method is applied to a third-party device, and the feature crossover method includes: Generate an encryption public key and an encryption private key, and send the encryption public key to each participant device, so that the first device among the participant devices performs a federated cross-feature calculation with each second device among the participant devices based on the acquired first local feature and the encryption public key to generate an encryption cross-feature; receiving the encrypted cross-feature sent by the first device, and decrypting the encrypted cross-feature based on the encryption private key to obtain a target cross-feature; By performing feature evaluation interaction with a labeling device having sample label information, a feature cross effect evaluation is performed on the target cross feature to obtain a feature cross effect evaluation result; The step of performing feature cross effect evaluation on the target cross feature by performing feature evaluation interaction with a labeling device having sample label information to obtain a feature cross effect evaluation result comprises: Receiving the encrypted sample label information sent by the labeling device, wherein the encrypted sample label information is obtained by the labeling device encrypting the sample label information; Binning each target cross-feature sample corresponding to the target cross-feature to obtain each cross-feature sample bin; Based on the encrypted sample label information, statistics are collected on the encrypted bin sample label information corresponding to each of the cross-feature sample bins; Sending the encrypted bin sample label information to the labeling device, so that the labeling device can calculate the feature evaluation value corresponding to each cross-feature sample bin based on the encrypted bin sample label information; Receive each of the feature evaluation values ​​sent by the tag-side device, and based on each of the feature evaluation values, evaluate the feature cross-effect of the target cross-feature to obtain the feature cross-effect evaluation result.

2. The feature crossover method according to claim 1, It is characterized in that The encrypted sample label information includes at least a sample identifier and a first encrypted sample label value and a second encrypted sample label value corresponding to the sample identifier. The encrypted sub-box sample label information includes first encrypted sub-box sample label information and second encrypted sub-box sample label information. The step of counting the encrypted bin sample label information corresponding to each cross-feature sample bin based on the encrypted sample label information includes: Based on the sample identifiers, determining the first encrypted sample label values ​​and the second encrypted sample label values ​​corresponding to the cross-feature sample bins; Calculate the sum of the first encrypted sample label values ​​corresponding to each of the cross-feature sample bins, and obtain the first encrypted bin sample label information corresponding to each of the cross-feature sample bins; The sum of the second encrypted sample label values ​​corresponding to each of the cross-feature sample bins is calculated to obtain the second encrypted bin sample label information corresponding to each of the cross-feature sample bins.

3. The feature crossover method according to claim 1, It is characterized in that After the step of performing feature evaluation interaction with a labeling device having sample label information, evaluating the feature cross effect of the target cross feature, and obtaining a feature cross effect evaluation result, the feature cross method further includes: Based on the feature cross effect evaluation result, feature screening is performed on each generated target cross feature to obtain federated training feature data; Based on the federated training feature data, federated learning modeling is performed with each of the participating devices to generate a target federated model.

4. The feature crossover method according to claim 1, It is characterized in that The encrypted cross feature is obtained by performing homomorphic encryption multiplication by the first device on a first encrypted local feature generated based on the first local feature and the encrypted public key, and a second encrypted local cross feature sent by the second device.

5. A feature crossover method, It is characterized in that The feature crossover method is applied to a first device, and the feature crossover method includes: Receiving an encryption public key sent by a third-party device, and encrypting the acquired first local feature into a first encrypted local feature based on the encryption public key; Receiving a second local encrypted feature sent by a second device, wherein the second device is used to encrypt the acquired second local feature into a second encrypted local feature based on the encryption public key; Performing homomorphic encryption multiplication on the first encrypted local feature and the second encrypted local feature to obtain an encrypted cross feature; Sending the encrypted cross-feature to the third-party device, so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and evaluate the feature cross-effect of the target cross-feature; The step of sending the encrypted cross-feature to the third-party device so that the third-party device can decrypt the encrypted cross-feature into a target cross-feature based on the encrypted private key corresponding to the encrypted public key, and evaluate the feature cross-effect of the target cross-feature includes: The encrypted cross-feature is sent to the third-party device, and the third-party device decrypts the encrypted cross-feature into a target cross-feature based on an encrypted private key corresponding to the encrypted public key; The third-party device bins each target cross-feature sample corresponding to the target cross-feature to obtain bins of each cross-feature sample; The third-party device calculates the IV value corresponding to each cross-feature sample bin by using the sample label information of the joint labeling party device; Based on each of the IV values, evaluating the feature cross-effect of the target cross-feature; Wherein, the step of evaluating the feature cross effect of the target cross feature comprises: Receiving the encrypted sample label information sent by the labeling device, wherein the encrypted sample label information is obtained by the labeling device encrypting the sample label information; Binning each target cross-feature sample corresponding to the target cross-feature to obtain each cross-feature sample bin; Based on the encrypted sample label information, statistics are collected on the encrypted bin sample label information corresponding to each of the cross-feature sample bins; The encrypted binned sample label information is sent to the labeling device, so that the labeling device can calculate the feature evaluation value corresponding to each cross-feature sample bin based on the encrypted binned sample label information.

6. A feature crossover method, It is characterized in that The feature crossover method is applied to a second device, and the feature crossover method includes: receiving an encryption public key sent by a third-party device, and encrypting the acquired second local feature into a second encrypted local feature based on the encryption public key; Sending the second encrypted local feature to the first device, so that the first device can calculate the encrypted cross feature based on the first encrypted local feature generated by local encryption and the second encrypted local feature; The step of sending the second encrypted local feature to the first device so that the first device generates the first encrypted local feature and the second encrypted local feature based on local encryption, and calculating the encrypted cross feature includes: Sending the second encrypted local feature to the first device so that the first device calculates the product of the first encrypted local feature generated by local encryption and the second encrypted local feature; Obtaining an encrypted cross feature, the first device sending the encrypted cross feature to the third-party device, and then the third-party device decrypts the encrypted cross feature based on the encrypted private key of the encrypted public key to obtain a target cross feature, and evaluates a feature cross effect of the target cross feature; Wherein, the step of evaluating the feature cross effect of the target cross feature comprises: Receiving encrypted sample label information sent by a labeling device, wherein the encrypted sample label information is obtained by encrypting the sample label information by the labeling device; Binning each target cross-feature sample corresponding to the target cross-feature to obtain each cross-feature sample bin; Based on the encrypted sample label information, statistics are collected on the encrypted bin sample label information corresponding to each of the cross-feature sample bins; The encrypted binned sample label information is sent to the labeling device, so that the labeling device can calculate the feature evaluation value corresponding to each cross-feature sample bin based on the encrypted binned sample label information.

7. A feature crossover method, It is characterized in that The feature intersection method is applied to a tag-side device, and the feature intersection method includes: Acquire encrypted sample label information, and send the encrypted sample label information to a third-party device, so that the third-party device can generate encrypted bin sample label information corresponding to each cross-feature sample bin of the acquired target cross-feature based on the encrypted sample label information; Receive the encrypted sample label information of each sub-box, and decrypt the encrypted sample label information of each sub-box to obtain the sample label information of each sub-box; Based on the label information of each bin sample, calculate the feature evaluation value of each cross-feature sample bin; The step of calculating the feature evaluation value of each cross-feature sample bin based on the label information of each bin sample includes: Based on the preset IV value calculation formula, the sum of the first sample label values, and the sum of the second sample label values, the IV values ​​corresponding to the cross-feature sample bins are calculated, and the IV values ​​are used as the feature evaluation values, wherein the preset feature evaluation value calculation formula is: Among them, IV i is the IV value corresponding to the i-th cross-feature sample bin, p is the sum of all first sample label values, y i is the sum of the first sample label values ​​corresponding to the i-th cross-feature sample bin, n i is the sum of the second sample label values ​​corresponding to the i-th cross-feature sample bin; Feedback each of the feature evaluation values ​​to the third-party device.

8. A feature crossover device, It is characterized in that The feature crossover device comprises: a memory, a processor, and a program stored in the memory for implementing the feature crossover method. The memory is used to store a program for implementing a feature intersection method; The processor is used to execute a program for implementing the feature intersection method to implement the steps of the feature intersection method as described in any one of claims 1 to 4 or 5 or 6 or 7.

9. A readable storage medium, It is characterized in that The readable storage medium stores a program for implementing the feature intersection method, and the program for implementing the feature intersection method is executed by a processor to implement the steps of the feature intersection method as described in any one of claims 1 to 4 or 5 or 6 or 7.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the feature intersection method as described in any one of claims 1 to 4 or 5 or 6 or 7 are implemented.

Citation Information

Patent Citations

  • Cross authentication method and device

    CN107682380A

  • Encrypted transmission method, device and system of face feature library and storage medium

    CN111147248A

  • Feature box separation method and device and readable storage medium

    CN111523679A

  • Multi-model training method and system based on feature extraction, electronic equipment and medium

    CN111967615A

  • System and method for establishing a privacy communication path

    US20030158960A1