An e-commerce scenario mining method and system based on joint matrix decomposition

By constructing a heterogeneous information network in the e-commerce field and using the joint matrix decomposition method, the problems of interpretability, universality and diversity in e-commerce scene mining are solved, the accurate screening and retention of scene information is achieved, and the product quality is improved. Recommended for performance and accuracy.

CN114757745BActive Publication Date: 2024-09-27BEIHANG UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210458830.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-25
Publication Date
2024-09-27
Estimated Expiration
2042-04-25

AI Technical Summary

Technical Problem

Existing technologies lack effective scene mining methods in the field of e-commerce. Traditional methods have problems with interpretability, universality, diversity, and learnability, and existing overlapping clustering methods have insufficient performance in complex heterogeneous information networks. stability, increasing the likelihood of information loss and error propagation.

Method used

An e-commerce scenario mining method based on joint matrix decomposition is proposed to construct a heterogeneous information network including product-commodity, product-attribute, and attribute-attribute subnetworks. Through non-negative matrix decomposition and sparsification goals, the product category information is directly output. Scene collection avoids intermediate variables and post-processing links to achieve precise screening and retention of scene information.

Benefits of technology

It implements the collection of product categories that appear frequently in real life as a formal definition. Explicit and clear scene information can guide product recommendation, adapt to the data structure of different product fields, reduce the use cost, and improve the accuracy and reliability of scene mining. interpretive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757745B
    Figure CN114757745B
Patent Text Reader

Abstract

The present invention realizes an e-commerce scenario mining method and system based on joint matrix decomposition through methods in the field of data mining. The given user behavior set and commodity attribute set of external input are used as e-commerce scenario information, and an e-commerce heterogeneous information network containing three types of subnetworks, namely commodity-commodity subnetwork, commodity-attribute subnetwork, and attribute-attribute subnetwork, is constructed. Then, the e-commerce scenario mining method is adopted, and after calculation steps, a clustering set of commodity category division is output. The method provided by the present invention designs a new e-commerce scenario definition, which can objectively and accurately reflect the real world with entity elements in the e-commerce platform, and has use value for all commodity fields. The explicit and clear definition method enables the scenario information to guide the downstream recommendation tasks to improve performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data mining, and in particular to an e-commerce scenario mining method based on joint matrix decomposition. Background Art

[0002] In order to guide the recommendation of products in different fields, it is necessary to integrate the internal information of the platform to mine universal formal scene information. In the product recommendation strategy of e-commerce platforms, it is a recognized method to improve the prediction quality to introduce additional recommendation guidance information based on the user product interaction records. For example, social links reflect the different social relationships between users, and shopping interests can be spread through such relationships, thereby guiding and supplementing the recommendation prediction of interactive behaviors. Since the traditional guidance information is expensive to obtain and requires data alignment when used, it forces the platform to find guidance information that is publicly accessible or can be extracted through internal information. Methods that predict users' potential shopping interests and behavioral intentions based on scenes with certain practical meanings have gradually attracted attention from the industry, and some methods that save scenes in pictures have achieved good results after being put into use on a small scale, which verifies the effectiveness of this strategy. However, when the scene-based product recommendation method is put into operation on actual platforms with different product fields, it faces many difficulties. On the one hand, the scene, as the key guidance information in the scene-based product recommendation method, is unknown in most cases. In other words, except for a few occasions where there are pre-known scenes, most of this kind of guidance information needs to be obtained by special methods. On the other hand, data on e-commerce platforms are updated and iterated frequently, and the data type composition varies greatly. Conventional methods for mining information from structured data focus on specific data types and composition patterns, which are insufficient and difficult to meet the requirements of greater versatility and universality in e-commerce operations.

[0003] There are four main challenges in scenario mining in large e-commerce platforms. 1) Interpretability. A scenario represents a real-life situation, so the obtained set of product categories should be interpretable as a symbol of a specific life situation. On the contrary, if a set of product categories cannot correspond to any real-life situation, it is not a scenario. For example, a set consisting of routers, switches, cables, and 3G / 4G devices clearly represents the scenario "networking", while a set consisting of routers, switches, and hats cannot be interpreted as a scenario. 2) Universality. The data on e-commerce platforms can be organized and modeled as heterogeneous information networks. Although heuristic data structures such as meta-paths and meta-structures have shown good usability in many data mining tasks on heterogeneous information networks, they have limitations. On the one hand, the structures of most heterogeneous information networks that appear in these tasks are relatively simple; on the other hand, meta-paths and meta-structures are usually manually designed by human experts, and it is actually not feasible to do the same in large and complex heterogeneous information networks. Therefore, it is necessary to design a scenario mining method that can be generalized to heterogeneous information networks with different complex structures. 3) Diversity. In e-commerce, a product category can exist in multiple different scenarios at the same time, and a scenario can also be represented as a collection of multiple different product categories. For example, a trash can can appear in both the "daily office" scenario and the "home life" scenario; the "daily office" scenario can be represented by a combination of a printer, a trash can, and a humidifier, or by a combination of a computer, a gel pen, and a printer. 4) Learnability. The scenarios in e-commerce are generally unknown, and the supervisory information used to guide the discovery of scenarios is often missing. Therefore, the task of mining scenarios is best treated as an unsupervised learning problem, which can be solved as an overlapping clustering problem.

[0004] At present, there is no formalized scenario mining technology designed for the e-commerce field. Since scenario mining can be regarded as an overlapping scenario clustering problem, the existing overlapping scenario clustering technology for heterogeneous information networks can be used for scenario mining. The most advanced solution is HMFCus-S. The main process points of this method are briefly described below:

[0005] Given a heterogeneous information network H = (V, E), where T is the number of types of nodes in H, and T>1. t Represents the node type t. V t Indicates that the type is T t is the set of nodes. E is the set of edges between nodes.

[0006] (1) Heterogeneous Information Network Transformation. The node type of the target cluster is regarded as the center type, and other node types are regarded as the attribute type. Then, a set of meta-paths P with one endpoint being the center type and the other endpoint being the attribute type can be obtained. Thus, by measuring the probability from the center type endpoint to the attribute type endpoint, the similarity between the center type endpoint and the attribute type endpoint can be obtained, and further, the similarity matrix between the center type endpoint and the attribute type endpoint can be obtained. The set of similarity matrices X corresponding to these meta-paths is the transformation result of the original heterogeneous information network. This step decomposes the complex relationship into a set of similarity matrices between the target node and other nodes.

[0007] (2) Multi-Type Co-clustering. The transformed similarity matrix set X is decomposed one by one. The goal is to make the factor matrix obtained by multiplication and restoration as close to the original matrix as possible. The central node factor matrix decomposed from each similarity matrix should be close to a total central node matrix, and the characteristics of the central nodes with relationships in the total central node matrix should also be close. The corresponding iterative formula is solved by using the KKT condition (Karush-Kuhn-Tucher condition), and the multiplication update rule is applied to iterate continuously until convergence. The total central node matrix obtained is the cluster membership matrix, and the threshold screening can be performed to complete the repeated clustering task.

[0008] (1) The procedure is cumbersome and has many steps, which increases the possibility of error propagation. Although heterogeneous information networks are complex networks, they are actually composed of multiple sub-networks. Information can be directly extracted and then integrated from these sub-networks. Always using the original data as the processing object can maximize the accuracy. However, HMFCus-S adds a conversion step and uses the meta-path to calculate the similarity between the center type node and the attribute type node. This performs unnecessary processing on the data. The design of the meta-path and the calculation method of the similarity will introduce new errors, affecting the final overlapping clustering effect.

[0009] (2) It contains heuristic structures, unstable performance, and is not universal. The meta-path method is used in the transformation step to pass information from heterogeneous information networks. The design of the meta-path has always been the key to the performance of meta-path-based methods. It requires human experts to rely on domain knowledge and a large number of tests to complete the design. This leads to differences in the quality of the designed meta-paths each time the method is used on data with different structures, and thus the performance consistency cannot be achieved.

[0010] (3) Adding unnecessary intermediate variables causes information loss. The target node appears in all similarity matrices. HMFCus-S generates an independent target node factor matrix for each similarity matrix, and finally makes these matrices converge to the total target node factor matrix. It seems that this total matrix integrates the information of different similarity matrices, but in fact, the independent factor matrix will absorb the information of other similarity matrices during the iteration process. Such a transmission process will cause information attenuation due to the addition of intermediate independent factor matrices. It is entirely possible to directly use the total target factor matrix as the factor matrix of each similarity matrix, thereby directly absorbing information from different aspects.

[0011] It can be seen from this that there is currently no scenario clustering method specifically designed for online shopping features, and there are many problems in directly applying existing overlapping clustering methods to e-commerce scenario mining.

[0012] First, the current overlapping clustering method for processing homogeneous networks cannot handle the complex information in e-commerce platforms. There are many entities in e-commerce platforms with different relationships. Relying solely on processing homogeneous networks to obtain information will produce one-sided results and fail to accurately model the real world. The accuracy of the results is difficult to meet the actual operation requirements and has no use value.

[0013] Secondly, the current overlapping clustering methods for dealing with heterogeneous information networks rely heavily on artificially provided heuristic knowledge. The knowledge cost of designing meta-paths and original structures is huge and not reusable. The differences in attribute types of different commodity fields on e-commerce platforms limit the use of such methods.

[0014] Thirdly, the current definition of e-commerce scenarios has limitations. Existing scenarios are mainly in the form of pictures, which are not applicable to the commodity field that does not have external commodities as the main feature. At the same time, the same scenario corresponds to a large number of pictures, which makes it impossible to explicitly represent the scenario information, which is not conducive to guiding subsequent tasks such as commodity recommendations in the form of abstract information. Summary of the invention

[0015] To this end, the present invention first proposes an e-commerce scenario mining method based on joint matrix decomposition, firstly transforming the given user behavior set of external input into and product attribute collection As e-commerce scenario information, an e-commerce heterogeneous information network is constructed, which includes three types of sub-networks: product-product sub-network, product-attribute sub-network, and attribute-attribute sub-network. Then, the e-commerce scenario mining method is adopted. After the calculation steps, for each product category, the scenario set to which it belongs is output. At the same time, the e-commerce scenario is output by collecting the product category set belonging to the same scenario;

[0016] The commodity-commodity sub-network records the relationship between commodities and records the user behaviors that reflect the relationship between commodities in the e-commerce operation process. Represents a set of user behaviors. Given a user behavior B, the corresponding product-product subnetwork is defined as G BB =(V B ,E BB ), where V B is the set of commodities, E BB It is a set of edges between products. Each edge represents the co-occurrence relationship between two linked products in user behavior B. The adjacency matrix W is used. BB To represent the relationship between products, each element represents the correlation between two products reflected by user behavior B;

[0017] The commodity-attribute subnetwork records the relationship between commodities and attributes. For commodity attributes in the e-commerce operation process, the commodity attributes are regarded as objects in the e-commerce heterogeneous information network. Represents a set of product attributes, where each attribute A i As an object type, given an attribute A, a product-attribute subnetwork can be represented by a bipartite graph G IA =(V I ∪V A ,E IA ), where V I is a collection of commodities, V A is a set of attribute nodes, E IA It is a set of binary relationship links between products and attributes. Each product-attribute subnetwork uses the adjacency matrix W IA To indicate that each element represents whether the product has a specific attribute value;

[0018] The attribute-attribute subnetwork records the relationship between attributes. Given an attribute A, an attribute-attribute subnetwork is defined as G. AA =(V A ,E AA ), where V A is a collection of attribute nodes, E AA is a set of links between attributes, using the adjacency matrix W AA Represents the relationship between attributes, where each element represents the correlation between two product attributes.

[0019] The user behaviors that reflect the relationship between products include clicks, purchases, and evaluations.

[0020] The above mentioned attributes include brand and category of the product.

[0021] The calculation steps are:

[0022] 1. Read the e-commerce heterogeneous information network G and the set of product attribute types A collection of product types corresponding to user behaviors The number of scenarios to be mined r, the screening threshold ∈, and the iteration termination measurement value θ;

[0023] 2. Initialize the factor matrix of each type of node

[0024] 3. Make each scene

[0025] 4. Set mum_iter = 0, last_loss = +∞;

[0026] 5. Determine whether num_iter is less than max_iter. If not, jump to step 12;

[0027] 6. For each product type factor matrix in the product type set representing user behavior According to the formula Make updates;

[0028] 7. For each commodity attribute type factor matrix except category in the commodity attribute type set According to the formula

[0029] Make updates;

[0030] 8. For the commodity category factor matrix H c , according to the formula

[0031] T p =T c Make updates;

[0032] 9. Calculate the loss function loss, which is the minimization objective of the entire joint non-negative matrix factorization, specifically:

[0033]

[0034] Among them, H p Is of type T p The low-dimensional factor matrix of the object, ‖·‖ F represents the Frobenius norm, α and β are the coefficients controlling the two regularization terms, ‖·‖ 2,1 It is used to regularize the product category representation H c l 2,1 norm, under the condition H pMinimize the objective function under the constraint ≥0

[0035] 10. Determine whether |last_loss-loss| is less than θ. If so, go to step 6.

[0036] 11. Assign loss to last_loss and increase num_iter by 1;

[0037] 12. Process the commodity category factor matrix column by column. Put all commodity categories in the column whose values ​​are greater than the threshold ∈ into the scene corresponding to the column;

[0038] 13. Return all non-empty scenes to complete scene mining;

[0039] in, It is a set of product types corresponding to different user behaviors. is a collection of attribute types, Indicates the product category, (H p ) ij Indicates H p The (i,j)th element in U is a diagonal matrix, and the jth element on the diagonal is (U) jj =1 / ||(H c ) ·j ||2, and (H c ) ·j Yes H c The jth column of .

[0040] The technical effects to be achieved by the present invention are:

[0041] (1) A new e-commerce scenario definition is proposed, which uses a set of product categories that frequently appear in real-life scenarios as a formal definition. This can objectively and accurately reflect the real world with entity elements within the e-commerce platform and has practical value for all product areas. The explicit definition method enables scenario information to guide downstream recommendation tasks to improve performance.

[0042] (2) Integrate e-commerce network data, organize data structures and design methods in the form of abstract node types, so that subsequent methods can adapt to the different data structures provided by different commodity fields, without the need for additional manual intervention and readjustment of methods, thus reducing usage costs

[0043] (3) Based on non-negative matrix decomposition, a joint decomposition method is designed according to the actual operating characteristics of e-commerce. The sub-networks with the same node type in the heterogeneous information network are decomposed into the sub-network factor matrix of the same node type. No intermediate matrix is ​​used to reduce information attenuation. At the same time, a sparseness target is added to the objective function to achieve the screening and retention of scene information in the joint decomposition link without adding steps. The scene information is also directly encoded in the product category factor matrix to avoid adding post-processing links and further avoid error propagation. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 An example of a heterogeneous information network for e-commerce;

[0045] Figure 2 Abstract schematic diagram of the construction of heterogeneous information network for e-commerce;

[0046] Figure 3 Overall flow chart of e-commerce scenario mining method; DETAILED DESCRIPTION

[0047] The following is a preferred embodiment of the present invention and combined with the accompanying drawings to further describe the technical solution of the present invention, but the present invention is not limited to this embodiment.

[0048] The present invention proposes an e-commerce scenario mining method based on joint matrix decomposition.

[0049] To illustrate this method, we first need to define the e-commerce scenario mining problem.

[0050] Below we first define heterogeneous information networks and e-commerce scenarios, and then give the definition of the e-commerce scenario mining problem based on them.

[0051] Heterogeneous information network: is a set of m object types,

[0052] is a set of k object types. For each category Let V i is the set of objects of this category. For each category Let E j is the set of edges of this type. A heterogeneous information network is a graph G = (V, E) with a node type mapping function and an edge type mapping function ψ: in, is a collection of nodes, is a set of edges. Each Represents two objects x in V p and xq Between Type R j The binary relationship between or G is called a heterogeneous information network.

[0053] Figure 1 A small example of a heterogeneous e-commerce information network is shown, which contains product attributes (such as categories and brands) and user behaviors (reflected in different connections between products). This network has three types of objects There are also five For example, the relationship between commodity and brand contains the information "which commodity belongs to which brand".

[0054] Scenario: An e-commerce scenario is a set of commodity categories that appear frequently and simultaneously in a life situation, defined as S = {x1, x2, ..., x |s| |x i ∈V c ,1≤i≤|S|}, where V c is a set of commodity categories and |S|≥1. It is a collection of scenes. is a set of life situations, φ: is a mapping function that maps scenarios to life situations. An e-commerce scenario satisfies the following two properties: (1) If a scenario S cannot represent any life situation, then (2) Two scenes S1 and S2 are the same scene if and only if φ(S1)=φ(S2).

[0055] exist Figure 1 In the example, printer, trash bin and humidifier are often seen in daily office places, so they constitute scene S "Daily Office". Since different sets of categories can be used to represent the same life situation, the scene composition is flexible. For example, a pen can be added to scene S, and scene S still represents "daily office". However, adding or removing a category in the scene may lead to a fundamental change in the meaning of the scene. For example, removing the printer from scene S can obtain a new scene "Daily Living".

[0056] E-commerce scenario mining: Given an e-commerce heterogeneous information network G = (V, E) and the number of scenarios r, mining scenarios on G is to divide the product categories in it into an overlapping set of clusters.

[0057] Specifically for the problem of constructing an abstract e-commerce heterogeneous information network, after giving the relevant definitions of the e-commerce scenario and the problem definition, this method gives a construction description of the abstract e-commerce heterogeneous information network.

[0058] Item-Item Network. This type of network records the relationship between items. In the process of e-commerce operation, there are many user behaviors that can be used to reflect the relationship between items, such as clicks, purchases, and reviews. For example, the phenomenon of two items appearing at the same time can occur in different types of user behaviors, such as "users who clicked on item x1 also clicked on item x2" and "users who bought item x1 also bought item x2." Let Represents the set of user behaviors. Given a user behavior B, the corresponding product-product subnetwork is defined as G BB =(V B ,E BB ), where V B is the set of commodities, E BB is the set of edges between products. Each edge represents a user behavior E BB There is a co-occurrence relationship between two linked products. In addition, this paper uses the adjacency matrix W BB To represent the relationship between products, each element represents the correlation between two products reflected by user behavior B.

[0059] Item-Attribute Network. This type of network records the relationship between items and attributes. In the process of e-commerce operations, each item has multiple attributes, such as brand and category. We regard these attributes as objects in the heterogeneous information network of e-commerce. Let Represents a set of product attributes, where each attribute A i Considered as an object type. Given an attribute A, a product-attribute subnetwork can be represented by a bipartite graph G IA =(V I ∪V A ,E IA ), where V I is a collection of commodities, V A is a set of attribute nodes, E IA is a set of binary relationship links between products and attributes. Each product-attribute subnetwork can also be represented by an adjacency matrix W IA To indicate that each element represents whether the product has a specific attribute value.

[0060] Attribute-Attribute Network. This type of network records the relationship between attributes. For example, the sports brand "Nike" is highly correlated with the sports brand "Adidas", but not highly correlated with the luxury brand "Chanel". In order to enrich the information content of the heterogeneous information network of e-commerce, we constructed an attribute-attribute subnetwork. Given an attribute A, an attribute-attribute subnetwork is defined as G AA =(V A ,E AA ), where V A is a collection of attribute nodes, E AA is the set of links between attributes. In addition, this paper uses the adjacency matrix W AA Represents the relationship between attributes, where each element represents the correlation between two product attributes.

[0061] Given a set of user behaviors and product attribute collection An e-commerce heterogeneous information network can be constructed that contains the above three types of sub-networks. At the same time, the network should include commodity categories because they are the object types that constitute the scenes to be discovered. Figure 2 A heterogeneous information network from multiple user behaviors and product attributes for scenario mining is presented, where product category is considered as a special attribute. The network contains product attributes and user behavior information, and can be divided into attribute-attribute (AA), product-attribute (IA), product-item (II), product-category (IC), and category-category (CC) networks, while product category is an indispensable object type as a component of the scenario.

[0062] The e-commerce scenario mining method is implemented through a specific algorithm. The overall flow chart is as follows: Figure 3 shown.

[0063] Specifically, the calculation process is divided into the following steps:

[0064] (1) Read the e-commerce heterogeneous information network G and the product attribute type set A collection of product types corresponding to user behaviors The number of scenarios to be mined r, the screening threshold ∈, and the iteration termination measurement value θ.

[0065] (2) Initialize the factor matrix of each type of node

[0066] (3) Let each scene

[0067] (4) Let num_iter=0, last_loss=+∞

[0068] (5) Determine whether num_iter is less than max_iter. If not, jump to (12)

[0069] (6) For each commodity type factor matrix in the commodity type set representing user behavior Update according to the formula

[0070] (7) For each commodity attribute type factor matrix except category in the commodity attribute type set Update according to the formula

[0071] (8) For the product category factor matrix H c , update according to the formula

[0072] (9) Use the formula to calculate the loss function loss

[0073] (10) Determine whether |last_loss-los| is less than θ. If so, go to step (6).

[0074] (11) Assign loss to last_loss and increment num_iter by 1

[0075] (12) Process the commodity category factor matrix column by column. Put all commodity categories in the column whose values ​​are greater than the threshold ∈ into the scene corresponding to the column.

[0076] (13) Return all non-empty scenes to complete scene mining.

[0077] The loss function used in step (9) and the iterative expansion used in steps (6), (7) and (8) are described below.

[0078] The loss function used in step (9)

[0079] The loss function used in this step is the minimization objective of the entire joint non-negative matrix factorization, specifically:

[0080]

[0081] Among them, H p Is of type T p The low-dimensional factor matrix of the object, ‖·‖ F represents the Frobenius norm. α and β are the coefficients controlling the two regularization terms, ‖·‖ 2,1 It is used to regularize the product category representation H c l 2,1 norm, which can make this decomposition matrix sparse, thus achieving the goal of directly obtaining the scene. Finally, we have pMinimize the objective function under the constraint ≥0

[0082] The iterative formula used in steps (6), (7) and (8).

[0083]

[0084] in, It is a set of product types corresponding to different user behaviors. is a collection of attribute types, Indicates the product category. Let (H p ) ij Indicates H p The (i,j)th element in . U is a diagonal matrix, and the jth element on the diagonal is (U) jj =1 / ||(H c ) ·j ||2, and (H c ) ·j Yes H c The jth column of .

[0085] The above method has the following key features: 1) Interpretability. It uses a set of commodity categories to represent the scene, which makes the mined scene intuitively displayed and easy to correspond to the real-life scenario. In other words, the method obtains a practical and interpretable scene. 2) Generality. The method is based on more abstract data types to process various e-commerce heterogeneous information networks with different compositions. The method regards elements as different types to abstractly design algorithms instead of using specific information. Networks of different element types are divided according to the type, and corresponding update rules are introduced for scene mining. Therefore, the method has the potential to be extended to e-commerce heterogeneous information networks of different compositions for scene mining. 3) Diversity. The method allows the overlap of commodity categories between different scenes, thereby well preserving the diversity and conforming to the intrinsic characteristics of the scene. 4) Learnability. The method defines the scene mining problem of e-commerce in an unsupervised way and makes full use of the matrix decomposition-based method to solve it. Therefore, the method avoids the problem of the general lack of scene supervision information in practical applications. 5) Accuracy. The method removes the intermediate matrix that transmits information and directly uses one matrix to integrate multiple related sub-network information, reducing information attenuation. At the same time, by adding a sparse target to screen key information of the commodity category factor matrix and removing the error propagation avoided by adding additional steps for post-processing, the accuracy of scenario mining is improved.

Claims

1. An e-commerce scenario mining method based on joint matrix decomposition, characterized by: First, the given user behavior set of external input and product attribute collection As e-commerce scenario information, an e-commerce heterogeneous information network is constructed, which includes three types of sub-networks: product-product sub-network, product-attribute sub-network, and attribute-attribute sub-network. Then, the e-commerce scenario mining method is adopted. After the calculation steps, for each product category, the scenario set to which it belongs is output. At the same time, the e-commerce scenario is output by collecting the product category set belonging to the same scenario; The commodity-commodity sub-network records the relationship between commodities and records the user behaviors that reflect the relationship between commodities in the e-commerce operation process. Represents a set of user behaviors. Given a user behavior B, the corresponding product-product subnetwork is defined as G BB =(V B , E BB ), where V B is the set of commodities, E BB It is a set of edges between products. Each edge represents the co-occurrence relationship between two linked products in user behavior B. The adjacency matrix W is used. BB To represent the relationship between products, each element represents the correlation between two products reflected by user behavior B; The commodity-attribute subnetwork records the relationship between commodities and attributes. For commodity attributes in the e-commerce operation process, the commodity attributes are regarded as objects in the e-commerce heterogeneous information network. Represents a set of product attributes, where each attribute A i As an object type, given an attribute A, a product-attribute subnetwork can be represented by a bipartite graph G IA =(V I ∪V A , E IA ), where V I is a collection of commodities, V A is a set of attribute nodes, E IA It is a set of binary relationship links between products and attributes. Each product-attribute subnetwork uses the adjacency matrix W IA To indicate that each element represents whether the product has a specific attribute value; The attribute-attribute subnetwork records the relationship between attributes. Given an attribute A, an attribute-attribute subnetwork is defined as G. AA =(V A , E AA ), where V A is a collection of attribute nodes, E AA is a set of links between attributes, using the adjacency matrix W AA Represents the relationship between attributes, where each element represents the correlation between two product attributes; The user behaviors reflecting the relationship between products include clicks, purchases and evaluations; The product attributes include brand and category; The calculation steps are:

1. Read the e-commerce heterogeneous information network G and the set of product attribute types A collection of product types corresponding to user behaviors The number of scenarios to be mined r, the screening threshold ∈, and the iteration termination measurement value θ; 2. Initialize the factor matrix of each type of node 3. Make each scene 4. Set num_iter = 0, last_loss = +∞; 5. Determine whether num_iter is less than max_iter. If not, jump to step 12; 6. For each product type factor matrix in the product type set representing user behavior According to the formula Make updates; 7. For each commodity attribute type factor matrix except category in the commodity attribute type set According to the formula Make updates; 8. For the commodity category factor matrix H c , according to the formula T p =T c Make updates; 9. Calculate the loss function loss, which is the minimization objective of the entire joint non-negative matrix factorization, specifically: s.t.H p ,H q ≥0 Among them, H p Is of type T p The low-dimensional factor matrix of the object, ||·|| F represents the Frobenius norm, α and β are the coefficients controlling the two regularization terms, ||·|| 2,1 It is used to regularize the product category representation H c l 2,1 norm, under the condition H p Minimize the objective function under the constraint ≥0 10. Determine whether |last_loss-loss| is less than θ. If so, go to step 6.

11. Assign loss to last_loss and increment num_iter by 1; 12. Process the commodity category factor matrix column by column, and put all commodity categories corresponding to the values ​​in the column that are greater than the threshold ∈ into the scene corresponding to the column; 13. Return all non-empty scenes to complete scene mining; in, It is a set of product types corresponding to different user behaviors. is a collection of attribute types, Indicates the product category, (H p ) ij Indicates H p The (i, j)th element in U is a diagonal matrix, and the jth element on the diagonal is (U) jj =1 / ||(H c ) j ||2, and (H c ) ·j Yes H c The jth column of .

2. An e-commerce scenario mining system based on joint matrix decomposition, characterized by: It includes an input unit, a computing unit, and an output unit; the computing unit applies the e-commerce scenario mining method based on joint matrix decomposition as claimed in claim 1 to extract a given user behavior set from the input unit. and product attribute collection The e-commerce scenario information is calculated, and the output unit outputs the clustering set of the category division of each commodity.

Citation Information

Patent Citations

  • A heterogeneous information network recommendation method with time weight

    CN109710835A

  • Commodity recommendation method and system based on user-oriented multi-relation information network

    CN111967946A

  • Personalized commodity recommendation method and system based on multilayer heterogeneous attribute network representation learning

    CN112131480A

  • Recommendation information pushing method, server, and storage medium

    US20180020250A1