Transaction risk processing method and device, storage medium and electronic equipment

Through the combination of large time series prediction models and transaction twin systems, the problem of long evaluation cycles of traditional credit risk control models is solved, rapid iteration and efficient risk identification are achieved, and the risk management capabilities of financial institutions are improved.

CN118864089APending Publication Date: 2024-10-29CHONGQING ANT CONSUMER FINANCE CO LTD

Patent Information

Application Number
CN202410989587.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The model evaluation cycle of traditional credit risk control models is too long, which may cause risks in the rapidly changing financial market environment and affect capital security and financial stability.

Method used

A large time series prediction model is used to obtain the initial transaction risk processing model, and the transaction twin system is used to simulate the user risk behavior and perform risk control processing, generate simulation transaction results, and iteratively update the model based on expectations and simulation results to improve the model iteration speed.

Benefits of technology

It greatly saves the time to obtain transaction risk scenario results and improves the risk identification efficiency and control capabilities of the online risk control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864089A_ABST
    Figure CN118864089A_ABST
Patent Text Reader

Abstract

The invention discloses a transaction risk processing method and device, a storage medium and electronic equipment, and the method comprises the steps: firstly obtaining an initial transaction risk processing model, carrying out the user risk behavior prediction of a transaction risk processing scene through a time sequence prediction large model, obtaining a predicted user risk behavior, and then carrying out the user risk behavior prediction in a transaction twinning system, and controlling the transaction twin digital object to perform user behavior simulation operation on the predicted user risk behavior, performing risk control processing on the user behavior simulation operation by using the initial transaction risk processing model, and determining a simulation transaction result for the transaction risk processing scene after risk control processing, and performing model iteration on the initial transaction risk processing model through the expected transaction result and the simulation transaction result to obtain a transaction risk processing model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a transaction risk management method, device, storage medium and electronic device. Background Art

[0002] With the continuous development of Internet finance and consumer finance, the Internet finance industry has undergone profound changes, which has had a significant impact on the traditional financial service model. Internet financial platforms have made financial services more accessible through mobile payment, online lending, digital banking and other services, especially for people in remote areas and those who have difficulty in obtaining traditional financial services in the past, greatly improving the popularity and convenience of financial services.

[0003] By using technologies such as big data and artificial intelligence, Internet financial platforms can better analyze user behaviors and preferences, and provide users with more personalized and customized financial products and services, such as smart investment advisors and credit scores. In addition, Internet financial platforms are also integrated with consumption scenarios, such as e-commerce platforms, retailers and other consumption scenarios, to bring users a better consumption experience. Summary of the invention

[0004] This specification provides a transaction risk processing method, device, storage medium and electronic device, and the technical solution is as follows:

[0005] In a first aspect, this specification provides a transaction risk management method, the method comprising:

[0006] An initial transaction risk processing model for a transaction risk processing scenario is obtained, and a time series prediction large model is used to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior;

[0007] In the transaction twin system, the transaction twin digital object is controlled to perform a user behavior simulation operation on the predicted user risk behavior, risk control processing is performed on the user behavior simulation operation based on the initial transaction risk processing model, and a simulation transaction result for the transaction risk processing scenario is determined after the risk control processing;

[0008] The initial transaction risk processing model is iterated based on the expected transaction result and the simulated transaction result to obtain a transaction risk processing model after the iterative model processing.

[0009] In a second aspect, this specification provides a transaction risk processing device, the device comprising:

[0010] A data acquisition module is used to acquire an initial transaction risk processing model for a transaction risk processing scenario, and use a time series prediction model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior;

[0011] A simulation module is used to control the transaction twin digital object in the transaction twin system to perform a user behavior simulation operation on the predicted user risk behavior, perform risk control processing on the user behavior simulation operation based on the initial transaction risk processing model, and determine the simulation transaction result for the transaction risk processing scenario after the risk control processing;

[0012] The model iteration module is used to perform model iteration processing on the initial transaction risk processing model based on the expected transaction result and the simulated transaction result to obtain the transaction risk processing model after the model iteration processing.

[0013] In a third aspect, the present specification provides a computer storage medium, wherein the computer storage medium has a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method.

[0014] In a fourth aspect, the present specification provides a computer program product, wherein the computer program product stores at least one instruction, and the at least one instruction is loaded by a processor to execute the above method.

[0015] In a fifth aspect, the present specification provides an electronic device, which may include: a memory and a processor; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the memory and executing the above method.

[0016] The beneficial effects of the technical solution provided in this specification include at least:

[0017] The transaction risk handling method provided in the embodiments of this specification first obtains an initial transaction risk handling model, uses a time series prediction large model to predict user risk behavior for a transaction risk handling scenario to obtain predicted user risk behavior, then in the transaction twin system, controls the transaction twin digital object to perform user behavior simulation operations on the predicted user risk behavior, uses the initial transaction risk handling model to perform risk control processing on the user behavior simulation operations, and determines the simulated transaction results for the transaction risk handling scenario after the risk control processing, and then iterates the initial transaction risk handling model through the expected transaction results and the simulated transaction results to obtain the transaction risk handling model. The transaction twin system of the embodiment of the present specification is a digital mirror system that is consistent with the real transaction risk scenario and is obtained by mapping the objects, transactions, environment and other data in the real transaction risk scenario into the digital twin system. Therefore, by controlling the transaction twin digital object to simulate the predicted user risk behavior in the transaction twin system, and performing risk control processing on the simulated operation to obtain the simulated transaction result, there is no need to monitor the risk behavior that may be generated by the user in a future time period, and then perform risk control processing on the risk behavior to obtain the real transaction result, which greatly saves the time for obtaining the transaction result corresponding to the transaction risk scenario. Since the transaction result is used to compare with the expected transaction result, and the comparison result is used to iteratively update the initial transaction risk processing model, the model iteration speed of the initial transaction risk processing model is improved. After the transaction risk processing model after the iteration is applied to the online system corresponding to the transaction risk processing scenario, it can be ensured that the online system corresponding to the transaction risk processing scenario has a high risk identification efficiency and can effectively control risks. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention 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, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 It is a flowchart of a transaction risk processing method provided by an embodiment of this specification;

[0020] Figure 2 It is a schematic diagram of the relationship between a transaction twin system and a real credit online system provided in an embodiment of this specification;

[0021] Figure 3 It is a flowchart of another transaction risk processing method provided by an embodiment of this specification;

[0022] Figure 4It is a schematic diagram of the relationship between a time series sliding window and user transaction behavior data provided by an embodiment of this specification;

[0023] Figure 5 It is a structural diagram of a transaction risk processing device provided in an embodiment of this specification;

[0024] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0025] In order to make the purpose, features, and advantages of the embodiments of this specification more obvious and understandable, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this specification.

[0026] In the description of this specification, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of this specification, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in this specification can be understood in specific circumstances. In addition, in the description of this specification, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are an "or" relationship.

[0027] As the application of emerging technologies such as blockchain, cloud computing, and artificial intelligence in Internet finance continues to deepen, it has promoted the innovation of financial products and the improvement of service efficiency, and also enhanced the risk management capabilities of Internet finance. For example, the use of artificial intelligence for fraud detection and credit risk assessment, and the use of big data, artificial intelligence and other technologies for risk assessment and credit decision-making have improved the efficiency and coverage of Internet financial services.

[0028] In related technologies, financial institutions usually use credit risk control models for risk assessment and credit decision-making. Before the credit risk control model is officially applied, the model capability of the credit risk control model will be evaluated. Only when the model capability of the credit risk control model meets the standard, the credit risk control model will be applied for risk control processing. However, the model evaluation method of the traditional credit risk control model has the problem of too long evaluation cycle. Sometimes the evaluation cycle is one to two weeks, and sometimes the evaluation cycle is several years. This may cause certain risks to financial institutions that apply credit risk control models in a rapidly changing financial market environment, and have a huge time exposure to the financial institutions' capital security and the maintenance of financial stability. Therefore, how to improve the iteration speed of risk control models used in transaction risk processing scenarios is a technical problem that needs to be solved urgently.

[0029] In order to solve the above technical problems, this specification is introduced and explained in conjunction with specific embodiments below.

[0030] In the following method embodiments, for the sake of convenience, only the electronic device is used as the execution subject of each step for introduction and description.

[0031] See also Figure 1 , is a flow chart of a transaction risk handling method provided in an embodiment of this specification. Figure 1 As shown, the method of the embodiment of this specification may include the following steps:

[0032] S102, obtaining an initial transaction risk processing model for a transaction risk processing scenario, and using a time series prediction large model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior.

[0033] The transaction risk handling scenario can be understood as a scenario in which a consumer financial institution monitors and handles the risk of the behavior of the service object through a risk control system in the process of providing transaction services. Exemplarily, taking the transaction as a credit transaction as an example, the transaction risk handling scenario can be understood as a scenario in which a consumer financial institution monitors and handles the risk of the behavior of the credit object through a risk control system in the process of providing credit transaction services, wherein the risk control system can be connected to the pre-loan system, the mid-loan system, and the post-loan system, respectively, and monitors and handles the risk of user lending behaviors in these systems. The pre-loan system may refer to a system used to assess the default situation, credit limit, and credit interest rate of the credit object before the loan note takes effect. The mid-loan system may refer to a system used to monitor the spending behavior of the credit object after the loan note takes effect. The post-loan system may refer to a system for post-loan management of the borrowing object.

[0034] The initial transaction risk processing model can be understood as a model created for transaction risk processing scenarios to evaluate and respond to various transaction risk behaviors. Taking credit transactions as an example, the risk types of transaction risk behaviors may include but are not limited to credit risk, expenditure risk, violation risk, operational risk, market risk, etc.

[0035] The time series prediction big model can be understood as a big model created based on machine learning algorithms to predict the user's future risky transaction behavior based on the user's past transaction behavior data. Taking the transaction as a credit transaction as an example, the time series prediction big model can predict the user's possible credit risk behavior in the future based on the user's past credit behavior data.

[0036] Predicting user risk behavior can be understood as predicting the transaction risk behavior that the user may have in the future through the time series prediction big model. Taking the transaction as a credit transaction as an example, the time series prediction big model can be used to analyze the user's spending behavior data in the past period of time, and predict the user's possible spending risk behavior in the next three days.

[0037] In some embodiments, an initial transaction risk handling model for a transaction risk handling scenario is obtained, which may be a transaction risk handling model initially created using training data for the transaction risk handling scenario, or a transaction risk handling model obtained after multiple model iterations using sample data in different time periods obtained in the transaction risk handling scenario.

[0038] Obtain the historical user behavior data generated in the transaction risk processing scenario, and use the time series prediction model to predict the user risk behavior of the historical user behavior data to obtain the predicted user risk behavior. The historical user behavior data is the behavior data generated by the user in the historical period, and the predicted user risk behavior is the risk behavior that the user may generate in the target period. The time in the target period is the future time, and the time in the historical period is the past time.

[0039] S104: In the transaction twin system, control the transaction twin digital object to perform user behavior simulation operations on predicted user risk behaviors, perform risk control processing on the user behavior simulation operations based on the initial transaction risk processing model, and determine the simulation transaction results for the transaction risk processing scenario after the risk control processing.

[0040] For example, taking a credit transaction as an example, the transaction twin system can refer to a comprehensive digital system that integrates credit transaction management, risk assessment, monitoring and early warning, and optimized decision-making by applying digital twin technology in the credit field. The transaction twin system creates a digital mirror of credit transactions and their related elements (such as borrowers, loan products, market environment, etc.) to achieve deep integration and interaction between physical credit activities and virtual digital space.

[0041] For example, see Figure 2 A schematic diagram of the relationship between a transaction twin system and a real credit online system is shown. Figure 2 The real online credit system in the transaction refers to the online credit system used by consumer financial institutions to provide credit services. The online credit system may include a physical pre-loan system, a physical mid-loan system, a physical post-loan system, and a physical risk control system. The transaction twin system can be understood as a mirror system that is consistent with the online credit system in the digital world. The transaction twin system includes a pre-loan system, a mid-loan system, a post-loan system, and a risk control decision system. The pre-loan system of the transaction twin system is a digital mirror system of the physical pre-loan system and has the same functions as the physical pre-loan system. The mid-loan system of the transaction twin system is a digital mirror system of the physical mid-loan system and has the same functions as the physical mid-loan system. The post-loan system of the transaction twin system is a digital mirror system of the physical post-loan system and has the same functions as the physical post-loan system. The risk control decision system in the transaction twin system is a digital mirror system of the physical risk control system and has the same functions as the physical risk control system.

[0042] Transaction twin digital objects can refer to software entities (also called agent robots) in the credit field that are pre-programmed or equipped with machine learning algorithms. Transaction twin digital objects can be used to simulate and execute users' real credit behaviors in the past and users' predicted risk behaviors in the future in the transaction twin system. The simulation operations of transaction twin digital objects in the transaction twin system can be initiated on a large scale and automatically.

[0043] The simulated transaction result may refer to the transaction result obtained by evaluating the transaction evaluation indicators of multiple dimensions corresponding to the consumer financial institution in the transaction twin system after the risk control processing of the user behavior simulation operation performed on the transaction twin digital object in the transaction twin system. The transaction evaluation indicators may include but are not limited to profitability indicators, market competitiveness indicators, customer satisfaction indicators, etc. The simulated transaction results can be used to evaluate the results and status achieved by consumer financial institutions in the process of providing various financial services and products.

[0044] In the transaction twin system, each transaction twin digital object corresponds to a real user in the entity credit activity. The transaction twin digital object can be controlled to simulate and execute the predicted user risk behavior of the corresponding real user. At the same time, the initial transaction risk processing model is used to perform risk control on the predicted user risk behavior executed by the transaction twin digital object. During the risk control process, the initial transaction risk processing model can identify whether it is necessary to intercept the predicted user risk behavior executed by the transaction twin digital object. When it is identified that interception is required, the predicted user risk behavior is blocked, and when it is identified that interception is not required, the predicted user risk behavior is unblocked. For example, the expenditure amount involved in the predicted user risk behavior can be issued to the transaction twin digital object to facilitate the transaction process corresponding to the predicted user risk behavior. After the risk control process, when the specified deadline arrives, the transaction evaluation index for the transaction risk processing scenario is determined, the transaction evaluation index data of the transaction evaluation index in the transaction twin system is determined, and the simulation transaction result for the transaction risk processing scenario is determined based on the transaction evaluation index data. The transaction evaluation index can be an evaluation index of multiple dimensions, which can include but is not limited to profit indicators, market competitiveness indicators, customer satisfaction indicators, etc.

[0045] S106, performing model iteration processing on the initial transaction risk processing model based on the expected transaction result and the simulated transaction result to obtain a transaction risk processing model after the model iteration processing.

[0046] The expected transaction results can be understood as the target transaction results that the consumer finance institutions are expected to achieve based on the transaction evaluation indicators of multiple dimensions corresponding to the consumer finance institutions in the real world.

[0047] The transaction risk processing model can be understood as a model obtained by iteratively updating the initial transaction risk processing model multiple times.

[0048] In some embodiments, the model iteration result for the initial transaction risk processing model is determined based on the expected transaction result and the simulated transaction result. If the model iteration result is an incomplete iteration type, the attribution analysis result for the initial transaction risk processing model is obtained, and the initial transaction risk processing model is iteratively updated based on the attribution analysis result to obtain a reference transaction risk processing model, and the reference risk processing model is used as the initial transaction risk processing model, and the step of returning to S102 is executed, that is, the step of obtaining the initial transaction risk processing model for the transaction risk processing scenario, using the time series prediction large model to predict the user risk behavior of the transaction risk processing scenario to obtain the predicted user risk behavior, and further, continuing to execute S104 and S106 to achieve loop execution, and determining whether to perform the next loop execution according to the result of one loop execution, until the result of a certain loop execution is: the model iteration result is an iteration completion type, and the iteration process of the initial transaction risk processing model is completed. If the model iteration result is the iteration completion type, indicating that the model iteration is completed, the transaction risk processing model after the model iteration is obtained, and the transaction risk processing model is synchronized to the risk control online system corresponding to the transaction risk processing scenario, so as to perform risk control processing based on the transaction risk processing model in the risk control online system.

[0049] In this way, through the above-mentioned method of iteratively updating the initial transaction risk processing model, an iteratively completed transaction risk processing model is obtained, so that the transaction risk processing model can be synchronized to the risk control online system corresponding to the transaction risk processing scenario, so that the transaction risk processing model can be used in the risk control online system for risk control processing, thereby ensuring that the risk control online system of the consumer finance institution has a high risk identification efficiency and can effectively control risks.

[0050] The transaction twin system in the transaction risk handling method provided in the embodiment of this specification is a digital mirror system consistent with the real transaction risk scenario obtained by mapping the objects, transactions, environment and other data in the real transaction risk scenario into the digital twin system. Therefore, by controlling the transaction twin digital object to simulate the predicted user risk behavior in the transaction twin system, and performing risk control on the simulated operation to obtain the simulated transaction result, there is no need to monitor the risk behavior that may be generated by the user in the future time period, and then perform risk control on the risk behavior to obtain the real transaction result, which greatly saves the time for obtaining the transaction result corresponding to the transaction risk scenario. Since the transaction result is used to compare with the expected transaction result, and the comparison result is used to iteratively update the initial transaction risk handling model, the model iteration speed of the initial transaction risk handling model is improved. After the transaction risk handling model after the iteration is applied to the online system corresponding to the transaction risk handling scenario, it can be ensured that the online system corresponding to the transaction risk handling scenario has a high risk identification efficiency and can effectively control risks.

[0051] See also Figure 3 , is a flow chart of a transaction risk handling method provided in an embodiment of this specification. Figure 3 As shown, the method of the embodiment of this specification may include the following steps:

[0052] S302: Acquire an initial transaction risk processing model for a transaction risk processing scenario.

[0053] The initial transaction risk processing model may be a transaction risk processing model obtained by performing model training on training data.

[0054] The model training process of the initial transaction risk processing model may include the following operations: creating a first transaction risk processing model for a transaction risk processing scenario based on a machine learning model; obtaining sample data, the sample data including sample user pre-loan risk behavior data, sample user mid-loan risk behavior data, and sample user post-loan risk behavior data, the sample user pre-loan risk behavior data is the risk behavior data of the sample user collected from the pre-loan system, the sample user mid-loan risk behavior data is the risk behavior data of the sample user collected from the mid-loan system, the sample user post-loan risk behavior data is the risk behavior data of the sample user collected from the post-loan system, and the risk behavior data includes spending behavior data The sample data is labeled with a sample risk response label, which is a response decision label for the sample data, such as an interception risk behavior label, a release risk behavior label, etc. The sample data is input into the first transaction risk processing model for at least one round of model training to obtain a predicted risk response, the predicted risk response corresponding to each sample user corresponds to the sample data corresponding to the sample user, and a model loss function is used to determine a model loss value based on the predicted risk response and the sample risk response label, and the model parameters of the first transaction risk processing model are adjusted based on the loss value until the model training end condition is met to obtain an initial transaction risk processing model.

[0055] Optionally, the model end training condition may include, for example, the value of the loss function is less than or equal to a preset loss function threshold, the number of iterations reaches a preset number threshold, etc. The specific model end training condition can be determined based on the actual situation and is not specifically limited here. It should be noted that the machine learning model involved in one or more embodiments of this specification includes but is not limited to the convolutional neural network (CNN) model, deep neural network (DNN) model, recurrent neural network (RNN) model, embedding model, gradient boosting decision tree (GBDT) model, logistic regression (LR) model and other machine learning models. One or more fitting.

[0056] It can be understood that the model training process of the initial transaction risk processing model described above can be called a model iteration process; the initial transaction risk processing model can also be a transaction risk processing model obtained after multiple model iterations using different sample data in different time periods.

[0057] In one or more embodiments of the present specification, when there is no transaction risk processing model in the model storage system, the above model training process can be used to obtain the initial transaction risk processing model. When there are multiple transaction risk processing models with different training versions in the model storage system, the transaction risk processing model with the latest training version can be obtained as the initial transaction risk processing model.

[0058] S304: Determine the user transaction behavior data within the time series sliding window in the transaction risk processing scenario.

[0059] The time series sliding window can be understood as a time window with a variable time range and a fixed time unit as the window length. For example, with days as the time unit and a window length of 5 days, the time range represented by the time series sliding window can be represented as T1-T5, T2-T6, T3-T7, T4-T8, and so on.

[0060] User transaction behavior data may refer to user credit behavior data, which may include user pre-loan behavior data, user mid-loan behavior data, and user post-loan behavior data. User pre-loan behavior data refers to credit behavior data generated by users based on credit services collected from the pre-loan system, user mid-loan behavior data refers to credit behavior data generated by users based on credit services collected from the mid-loan system, and user post-loan behavior data refers to credit behavior data generated by users based on credit services collected from the post-loan system.

[0061] In one or more embodiments of the present specification, executing S304 may specifically include: A1, acquiring historical user transaction behavior data in the transaction risk processing scenario, and determining target user transaction behavior data based on the historical user transaction behavior data; A2, determining first user transaction behavior data within a target time series sliding window based on the historical user transaction behavior data and the target user transaction behavior data, and determining third user transaction behavior data based on the first user transaction behavior data, wherein the third user transaction behavior data is generated after the target user transaction behavior data; A3, determining second user transaction behavior data based on the first user transaction behavior data and the third user transaction behavior data, and determining fourth user transaction behavior data based on the second user transaction behavior data, wherein the fourth user transaction behavior data is generated after the third user transaction behavior data; A4, confirming the historical user transaction behavior data, the target user transaction behavior data, the third user transaction behavior data, and the fourth user transaction behavior data as user transaction behavior data; wherein the time series window corresponding to the historical user transaction behavior data is the previous time series sliding window of the target time series sliding window, and the time series sliding window corresponding to the second user transaction behavior data is the next time series sliding window of the target time series sliding window.

[0062] Combine the following Figure 4 The schematic diagram of the relationship between a time series sliding window and user transaction behavior data is shown in FIG. 1 to explain steps A1 to A3. Figure 4 As shown, the time range represented by the time series sliding window changes as the time series sliding window moves on the time axis. Assume that T6 is the latest data generation time in the offline processing system, and the data in the offline processing system is synchronized from the online processing system corresponding to the transaction risk processing scenario. The time series sliding window composed of T2 as the window start time and T6 as the window end time is the target time series sliding window, the time series sliding window composed of T1 as the window start time and T5 as the window end time is the previous time series sliding window of the target time series sliding window, and the time series sliding window composed of T3 as the window start time and T7 as the window end time is the next time series sliding window of the target time series sliding window.

[0063] The time series sliding window corresponding to the historical user transaction behavior data is the previous time series sliding window, and the historical user transaction behavior data is the transaction behavior data generated by the user within the time range represented by the previous time series window. When executing A1, the historical user transaction behavior data can be obtained from the offline processing system corresponding to the transaction risk processing scenario, and the data in the offline processing system is the data synchronized from the online processing system corresponding to the transaction risk processing scenario. Among them, the online processing system can include any database among MySQL, MongoDB, and NoSQL, and the offline processing system can include any system among Hadoop HDFS and Amazon S3. Before the data in the online processing system is synchronized to the offline processing system, data processing operations such as data cleaning, format conversion, and data desensitization can be performed on the data, so that the data synchronized to the offline processing system can be suitable for analysis needs and protect user privacy. The historical user transaction behavior data includes at least one behavior data of user credit behavior data, user expenditure behavior data, and user repayment behavior data.

[0064] When executing A1, the target user transaction behavior data is determined based on the historical user transaction behavior data. It can be: if the end time of the time series sliding window (previous time series sliding window) corresponding to the historical user transaction behavior data is later than the latest data collection time of the offline processing system, it can be considered that the target user transaction behavior data has not been generated, then the target user transaction behavior data is predicted based on the historical user transaction behavior data. The target user transaction behavior data is the transaction behavior data that may be generated by the predicted user at the end time of the target time series sliding window. The target user transaction behavior data includes at least one of the following behavior data: user credit behavior data, user spending behavior data, and user repayment behavior data. If the end time of the time series sliding window corresponding to the historical transaction behavior data is earlier than the latest data collection time in the offline processing system, it can be considered that the target user transaction behavior data has been generated, then the target user transaction behavior data corresponding to the end time of the target time series sliding window is obtained from the offline processing system. By Figure 4 It can be seen that the target user transaction behavior data is the transaction behavior data generated by the user at T6. T6 corresponds to transaction behavior data, so there is no need to predict the target user transaction behavior data through historical user transaction behavior data. The transaction behavior data generated by T6 can be used as the target user transaction behavior data.

[0065] When executing A2, the user transaction behavior data at the top of the historical user transaction behavior data is removed to obtain other historical user transaction behavior data, and the other historical user transaction behavior data is combined with the target user transaction behavior data to obtain the first user transaction behavior data, and the time series sliding window corresponding to the first user transaction behavior data is the target time series sliding window. The user transaction behavior data at the top of the historical user transaction behavior data is the user transaction behavior data corresponding to the start time of the previous time series sliding window, that is, the transaction behavior data generated by the user at T1.

[0066] When executing A2, the third user transaction behavior data is determined based on the first user transaction behavior data. It can be: if the end time of the target time series sliding window is later than the latest data collection time of the offline processing system, it can be considered that the third user transaction behavior data has not been generated, then the third user transaction behavior data is predicted based on the first user transaction behavior data. The third user transaction behavior data is the transaction behavior data that may be generated by the predicted user in the next time unit of the target time series sliding window. The third user transaction behavior data includes at least one of the user credit behavior data, user spending behavior data, and user repayment behavior data. If the end time of the target time series sliding window is earlier than the latest data collection time in the offline processing system, it can be considered that the third user transaction behavior data has been generated, then the third user transaction behavior data corresponding to the next time unit of the target time series sliding window is obtained from the offline processing system. By Figure 4 It can be seen that the next time unit of the target time series sliding window is T7, the third user transaction behavior data is the transaction behavior data that the user may generate at T7, and there is no transaction behavior data corresponding to T7 in the offline processing system. T7 is also the starting time of the next time series sliding window. Figure 4 In the example shown, the third user transaction behavior data can be predicted by the first user transaction behavior data corresponding to the target time series sliding window.

[0067] When executing A3, after removing the first user transaction behavior data from the first user transaction behavior data, other first user transaction behavior data are obtained, and the other first user transaction behavior data are combined with the third user transaction behavior data to obtain the second user transaction behavior data, and the time series sliding window corresponding to the second user transaction behavior data is the next time series sliding window. The first user transaction behavior data in the first user transaction behavior data is the user transaction behavior data corresponding to the start time of the target time series sliding window, that is, the transaction behavior data generated by the user at T2.

[0068] When executing A3, the fourth user transaction behavior data is determined based on the second user transaction behavior data. It can be: if the end time of the next time series sliding window is later than the latest data collection time of the offline processing system, it can be considered that the fourth user transaction behavior data has not been generated, then the fourth user transaction behavior data is predicted based on the second user transaction behavior data, the fourth user transaction behavior data is the transaction behavior data that may be generated by the predicted user in the next time unit of the next time series sliding window, and the fourth user transaction behavior data includes at least one kind of behavior data of user credit behavior data, user spending behavior data, and user repayment behavior data. If the end time of the next time series sliding window is earlier than the latest data collection time of the offline processing system, it can be considered that the fourth user transaction behavior data has been generated, then the fourth user transaction behavior data corresponding to the next time unit of the next time series sliding window is obtained from the offline processing system. By Figure 4 It can be seen that the next time unit of the next time series sliding window is T8, the fourth user transaction behavior data is the transaction behavior data that the user may generate at T8, and there is no transaction behavior data corresponding to T8 in the offline processing system, so Figure 4 In the example shown, the fourth user transaction behavior data can be predicted by the second user transaction behavior data corresponding to the next time series sliding window.

[0069] When A4 is executed, the historical user transaction behavior data, the target user transaction behavior data, the third user transaction behavior data, and the fourth user transaction behavior data are confirmed as user transaction behavior data.

[0070] It can be understood that the time series sliding window is a window with a variable time range. Therefore, the embodiments of this specification can quickly obtain data from multiple windows and provide a sufficient data basis for subsequent risk behavior prediction.

[0071] The embodiments of the present specification can predict the transaction behavior data that a user may generate in the future based on the transaction behavior data that the user has already generated. The transaction behavior data that has been generated and the predicted transaction behavior data are behavior data with a causal relationship. Therefore, there is no need to wait until the transaction behavior data in the future is actually generated before collecting the transaction behavior data. When there is a need, the embodiments of the present specification can obtain the transaction behavior data for a period of time in the future, saving the time for collecting the transaction behavior data for a period of time in the future, and ensuring that there is enough user transaction behavior data for subsequent risk behavior prediction.

[0072] S306, generating risk behavior prediction prompt words based on the user transaction behavior data, inputting the risk behavior prediction prompt words and the user transaction behavior data into the time series prediction large model to predict the risk behavior, and obtaining the predicted user risk behavior.

[0073] The risk behavior prediction prompt words can be understood as prompt words that instruct the time series prediction large model to perform risk behavior prediction on the user transaction behavior data to obtain the predicted user risk behavior.

[0074] The time series prediction big model can be understood as a big language model obtained after model training for risk behavior prediction scenarios based on the basic big language model. The time series prediction big model can also directly use the big language model.

[0075] In one or more embodiments of the present specification, a preset risk behavior prediction scenario prompt template is obtained, and the user transaction behavior data and the risk behavior prediction scenario prompt template are associated to obtain risk behavior prediction prompt words. Among them, the risk behavior prediction scenario prompt template includes keywords that prompt the time series prediction large model to perform risk behavior prediction on the target behavior data, and the target behavior data is used to refer to the user transaction behavior data. The risk behavior prediction scenario prompt template can be preset and stored in the prompt template configuration file, so the risk behavior prediction scenario prompt template can be obtained from the prompt template configuration file. Specifically, the user transaction behavior data can be associated with the target behavior data in the risk behavior prediction scenario prompt template to obtain the risk behavior prediction prompt words.

[0076] Before executing step S306, a time series prediction big model can be trained, and the training process of the time series prediction big model may include the following operations: creating an initial time series prediction big model for the transaction risk processing scenario; determining the historical cycle sample behavior data, and marking the historical cycle sample behavior data with the target cycle risk behavior label; using the historical cycle sample behavior data to perform at least one round of model training on the initial time series prediction big model. During the model training process, the initial time series prediction big model is used to predict user risk behavior on the historical cycle sample behavior data to obtain predicted target cycle risk behavior, and the model parameters of the initial time series prediction big model are adjusted based on the predicted target cycle risk behavior and the target cycle risk behavior label to obtain the time series prediction big model after model training.

[0077] Creating an initial time series prediction large model for transaction risk processing scenarios can be: obtaining a basic large language model, creating a risk behavior prediction scenario adaptation module for risk behavior prediction scenarios and a large language generation module based on the basic large language model, and forming an initial time series prediction large model based on the large language generation module and the risk behavior prediction scenario adaptation module. Among them, the basic large language model (Large Language Model, LLM) is an artificial intelligence content generation model designed to understand and generate human language. LLM is trained on a large amount of data and can perform a wide range of tasks, including text summarization, translation, sentiment analysis, etc. Optionally, LLM can be a generative artificial intelligence (Artificial Intelligence Generated Content, AIGC) model.

[0078] Determine the sample behavior data of the historical period, and label the target period risk behavior label for the sample behavior data of the historical period, which can be: obtain the transaction behavior data of the sample user in the historical period as the sample behavior data of the historical period, label the transaction behavior data of the sample user in the target period as a risk behavior label or a non-risk behavior label, and use the risk behavior label or the non-risk behavior label as the target period risk behavior label. Among them, the target period is the time period after the historical period. It can be understood that when the transaction behavior data of the sample user in the target period is a risky behavior, the transaction behavior data can be labeled as a risky behavior label; when the transaction behavior data of the sample user in the target period is a non-risky behavior, the transaction behavior data can be labeled as a non-risky behavior label.

[0079] The time series prediction big model is obtained by training the initial time series prediction big model. The specific implementation can be: inputting the historical period sample behavior data into the initial time series prediction big model for at least one round of model training to obtain the predicted target period risk behavior, calculating the comprehensive model loss based on the predicted target period risk behavior and the target period risk behavior label, adjusting the model parameters of the risk behavior prediction scenario adaptation module in the initial time series prediction big model based on the comprehensive model loss, and controlling the model parameters of the large language generation module to remain unchanged. Until the model training end conditions are met, the large language generation module and the risk behavior prediction scenario adaptation module are obtained, and the model fusion of the large language generation module and the risk behavior prediction scenario adaptation module is completed to obtain the trained time series prediction big model. Among them, the form of predicting the target period risk behavior can be: predicting the risk behavior of the sample user is behavior A, or predicting the non-risk behavior of the sample user is behavior B.

[0080] Specifically, the model fusion of the large language generation module and the risk behavior prediction scenario adaptation module can be: weight fusion of the model structure layer weights of the risk behavior prediction scenario adaptation module and the large language generation module, by determining the target model structure layer corresponding to the model structure layer weight in the large language generation module, and performing parameter fusion of the model structure layer parameters of the target model structure layer and the model structure layer weights. The model structure layer weights of the risk behavior prediction scenario adaptation module may only partially correspond to and exist in all model structure layers in the basic large language model. By completing the parameter update of the model structure layer based on the model structure layer weights for this part of the target model structure layer, and so on, the reference update process of all model structure layer weights is completed, thereby obtaining a large time series prediction model.

[0081] S308: In the transaction twin system, the transaction twin digital object is controlled to perform user behavior simulation operations on the predicted user risk behaviors, and risk control processing is performed on the user behavior simulation operations based on the initial transaction risk processing model.

[0082] In the transaction twin system, each transaction twin digital object corresponds to a real user in the entity credit activity. The transaction twin digital object can be controlled to simulate and execute the predicted user risk behavior of the corresponding real user. At the same time, the initial transaction risk processing model is used to perform risk control on the predicted user risk behavior executed by the transaction twin digital object. During the risk control process, the initial transaction risk processing model can identify whether it is necessary to intercept the predicted user risk behavior executed by the transaction twin digital object. If it is identified that interception is required, the predicted user risk behavior is blocked. If it is identified that interception is not required, the predicted user risk behavior is unblocked. For example, the expenditure amount involved in the predicted user risk behavior can be issued to the transaction twin digital object to facilitate the transaction process corresponding to the predicted user risk behavior.

[0083] S310, after risk control processing, determine the transaction evaluation indicators for the transaction risk processing scenario, and determine the transaction evaluation indicator data of the transaction evaluation indicators in the transaction twin system.

[0084] Transaction evaluation indicators can be understood as evaluation indicators used to evaluate the transaction results generated by consumer finance institutions within a certain period of time. Transaction evaluation indicators may include but are not limited to profitability indicators, market competitiveness indicators, and customer satisfaction indicators. Profitability indicators can be used to evaluate the profitability data of consumer finance institutions. Market competitiveness indicators can be used to evaluate the competitiveness data of consumer finance institutions in the financial market. Customer satisfaction indicators can be used to evaluate customer satisfaction data with consumer finance institutions.

[0085] The transaction evaluation index data can be understood as the value of the transaction evaluation index calculated using the index calculation formula. For example, if the transaction evaluation index is a profit index, the transaction evaluation index data is the profit amount value.

[0086] Exemplarily, after performing risk control processing in the transaction twin system, transaction evaluation indicators for transaction risk processing scenarios can be obtained from the indicator configuration file, the indicator calculation formula corresponding to the transaction evaluation indicators can be obtained, the indicator calculation parameters involved in the behavioral data in the transaction twin system can be determined, and the indicator calculation formula can be used to calculate the indicator calculation parameters to obtain the transaction evaluation indicator data corresponding to the transaction evaluation indicators.

[0087] S312: Determine a simulation transaction result for a transaction risk processing scenario based on the transaction evaluation indicator data.

[0088] Obtain a preset transaction result filling template, fill in the transaction evaluation index data in the corresponding position in the transaction result filling template, and obtain a simulation transaction result, which is a simulation transaction result for a transaction risk processing scenario.

[0089] S314, obtaining an expected transaction result for the transaction risk processing scenario, and determining a model iteration result for the initial transaction risk processing model based on the expected transaction result and the simulated transaction result.

[0090] In some embodiments, attribution analysis is performed based on expected transaction results and simulated transaction results to obtain attribution analysis results; and model iteration results for the initial transaction risk processing model are determined based on the attribution analysis results.

[0091] Specifically, the attribution analysis is performed based on the expected transaction results and the simulated transaction results to obtain the attribution analysis results, which can be: the expected transaction results and the simulated transaction results are input into the attribution analysis model for attribution analysis processing, and the attribution analysis results are output. Among them, the attribution analysis results can include the probability of at least one influencing factor affecting the transaction evaluation index data in the simulated transaction results. The attribution analysis model can be an analysis model created based on the transaction result analysis scenario in the credit field. The attribution analysis model can determine which influencing factors (loan product interest rates, loan product quantities, etc.) cause a certain transaction result (profit data) and the probability of the influence of these influencing factors by analyzing the data (expected transaction results, simulated transaction results) and logical reasoning.

[0092] Specifically, determining the model iteration result for the initial transaction risk processing model based on the attribution analysis result may be: obtaining a model iteration mapping relationship, the model iteration mapping relationship including at least one reference influencing factor and a reference iteration type corresponding to the reference influencing factor; determining at least one target influencing factor from the attribution analysis result, searching for the target iteration type corresponding to the target influencing factor in the model iteration mapping relationship, and determining the model iteration result for the initial transaction risk processing model based on the target iteration type. Among them, the reference iteration type includes an iteration type and a non-iteration type. The model iteration mapping relationship is configured based on expert experience. When at least one target iteration type is an iteration type, the model iteration result for the initial risk processing model is determined to be an incomplete iteration type; when all target iteration types are non-iteration types, the model iteration result for the initial risk processing model is determined to be an iteration complete type.

[0093] S316, if the model iteration result is an incomplete iteration type, obtain the attribution analysis result for the initial transaction risk processing model, perform model iteration and update on the initial transaction risk processing model based on the attribution analysis result to obtain a reference transaction risk processing model, and use the reference transaction risk processing model as the initial transaction risk processing model.

[0094] When the model iteration result is an incomplete iteration type, it indicates that the initial transaction risk processing model still needs to be iteratively updated, and then the attribution analysis result for the initial transaction risk processing model is obtained. Further, a model adjustment scheme is determined based on the attribution analysis result, and the model adjustment scheme is used to iteratively update the initial transaction risk processing model to obtain a reference transaction risk processing model. The attribution analysis result may include the probability of at least one influencing factor affecting the transaction evaluation index data in the simulation transaction result. Specifically, a model adjustment mapping relationship configured based on expert experience is obtained, and the model adjustment mapping relationship includes at least one reference influencing factor and reference model optimization information corresponding to the reference influencing factor, and at least one target influencing factor in the attribution analysis result is determined. The target model optimization information corresponding to the target influencing factor is queried in the model adjustment mapping relationship, and the model adjustment scheme is obtained by integrating the target model optimization information. The reference model optimization information in the model adjustment mapping relationship may include but is not limited to optimizing feature engineering, adjusting model parameters, optimizing model architecture, etc. The determined model adjustment scheme may include at least one model optimization information in optimizing feature engineering, adjusting model parameters, and optimizing model architecture.

[0095] After obtaining the reference transaction risk handling model through the model adjustment scheme, the reference transaction risk handling model is used as the initial transaction risk handling model. Further, return to execute S302, then execute S304-S314, and then execute S316 or S318 to implement the cyclic execution of the method provided in the embodiment of this specification, that is, to implement the cyclic iterative update of the initial transaction risk handling model, and achieve the cyclic process of testing the initial transaction risk handling model (corresponding to the execution process of S302-S308) → analyzing the transaction results (corresponding to S310-S314) → adjusting the initial transaction risk handling model (corresponding to S316) → testing the initial transaction risk handling model, so as to gradually approach the ideal transaction effect and risk control level through the transaction risk handling model obtained after the iteration.

[0096] S318, if the model iteration result is the iteration completion type, the transaction risk processing model after the model iteration processing is obtained, and the transaction risk processing model is synchronized to the risk control online system corresponding to the transaction risk processing scenario, so as to perform risk control processing based on the transaction risk processing model in the risk control online system.

[0097] When the model iteration result is the iteration completion type, it means that the initial transaction risk processing model (i.e., the transaction risk control processing model after iteration) has achieved a better model identification effect, and no iteration update is required. Then, the transaction risk processing model after iteration processing can be obtained, and the transaction risk processing model can be synchronized to the risk control online system corresponding to the transaction risk processing scenario, so as to perform risk control processing based on the transaction processing model in the risk control online system. In the risk control online system, performing risk control processing based on the transaction risk processing model can refer to using the transaction risk processing model to monitor user behavior in the risk control online system, determine whether the user behavior is a risk behavior, and when the user behavior is determined to be a risk behavior, adopt corresponding risk decisions to deal with the risk behavior, such as blocking the risk behavior, issuing risk warnings to the platform corresponding to the risk control online system, etc., and when the user behavior is determined to be a non-risk behavior, cancel the use of risk decisions to deal with the user behavior, such as canceling the blocking of the user behavior and allowing the user behavior to pass normally. In this way, the way of using risk decisions to deal with risk behaviors after identifying risk behaviors through the transaction risk processing model can reduce the losses that risk behaviors may bring to consumer financial institutions, so as to improve the risk control level of the risk control online system corresponding to the consumer financial institutions.

[0098] The transaction risk handling method provided in the embodiments of this specification can obtain transaction behavior data for a period of time in the future by determining the user transaction behavior data located in the time series sliding window in the transaction risk handling scenario. There is no need to wait until the transaction behavior data in the future is actually generated before collecting the transaction behavior data, which saves the time for collecting transaction behavior data for a period of time in the future, and at the same time can ensure that there is enough user transaction behavior data for subsequent risk behavior prediction. By predicting the risk behavior of user transaction behavior data through a large time series prediction model, the predicted user risk behavior of the user in the future can be accurately obtained. Afterwards, by controlling the transaction twin digital object in the transaction twin system to perform user behavior simulation operations on the predicted user risk behavior, and performing risk control processing on the user behavior simulation operation through the initial transaction risk handling model, it is realized that the use of transaction twin digital objects in the simulation environment to perform behavior operation pre-runs to simulate the behavior operations of the real full amount of users, so as to obtain simulated transaction results, and will not interfere with and pollute the online logic and production data. By obtaining the simulated transaction results through simulation operations, the time for obtaining the transaction results corresponding to the transaction risk scenarios is greatly saved. Since the simulated transaction results are used to compare with the expected transaction results, and the comparison results are used to iteratively update the initial transaction risk processing model, the model iteration speed of the initial transaction risk processing model is improved. After the iterative transaction risk processing model is applied to the online system corresponding to the transaction risk processing scenario, it can be ensured that the online system corresponding to the transaction risk processing scenario has a high risk identification efficiency and can effectively control risks.

[0099] The following will be combined Figure 5 , the transaction risk processing device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 5 The transaction risk processing device shown is used to execute this instruction Figure 1 and Figure 3 For the convenience of explanation, only the part related to the embodiment of this specification is shown. For the specific technical details not disclosed, please refer to this specification. Figure 1 and Figure 3 The embodiment shown.

[0100] See also Figure 5 , which shows a schematic diagram of the structure of the transaction risk processing device of an embodiment of the present application. The transaction risk processing device 1 can be implemented as all or part of the device through software, hardware or a combination of both. According to some embodiments, the transaction risk processing device 1 includes a data acquisition module 11, a simulation module 12 and a model iteration module 13, which are specifically used to:

[0101] The data acquisition module 11 is used to acquire an initial transaction risk processing model for a transaction risk processing scenario, and use a time series prediction large model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior;

[0102] A simulation module 12 is used to control the transaction twin digital object in the transaction twin system to perform a user behavior simulation operation on the predicted user risk behavior, perform risk control processing on the user behavior simulation operation based on the initial transaction risk processing model, and determine the simulation transaction result for the transaction risk processing scenario after the risk control processing;

[0103] The model iteration module 13 is used to perform model iteration processing on the initial transaction risk processing model based on the expected transaction result and the simulated transaction result to obtain the transaction risk processing model after the model iteration processing.

[0104] Optionally, the model iteration module 13 includes:

[0105] A first iteration unit, configured to obtain an expected transaction result for the transaction risk processing scenario, and determine a model iteration result for the initial transaction risk processing model based on the expected transaction result and the simulated transaction result;

[0106] A second iteration unit is used for, if the model iteration result is an iteration incomplete type, obtaining an attribution analysis result for the initial transaction risk processing model, performing model iteration update on the initial transaction risk processing model based on the attribution analysis result to obtain a reference transaction risk processing model, using the reference transaction risk processing model as the initial transaction risk processing model and executing the steps of obtaining the initial transaction risk processing model for the transaction risk processing scenario, and performing user risk behavior prediction processing on the transaction risk processing scenario using a time series prediction large model to obtain predicted user risk behavior;

[0107] The third iteration unit is used to obtain the transaction risk processing model after the model iteration processing if the model iteration result is the iteration completion type, and synchronize the transaction risk processing model to the risk control online system corresponding to the transaction risk processing scenario, so as to perform risk control processing based on the transaction risk processing model in the risk control online system.

[0108] Optionally, the first iteration unit includes:

[0109] An attribution analysis unit, configured to perform attribution analysis processing based on the expected transaction result and the simulated transaction result to obtain an attribution analysis result;

[0110] An iteration result determining unit is used to determine a model iteration result for the initial transaction risk processing model based on the attribution analysis result.

[0111] Optional, attribution analysis unit, specifically used to:

[0112] The expected transaction result and the simulated transaction result are input into an attribution analysis model for attribution analysis processing, and an attribution analysis result is output.

[0113] Optionally, an iteration result determination unit is specifically used to:

[0114] Acquire a model iteration mapping relationship, where the model iteration mapping relationship includes at least one reference influencing factor and a reference iteration type corresponding to the reference influencing factor;

[0115] At least one target influencing factor is determined from the attribution analysis result, a target iteration type corresponding to the target influencing factor is searched in the model iteration mapping relationship, and a model iteration result for the initial transaction risk processing model is determined based on the target iteration type.

[0116] Optionally, the second iteration unit is specifically used for:

[0117] A model adjustment plan is determined based on the attribution analysis result, and the model adjustment plan is used to iteratively update the initial transaction risk processing model to obtain a reference transaction risk processing model.

[0118] Optionally, the transaction risk processing device 1 is further used for:

[0119] Create an initial time series forecasting model for transaction risk processing scenarios;

[0120] Determine historical period sample behavior data, and label the historical period sample behavior data with a target period risk behavior label;

[0121] The historical period sample behavior data is used to perform at least one round of model training on the initial time series prediction large model. During the model training process, the initial time series prediction large model is used to predict user risk behavior on the historical period sample behavior data to obtain predicted target period risk behavior. Based on the predicted target period risk behavior and the target period risk behavior label, the model parameters of the initial time series prediction large model are adjusted to obtain the time series prediction large model after model training.

[0122] Optionally, the data acquisition module 11 includes:

[0123] A data determination unit, used to determine the user transaction behavior data located within the time series sliding window in the transaction risk processing scenario;

[0124] The behavior prediction unit is used to generate risk behavior prediction prompt words based on the user transaction behavior data, input the risk behavior prediction prompt words and the user transaction behavior data into the time series prediction large model to predict risk behavior, and obtain predicted user risk behavior.

[0125] Optionally, the data determination unit is specifically used to:

[0126] Acquire historical user transaction behavior data in the transaction risk processing scenario, and determine target user transaction behavior data based on the historical user transaction behavior data;

[0127] Determine first user transaction behavior data within a target time series sliding window based on the historical user transaction behavior data and the target user transaction behavior data, and determine third user transaction behavior data based on the first user transaction behavior data, wherein the third user transaction behavior data is generated after the target user transaction behavior data;

[0128] Determine second user transaction behavior data based on the first user transaction behavior data and the third user transaction behavior data, and determine fourth user transaction behavior data based on the second user transaction behavior data, wherein the fourth user transaction behavior data is generated after the third user transaction behavior data;

[0129] confirming the historical user transaction behavior data, the target user transaction behavior data, the third user transaction behavior data, and the fourth user transaction behavior data as user transaction behavior data;

[0130] Among them, the time series sliding window corresponding to the historical user transaction behavior data is the previous time series sliding window of the target time series sliding window, and the time series sliding window corresponding to the second user transaction behavior data is the next time series sliding window of the target time series sliding window.

[0131] Optionally, the simulation module 12 is specifically used for:

[0132] Determine a transaction evaluation indicator for the transaction risk processing scenario, and determine transaction evaluation indicator data of the transaction evaluation indicator in the transaction twin system;

[0133] A simulation transaction result for the transaction risk handling scenario is determined based on the transaction evaluation indicator data.

[0134] Please refer to Figure 6, which shows a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of this specification. The electronic device in this specification may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.

[0135] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions and processes data of the terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0136] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an IOS system developed by Apple, including a system deeply developed based on the IOS system or other systems.

[0137] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0138] The input device 130 is used to receive input commands or data, and includes but is not limited to a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used to output commands or data, and includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays.

[0139] The touch display screen can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of this specification.

[0140] In addition, those skilled in the art will appreciate that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module and other components, which will not be described in detail here.

[0141] exist Figure 6In the electronic device shown, the processor 110 may be used to call the program of the transaction risk processing method stored in the memory 120, and specifically perform the following operations:

[0142] An initial transaction risk processing model for a transaction risk processing scenario is obtained, and a time series prediction large model is used to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior;

[0143] In the transaction twin system, the transaction twin digital object is controlled to perform a user behavior simulation operation on the predicted user risk behavior, risk control processing is performed on the user behavior simulation operation based on the initial transaction risk processing model, and a simulation transaction result for the transaction risk processing scenario is determined after the risk control processing;

[0144] The initial transaction risk processing model is iterated based on the expected transaction result and the simulated transaction result to obtain a transaction risk processing model after the iterative model processing.

[0145] In one embodiment, when the processor 110 performs the step of performing model iteration processing on the initial transaction risk processing model based on the expected transaction result and the simulated transaction result to obtain the transaction risk processing model after the model iteration processing, the processor 110 specifically performs the following operations:

[0146] Acquire an expected transaction result for the transaction risk processing scenario, and determine a model iteration result for the initial transaction risk processing model based on the expected transaction result and the simulated transaction result;

[0147] If the model iteration result is an incomplete iteration type, obtaining an attribution analysis result for the initial transaction risk processing model, performing model iteration update on the initial transaction risk processing model based on the attribution analysis result to obtain a reference transaction risk processing model, using the reference transaction risk processing model as the initial transaction risk processing model and executing the steps of obtaining an initial transaction risk processing model for a transaction risk processing scenario, and performing user risk behavior prediction processing on the transaction risk processing scenario using a time series prediction large model to obtain predicted user risk behavior;

[0148] If the model iteration result is an iteration completion type, the transaction risk processing model after the model iteration processing is obtained, and the transaction risk processing model is synchronized to the risk control online system corresponding to the transaction risk processing scenario, so as to perform risk control processing based on the transaction risk processing model in the risk control online system.

[0149] In one embodiment, when the processor 110 executes the step of determining the model iteration result for the initial transaction risk processing model based on the expected transaction result and the simulated transaction result, the processor 110 specifically performs the following operations:

[0150] Performing attribution analysis processing based on the expected transaction result and the simulated transaction result to obtain an attribution analysis result;

[0151] A model iteration result for the initial transaction risk processing model is determined based on the attribution analysis result.

[0152] In one embodiment, when the processor 110 executes the step of performing attribution analysis processing based on the expected transaction result and the simulated transaction result to obtain the attribution analysis result, the processor 110 specifically performs the following operations:

[0153] The expected transaction result and the simulated transaction result are input into an attribution analysis model for attribution analysis processing, and an attribution analysis result is output.

[0154] In one embodiment, when the processor 110 executes the step of determining the model iteration result for the initial transaction risk processing model based on the attribution analysis result, the processor 110 specifically performs the following operations:

[0155] Acquire a model iteration mapping relationship, where the model iteration mapping relationship includes at least one reference influencing factor and a reference iteration type corresponding to the reference influencing factor;

[0156] At least one target influencing factor is determined from the attribution analysis result, a target iteration type corresponding to the target influencing factor is searched in the model iteration mapping relationship, and a model iteration result for the initial transaction risk processing model is determined based on the target iteration type.

[0157] In one embodiment, when the processor 110 performs the step of iteratively updating the initial transaction risk processing model based on the attribution analysis result to obtain a reference transaction risk processing model, the following operations are specifically performed:

[0158] A model adjustment plan is determined based on the attribution analysis result, and the model adjustment plan is used to iteratively update the initial transaction risk processing model to obtain a reference transaction risk processing model.

[0159] In one embodiment, before executing the method of using the time series prediction big model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior, the processor 110 further performs the following operations:

[0160] Create an initial time series forecasting model for transaction risk processing scenarios;

[0161] Determine historical period sample behavior data, and label the historical period sample behavior data with a target period risk behavior label;

[0162] The historical period sample behavior data is used to perform at least one round of model training on the initial time series prediction large model. During the model training process, the initial time series prediction large model is used to predict user risk behavior on the historical period sample behavior data to obtain predicted target period risk behavior. Based on the predicted target period risk behavior and the target period risk behavior label, the model parameters of the initial time series prediction large model are adjusted to obtain the time series prediction large model after model training.

[0163] In one embodiment, when the processor 110 executes the step of using the time series prediction big model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior, the following operations are specifically performed:

[0164] Determining user transaction behavior data within a time series sliding window in the transaction risk processing scenario;

[0165] A risk behavior prediction prompt word is generated based on the user transaction behavior data, and the risk behavior prediction prompt word and the user transaction behavior data are input into the time series prediction large model to perform risk behavior prediction to obtain a predicted user risk behavior.

[0166] In one embodiment, when the processor 110 executes the step of determining the user transaction behavior data located within the time series sliding window in the transaction risk processing scenario, the processor 110 specifically performs the following operations:

[0167] Acquire historical user transaction behavior data in the transaction risk processing scenario, and determine target user transaction behavior data based on the historical user transaction behavior data;

[0168] Determine first user transaction behavior data within a target time series sliding window based on the historical user transaction behavior data and the target user transaction behavior data, and determine third user transaction behavior data based on the first user transaction behavior data, wherein the third user transaction behavior data is generated after the target user transaction behavior data;

[0169] Determine second user transaction behavior data based on the first user transaction behavior data and the third user transaction behavior data, and determine fourth user transaction behavior data based on the second user transaction behavior data, wherein the fourth user transaction behavior data is generated after the third user transaction behavior data;

[0170] confirming the historical user transaction behavior data, the target user transaction behavior data, the third user transaction behavior data, and the fourth user transaction behavior data as user transaction behavior data;

[0171] Among them, the time series sliding window corresponding to the historical user transaction behavior data is the previous time series sliding window of the target time series sliding window, and the time series sliding window corresponding to the second user transaction behavior data is the next time series sliding window of the target time series sliding window.

[0172] In one embodiment, when executing the step of determining the simulated transaction result for the transaction risk processing scenario, the processor 110 specifically performs the following operations:

[0173] Determine a transaction evaluation indicator for the transaction risk processing scenario, and determine transaction evaluation indicator data of the transaction evaluation indicator in the transaction twin system;

[0174] A simulation transaction result for the transaction risk handling scenario is determined based on the transaction evaluation indicator data.

[0175] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this specification are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the object characteristics, interactive behavior characteristics and user information involved in this specification are all obtained with full authorization. For example, the user lending behavior, credit behavior data, historical user behavior data, risk behavior data, user transaction behavior data, etc. involved in the embodiments of this specification are all obtained with full authorization.

[0176] The embodiments of this specification also provide a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the transaction risk processing device described in the above embodiments.

[0177] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of this specification can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.

[0178] The above description is only an optional embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the protection scope of this specification.

[0179] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A transaction risk management method, the method comprising: An initial transaction risk processing model for a transaction risk processing scenario is obtained, and a time series prediction large model is used to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior; In the transaction twin system, the transaction twin digital object is controlled to perform a user behavior simulation operation on the predicted user risk behavior, risk control processing is performed on the user behavior simulation operation based on the initial transaction risk processing model, and a simulation transaction result for the transaction risk processing scenario is determined after the risk control processing; The initial transaction risk processing model is iterated based on the expected transaction result and the simulated transaction result to obtain a transaction risk processing model after the iterative model processing.

2. The method according to claim 1, wherein the initial transaction risk processing model is iterated based on the expected transaction result and the simulated transaction result to obtain the transaction risk processing model after the model iteration, comprising: Acquire an expected transaction result for the transaction risk processing scenario, and determine a model iteration result for the initial transaction risk processing model based on the expected transaction result and the simulated transaction result; If the model iteration result is an incomplete iteration type, obtaining an attribution analysis result for the initial transaction risk processing model, performing model iteration update on the initial transaction risk processing model based on the attribution analysis result to obtain a reference transaction risk processing model, using the reference transaction risk processing model as the initial transaction risk processing model and executing the steps of obtaining an initial transaction risk processing model for a transaction risk processing scenario, and performing user risk behavior prediction processing on the transaction risk processing scenario using a time series prediction large model to obtain predicted user risk behavior; If the model iteration result is an iteration completion type, the transaction risk processing model after the model iteration processing is obtained, and the transaction risk processing model is synchronized to the risk control online system corresponding to the transaction risk processing scenario, so as to perform risk control processing based on the transaction risk processing model in the risk control online system.

3. The method according to claim 2, wherein determining a model iteration result for the initial transaction risk processing model based on the expected transaction result and the simulated transaction result comprises: Performing attribution analysis processing based on the expected transaction result and the simulated transaction result to obtain an attribution analysis result; A model iteration result for the initial transaction risk processing model is determined based on the attribution analysis result.

4. The method according to claim 3, wherein the attribution analysis based on the expected transaction result and the simulated transaction result is performed to obtain the attribution analysis result, comprising: The expected transaction result and the simulated transaction result are input into an attribution analysis model for attribution analysis processing, and an attribution analysis result is output.

5. The method according to claim 3, wherein determining a model iteration result for the initial transaction risk processing model based on the attribution analysis result comprises: Acquire a model iteration mapping relationship, where the model iteration mapping relationship includes at least one reference influencing factor and a reference iteration type corresponding to the reference influencing factor; At least one target influencing factor is determined from the attribution analysis result, a target iteration type corresponding to the target influencing factor is searched in the model iteration mapping relationship, and a model iteration result for the initial transaction risk processing model is determined based on the target iteration type.

6. The method according to claim 2, wherein the iterative updating of the initial transaction risk processing model based on the attribution analysis result to obtain a reference transaction risk processing model comprises: A model adjustment plan is determined based on the attribution analysis result, and the model adjustment plan is used to iteratively update the initial transaction risk processing model to obtain a reference transaction risk processing model.

7. The method according to claim 1, before using the time series prediction big model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior, further comprising: Create an initial time series forecasting model for transaction risk processing scenarios; Determine historical period sample behavior data, and label the historical period sample behavior data with a target period risk behavior label; The historical period sample behavior data is used to perform at least one round of model training on the initial time series prediction large model. During the model training process, the initial time series prediction large model is used to predict user risk behavior on the historical period sample behavior data to obtain predicted target period risk behavior. Based on the predicted target period risk behavior and the target period risk behavior label, the model parameters of the initial time series prediction large model are adjusted to obtain the time series prediction large model after model training.

8. According to the method of claim 1, the step of using a time series prediction big model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior comprises: Determining user transaction behavior data within a time series sliding window in the transaction risk processing scenario; A risk behavior prediction prompt word is generated based on the user transaction behavior data, and the risk behavior prediction prompt word and the user transaction behavior data are input into the time series prediction large model to perform risk behavior prediction to obtain a predicted user risk behavior.

9. According to the method of claim 8, the determining of the user transaction behavior data in the transaction risk processing scenario within the time series sliding window comprises: Acquire historical user transaction behavior data in the transaction risk processing scenario, and determine target user transaction behavior data based on the historical user transaction behavior data; Determine first user transaction behavior data within a target time series sliding window based on the historical user transaction behavior data and the target user transaction behavior data, and determine third user transaction behavior data based on the first user transaction behavior data, wherein the third user transaction behavior data is generated after the target user transaction behavior data; Determine second user transaction behavior data based on the first user transaction behavior data and the third user transaction behavior data, and determine fourth user transaction behavior data based on the second user transaction behavior data, wherein the fourth user transaction behavior data is generated after the third user transaction behavior data; confirming the historical user transaction behavior data, the target user transaction behavior data, the third user transaction behavior data, and the fourth user transaction behavior data as user transaction behavior data; Among them, the time series sliding window corresponding to the historical user transaction behavior data is the previous time series sliding window of the target time series sliding window, and the time series sliding window corresponding to the second user transaction behavior data is the next time series sliding window of the target time series sliding window.

10. The method according to claim 1, wherein determining the simulated transaction result for the transaction risk handling scenario comprises: Determine a transaction evaluation indicator for the transaction risk processing scenario, and determine transaction evaluation indicator data of the transaction evaluation indicator in the transaction twin system; A simulation transaction result for the transaction risk handling scenario is determined based on the transaction evaluation indicator data.

11. A transaction risk processing device, the device comprising: A data acquisition module is used to acquire an initial transaction risk processing model for a transaction risk processing scenario, and use a time series prediction model to perform user risk behavior prediction processing on the transaction risk processing scenario to obtain predicted user risk behavior; A simulation module is used to control the transaction twin digital object in the transaction twin system to perform a user behavior simulation operation on the predicted user risk behavior, perform risk control processing on the user behavior simulation operation based on the initial transaction risk processing model, and determine the simulation transaction result for the transaction risk processing scenario after the risk control processing; The model iteration module is used to perform model iteration processing on the initial transaction risk processing model based on the expected transaction result and the simulated transaction result to obtain the transaction risk processing model after the model iteration processing.

12. A computer storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 10.

13. A computer program product, wherein the computer program product stores at least one instruction, wherein the at least one instruction is loaded by a processor and executes the method according to any one of claims 1 to 10.

14. An electronic device comprising: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Risk regulation / model establishing and optimizing system and method based on network on-line service

    CN101504745A

  • Data processing method and device, computing equipment and storage medium

    CN110046779A

  • Data evaluation method and device based on machine learning, equipment and storage medium

    CN114493896A

  • Risk control decision rule optimization method and system, terminal and storage medium

    CN115829717A

  • Strategy adjustment method and device, terminal and storage medium

    CN116012138A

Cited By

  • Airport core risk whole-process management method based on dual prevention working mechanism

    CN120410189A

  • Airport core risk whole-process management method based on double prevention working mechanism

    CN120410189B

  • High-risk operation intelligent supervision system based on reinforcement learning

    CN121189803A