Marketing electricity fee recovery early warning method and system based on multimodal dual-channel attention

Through the early warning method of multi-modal dual-channel attention, combined with deep convolution and Transformer-Encoder module, the electricity bill recovery risk level is extracted, which solves the problems of low efficiency and poor robustness of the existing model and achieves more accurate electricity bill recovery risk Early warning and refined operations.

CN118410416BActive Publication Date: 2024-09-03JINING POWER SUPPLY CO OF STATE GRID SHANDONG ELECTRIC POWER CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410864966.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-03
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The existing electricity bill recovery risk early warning model relies too much on manual experience, is inefficient and susceptible to subjective factors. The traditional machine learning model has poor robustness and limited nonlinear modeling capabilities. It is difficult to comprehensively analyze electricity customer information, resulting in poor risk warning performance. Difference.

Method used

A marketing electricity bill recovery early warning method based on multi-modal dual-channel attention is used to obtain users' structured and unstructured data, use deep convolutional networks and Transformer-Encoder modules for feature encoding, and combine self-attention and convolution modules Extract global and local information, generate multi-modal fusion features, and model positive and negative correlation features through a dual-channel self-attention module to calculate the risk level of user electricity bill recovery.

Benefits of technology

It improves the electricity bill recovery rate and operating efficiency, can more accurately analyze the trend characteristics of electricity customers, paint a more comprehensive portrait of user characteristics, deeply explore the correlation between electricity customer time series data and text information, and help power supply companies achieve refined operations. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410416B
    Figure CN118410416B
Patent Text Reader

Abstract

The present invention proposes a marketing electricity fee recovery early warning method and system based on multimodal dual-channel attention, which belongs to the technical field of marketing electricity fee recovery early warning data processing, including: obtaining historical multimodal electricity consumption data of users, including structured data and unstructured data; inputting structured data into a structured feature encoder to obtain structured feature coding, and inputting unstructured data into an unstructured feature encoder to obtain unstructured feature coding; for the structured feature coding and the unstructured feature coding, using a self-attention module and a convolution module to process to obtain multimodal fusion features of global and local information of users; connecting the obtained multimodal fusion features, positive correlation features, and negative correlation features as the final feature portrait of the electricity user, and calculating and outputting the user's electricity fee recovery early warning result level label according to the feature portrait.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of marketing electricity fee recovery early warning data processing, and in particular to a marketing electricity fee recovery early warning method and system based on multi-modal dual-channel attention. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] With the construction of smart grid and informatization, the power industry has accumulated massive data, which has the characteristics of big data in terms of data volume, diversity, speed and value. Nowadays, power companies have accumulated a large amount of user information. In the era of big data, it is necessary to consider how to integrate information, mine data and carry out personalized marketing based on massive business data and user information.

[0004] Electricity fee recovery management is a key link for power companies to maintain healthy operations and achieve sustainable development. Due to differences in users' ability to pay and willingness to use electricity, some users will inevitably default on their electricity bills, resulting in the current "pay after electricity use" business model facing challenges such as extended electricity fee recovery cycles, increased difficulty in collection, and decreased recovery rates. With the rapid development of big data and deep learning technologies, the construction of a data middle platform has provided strong support for cross-professional and cross-level data sharing, analysis and mining, and information integration for power companies. The marketing electricity fee recovery of power companies can use more detailed customer electricity usage data and customer information to conduct in-depth analysis of multi-dimensional data such as users' electricity usage behavior and payment records, so as to more accurately warn users of the risk of electricity fee arrears and provide a decision-making basis for the formulation of differentiated risk control and marketing strategies.

[0005] However, the previously proposed electricity bill recovery risk warning models have certain limitations. On the one hand, some models rely too much on manual experience and judgment, design various factors or risk scores, which are inefficient and easily affected by subjective factors; on the other hand, traditional machine learning models such as logistic regression, principal component analysis, decision trees, etc., as well as some simple deep learning models, have the shortcomings of poor robustness and limited nonlinear modeling capabilities. Although certain results have been achieved, due to data management and technical limitations, these warning methods are insufficient in analyzing the trend characteristics of electricity consumption data, and lack the mining of user unstructured information (such as user files and social evaluation information), resulting in poor risk warning performance, making it difficult to comprehensively analyze the information portraits of electricity users and formulate targeted risk assessment and marketing strategies. Summary of the invention

[0006] In order to overcome the shortcomings of the above-mentioned prior art, the present invention provides a marketing electricity fee recovery early warning method based on multimodal dual-channel attention, obtains user feature portraits, and performs graded early warning on the user's electricity fee recovery risks according to the portraits to give corresponding early warning suggestions, thereby providing strong support for power companies to reduce electricity fee recovery risks and improve operational efficiency.

[0007] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0008] In the first aspect, a marketing electricity fee recovery early warning method based on multimodal dual-channel attention is disclosed, including:

[0009] Obtain users' historical multimodal electricity consumption data, including structured data and unstructured data;

[0010] Input the structured data into the structured feature encoder to obtain the structured feature encoding, and input the unstructured data into the unstructured feature encoder to obtain the unstructured feature encoding;

[0011] For structured feature coding and unstructured feature coding, the self-attention module and convolution module are used to process the multimodal fusion features of the user's global and local information, specifically:

[0012] The global-local feature trend extraction layer of electricity users adopts a model combining a multi-head attention mechanism and a convolution module to capture global and local information of different modalities respectively, and couple them to reduce the deviation of heterogeneous semantics of electricity users;

[0013] Based on the structured data feature coding and the unstructured data feature coding, a given feature sequence is composed and input into the global-local multimodal feature fusion layer to obtain the feature representation of the multimodal fusion of user data;

[0014] According to the obtained multimodal fusion feature representation, a dual-channel self-attention module is used to generate positive correlation features and negative correlation features between multimodal data;

[0015] The obtained multimodal fusion features, positive correlation features, and negative correlation features are connected as the final feature portrait of the electricity customer, and the user's electricity fee recovery warning result level label is calculated and output based on the feature portrait.

[0016] As a further technical solution, the structured data includes time series data, including at least the user's historical electricity consumption, the user's historical payment amount and the user's historical account balance;

[0017] The unstructured data includes text data, including at least user profile information text and user social evaluation text, wherein the user social evaluation text includes user information profile, user credit report, bank credit report and judicial judgment report.

[0018] As a further technical solution, the method further includes the steps of preprocessing structured data and unstructured data, wherein the step of preprocessing unstructured data includes:

[0019] The word segmentation and word embedding operations are used to obtain the user profile information embedding representation and the user social evaluation representation respectively. After that, the user profile information embedding representation and the user social evaluation representation are added and summarized to obtain the unstructured user data.

[0020] As a further technical solution, the preprocessing of structured data includes:

[0021] The time series data is represented as structured user data, and the structured user data is added to the position embedding to retain the position information of the data in the sequence, thereby obtaining structured user sequence data containing the position information.

[0022] As a further technical solution, the unstructured feature encoder uses an N-layer stacked Transformer-Encoder to process text data and perform preliminary feature extraction;

[0023] The unstructured user data obtained by integrating user profile information embedding and user social evaluation representation is input into the unstructured encoder to obtain unstructured data feature encoding. By using the Transformer-encoder based on the multi-head self-attention mechanism, the correlation and information interaction between the text data of electricity customers are captured.

[0024] As a further technical solution, the structured feature encoder uses a one-dimensional Inception module in a deep convolutional neural network to extract the time dependency and multi-scale patterns of the user's electricity consumption data stream;

[0025] The one-dimensional Inception module can capture temporal patterns of different scales simultaneously by applying multiple convolution kernel sizes in parallel. The structured user sequence data containing position information is input into the structured feature encoder to obtain structured data feature encoding.

[0026] As a further technical solution, a dual-channel self-attention module is used to generate positive correlation features and negative correlation features between multimodal data, specifically:

[0027] The dual-channel self-attention module includes positive and negative channels. For the positive channel, dot product attention is used; for the negative channel, negative correlation is captured by flipping the dot product between the key and the query.

[0028] The positive and negative dual-channel self-attention module is used to obtain the positive and negative related information of the multimodal fused user data, and the linear layer is used to obtain the positive correlation features and negative correlation features projected to the same space.

[0029] Secondly, a marketing electricity fee recovery early warning system based on multimodal dual-channel attention is disclosed, including:

[0030] The data acquisition module is configured to: acquire the user's historical multi-modal electricity consumption data, including structured data and unstructured data;

[0031] The feature extraction module is configured to: input the structured data into the structured feature encoder to obtain the structured feature code, and input the unstructured data into the unstructured feature encoder to obtain the unstructured feature code;

[0032] The trend analysis module is configured as follows: for structured feature coding and unstructured feature coding, the self-attention module and the convolution module are used to process and obtain the multimodal fusion features of the user's global and local information, specifically:

[0033] The global-local feature trend extraction layer of electricity users adopts a model combining a multi-head attention mechanism and a convolution module to capture global and local information of different modalities respectively, and couple them to reduce the deviation of heterogeneous semantics of electricity users;

[0034] Based on the structured data feature coding and the unstructured data feature coding, a given feature sequence is composed and input into the global-local multimodal feature fusion layer to obtain the feature representation of the multimodal fusion of user data;

[0035] The correlation calculation module is configured to: generate positive correlation features and negative correlation features between multimodal data using a dual-channel self-attention module according to the obtained multimodal fusion feature representation;

[0036] The early warning output module is configured to: connect the obtained multimodal fusion features, positive correlation features, and negative correlation features as the final feature portrait of the electricity user, and calculate and output the user's electricity fee recovery early warning result level label based on the feature portrait.

[0037] One or more of the above technical solutions have the following beneficial effects:

[0038] The technical solution of the present invention is a marketing electricity fee recovery early warning solution based on multimodal dual-channel attention. The structured electricity consumption data in the user's historical data and the data of multiple modes of unstructured text data are feature encoded by the Inception module in the deep convolutional network and the Transformer-Encoder module based on multi-head self-attention respectively. The global-local trend extraction is performed on the encoded multimodal data by combining self-attention with convolution, so as to obtain a multimodal fusion feature representation of the user's global-local information coupling. This process can better analyze the trend characteristics of the global and local window perspectives in the historical data of electricity customers, and depict a more comprehensive user feature portrait. Finally, the user's electricity fee recovery risk is graded and warned according to the portrait to give corresponding warning suggestions, thereby improving the electricity fee recovery rate of the power supply company.

[0039] The technical solution of the present invention is a marketing electricity fee recovery early warning solution based on multimodal dual-channel attention. It adopts a dual-channel self-attention module to model the positive and negative correlations between structured and unstructured data, and learns the correlation information between the two modal data. This can deeply explore and model the correlation between electricity customers' time series data and text information, thereby helping power supply companies to achieve refined operations.

[0040] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0042] Figure 1 It is a flow chart of a marketing electricity fee recovery early warning method based on multi-modal dual-channel attention according to an embodiment of the present disclosure;

[0043] Figure 2 It is a flow chart of a marketing electricity fee recovery early warning model processing method according to an embodiment of the present disclosure;

[0044] Figure 3 It is a flowchart of the specific processing method of each module of the marketing electricity fee recovery early warning model of the embodiment of the present disclosure; wherein, Figure 3 (a) is a schematic diagram of the unstructured feature encoder processing method; Figure 3 (b) is a schematic diagram of the structured feature encoder processing method; Figure 3 (c) is a schematic diagram of the global-local feature trend extraction layer processing method for electricity customers; Figure 3 (d) is a schematic diagram of the processing method of the output layer of the electricity fee recovery risk warning;

[0045] Figure 4 This is a diagram of the implementation architecture of the multimodal attention marketing electricity fee recovery warning system of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0046] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0047] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.

[0048] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0049] Embodiment 1

[0050] This embodiment discloses a marketing electricity fee recovery early warning method based on multimodal dual-channel attention, including:

[0051] Step 1: Obtain the user's historical structured and unstructured multimodal electricity consumption data;

[0052] Step 2: Input the structured user data and the unstructured user data into the feature extraction encoder to obtain the structured feature code and the unstructured feature code respectively;

[0053] Step 3: According to the feature encoding of the obtained multimodal data, the self-attention module and the convolution module are used to obtain the multimodal fusion feature representation of the user's global and local information;

[0054] Step 4: Based on the obtained multimodal fusion feature representation, a dual-channel self-attention module is used to generate positive correlation feature representation and negative correlation feature representation between multimodal data;

[0055] Step 5: Connect the obtained multimodal fusion features, positive correlation features, and negative correlation features as the final feature portrait of the electricity user, and calculate and output the user's electricity fee recovery warning result level label based on the feature portrait.

[0056] As an embodiment, the specific implementation process of the marketing electricity fee recovery early warning method based on multi-modal dual-channel attention includes:

[0057] Step 1: Obtain the user's historical structured and unstructured multimodal electricity consumption data;

[0058] Specifically, structured user historical electricity consumption data includes time series data such as user historical electricity consumption, user historical payment amount, user account historical balance, etc.; unstructured user data includes text data such as user profile information text and user social evaluation text, among which user social evaluation text contains text information such as user information profile, user credit report, bank credit report, judicial judgment report, etc.

[0059] Based on the collected unstructured user electricity consumption data, including user profile information text and user social evaluation text, the unstructured user data is preprocessed in natural language, and feature extraction is performed after preprocessing. The preprocessing is used to remove useless information in the data to obtain a standardized data structure. The preprocessing process includes: text data cleaning, word segmentation and other operations. The open source Word2Vec model is used to embed words for the standardized data obtained after preprocessing, so that each unstructured user text data is processed into a corresponding embedding representation, that is, the user profile information embedding representation is obtained respectively. and user social evaluation embedding representation ,in, Represents the length of the unstructured text data sequence, d represents the dimension of word embedding, Represents a set of real numbers. Then, the user profile information embedding representation and the user social evaluation embedding representation are added together to obtain the unstructured user data .

[0060] Based on the collected structured user electricity consumption data, including user historical electricity consumption, user historical payment amount, user account historical balance and other time series data, structured user data is obtained. ,in, express t Structured user data corresponding to each moment, represents the length of the time series, The feature number representing the structured user's historical electricity consumption data, including electricity consumption, payment amount, account balance, etc. represents a set of real numbers. Afterwards, the structured user data Add position embedding to retain the position information of the data in the sequence and obtain structured user sequence data containing position information , the specific operations are as follows:

[0061] ;

[0062] ;

[0063] ;

[0064] in, is the dimension of the data embedding vector, POS Indicates the position of the data in the sequence. represents value embedding, represents position embedding, Represents the position of the data in the embedding vector.

[0065] Step 2: Input the structured user sequence data and the unstructured user data into the feature extraction encoder to obtain the structured feature encoding and the unstructured feature encoding respectively.

[0066] Specifically, the feature extraction encoder includes a structured feature encoder and an unstructured feature encoder. Figure 3 As shown in (a), the unstructured feature encoder uses an N-layer stacked Transformer-Encoder to process the preliminary feature extraction of text data. Unstructured user data obtained by fusing user profile information embedding and user social evaluation embedding , input into the unstructured encoder to obtain the unstructured data feature encoding , by using the Transformer-encoder based on the multi-head self-attention mechanism, it can better capture the correlation and information interaction between the text data of electricity customers, and provide a more accurate and reliable feature representation for subsequent data analysis and application of electricity customers.

[0067] like Figure 3 As shown in (b), the structured feature encoder uses the one-dimensional Inception module in the deep convolutional neural network to extract the time dependency and multi-scale patterns of the user's electricity consumption data stream. The one-dimensional Inception module is composed of three convolution kernels of different sizes (1*1, 1*3, 1*5) and one maximum pooling kernel (1*3) in parallel. Before the 1*3 and 1*5 convolution layers and after the 1*3 maximum pooling layer, a 1*1 convolution module is added to reduce the data dimension and reduce the computing cost. The one-dimensional Inception module can capture temporal patterns of different scales at the same time. Based on the obtained structured user sequence data containing location information , input into the structured feature encoder to obtain the structured data feature encoding .

[0068] Step 3: According to the feature encoding of the obtained multimodal data, the self-attention module and the convolution module are used respectively to obtain the multimodal fusion feature representation of the user's global and local information.

[0069] In this step, the multimodal data are processed by the self-attention module and the convolution module. The multimodal fusion feature representation of the global information is obtained by the self-attention module, and the multimodal feature representation of the local information is obtained by the convolution module.

[0070] Specifically, Figure 3 As shown in (c) in the figure, the global-local feature trend extraction layer of electricity users adopts a model that combines a multi-head attention mechanism with a convolutional module to capture global and local information of different modalities respectively, and couple them to further reduce the deviation of heterogeneous semantics of electricity users. Based on structured data feature encoding and unstructured data feature encoding Composed of a given feature sequence , input the global-local multimodal feature fusion layer to obtain the feature representation of multimodal fusion of user data .

[0071] Step 4: Based on the obtained multimodal fusion feature representation, a dual-channel self-attention module is used to generate positive correlation feature representation and negative correlation feature representation between multimodal data.

[0072] Specifically, the dual-channel self-attention module includes a positive channel and a negative channel. For the positive channel, the traditional dot product attention is used; for the negative channel, the negative correlation is captured by flipping the dot product between the key and the query. Multimodal fusion user data is obtained through the positive and negative dual-channel self-attention module Positive information about Negative related information , through the linear layer to obtain the positive correlation features projected to the same space and negative correlation characteristics .

[0073] Step 5: Connect the obtained multimodal fusion features, positive correlation features, and negative correlation features as the final feature portrait of the electricity customer, and calculate and output the user's electricity fee recovery warning result level label based on the feature portrait.

[0074] Specifically, Figure 3 As shown in (d) in the output layer of electricity fee recovery risk warning, according to the multimodal fusion features of electricity customers , and positive correlation characteristics and negative correlation characteristics , which is connected as the output tensor of the electricity customer R , and use The linear layer of the activation function is used as the output layer to calculate the probability of electricity customers at different risk levels. ,in The probability values ​​of the four dimensions correspond to level one high risk, level two medium risk, level three existing risk and level four no risk.

[0075] As an embodiment, the early warning results include four types of risk level issues. Level 1 users are high-risk users for electricity bill recovery. They have problems with abnormal funds and inability to pay electricity bills. The marketing department should focus on urging and paying attention to them, and may also take compulsory measures such as power rationing or power outages. The risks of electricity bill recovery for level 2 to level 4 users decrease in sequence, namely medium-risk users, risky users and risk-free users. The power supply company can provide preferential policies or value-added services to electricity users who have been at level 4 for a long time and are risk-free, so as to enhance user experience and strengthen customer trust.

[0076] As one or more embodiments, Figure 3 As shown in (a) in the figure, taking the structured data of the user's historical electricity consumption data as an example, the specific process of obtaining the feature encoding of structured data is described in detail. Through this process, the time dependency of structured data can be well captured, so that the model can be more effective in early warning, as follows:

[0077] The structured data encoder uses a one-dimensional Inception module in a deep convolutional neural network to extract the time dependency and multi-scale patterns of the user's electricity consumption data stream. This module combines multiple different convolutional layers in parallel to simultaneously capture time patterns of different scales. Based on the obtained structured user sequence data containing location information , obtain the structured data feature encoding , the operation process is as follows:

[0078] ;

[0079] ;

[0080] in, represents a 1D convolution operation, Indicates cascade operation, , , ... are convolution kernels of different sizes, and the bias is ,… .

[0081] As one or more embodiments, Figure 3 As shown in (b) in the figure, taking the unstructured text data including user profile information text and user social evaluation text as an example, the specific process of obtaining the feature encoding of unstructured data is described in detail. Through this process, the correlation between the two types of unstructured data can be well captured, so that the model can be more effective in early warning, as follows:

[0082] The unstructured data encoder uses an N-layer stacked Transformer-Encoder to process the initial feature extraction of text data. Each Transformer-Encoder block contains a multi-head self-attention layer, a normalization layer, and a fully connected layer. The unstructured user data obtained by fusion of user profile information embedding and user social evaluation embedding , input into the unstructured encoder to obtain the unstructured data feature encoding By using the Transformer-encoder based on the multi-head self-attention mechanism, the correlation and information interaction between the text data of electricity customers can be better captured. The overall process of the Transformer-encoder module can be expressed as:

[0083] ;

[0084] ;

[0085] ;

[0086] ;

[0087] ;

[0088] in, They represent the matrix weight parameters of one of the branches of the multi-head self-attention mechanism; Represents the parameter matrix of the multi-head self-attention layer; Embedding tensor for electricity customer text information; The output representation corresponding to the embedding tensor of the electricity customer text information in the multi-head branch; Encode the obtained unstructured data features; for SoftMax function; The operation is to concatenate the self-attention representation information of each branch; is the layer normalization operation.

[0089] As one or more embodiments, Figure 3 As shown in (c) in the figure, the global-local multimodal feature fusion layer of the electricity customer is used to extract the global-local feature trend of the user for the feature encoding of the obtained multimodal data. Specifically, the global-local multimodal feature fusion layer uses a multi-head attention mechanism to extract global information, extracts local information through a one-dimensional convolution operation, and couples it through a projection layer to further reduce the deviation of the heterogeneous semantics of the electricity customer, and obtains the feature representation of the multimodal fusion of the user data. ,Right now:

[0090] ;

[0091] ;

[0092] in, A feature sequence composed of structured and unstructured data feature codes; represents a feed-forward network.

[0093] As one or more implementations, based on the multimodal fusion feature representation of user data, a dual-channel self-attention module is used to generate positive correlation feature representation and negative correlation feature representation between multimodal data. Specifically, the dual-channel self-attention module includes a positive channel and a negative channel. For the positive channel, the traditional dot product attention is used to obtain the positive correlation attention score. ; For the negative channel, the negative correlation attention score is obtained by flipping the dot product between the key and the query , respectively combining the positive and negative correlation attention scores with the multimodal fused user data The product gives positive correlation information Negative related information , input linear layer, obtain positive correlation features and negative correlation characteristics ,Right now:

[0094] ;

[0095] ;

[0096] ;

[0097] ;

[0098] ;

[0099] ;

[0100] As one or more embodiments, Figure 3 As shown in (d) in the figure, the final warning result is obtained through the electricity fee recovery risk warning output layer based on the user's multimodal fusion features, positive correlation features, and negative correlation features.

[0101] Specifically, the multimodal fusion features of electricity customers , and positive correlation characteristics and negative correlation characteristics , connected as the output tensor of the electricity customer R , the fused context representation tensor is input with The linear layer of the activation function calculates the output probability of electricity users at different risk levels ,Right now:

[0102] ;

[0103] ;

[0104] ;

[0105] in, represents the length of the time series, R The output tensor as an electricity customer.

[0106] The model uses cross entropy loss as the loss function:

[0107] ;

[0108] in, is the training batch size, is the model probability, is the true label value.

[0109] Model Validation

[0110] To verify the performance of the model, experiments were conducted on the historical electricity consumption data streams, user profile information, and user social evaluation information of some power users collected by the data center of a power company in a province of China. The method proposed in this disclosure example was compared with 8 baseline methods, including traditional machine learning models such as linear classifiers and multi-layer perceptrons (MLPs), and deep learning models such as recurrent neural networks (RNNs), gated recurrent units (GRUs), long short-term memory networks (LSTMs), GRUs with attention mechanisms (GRU-Att), LSTMs with attention mechanisms (LSTM-Att), and Transformer encoders (Transformer-Encoders). The experimental results are shown in Table 1.

[0111] Table 1 Comparison results of risk analysis performance of electricity fee recovery

[0112]

[0113] The experimental results show that the proposed method in this example shows excellent performance in all evaluation indicators. First, the F1_Score of this example method is 0.902, which is not only higher than all traditional machine learning models, but also better than all other deep learning models. The high value of F1 score reflects that this example method has achieved a good balance between precision and recall, which is crucial for audit work, and means that the model can reduce both false positives and false negatives. Secondly, the logarithmic loss value of this example method is 0.087, which is much lower than other methods. This shows that this example method has higher accuracy in predicting user risks. This is also confirmed by the Jaccard coefficient and Hamming loss. This result is very important for auditors, which means that the model can identify potential risk users with higher accuracy, thereby improving the efficiency and effectiveness of audit work. In summary, the experimental results fully demonstrate the effectiveness and superiority of the proposed method in the risk warning of electricity bill recovery. By integrating multimodal data fusion and dual-channel attention mechanism, not only the accuracy of risk warning is improved, but also a powerful tool is provided for auditors to more efficiently identify and deal with potential fraud.

[0114] This embodiment constructs a marketing electricity fee recovery warning model with multimodal attention for marketing electricity fee recovery warning tasks. The input of the model is multiple modalities of structured electricity consumption data and unstructured text data. The model first uses the Inception module for feature encoding for structured data, and the Transformer-Encoder module for feature encoding for unstructured data; the global-local trend extraction is performed by combining self-attention and convolution for the encoded multimodal data; then a dual-channel self-attention module is used to model the positive and negative correlations between structured and unstructured data, and learn the correlation information between the two modal data; finally, a hierarchical warning output of electricity fee recovery risk is performed through multiple linear layers. This model can deeply explore and model the correlation between the time series data and text information of electricity users, thereby helping power supply companies to achieve refined operations.

[0115] Embodiment 2

[0116] The purpose of this embodiment is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.

[0117] Embodiment 3

[0118] The purpose of this embodiment is to provide a computer-readable storage medium.

[0119] A computer-readable storage medium stores a computer program, which executes the steps of the above method when executed by a processor.

[0120] Embodiment 4

[0121] The purpose of this embodiment is to provide a marketing electricity fee recovery early warning system based on multimodal dual-channel attention, including:

[0122] The data acquisition module is configured to: acquire the user's historical multi-modal electricity consumption data, including structured data and unstructured data;

[0123] The feature extraction module is configured to: input the structured data into the structured feature encoder to obtain the structured feature code, and input the unstructured data into the unstructured feature encoder to obtain the unstructured feature code;

[0124] The trend analysis module is configured as follows: for structured feature coding and unstructured feature coding, the self-attention module and the convolution module are used to process and obtain the multimodal fusion features of the user's global and local information, specifically:

[0125] The global-local feature trend extraction layer of electricity users adopts a model combining a multi-head attention mechanism and a convolution module to capture global and local information of different modalities respectively, and couple them to reduce the deviation of heterogeneous semantics of electricity users;

[0126] Based on the structured data feature coding and the unstructured data feature coding, a given feature sequence is composed and input into the global-local multimodal feature fusion layer to obtain the feature representation of the multimodal fusion of user data;

[0127] The correlation calculation module is configured to: generate positive correlation features and negative correlation features between multimodal data using a dual-channel self-attention module according to the obtained multimodal fusion feature representation;

[0128] The early warning output module is configured to: connect the obtained multimodal fusion features, positive correlation features, and negative correlation features as the final feature portrait of the electricity user, and calculate and output the user's electricity fee recovery early warning result level label based on the feature portrait.

[0129] The steps involved in the apparatuses of the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.

[0130] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

[0131] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A marketing electricity fee recovery early warning method based on multimodal dual-channel attention, characterized by: include: Obtain users' historical multimodal electricity consumption data, including structured data and unstructured data; The structured data includes time series data, including at least the user's historical electricity consumption, the user's historical payment amount and the user's historical account balance; The unstructured data includes text data, including at least user profile information text and user social evaluation text, wherein the user social evaluation text includes user information profile, user credit report, bank credit report and judicial judgment report; Inputting structured data into a structured feature encoder to obtain structured feature encoding, and inputting unstructured data into an unstructured feature encoder to obtain unstructured feature encoding; the structured feature encoder uses a one-dimensional Inception module in a deep convolutional neural network to extract the time dependency and multi-scale pattern of the user's electricity consumption data stream; the one-dimensional Inception module can simultaneously capture time patterns of different scales by applying multiple convolution kernel sizes in parallel, and inputs the obtained structured user sequence data containing position information into the structured feature encoder to obtain structured data feature encoding; The unstructured feature encoder uses an N-layer stacked Transformer-Encoder to process text data and perform preliminary feature extraction; the unstructured user data obtained by integrating user profile information embedding and user social evaluation representation is input into the unstructured encoder to obtain unstructured data feature encoding, and the correlation and information interaction between electricity customer text data are captured by using a Transformer-encoder based on a multi-head self-attention mechanism; For structured feature coding and unstructured feature coding, the self-attention module and convolution module are used to process the multimodal fusion features of the user's global and local information, specifically: The global-local feature trend extraction layer of electricity users adopts a model combining a multi-head attention mechanism and a convolution module to capture global and local information of different modalities respectively, and couple them to reduce the deviation of heterogeneous semantics of electricity users; Based on the structured data feature coding and the unstructured data feature coding, a given feature sequence is composed and input into the global-local multimodal feature fusion layer to obtain the feature representation of the multimodal fusion of user data; According to the obtained multimodal fusion feature representation, a dual-channel self-attention module is used to generate positive correlation features and negative correlation features between multimodal data; The obtained multimodal fusion features, positive correlation features, and negative correlation features are connected as the final feature portrait of the electricity customer, and the user's electricity fee recovery warning result level label is calculated and output based on the feature portrait.

2. The marketing electricity fee recovery early warning method based on multimodal dual-channel attention as claimed in claim 1 is characterized in that: The method also includes the steps of preprocessing structured data and unstructured data, wherein the step of preprocessing unstructured data includes: The word segmentation and word embedding operations are used to obtain the user profile information embedding representation and the user social evaluation representation respectively. After that, the user profile information embedding representation and the user social evaluation representation are added and summarized to obtain the unstructured user data.

3. The marketing electricity fee recovery early warning method based on multimodal dual-channel attention as claimed in claim 2 is characterized in that: The preprocessing of structured data includes: The time series data is represented as structured user data, and the structured user data is added to the position embedding to retain the position information of the data in the sequence, thereby obtaining structured user sequence data containing the position information.

4. A marketing electricity fee recovery early warning system based on multimodal dual-channel attention, characterized by: include: The data acquisition module is configured to: acquire the user's historical multi-modal electricity consumption data, including structured data and unstructured data; The structured data includes time series data, including at least the user's historical electricity consumption, the user's historical payment amount and the user's historical account balance; The unstructured data includes text data, including at least user profile information text and user social evaluation text, wherein the user social evaluation text includes user information profile, user credit report, bank credit report and judicial judgment report; The feature extraction module is configured to: input structured data into a structured feature encoder to obtain structured feature codes, and input unstructured data into an unstructured feature encoder to obtain unstructured feature codes; the structured feature encoder uses a one-dimensional Inception module in a deep convolutional neural network to extract the time dependency and multi-scale pattern of the user's electricity consumption data stream; the one-dimensional Inception module can simultaneously capture time patterns of different scales by applying multiple convolution kernel sizes in parallel, and input the obtained structured user sequence data containing position information into the structured feature encoder to obtain structured data feature codes; The unstructured feature encoder uses an N-layer stacked Transformer-Encoder to process text data and perform preliminary feature extraction; the unstructured user data obtained by integrating user profile information embedding and user social evaluation representation is input into the unstructured encoder to obtain unstructured data feature encoding, and the correlation and information interaction between electricity customer text data are captured by using a Transformer-encoder based on a multi-head self-attention mechanism; The trend analysis module is configured as follows: for structured feature coding and unstructured feature coding, the self-attention module and the convolution module are used to process and obtain the multimodal fusion features of the user's global and local information, specifically: The global-local feature trend extraction layer of electricity users adopts a model combining a multi-head attention mechanism and a convolution module to capture global and local information of different modalities respectively, and couple them to reduce the deviation of heterogeneous semantics of electricity users; Based on the structured data feature coding and the unstructured data feature coding, a given feature sequence is composed and input into the global-local multimodal feature fusion layer to obtain the feature representation of the multimodal fusion of user data; The correlation calculation module is configured to: generate positive correlation features and negative correlation features between multimodal data using a dual-channel self-attention module according to the obtained multimodal fusion feature representation; The early warning output module is configured to: connect the obtained multimodal fusion features, positive correlation features, and negative correlation features as the final feature portrait of the electricity user, and calculate and output the user's electricity fee recovery early warning result level label based on the feature portrait.

5. The marketing electricity fee recovery early warning system based on multimodal dual-channel attention as claimed in claim 4 is characterized in that: The method also includes the steps of preprocessing structured data and unstructured data, wherein the step of preprocessing unstructured data includes: The word segmentation and word embedding operations are used to obtain the user profile information embedding representation and the user social evaluation representation respectively. After that, the user profile information embedding representation and the user social evaluation representation are added and summarized to obtain the unstructured user data.

6. The marketing electricity fee recovery early warning system based on multimodal dual-channel attention as claimed in claim 5 is characterized in that: The preprocessing of structured data includes: The time series data is represented as structured user data, and the structured user data is added to the position embedding to retain the position information of the data in the sequence, thereby obtaining structured user sequence data containing the position information.

7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to claim 1 are implemented.

8. A computer device as claimed in claim 7, characterized in that: The method also includes the steps of preprocessing structured data and unstructured data, wherein the step of preprocessing unstructured data includes: The word segmentation and word embedding operations are used to obtain the user profile information embedding representation and the user social evaluation representation respectively. After that, the user profile information embedding representation and the user social evaluation representation are added and summarized to obtain the unstructured user data.

9. A computer device as claimed in claim 8, characterized in that: The preprocessing of structured data includes: The time series data is represented as structured user data, and the structured user data is added to the position embedding to retain the position information of the data in the sequence, thereby obtaining structured user sequence data containing the position information.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to claim 1 are performed.

11. A computer-readable storage medium according to claim 10, characterized in that: The method also includes the steps of preprocessing structured data and unstructured data, wherein the step of preprocessing unstructured data includes: The word segmentation and word embedding operations are used to obtain the user profile information embedding representation and the user social evaluation representation respectively. After that, the user profile information embedding representation and the user social evaluation representation are added and summarized to obtain the unstructured user data.

12. A computer-readable storage medium according to claim 11, characterized in that: The preprocessing of structured data includes: The time series data is represented as structured user data, and the structured user data is added to the position embedding to retain the position information of the data in the sequence, thereby obtaining structured user sequence data containing the position information.