Article attribute preference prediction method and article recommendation method and device

By using the knowledge graph to screen explicit attributes and train the attention mechanism model in item attribute preference prediction, the problem of insufficient item attributes and inaccurate prediction in the existing technology is solved, and the user decision-making efficiency and recommendation matching degree are improved.

CN118694808APending Publication Date: 2024-09-24BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing item attribute preference prediction scheme, the item attributes are few, the prediction results do not meet the user's true intention, and the recommended items do not match the user's preferences, resulting in low user decision-making efficiency.

Method used

By extracting the item attribute table based on the pre-built knowledge graph, filtering the explicit attributes and determining the user preference, using the pre-trained item attribute preference prediction model and combining the attention mechanism for training, it can generate item attributes and recommended items that meet the user's goal intention. .

Benefits of technology

It improves the accuracy of item attribute preference prediction results and the matching rate between recommended items and user preferences, and improves user decision-making efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694808A
    Figure CN118694808A
Patent Text Reader

Abstract

The invention discloses an article attribute preference prediction method and an article recommendation method and device, and relates to the technical field of computers. A specific embodiment of the article attribute preference prediction method comprises the steps of extracting an article attribute table based on a pre-constructed knowledge graph; based on the obtained user behavior data features, screening explicit attributes from an article attribute table; determining article attribute data features according to the explicit attributes, and determining a preference degree prediction result of the user for the explicit attributes based on the user behavior data features and the article attribute data features; according to the invention, more article attributes conforming to the target intention of the user can be generated, and the accuracy of the article attribute preference prediction result is improved. A specific embodiment of the article recommendation method comprises the steps of determining an article order corresponding to a target user and an article attribute based on a preference degree prediction result; recommending the article order to the target user; the matching rate of recommended articles and user preferences is improved, and the decision-making efficiency of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method for predicting item attribute preferences, and a method and device for item recommendation. Background Art

[0002] Item attribute preference prediction is to predict the user's preference for items with certain attributes by analyzing the user's past behavioral data characteristics. Existing item attribute preference prediction schemes only calculate attribute preferences through manually defined item attribute tables. There is less item attribute data and it is easy to ignore the user's true intentions. In addition, based on existing item attribute preference prediction schemes, the recommended items do not match the user's preferences, reducing the user's decision-making efficiency.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the related art:

[0004] There are fewer item attributes, and the prediction results do not match the user's true intentions; the recommended items do not match the user's preferences, and the user's decision-making efficiency is low. Summary of the invention

[0005] In view of this, the embodiments of the present invention provide a method for predicting item attribute preferences, a method and device for recommending items, which can generate more item attributes that meet the user's target intentions, improve the accuracy of item attribute preference prediction results, improve the matching rate between recommended items and user preferences, and improve user decision-making efficiency.

[0006] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for predicting item attribute preference is provided, comprising:

[0007] Extract item attribute tables based on pre-built knowledge graphs;

[0008] Based on the acquired user behavior data features, the explicit attributes are screened out from the item attribute table; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data;

[0009] The item attribute data feature is determined according to the explicit attribute, and the user's preference prediction result for the explicit attribute is determined based on the user behavior data feature and the item attribute data feature.

[0010] Furthermore, the item attribute table is extracted based on the pre-built knowledge graph, including:

[0011] Extracting item-related entities from the knowledge graph and establishing association relationships between the item-related entities;

[0012] Based on the association relationship, item attribute information is extracted from the item-related entities to construct an item attribute table.

[0013] Furthermore, an item attribute table is constructed, including:

[0014] Performing word segmentation processing on the item names in the pre-acquired knowledge graph to obtain word segmentation results;

[0015] Compare and match the word segmentation result with the item attribute information, and establish a matching relationship between the successfully matched word segmentation result and the corresponding item attribute value;

[0016] Based on the matching relationship, an item attribute table is constructed.

[0017] Furthermore, based on the user behavior data characteristics and the item attribute data characteristics, determining the prediction result of the user's preference for the explicit attribute includes:

[0018] By using a pre-trained item attribute preference prediction model, the user behavior data features and the item attribute data features are input into the model to obtain a prediction result of the user's preference for the explicit attribute.

[0019] Furthermore, an attention mechanism layer is provided between the shared bottom network layer and the fully connected layer of the pre-trained item attribute preference prediction model, and the pre-trained item attribute preference prediction model is obtained by the following steps:

[0020] Determining user-item interaction feature data based on the acquired user feature data and item feature data;

[0021] After weighting the user feature data, item feature data, and user-item interaction feature data through an attention mechanism, a training sample set is constructed;

[0022] The training sample set is used as input, and the cross entropy function is used as the objective function to train and obtain an item attribute preference prediction model.

[0023] Furthermore, the attention mechanism includes at least one of a self-attention mechanism and a cross-task attention mechanism.

[0024] According to a second aspect of an embodiment of the present invention, a method for recommending an item is provided, comprising:

[0025] Determine the item order corresponding to the target user and the item attribute based on the preference prediction result; wherein the preference prediction result is obtained by any method in the first aspect of the embodiment of the present invention;

[0026] The item order is recommended to the target user.

[0027] According to a third aspect of an embodiment of the present invention, there is provided a device for predicting item attribute preferences, comprising:

[0028] The attribute extraction module is used to extract the item attribute table based on the pre-built knowledge graph;

[0029] An attribute screening module, used to screen explicit attributes from the item attribute table based on the acquired user behavior data characteristics; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data;

[0030] The preference prediction module is used to determine the item attribute data characteristics according to the explicit attribute, and determine the user's preference prediction result for the explicit attribute based on the user behavior data characteristics and the item attribute data characteristics.

[0031] According to a fourth aspect of an embodiment of the present invention, there is provided an apparatus for recommending items, comprising:

[0032] An attribute prediction module, used to determine the item order corresponding to the target user and the item attribute based on the preference degree prediction result; wherein the preference degree prediction result is obtained by any method of the first aspect of the embodiment of the present invention;

[0033] The item recommendation module is used to recommend the item order to the target user.

[0034] According to a fifth aspect of an embodiment of the present invention, there is provided an electronic device, including:

[0035] one or more processors;

[0036] a storage device for storing one or more programs,

[0037] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0038] According to a sixth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0039] An embodiment of the above invention has the following advantages or beneficial effects: extracting an item attribute table based on a pre-constructed knowledge graph; screening out explicit attributes from the item attribute table based on acquired user behavior data features; wherein the explicit attributes are item attributes corresponding to the target intent determined based on the user behavior data; determining item attribute data features based on the explicit attributes, and determining a user preference prediction result for the explicit attributes based on the user behavior data features and the item attribute data features; being able to generate more item attributes that meet the user's target intent, thereby improving the accuracy of the item attribute preference prediction results; determining an item order corresponding to the target user and the item attribute based on the preference prediction results; wherein the preference prediction results are obtained by any one of the methods described in the first aspect of the embodiments of the present invention; recommending the item order to the target user; being able to improve the matching rate between the recommended items and the user's preferences, thereby improving the user's decision-making efficiency.

[0040] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0042] Figure 1 is a schematic diagram of the main process of a method for predicting item attribute preferences according to an embodiment of the present invention;

[0043] Figure 2 is a schematic diagram of a method for predicting item attribute preference according to a reference embodiment of the present invention;

[0044] Figure 3 is a schematic diagram of a method for predicting item attribute preferences according to another reference embodiment of the present invention;

[0045] Figure 4 is a schematic diagram of the main process of a method for predicting item attribute preferences according to another reference embodiment of the present invention;

[0046] Figure 5 is a schematic diagram of the main process of the method for item recommendation according to an embodiment of the present invention;

[0047] Figure 6 is a schematic diagram of main modules of a device for predicting item attribute preferences according to an embodiment of the present invention;

[0048] Figure 7 is a schematic diagram of main modules of an apparatus for item recommendation according to an embodiment of the present invention;

[0049] Figure 8is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0050] Fig. 9 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0052] It should be noted that the acquisition, storage and application of personal information etc. involved in the embodiments of the present invention are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0053] Item attribute preferences are used to accurately analyze user preferences at a fine-grained level. Currently, item attribute preferences are mainly calculated based on users' historical behavior data. However, some item attributes are commonly found in most items, so it is impossible to obtain effective information about users' item attribute preferences. In addition, the calculation of user item attribute preferences based solely on past historical behavior data will result in insufficient accuracy of the given item attribute preferences. For example, under the current e-commerce framework, traditional item recommendations tend to ignore users' concerns and preferences for these item attributes, and the items do not match the user's identity, which does not meet the user's true intentions. The recommended items do not match the decision factors of the user's preferences, which reduces the user's decision-making efficiency.

[0054] In view of this, according to a first aspect of an embodiment of the present invention, a method for predicting item attribute preference is provided.

[0055] Figure 1 FIG. 1 is a schematic diagram of the main process of the method for predicting item attribute preferences according to an embodiment of the present invention. Figure 1 As shown, the method for predicting item attribute preference according to an embodiment of the present invention mainly includes the following steps S101 to S103:

[0056] Step S101, extracting an item attribute table based on a pre-built knowledge graph;

[0057] The knowledge graph is a structured knowledge representation method used to describe entities (such as people, places, events, concepts, etc.) and the relationships between entities, and organize knowledge into a computer-readable form so that computer systems can understand and reason about the knowledge. The knowledge graph is represented in the form of a graph, where nodes represent entities and edges represent the relationships between entities. Entities represent individuals or concepts, and relationships represent the connections between entities. The knowledge graph is constructed by collecting and organizing the knowledge in a field in advance. The knowledge graph contains various entities, attributes, and the relationships between them in the field. It can be constructed manually by experts or extracted and constructed from various data sources through automated methods. The constructed knowledge graph can provide rich semantic information and contextual background for various applications, such as intelligent search, recommendation systems, question-answering systems, etc.

[0058] An item attribute table refers to a table or data structure that describes the various attribute information of an item (commodity, product), recording the attributes of the item in terms of characteristics, specifications, performance, and usage, so as to describe, classify, compare, or recommend the item. The item attribute table may include information such as the item name or identifier, basic attributes of the item, description of the item, technical parameters of the item, performance indicators of the item, functional characteristics of the item, price information of the item, and other attribute information; wherein the item name or identifier is a unique identifier or name for each item, used to distinguish different items; the basic attributes of the item are basic information such as the category, brand, model, and specifications of the item; the description of the item is a detailed description of the item, such as a description of the appearance, function, and characteristics; the technical parameters of the item are various technical parameters of the item, such as size, weight, power, speed, etc.; the performance indicators of the item are information describing the performance of the item, such as efficiency, accuracy, stability, etc.; the functional characteristics of the item are functional characteristics of the item, such as functional composition, applicable scenarios, etc.; the price information of the item is the price and sales information of the item, such as selling price, discount, promotional activities, etc.; according to actual needs, it may also include other attribute information of the item, such as color, material, production date, place of origin, etc.

[0059] When extracting the item attribute table, by querying the nodes and relationships related to the item in the knowledge graph, you can obtain various attributes of the item, such as category, characteristics, association, etc. Then, you can build an item attribute table based on these item attributes for subsequent analysis and application. Through the item attribute table, you can better understand the various characteristics and performance indicators of the item, so as to better select and compare different items. In scenarios such as e-commerce platforms and product classification systems, the item attribute table can be used to display product information, perform search filtering and recommendations, and other functions.

[0060] Step S102, based on the acquired user behavior data features, select explicit attributes from the item attribute table; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data;

[0061] In this step, user behavior data features are the behaviors and characteristics exhibited by users in a specific environment, such as users' purchases, clicks, browsing, and other behaviors on e-commerce platforms. These behaviors can provide information about users' likes, preferences, interests, etc., which can be used to understand users' target intentions and needs.

[0062] When filtering explicit attributes, the user's target intention can be determined by analyzing the characteristics of user behavior data, and then the item attributes corresponding to the user's behavior data characteristics can be filtered out from the item attribute table. First, analyze the user's behavior data to understand the user's behavior characteristics and preferences. For example, the user's behavior characteristics can be obtained through the user's purchase records, click records, browsing records and other data; based on the user's behavior data characteristics, the user's target intention can be inferred, such as the user's purchase preferences, interests and hobbies, etc. By analyzing the user's behavior patterns and frequencies, the user's real needs can be more accurately determined; based on the user's target intention, the item attributes corresponding to the user's behavior data characteristics can be filtered out from the item attribute table. These item attributes can be the characteristics of items that the user pays special attention to or frequently purchases, such as brand, color, size, functional characteristics, etc. The filtered item attributes are explicit attributes, which can directly reflect the user's real needs and preferences, and can be used in scenarios such as personalized recommendations, product display and user interaction.

[0063] Through the above screening steps, explicit attributes corresponding to the user's target intention can be extracted from the item attribute table, providing basic data support for personalized recommendations and user experience.

[0064] Step S103, determining the item attribute data characteristics according to the explicit attribute, and determining the user's preference prediction result for the explicit attribute based on the user behavior data characteristics and the item attribute data characteristics.

[0065] In this step, the item attribute data features refer to various features and attribute information that describe the item attributes. First, the selected explicit attributes can be encoded for subsequent data analysis and modeling, or the attribute values ​​can be converted into numerical form using methods such as unique hot encoding and label encoding; statistical analysis is performed on the encoded explicit attribute values, including calculating the frequency, mean, variance and other statistics of each explicit attribute value, which can reflect the distribution and characteristics of the item attribute data; the correlation between different item attributes is analyzed to understand their mutual influence and dependence, and attribute association analysis can be performed using methods such as correlation coefficient and chi-square test; the importance of each item attribute to the explicit attribute can be evaluated, and feature selection methods, information gain methods, etc. can be used to determine the importance of item attributes, so as to determine which item attributes have a greater impact on predicting the preference of explicit attributes; the determined item attribute features are represented in vector form, and word embedding technology, principal component analysis and other methods can be used to map the attribute features to a low-dimensional vector space.

[0066] Based on the above-mentioned user behavior data characteristics and item attribute data characteristics, the prediction result of the user's preference for the explicit attribute is determined, wherein the preference prediction result is for each combination of user and explicit attribute, predicting the user's preference or score for the explicit attribute. The prediction result can be a numerical value, representing the user's preference for the explicit attribute, or a category, representing whether the user is interested in or prefers the explicit attribute.

[0067] For example, predicting the user's preference for the color explicit attribute on the e-commerce platform, the prediction result can be a continuous numerical prediction result, predicting the user's preference for different colors, for example, for red products, the predicted user preference is 0.8, indicating that the user has a higher preference for red products; for blue products, the predicted user preference is 0.4, indicating that the user has a lower preference for blue products; it can also be a binary classification prediction result, predicting whether the user likes a product of a certain color, for example, for red products, the prediction result is "like", and for blue products, the prediction result is "dislike". The prediction results can be used in personalized recommendation systems to sort or recommend products according to the user's preference. For example, when a user browses products, the system can predict the results based on the user's preference and give priority to displaying products with higher user preference to improve user experience and shopping satisfaction.

[0068] The embodiment of the present invention extracts an item attribute table based on a pre-constructed knowledge graph; based on the acquired user behavior data characteristics, explicit attributes are screened out from the item attribute table; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data; item attribute data characteristics are determined according to the explicit attributes, and based on the user behavior data characteristics and the item attribute data characteristics, a prediction result of the user's preference for the explicit attributes is determined; more item attributes that meet the user's target intent can be generated, thereby improving the accuracy of the item attribute preference prediction result.

[0069] Figure 2 FIG. 1 is a schematic diagram of a method for predicting item attribute preferences according to a reference embodiment of the present invention. Figure 2 As shown, step S101 extracts an item attribute table based on a pre-built knowledge graph, including:

[0070] Step S201, extracting item-related entities from the knowledge graph and establishing association relationships between the item-related entities;

[0071] Step S202: extracting item attribute information from the item-related entities based on the association relationship, and constructing an item attribute table.

[0072] In step S201, item-related entities are extracted from the knowledge graph and association relationships between entities are established. Entities related to the item are identified through nodes in the knowledge graph (nodes represent entities or concepts). Entities may include commodities, products, brands, etc.; association relationships (edges) between entities in the knowledge graph are analyzed to establish relationships between item-related entities. Relationships may be associations between commodities and brands, associations between commodities and attributes, etc., and association relationships may be expanded to include more relevant information according to actual needs. For example, the degree of association between entities may be determined by the co-occurrence frequency or similarity of entities; and whether the established association relationships are accurate and complete may be verified. The validity of the association relationships may be verified by data analysis, experimental verification, etc.

[0073] In step S202, according to the established association relationship, the item attribute information is extracted from the item-related entities, and the item attribute information may include the brand, model, color, size, price, etc. of the item; the extracted item attribute information is sorted, and deduplication and standardization are performed to ensure the consistency and standardization of the item attribute information; the extracted item attribute information is matched with the association relationship between the item-related entities, for example, the brand attribute is associated with the corresponding commodity; the sorted and associated item attribute information is constructed into an item attribute table, and the item attribute table can be a structured table, in which each row represents a commodity and each column represents an attribute. The validity of the item attribute table can also be verified by data analysis, sampling verification, etc. The specific content has been described in detail in the above steps, and this embodiment will not be repeated.

[0074] The embodiment of the present invention extracts item-related entities from the knowledge graph and establishes associations between them, then extracts item attribute information based on these associations and constructs an item attribute table to provide basic support for subsequent data analysis and application. By mining the attributes of items through the knowledge graph, the personalized recommendation system is helped to better understand users. By learning more different user preference attributes, in-depth analysis of user preferences is promoted to provide more accurate recommendations.

[0075] Figure 3 FIG. 1 is a schematic diagram of the main process of predicting item attribute preferences according to another reference embodiment of the present invention. Figure 3 As shown, step S202 constructs an item attribute table, including:

[0076] Step S301, performing word segmentation processing on the item names in the pre-acquired knowledge graph to obtain word segmentation results;

[0077] Step S302, comparing and matching the word segmentation results with the item attribute information, and establishing a matching relationship between the successfully matched word segmentation results and the corresponding item attribute values;

[0078] Step S303: construct an item attribute table based on the matching relationship.

[0079] Specifically, the item names in the pre-acquired knowledge graph are segmented. The Chinese word segmentation tool can be used to decompose the item names into words or phrases to obtain the segmentation results; each segmentation result is traversed and compared with the attribute values ​​in the item attribute table to find the segmentation results that successfully match it and establish a matching relationship; the successfully matched segmentation results and the corresponding item attribute values ​​are combined into a part of the item attribute table.

[0080] The successfully matched word segmentation results and the corresponding item attribute values ​​are sorted and processed, for example, deduplication, standardization, normalization and other operations are performed to ensure the data quality and consistency of the item attribute table; according to actual needs, the item attribute table is associated and expanded, and the attributes can be classified or expanded according to the relationship between the attributes to increase the richness and information content of the attribute table; the accuracy and completeness of the attribute table can also be verified through data analysis, sampling verification and other methods.

[0081] The embodiment of the present invention can establish a correspondence between the word segmentation results and the item attribute values ​​by performing word segmentation processing on the item names in the knowledge graph and matching the word segmentation results with the item attribute information, thereby constructing an item attribute table, which can more comprehensively and accurately understand the attribute characteristics of the item and provide a reliable foundation for subsequent data analysis and application. The constructed item attribute table can provide accurate data support for application scenarios such as personalized recommendation and product classification, thereby improving service quality and user experience.

[0082] Optionally, in step S103, determining the prediction result of the user's preference for the explicit attribute based on the user behavior data characteristics and the item attribute data characteristics includes:

[0083] By using a pre-trained item attribute preference prediction model, the user behavior data features and the item attribute data features are input into the model to obtain a prediction result of the user's preference for the explicit attribute.

[0084] In this step, first organize and prepare the user behavior data features and item attribute data features to ensure that the data format meets the model input requirements; perform feature engineering processing on the user behavior data features and item attribute data features, including feature selection, feature encoding, feature normalization and other operations to improve the model training effect; combine the processed user behavior data features and item attribute data features into the input data of the model; load the pre-trained item attribute preference prediction model; pass the model input data into the model to predict the user's preference for explicit attributes, and the model will output the user's preference prediction results for explicit attributes; analyze the prediction results to understand the user's preference for different explicit attributes, and perform personalized recommendations, product sorting and other operations based on the results; evaluate the model's prediction results, and optimize and adjust the model based on the evaluation results to improve prediction accuracy and model performance.

[0085] Figure 4 is a schematic diagram of the main process of a method for predicting item attribute preference according to another reference embodiment of the present invention. An attention mechanism layer is provided between the shared bottom network layer and the fully connected layer of the pre-trained item attribute preference prediction model, such as Figure 4As shown, the pre-trained item attribute preference prediction model is obtained by the following steps:

[0086] Step S401, determining user-item interaction feature data based on the acquired user feature data and item feature data;

[0087] Step S402, after weighting the user feature data, item feature data, and user-item interaction feature data through an attention mechanism, a training sample set is constructed;

[0088] Step S403, taking the training sample set as input and the cross entropy function as the objective function, training to obtain an item attribute preference prediction model.

[0089] The pre-trained item attribute preference prediction model includes an input layer, a shared bottom network layer, an attention mechanism layer, a fully connected layer, a gated network, an expert network, a Tower network, and an output layer. Specifically, the input layer can be used to input user feature data, item feature data, and user-item interaction feature data. The shared bottom network layer is used to extract the feature representation shared by the task, and is a layer shared by multiple tasks. The attention mechanism layer can be a self-attention mechanism layer, which is used to calculate the query vector (Query), key vector (Key) and value vector (Value) of each feature, and establish associations within the feature through the self-attention mechanism. The attention mechanism layer can also be a cross-task attention mechanism layer, which is used to calculate the query vector, key vector and value vector between different tasks, and establish associations between tasks through the cross-task attention mechanism. The fully connected layer is behind each attention mechanism, and the fully connected layer further processes the output of the attention mechanism. The gated network dynamically adjusts the output weight of each expert network, generates a set of weights according to the task requirements, and is used to adjust the contribution of each expert network output. The expert network processes a subnetwork for a specific task, and each expert network is an independent neural network for processing input features. The Tower network is an independent sub-network for different tasks, used for final feature processing and prediction. The Tower network consists of multiple fully connected layers, each of which contains a group of neurons, and outputs the final classification results after feature processing. The output layer is used to output the prediction results of the task.

[0090] Specifically, user feature data and item feature data are integrated and processed to form user-item interaction feature data, which may include user's personal information, historical behavior data, and item attribute information; an attention mechanism is used to assign weights to user feature data, item feature data, and user-item interaction feature data to highlight the features that have the greatest impact on user preferences, and the user feature data, item feature data, and user-item interaction feature data are weighted and combined by calculating the attention weight of each feature to obtain weighted feature data; the weighted feature data is used as input to construct a training sample set, which includes feature data and corresponding labels, and the labels may be user preference scores for item attributes or classification labels; the constructed training sample set is used as input and the cross entropy function is used as the objective function to train an item attribute preference prediction model; an appropriate machine learning model, such as a neural network, a decision tree, etc., may be selected for model training and optimization; the trained model is evaluated using a validation set or cross-validation method to evaluate the performance and accuracy of the model.

[0091] Optionally, the attention mechanism includes at least one of a self-attention mechanism and a cross-task attention mechanism.

[0092] The embodiment of the present invention constructs user-item interaction feature data based on user feature data and item feature data, and distributes weights through the attention mechanism, so as to construct a training sample set and train an item attribute preference prediction model, which can be used to predict the user's preference for item attributes and provide data support for personalized recommendations and product sorting.

[0093] According to a second aspect of an embodiment of the present invention, a method for recommending an item is provided.

[0094] Figure 5 Schematic diagram of the main process of the method for recommending items according to an embodiment of the present invention; Figure 5 As shown, the method for item recommendation according to an embodiment of the present invention mainly includes the following steps S501 to S502:

[0095] Step S501, determining the item order corresponding to the target user and the item attribute based on the preference prediction result; wherein the preference prediction result is obtained by any method described in the first aspect;

[0096] Step S502: recommend the item order to the target user.

[0097] Specifically, any of the methods in the first aspect is used to obtain a prediction result of the target user's preference for item attributes, and based on the preference prediction result, the target user's preference for each item attribute is determined, and based on the user's preference, appropriate item attributes are selected and combined into an item order, and the determined item order is recommended to the target user. Recommendation can be achieved in a variety of ways, for example, pushing the order to the user's personal account, sending email or text message reminders, or displaying recommended products on the homepage of the e-commerce platform; based on user feedback and behavior data, the recommended item order is personalized, and based on the user's click, purchase and other behaviors, the recommendation results are continuously optimized to improve user satisfaction and shopping experience.

[0098] The embodiment of the present invention determines the item order corresponding to the target user and the item attributes based on the preference prediction result; wherein the preference prediction result is obtained by any method in the first aspect of the embodiment of the present invention; and recommends the item order to the target user; it can improve the matching rate between the recommended items and the user's preferences and improve the user's decision-making efficiency. It is also possible to determine the item order suitable for the target user based on the user's preference prediction result for the item attributes, and recommend it to the user, thereby improving the accuracy and effect of personalized recommendation.

[0099] As a preferred embodiment of the present invention, the embodiment of the present invention focuses on the fashion category to complete the creation of attribute refinement intent capabilities; introduces e-commerce concept map data, which involves 100 product words, covers more than 2,500 third-level categories, and covers a total of 790 million products. Through the construction of the e-commerce concept map, the user's demand for products is constructed into 4 layers of nodes from coarse to fine, and the construction link is the classification system layer-atomic concept layer-e-commerce concept layer-product layer. The nodes at different levels correspond to the following meanings:

[0100] Classification system layer: The granularity is the coarsest, and different classification dimensions vary greatly, including different dimensions for describing user intentions. It mainly covers scenarios, product terms, brands, services, styles, audiences, time, colors, etc., adding dimensions to the description of user intentions.

[0101] Atomic concept layer: The atomic concept layer under the classification system layer (the atomic concept layer is unique in the entire graph). The atomic concept layer is similar to the background category system of commodities, but the category hierarchy is not fixed. At the same time, synonymous, cross-relationship descriptions (triples) are defined between atoms. The atomic concept layer is a refinement of the classification system layer, such as "scenario-gift giving", "scenario-dating", "festival-Christmas", "festival-Dragon Boat Festival", etc., which can enhance the refinement of user intentions.

[0102] E-commerce concept layer: The e-commerce concept layer further refines the division and combination of atoms in different atomic concept layers, such as "Dragon Boat Festival gifts" and "Christmas date", which are equivalent to hot concepts, and build corresponding user intentions under a fixed product pool.

[0103] Product layer: The product layer provides specific products based on the e-commerce concept layer, that is, the hanging products of the e-commerce concept layer. The relationship between SKU (Stock Keeping Unit) and the e-commerce concept layer is one-to-many.

[0104] Through the e-commerce concept map, we can better understand the actual demands of users. Through the construction of intent, on the one hand, we explicitly build the fine-grained features that users care more about, improve the user experience and the interpretability of intent, and on the other hand, embed the map into the User-Item map to mine higher-order interaction information, supplement the missing information in the User-Item part, and establish richer connections. Perform entity extraction and relationship modeling on the data. Entity extraction refers to extracting the name and attributes of entities from the original data, such as the attribute items and filter items of products. Relationship modeling refers to establishing the association relationship between entities, such as the relationship between products and brands, the relationship between users and products, etc. One of the difficulties here is the ID (Identification) of the graph mining words and the affiliation relationship with the product attributes. The process of mapping the entities and relationships in the graph to a low-dimensional vector space is achieved through the graph convolutional network (GCN) graph embedding algorithm. The algorithm can map entities and relationships into dense vector representations for calculation and analysis in subsequent algorithms. The specific steps are as follows: convert the knowledge graph into a weighted graph through functional relationships; use a multi-layer feedforward neural network to learn the representation relationship of the entity layer and obtain the embedding of the Item; calculate the prediction probability through the User-Item Embedding; use the label propagation algorithm to obtain the label, and use the back propagation algorithm to update the parameters (the label smoothing regularization term avoids overfitting).

[0105] With the graph neural network algorithm as the core, the user behavior sequence is quickly associated with the graph, and the embedding of the user and each node of the graph is obtained and predicted using the GNN (Graph Neural Network). By using the graph as an external input to alleviate the cold start problem and data sparsity problem, the user intention under each node is quickly obtained. Combined with the intention capability of the graph, the graph provides generalization support to a certain extent.

[0106] By mining the attributes of the product through the graph, on the basis of the original extended attributes, other attribute values ​​of the product are further mined, which helps the personalized recommendation system to better understand the user. By learning more different user preference attributes, it promotes in-depth analysis of user preferences to provide more accurate recommendations. After the product graph attributes are output, the corresponding attribute values ​​are matched with the product. For extended attributes, they can be matched through the corresponding relationship of the middle platform product attribute table. For graph mining attributes that are not in the product attribute table, the Chinese word segmentation library (for example, Jieba Chinese Word Segmentation) can be used to segment the product name, and the segmentation results are compared with the attribute values ​​to achieve matching between attributes and products.

[0107] In order to better understand the actual demands of users, the embodiments of the present invention need to explicitly construct fine-grained features that users care more about. The embodiment selected the top 20 third-level categories of fashion-related categories for analysis, and compared the attribute value ratios of clicks and active searches. For the user's active search behavior, this project uses jieba to segment the text and match the segmentation results with the corresponding attribute values. The specific attribute value preference comparison is shown in Table 1 below:

[0108]

[0109] As shown in Table 1, the attribute preferences corresponding to the search and click behaviors of users in some of the top fashion categories show that there are significant differences between the attributes that users actively search for and the attributes that users click on the products. Taking the "Facial Essence" category as an example, the attributes that users explicitly pay attention to are products with "whitening" and "lightening" effects, while the number of products with "suitable for dry skin" is greater than the former, resulting in more clicks, resulting in differences between the decision factors that users really care about and the attribute preferences calculated by clicks. By filtering and retaining explicit attribute values, the recommendation system focuses on the attribute values ​​that can really affect user decisions, thereby improving the accuracy of user attribute intention calculation.

[0110] After explicit attribute filtering, user attribute preference calculation is implemented through a neural network model, and the input features are designed as follows. User-side features: obtained from HDFS (Hadoop Distributed File System), the number of orders for product attribute items-attribute values ​​by users in the past 3 / 30 / 90 / 180 / 360 / 720 days, the number of additional purchases for product attribute items-attribute values ​​by users in the past 3 / 30 / 60 / 90 / 180 / 360 days, the number of clicks on product attribute items-attribute values ​​by users in the past 3 / 15 / 30 / 60 / 90 days, the proportion of clicks and orders on product words-attribute items-attribute values ​​by users in the past 3 / 15 / 30 / 60 / 90 days, the average length of stay on the product details page for product words-attribute items-attribute values ​​by users in the past 15 / 90 days, user purchasing power, gender, age profile, user click rate and conversion rate. Product-side features: obtained from HDFS, product attribute item-attribute value click-through rate and conversion rate within 3 / 30 / 90 days, attribute item-attribute value click-to-order attribute item ratio within 3 / 30 / 90 days, attribute item-attribute value, attribute item and attribute value encoding obtained using the FastText representation method.

[0111] The embodiment of the present invention adopts the MMoE (Mixture-of-Experts) model, which is a neural network model used to enhance the model effect by simultaneously learning the connections and differences between different tasks. The core idea of ​​the MMoE model is to learn the shared and exclusive feature representations between different tasks by combining multiple expert networks (Expert Network) and a gate network (Gate Network). Each expert network is responsible for processing a specific task, and the gate network is used to dynamically adjust the output weights of each expert network to obtain the best overall result.

[0112] Specifically, the MMOE model consists of the following key components: Expert Network, that is, each expert network is an independent neural network dedicated to processing a specific task. They can have different network structures and parameter settings to adapt to different task requirements; Gate Network, the gate network is a shared neural network used to learn the weight of each task, receive task-specific input features, and generate a set of weights to adjust the contribution of each expert network output; Shared Feature Extractor, the shared feature extractor is a neural network module used to extract task-shared feature representations. The training process of the MMOE model includes two stages: expert network training and gate network training. In the expert network training stage, each expert network is trained independently to minimize the loss function of its specific task; in the gate network training stage, the back propagation algorithm is used to optimize the weights of the gate network to maximize the performance of the overall model. The results of the gate network are output to different Tower networks to re-weight the weighted results of the expert network to achieve different tasks.

[0113] Through information sharing and exclusive feature learning between multiple tasks, the performance and generalization ability of the model are improved. However, the expert network of the MMoE model uses a simple convolutional neural network. The parameter sharing feature may cause the network to ignore the global relationship and reduce the model performance. The embodiment of the present invention introduces a self-attention mechanism based on the MMoE model to better utilize the features extracted by the shared-bottom structure of multi-task learning to improve model performance. In the improved MMoE model structure, the shared-bottom network is located at the bottom, and multiple tasks share this layer. Going up, after passing the attention layer, the two subtasks are finally predicted through the Tower network. The MMoE model formula is as follows:

[0114]

[0115] Where n is a positive integer; i is a positive integer; f is n expert networks (i.e., subnetworks used to process feature input); g is a gating network that combines the results of expert networks; g generates probability distributions on n expert networks, and the final output is the weighted sum of all expert networks. MMoE uses MoE (Mixture of Experts) as a basic component unit. MoE is composed of multiple expert networks, and combines the outputs of multiple expert networks to process feature data. Multiple MoE structures are stacked in a large network. The function f in the shared-bottom network is replaced with the MoE layer. After the expert network layer is processed, the weights of the outputs of different expert networks are controlled by the Gate unit, and a coefficient is added to each output result, and then the results are aggregated together by addition.

[0116] For the aggregated features, this embodiment introduces an attention mechanism, which uses the operations of Query (query vector), Key (key vector) and Value (value vector) to establish the correlation between features. The attention mechanism of the embodiment of the present invention includes a self-attention mechanism (Self-Attention) and a cross-task attention mechanism (Cross-Attention). The attention mechanism allows the model to weightedly focus on the importance of different positions according to the information of other positions in the sequence when processing sequence data. The steps of the operation in the attention mechanism in this embodiment: each element of the input sequence is converted into three different representations: Query (query vector), Key (key vector) and Value (value vector) by linear transformation. This linear transformation is achieved through an independent weight matrix. In the self-attention mechanism, for each query vector, its similarity score with all key vectors is calculated, and the similarity score is normalized to obtain the attention weight. Normalization is achieved using the Softmax (soft maximization) function so that the sum of the attention weights is 1. The value vector is weighted and summed using the attention weight to obtain the final self-attention representation. The value vector corresponding to the more important position will have a larger weight in the final representation. Considering that click behavior and order behavior are strongly correlated, this embodiment introduces a cross-task attention mechanism. The attention weight is obtained through the Query vector of one task and the Key vector and Value vector of another task. The attention calculation method is consistent with the self-attention mechanism. The results of task interaction are introduced in the output vector to further make full use of feature information and improve task effects. The results of the two attentions are aggregated together by addition and input into the Tower module of the deep neural network. The Tower module consists of multiple fully connected layers, each of which contains a group of neurons. After feature processing, the final classification result is output.

[0117] This embodiment predicts the user's order and click behavior in the next seven days. For order behavior, a positive sample is defined as a user placing an order for a product with a certain attribute item-attribute value in the next seven days. For click behavior, the labeling logic of a positive sample is whether the user will click on a product with a certain attribute item-attribute value more than or equal to 2 times in the next seven days. If so, it is marked as a positive sample.

[0118] The model training of the embodiment of the present invention uses the above-mentioned improved MMoE multi-objective model to train the training samples. The training samples constructed in the above steps are used as the data set, and the click behaviors of two-year orders and one-year purchases and three-month purchases are selected. The results of orders or clicks greater than or equal to 2 in the next 7 days are used as positive samples. The ratio of positive samples to negative samples after sampling is 1:3. After sampling, a total of 48,000,000 samples are retained, of which the number and proportion of positive samples are shown in Table 2 below:

[0119]

[0120] This method is based on the samples obtained by sampling, trains the optimized MMoE multi-objective model, takes the cross entropy function as the objective function, and gradually optimizes and iterates the objective function. It mainly adjusts the learning rate, the number of experts in the expert layer, the number of nodes and other parameters, and comprehensively considers the value of train-error and the results of train-error / test-error. This embodiment mainly evaluates the model performance through the classified AUC (Area Under the Curve) indicator, comprehensively evaluates the accuracy and recall to evaluate the model effect, and ensures the best model effect. The model update frequency in the online scheduling task is once a month, and the update frequency is targeted to be reduced during the promotion period.

[0121] After deployment, the model training AUC value for future orders reached 0.834, and the AUC value for future clicks reached 0.773. The AUC value for future orders predicted by the full volume was 0.817, and the AUC value for future clicks was 0.767. After stable offline operation, the full volume prediction was updated using two years of orders and one year of purchases and three months of clicks. Taking the current daily user order clicks of the domestic leading e-commerce as an example, this embodiment introduces e-commerce concept map data (shopping guide map MVP version), involving a total of 100 product words, covering more than 2,500 third-level categories, and covering a total of 790 million commodities, of which 65.5 million commodities were clicked within 180 days. Information gain such as product words and maps is introduced to model the user's intention under the attribute from the full attribute dimension, improve the accuracy of attribute intention and attribute intention coverage, align low recognition caliber, and cover 8.4 billion user groups (user-product word-attribute item-attribute value order of magnitude) according to the hanging products. The average user intention is 49, and the multi-objective model indicators are click AUC value of 0.77 and order AUC value of 0.83. The feature data for model prediction can be stably produced every day, and the model designed in this embodiment can be deployed in an online scheduling environment to work stably. The effectiveness of this embodiment is proved by comparing the actual full model prediction results with the actual user behavior data of the market.

[0122] According to a third aspect of an embodiment of the present invention, a device for predicting item attribute preferences is provided.

[0123] Figure 6 is a schematic diagram of the main modules of the device for predicting item attribute preference according to an embodiment of the present invention. Figure 6 As shown, the device 600 for predicting item attribute preference mainly includes:

[0124] The attribute extraction module 601 is used to extract the item attribute table based on the pre-built knowledge graph;

[0125] The attribute screening module 602 is used to screen explicit attributes from the item attribute table based on the acquired user behavior data characteristics; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data;

[0126] The preference prediction module 603 is used to determine the item attribute data characteristics according to the explicit attribute, and determine the user's preference prediction result for the explicit attribute based on the user behavior data characteristics and the item attribute data characteristics.

[0127] Optionally, the attribute extraction module 601 is further used to:

[0128] Extracting item-related entities from the knowledge graph and establishing association relationships between the item-related entities;

[0129] Based on the association relationship, item attribute information is extracted from the item-related entities to construct an item attribute table.

[0130] Optionally, the attribute extraction module 601 is further used to:

[0131] Performing word segmentation processing on the item names in the pre-acquired knowledge graph to obtain word segmentation results;

[0132] Compare and match the word segmentation result with the item attribute information, and establish a matching relationship between the successfully matched word segmentation result and the corresponding item attribute value;

[0133] Based on the matching relationship, an item attribute table is constructed.

[0134] Optionally, the preference prediction module 603 is further used to:

[0135] By using a pre-trained item attribute preference prediction model, the user behavior data features and the item attribute data features are input into the model to obtain a prediction result of the user's preference for the explicit attribute.

[0136] Optionally, an attention mechanism layer is provided between the shared bottom network layer and the fully connected layer of the pre-trained item attribute preference prediction model, and the preference prediction module 603 is further used for:

[0137] Determining user-item interaction feature data based on the acquired user feature data and item feature data;

[0138] After weighting the user feature data, item feature data, and user-item interaction feature data through an attention mechanism, a training sample set is constructed;

[0139] The training sample set is used as input, and the cross entropy function is used as the objective function to train and obtain an item attribute preference prediction model.

[0140] Optionally, the attention mechanism in the preference prediction module 603 includes at least one of a self-attention mechanism and a cross-task attention mechanism.

[0141] It should be noted that the specific implementation content of the device for predicting item attribute preferences in the embodiment of the present invention has been described in detail in the method for predicting item attribute preferences described above, so the repeated content will not be described again here.

[0142] According to a fourth aspect of an embodiment of the present invention, a device for recommending items is provided.

[0143] Figure 7 is a schematic diagram of main modules of an apparatus for recommending items according to an embodiment of the present invention. Figure 7As shown, an item recommendation device 700 mainly includes:

[0144] The attribute prediction module 701 is used to determine the item order corresponding to the target user and the item attribute based on the preference degree prediction result; wherein the preference degree prediction result is obtained by any method in the first aspect of the embodiment of the present invention;

[0145] The item recommendation module 702 is used to recommend the item order to the target user.

[0146] It should be noted that the specific implementation content of the device for recommending items in the embodiment of the present invention has been described in detail in the method for recommending items described above, so the repeated content will not be described again here.

[0147] According to a fifth aspect of an embodiment of the present invention, there is provided an electronic device, including:

[0148] one or more processors;

[0149] a storage device for storing one or more programs,

[0150] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention and / or the second aspect of the embodiment of the present invention.

[0151] According to a sixth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention and / or the second aspect of the embodiment of the present invention is implemented.

[0152] Figure 8 An exemplary system architecture 800 is shown to which the method for predicting item attribute preference or the device for predicting item attribute preference according to the embodiments of the present invention can be applied.

[0153] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0154] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0155] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0156] The server 805 may be a server that provides various services, such as a backend management server (for example only) that provides support for shopping websites browsed by users using the terminal devices 801, 802, and 803. The backend management server may analyze and process the received data such as the prediction request of the item attribute preference, and feed back the processing result (for example only) to the terminal device.

[0157] It should be noted that the method for predicting item attribute preference provided in the embodiment of the present invention is generally executed by the server 805, and accordingly, the device for predicting item attribute preference is generally set in the server 805. The method for predicting item attribute preference provided in the embodiment of the present invention can also be executed by the terminal devices 801, 802, and 803, and accordingly, the device for predicting item attribute preference can be set in the terminal devices 801, 802, and 803.

[0158] It should be noted that the method for recommending items provided in the embodiment of the present invention is generally executed by the server 805, and accordingly, the device for recommending items is generally set in the server 805. The method for recommending items provided in the embodiment of the present invention can also be executed by the terminal devices 801, 802, and 803, and accordingly, the device for recommending items can be set in the terminal devices 801, 802, and 803.

[0159] It should be understood that Figure 8 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.

[0160] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 The terminal 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 invention.

[0161] like Fig. 9As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0162] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.

[0163] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains 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 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.

[0164] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can 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 realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order 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 flow chart, and the combination of the boxes in the block diagram or flow chart 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.

[0166] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, they may be described as: a processor including an attribute extraction module, an attribute screening module, and a preference prediction module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the attribute extraction module may also be described as "a module for extracting an item attribute table based on a pre-built knowledge graph", or a processor including an attribute prediction module and an item recommendation module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the item recommendation module may also be described as "a module for recommending the item order to the target user".

[0167] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by a device, the device implements the following method: extracting an item attribute table based on a pre-built knowledge graph; filtering out explicit attributes from the item attribute table based on the acquired user behavior data characteristics; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data; determining item attribute data characteristics according to the explicit attributes, and determining the user's preference prediction result for the explicit attributes based on the user behavior data characteristics and the item attribute data characteristics. Alternatively, the device implements the following method: determining the item order corresponding to the target user and the item attribute based on the preference prediction result; wherein the preference prediction result is obtained by any method described in the first aspect of the embodiment of the present invention; and recommending the item order to the target user.

[0168] According to the technical solution of the embodiment of the present invention, an item attribute table is extracted based on a pre-constructed knowledge graph; based on the acquired user behavior data characteristics, explicit attributes are screened out from the item attribute table; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data; item attribute data characteristics are determined according to the explicit attributes, and based on the user behavior data characteristics and the item attribute data characteristics, the user's preference prediction result for the explicit attributes is determined; more item attributes that meet the user's target intent can be generated, and the accuracy of the item attribute preference prediction results can be improved, and the item order corresponding to the target user and the item attribute can be determined based on the preference prediction results; wherein the preference prediction results are obtained by any one of the methods described in the first aspect of the embodiment of the present invention; the item order is recommended to the target user, the matching rate between the recommended items and the user's preferences is improved, and the user's decision-making efficiency is improved.

[0169] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0170] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution of the present disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

Claims

1. A method for predicting item attribute preferences, It is characterized in that include: Extract item attribute tables based on pre-built knowledge graphs; Based on the acquired user behavior data features, the explicit attributes are screened out from the item attribute table; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data; The item attribute data feature is determined according to the explicit attribute, and the user's preference prediction result for the explicit attribute is determined based on the user behavior data feature and the item attribute data feature.

2. The method according to claim 1, It is characterized in that Extract item attribute tables based on pre-built knowledge graphs, including: Extracting item-related entities from the knowledge graph and establishing association relationships between the item-related entities; Based on the association relationship, item attribute information is extracted from the item-related entities to construct an item attribute table.

3. The method according to claim 2, It is characterized in that Construct an item attribute table, including: Performing word segmentation processing on the item names in the pre-acquired knowledge graph to obtain word segmentation results; Compare and match the word segmentation result with the item attribute information, and establish a matching relationship between the successfully matched word segmentation result and the corresponding item attribute value; Based on the matching relationship, an item attribute table is constructed.

4. The method according to claim 1, It is characterized in that Determining a prediction result of the user's preference for the explicit attribute based on the user behavior data characteristics and the item attribute data characteristics includes: By using a pre-trained item attribute preference prediction model, the user behavior data features and the item attribute data features are input into the model to obtain a prediction result of the user's preference for the explicit attribute.

5. The method according to claim 4, It is characterized in that An attention mechanism layer is provided between the shared bottom network layer and the fully connected layer of the pre-trained item attribute preference prediction model, and the pre-trained item attribute preference prediction model is obtained by the following steps: Determining user-item interaction feature data based on the acquired user feature data and item feature data; After weighting the user feature data, item feature data, and user-item interaction feature data through an attention mechanism, a training sample set is constructed; The training sample set is used as input, and the cross entropy function is used as the objective function to train and obtain an item attribute preference prediction model.

6. The method according to claim 5, It is characterized in that The attention mechanism includes at least one of a self-attention mechanism and a cross-task attention mechanism.

7. A method for item recommendation, It is characterized in that include: Based on the preference prediction result, determining the item order corresponding to the target user and the item attribute; wherein the preference prediction result is obtained by any one of the methods described in claims 1 to 6; The item order is recommended to the target user.

8. A device for predicting item attribute preferences, It is characterized in that include: The attribute extraction module is used to extract the item attribute table based on the pre-built knowledge graph; An attribute screening module, used to screen explicit attributes from the item attribute table based on the acquired user behavior data characteristics; wherein the explicit attributes are item attributes corresponding to the target intent determined according to the user behavior data; The preference prediction module is used to determine the item attribute data characteristics according to the explicit attribute, and determine the user's preference prediction result for the explicit attribute based on the user behavior data characteristics and the item attribute data characteristics.

9. A device for recommending items, It is characterized in that include: An attribute prediction module, used to determine the item order corresponding to the target user and the item attribute based on the preference degree prediction result; wherein the preference degree prediction result is obtained by any one of the methods of claims 1 to 6; The item recommendation module is used to recommend the item order to the target user.

10. An electronic device, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

11. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Article recommendation method, computing device, electronic device and storage medium

    CN119831686A

  • E-commerce transaction system and method based on virtual reality

    CN120031634A