Commodity sequence recommendation method based on diffusion model

Through the product sequence recommendation method based on the diffusion model, the user click sequence and historical order information are used to construct a feature vector and train the product recommendation model, which solves the problem of personalized recommendation across sales platforms, avoids repeated recommendation of products, and improves user experience and efficiency. .

CN118657580APending Publication Date: 2024-09-17CHONGQING NORMAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410756598.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing technology cannot implement personalized cross-sales platform recommendations in product recommendation, resulting in repeated product recommendations and inconsistency with user preferences, which reduces the user experience.

Method used

The product sequence recommendation method based on the diffusion model is used to construct a feature vector through user click sequence and historical order information to train the product recommendation model, achieve cross-platform product recommendation, and avoid repeated recommendations.

Benefits of technology

It improves user experience, reduces product matching time, enhances business execution efficiency, and ensures that recommended products meet user preferences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657580A
    Figure CN118657580A
Patent Text Reader

Abstract

The invention discloses a commodity sequence recommendation method based on a diffusion model. The method comprises the following steps: determining at least one first-level recommendation item according to a commodity recommendation demand; determining a corresponding second-level recommendation item for each first-level recommendation item according to a preset rule; determining a third-level recommendation item corresponding to the second-level recommendation item; determining a fourth-level recommendation item corresponding to the third-level recommendation item; constructing training samples, wherein one training sample comprises the click sequence corresponding to one user and the commodity identifier of the target commodity; and training a pre-constructed commodity recommendation model based on the training samples until the commodity recommendation model meets requirements, and obtaining the trained commodity recommendation model. According to the method, the feature vector corresponding to each commodity and the preference feature vector corresponding to the user can be determined based on the feature information of each commodity and the historical order information of the user, and the commodity recommendation model is trained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of commodity recommendation, and more specifically, to a commodity sequence recommendation method based on a diffusion model. Background Art

[0002] The development of the Internet and smart mobile devices has made our lives more convenient. Through various network systems, people have gradually become accustomed to reading news, watching movies, shopping, making friends, etc. online. At the same time, people are also exposed to various information provided by these websites. The explosion of information makes it difficult for people to quickly retrieve the objects they are interested in on the Internet. Based on this situation, the information recommendation system launched recommends things of interest to users based on their behavior on the Internet, such as Amazon, Twitter, Taobao, etc. At present, when various online sales platforms recommend products to users, they usually only recommend based on the user's historical browsing records on a single sales platform, and cannot recommend personalized cross-sales platform products to users. In addition, in actual applications, the business platform will display the product rankings obtained based on product feature information and user feature information to users. This product recommendation method will lead to repeated recommendations of products and the recommended products do not meet user preferences, thereby reducing the user experience. When recommending products, products are recommended based on information such as consumers' frequently purchased products and shopping cart combinations. However, this product recommendation combination is relatively simple, and the algorithm mining scenario is not personalized. Summary of the invention

[0003] 1. Technical issues to be resolved

[0004] In view of the problems existing in the prior art, the present invention provides a commodity sequence recommendation method based on a diffusion model to solve the technical problems mentioned in the background technology.

[0005] (II) Technical solution

[0006] To achieve the above object, the present invention provides the following technical solution: a method for recommending product sequences based on a diffusion model, comprising the following steps:

[0007] Step 1: Determine at least one first-level recommendation item according to the commodity recommendation demand; determine the corresponding second-level recommendation item for each first-level recommendation item according to the preset rules; determine the third-level recommendation item corresponding to the second-level recommendation item according to the consumer demand corresponding to the second-level recommendation item; determine the fourth-level recommendation item corresponding to the third-level recommendation item according to the commodity corresponding to the third-level recommendation item;

[0008] Step 2: Determine the target product corresponding to the user according to the user's click sequence, the click sequence includes the product identifiers of the products clicked by the user, the target product and the product corresponding to the click sequence belong to products on different sales platforms, obtain feature information of each product and the user's historical order information; determine the feature vector corresponding to each product according to the feature information of each product;

[0009] Step 3: Determine the preference feature vector corresponding to the user according to the historical order information of the user; input the feature vectors corresponding to the products and the preference feature vector corresponding to the user into the product recommendation model to be trained, and determine at least one recommended product in turn, wherein for each recommended product, the recommended product is determined according to the determined recommended products, the feature vectors corresponding to the products, and the user preference feature vector;

[0010] Step 4: Construct training samples, each training sample includes the click sequence corresponding to a user and the product identifier of the target product; train the pre-constructed product recommendation model based on each training sample until the product recommendation model meets the requirements, and obtain the trained product recommendation model; wherein, determining the target product corresponding to the user according to the user's click sequence includes: determining the product to be matched.

[0011] The present invention is further configured such that step four also includes determining a target product pair from pre-constructed product pairs when the product to be matched and the product corresponding to the click sequence belong to the same sales platform, wherein one product pair includes a first product identifier and a second product identifier, the first product identifier is the product identifier of the first product corresponding to the first sales platform, the second product identifier is the product identifier of the second product corresponding to the second sales platform, and the target product pair is the product whose first product identifier or the second product identifier is the same as the product identifier of the product to be matched.

[0012] The present invention is further configured such that step four also includes determining the target product based on the target product pair, wherein, when the first product identifier is the same as the product identifier of the product to be matched, the target product is the product corresponding to the second product identifier, and when the second product identifier is the same as the product identifier of the product to be matched, the target product is the product corresponding to the first product identifier.

[0013] The present invention is further configured such that step three trains the product recommendation model with the optimization goal of minimizing the deviation between the at least one recommended product and the products actually involved in the historical order information, and the product recommendation model is used to make product recommendations to users.

[0014] The present invention is further configured to include at least one of the actual product name of each product, the standard product name corresponding to each product, the attribute information of each product, and the business feature information of each product.

[0015] The present invention is further configured to obtain characteristic information of each commodity, specifically including: determining the merchant corresponding to the historical order information; and obtaining characteristic information of each commodity provided by the merchant in the merchant.

[0016] The present invention is further configured to determine a feature vector corresponding to each commodity based on the feature information of each commodity, specifically including: for each commodity provided by the merchant, determining a feature vector corresponding to the commodity based on the feature information corresponding to the commodity; merging the feature vectors corresponding to each commodity provided by the merchant to obtain the feature vectors corresponding to each commodity under the merchant.

[0017] The present invention is further configured such that determining at least one first-level recommendation item according to the commodity recommendation demand comprises: classifying the commodity recommendation items according to the commodity recommendation demand, and determining the classified multiple commodity recommendation items as the at least one first-level recommendation item.

[0018] The present invention is further configured such that, according to the commodities corresponding to the third-level recommendation items, the fourth-level recommendation items corresponding to the third-level recommendation items are determined, including: obtaining the commodities corresponding to the third-level recommendation items, and classifying the commodities into categories; and determining the classified commodity categories as the fourth-level recommendation items corresponding to the third-level recommendation items.

[0019] The present invention is further configured to determine, for each of the commodity pairs, a degree of similarity between the first commodity and the second commodity corresponding to the commodity pair, and store the commodity pair and the degree of similarity in association with each other, including: for each of the commodity pairs, determining a first score based on commodity information of the first commodity and commodity information of the second commodity, the first score being used to indicate the degree of similarity between the first commodity and the second commodity; and storing each of the commodity pairs in association with the corresponding first score.

[0020] (III) Beneficial effects

[0021] Compared with the prior art, the present invention provides a product sequence recommendation method based on a diffusion model, which has the following beneficial effects:

[0022] The present invention constructs training samples based on the user's click sequence and target products. A training sample contains a click sequence corresponding to a user and a product identifier of the target product. The target product is determined based on the user's click sequence, and the product corresponding to the click sequence belongs to a different sales platform. That is, the target product that belongs to a different sales platform than the product that the user has clicked and viewed is added to the training sample. The pre-constructed product recommendation model is trained based on the training sample, so that the trained product recommendation model has the ability to recall the products corresponding to the user's click sequence that belong to different sales platforms, and realize cross-selling platform product recommendations. This method can determine the feature vector corresponding to each product and the preference feature vector corresponding to the user based on the feature information of each product and the user's historical order information, and train the product recommendation model. In the process of determining the recommended product, it is necessary to refer to the recommended product that has been determined to determine the next recommended product. Compared with the prior art, repeated recommendations of the same product can be avoided. In addition, the product recommendation model uses the deviation between the recommended products and the products involved in the user's actual order information as its training target. The products involved in the user's actual order information are selected by the user based on his or her own preferences and have a certain degree of compatibility. This not only avoids the situation where the recommended products do not meet the user's preferences and improves the user experience, but also can reduce the time spent by the user in matching products to a certain extent, thereby improving the user's business execution efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 The figure is an overall flow chart of a method for recommending product sequences based on a diffusion model in the present invention. DETAILED DESCRIPTION

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] It should be noted that, unless otherwise specified, all technical and scientific terms used in this application have the same meanings as commonly understood by ordinary technicians in the technical field to which this application belongs.

[0026] See also Figure 1 , a commodity sequence recommendation method based on a diffusion model, comprising the following steps:

[0027] Step 1: Determine at least one first-level recommendation item according to the commodity recommendation demand; determine the corresponding second-level recommendation item for each first-level recommendation item according to the preset rules; determine the third-level recommendation item corresponding to the second-level recommendation item according to the consumer demand corresponding to the second-level recommendation item; determine the fourth-level recommendation item corresponding to the third-level recommendation item according to the commodity corresponding to the third-level recommendation item;

[0028] Step 2: Determine the target product corresponding to the user according to the user's click sequence, the click sequence includes the product identifiers of the products clicked by the user, the target product and the product corresponding to the click sequence belong to products on different sales platforms, obtain feature information of each product and the user's historical order information; determine the feature vector corresponding to each product according to the feature information of each product;

[0029] Step 3: Determine the preference feature vector corresponding to the user according to the historical order information of the user; input the feature vector corresponding to each product and the preference feature vector corresponding to the user into the product recommendation model to be trained, and determine at least one recommended product in turn, wherein, for each recommended product, the recommended product is determined according to the determined recommended product, the feature vector corresponding to each product and the user preference feature vector; train the product recommendation model with the optimization goal of minimizing the deviation between the at least one recommended product and each product actually involved in the historical order information, and the product recommendation model is used to recommend products to the user;

[0030] Step 4: Construct training samples, each of the training samples includes the click sequence corresponding to a user and the product identifier of the target product; train the pre-constructed product recommendation model based on each of the training samples until the product recommendation model meets the requirements, and obtain the trained product recommendation model; wherein, determining the target product corresponding to the user according to the user's click sequence includes: determining the product to be matched, and also including, when the product to be matched and the product corresponding to the click sequence belong to the same sales platform, determining the target product pair from the pre-constructed product pairs, wherein a product pair includes a first product identifier and a second product identifier, the first product identifier is the product identifier of the first product corresponding to the first sales platform, the second product identifier is the product identifier of the second product corresponding to the second sales platform, and the target product pair is the product whose first product identifier or the second product identifier is the same as the product identifier of the product to be matched.

[0031] In a further embodiment, it also includes determining the target product based on the target product pair, wherein, when the first product identifier is the same as the product identifier of the product to be matched, the target product is the product corresponding to the second product identifier, and when the second product identifier is the same as the product identifier of the product to be matched, the target product is the product corresponding to the first product identifier.

[0032] Embodiment 2:

[0033] A method for recommending product sequences based on a diffusion model includes the following steps:

[0034] Step 1: Determine at least one first-level recommendation item based on the product recommendation demand; determine the corresponding second-level recommendation item for each first-level recommendation item based on the preset rules; determine the third-level recommendation item corresponding to the second-level recommendation item based on the consumer demand corresponding to the second-level recommendation item; determine the fourth-level recommendation item corresponding to the third-level recommendation item based on the product corresponding to the third-level recommendation item

[0035] Step 2: Determine the target product corresponding to the user according to the user's click sequence, the click sequence includes the product identifiers of the products clicked by the user, the target product and the product corresponding to the click sequence belong to products on different sales platforms, obtain feature information of each product and the user's historical order information; determine the feature vector corresponding to each product according to the feature information of each product;

[0036] Step 3: Determine the preference feature vector corresponding to the user according to the historical order information of the user; input the feature vectors corresponding to the products and the preference feature vector corresponding to the user into the product recommendation model to be trained, and determine at least one recommended product in turn, wherein for each recommended product, the recommended product is determined according to the determined recommended products, the feature vectors corresponding to the products, and the user preference feature vector;

[0037] Step 4: Construct training samples, each training sample includes the click sequence corresponding to a user and the product identifier of the target product; train the pre-constructed product recommendation model based on each training sample until the product recommendation model meets the requirements, and obtain the trained product recommendation model; wherein, determining the target product corresponding to the user according to the user's click sequence includes: determining the product to be matched.

[0038] In a further embodiment of the present invention, at least one of the actual product name of each product, the standard product name corresponding to each product, the attribute information of each product, and the business feature information of each product; obtaining the feature information of each product, specifically includes: determining the merchant corresponding to the historical order information; obtaining the feature information of each product provided by the merchant in the merchant; determining the feature vector corresponding to each product according to the feature information of each product, specifically includes: for each product provided by the merchant, determining the feature vector corresponding to the product according to the feature information corresponding to the product; merging the feature vectors corresponding to the products provided by the merchant to obtain the feature vectors corresponding to the products under the merchant; determining at least one primary recommendation item according to the product recommendation demand, including: classifying the product recommendation items according to the product recommendation demand, and classifying the classified product recommendation items. The multiple commodity recommendation items are determined as the at least one first-level recommendation item; the fourth-level recommendation item corresponding to the third-level recommendation item is determined according to the commodities corresponding to the third-level recommendation item, including: obtaining the commodities corresponding to the third-level recommendation item, and classifying the commodities into categories; determining the divided commodity categories as the fourth-level recommendation items corresponding to the third-level recommendation items; for each of the commodity pairs, determining the similarity between the first commodity and the second commodity corresponding to the commodity pair, and storing the commodity pairs and the similarity in association, including: for each of the commodity pairs, determining a first score according to the commodity information of the first commodity and the commodity information of the second commodity, the first score being used to indicate the similarity between the first commodity and the second commodity; storing each of the commodity pairs and the corresponding first score in association.

[0039] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A product sequence recommendation method based on diffusion model, Its characteristics are: The following steps are involved: Step 1: Determine at least one first-level recommendation item based on the product recommendation demand; determine the corresponding second-level recommendation item for each first-level recommendation item based on preset rules; Determine the third-level recommended items corresponding to the second-level recommended items according to the consumer demands corresponding to the second-level recommended items; determine the fourth-level recommended items corresponding to the third-level recommended items according to the commodities corresponding to the third-level recommended items; Step 2: Determine the target product corresponding to the user according to the user's click sequence, the click sequence includes the product identifiers of the products clicked by the user, the target product and the product corresponding to the click sequence belong to products on different sales platforms, obtain feature information of each product and the user's historical order information; determine the feature vector corresponding to each product according to the feature information of each product; Step 3: Determine the preference feature vector corresponding to the user according to the historical order information of the user; input the feature vectors corresponding to the products and the preference feature vector corresponding to the user into the product recommendation model to be trained, and determine at least one recommended product in turn, wherein for each recommended product, the recommended product is determined according to the determined recommended products, the feature vectors corresponding to the products, and the user preference feature vector; Step 4: Construct training samples, each training sample includes the click sequence corresponding to a user and the product identifier of the target product; train the pre-constructed product recommendation model based on each training sample until the product recommendation model meets the requirements, and obtain the trained product recommendation model; wherein, determining the target product corresponding to the user according to the user's click sequence includes: determining the product to be matched.

2. According to the method for recommending product sequences based on a diffusion model according to claim 1, Its characteristics are: The step four also includes determining a target product pair from pre-constructed product pairs when the product to be matched and the product corresponding to the click sequence belong to the same sales platform, wherein one product pair includes a first product identifier and a second product identifier, the first product identifier is the product identifier of the first product corresponding to the first sales platform, the second product identifier is the product identifier of the second product corresponding to the second sales platform, and the target product pair is the product whose first product identifier or the second product identifier is the same as the product identifier of the product to be matched.

3. According to the method for recommending product sequences based on a diffusion model in claim 1, Its characteristics are: The step four also includes determining the target product based on the target product pair, wherein, when the first product identifier is the same as the product identifier of the product to be matched, the target product is the product corresponding to the second product identifier, and when the second product identifier is the same as the product identifier of the product to be matched, the target product is the product corresponding to the first product identifier.

4. According to claim 1, a method for recommending product sequences based on a diffusion model, Its characteristics are: In step three, the product recommendation model is trained with the optimization goal of minimizing the deviation between the at least one recommended product and the products actually involved in the historical order information. The product recommendation model is used to recommend products to users.

5. According to claim 1, a method for recommending product sequences based on a diffusion model, Its characteristics are: The actual product name of each product, the standard product name corresponding to each product, the attribute information of each product, and at least one of the business feature information of each product. The actual product name of each product, the standard product name corresponding to each product, the attribute information of each product, and at least one of the business feature information of each product.

6. The method for recommending product sequences based on a diffusion model according to claim 1, Its characteristics are: Acquiring characteristic information of each commodity specifically includes: determining the merchant corresponding to the historical order information; and acquiring characteristic information of each commodity provided by the merchant in the merchant.

7. The method for recommending product sequences based on a diffusion model according to claim 1, Its characteristics are: Determine a feature vector corresponding to each commodity according to the feature information of each commodity, specifically including: for each commodity provided by the merchant, determine a feature vector corresponding to the commodity according to the feature information corresponding to the commodity; merge the feature vectors corresponding to the commodities provided by the merchant to obtain the feature vectors corresponding to the commodities under the merchant.

8. The method for recommending product sequences based on a diffusion model according to claim 1, Its characteristics are: The determining of at least one first-level recommendation item according to the commodity recommendation requirement includes: classifying the commodity recommendation items according to the commodity recommendation requirement, and determining the classified plurality of commodity recommendation items as the at least one first-level recommendation item.

9. The method for recommending product sequences based on a diffusion model according to claim 1, Its characteristics are: The method of determining the fourth-level recommended item corresponding to the third-level recommended item based on the goods corresponding to the third-level recommended item includes: obtaining the goods corresponding to the third-level recommended item and dividing the goods into categories; and determining the divided goods categories as the fourth-level recommended item corresponding to the third-level recommended item.

10. The method for recommending product sequences based on a diffusion model according to claim 1, Its characteristics are: The method further comprises: determining, for each of the commodity pairs, a degree of similarity between the first commodity and the second commodity corresponding to the commodity pair, and storing the commodity pair and the degree of similarity in association with each other, comprising: determining, for each of the commodity pairs, a first score according to commodity information of the first commodity and commodity information of the second commodity, wherein the first score is used to indicate the degree of similarity between the first commodity and the second commodity; and storing each of the commodity pairs in association with the corresponding first score.