Recommendation method for financial products

By performing feature processing and recommendation model analysis on the transaction data and product information of financial products, an optimized recommendation list is generated, which solves the problems of low transaction data processing efficiency and poor recommendation effect in the existing technology, and realizes efficient and accurate financial products. recommend.

CN118608259APending Publication Date: 2024-09-06UNIV OF SCI & TECH OF CHINA +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410948925.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When the existing technology processes large-scale transaction data, the execution efficiency of servers and mobile terminals is low, resource consumption is high, and the data is noisy, resulting in poor financial product recommendation results.

Method used

Adopting a financial product recommendation method, by obtaining the target user's transaction data and product information in the product pool, using the feature processing module and recommendation model to generate the optimized features and relative features of the candidate products, splicing them together with the user's basic features, and outputting the recommended value , generate a product recommendation list for target users.

Benefits of technology

It realizes automated recommendation of financial products, makes full use of the computing power of electronic devices, reduces resource consumption, and improves the accuracy and efficiency of product recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608259A
    Figure CN118608259A
Patent Text Reader

Abstract

The invention provides a recommendation method for financial products. The recommendation method can be applied to the technical field of computers and the field of finance. The method comprises the following steps: obtaining product information of all products in a product pool and product transaction data corresponding to a target user; obtaining candidate product input information and transaction product input information according to the product information and the product transaction data of all the products in the product pool; inputting the initial feature information of the transaction products into a first feature processing module to obtain optimization features corresponding to each transaction product; inputting the initial feature information of the candidate products and the product information of each product in the product pool into a second feature processing module to obtain relative features corresponding to each candidate product; the optimization feature corresponding to each transaction product and the relative feature corresponding to each candidate product are spliced and then input into a recommendation module, and a recommendation value corresponding to each candidate product is output; and generating a product recommendation list according to the recommendation value corresponding to each candidate product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of computer technology and finance, and more specifically, to a method, device, electronic device, storage medium, and program product for recommending financial products. Background Art

[0002] In related technologies, electronic devices such as servers and mobile terminals can be used to process big data such as log data, transaction data, and consumption scenario data in the field of big data. At present, a product recommendation system can be set up in electronic devices such as servers or mobile terminals, and the transaction data is processed by the product recommendation system to output a recommendation list for users. However, due to the large amount of transaction data, when using this data to recommend products to users, not only will the execution efficiency of electronic devices such as servers and mobile terminals be low and resource consumption be high; but there will also be a lot of data noise, resulting in poor recommendation results. Summary of the invention

[0003] In view of this, the present disclosure provides a method, device, electronic device, storage medium and program product for recommending financial products.

[0004] One aspect of the present disclosure provides a method for recommending financial products, comprising: in response to a financial product recommendation request for a target user, upon determining that a financial transaction system has product transaction data corresponding to the target user, obtaining product information of all products in a product pool and product transaction data corresponding to the target user; processing the product information of all products in the product pool and the product transaction data to obtain candidate product input information and transaction product input information, wherein the transaction product input information includes product information that has been traded by the target user, the candidate product input information includes product information that has not been traded in the product pool, the candidate product input information includes initial feature information of at least one candidate product, and the transaction product input information includes initial feature information of at least one transaction product; and processing the at least one transaction product The initial feature information is input into the first feature processing module of the product recommendation model to obtain the optimization features corresponding to each of the above-mentioned at least one transaction product; the initial feature information of the above-mentioned at least one candidate product and the product information of each product in the product pool are input into the second feature processing module of the above-mentioned product recommendation model to obtain the relative features corresponding to each of the above-mentioned at least one candidate product, wherein the above-mentioned relative features are determined based on the initial features of the above-mentioned candidate products and the product features of each product in the above-mentioned product pool; the optimization features corresponding to each of the above-mentioned at least one transaction product and the relative features corresponding to each of the above-mentioned at least one candidate product are spliced ​​and input into the recommendation module of the above-mentioned product recommendation model to output the corresponding recommendation value of each of the above-mentioned at least one candidate product; and a product recommendation list corresponding to the above-mentioned target user is generated based on the corresponding recommendation value of each of the above-mentioned at least one candidate product.

[0005] According to an embodiment of the present disclosure, the above-mentioned first feature processing module includes a first attention mechanism layer, a first residual connection and regularization layer, and a first pooling layer; the above-mentioned inputting the initial feature information of the above-mentioned at least one transaction product into the first feature processing module of the product recommendation model to obtain the optimization features corresponding to each of the above-mentioned at least one transaction product includes: inputting the initial feature information of the above-mentioned at least one transaction product into the above-mentioned first attention mechanism layer, and outputting the first weight corresponding to each of the above-mentioned at least one transaction product; according to the initial feature information of the above-mentioned at least one transaction product and the first weight corresponding to each of the above-mentioned at least one transaction product, obtaining the weighted features corresponding to each of the above-mentioned at least one transaction product; after the weighted features corresponding to each of the above-mentioned at least one transaction product are processed by the above-mentioned first residual connection and regularization layer and the above-mentioned first pooling layer in sequence, the optimization features corresponding to each of the above-mentioned at least one transaction product are obtained.

[0006] According to an embodiment of the present disclosure, the second feature processing module includes a second attention mechanism layer, a second residual connection and regularization layer, and a second pooling layer; the initial feature information of the at least one candidate product and the product information of each product in the product pool are input into the second feature processing module of the product recommendation model to obtain the relative features corresponding to each of the at least one candidate product, including: for the i-th candidate product among the at least one candidate product, the initial feature information of the i-th candidate product and the product information of each product in the product pool are input into the second attention mechanism layer, and the i-th feature weight corresponding to each product in the product pool is output; according to the initial features of each product in the product pool and the i-th product weight corresponding to each product in the product pool, the i-th weighted feature corresponding to the i-th candidate product is obtained, wherein i is a positive integer ≥1; the weighted features corresponding to each of the at least one candidate product are processed by the second residual connection and regularization layer and the second pooling layer in sequence to obtain the relative features corresponding to each of the at least one candidate product.

[0007] According to an embodiment of the present disclosure, the method further includes: acquiring basic information of the target user; processing the basic information of the target user to obtain basic characteristics of the user; wherein, after splicing the optimization characteristics corresponding to each of the at least one transaction product and the relative characteristics corresponding to each of the at least one candidate product, inputting the splicing into the recommendation module of the product recommendation model, and outputting the corresponding recommendation value of each of the at least one candidate product comprises: after splicing the optimization characteristics corresponding to each of the at least one transaction product, the relative characteristics corresponding to each of the at least one candidate product and the basic characteristics of the user, inputting the splicing into the recommendation module of the product recommendation model, and outputting the corresponding recommendation value of each of the at least one candidate product.

[0008] According to an embodiment of the present disclosure, the above-mentioned processing of the product information of all products in the above-mentioned product pool and the above-mentioned product transaction data to obtain candidate product input information and transaction product input information includes: analyzing the above-mentioned product transaction data to obtain transaction product data; wherein the above-mentioned transaction product data includes product data that has been traded by the above-mentioned target user; determining candidate product data based on the product information of all products in the above-mentioned product pool and the above-mentioned transaction product data, wherein the above-mentioned candidate product data includes product data that has not been traded by the above-mentioned target user in the above-mentioned product pool; determining a target embedding method based on the data types contained in the above-mentioned candidate product data and the above-mentioned transaction product data; and embedding the above-mentioned candidate product data and the above-mentioned transaction product data using the above-mentioned target embedding method to obtain the above-mentioned candidate product input information and the above-mentioned transaction product input information.

[0009] According to an embodiment of the present disclosure, the target embedding method is determined according to the data types contained in the candidate product data and the transaction product data, including: when the data type is label data, the target embedding method is determined to be a hash encoding method; when the data type is numerical data, the target embedding method is determined to be a normalization method; when the data type is text data, the target embedding method is determined to be a word embedding method.

[0010] According to an embodiment of the present disclosure, the above-mentioned product recommendation model also includes a normalization module, and the above-mentioned method also includes: the corresponding recommendation value of each of the above-mentioned at least one candidate product is input into the above-mentioned normalization module, and the corresponding recommendation probability of each of the above-mentioned at least one candidate product is output; wherein, the above-mentioned generating a product recommendation list corresponding to the above-mentioned target user according to the corresponding recommendation value of each of the above-mentioned at least one candidate product includes: generating a product recommendation list corresponding to the above-mentioned target user according to the corresponding recommendation probability of each of the above-mentioned at least one candidate product.

[0011] According to an embodiment of the present disclosure, the above method also includes: in a case where it is determined that there is no product transaction data corresponding to the above target user in the financial transaction system, obtaining product information and preset transaction input information of all products in the product pool; processing according to the product information of all products in the above product pool and the above preset transaction input information to obtain candidate product input information and transaction product input information; wherein the above transaction product input information is the above preset transaction input information, and the above candidate product input information includes all product information in the above product pool; after generating a product recommendation list corresponding to the above target user according to the corresponding recommendation value of each of the above at least one candidate product, adjusting the above product recommendation list according to a preset adjustment method to obtain an adjusted product recommendation list.

[0012] According to an embodiment of the present disclosure, the above-mentioned product recommendation list is adjusted according to a preset adjustment method to obtain the adjusted product recommendation list, which includes: selecting a product whose recommendation probability is lower than a preset threshold from the above-mentioned product recommendation list to obtain a first pending product; replacing the above-mentioned first pending product with a preset product to obtain the above-mentioned adjusted recommendation list.

[0013] According to an embodiment of the present disclosure, the above-mentioned product recommendation list is adjusted according to a preset adjustment method to obtain the adjusted product recommendation list, which includes: selecting a product whose recommendation probability is lower than a preset threshold from the above-mentioned product recommendation list to obtain a second pending product; determining a candidate user corresponding to the above-mentioned target user based on the basic information of the above-mentioned target user; selecting a preset number of replacement products from the product recommendation list corresponding to the above-mentioned candidate users; and replacing the above-mentioned second pending product with the above-mentioned replacement product to obtain the adjusted product recommendation list.

[0014] Another aspect of the present disclosure provides a recommendation device for financial products, including: an acquisition module, for responding to a financial product recommendation request for a target user, and obtaining product information of all products in a product pool and product transaction data corresponding to the target user when it is determined that there is product transaction data corresponding to the target user; a processing module, for processing the product information of all products in the product pool and the product transaction data to obtain candidate product input information and transaction product input information, wherein the transaction product input information includes product information that has been traded by the target user, the candidate product input information includes product information that has not been traded in the product pool, the candidate product input information includes initial feature information of at least one candidate product, and the transaction product input information includes initial feature information of at least one transaction product; a first feature processing module, for processing the initial feature information of the at least one transaction product The information is input into the first feature processing module of the product recommendation model to obtain the optimization features corresponding to each of the above-mentioned at least one transaction product; the second feature processing module is used to input the initial feature information of the above-mentioned at least one candidate product and the product information of each product in the product pool into the second feature processing module of the above-mentioned product recommendation model to obtain the relative features corresponding to each of the above-mentioned at least one candidate product, wherein the above-mentioned relative features are determined according to the initial features of the above-mentioned candidate products and the product features of each product in the above-mentioned product pool; the input-output module is used to splice the optimization features corresponding to each of the above-mentioned at least one transaction product and the relative features corresponding to each of the above-mentioned at least one candidate product, and input them into the recommendation module of the above-mentioned product recommendation model to output the corresponding recommendation value of each of the above-mentioned at least one candidate product; and the generation module is used to generate a product recommendation list corresponding to the above-mentioned target user according to the corresponding recommendation value of each of the above-mentioned at least one candidate product.

[0015] Another aspect of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.

[0016] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.

[0017] Another aspect of the present disclosure provides a computer program product, which includes computer executable instructions, and when the instructions are executed, are used to implement the method as described above.

[0018] According to the embodiments of the present disclosure, the candidate product input information and the transaction product input information are determined based on the product information of all products in the product pool and the product transaction data corresponding to the target user; then the initial features of the transaction products are input into the first feature processing module to obtain the optimization features corresponding to at least one transaction product; and the initial feature information of the candidate products and the product information of each product in the product pool are input into the second feature processing module to obtain the relative features corresponding to at least one candidate product; then the corresponding recommendation value of each candidate product is determined based on the optimization features corresponding to the transaction products and the relative features corresponding to the candidate products; then the technical means of generating a product recommendation list based on the corresponding recommendation value of each candidate product can realize automatic recommendation of products, make full use of the computing power of electronic devices, and reduce resource consumption; at the same time, by using all the products in the product pool to characterize the relative features of the candidate products, the relative features can characterize the advantages of the candidate products relative to other products and the position of the candidate products in the product pool, and use the relative features to recommend products, which helps to improve the accuracy of product recommendations. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0020] Figure 1 An exemplary system architecture to which a recommendation method for financial products can be applied according to an embodiment of the present disclosure is schematically shown;

[0021] Figure 2 A flowchart of a method for recommending financial products according to an embodiment of the present disclosure is schematically shown;

[0022] Figure 3 A flowchart of a method for recommending financial products according to another embodiment of the present disclosure is schematically shown;

[0023] Figure 4 A schematic diagram of a method for recommending financial products according to an embodiment of the present disclosure is shown;

[0024] Figure 5 A block diagram schematically shows an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure;

[0025] Figure 6 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0030] In the embodiments of the present disclosure, the collection, updating, analysis, processing, use, transmission, provision, disclosure, storage, etc. of the data involved (for example, including but not limited to user personal information) are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security, and national security.

[0031] In the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.

[0032] An embodiment of the present disclosure provides a recommendation method for financial products, comprising: in response to a financial product recommendation request for a target user, in the case of determining that there is product transaction data corresponding to the target user, obtaining product information of all products in a product pool and product transaction data corresponding to the target user; processing the product information and product transaction data of all products in the product pool to obtain candidate product input information and transaction product input information, wherein the transaction product input information includes product information that has been traded by the target user, the candidate product input information includes product information that has not been traded in the product pool, the candidate product input information includes initial feature information of at least one candidate product, and the transaction product input information includes initial feature information of at least one transaction product; and converting the initial feature information of at least one transaction product into the initial feature information of at least one transaction product. The feature information is input into the first feature processing module of the product recommendation model to obtain the optimization feature corresponding to at least one transaction product; the initial feature information of at least one candidate product and the product information of each product in the product pool are input into the second feature processing module of the product recommendation model to obtain the relative feature corresponding to at least one candidate product, wherein the relative feature is determined based on the initial feature of the candidate product and the product feature of each product in the product pool; the optimization feature corresponding to at least one transaction product and the relative feature corresponding to at least one candidate product are concatenated and input into the recommendation module of the product recommendation model to output the corresponding recommendation value of at least one candidate product; and a product recommendation list corresponding to the target user is generated based on the corresponding recommendation value of at least one candidate product.

[0033] It should be noted that the method and device for recommending financial products provided in the embodiments of the present disclosure can be used in the computer field and the financial field. The method and device for recommending financial products provided in the embodiments of the present disclosure can also be used in any field other than the computer field and the financial field. The application field of the method and device for recommending financial products provided in the embodiments of the present disclosure is not limited.

[0034] Figure 1 The exemplary system architecture 100 to which the recommendation method for financial products according to the embodiment of the present disclosure can be applied is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0035] like Figure 1As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.

[0036] The user may use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software, etc. (only for example).

[0037] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0038] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0039] It should be noted that the recommendation method for financial products provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the recommendation device for financial products provided in the embodiment of the present disclosure can generally be set in the server 105. The recommendation method for financial products provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Correspondingly, the recommendation device for financial products provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Alternatively, the recommendation method for financial products provided in the embodiment of the present disclosure can also be executed by the first terminal device 101, the second terminal device 102 or the third terminal device 103, or by other terminal devices that are different from the first terminal device 101, the second terminal device 102 or the third terminal device 103. Accordingly, the recommendation device for financial products provided in the embodiments of the present disclosure may also be provided in the first terminal device 101, the second terminal device 102 or the third terminal device 103, or in other terminal devices different from the first terminal device 101, the second terminal device 102 or the third terminal device 103.

[0040] For example, the product information and product transaction data of all products in the product pool may be originally stored in any one of the first terminal device 101, the second terminal device 102 or the third terminal device 103 (for example, the first terminal device 101, but not limited thereto), or stored on an external storage device and imported into the first terminal device 101. Then, the first terminal device 101 may locally execute the recommendation method for financial products provided in the embodiment of the present disclosure, or send the product information and product transaction data of all products in the product pool to other terminal devices, servers, or server clusters, and the recommendation method for financial products provided in the embodiment of the present disclosure may be executed by other terminal devices, servers, or server clusters that receive the product information and product transaction data of all products in the product pool.

[0041] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0042] Figure 2 The flowchart of the method for recommending financial products according to an embodiment of the present disclosure is schematically shown.

[0043] like Figure 2As shown, the method includes operations S210 to S260.

[0044] In operation S210, in response to a financial product recommendation request for a target user, when it is determined that the financial transaction system has product transaction data corresponding to the target user, product information of all products in a product pool and the product transaction data corresponding to the target user are obtained.

[0045] According to an embodiment of the present disclosure, product transaction data includes transaction data of traded products, for example, may include information such as the name of the traded product, the time of the traded product, and the product content of the traded product.

[0046] According to an embodiment of the present disclosure, the product pool may include all products in the financial transaction system.

[0047] According to an embodiment of the present disclosure, the product information of all products in the product pool includes basic data of each product in the product pool.

[0048] According to an embodiment of the present disclosure, the method further includes: acquiring basic information of the target user; processing the basic information of the target user to obtain basic characteristics of the user; wherein, after splicing the optimization characteristics corresponding to each of the at least one transaction product and the relative characteristics corresponding to each of the at least one candidate product, inputting the splicing into the recommendation module of the product recommendation model, and outputting the corresponding recommendation value of each of the at least one candidate product comprises: after splicing the optimization characteristics corresponding to each of the at least one transaction product, the relative characteristics corresponding to each of the at least one candidate product and the basic characteristics of the user, inputting the splicing into the recommendation module of the product recommendation model, and outputting the corresponding recommendation value of each of the at least one candidate product.

[0049] According to an embodiment of the present disclosure, the basic information of the target user includes information such as age, gender, education level, etc. After feature extraction is performed on the basic information of the target user, basic features of the user are obtained.

[0050] It should be noted that, in the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information. For example, the user's authorization or consent is obtained before performing operation S210.

[0051] In operation S220, product information and product transaction data of all products in the product pool are processed to obtain candidate product input information and transaction product input information, wherein the transaction product input information includes product information that has been traded by the target user, the candidate product input information includes product information that has not been traded in the product pool, the candidate product input information includes initial feature information of at least one candidate product, and the transaction product input information includes initial feature information of at least one transaction product.

[0052] According to an embodiment of the present disclosure, the above-mentioned processing of the product information of all products in the above-mentioned product pool and the above-mentioned product transaction data to obtain candidate product input information and transaction product input information includes: analyzing the above-mentioned product transaction data to obtain transaction product data; wherein the above-mentioned transaction product data includes product data that has been traded by the above-mentioned target user; determining candidate product data based on the product information of all products in the above-mentioned product pool and the above-mentioned transaction product data, wherein the above-mentioned candidate product data includes product data that has not been traded by the above-mentioned target user in the above-mentioned product pool; determining a target embedding method based on the data types contained in the above-mentioned candidate product data and the above-mentioned transaction product data; and embedding the above-mentioned candidate product data and the above-mentioned transaction product data using the above-mentioned target embedding method to obtain the above-mentioned candidate product input information and the above-mentioned transaction product input information.

[0053] According to an embodiment of the present disclosure, analyzing the above product transaction data to obtain transaction product data may include cleaning, deduplication and feature extraction of the product transaction data to obtain transaction product data. The transaction product data includes basic information of the traded product, such as product name, product risk and other information.

[0054] According to an embodiment of the present disclosure, a candidate product is an untraded product in a product pool. After a traded product is determined, the candidate product can be determined based on all product information and traded product data in the product pool, thereby obtaining candidate product data.

[0055] According to the embodiments of the present disclosure, candidate product data, transaction product data, and user basic characteristics include a variety of data types, for example, label data, numerical data, text data, etc. Therefore, corresponding information embedding methods need to be adopted according to different types.

[0056] According to an embodiment of the present disclosure, the target embedding method is determined based on the data types contained in the candidate product data, the transaction product data and the basic characteristics of the user, including: when the data type is label data, the target embedding method is determined to be a hash encoding method; when the data type is numerical data, the target embedding method is determined to be a normalization method; when the data type is text data, the target embedding method is determined to be a word embedding method.

[0057] According to an embodiment of the present disclosure, when it is determined that there is no product transaction data corresponding to the target user in the financial transaction system, the product information and preset transaction input information of all products in the product pool are obtained; the product information and preset transaction input information of all products in the product pool are processed to obtain candidate product input information and transaction product input information; wherein the above-mentioned transaction product input information is the above-mentioned preset transaction input information, and the above-mentioned candidate product input information includes all product information in the above-mentioned product pool.

[0058] According to an embodiment of the present disclosure, the preset transaction input information may be input information with a smaller image for product recommendation, for example, the preset input information may be all 0.

[0059] In operation S230, initial feature information of at least one transaction product is input into a first feature processing module of a product recommendation model to obtain optimized features corresponding to each of the at least one transaction product.

[0060] According to an embodiment of the present disclosure, the optimization feature may be an interest matrix of the target user.

[0061] According to an embodiment of the present disclosure, the above-mentioned first feature processing module includes a first attention mechanism layer, a first residual connection and regularization layer, and a first pooling layer; the above-mentioned inputting the initial feature information of the above-mentioned at least one transaction product into the first feature processing module of the product recommendation model to obtain the optimization features corresponding to each of the above-mentioned at least one transaction product includes: inputting the initial feature information of the above-mentioned at least one transaction product into the above-mentioned first attention mechanism layer, and outputting the first weight corresponding to each of the above-mentioned at least one transaction product; according to the initial feature information of the above-mentioned at least one transaction product and the first weight corresponding to each of the above-mentioned at least one transaction product, obtaining the weighted features corresponding to each of the above-mentioned at least one transaction product; after the weighted features corresponding to each of the above-mentioned at least one transaction product are processed by the above-mentioned first residual connection and regularization layer and the above-mentioned first pooling layer in sequence, the optimization features corresponding to each of the above-mentioned at least one transaction product are obtained.

[0062] According to an embodiment of the present disclosure, inputting the initial feature information of the at least one transaction product into the first attention mechanism layer, and outputting the first weight corresponding to each of the at least one transaction product may include: inputting the initial feature information of the at least one transaction product into the first attention mechanism layer, and using a self-attention mechanism for the initial feature information of each transaction product to obtain a corresponding first weight β, as shown in the following formula (1).

[0063] (1);

[0064] in, is the initial feature information of the transaction product; the N products that the target user has traded are recorded as , , …, .

[0065] According to an embodiment of the present disclosure, obtaining the weighted features corresponding to each of the at least one transaction product based on the initial feature information of the at least one transaction product and the first weight corresponding to each of the at least one transaction product may include: for each transaction product in the at least one transaction product, multiplying the initial feature information of the transaction product by the first weight corresponding to the transaction product, and then adding the result to the initial feature information of the transaction product to obtain the weighted features of the transaction product.

[0066] According to an embodiment of the present disclosure, the weighted features corresponding to the at least one transaction product are sequentially processed by the first residual connection and regularization layer and the first pooling layer to obtain the optimized features corresponding to the at least one transaction product. The weighted features are subjected to residual connection and regularization, and then subjected to the maximum pooling layer to obtain the optimized feature matrix w MU , the optimized feature matrix represents the user’s interest in the transaction products. MU The details are shown in the following formula (2).

[0067] (2);

[0068] Among them, w MU To optimize the feature matrix, w EH is the initial feature information of the transaction product, N is the number of products that the target user has traded, and β is the first weight corresponding to each transaction product.

[0069] In operation S240, initial feature information of at least one candidate product and product information of each product in the product pool are input into the second feature processing module of the product recommendation model to obtain relative features corresponding to at least one candidate product, wherein the relative features are determined based on the initial features of the candidate product and the product features of each product in the product pool.

[0070] According to an embodiment of the present disclosure, the second feature processing module includes a second attention mechanism layer, a second residual connection and regularization layer, and a second pooling layer; the initial feature information of the at least one candidate product and the product information of each product in the product pool are input into the second feature processing module of the product recommendation model to obtain the relative features corresponding to each of the at least one candidate product, including: for the i-th candidate product among the at least one candidate product, the initial feature information of the i-th candidate product and the product information of each product in the product pool are input into the second attention mechanism layer, and the i-th feature weight corresponding to each product in the product pool is output; according to the initial features of each product in the product pool and the i-th product weight corresponding to each product in the product pool, the i-th weighted feature corresponding to the i-th candidate product is obtained, wherein i is a positive integer ≥1; the weighted features corresponding to each of the at least one candidate product are processed by the second residual connection and regularization layer and the second pooling layer in sequence to obtain the relative features corresponding to each of the at least one candidate product.

[0071] According to an embodiment of the present disclosure, for example, the product pool includes product 1, product 2, product 3, ..., product H; for the i-th candidate product among the at least one candidate product, the initial feature information of the i-th candidate product and the product information of each product in the product pool are input into the second attention mechanism layer, and the i-th feature weight corresponding to each product in the product pool is output, which may include: The initial feature information of the i-th candidate product and the product information of product 1, product 2, product 3, ..., product H are input into the second attention mechanism layer, and the i-th feature weight corresponding to product 1, product 2, product 3, ..., product H is output, such as i-th weight 1, i-th weight 2, i-th weight 3, ..., i-th weight H.

[0072] According to an embodiment of the present disclosure, for the i-th candidate product among the at least one candidate product, the initial feature information of the i-th candidate product and the product information of each product in the product pool are input into the second attention mechanism layer, and the i-th feature weight corresponding to each product in the product pool is outputted, which may include: using the initial feature of the candidate product as the query of the attention mechanism and the product information of the product pool as the key and value of the attention mechanism, the second weight α of each product in the product pool can be obtained, as shown in the following formula (3).

[0073] (3);

[0074] Among them, w EW is the initial feature information of the candidate product; w EG Product information of products in the product pool, H is the number of products in the product pool.

[0075] Similarly, the initial features of each product in the product pool are weighted, and then residual connection and regularization are performed. After the maximum pooling layer, the relative features w corresponding to at least one candidate product are obtained. MG , the specific formula is as formula (4):

[0076] (4).

[0077] In operation S250, after the optimization features corresponding to at least one transaction product and the relative features corresponding to at least one candidate product are concatenated, they are input into the recommendation module of the product recommendation model, and the corresponding recommendation value of at least one candidate product is output.

[0078] According to an embodiment of the present disclosure, the recommendation module may include a linear layer, a residual connection layer, and a regularization layer. After the optimization feature corresponding to at least one transaction product and the relative feature corresponding to at least one candidate product are concatenated, the optimization feature and the relative feature corresponding to at least one candidate product are input into the recommendation module of the product recommendation model, and the recommendation value corresponding to at least one candidate product may be outputted by concatenating and flattening the optimization feature and the relative feature corresponding to at least one transaction product to obtain the integrated information w M , then, the information w M After two linear layers, a residual connection layer and a regularization layer, a recommendation value corresponding to at least one candidate product is obtained.

[0079] In operation S260, a product recommendation list corresponding to the target user is generated according to the corresponding recommendation value of each of the at least one candidate products.

[0080] According to the embodiments of the present disclosure, the candidate product input information and the transaction product input information are determined based on the product information of all products in the product pool and the product transaction data corresponding to the target user; then the initial features of the transaction products are input into the first feature processing module to obtain the optimization features corresponding to at least one transaction product; and the initial feature information of the candidate products and the product information of each product in the product pool are input into the second feature processing module to obtain the relative features corresponding to at least one candidate product; then the corresponding recommendation value of each candidate product is determined based on the optimization features corresponding to the transaction products and the relative features corresponding to the candidate products; then the technical means of generating a product recommendation list based on the corresponding recommendation value of each candidate product can realize automatic recommendation of products, make full use of the computing power of electronic devices, and reduce resource consumption; at the same time, by using all the products in the product pool to characterize the relative features of the candidate products, the relative features can characterize the advantages of the candidate products relative to other products and the position of the candidate products in the product pool, and use the relative features to recommend products, which helps to improve the accuracy of product recommendations.

[0081] According to an embodiment of the present disclosure, the above-mentioned product recommendation model also includes a normalization module, and the above-mentioned method also includes: the corresponding recommendation value of each of the above-mentioned at least one candidate product is input into the above-mentioned normalization module, and the corresponding recommendation probability of each of the above-mentioned at least one candidate product is output; wherein, the above-mentioned generating a product recommendation list corresponding to the above-mentioned target user according to the corresponding recommendation value of each of the above-mentioned at least one candidate product includes: generating a product recommendation list corresponding to the above-mentioned target user according to the corresponding recommendation probability of each of the above-mentioned at least one candidate product.

[0082] According to an embodiment of the present disclosure, the normalization module may adopt a SoftMax function.

[0083] Figure 3 The flowchart of a method for recommending financial products according to another embodiment of the present disclosure is schematically shown.

[0084] like Figure 3 As shown, the recommendation method for financial products in this embodiment includes operations S301 to S314.

[0085] In operation S301 , in response to a financial product recommendation request for a target user, basic information of the target user is acquired.

[0086] In operation S302, it is determined whether there is product transaction data of the target user in the financial transaction system according to the basic information of the target user. If so, operations S303 to S311 are executed; if not, operation S312 is executed.

[0087] In operation S303, product information of all products in the product pool in the financial transaction system and product transaction information of the target user are obtained.

[0088] In operation S304, product information and product transaction data of all products in the product pool are processed to obtain initial feature information of candidate products and initial feature information of transaction products.

[0089] In operation S305, the initial feature information of the transaction product is input into the first feature processing module of the product recommendation model to obtain an optimized feature matrix corresponding to the transaction product.

[0090] In operation S306, the initial feature information of the candidate product and the product information of each product in the product pool are input into the second feature processing module of the product recommendation model to obtain a relative feature matrix corresponding to the candidate product.

[0091] In operation S307, feature extraction is performed on the basic information of the user to obtain a basic feature matrix of the user.

[0092] In operation S308, the optimized feature matrix, the relative feature matrix and the user basic feature matrix are concatenated and input into a recommendation module of a product recommendation model, and the corresponding recommendation value of each candidate product is output.

[0093] In operation S309, the recommendation value corresponding to each candidate product is input into a normalization module, and the recommendation probability corresponding to each candidate product is output.

[0094] In operation S310 , a product recommendation list corresponding to a target user is generated according to the corresponding recommendation probabilities of the candidate products.

[0095] In operation S311, the product recommendation list is adjusted according to a preset adjustment method to obtain an adjusted product recommendation list.

[0096] In operation S312, product information and preset transaction input information of all products in the product pool in the financial transaction system are obtained.

[0097] In operation S313, initial feature information of candidate products is generated according to product information of all products in the product pool.

[0098] In operation S314, the preset transaction input information is input into the first feature processing module of the product recommendation model to obtain an optimized feature matrix, and then operations S306 to S311 are performed.

[0099] According to an embodiment of the present disclosure, the above method also includes: in a case where it is determined that there is no product transaction data corresponding to the above target user in the financial transaction system, obtaining product information and preset transaction input information of all products in the product pool; processing according to the product information of all products in the above product pool and the above preset transaction input information to obtain candidate product input information and transaction product input information; wherein the above transaction product input information is the above preset transaction input information, and the above candidate product input information includes all product information in the above product pool; after generating a product recommendation list corresponding to the above target user according to the corresponding recommendation value of each of the above at least one candidate product, adjusting the above product recommendation list according to a preset adjustment method to obtain an adjusted product recommendation list.

[0100] According to an embodiment of the present disclosure, the preset adjustment method may include one of the following: replacing some products in the product recommendation list with preset products such as popular products or replacing some products in the product recommendation list corresponding to users with similar interests to the target user.

[0101] According to an embodiment of the present disclosure, the above-mentioned product recommendation list is adjusted according to a preset adjustment method to obtain the adjusted product recommendation list, which includes: selecting a product whose recommendation probability is lower than a preset threshold from the above-mentioned product recommendation list to obtain a first pending product; replacing the above-mentioned first pending product with a preset product to obtain the above-mentioned adjusted recommendation list.

[0102] According to an embodiment of the present disclosure, the preset threshold may be any value, for example, 10%, 30%, 50%, etc.

[0103] According to an embodiment of the present disclosure, adjusting the above-mentioned product recommendation list according to a preset adjustment method to obtain the adjusted product recommendation list includes: selecting products with a recommendation probability lower than a preset threshold from the above-mentioned product recommendation list to obtain a second pending product; determining a candidate user corresponding to the above-mentioned target user based on the basic information of the above-mentioned target user; selecting a preset number of replacement products from the product recommendation list corresponding to the above-mentioned candidate user; replacing the above-mentioned second pending product with the above-mentioned replacement products to obtain the adjusted product recommendation list. According to an embodiment of the present disclosure, determining the candidate user corresponding to the above-mentioned target user based on the basic information of the above-mentioned target user may include: determining the cosine similarity between the target user and other users, and selecting users with higher similarity as candidate users.

[0104] According to the embodiments of the present disclosure, considering that there are some new users with insufficient transaction data, it is not a good choice to simply use a deep learning algorithm based on an attention mechanism to predict. At this time, the second half of the recommendation list with a lower probability is replaced. The products used for replacement are divided into two categories. One is general recommendations, which recommend the most popular products to the user. The other is that it is believed that the user's interests will be similar to those of users with more similar personal information to him, so it is recommended to him. Therefore, it is necessary to first calculate the cosine similarity between the remaining users and the user, and select the user with the highest similarity; then recommend the products with high probability in the product recommendation list corresponding to the user to the new user.

[0105] Figure 4 The principle diagram of the method for recommending financial products according to an embodiment of the present disclosure is schematically shown.

[0106] like Figure 4As shown, in this embodiment, first, information embedding is performed according to the user's historical behavior information 401 to obtain embedded products 1, product 2, ..., product N, where product 1, product 2, ..., product N are products purchased by the user; then the embedded products 1, product 2, ..., product N are input into the first feature extraction module 402 to extract user interest features, and output the user interest matrix 403; then, embedding is performed according to the user feature information 404 to obtain the user feature matrix 405; then, embedding is performed according to the candidate product information 406 to obtain the embedded candidate product 4 07; embedding is performed according to the product pool information 408 to obtain an embedded product pool 409, and then the embedded candidate products 407 and the embedded product pool 409 are input into the second feature extraction module 410 for relative feature extraction, and the relative feature matrix 411 of the candidate products is output; then, the user interest matrix 403, the user feature matrix 405 and the relative feature matrix 411 are concatenated and flattened to obtain an integrated matrix, and then passed through two linear layers 412, a residual connection layer 413, a regularization layer 414 and a normalization module 415 in sequence to obtain a recommendation probability 416 corresponding to each candidate product.

[0107] According to an embodiment of the present disclosure, a training method for a recommendation model is provided, comprising:

[0108] S1, first collects the user's historical product transaction information and personal information to build a user feature set; then, based on historical product transactions and product pool products, cleans, deduplicates and extracts features from the data, integrates the yield, term, risk and other features of the products to be recommended, and obtains the transaction product feature set and the candidate product feature set.

[0109] For S2, the user feature set and product feature set are embedded and integrated to construct the training set and test set. For the convenience of description, the transaction product feature set is recorded as

[0110] , the user feature set is , the initial information of product characteristics of the product pool is , and the candidate product feature set is .

[0111] Table 1 User feature set example table

[0112]

[0113] Table 2 Example of initial information of product characteristics of product pool

[0114]

[0115] Table 3 Example of transaction product feature set

[0116]

[0117] As shown in Table 1, Table 2, and Table 3 above, since the types of initial information are not consistent, different information embedding methods need to be used according to different information situations. Specifically, Hash Encoding is used for label information, Normalization is used for numerical information, and Word Embedding is used for text information. The user's transaction product embedding information is obtained as follows: , the user's feature embedding information is , the feature embedding information of the product pool is , with candidate product embedding information .

[0118] On this basis, we generate the overall data set. In the generated overall data set, each record corresponds to a user's interaction with the product. Take the record of recommending product C to user 1 as an example. This record consists of five parts: user 1's transaction product embedding information (for example, the initial feature information of product A that user 1 has traded), user 1's feature embedding information, product pool feature embedding information, candidate product (i.e. product C) initial information, and the final recommendation result. After generating the overall data, generate the test set and test set at a ratio of 0.8:0.2.

[0119] For S3, considering that a lot of transaction data is currently collected offline, it only contains user transaction records, but lacks records of no transactions after user interaction. Therefore, it is necessary to collect negative samples of historical interaction information. In the collection of negative samples, the following rules can be followed: (1) For each user, the number of positive and negative samples should be equal; (2) When sampling each user, products that the user has not generated any behavior should be selected, and the selection probability is proportional to the total number of transactions of the product.

[0120] For S4, based on the attention mechanism, a product recommendation model is constructed to predict whether the user will choose a product in the future, and the product recommendation model is trained using the training set. It should be noted that the product recommendation model is the same as the product recommendation model described in the above recommendation method for financial products, and will not be repeated here.

[0121] For S5, during the model training process, the loss function of equation (5) is constructed, which consists of two parts. The first part is the cross entropy loss function, and the other part is the penalty term of the two norm, which improves the generalization of the model and avoids overfitting.

[0122] (5);

[0123] Among them, S is a training set of size N, x is the probability output of the above-mentioned product recommendation model based on the attention mechanism, y is the corresponding label in the training set, and w is the parameter that needs to be trained.

[0124] After the model training converges, the trained parameters are put into the test set to obtain the probability of users purchasing the corresponding products, and each user is ranked. The first M users are selected to form the preliminary prediction results of users purchasing financial products.

[0125] Figure 5 A block diagram of a device for recommending financial products according to an embodiment of the present disclosure is schematically shown.

[0126] like Figure 5 As shown, the recommendation device 500 for financial products of this embodiment includes an acquisition module 510 , a processing module 520 , a first feature extraction module 530 , a second feature extraction module 550 , an input-output module 550 , and a generation module 560 .

[0127] The acquisition module 510 is used to respond to a financial product recommendation request for a target user, and when it is determined that there is product transaction data corresponding to the target user, acquire product information of all products in the product pool and the product transaction data corresponding to the target user.

[0128] Processing module 520 is used to process the product information of all products in the above-mentioned product pool and the above-mentioned product transaction data to obtain candidate product input information and transaction product input information, wherein the above-mentioned transaction product input information includes the product information that the above-mentioned target user has traded, the above-mentioned candidate product input information includes the product information that has not been traded in the above-mentioned product pool, the above-mentioned candidate product input information includes the initial feature information of at least one candidate product, and the above-mentioned transaction product input information includes the initial feature information of at least one transaction product.

[0129] The first feature processing module 530 is used to input the initial feature information of the at least one transaction product into the first feature processing module of the product recommendation model to obtain the optimized features corresponding to each of the at least one transaction product.

[0130] The second feature processing module 550 is used to input the initial feature information of the above-mentioned at least one candidate product and the product information of each product in the product pool into the second feature processing module of the above-mentioned product recommendation model to obtain the relative features corresponding to each of the above-mentioned at least one candidate product, wherein the above-mentioned relative features are determined based on the initial features of the above-mentioned candidate product and the product features of each product in the above-mentioned product pool.

[0131] The input-output module 550 is used to splice the optimization features corresponding to each of the above-mentioned at least one transaction product and the relative features corresponding to each of the above-mentioned at least one candidate product, input them into the recommendation module of the above-mentioned product recommendation model, and output the corresponding recommendation value of each of the above-mentioned at least one candidate product.

[0132] The generating module 560 is used to generate a product recommendation list corresponding to the target user according to the corresponding recommendation value of each of the at least one candidate product.

[0133] According to the embodiment of the present disclosure, any multiple of the acquisition module 510, the processing module 520, the first feature extraction module 530, the second feature extraction module 550, the input-output module 550 and the generation module 560 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the acquisition module 510, the processing module 520, the first feature extraction module 530, the second feature extraction module 550, the input-output module 550, and the generation module 560 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or may be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a proper combination of any of them. Alternatively, at least one of the acquisition module 510, the processing module 520, the first feature extraction module 530, the second feature extraction module 550, the input-output module 550, and the generation module 560 may be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function may be performed.

[0134] It should be noted that the recommendation device part for financial products in the embodiments of the present disclosure corresponds to the recommendation method part for financial products in the embodiments of the present disclosure. The description of the recommendation device part for financial products specifically refers to the recommendation method part for financial products, which will not be repeated here.

[0135] Figure 6 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0136] like Figure 6 As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0137] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0138] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the input / output (I / O) interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output (I / O) interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0139] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0140] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0141] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0142] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or the RAM 603 described above and / or one or more memories other than the ROM 602 and the RAM 603 .

[0143] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, which contains program code for executing the method provided by the embodiment of the present disclosure. When the computer program product is run on an electronic device, the program code is used to enable the electronic device to implement the recommendation method for financial products provided by the embodiment of the present disclosure.

[0144] When the computer program is executed by the processor 601, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0145] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0146] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0147] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0148] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for recommending financial products, characterized in that: The method comprises: In response to a financial product recommendation request for a target user, if it is determined that there is product transaction data corresponding to the target user in the financial transaction system, obtaining product information of all products in a product pool and the product transaction data corresponding to the target user; Processing the product information of all products in the product pool and the product transaction data to obtain candidate product input information and transaction product input information, wherein the transaction product input information includes product information that has been traded by the target user, the candidate product input information includes product information that has not been traded in the product pool, the candidate product input information includes initial feature information of at least one candidate product, and the transaction product input information includes initial feature information of at least one transaction product; Inputting the initial feature information of the at least one transaction product into the first feature processing module of the product recommendation model to obtain the optimized features corresponding to each of the at least one transaction product; Inputting the initial feature information of the at least one candidate product and the product information of each product in the product pool into the second feature processing module of the product recommendation model to obtain the relative features corresponding to each of the at least one candidate product, wherein the relative features are determined according to the initial features of the candidate product and the product features of each product in the product pool; After splicing the optimization features corresponding to each of the at least one transaction product and the relative features corresponding to each of the at least one candidate product, the results are input into the recommendation module of the product recommendation model, and the recommendation value corresponding to each of the at least one candidate product is output; and A product recommendation list corresponding to the target user is generated according to the corresponding recommendation value of each of the at least one candidate product.

2. The method according to claim 1, characterized in that The first feature processing module includes a first attention mechanism layer, a first residual connection and regularization layer, and a first pooling layer; Inputting the initial feature information of the at least one transaction product into the first feature processing module of the product recommendation model to obtain the optimization features corresponding to each of the at least one transaction product comprises: Inputting initial feature information of the at least one transaction product into the first attention mechanism layer, and outputting first weights corresponding to the at least one transaction product; Obtaining weighted features corresponding to each of the at least one transaction product according to the initial feature information of the at least one transaction product and the first weight corresponding to each of the at least one transaction product; The weighted features corresponding to each of the at least one transaction products are processed by the first residual connection and regularization layer and the first pooling layer in sequence to obtain the optimized features corresponding to each of the at least one transaction products.

3. The method according to claim 1, characterized in that The second feature processing module includes a second attention mechanism layer, a second residual connection and regularization layer, and a second pooling layer; The step of inputting the initial feature information of the at least one candidate product and the product information of each product in the product pool into the second feature processing module of the product recommendation model to obtain the relative features corresponding to each of the at least one candidate product comprises: For an i-th candidate product among the at least one candidate product, inputting initial feature information of the i-th candidate product and product information of each product in the product pool into the second attention mechanism layer, and outputting an i-th feature weight corresponding to each product in the product pool; According to the initial features of each product in the product pool and the i-th product weight corresponding to each product in the product pool, the i-th weighted feature corresponding to the i-th candidate product is obtained, where i is a positive integer ≥1; The weighted features corresponding to each of the at least one candidate product are processed in sequence by the second residual connection and regularization layer and the second pooling layer to obtain the relative features corresponding to each of the at least one candidate product.

4. The method according to claim 1, characterized in that: The method further comprises: Obtaining basic information of the target user; Processing the basic information of the target user to obtain basic characteristics of the user; The step of splicing the optimization features corresponding to the at least one transaction product and the relative features corresponding to the at least one candidate product, inputting the features into the recommendation module of the product recommendation model, and outputting the recommendation values ​​corresponding to the at least one candidate product comprises: After the optimization features corresponding to each of the at least one transaction product, the relative features corresponding to each of the at least one candidate product and the basic features of the user are spliced, they are input into the recommendation module of the product recommendation model, and the corresponding recommendation value of each of the at least one candidate product is output.

5. The method according to claim 1, characterized in that: The processing of the product information of all products in the product pool and the product transaction data to obtain candidate product input information and transaction product input information includes: Analyze the product transaction data to obtain transaction product data; wherein the transaction product data includes product data that the target user has traded; Determine candidate product data according to product information of all products in the product pool and the transaction product data, wherein the candidate product data includes product data in the product pool that the target user has not traded; Determining a target embedding method according to the data types included in the candidate product data and the transaction product data; The candidate product data and the transaction product data are embedded in the target embedding manner to obtain the candidate product input information and the transaction product input information.

6. The method according to claim 5, characterized in that Determining the target embedding method according to the data types included in the candidate product data and the transaction product data includes: In the case where the data type is label type data, determining that the target embedding method is a hash coding method; When the data type is numerical data, determining that the target embedding mode is a normalization mode; When the data type is text data, the target embedding method is determined to be a word embedding method.

7. The method according to claim 1, characterized in that The product recommendation model also includes a normalization module. The method further comprises: The recommendation value corresponding to each of the at least one candidate product is input into the normalization module, and the recommendation probability corresponding to each of the at least one candidate product is output; The step of generating a product recommendation list corresponding to the target user according to the recommendation value corresponding to each of the at least one candidate product comprises: A product recommendation list corresponding to the target user is generated according to the corresponding recommendation probability of each of the at least one candidate product.

8. The method according to claim 7, characterized in that The method further comprises: When it is determined that there is no product transaction data corresponding to the target user in the financial transaction system, obtaining product information and preset transaction input information of all products in the product pool; Processing the product information of all products in the product pool and the preset transaction input information to obtain candidate product input information and transaction product input information; wherein the transaction product input information is the preset transaction input information, and the candidate product input information includes all product information in the product pool; After generating a product recommendation list corresponding to the target user according to the corresponding recommendation value of each of the at least one candidate product, adjusting the product recommendation list according to a preset adjustment method to obtain an adjusted product recommendation list.

9. The method according to claim 8, characterized in that The adjusting the product recommendation list according to the preset adjustment method to obtain the adjusted product recommendation list includes: Selecting a product whose recommendation probability is lower than a preset threshold from the product recommendation list to obtain a first pending product; The first undetermined product is replaced with a preset product to obtain the adjusted recommendation list.

10. The method according to claim 8, characterized in that The adjusting the product recommendation list according to the preset adjustment method to obtain the adjusted product recommendation list includes: Selecting a product whose recommendation probability is lower than a preset threshold from the product recommendation list to obtain a second pending product; Determine a candidate user corresponding to the target user according to the basic information of the target user; Selecting a preset number of replacement products from the product recommendation list corresponding to the candidate user; The second undetermined product is replaced by the replacement product to obtain an adjusted product recommendation list.