Model training method and device, electronic equipment, storage medium and product

By constructing a dynamic label self-generation and model training process on the data holder side, and utilizing the time-series sliding window algorithm and differentiated label logic, the problems of privacy compliance and data sparsity in financial risk control are solved, achieving accurate prediction of changes in customer asset status and improving the model's generalization ability.

CN123138783APending Publication Date: 2026-11-20MINSHENG BANKING CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611127192.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-28
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies in financial risk control suffer from data gaps due to privacy compliance, static labels failing to reflect future trends, and insufficient sample coverage due to data sparsity, making it impossible to effectively identify customer groups with recovery potential among existing non-performing assets.

Method used

By constructing a dual-track dynamic label self-generation and model training process on the data holder side, the time-series sliding window algorithm is used to process customer data, generate binary dynamic trend labels, and adopt differentiated label logic for different sample types to build a model sample set and train a classification model.

Benefits of technology

It enables model training without external label input under privacy compliance constraints, accurately identifies trends in customer asset status changes, improves the model's generalization ability in lower-tier customer groups, and covers both mainstream and long-tail customer groups.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138783A_ABST
    Figure CN123138783A_ABST
Patent Text Reader

Abstract

The application provides a model training method and device, electronic equipment, storage medium and product. The method comprises: obtaining a target customer group determined in a computing environment of a data holder; processing original heterogeneous data containing time sequence transaction behaviors of the target customer group by using a time sequence sliding window algorithm to obtain time sequence characteristic samples; dividing the time sequence characteristic samples according to corresponding score field information of the time sequence characteristic samples to obtain first type samples and second type samples; the first type samples are samples with continuous scores, and the second type samples are samples missing score field information but containing transaction behavior logs; generating binary dynamic trend labels corresponding to the first type samples and the second type samples based on a preset trend observation window; constructing a model sample set according to the first type samples, the second type samples and the corresponding binary dynamic trend labels; and training a classification model for predicting future state trend information of a customer based on the model sample set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial risk control technology, and in particular to a model training method, apparatus, electronic device, storage medium and product. Background Technology

[0002] In the fields of financial risk control and existing asset management, joint modeling is typically involved between a first institution (the business party) and a second institution (the data party). Traditional joint modeling relies on "sample alignment and label sharing." The first institution sends customer IDs and their corresponding Y labels (such as good / bad customers) to the second institution, which then uses these Y labels and its feature data (X) for supervised training.

[0003] The existing technical solutions have the following drawbacks: I. Data Disruption Due to Privacy Compliance: With the implementation of the Personal Information Protection Law, the first organization is unable to transmit its core Y-tags to external entities. This results in the second organization possessing massive amounts of feature data but being unable to build models due to a lack of training targets.

[0004] Second, static labels cannot reflect future trends: Current technologies mostly classify customers statically based on historical performance (T-1) (such as "overdue"). For existing non-performing assets, their static labels are "bad" for a long time, lacking differentiation and failing to identify the subgroups that are "improving" or "have recovery potential".

[0005] Third, insufficient sample coverage due to data sparsity: Traditional scoring models (such as wealth scores) often fail to cover all long-tail customers (customers without scores). Existing technologies typically directly exclude samples without scores, resulting in extremely poor generalization ability of the model in lower-tier customer groups. Summary of the Invention

[0006] The technical problem to be solved by the embodiments of this application is to provide a model training method, device, electronic device, storage medium and product to solve the problem of the unresolved prediction ability of assets changing over time in the existing technical solutions, the inability to identify the future upward or downward trend of customer asset status, and thus the inability to meet the demand for improved forward-looking collection in the context of the continuous increase of bad customers.

[0007] In a first aspect, embodiments of this application provide a model training method, including: The target customer group is identified within the data holder's computing environment; wherein, the target customer group refers to a customer group with overdue repayment behavior; Using a time-series sliding window algorithm, the original heterogeneous data containing time-series transaction behaviors of the target customer group are processed to obtain time-series feature samples; Based on the scoring field information corresponding to the time-series feature samples, the time-series feature samples are divided into a first type of sample and a second type of sample; wherein, the first type of sample is a sample with continuous scoring, and the second type of sample is a sample with missing scoring field information but containing transaction behavior logs; Based on a preset trend observation window, binary dynamic trend labels are generated for the first type of sample and the second type of sample, respectively. A model sample set is constructed based on the first type of samples, the second type of samples, and the corresponding binary dynamic trend labels; A classification model for predicting future customer status trends is trained based on the model sample set.

[0008] Secondly, embodiments of this application provide a model training apparatus, including: The customer acquisition module is used to acquire the target customer group determined in the computing environment of the data holder; wherein, the target customer group refers to the customer group with overdue repayment behavior; The sample acquisition module is used to process the original heterogeneous data containing time-series transaction behavior of the target customer group using a time-series sliding window algorithm to obtain time-series feature samples. The sample segmentation module is used to segment the time-series feature samples according to the scoring field information corresponding to the time-series feature samples to obtain a first type of sample and a second type of sample; wherein, the first type of sample is a sample with continuous scoring, and the second type of sample is a sample with missing scoring field information but containing transaction behavior logs. The label generation module is used to generate binary dynamic trend labels for the first type of samples and the second type of samples based on a preset trend observation window. The sample set construction module is used to construct a model sample set based on the first type of sample, the second type of sample, and the corresponding binary dynamic trend label; The model training module is used to train a classification model based on the model sample set to predict the future state trend information of customers.

[0009] Thirdly, embodiments of this application provide an electronic device, including: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the model training method described in the first aspect above.

[0010] Fourthly, embodiments of this application provide a computer-readable storage medium that, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the model training method described in the first aspect.

[0011] Fifthly, embodiments of this application provide a computer program product containing instructions, on which a computer program is stored, which, when run on a computer, causes the computer to execute the model training method described in the first aspect above.

[0012] Compared with the prior art, the embodiments of this application have the following advantages: In this embodiment, by constructing a dual-track dynamic label self-generation and model training process on the data source side, firstly, it eliminates the need to rely on external training labels transmitted by the data holder. Standardized training targets can be generated solely from the existing data, fundamentally resolving the data gap problem caused by the inability to transmit labels across institutions under privacy compliance constraints, and enabling cold start of the model in scenarios without external label input. Secondly, by introducing a preset trend observation window to construct binary dynamic trend labels, the dimension of customer asset judgment is expanded from historical static state assessment to future trend prediction. This breaks the limitations of long-term homogeneity and lack of differentiation in static labels for existing non-performing customer groups, enabling accurate identification of sub-groups with potential for improvement in non-performing assets. Simultaneously, addressing differences in sample data abundance, differentiated label logic is applied to samples with continuous ratings and samples with missing ratings, using rating gradient judgment and transaction behavior proxy indicator judgment respectively. This fully covers both mainstream customer groups and long-tail unrated customer groups, avoiding the insufficient sample coverage problem caused by excluding unrated samples in traditional solutions, and significantly improving the model's generalization ability among lower-tier customer groups.

[0013] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0014] Figure 1 A flowchart illustrating the steps of a model training method provided in this application embodiment; Figure 2 A schematic diagram of a system architecture provided for an embodiment of this application; Figure 3 A flowchart illustrating the construction of feature samples based on a time-series sliding window is provided in this application embodiment; Figure 4 A flowchart for generating dynamic trend labels is provided as an embodiment of this application; Figure 5 A schematic diagram of a model training process provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a model training device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0015] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0016] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0017] Reference Figure 1 The flowchart illustrates the steps of a model training method provided in an embodiment of this application, as follows: Figure 1 As shown, the model training method may include steps 101 to 106.

[0018] Step 101: Obtain the target customer group determined in the data holder's computing environment; wherein, the target customer group refers to the customer group with overdue repayment behavior.

[0019] In this embodiment, the computing environment of the data holder is the first computing environment. This embodiment can also be applied to the data source side, where the computing environment of the data source side is the second computing environment. The primary computing environment refers to the data holder's internal network environment. Due to privacy compliance restrictions, core business tags (such as overdue status and repayment records) within this environment cannot be output.

[0020] The second computing environment is the computing environment of the data source, which has a massive amount of unstructured transaction logs and is responsible for feature engineering and model training.

[0021] The target customer group refers to the group of individual loan or credit card customers identified by the data holder who have overdue repayment behavior, i.e., the existing non-performing asset customer group.

[0022] Overdue repayment behavior refers to the customer's failure to repay the principal and interest of the loan within the agreed time, which is determined by quantitative indicators such as the number of overdue periods and the cumulative number of overdue days.

[0023] Within the data holder's computing environment, basic business data such as customer identification, credit history, and loan account status can be acquired, and the number of overdue periods and cumulative overdue days for each customer can be calculated. Based on preset non-performing asset assessment rules, customers corresponding to personal loans and credit card accounts in a non-performing asset status are selected to form customer identifiers for the target customer group. Then, through a compliant and anonymized transmission channel, the identifier information of the target customer group is synchronized to the data source's computing environment.

[0024] At this point, the data source can obtain the target customer group identified in the data holder's computing environment for subsequent dynamic trend tag generation and model training processes.

[0025] Step 102: Using the time-series sliding window algorithm, process the original heterogeneous data of the target customer group containing time-series transaction behavior to obtain time-series feature samples.

[0026] The time-series sliding window algorithm (also known as the time-series sliding window aggregation algorithm) is a feature extraction technique that calculates the statistical characteristics (such as mean, variance, and cumulative frequency) of the data within a window by sliding a fixed-length window on the time axis.

[0027] Original heterogeneous data refers to multi-source customer original data with differences in origin and structure. It can include various types of structured and semi-structured data such as customer attributes, transaction records, behavioral patterns, and asset information.

[0028] Temporal feature samples are structured sample data obtained after processing by temporal sliding windows. They are carried by a temporal feature matrix and contain statistical features of multiple time windows.

[0029] After identifying the target customer group, raw heterogeneous data containing time-series transaction behaviors of the target customer group can be obtained from the local database of the data source. Then, a time-series sliding window algorithm can be used to process the raw heterogeneous data to obtain time-series feature samples. This implementation process can be described in detail below.

[0030] In one implementation of this application, step 102 may include sub-steps A1 to A5.

[0031] Sub-step A1: Using the observation time point as the cutoff window, the original heterogeneous data is slid into multiple time windows by using preset sliding window parameters to obtain sub-sequence data.

[0032] In this embodiment, the observation time point is a fixed time node that serves as the cutoff point for feature statistics. It is the time reference for backtracking values ​​in the sliding window and corresponds to the reference time point for observing customer risk status.

[0033] The sliding window parameters are a set of configurable parameters used to control the rules of time-series sliding window operations. They can include parameters such as time window length, window sliding step size, and feature aggregation function.

[0034] Subsequence data are original data segments corresponding to a single time interval, obtained by cutting according to the sliding window rule. They are the smallest data units for single-window feature calculation.

[0035] After obtaining the raw heterogeneous data from the target customer, a preset observation time point can be used as the unified right endpoint of all windows. Pre-configured sliding window parameters are loaded, specifying the time window length and sliding step size. The system then traces back along the time axis from the observation time point, sliding the window sequentially with a fixed step size. Each slide extracts the raw heterogeneous data within the corresponding time interval, forming an independent subsequence data segment. After completing the full backtracking and sliding, multiple time window subsequence data are obtained, arranged chronologically.

[0036] Sub-step A2: Obtain the basic features corresponding to each of the sub-sequence data.

[0037] Basic features are raw feature fields extracted directly from the original data without any derivative operations.

[0038] After obtaining the subsequence data, field extraction operations can be performed on the subsequence data corresponding to each time window, according to data category: extract static attribute fields from customer attribute data, extract transaction detail fields from transaction log data, and extract operation behavior fields from behavior log data. All raw fields extracted from the original data without secondary processing constitute the basic features corresponding to the subsequence data.

[0039] Sub-step A3: Perform feature crossover and derivation processing on the basic features to generate derived features corresponding to each of the sub-sequence data.

[0040] Feature crossover and derivation processing generates new features by performing numerical transformations and multi-field arithmetic combinations on basic features, which are used to mine correlation information that cannot be directly reflected in the original fields.

[0041] Derived features are new features generated through feature cross-interaction, numerical transformation, and statistical processing, used to carry richer business logic and data association information.

[0042] After obtaining the basic features, preset feature processing rules can be executed for the set of basic features corresponding to each subsequence: numerical transformation and discrete binning are performed on single basic features to generate univariate derived features. Arithmetic combination operations (such as calculating the ratio of transaction amount to account balance) are performed on multiple basic features with business correlation to generate multivariate cross features. Finally, all the generated new features can be combined to form the derived features corresponding to the data of that subsequence.

[0043] Sub-step A4: Use a feature aggregation function to aggregate the derived features of each sub-sequence data to obtain the temporal feature vector for each time window.

[0044] Feature aggregation functions are computational functions used to statistically summarize multiple detailed data within a single window, and can convert discrete detailed data into dimensional feature values ​​of a single window.

[0045] After obtaining the derived features of each subsequence data, corresponding feature aggregation functions can be pre-matched for each feature dimension, including statistical functions such as counting, summation, mean, maximum, minimum, and standard deviation. For each time window's subsequence data, its corresponding derived features are input into the corresponding aggregation functions according to each dimension, and statistics are performed on multiple records within the window. Each dimension, after aggregation calculation, yields a feature value. The feature values ​​of all dimensions are arranged in a fixed order to obtain the time-series feature vector corresponding to that time window.

[0046] Sub-step A5: Concatenate the time-series feature vectors of all time windows in chronological order to generate a time-series feature matrix, and use the time-series feature matrix as the time-series feature sample.

[0047] After obtaining the temporal feature vectors, the temporal feature vectors corresponding to all time windows can be arranged sequentially according to the start and end times of each time window. Subsequently, the temporal feature vectors are concatenated according to a unified dimensionality rule to form a structured feature matrix, which is the temporal feature matrix. This temporal feature matrix can be used as the final temporal feature sample for subsequent sample partitioning and model training.

[0048] This application transforms discrete, multi-source heterogeneous raw data into a standardized time-series feature matrix through a hierarchical and progressive time-series sliding window feature processing flow. This not only fully preserves the time-dimensional change patterns of customer behavior, but also enriches the feature dimensions through feature cross-derivation.

[0049] Step 103: Based on the scoring field information corresponding to the time-series feature samples, divide the time-series feature samples into a first type of sample and a second type of sample; wherein, the first type of sample is a sample with continuous scoring, and the second type of sample is a sample with missing scoring field information but containing transaction behavior logs.

[0050] The rating field information refers to the field that identifies whether the sample contains continuous property rating data.

[0051] The first type of sample is a sample with complete and continuous time series data of property scores. Trend labels can be directly defined based on score changes, and it can also be called an explicit trend sample.

[0052] Continuous scoring is a customer asset / wealth score that is updated at fixed periods and whose values ​​are continuously comparable. It is used to quantify the customer's asset level and dynamic changes.

[0053] The second type of sample consists of samples that lack property rating data but retain complete transaction behavior logs. Trend labels need to be defined indirectly through proxy indicators, and these can also be called implicit trend samples.

[0054] Transaction behavior logs are time-series log data that records information such as the time of a customer's account transaction, the transaction result, and the transaction amount.

[0055] After obtaining the time-series feature samples, all time-series feature samples can be traversed to verify whether each sample contains a valid continuous property rating field. Using "whether complete and continuous property rating time-series data exists" as the splitting condition, the samples are divided into two sample queues through the conditional splitting module: samples containing continuous property rating data are marked as the first type of sample, and samples lacking property ratings but containing complete transaction behavior logs are marked as the second type of sample.

[0056] Step 104: Based on the preset trend observation window, generate binary dynamic trend labels corresponding to the first type of sample and the second type of sample respectively.

[0057] The trend observation window is used to observe changes in the status of customer assets and define the future time interval of the tag performance period. The range is from the observation point T to T+N, which is the time boundary for generating dynamic trend tags.

[0058] Binary dynamic trend labels are binary labels that identify the direction of change in a client's asset status within a trend observation window. They can include both positive and negative trend labels.

[0059] After obtaining the first and second types of samples, binary dynamic trend labels corresponding to the first and second types of samples can be generated using a preset trend observation window. This implementation process can be described in detail below.

[0060] In one implementation of this application, step 104 may include sub-steps B1 to B3.

[0061] Sub-step B1: Obtain the property rating tier sequence data of the first type of sample within the trend observation window, and the transaction behavior log data of the second type of sample within the trend observation window.

[0062] In this embodiment, the property score tier sequence data is a time-series data sequence composed of the property score tier values ​​corresponding to each customer at each time point, arranged in chronological order within the trend observation window. It is the basic data for calculating the tier change trend.

[0063] After identifying the first and second types of samples, the time range for data extraction can be determined based on the start and end times of the preset trend observation window. For the first type of sample, the asset rating tier values ​​corresponding to all points within this time range can be extracted and sorted chronologically to form a continuous asset rating tier sequence. For the second type of sample, all transaction behavior log data within this time range can be extracted, retaining fields such as transaction time and transaction result.

[0064] Sub-step B2: Determine the binary dynamic trend label corresponding to the first type of sample based on the gradient of changes in the property rating tier sequence data.

[0065] The gradient of asset rating levels is the first derivative of the asset rating level sequence, used to quantify the direction and magnitude of changes in asset rating levels over time.

[0066] After obtaining the property rating tier sequence data for the first type of sample, the binary dynamic trend label corresponding to the first type of sample can be determined based on the tier change gradient corresponding to the property rating tier sequence data. This implementation process can be described in detail below.

[0067] In one implementation of this application, the above sub-step B2 may include: sub-steps C1 to C3.

[0068] Sub-step C1: Calculate the first derivative of the property rating tier sequence data of the first type of sample within the trend observation window to obtain the tier change gradient.

[0069] The first derivative is the rate of change of property rating levels in discrete time series scenarios, calculated by the ratio of the difference between property rating levels at adjacent time points to the corresponding time interval. It is used to quantify the magnitude and direction of the change of property rating levels per unit time and is the basic value for calculating the gradient of level change.

[0070] After obtaining the asset rating tier sequence data, the first derivative of the asset rating tier sequence data for the first type of sample within the trend observation window can be calculated, and this first derivative value can be used as the tier change gradient. Specifically, time alignment processing is performed on the asset rating tier sequence of the first type of sample within the trend observation window to ensure that the tier values ​​are arranged in an orderly manner at equal time intervals. Subsequently, the difference between the tier values ​​of every two adjacent time points in the sequence can be calculated sequentially, and the difference can be divided by the corresponding time interval to obtain the first derivative value corresponding to each time step. Afterward, the first derivative values ​​of all time steps within the entire window can be summarized to obtain the tier change gradient that can characterize the overall trend of tier changes within the entire trend observation window.

[0071] Sub-step C2: When the gradient of the change in the grade is greater than or equal to 0, and the property rating grade in the trend observation window is greater than or equal to the preset grade threshold, determine that the label corresponding to the first type of sample is a positive trend label.

[0072] The preset threshold is a pre-defined critical value for the property rating level, used to divide customers into high and low levels of property level. It is a benchmark configuration parameter for determining the range in which a customer's asset status falls.

[0073] After obtaining the gradient of the gear change, the calculated gradient can be compared with the value 0. Simultaneously, the property score gear values ​​at all points in time within the trend observation window can be compared with preset gear thresholds. When both "gear change gradient is greater than or equal to 0" and "all property score gear values ​​within the trend observation window are continuously greater than or equal to the preset gear thresholds" are met, the binary dynamic trend label corresponding to this first type of sample can be determined as a positive trend label.

[0074] Sub-step C3: When the gradient of the change in the grade is less than 0, or when the property rating grade in the trend observation window is less than or equal to the preset grade threshold, determine that the label corresponding to the first type of sample is a negative trend label.

[0075] Simultaneously, the calculated gradient of the grade change can be compared with the value of 0, and the property score grade values ​​at all time points within the trend observation window can be compared one by one with the preset grade threshold. When either "the gradient of the grade change is less than 0" or "all property score grade values ​​within the trend observation window are continuously less than or equal to the preset grade threshold", the binary dynamic trend label corresponding to the first type of sample can be determined to be a negative trend label.

[0076] This application uses a dual-dimensional joint judgment rule based on the direction of trend change and the threshold of asset level to standardize trend labeling for customers with continuous scores. This not only distinguishes the trend of changes in customer assets but also limits the basic level of assets. The label judgment logic is rigorous and reproducible, providing high-quality scored sample training targets for model training.

[0077] Sub-step B3: Based on the threshold comparison results of the transaction behavior proxy indicators in the transaction behavior log data, determine the binary dynamic trend label corresponding to the second type of sample.

[0078] The transaction behavior proxy indicator is a transaction-related substitute indicator selected for samples with missing property scores, which can indirectly reflect the client's asset status and fund activity.

[0079] The threshold comparison result is obtained by comparing the statistically calculated value of the transaction behavior proxy indicator with the preset judgment threshold.

[0080] After obtaining the transaction behavior log data, the binary dynamic trend label corresponding to the second type of sample can be determined based on the threshold comparison results of the transaction behavior proxy indicators in the transaction behavior log data. This implementation process can be described in detail below.

[0081] In one implementation of this application, the above sub-step B3 may include: sub-steps D1 to D3.

[0082] Sub-step D1: Calculate the cumulative number of failed trading days for the second type of sample within the trend observation window.

[0083] In this embodiment, the cumulative number of failed transaction days is the total number of natural days within the trend observation window during which a customer's account has had at least one failed transaction. It is a quantitative proxy indicator used to indirectly reflect the activity of customer funds and the account's payment ability.

[0084] For the second type of sample, we can obtain the full transaction behavior logs of the second type of sample within the time interval; traverse all transaction records, identify and mark records with failed transaction results. Then, using natural days as the statistical granularity, we count the dates containing failed transaction records and accumulate them to obtain the cumulative value of the number of failed transaction days within the trend observation window.

[0085] Sub-step D2: When the cumulative number of failed transaction days is less than or equal to a preset threshold, determine that the label corresponding to the second type of sample is a positive trend label.

[0086] The preset threshold is a pre-configured critical value for the number of failed trading days. It is a benchmark parameter for classifying the trend label categories of the second type of samples and is used to distinguish between high and low levels of account fund activity.

[0087] After obtaining the cumulative number of days of failed transactions, the cumulative number of days of failed transactions can be compared with a preset threshold.

[0088] When the cumulative number of failed trading days is less than or equal to a preset threshold, the second type of sample is determined to meet the positive trend determination rule, and the binary dynamic trend label corresponding to the second type of sample is determined to be a positive trend label.

[0089] Sub-step D3: When the cumulative number of failed transaction days is greater than the preset threshold, determine that the label corresponding to the second type of sample is a negative trend label.

[0090] Meanwhile, when the cumulative number of failed trading days exceeds a preset threshold, the second type of sample is determined to meet the negative trend determination rule, and the binary dynamic trend label corresponding to the second type of sample is determined to be a negative trend label.

[0091] This application uses the number of failed transaction days as a proxy indicator to automatically generate standardized trend labels for long-tail customers with missing property scores. It completes the construction of training targets for unscored samples without the need for external label input, effectively filling the label gap for unscored samples in traditional solutions and expanding the coverage of modeling samples.

[0092] This application employs differentiated label generation logic for two types of samples with different data completeness. Without requiring external label input, it achieves both accurate trend determination for scored samples and label coverage for long-tail samples without scores, providing complete training objective support for model training of the full dataset.

[0093] Step 105: Construct a model sample set based on the first type of sample, the second type of sample, and the corresponding binary dynamic trend label.

[0094] After obtaining the binary dynamic trend labels corresponding to the first and second types of samples, a model sample set can be constructed based on the first and second types of samples and their corresponding binary dynamic trend labels. Specifically, the positive / negative trend labels of the two types of samples can be mapped to the same numerical code to ensure complete consistency in label caliber. The time-series feature data of the first and second types of samples are then bound one-to-one with their corresponding binary dynamic trend labels, forming "feature-label" paired sample units. Finally, all sample units from both types with completed label bindings are merged to form a unified dataset covering the entire target customer group, i.e., the model sample set.

[0095] Step 106: Train a classification model based on the model sample set to predict the future state trend information of customers.

[0096] After obtaining the model sample set, a classification model for predicting future customer state trends can be trained based on the model sample set. The model training process can be described in detail below.

[0097] In one implementation of this application, step 106 may include sub-steps E1 to E5.

[0098] Sub-step E1: Evaluate the correlation between the time-series feature matrix and the binary dynamic trend label in the model sample set to obtain the correlation evaluation result.

[0099] The correlation assessment result is a quantitative result of the degree of correlation between time-series features and labels, obtained by statistical methods, and is used to judge the explanatory power of features for target labels.

[0100] After obtaining the model sample set, the time-series feature matrix and corresponding binary dynamic trend labels can be acquired. A feature correlation statistical algorithm is then used to calculate the correlation degree between each time-series feature and the binary dynamic trend label dimension by dimension. Finally, the correlation calculation results for all features are summarized to obtain a complete correlation evaluation result.

[0101] Sub-step E2: When the correlation evaluation result meets the preset conditions, the time series feature matrix is ​​reduced in dimensionality using a feature filtering algorithm to obtain dimensionality-reduced time series feature samples.

[0102] The preset condition is a pre-defined threshold for judging the qualification of feature correlation, which is used to filter out features that have effective explanatory power for the label and eliminate valueless and redundant features.

[0103] Feature filtering algorithms are used to filter effective features from high-dimensional feature sets and reduce feature dimensionality. They can eliminate features that are not highly correlated with the label and are highly redundant, thereby compressing the feature space.

[0104] Dimensionality-reduced time series feature samples are time series feature samples that retain core effective features after feature selection and dimensionality reduction processing.

[0105] After obtaining the correlation assessment results, the correlation values ​​of each feature in the correlation assessment results can be compared with the preset conditions one by one to determine whether the features meet the correlation requirements. When the features as a whole meet the preset correlation qualification conditions, the feature filtering algorithm is called to perform dimensionality reduction processing on the time series feature matrix, eliminating feature dimensions that do not meet the correlation standards and are highly redundant, retaining the core effective features, and outputting the dimensionality-reduced time series feature samples.

[0106] Sub-step E3: Input the dimensionality-reduced time-series feature samples into the classification model to be trained, and obtain the property status trend prediction probability value output by the classification model to be trained.

[0107] The property status trend prediction probability value is the probability value output by the classification model to be trained, which represents the positive property trend of the customer. The value range can be from 0 to 1, and it is the direct output result of the model's forward calculation.

[0108] After obtaining the dimensionality-reduced temporal feature samples, the dimensionality-reduced temporal feature samples can be input into the classification model to be trained, and the configurable range of model parameters can be configured. The parameter range includes at least the following dimensions: feature weight coefficients, regularization coefficients, learning rate thresholds, and iteration number constraints.

[0109] The classification model to be trained can be trained on the customer's historical behavioral feature parameters (i.e., the dimensionality-reduced time series feature samples in this example) to generate a predicted probability value (i.e., the predicted probability value of property status trend) of the customer's property status improvement within a future time window. The historical behavioral feature parameters include, but are not limited to, customer transaction records, credit scores, and asset and liability data.

[0110] Sub-step E4: Based on the property status trend prediction probability value and the binary dynamic trend label corresponding to the dimensionality reduction time series feature sample, obtain the loss value of the classification model to be trained.

[0111] The loss value is a quantitative value of the deviation between the model's prediction and the true label, calculated using the loss function, and is used to measure the accuracy of the model's prediction.

[0112] After obtaining the property status trend prediction probability value, the property status trend prediction probability value of each sample and its corresponding binary dynamic trend label can be substituted into the loss function. The deviation between the prediction result and the true label is then quantified through function calculation to obtain the loss value of the classification model to be trained.

[0113] Sub-step E5: Iteratively adjust the parameters of the classification model to be trained based on the loss value until the model meets the preset convergence condition, and obtain the trained classification model.

[0114] Preset convergence conditions are pre-defined criteria for terminating model training. These typically include rules such as the loss value being below a threshold, the number of iterations reaching an upper limit, or the loss value not decreasing for multiple consecutive iterations.

[0115] After calculating the loss value, the gradients of each parameter of the model can be derived backward using the backpropagation algorithm based on the calculated loss value. The parameters of the classification model to be trained are then iteratively adjusted according to the preset optimization rules to reduce the loss value in the next round of training. The iterative process of forward prediction, loss calculation, and parameter adjustment is repeated until the model meets the preset convergence condition, at which point training stops and the trained classification model is output.

[0116] This application simplifies the feature space by evaluating and filtering feature correlations, eliminates redundant and invalid features to reduce the risk of model overfitting, and then follows a closed-loop supervised training process of forward prediction-loss calculation-parameter iteration to enable the model to learn the mapping relationship between features and property trends, ultimately obtaining a property trend prediction classification model with convergence stability and good generalization ability.

[0117] This application's embodiments construct a dual-track dynamic label self-generation and model training process on the data source side. First, it eliminates the need for external training labels transmitted by the data holder, generating standardized training targets solely from its own data. This fundamentally resolves the data gap problem caused by the inability to transmit labels across institutions under privacy compliance constraints, enabling cold start of the model in scenarios without external label input. Second, by introducing a preset trend observation window to construct binary dynamic trend labels, the dimension of customer asset judgment is expanded from historical static status assessment to future trend prediction. This breaks the limitations of long-term homogeneity and lack of differentiation in static labels for existing non-performing customer groups, enabling accurate identification of sub-groups with potential for improvement in non-performing assets. Simultaneously, addressing differences in sample data abundance, differentiated label logic is applied to samples with continuous ratings and samples with missing ratings, using rating gradient judgment and transaction behavior proxy indicator judgment respectively. This comprehensively covers both mainstream customer groups and long-tail unrated customer groups, avoiding the insufficient sample coverage problem caused by excluding unrated samples in traditional solutions, significantly improving the model's generalization ability among lower-tier customer groups.

[0118] Next, combined Figure 2 The system shown describes the technical solution of this application. This application provides a system for generating dynamic trend labels and training models using heterogeneous data features in an unsupervised labeling environment. Its core lies in defining "good" or "bad" by mining the temporal trends of data, rather than relying on external labels. For example... Figure 2 As shown, the system may include: a customer data feature module, a dual-track label generation module, and a model training module, wherein... The customer data feature acquisition module can acquire the data information of the required customers, set sliding windows, etc. The specific steps are as follows: (1) Determine the customer group: In the first computing environment, determine the required customer group and select bad loan customers; (2) Data transmission: Import the customer group in (1) into the second computing environment; (3) Feature acquisition: In the second computing environment, select the historical time points of these bad customers and acquire relevant data, including but not limited to customer attribute data, behavior data, transaction data, property data and other basic raw data; (4) Feature construction based on time-series sliding window: Derivate features from the basic raw data, set sliding windows, and construct time dimension features based on time-series sliding windows (such as the number of card swipes in the past 6 months).

[0119] The dual-track label generation module can be used to generate dual-track labels. Due to the lack of first-environment data labels, customer labels can only be created and processed in the second computing environment. The specific steps are as follows: (1) Customer segmentation: Based on the data, complete dual-queue splitting is performed, dividing the data into two parts: samples with property scores and samples without property scores; (2) Label performance time determination: Based on the customer segmentation results of (1), the performance time of the labels is determined to ensure that the customer's property score can change in a certain period of time in the future. (3) Determine target features: Use multi-time property scores and additional transaction features to define the sample performance and generate dynamic trend labels in parallel. (4) Customer label fusion: Merge the labels of the dual-queue customers to obtain complete customer labels.

[0120] The model training module can be used to train the model based on the results of the first two modules. The specific steps are as follows: (1) Feature selection: Select features based on the relationship between features and labels; (2) Property trend model parameter setting: Design parameters using the features selected in (1) and define the parameter range; (3) Property trend model training: Train the model using feature data and label data and adjust the parameters; (4) Model evaluation: Evaluate the property trend model effect through model indicators.

[0121] Next, combined Figure 3 A detailed description is provided for constructing feature samples based on time-series sliding windows. For example... Figure 3 As shown, the process may include: 1. First computing environment.

[0122] The primary computing environment is a closed, independent computing domain for the business data holder. It internally stores core and sensitive business data such as customer identity information, credit account data, and credit performance records, and has the authority to determine the identity of problematic customers. This environment adheres to privacy compliance requirements, ensuring that data does not leave the domain. Raw business data is never transmitted externally; only customer group assessment results are output, providing a compliant computing environment and data source support for subsequent target customer group identification.

[0123] 2. Identify the target customer group.

[0124] In the first computing environment, basic information and credit behavior data of all customers are acquired, including customer identification, credit history, asset status data, and overdue behavior indicators such as overdue period statistics and cumulative overdue days. Subsequently, based on preset non-performing asset judgment rules, customers corresponding to personal loan and credit card accounts in non-performing asset status are identified and screened, ultimately forming a set of customer identifiers for the target customer group. The output is a de-identified list of target customer group identifiers for cross-environment synchronization.

[0125] 3. Second computing environment.

[0126] The second computing environment is an independent computing domain of the data source, used to carry out the entire process of feature processing, label generation and model training, and does not directly access the original sensitive business data of the first computing environment.

[0127] The specific execution process is as follows: Through a compliant and desensitized transmission channel, the target customer group identifiers output by the first computing environment are synchronized to the second computing environment. The sample range for subsequent feature processing is locked in the second environment, which not only completes the cross-environment flow of customer group information, but also ensures the physical isolation of the original data of both parties.

[0128] 4. Feature acquisition.

[0129] Within the second computing environment, a unified observation time point T is set as the baseline time point for feature statistics. For the identified target customer group, full amounts of raw heterogeneous data are collected across the corresponding time dimension, covering multi-dimensional basic raw data such as customer attribute data, consumption behavior trajectory data, transaction records, and property-related data. The output is the raw basic dataset corresponding to the target customer group, providing raw data for subsequent time-series sliding window feature construction.

[0130] 5. Feature construction based on time-series sliding window.

[0131] Within the second computing environment, sliding window parameters are pre-configured, including three configurable items: time window length, window sliding step size, and feature aggregation function. The original heterogeneous data is slidingly segmented along the time axis to obtain sub-sequence data corresponding to multiple consecutive time windows. First, the basic features corresponding to each sub-sequence are extracted, and then derived features are generated through operations such as feature cross-interaction and numerical transformation. Using a pre-defined feature aggregation function, the derived features within each window are statistically aggregated to obtain the temporal feature vector corresponding to a single time window. Finally, the temporal feature vectors of all time windows are concatenated in chronological order to generate a structured temporal feature matrix, thus completing the construction of the temporal feature samples.

[0132] Next, combined Figure 4 The process of generating dynamic trend labels is described in detail. For example... Figure 4 As shown, the process for generating this dynamic trend label may include: 1. Dual-track customer segmentation.

[0133] Based on the data completeness of the samples, the full sample is divided into two queues through conditional diversion logic. Samples with continuous property scoring data are assigned to queue A (explicit trend queue, corresponding to the first type of sample), and samples that are missing property scoring fields but contain complete transaction behavior logs are assigned to queue B (implicit active queue, corresponding to the second type of sample).

[0134] 2. Determine the label display time.

[0135] Based on the customer group scope after the dual-track division, the time interval of the trend observation window is determined (corresponding to the future performance period from the observation time point T to T+N). At the same time, the dynamic update rules of the tags are configured, including the scoring update trigger conditions and dynamic adjustment cycle, to ensure that the tags generated later can reflect the direction of changes in the customer's property status in the future, and upgrade the tag definition from static status judgment to dynamic trend judgment.

[0136] 3. Determine the target characteristics.

[0137] For queue A, multi-point asset rating tier data within the trend observation window are selected as target features for subsequent quantitative calculation of rating change trends. For queue B, transaction behavior-related proxy indicators (such as the number of failed transactions) are selected as target features to indirectly reflect the trend of customer fund activity and asset status changes, providing corresponding core calculation fields for the differentiated label generation logic of the two queues.

[0138] Parallel branching: (1) Generation of labels for queue A: For queue A samples with continuous ratings, gradient stability trend judgment logic is adopted. The first derivative value of the property rating level sequence is calculated as the level change gradient, and a two-dimensional joint judgment is performed in combination with the preset level threshold: if the level change gradient is greater than or equal to 0, and the rating level within the window is continuously greater than or equal to the preset level threshold, it is marked as a positive trend label. If the level change gradient is less than 0, or the rating level within the window is continuously less than or equal to the preset level threshold, it is marked as a negative trend label, thus completing the generation of binary dynamic trend labels for queue A.

[0139] (2) Queue B Label Generation: For the Queue B samples with missing scores, an active recovery proxy trend judgment logic is adopted. The cumulative value of the number of failed trading days in the statistical trend observation window is combined with the preset activity threshold to perform a judgment: if the cumulative value of the number of failed trading days is less than or equal to the preset activity threshold, it is marked as a positive trend label. If the cumulative value of the number of failed trading days is greater than the preset activity threshold, it is marked as a negative trend label, thus completing the generation of binary dynamic trend labels for Queue B.

[0140] 4. Customer tag integration.

[0141] First, a standardized mapping is performed on the label values ​​of the two types of queues to ensure that positive and negative trend labels have consistent value rules and business meanings across the entire sample set. Then, the generated labels are matched one-to-one with the time-series feature data of the corresponding samples. Finally, the labeled samples from the two types of queues are merged to form a complete label dataset covering the entire target customer group, which is then output to the subsequent model sample set construction and model training stages.

[0142] Next, combined Figure 5 The model training process will be described in detail. For example... Figure 5 As shown, the process may include: 1. Feature filtering.

[0143] By combining the correspondence between temporal features and target labels, the correlation between each feature and the binary dynamic trend label is evaluated dimensionally. A feature selection algorithm is used to perform dimensionality reduction on the high-dimensional temporal feature set, eliminating invalid feature dimensions with low correlation to labels and high information redundancy, retaining core effective features that can explain trend prediction, and outputting a simplified subset of core features. By compressing the feature space, the risk of model overfitting is reduced, while improving the computational efficiency of subsequent model training.

[0144] 2. Property trend model parameter settings.

[0145] Select a machine learning classification algorithm framework suitable for the binary classification trend prediction task, pre-configure the adjustable range of model training parameters, covering core dimensions such as feature weight coefficients, regularization coefficients, learning rate thresholds, and iteration number constraints, define optimization boundaries and constraint rules for model training, and complete the parameter initialization configuration before training.

[0146] 3. Training of the property trend model.

[0147] Using binary dynamic trend labels as the training target, customer time-series feature data is input into the model to be trained. Forward propagation is used to calculate the predicted probability value of the customer's asset status trend. The predicted results are then compared with the true labels in the loss function to calculate the deviation. The model parameters are then iteratively adjusted using the backpropagation algorithm to gradually reduce the model loss value. This iterative training process is repeated until the model meets the preset convergence condition or reaches the maximum number of iterations, completing the training and fitting of the asset trend prediction model.

[0148] 4. Model evaluation.

[0149] The validation dataset is input into the trained property trend model to obtain the model's prediction output. Using pre-defined model performance evaluation metrics, the model's core performance characteristics, such as prediction accuracy, discrimination ability, and generalization effect, are quantified. The evaluation results are compared with established business performance requirements to determine whether the model meets the business needs of identifying existing problematic customer trends, thus completing the final verification of the model's effectiveness.

[0150] Existing technologies primarily focus on a customer's "current asset status and asset level" (static). This application, by introducing gradient detection over future time windows (changes over T+N), focuses on whether a customer's "financial situation will improve in the future" (dynamic trend). This technological leap from "status assessment" to "trend prediction" enables the model to have forward-looking early warning capabilities (such as identifying a declining wealth trend before a customer defaults, or identifying a recovery trend during a customer default). Simultaneously, in a specific scenario (financial trend prediction), "high-frequency failed transactions" are defined as a label for "judging the customer's trend." Experiments show that this indicator can effectively distinguish between "users with exploitable value" and "users without exploitable value," achieving the goal of "self-generating" high-quality training targets solely based on the data characteristics of the data source itself through a dual-track logic.

[0151] Reference Figure 6 The diagram shows a schematic representation of a model training device provided in an embodiment of this application. Figure 6 As shown, the model training device 600 may include the following modules: The customer acquisition module 610 is used to acquire the target customer group determined in the computing environment of the data holder; wherein, the target customer group refers to the customer group with overdue repayment behavior; The sample acquisition module 620 is used to process the original heterogeneous data containing time-series transaction behavior of the target customer group using a time-series sliding window algorithm to obtain time-series feature samples. The sample segmentation module 630 is used to segment the time-series feature samples according to the scoring field information corresponding to the time-series feature samples to obtain a first type of sample and a second type of sample; wherein, the first type of sample is a sample with continuous scoring, and the second type of sample is a sample with missing scoring field information but containing transaction behavior logs. The label generation module 640 is used to generate binary dynamic trend labels for the first type of samples and the second type of samples respectively based on a preset trend observation window. The sample set construction module 650 is used to construct a model sample set based on the first type of sample, the second type of sample, and the corresponding binary dynamic trend label; The model training module 660 is used to train a classification model based on the model sample set to predict the future state trend information of customers.

[0152] Optionally, the sample acquisition module includes: The sequence data acquisition unit is used to slide and divide the original heterogeneous data with the observation time point as the cutoff window and through preset sliding window parameters to obtain sub-sequence data of multiple time windows; A basic feature acquisition unit is used to acquire the basic features corresponding to each of the subsequence data; A derived feature generation unit is used to perform feature cross- and derivation processing on the basic features to generate derived features corresponding to each of the subsequence data. The feature vector acquisition unit is used to aggregate the derived features of each subsequence data using a feature aggregation function to obtain the time-series feature vector for each time window; The feature sample acquisition unit is used to concatenate the time-series feature vectors of all time windows in chronological order to generate a time-series feature matrix, and use the time-series feature matrix as the time-series feature sample.

[0153] Optionally, the label generation module includes: The sample data acquisition unit is used to acquire the property rating tier sequence data of the first type of sample within the trend observation window, and the transaction behavior log data of the second type of sample within the trend observation window; The first label determination unit is used to determine the binary dynamic trend label corresponding to the first type of sample based on the gradient of the change in the property rating tier sequence data. The second label determination unit is used to determine the binary dynamic trend label corresponding to the second type of sample based on the threshold comparison result of the transaction behavior proxy indicator in the transaction behavior log data. The binary dynamic trend labels include: positive trend labels and negative trend labels.

[0154] Optionally, the first tag determining unit includes: The gear gradient acquisition subunit is used to calculate the first derivative of the property rating gear sequence data of the first type of sample within the trend observation window, and obtain the gear change gradient. The first label determination subunit is used to determine the label corresponding to the first type of sample as a positive trend label when the gradient of the change in the grade is greater than or equal to 0 and the property score grade in the trend observation window is greater than or equal to a preset grade threshold. The second label determination subunit is used to determine the label corresponding to the first type of sample as a negative trend label when the gradient of the grade change is less than 0, or when the property score grade within the trend observation window is less than or equal to the preset grade threshold.

[0155] Optionally, the second tag determining unit includes: The cumulative value statistics subunit is used to calculate the cumulative number of failed trading days for the second type of sample within the trend observation window. The third label determination subunit is used to determine the label corresponding to the second type of sample as a positive trend label when the cumulative value of the number of failed transaction days is less than or equal to a preset threshold. The fourth label determination subunit is used to determine the label corresponding to the second type of sample as a negative trend label when the cumulative value of the number of failed transaction days is greater than the preset threshold.

[0156] Optionally, the model training module includes: The evaluation result acquisition unit is used to evaluate the correlation between the time-series feature matrix and the binary dynamic trend label in the model sample set, and obtain the correlation evaluation result. The dimensionality reduction sample acquisition unit is used to perform dimensionality reduction processing on the time series feature matrix using a feature filtering algorithm when the correlation evaluation result meets the preset conditions, so as to obtain dimensionality reduction time series feature samples. The prediction probability acquisition unit is used to input the dimensionality-reduced time series feature samples into the classification model to be trained, and obtain the property status trend prediction probability value output by the classification model to be trained; The loss value acquisition unit is used to obtain the loss value of the classification model to be trained based on the property status trend prediction probability value and the binary dynamic trend label corresponding to the dimensionality reduction time series feature sample. The classification model acquisition module is used to iteratively adjust the parameters of the classification model to be trained based on the loss value until the model meets the preset convergence condition, thereby obtaining the trained classification model.

[0157] This application's embodiments construct a dual-track dynamic label self-generation and model training process on the data source side. First, it eliminates the need for external training labels transmitted by the data holder, generating standardized training targets solely from its own data. This fundamentally resolves the data gap problem caused by the inability to transmit labels across institutions under privacy compliance constraints, enabling cold start of the model in scenarios without external label input. Second, by introducing a preset trend observation window to construct binary dynamic trend labels, the dimension of customer asset judgment is expanded from historical static status assessment to future trend prediction. This breaks the limitations of long-term homogeneity and lack of differentiation in static labels for existing non-performing customer groups, enabling accurate identification of sub-groups with potential for improvement in non-performing assets. Simultaneously, addressing differences in sample data abundance, differentiated label logic is applied to samples with continuous ratings and samples with missing ratings, using rating gradient judgment and transaction behavior proxy indicator judgment respectively. This comprehensively covers both mainstream customer groups and long-tail unrated customer groups, avoiding the insufficient sample coverage problem caused by excluding unrated samples in traditional solutions, significantly improving the model's generalization ability among lower-tier customer groups.

[0158] This application also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-described model training method when executed by the processor.

[0159] Figure 7A schematic diagram of the structure of an electronic device 700 according to an embodiment of the present invention is shown. Figure 7 As shown, the electronic device 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 702 or loaded from storage unit 708 into random access memory (RAM) 703. The RAM 703 can also store various programs and data required for the operation of the electronic device 700. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0160] Multiple components in electronic device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, microphone, etc.; output unit 707, such as various types of displays, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows electronic device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0161] The various processes and handling described above can be executed by processing unit 701. For example, the methods of any of the above embodiments can be implemented as computer software programs, which are tangibly contained in a computer-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by CPU 701, one or more actions of the methods described above can be performed.

[0162] Additionally, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned model training method.

[0163] This application also provides a computer program product containing instructions, on which a computer program is stored. When the computer program is run on a computer, it causes the computer to execute the above-described model training method.

[0164] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal that includes said element.

Claims

1. A model training method, characterized in that, Applied to the data source side, including: The target customer group is identified within the data holder's computing environment; wherein, the target customer group refers to a customer group with overdue repayment behavior; Using a time-series sliding window algorithm, the original heterogeneous data containing time-series transaction behaviors of the target customer group are processed to obtain time-series feature samples; Based on the scoring field information corresponding to the time-series feature samples, the time-series feature samples are divided into a first type of sample and a second type of sample; wherein, the first type of sample is a sample with continuous scoring, and the second type of sample is a sample with missing scoring field information but containing transaction behavior logs; Based on a preset trend observation window, binary dynamic trend labels are generated for the first type of sample and the second type of sample, respectively. A model sample set is constructed based on the first type of samples, the second type of samples, and the corresponding binary dynamic trend labels; A classification model for predicting future customer status trends is trained based on the model sample set.

2. The method according to claim 1, characterized in that, The process utilizes a time-series sliding window algorithm to process the original heterogeneous data containing time-series transaction behaviors of the target customer group, obtaining time-series feature samples, including: Using the observation time point as the cutoff window, the original heterogeneous data is slid into multiple time windows by using preset sliding window parameters to obtain subsequence data. Obtain the basic features corresponding to each of the subsequence data; The basic features are subjected to feature crossover and derivation processing to generate derived features corresponding to each subsequence data; The derived features of each subsequence data are aggregated using a feature aggregation function to obtain the temporal feature vector for each time window; A time series feature matrix is ​​generated by concatenating the time series feature vectors of all time windows in chronological order, and the time series feature matrix is ​​used as the time series feature sample.

3. The method according to claim 1, characterized in that, The step of generating binary dynamic trend labels for the first type of samples and the second type of samples based on a preset trend observation window includes: Acquire the property rating tier sequence data of the first type of sample within the trend observation window, and the transaction behavior log data of the second type of sample within the trend observation window; Based on the gradient of changes in the property rating tier sequence data, determine the binary dynamic trend label corresponding to the first type of sample. Based on the threshold comparison results of the transaction behavior proxy indicators in the transaction behavior log data, determine the binary dynamic trend label corresponding to the second type of sample; The binary dynamic trend labels include: positive trend labels and negative trend labels.

4. The method according to claim 3, characterized in that, The step of determining the binary dynamic trend label corresponding to the first type of sample based on the gradient of changes in the property rating tier sequence data includes: Calculate the first derivative of the property rating tier sequence data of the first type of sample within the trend observation window to obtain the tier change gradient. When the gradient of the grade change is greater than or equal to 0, and the property rating grade within the trend observation window is greater than or equal to a preset grade threshold, the label corresponding to the first type of sample is determined to be a positive trend label. When the gradient of the grade change is less than 0, or when the property rating grade within the trend observation window is less than or equal to the preset grade threshold, the label corresponding to the first type of sample is determined to be a negative trend label.

5. The method according to claim 3, characterized in that, The step of determining the binary dynamic trend label corresponding to the second type of sample based on the threshold comparison results of the transaction behavior proxy indicators in the transaction behavior log data includes: Calculate the cumulative number of failed trading days for the second type of sample within the trend observation window; When the cumulative number of failed transaction days is less than or equal to a preset threshold, the label corresponding to the second type of sample is determined to be a positive trend label; When the cumulative number of days of failed transactions exceeds the preset threshold, the label corresponding to the second type of sample is determined to be a negative trend label.

6. The method according to claim 1, characterized in that, The classification model trained based on the model sample set for predicting future customer status trends includes: The correlation between the temporal feature matrix and the binary dynamic trend label in the model sample set is evaluated to obtain the correlation evaluation result; When the correlation evaluation result meets the preset conditions, the time series feature matrix is ​​reduced in dimensionality using a feature filtering algorithm to obtain dimensionality-reduced time series feature samples. The reduced-dimensional time-series feature samples are input into the classification model to be trained, and the property status trend prediction probability value output by the classification model to be trained is obtained. The loss value of the classification model to be trained is obtained based on the property status trend prediction probability value and the binary dynamic trend label corresponding to the dimensionality reduction time series feature sample. The parameters of the classification model to be trained are iteratively adjusted based on the loss value until the model meets the preset convergence condition, thus obtaining the trained classification model.

7. A model training device, characterized in that, Applied to the data source side, including: The customer acquisition module is used to acquire the target customer group determined in the computing environment of the data holder; wherein, the target customer group refers to the customer group with overdue repayment behavior; The sample acquisition module is used to process the original heterogeneous data containing time-series transaction behavior of the target customer group using a time-series sliding window algorithm to obtain time-series feature samples. The sample segmentation module is used to segment the time-series feature samples according to the scoring field information corresponding to the time-series feature samples to obtain a first type of sample and a second type of sample; wherein, the first type of sample is a sample with continuous scoring, and the second type of sample is a sample with missing scoring field information but containing transaction behavior logs. The label generation module is used to generate binary dynamic trend labels for the first type of samples and the second type of samples based on a preset trend observation window. The sample set construction module is used to construct a model sample set based on the first type of sample, the second type of sample, and the corresponding binary dynamic trend label; The model training module is used to train a classification model based on the model sample set to predict the future state trend information of customers.

8. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the model training method of any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the model training method according to any one of claims 1 to 6.

10. A computer program product containing instructions, wherein a computer program is stored thereon, characterized in that, When the computer program is run on a computer, it causes the computer to perform the model training method as described in any one of claims 1-6.