Big data model and construction method of smart financing for small and micro enterprises based on privacy computing

Using federated learning technology and vertical XGBoost algorithm to perform encrypted calculations between government data and bank data, we build a big data model for smart financing of small and micro enterprises, solve the problem of data islands and privacy protection, improve the accuracy and efficiency of financing decisions, and achieve Accurate assessment of the financing needs of small and micro enterprises.

CN118350932BInactive Publication Date: 2024-10-15SHANDONG PROVINCIAL MARKET SUPERVISION & MONITORING CENT

Patent Information

Application Number
CN202410776605.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, government data and bank data cannot be directly shared and analyzed, resulting in the credit needs of small and micro enterprises not being met, and data privacy protection is insufficient, affecting the accuracy and efficiency of financing decisions.

Method used

Federated learning technology and vertical XGBoost algorithm are used to transfer calculations between the government and banks through encryption, build a big data model for smart financing of small and micro enterprises, identify characteristics that affect financing needs and loan risks, and achieve data privacy protection and multi-party collaborative analysis.

Benefits of technology

It effectively solves the problem of data islands, enhances data utilization efficiency and model comprehensiveness, ensures data privacy and security, improves the accuracy and dynamic adaptability of financing decisions, and enhances the intelligence level of small and micro enterprise financing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118350932B_ABST
    Figure CN118350932B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of smart financing technology, and discloses a big data model and construction method for smart financing of small and micro enterprises based on privacy computing, which integrates relevant data from government departments and banks to identify the characteristics that affect the financing needs of enterprises and the characteristics that affect the loan risks of enterprises; the federated learning technology in the privacy computing technology system is used, and the vertical federated modeling is carried out based on the federated learning platform; the model is a classification model, and the supervised vertical XGBoost algorithm is used; it includes a data preprocessing layer, a sample alignment layer, a federated learning layer, and a data application layer. The present invention solves the problem of mutual distrust between the parties and enables multiple parties to jointly help the development of small and micro enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of smart financing technology, and in particular relates to a big data model and construction method for smart financing of small and micro enterprises based on government-bank data and privacy computing. Background Art

[0002] Small and micro enterprises are an important force in the national economy and social development, and play a vital role in supporting innovation, entrepreneurship, and ensuring employment and other livelihood issues. The Sino-US trade war and the Fed's interest rate hike have led to severe domestic economic conditions and financing difficulties for small and medium-sized enterprises, which have had a huge impact on small and micro enterprises, tight cash flow, and a prominent demand for relief and emergency loans.

[0003] In the credit market, banks focus on large enterprises with large scale and good qualifications. The credit environment and market risk resistance of small and micro enterprises are far lower than those of large enterprises. The risk of banks lending to small and micro enterprises is far greater than that of large enterprises. This leads to a large number of small and micro enterprises' credit needs not being met. Their financing needs cannot be met, forming a "long tail phenomenon" in the credit field.

[0004] Small and micro enterprises are in urgent need of loans, and banks need more information about their production and operation activities. By analyzing loan risks, they can reduce risks and increase loan amounts. Government data can reflect the production and operation activities of enterprises to a certain extent, such as whether annual reports are filled out normally, whether there have been any changes recently, operating income, total tax payments, etc. However, many enterprises choose not to disclose sensitive data such as operating income and total tax payments online, so these data cannot be directly provided to third parties for plain text analysis. The deposit balance and average monthly transaction amount of enterprises on the bank side are also private information of enterprises and cannot be directly provided to third parties for analysis and utilization. Government data and bank data cannot be analyzed and utilized through direct data sharing at present, so we consider using privacy computing. For a certain enterprise, without knowing the specific values ​​of the data provided by the government and the bank, such as its specific operating income, total tax payments, deposit balance, average monthly transaction amount, etc., we can obtain a list of high-quality small and micro enterprise loans through encryption.

[0005] Through the above analysis, the problems and defects of the existing technology are: due to concerns about security, confidentiality and other factors, data providers are often unwilling or afraid to share data, resulting in incomplete data features and unable to be further analyzed and utilized. Summary of the invention

[0006] In response to the problems existing in the prior art, the present invention provides a big data model and construction method for smart financing of small and micro enterprises based on government data and bank data (hereinafter referred to as government-bank data) and privacy computing.

[0007] The present invention is implemented as follows: a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing is constructed, which integrates government and bank-related data to identify the characteristics that affect the financing needs of enterprises and the characteristics that affect the loan risks of enterprises; the federated learning technology in the privacy computing technology system is selected, and vertical federated modeling is performed based on the federated learning platform; the model is a classification model, and a supervised vertical XGBoost algorithm is selected.

[0008] Furthermore, the information module indicator data includes government data (including basic enterprise information, personnel composition, business behavior information, financial status, credit information, and innovation data) and bank data (enterprise deposits, financial management, and transaction data).

[0009] Further, deploy the server of the federated learning platform;

[0010] Furthermore, the two participants in the vertical federated learning algorithm who participate in the joint model training have some common users and are defined as active and passive parties according to the data information they have;

[0011] Active party: The provider of data class labels in federated learning; the active party assumes the main computing responsibility in the joint modeling process;

[0012] Passive party: A participant in federated learning who only has a data feature matrix; the passive party does not provide class labels and helps the active party train the model during the joint modeling process.

[0013] In this paper, the bank is the active party and the government department is the passive party. Each participant has data with different characteristics of users. During the model training process, the active party and the passive party first conduct joint model training after obtaining the intersection of both parties' users through federated learning. During the training process, the data provided by both parties will be protected and transmitted and calculated in an encrypted manner.

[0014] Further steps for joint modeling between the government and the bank include:

[0015] Step 1: Determine sample requirements;

[0016] Overall sample: All small and micro enterprise settlement customers who have opened bank accounts;

[0017] Positive samples: small and micro enterprise customers who have settlement accounts in banks and have successfully applied for inclusive financial products;

[0018] Negative samples: small and micro enterprise customers who have settlement accounts in banks but have never applied for or whose applications have not been approved for inclusive financial products;

[0019] Step 2: Identify the characteristics that affect the financing needs of enterprises and the characteristics that affect the loan risks of enterprises;

[0020] Step 3: Target sample screening: Based on the actual business needs of inclusive financial products for small and micro enterprises, determine the screening criteria in the small and micro enterprise catalog;

[0021] Step 4: Time window selection: mark positive samples and negative samples with time as the dimension;

[0022] Step 5, data preprocessing: An effective problem handling mechanism is set up in the data preprocessing layer, using data cleaning, stratified sampling, data binning, and numerical normalization for preprocessing operations;

[0023] Step 6: Sample alignment: find the intersection of the two datasets based on the unified social credit code primary key and output the aligned sample set;

[0024] Step 7, federated learning layer: government departments and banks each train models on their own servers and jointly build models;

[0025] Step 8. Optimal parameters of the vertical XGBoost model:

[0026] The grid parameter adjustment method is used to optimize the parameters of the vertical XGBoost model. The most important parameters affecting the model are taken as the starting point, and each parameter is trained in the direction of decreasing importance. The optimal solution obtained from the previous training is fixed as input for each training and then iterated in a rolling manner.

[0027] Furthermore, the effective problem-solving mechanism adopted by data preprocessing is as follows:

[0028] Duplication, missing and other problems: The sample data is processed by deletion and filling methods.

[0029] Unbalanced distribution: Stratified sampling is performed on the sample data.

[0030] Furthermore, after the master key is encrypted using HASH, the Diffie-Hellman algorithm is used for sample alignment.

[0031] Another object of the present invention is to provide a big data model based on privacy computing that uses government and bank data for smart financing of small and micro enterprises; the model includes a data preprocessing layer, a sample alignment layer, a federated learning layer, and a data application layer.

[0032] Another object of the present invention is to provide an application of an intelligent model for small and micro enterprises based on government-bank data and privacy computing in big data financing. After government departments and banks call up indicator data, they predict and generate a list of small and micro enterprises and financing credit lines with high quality, good credit, and high financing success rate based on joint modeling.

[0033] First, facing the real difficulties of financing for small and micro enterprises, all participants urgently need to use multi-party data to collaboratively build a smart financing model for small and micro enterprises under the premise of ensuring the security and privacy protection of government and bank data, give full play to the application value of government and bank data, improve the financing efficiency of small and micro enterprises, and improve the financing difficulties of small and micro enterprises. In this context, the design of the smart financing model for small and micro enterprises has effectively fulfilled the requirements of laws and regulations such as the National Cybersecurity Law and the Data Security Law, which can effectively avoid centralized trust issues and realize multi-party collaborative data joint analysis.

[0034] With the establishment and improvement of the big data model of smart financing for small and micro enterprises, the data providers in small and micro enterprise financing do not need to centralize the data to conduct unified modeling and analysis, avoiding the cross-departmental flow of data among multiple parties, thereby solving the problem of mutual distrust among the parties and enabling multiple parties to jointly support the development of small and micro enterprises.

[0035] After communicating with the bank and verifying the data: the bank provided 12,000 existing customers, and the data of both parties could match 8,000 customers. Customers with loans and customers without loans were selected as positive and negative sample training, and 5,600 enterprises were selected for prediction. 1,094 high-probability customers were predicted and sent for verification. Credit loans have been granted to 21 customers, with a loan amount of 37.42 million yuan.

[0036] Third, the method for constructing a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing provided by the embodiment of the present invention aims to optimize the financing decision-making process of small and micro enterprises by introducing federated learning technology and XGBoost algorithm. The following is a detailed description of the technical problems of the prior art solved by the present invention and the significant technical progress achieved:

[0037] Technical problems of existing technologies:

[0038] 1. Data island problem:

[0039] In the traditional model, data held by different institutions (government departments and banks) cannot be shared, which limits the comprehensive utilization of data and affects the accuracy and efficiency of financing decisions.

[0040] 2. Insufficient privacy protection:

[0041] In existing financing services, sharing and utilizing customer data often involves privacy risks, especially when advanced data protection technologies are not adopted.

[0042] 3. Limitations of the decision-making model:

[0043] Existing financing models often fail to fully adopt advanced machine learning techniques, resulting in a lack of dynamic adaptability and predictive accuracy in financing decisions.

[0044] Technical advances of the present invention:

[0045] 1. Solve data silos and optimize resource utilization:

[0046] Federated learning technology allows different institutions to jointly participate in the establishment and training of models without directly exchanging data, effectively solving the problem of data silos. This approach improves the efficiency of data utilization and enhances the comprehensiveness and accuracy of the model.

[0047] 2. Strengthen data privacy protection:

[0048] This invention uses privacy computing technology, especially data encryption and local computing features in federated learning, to ensure the privacy and security of data throughout the entire analysis process. This not only complies with data protection regulations, but also enhances the trust of enterprises and individuals in financial services.

[0049] 3. Introducing advanced machine learning algorithms:

[0050] The accuracy of financing decisions was improved by using the vertical XGBoost algorithm, which is known for its powerful classification capabilities and high efficiency in processing complex data sets, making the financing model more accurate in predicting the loan risk and financing needs of enterprises.

[0051] 4. Improve the dynamic adaptability of decision-making models:

[0052] The model of the present invention can dynamically adapt to new data inputs and provide real-time and accurate financing decision support through continuous learning and model updating, which is crucial for responding to market changes and different needs of enterprise development stages.

[0053] Through these technological advances, the present invention not only improves the intelligence level of financing for small and micro enterprises, but also ensures the security and compliance of data processing, bringing innovative solutions to the field of financial technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0055] Figure 1 It is a flow chart of a joint modeling method between a government department and a bank provided by an embodiment of the present invention;

[0056] Figure 2 This is a structural diagram of a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing provided by an embodiment of the present invention;

[0057] Figure 3 is a schematic diagram of the Xgboost algorithm provided by an embodiment of the present invention;

[0058] Figure 4 is a schematic diagram of a vertical Xgboost algorithm provided by an embodiment of the present invention;

[0059] Figure 5 Schematic diagram of the vertical Xgboost algorithm provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0061] The detailed working principle of the smart financing big data model for small and micro enterprises based on government-bank data and privacy computing covers multiple key aspects such as data preprocessing, sample alignment, federated learning, and data application. The following is a detailed analysis of the specific functions and processes of these aspects:

[0062] Data preprocessing layer: This layer is responsible for processing and preparing input data to ensure that the data quality meets the requirements of subsequent model training and analysis.

[0063] Data cleaning: removing or correcting erroneous, missing, or anomalous data points.

[0064] Feature engineering: Extract useful information from raw data and convert it into a format suitable for machine learning models. This includes encoding, standardization, normalization, and other steps.

[0065] Dataset construction: Integrate data from different sources (such as government departments and banks) to form a unified dataset for analysis.

[0066] Sample alignment layer: In a vertical federated learning environment, different institutions may have the same users but different data characteristics. The sample alignment layer ensures that the data samples of participating institutions are correctly aligned.

[0067] User matching: Use privacy-preserving methods (such as encrypted ID matching) to ensure that data of the same user in different datasets can be identified and aligned without revealing the user's identity information.

[0068] Federated learning layer: Implement model training without centralized data storage, protecting the data privacy of all participants.

[0069] Collaborative model training: Using a vertical federated learning approach, each party locally computes model updates based on the data they hold, and then centrally coordinates to update model parameters without sharing the original data.

[0070] Secure aggregation: Use secure multi-party computing (SMPC), homomorphic encryption and other technologies to ensure that during the model training process, no participant can see the data of other parties.

[0071] Data application layer: Apply the trained models to actual business scenarios to provide decision support.

[0072] Credit assessment: Use the model to assess the credit status of small and micro enterprises and predict their financing success rate and credit limit.

[0073] Decision Support: Generate data-driven intelligent decision support lists to help banks and government agencies identify creditworthy companies with high financing potential.

[0074] In big data financing applications, governments and banks can call on models trained through joint modeling to quickly assess the credit status and financing capabilities of small and micro enterprises, thereby providing accurate financing services and decisions.

[0075] This model integrates data resources from multiple parties and utilizes advanced privacy computing and machine learning technologies to not only improve the efficiency and accuracy of financing services, but also strengthen data privacy and security protection, thereby promoting innovation and development in the field of financial technology.

[0076] The method for constructing a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing provided in an embodiment of the present invention integrates relevant data from government departments and banks to identify the characteristics that affect the financing needs of enterprises and the characteristics that affect the loan risks of enterprises; uses the federated learning technology in the privacy computing technology system, and relies on the federated learning platform for vertical federated modeling; the model is a classification model, and uses the supervised vertical XGBoost algorithm.

[0077] Furthermore, the indicator data of the information module includes government data (basic information of enterprises, personnel composition, business behavior information, financial status, credit information, and innovation data) and bank data (enterprise deposits, financial management, and transaction data).

[0078] Further, deploy the federated learning platform:

[0079] Furthermore, the two participants in the vertical federated learning algorithm who participate in the joint model training have some common users and are defined as active and passive parties according to the data information they have;

[0080] Active party: The provider of data class labels in federated learning; the active party assumes the main computing responsibility in the joint modeling process;

[0081] Passive party: A participant in federated learning who only has a data feature matrix; the passive party does not provide class labels and helps the active party train the model during the joint modeling process.

[0082] Furthermore, each participant has data on different user characteristics. During the model training process, the active party and the passive party first conduct joint model training through federated learning after obtaining the intersection of both parties' users. During the training process, the data provided by both parties will be protected and transmitted and calculated in an encrypted manner.

[0083] like Figure 1 As shown, the steps of joint modeling between the government and the bank include:

[0084] Step 1: Determine sample requirements;

[0085] Overall sample: All small and micro enterprise settlement customers who have opened bank accounts;

[0086] Positive samples: small and micro enterprise customers who have settlement accounts in banks and have successfully applied for inclusive financial products;

[0087] Negative samples: small and micro enterprise customers who have settlement accounts in banks but have never applied for or whose applications have not been approved for inclusive financial products;

[0088] Step 2: Identify the characteristics that affect the financing needs of enterprises and the characteristics that affect the loan risks of enterprises;

[0089] Step 3: Target sample screening: Based on the actual business needs of inclusive financial products for small and micro enterprises, determine the screening criteria in the small and micro enterprise catalog;

[0090] Step 4: Time window selection: mark positive samples and negative samples with time as the dimension;

[0091] Step 5, data preprocessing: An effective problem handling mechanism is set up in the data preprocessing layer, using data cleaning, stratified sampling, data binning, and numerical normalization for preprocessing operations;

[0092] Step 6: Sample alignment: find the intersection of the two datasets based on the unified social credit code primary key and output the aligned sample set;

[0093] Step 7, federated learning layer: the government and banks each train models on their own servers and jointly build models;

[0094] Step 8. Optimal parameters of the vertical XGBoost model:

[0095] The grid parameter adjustment method is used to optimize the parameters of the vertical XGBoost model. The most important parameters affecting the model are taken as the starting point, and each parameter is trained in the direction of decreasing importance. The optimal solution obtained from the previous training is fixed as input for each training and then iterated in a rolling manner.

[0096] Furthermore, the effective problem-solving mechanism adopted by data preprocessing is as follows:

[0097] Duplication, missing and other problems: The sample data is processed by deletion and filling methods.

[0098] Unbalanced distribution: Stratified sampling is performed on the sample data.

[0099] Furthermore, after the master key is encrypted using HASH, the Diffie-Hellman algorithm is used for sample alignment.

[0100] like Figure 2 As shown, an embodiment of the present invention provides a big data model for smart financing of small and micro enterprises using government and bank data based on privacy computing; the model includes a data preprocessing layer, a sample alignment layer, a federated learning layer, and a data application layer.

[0101] Privacy computing is a general term for a variety of technologies. Its purpose is to enable multiple data owners to share, communicate, calculate, and model data without exposing the data itself, ultimately generating value beyond their own data while ensuring that the data is not leaked to other participants.

[0102] Privacy computing is a complex technical system that includes a variety of underlying technologies such as hardware, cryptography, and distributed machine learning. The current basic consensus is that privacy computing includes three major technical routes, namely: Trusted Execution Environment TEE, Multi-party Secure Computing MPC, and Federated Learning FL.

[0103] Each enterprise participating in joint modeling is called a participant. Based on the different data distribution among multiple participants, federated learning is divided into three categories: horizontal federated learning, vertical federated learning, and federated transfer learning.

[0104] The main process of vertical federated learning is divided into two steps: sample alignment (also known as sample ID matching) and federated modeling.

[0105] Sample alignment: refers to the use of an encrypted ID matching technology before modeling by each participant to align the shared users of each participant while ensuring user data security and privacy protection. This project uses HASH to encrypt the primary key and then uses the Diffie-Hellman algorithm to align samples to achieve feature combinations of the same sample.

[0106] Federated Modeling: This project is a binary classification prediction problem, and the supervised longitudinal XGBoost algorithm is selected, which is implemented based on XGBoost.

[0107] Xgboost algorithm Figure 3 As shown, the vertical Xgboost algorithm is as follows Figure 4 , 5 shown.

[0108] Xgboost Algorithm

[0109] Define the objective function

[0110] Depend on

[0111] Available

[0112] Using Taylor expansion, we can get the approximate objective function:

[0113]

[0114] in

[0115] Remove constant terms ,have to

[0116] Define function q(x) as the mapping of input x to a leaf node, then f t (x)=w q (x), define the sample set of each leaf node as

[0117] Then the objective function can be rewritten as:

[0118]

[0119] How to find the optimal solution?

[0120] 1. Determine the structure of the tree, i.e. q(x);

[0121] 2. Find the leaf node fraction w that minimizes the objective function of the current round (round t).

[0122] If the structure of the tree is determined, directly derive w and set the derivative equal to 0 to obtain the minimum score of each leaf node:

[0123]

[0124] Substituting into the objective function, the optimal objective function is:

[0125]

[0126] We hope that the objective function is as small as possible, that is, The bigger the better.

[0127] The information gain is defined as:

[0128]

[0129] The larger the Gain value is, the more the objective function is reduced after splitting, and the better the effect is.

[0130]

[0131] 1. Basic ideas

[0132] Integrate relevant data from government departments and banks to identify the characteristics that affect corporate financing needs and the characteristics that affect corporate loan risks. Use the federated learning technology in the privacy computing technology system and rely on the federated learning platform for vertical federated modeling. The model of the present invention is a classification model, which uses the supervised vertical XGBoost algorithm.

[0133] 2. Specific research methods

[0134] (1) Overview of Privacy Computing

[0135] Privacy computing is a general term for a variety of technologies. Its purpose is to allow multiple data owners to share, communicate, calculate, and model data without exposing the data itself, ultimately generating value beyond their own data while ensuring that the data is not leaked to other participants. Privacy computing is a complex technical system that includes a variety of underlying technologies such as hardware, cryptography, and distributed machine learning. The current basic consensus is that privacy computing includes three major technical routes, namely: Trusted Execution Environment TEE, Multi-Party Secure Computing MPC, and Federated Learning FL.

[0136] Development of federated learning: In 2012, Professor Wang Liang's team published the world's first paper on secure online federated learning in medicine, raised the problem of "data available but invisible", and solved the engineering implementation plan of federated learning, the basic framework of privacy computing; in 2016, Google proposed the concept of applying federated learning on mobile Internet, and privacy confidential computing technology was fully recognized and entered a rapid development stage; in 2018, Professor Yang Qiang's team joined hands with Tencent / WeBank to release the open source project FATE using federated learning technology.

[0137] Development of Trusted Execution Environment: In 2009, OMTP proposed the TEE standard; in 2015, Intel released the first commercial CPU that supports TEE solutions, Intel SGX; in 2016, Professor Wang Shuang's team completed the world's first case based on TEE and secure federated learning to support the interconnection and interoperability of cross-border medical data for rare diseases in multiple countries under privacy protection, and won the Intel Outstanding Contribution Award; in 2018, Baidu released the Mesa TEE solution; in 2020, Alibaba released the Occlum TEE system, and the trusted computing environment has entered a high-speed commercial development stage.

[0138] Cryptography includes homomorphic encryption and multi-party secure computation. The development of homomorphic encryption: In 1978, with the emergence of the asymmetric encryption algorithm RSA, the concept of homomorphic encryption was first proposed; in 2009, Gentry proposed the first practical fully homomorphic encryption algorithm, marking the beginning of the era of fully homomorphic computing; in 2017, the International Homomorphic Encryption Standards Committee was established, marking the rapid development of homomorphic encryption in the world. The development of multi-party secure computation: In 1981, Rabin first proposed the theoretical basis for multi-party secure computation through the oblivious transfer (OT) protocol; in 1982, Professor Yao Qizhi proposed the millionaire problem and introduced secure two-party computation, which was expanded from GMW to multi-party secure computation in 1987; in 2019, the MPC Alliance led by Alibaba was established and began to promote relevant IEEE international standards, marking the entry of MPC into the commercial development stage.

[0139] In 2021, privacy computing will be applied to medical care (clinical, scientific research), finance (credit reporting, customer acquisition), and government affairs (smart cities, financing and loans, and smart medical care).

[0140] Multi-party secure computing MPC / homomorphic encryption: If there is no trusted third party, how can multiple data owners participate together and complete collaborative computing securely?

[0141] 1) Use secret sharing, obfuscated circuits, forgotten transmission and other methods to convert the software into a logic array for secure computing; 2) Ciphertext computing.

[0142] Federated learning: How to enable multiple data owners who do not trust each other to jointly train models without having to share data.

[0143] 1) Horizontally: Each participant trains and calculates its own samples locally and only shares the gradients of model training; 2) Vertically: Each participant trains its own embedding and jointly trains the upper-level model.

[0144] Secure sandbox computing / TEE: If there is, or a trusted third party can be established through hardware, multiple mutually untrusted data owners can share data for computing.

[0145] 1) Use the trusted execution environment TEE to prevent the operating system from maliciously viewing the contents of the application execution environment; 2) Use the security sandbox to prevent malicious applications from controlling the operating system through special calls.

[0146] (2) Federated Learning Classification

[0147] Federated learning technology was first proposed by Google in 2016. It was originally used to solve the problem of local model update for Android mobile phone terminal users. Its design goal is to carry out efficient machine learning between multiple participants or multiple computing nodes under the premise of ensuring information security during big data exchange, protecting terminal data and personal data privacy, and ensuring legality and compliance. It is expected to become the basis for the next generation of artificial intelligence collaborative algorithms and collaborative networks. According to the overlap of samples and features provided by data providers participating in joint modeling, federated learning can be divided into three categories: horizontal federated learning, vertical federated learning, and migration federated learning.

[0148] Horizontal FL: The business formats are the same or similar; there is a lot of feature overlap, but little user overlap; sample union. Vertical FL: The users reached are the same or similar; there is little feature overlap, but a lot of user overlap; feature union. Federated Transfer L: There is little intersection between business formats and users; there is little feature overlap, but little user overlap; transfer learning.

[0149] (3) Principles of Federated Learning Technology

[0150] Federated learning technology enables multiple parties or multiple computing nodes to jointly build and share machine learning models while ensuring data privacy of both parties in the modeling process is not leaked and ensuring legality and compliance. This technical framework provides encrypted sample alignment and encrypted model training methods based on technologies such as homomorphic addition and differential privacy, providing a basis for the secure co-construction of models. Taking the scenario where two parties (government departments and banks) jointly build a machine learning model as an example, the government department and the bank each have their own data. The shared data samples are confirmed through encrypted sample alignment, and then the encrypted model training is used to complete the calculation and update of the model parameters of both parties to form a federated learning model. During the entire process, the data of all parties are retained locally, and only the encrypted model parameters and intermediate results are calculated.

[0151] (4) Vertical Federated Learning Algorithm

[0152] In the present invention, two participants participating in the joint model training have some common users, and are defined as the active party and the passive party respectively according to the data information owned by the participants.

[0153] Definition 1: Active party. In federated learning, the provider of data class labels is called the active party, which bears the main computing responsibility in the joint modeling process.

[0154] Definition 2: Passive party. In federated learning, the party that only has the data feature matrix is ​​called the passive party. The passive party does not provide class labels and helps the active party to train the model during the joint modeling process. Each party has data with different user characteristics. During the model training process, the active party and the passive party first conduct joint model training after obtaining the intersection of both parties' users through federated learning. During the training process, the data provided by both parties will be protected and transmitted and calculated in an encrypted manner.

[0155] Among the many federated learning models, the most commonly used algorithm model is the SecureBoost algorithm. This algorithm is based on vertical federated learning and the traditional Xgboost algorithm. It is a joint modeling algorithm that integrates multiple decision trees. The final prediction result is formed by the weighted sum of multiple trees. Because of its good effect and insensitivity to input requirements, it has a large number of applications in the industry. This algorithm was proposed by WeBank at the end of 2019.

[0156] 3. Research steps

[0157] Phase 1: In order to strengthen the cooperation and sharing of government-bank data, give full play to the application value of government-bank data, increase government support for small and micro enterprises, improve the financing efficiency of small and micro enterprises, improve the financing difficulties of small and micro enterprises, and alleviate the development difficulties of small and micro enterprises, government departments and banks determine the overall sample, positive sample, negative sample, determine the plan, and finally determine the direction of the model - smart financing.

[0158] Phase 2: Based on the model direction, government departments and banks determine indicator data from information such as enterprise registration, key personnel, business operations, financial status, corporate credit, corporate innovation, corporate deposits, corporate financial management, and corporate transactions.

[0159]

[0160] Phase 3: The government departments and banks connected the network based on the original dedicated lines and prepared three servers to deploy the federated learning platform. The configuration of the three servers is as follows:

[0161] 1. CPU: 24 cores or above, memory: 48G or above, hard disk: 500G or above.

[0162] 2. CPU: 4 cores or above, memory: 8G or above, hard disk: 200G or above.

[0163] 3. CPU: 4 cores or above, memory: 8G or above, hard disk: 200G or above.

[0164] Phase 4: Joint modeling between government departments and banks

[0165] 1. Determine sample requirements

[0166] Overall sample: All small and micro enterprise settlement customers who have opened bank accounts.

[0167] Positive sample: small and micro enterprise customers who have settlement accounts in banks and have successfully applied for inclusive financial products.

[0168] Negative samples: small and micro enterprise customers who have settlement accounts in banks but have never applied for or have applied for but failed inclusive financial products.

[0169] 2. Identify the characteristics that affect the company's financing needs and the characteristics that affect the company's loan risks.

[0170] 3. Target sample screening

[0171] Based on the actual business needs of inclusive financial products for small and micro enterprises, determine the screening criteria in the small and micro enterprise directory.

[0172] 4. Time window selection

[0173] Because the number of training sample data sets is limited and the loan application business does not restrict the bank account opening time, the positive and negative samples are marked with time as the dimension.

[0174] 5. Data preprocessing

[0175] Data preprocessing is a critical part of the modeling process. This project sets up an effective problem-solving mechanism in the data preprocessing layer, using preprocessing operations such as data cleaning, stratified sampling, data binning, and numerical normalization to ensure the robustness of the model training process. The effective problem-solving mechanisms used in this project are as follows:

[0176] Duplication, missing and other problems: The sample data is processed by deletion, filling and other operations.

[0177] Unbalanced distribution: Perform stratified sampling on sample data to improve model prediction and classification effects.

[0178] 6. Sample alignment

[0179] The intersection of the two data sets is calculated based on the unified social credit code primary key, and the aligned sample set is output.

[0180] 7. Optimal parameters of the vertical XGBoost model

[0181] The grid parameter adjustment method is used to optimize the parameters of the vertical XGBoost model. The most important parameters affecting the model are taken as the starting point, and each parameter is trained in the direction of decreasing importance. The optimal solution obtained from the previous training is fixed as input for each training and then iterated in a rolling manner.

[0182] 8. Model Evaluation

[0183] Evaluate the model prediction results and output model evaluation indicators, including AUC value, KS value, accuracy, recall rate, precision rate, etc.

[0184] Phase 5: List of achievements

[0185] Finally, a list of small and micro enterprises and financing credit lines with high predicted quality, good credit, and high financing success rate is generated.

[0186] The method for constructing a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing provided in the embodiment of the present invention mainly optimizes and improves the efficiency and security of financing of small and micro enterprises by using federated learning and privacy protection technology. The following is the detailed working principle of the method:

[0187] Step 1: Data integration and feature identification

[0188] Data source: Integrates relevant data from government departments and banks, including but not limited to enterprise registration information, key personnel information, business operations, innovation activities, financial status, credit records, account transactions and loan history.

[0189] Feature Identification: The system analyzes this data to identify key features that affect the company's financing needs and loan risks. These features are used to train models to predict loan risks and the company's financing needs.

[0190] Step 2: Build a model using federated learning

[0191] Vertical federated learning: Using vertical federated learning technology, multiple data holders (such as different banks or government departments and banks) can work together to build models without sharing data. This approach is particularly suitable for situations where there are many common users in the data set held by the participants, but each has different characteristics.

[0192] Privacy protection: Without directly exchanging original data, data encryption and model training are performed through the federated learning platform to ensure the privacy and security of data of all parties.

[0193] Step 3: Model training and deployment

[0194] Model selection: The supervised longitudinal XGBoost algorithm is selected for model training. This algorithm is suitable for handling classification problems and performs well in handling complex nonlinear relationships.

[0195] Server configuration: To ensure sufficient computing resources, the server configurations for deploying the federated learning platform are:

[0196] Main server: 24-core CPU, 48GB memory, 500GB hard disk.

[0197] Auxiliary server: at least 4-core CPU, 8GB memory, 200GB hard disk.

[0198] Participant roles:

[0199] Active Party: Usually the party that owns the class label, such as a bank, responsible for the main calculation and training of the model.

[0200] Passive Party: Usually only provides feature data without class labels to help the active party complete model training.

[0201] Step 4: Model optimization and evaluation

[0202] Optimization and iteration: Use multi-objective optimization techniques (such as particle swarm optimization) to adjust and optimize model parameters to achieve the best prediction effect.

[0203] Evaluation and deployment: After ensuring that the model meets the accuracy and reliability of business requirements, it is deployed in the actual financing decision-making system to achieve the goal of smart financing.

[0204] Through this method based on government-bank data and privacy computing, the present invention can effectively improve the intelligence level of financing for small and micro enterprises, while protecting the data privacy of all parties involved, thereby promoting the development and innovation of financial technology.

[0205] Embodiment 1:

[0206] The specific implementation steps for building a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing are as follows:

[0207] First, relevant data is collected from market regulatory authorities and banks, including enterprise registration information, key personnel composition, business behavior records, enterprise innovation achievements, financial status reports, enterprise credit scores, enterprise account transaction flows, and enterprise loan history, etc. These data constitute the information module indicator data of the model.

[0208] Next, we selected the federated learning technology in the privacy computing technology system to build the model. We deployed a federated learning platform, whose server configuration is: CPU with more than 24 cores, memory with more than 48G, and hard disk with more than 500G to ensure the stable operation and efficient computing of the platform.

[0209] On the federated learning platform, vertical federated modeling is performed. In this process, the characteristics that affect the financing needs of enterprises are identified, such as the financial status, innovation ability and credit score of enterprises, as well as the characteristics that affect the loan risks of enterprises, such as business behavior, main personnel composition and loan history.

[0210] The supervised longitudinal XGBoost algorithm was selected to build the classification model. In longitudinal federated learning, two participants are defined: the active party and the passive party. The active party is the provider of data class labels and is mainly responsible for the computational tasks of model training; the passive party only has the data feature matrix and does not provide class labels, but helps the active party to train the model during the joint modeling process.

[0211] Through this method, we successfully constructed a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing. This model can effectively identify the financing needs and loan risks of small and micro enterprises and provide decision support for financial institutions.

[0212] Embodiment 2:

[0213] In another specific embodiment, a big data model for smart financing of small and micro enterprises is constructed based on government-bank data and privacy computing technology.

[0214] First, we collected data related to small and micro enterprises from multiple government departments and banks. These data cover all aspects of enterprises, such as enterprise registration information, financial status, business behavior, credit score, etc. We used these data for preprocessing and feature engineering to extract features that have a significant impact on financing needs and loan risks.

[0215] Next, a federated learning platform was deployed, the server configuration of which is: CPU with 4 cores or more, memory with 8G or more, and hard disk with 200G or more. Such configuration can meet the needs of vertical federated modeling.

[0216] On the federated learning platform, the federated learning technology in privacy computing technology is used to conduct vertical federated modeling of small and micro enterprise data. Two participants are defined: the active party and the passive party. The active party provides data class labels and undertakes the main computing tasks; the passive party provides data feature matrices to assist the active party in model training.

[0217] The supervised longitudinal XGBoost algorithm was selected as the model training method. This algorithm can effectively process longitudinally distributed data and improve the prediction accuracy of the model by continuously iterating and optimizing model parameters.

[0218] After a series of modeling and training processes, a smart financing big data model for small and micro enterprises based on government-bank data and privacy computing was successfully constructed. This model can help financial institutions more accurately assess the financing needs and loan risks of small and micro enterprises, improve the efficiency and accuracy of loan approval, and provide more convenient financing services for small and micro enterprises.

[0219] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A method for constructing a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing, characterized in that: Integrate relevant data from government departments and banks to identify the characteristics that affect corporate financing needs and the characteristics that affect corporate loan risks; use the federated learning technology in the privacy computing technology system and rely on the federated learning platform to perform vertical federated modeling; this model is a classification model that uses the supervised vertical XGBoost algorithm; The two participants in the vertical federated learning algorithm who participate in the joint model training have some common users. Based on the data information they have, they are defined as the active party and the passive party respectively. Active party: The provider of data class labels in federated learning; the active party assumes the main computing responsibility in the joint modeling process; Passive party: A participant in federated learning who only has a data feature matrix. The passive party does not provide class labels and helps the active party train the model during the joint modeling process. Each participant has data with different user characteristics. During the model training process, the active party and the passive party first conduct joint model training after obtaining the intersection of both parties' users through federated learning. During the training process, the data provided by both parties will be protected and transmitted and calculated in an encrypted manner. The indicator data of the information module includes the information of government departments and banks on enterprise registration, key personnel, business behavior, financial status, enterprise credit, enterprise innovation, enterprise deposits, enterprise financial management, and enterprise transactions; The configuration of the server for deploying the federated learning platform is as follows: CPU: 24 cores and above, memory: 48G and above, hard disk: 500G and above; CPU: 4 cores and above, memory: 8G and above, hard disk: 200G and above; CPU: 4 cores and above, memory: 8G and above, hard disk: 200G and above; The steps of the joint modeling between the government and the bank include: Step 1: Determine sample requirements; Overall sample: All small and micro enterprise settlement customers who have opened bank accounts; Positive samples: small and micro enterprise customers who have settlement accounts in banks and have successfully applied for inclusive financial products; Negative samples: small and micro enterprise customers who have settlement accounts in banks but have never applied for or whose applications have not been approved for inclusive financial products; Step 2: Identify the characteristics that affect the enterprise's financing needs and the characteristics that affect the enterprise's loan risks; Step 3: Target sample screening: Based on the actual business needs of inclusive financial products for small and micro enterprises, determine the screening criteria in the small and micro enterprise catalog; Step 4: Time window selection: mark positive samples and negative samples with time as the dimension; Step 5, data preprocessing: An effective problem handling mechanism is set up in the data preprocessing layer, using data cleaning, stratified sampling, data binning, and numerical normalization for preprocessing operations; Step 6: Sample alignment: find the intersection of the two datasets based on the unified social credit code primary key and output the aligned sample set; Step 7, federated learning layer: the government and banks each train models on their own servers and jointly build models; Step 8. Optimal parameters of the vertical XGBoost model: The grid parameter adjustment method is used to optimize the parameters of the vertical XGBoost model. The most important parameters affecting the model are taken as the starting point, and each parameter is trained in the direction of decreasing importance. The optimal solution obtained from the previous training is fixed as input for each training and then iterated in a rolling manner.

2. The method for constructing a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing as claimed in claim 1 is characterized in that: The effective problem-solving mechanisms used in data preprocessing are as follows: Duplication, missing and other issues: The sample data is processed by deletion and filling methods; Unbalanced distribution: Stratified sampling is performed on the sample data.

3. The method for constructing a big data model for smart financing of small and micro enterprises based on government-bank data and privacy computing as claimed in claim 1 is characterized in that: After the master key is encrypted using HASH, the Diffie-Hellman algorithm is used to align the samples.

4. A small and micro enterprise smart financing big data model based on government-bank data and privacy computing constructed by the method for constructing a small and micro enterprise smart financing big data model based on government-bank data and privacy computing as described in any one of claims 1 to 3; characterized in that: The model includes a data preprocessing layer, a sample alignment layer, a federated learning layer, and a data application layer.

5. The application of the smart financing big data model for small and micro enterprises based on government-bank data and privacy computing in big data financing as claimed in claim 4 is characterized in that: After the government and banks call up the indicator data, they predict and generate a list of small and micro enterprises and financing credit lines with high quality, good credit, and high financing success rate based on joint modeling.

Citation Information

Patent Citations

  • Enterprise risk evaluation method, device and equipment and computer readable storage medium

    CN113011632A

  • Enterprise financing and credit granting method and device based on federal learning

    CN113409134A

  • Risk management method and device, risk model training method and device, equipment and medium

    CN114971841A

  • Longitudinal federal XGBoost feature derivation method based on privacy calculation and related equipment

    CN116186769A

  • SDWAN abnormal traffic identification method based on XGBoost model

    CN117834202A

Cited By

  • Intelligent supervision method and system based on big data

    CN120297765A