A commodity recommendation method, device and processing equipment
By constructing a predictive model for seller key attribute data that does not rely on user privacy, and utilizing technologies such as self-attention mechanisms for product recommendations, the problems of information overload and recommendation quality have been solved, thereby improving the user shopping experience on e-commerce platforms.
Patent Information
- Application Number
- CN202311336835.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-13
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-10-13
AI Technical Summary
Existing product recommendation systems suffer from information overload, cold start issues, and recommendation quality problems, and also involve user privacy, affecting the user shopping experience.
By acquiring key attributes from target products and seller description data, a seller key attribute data prediction model is trained. Using extraction strategies such as self-attention and location encoding, correlation analysis is performed to predict key attribute data in future time periods, thus constructing a high-precision product recommendation mechanism that does not rely on user privacy.
It achieves high-precision product recommendations, protects user privacy, enhances the user shopping experience, and promotes the long-term development of the e-commerce model.
Smart Images

Figure CN117455602B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of e-commerce, specifically to a product recommendation method, apparatus, and processing equipment. Background Technology
[0002] With the rapid development of internet technology, more and more users are purchasing goods and services through online e-commerce platforms. However, in this era of information overload, finding products that meet one's needs and preferences from a vast array of options has become a problem that needs to be solved. Therefore, accurate product recommendation systems are particularly important.
[0003] The goal of a product recommendation system is to select products that users may be interested in or need from a vast array of goods, thereby enhancing the user shopping experience. Currently, product recommendation systems primarily use two technologies: content-based recommendation, which recommends products based on users' past behavior and product characteristics; and collaborative filtering-based recommendation, which analyzes users' historical behavioral data to recommend products liked by other users with similar historical behavior.
[0004] However, the inventors of this application have discovered that, on the one hand, the demand for user privacy protection is becoming increasingly strong, and on the other hand, existing product recommendation systems also suffer from problems such as information overload, cold start, and recommendation quality, which obviously affect the user's shopping experience. Summary of the Invention
[0005] This application provides a product recommendation method, apparatus, and processing device for constructing a novel product recommendation mechanism that does not involve user privacy or rely on the application of natural language processing models such as ChatGPT. It can conveniently and accurately achieve the goal of product recommendation, thereby helping to ensure a better user shopping experience and thus ensuring the long-term development of e-commerce models.
[0006] Firstly, this application provides a product recommendation method, which includes:
[0007] Obtain product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products, which are used as annotations for the product description data of the target products.
[0008] Obtain seller description data of target sellers within the target time period, and extract corresponding key attributes from the seller description data of target sellers to obtain key attribute data of target sellers, which will be used as annotations for the seller description data of target sellers.
[0009] Using the labeled product description data of the target products and the labeled seller description data of the target sellers, an initial model is trained to obtain a seller key attribute data prediction model. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict key attribute data in the future time period.
[0010] Predict the target seller's key attribute data within a target time period using a seller key attribute data prediction model;
[0011] Correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period to obtain the products that are suitable for the target seller within the target product within the target time period, which are then used as the corresponding product selection and recommendation targets for the target seller.
[0012] In conjunction with the first aspect of this application, in a first possible implementation of the first aspect of this application, the corresponding key attributes are extracted from the product description data of the target product to obtain the key attribute data of the target product, including:
[0013] By employing an extraction strategy based on at least one of self-attention mechanism, positional encoding, multi-head attention, residual connection, and layer normalization, the corresponding key attributes are extracted from the product description data of the target product, thus obtaining the key attribute data of the target product.
[0014] In conjunction with the first possible implementation of the first aspect of this application, in the second possible implementation of the first aspect of this application, the key attributes include historical sales data, production process, and market conditions.
[0015] In conjunction with the first aspect of this application, in the third possible implementation of the first aspect of this application, an initial model is trained using labeled product description data of the target product and labeled seller description data of the target seller to obtain a seller key attribute data prediction model, including:
[0016] Using the labeled product description data of the target products and the labeled seller description data of the target sellers, the initial model configured with the Llama model is trained in multiple modes to obtain a customized seller key attribute data prediction model.
[0017] In conjunction with the third possible implementation of the first aspect of this application, in the fourth possible implementation of the first aspect of this application, before training the initial model to obtain the seller key attribute data prediction model using the labeled product description data of the target product and the labeled seller description data of the target seller, the method further includes:
[0018] The embedding method is used to transform the labeled product description data and labeled seller description data from discrete data form into continuous vector form.
[0019] In conjunction with the first aspect of this application, in the fifth possible implementation of the first aspect of this application, correlation analysis is performed on the key attribute data of the target product and the target key attribute data of the target seller within the target time period, including:
[0020] Based on a correlation analysis strategy that employs at least one of cosine similarity, Jaccard similarity coefficient, Pearson correlation coefficient, Tanimoto coefficient, Euclidean distance, Hamming distance, Minkowski distance, Chebyshev distance, and Manhattan distance, correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period.
[0021] In conjunction with the first aspect of this application, in the sixth possible implementation of the first aspect of this application, after performing correlation analysis on the key attribute data of the target product and the target key attribute data of the target seller within the target time period to obtain the products suitable for the target seller among the target products within the target time period, the method further includes:
[0022] Based on the products that are suitable for the target seller within the target product range during the target time period, the product selection recommendation objects corresponding to the target seller are selected, and the source data of the products that are suitable for the target seller within the target product range during the target time period are obtained to obtain the product selection recommendation data.
[0023] Push product selection recommendation data to sellers.
[0024] Secondly, this application provides a product recommendation device, the device comprising:
[0025] The first acquisition unit is used to acquire product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products, which serves as annotation for the product description data of the target products.
[0026] The second acquisition unit is used to acquire the seller description data of the target seller within the target time period, and extract the corresponding key attributes from the seller description data of the target seller to obtain the key attribute data of the target seller as the annotation of the seller description data of the target seller.
[0027] The training unit is used to train the initial model with labeled product description data of the target product and labeled seller description data of the target seller to obtain the seller key attribute data prediction model. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict key attribute data in the future time period.
[0028] The prediction unit is used to predict the target key attribute data of the target seller within a target time period using a seller key attribute data prediction model.
[0029] The analysis unit is used to perform correlation analysis on the key attribute data of the target product and the key attribute data of the target seller within the target time period, so as to obtain the products that are suitable for the target seller among the target products within the target time period, and use them as the corresponding product selection recommendation objects for the target seller.
[0030] In conjunction with the second aspect of this application, in a first possible implementation of the second aspect of this application, the first obtaining unit is specifically used for:
[0031] By employing an extraction strategy based on at least one of self-attention mechanism, positional encoding, multi-head attention, residual connection, and layer normalization, the corresponding key attributes are extracted from the product description data of the target product, thus obtaining the key attribute data of the target product.
[0032] In conjunction with the first possible implementation of the second aspect of this application, the key attributes in the second possible implementation of the second aspect of this application include historical sales data, production process, and market conditions.
[0033] In conjunction with the second aspect of this application, in a third possible implementation of the second aspect of this application, the training unit is specifically used for:
[0034] Using the labeled product description data of the target products and the labeled seller description data of the target sellers, the initial model configured with the Llama model is trained in multiple modes to obtain a customized seller key attribute data prediction model.
[0035] In conjunction with the third possible implementation of the second aspect of this application, in the fourth possible implementation of the second aspect of this application, the training unit is further used for:
[0036] The embedding method is used to transform the labeled product description data and labeled seller description data from discrete data form into continuous vector form.
[0037] In conjunction with the second aspect of this application, in the fifth possible implementation of the second aspect of this application, the analysis unit is specifically used for:
[0038] Based on a correlation analysis strategy that employs at least one of cosine similarity, Jaccard similarity coefficient, Pearson correlation coefficient, Tanimoto coefficient, Euclidean distance, Hamming distance, Minkowski distance, Chebyshev distance, and Manhattan distance, correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period.
[0039] In conjunction with the second aspect of this application, in the sixth possible implementation of the second aspect of this application, the apparatus further includes a recommendation unit for:
[0040] Based on the products that are suitable for the target seller within the target product range during the target time period, the product selection recommendation objects corresponding to the target seller are selected, and the source data of the products that are suitable for the target seller within the target product range during the target time period are obtained to obtain the product selection recommendation data.
[0041] Push product selection recommendation data to sellers.
[0042] Thirdly, this application provides a processing device, including a processor and a memory, wherein a computer program is stored in the memory, and when the processor invokes the computer program in the memory, it executes the method provided by the first aspect of this application or any possible implementation of the first aspect of this application.
[0043] Fourthly, this application provides a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to perform the method provided in the first aspect of this application or any possible implementation thereof.
[0044] From the above, it can be concluded that this application has the following beneficial effects:
[0045] Regarding product recommendation objectives, this application isolates buyer (user) information and focuses specifically on target sellers. It constructs a model of the target seller by annotating product description data and seller description data with corresponding key attributes, thereby predicting their key attributes. Based on these key attributes, it performs convenient and high-precision matching with sellers among representative products in the vertical field to determine the target products for recommendation. This constructs a novel product recommendation mechanism that does not involve user privacy or rely on the application of natural language processing models such as ChatGPT. It can conveniently and accurately achieve the goal of product recommendation, thus helping to ensure a better user shopping experience and ultimately guaranteeing the long-term development of the e-commerce model. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a flowchart illustrating one of the product recommendation methods used in this application;
[0048] Figure 2 This is a schematic diagram of a product recommendation device according to this application;
[0049] Figure 3 This is a schematic diagram of one type of processing equipment used in this application. Detailed Implementation
[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0051] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those explicitly listed, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products, or devices. The naming or numbering of steps appearing in this application does not imply that the steps in the method flow must be performed in the chronological / logical order indicated by the naming or numbering. The execution order of named or numbered process steps can be changed according to the desired technical purpose, as long as the same or similar technical effect is achieved.
[0052] The module division described in this application is a logical division. In practical applications, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between modules may be electrical or other similar forms, none of which are limited in this application. Furthermore, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules. Some or all of the modules may be selected to achieve the purpose of the solution in this application according to actual needs.
[0053] Before introducing the product recommendation method provided in this application, we will first introduce the background information involved in this application.
[0054] The product recommendation method, apparatus, and computer-readable storage medium provided in this application can be applied to processing devices to construct a novel product recommendation mechanism that does not involve user privacy or rely on the application of natural language processing models such as ChatGPT. It can conveniently and accurately achieve the goal of product recommendation, thereby helping to ensure a better user shopping experience and thus ensuring the long-term development of e-commerce models.
[0055] The product recommendation method mentioned in this application can be implemented by a product recommendation device, or by different types of processing devices such as servers, physical hosts, or user equipment (UE) that integrate the product recommendation device. The product recommendation device can be implemented in hardware or software. The UE can be a terminal device such as a smartphone, tablet, laptop, desktop computer, or personal digital assistant (PDA). The processing devices can be configured in a device cluster.
[0056] It is understood that since the product recommendation method provided in this application has low requirements for the hardware and software conditions required for data processing capabilities, in actual situations, the deployment form and type of the processing device as the main body of execution are quite flexible. For example, it can be a server or physical host with a relatively fixed location, or a UE that is easy to carry or move. It can be flexibly adapted to specific needs, and this application does not make specific limitations.
[0057] The following section introduces the product recommendation method provided in this application.
[0058] First, refer to Figure 1 , Figure 1This paper illustrates a flowchart of the product recommendation method of this application. The product recommendation method provided by this application may specifically include the following steps S101 to S105:
[0059] Step S101: Obtain product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products, which are used as annotations for the product description data of the target products.
[0060] It is understandable that the so-called vertical field refers to the type of goods (including service goods) provided to a limited (specific) user in the online e-commerce scenario. It has the characteristics of being highly vertical and segmented. It can also be understood as a specific category of goods extracted or abstracted for users.
[0061] Within a pre-selected vertical field, i.e., the target vertical field, representative products can be selected. The term "representative" refers to products that have characteristics that can highly characterize the vertical field to which they belong.
[0062] At the same time, when identifying representative target products in a target vertical field, a time element can be added to limit the selection, thereby more accurately identifying products at relevant time points.
[0063] For example, if during a certain period, "oil painting style dresses" experienced a surge in sales in the niche market of "niche DIY dresses," then "oil painting style dresses" can be considered a representative product in the niche market of "niche DIY dresses" during that period.
[0064] Of course, in assessing representativeness, this application believes that it should not only focus on sales volume, but also take into account factors such as sales growth rate, novelty, discussion volume, page views, current hot topics, launch plans, and promotion plans.
[0065] Generally speaking, representative target products in the target vertical field within the target time period are determined autonomously by the product determination strategy pre-configured by the processing equipment. Of course, it is also permissible for human selection or intervention to a certain extent, which is a requirement in some actual situations.
[0066] Once a representative target product in the target vertical field is identified, the corresponding product description data can be obtained through retrieval or manual input. The product description is easy to understand; it describes the relevant details of the target product. The specific data content usually exhibits flexible content variations depending on the characteristics of the product itself and the characteristics of the acquisition method.
[0067] Next, the key attributes of the acquired product description data can be extracted to obtain the key attribute data corresponding to the target product. This can be understood as involving the use of relevant extraction tools, and it is necessary to pre-configure extraction strategies for one or more extraction tools to extract the key attribute data of the target product from the complex content / format of the product description data.
[0068] In one practical implementation, step S101 involves extracting corresponding key attributes from the product description data of the target product to obtain the key attribute data of the target product. Specifically, this may include:
[0069] By employing extraction strategies based on at least one of the following tools: self-attention mechanism, positional encoding, multi-head attention, residual connection, and layer normalization, the corresponding key attributes are extracted from the product description data of the target product, thus obtaining the key attribute data of the target product.
[0070] It is understood that the extraction strategies involved in this application, which are based on self-attention mechanisms, positional encoding, multi-head attention, residual connections, and layer normalization, do not mean that the specific extraction logic is inherent in these tools themselves. Rather, it means that corresponding extraction logic is configured on the basis of these tools (for example, different tools can be configured with the same extraction logic). Then, due to the different characteristics of these tools in their processing logic, different extraction effects can be achieved, such as different effects in terms of extraction efficiency and extraction accuracy.
[0071] Thus, this setting provides relevant supporting solutions that can be used in specific applications, and has excellent practical characteristics.
[0072] Meanwhile, as another practical implementation method, the key attributes extracted in this application may specifically include different aspects such as historical sales data, production processes, and market conditions.
[0073] As can be seen, in addition to the easily thought-provoking historical sales data, this application also focuses on other aspects that are easily overlooked, such as production processes and market conditions. This allows for a more detailed and accurate reflection of the characteristics of the target product from a wide range of perspectives, laying a good foundation for subsequent model processing.
[0074] For the key attribute data of the target products obtained, a manual intervention process can be introduced. Staff can manually intervene and correct the data to improve any errors, anomalies, or specific data that may exist in the key attribute data in real-time, in accordance with the data usage needs, so as to ensure the accuracy of the data under the current circumstances.
[0075] Once the key attribute data of the target product is obtained, it can be used as annotation for the product description data of the target product. For example, the content of the key attribute data can be annotated in the product description data of the target product, or the key attribute data can be configured as the annotation file of the product description data of the target product. The specific annotation strategy adopted is obviously quite flexible and can be adjusted according to the actual situation.
[0076] Step S102: Obtain the seller description data of the target seller within the target time period, and extract the corresponding key attributes from the seller description data of the target seller to obtain the key attribute data of the target seller, which serves as the annotation of the seller description data of the target seller.
[0077] At the same time, this application also focuses on the seller side. The so-called seller is easy to understand as a merchant who provides product purchase services to sellers. It can be seen that this application does not directly involve the buyer side in order to achieve the goal of product recommendation. It separates the buyer's (user's) user information, so there will be no concerns about user privacy and security. It is highly in line with the buyer's (user's) need for protection of personal privacy and the need for monitoring user privacy in the e-commerce field.
[0078] In this case, similar to obtaining the product description data of the target product and extracting key attributes in step S101, it is also necessary to obtain the seller description data of the target seller and extract the corresponding key attributes from it to obtain the key attribute data of the target seller, which will be used as the annotation of the seller description data of the target seller.
[0079] Among them, the acquisition of seller description data of target sellers and the extraction of key attribute data of target sellers are usually carried out within the same time range and compared. The specific extraction content can be referred to the content of the previous step S101, so it will not be repeated here. In addition, the acquisition of seller description data can also be accomplished by using technologies such as manual entity recognition.
[0080] It is worth noting that the automatic acquisition of product description data and seller description data of target products is usually carried out in cooperation. This may involve the data owner actively providing the source data or data acquisition conditions, or the data itself being publicly available.
[0081] Furthermore, regarding steps S101 and S102, it is understood that there is no time limit between them. Step S101 can be executed first, followed by step S102, or step S102 can be executed first, followed by step S101, or steps S101 and S102 can be executed simultaneously. The specific steps can be adjusted according to the actual situation, and this application does not impose any specific limitations.
[0082] Furthermore, the target seller involved in this application is usually a single entity, which can be either a company or an individual. The specific form of the seller can be adapted to the flexible business scenarios in the e-commerce field.
[0083] Step S103: Using the labeled product description data of the target product and the labeled seller description data of the target seller, train the initial model to obtain the seller key attribute data prediction model. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict the key attribute data in the future time period.
[0084] After obtaining the labeled descriptive data for the two aspects through steps S101 and S102 above, the training of the key attribute prediction model focused on the seller side can be carried out to train the configured initial model into a seller key attribute data prediction model, resulting in a low-cost and evolvable artificial intelligence model. In actual use, corresponding to the training samples, it combines the input product description data and the input seller description data to predict key attribute data in the future time period, thereby meeting the application's requirement to know the key attributes or related seller capabilities of the target seller in the future time period.
[0085] The model training process typically includes: inputting sample data into the model sequentially, allowing the model to predict key attributes within a future time period to complete forward propagation, then calculating the loss function based on the prediction results, optimizing the model parameters based on the loss function results, and completing backpropagation. When the preset training requirements such as the number of training sessions, training duration, and prediction accuracy are met, the model training can be completed, resulting in a seller key attribute data prediction model that can be put into practical use.
[0086] It should be understood that, in the context of e-commerce, the key attributes of the target sellers involved in this application can include not only sales attributes that are directly related to sales, such as sales volume, sales growth rate, and sales period, but also other attributes, such as product display methods, personal style, and specific e-commerce platforms. These can be flexibly adjusted on an individual basis according to the current target seller, so as to obtain a highly adaptable key attribute (capability) representation effect for the individual target seller.
[0087] As another exemplary implementation, this method uses labeled product description data of target products and labeled seller description data of target sellers to train an initial model to obtain a seller key attribute data prediction model, which may specifically include:
[0088] Using the labeled product description data of the target products and the labeled seller description data of the target sellers, the initial model configured with the Llama model is trained in multiple modes to obtain a customized seller key attribute data prediction model.
[0089] It is understandable that the Llama model is a relatively new large-scale language model. As a model architecture for predicting seller key attribute data, it can bring high processing efficiency and accuracy, and has good performance in use.
[0090] Of course, in addition to directly using the commercially available, open-source Llama model architecture, it can be further optimized and improved according to actual usage needs. Furthermore, besides the Llama model architecture, other types of model architectures can also be used in practice. This can be adjusted according to actual needs. The Llama model is only an example of the initial model / model architecture here and should not be understood as a specific limitation of the seller's key attribute data prediction model processing stage. Similarly, the specific loss function used in the model training process also falls into this category.
[0091] At the same time, in order to facilitate model training using training samples, the data format of the training samples may also be processed to ensure that the model can stably and efficiently complete the recognition and use of input data.
[0092] In this regard, as another practical implementation method, before training the initial model to obtain the seller key attribute data prediction model using the labeled product description data of the target products and the labeled seller description data of the target sellers, the product recommendation method of this application may also include the following steps:
[0093] The embedding method is used to transform the labeled product description data and labeled seller description data from discrete data form into continuous vector form.
[0094] It is understandable that embedding corresponds to the language processing model and can provide the language processing model with input vectors that are easy to recognize and use. In this regard, the embedding method can be used to perform secondary processing on the product description data of the target product after the target annotation and the seller description data of the target seller after the target annotation, so as to obtain description data in the form of continuous vectors that are easy for the Llama model to recognize and use.
[0095] Of course, besides language processing models such as Llama, other models can also achieve better processing results by converting descriptive data into continuous vector form, making it easier to recognize and use.
[0096] For descriptive data that has been converted into continuous vector form, it can be stored in a specially configured vector database for data use.
[0097] In addition, in practical applications, besides the embedding method, other methods can also be used to transform continuous vectors.
[0098] Meanwhile, after obtaining the product description data of the target product and the seller description data of the target seller, data preprocessing can also be involved before inputting it into the model training. This includes different types of preprocessing methods such as removing outlier data, filling in blank data, and unifying data format. These are relatively common processing methods for model training to enhance the quality of training samples.
[0099] Step S104: Predict the target key attribute data of the target seller within the target time period using the seller key attribute data prediction model;
[0100] After completing model training and obtaining a predictive model for seller key attribute data that can be put into practical use, the model can be used to analyze the key attributes of the target seller within the target time period (future time period) to obtain target key attribute data, thereby completing the characterization of the target seller's future performance through predictive analysis.
[0101] At the same time, the trained seller key attribute data prediction model can be further trained or updated and optimized by combining previous prediction results with actual results during actual use, so as to maintain a high degree of practicality in actual use.
[0102] Step S105: Perform correlation analysis on the key attribute data of the target product and the key attribute data of the target seller within the target time period to obtain the products that match the target seller within the target time period, which will be used as the corresponding product selection recommendation objects for the target seller.
[0103] In this way, after obtaining the target seller's key attribute data within the target time period, it can be matched with the key attribute data of the target products to perform correlation analysis, so as to determine the correlation and matching between the target seller and each product in the target products.
[0104] Clearly, the higher the relevance and matching of a product, the more suitable it is for the target seller to provide corresponding product purchase services. This means that the product can be recommended to the seller to provide product purchase services to users on the e-commerce platform. In simpler terms, the product is selected as a product recommendation object, and the seller is recommended to sell the product. Due to the high relevance and matching, the target seller is more likely to achieve better sales results for the product.
[0105] As another practical implementation method, this involves performing correlation analysis on the key attribute data of the target product and the key attribute data of the target seller within the target time period. Specifically, this may include:
[0106] Based on a correlation analysis strategy that employs at least one of the following correlation factors—cosine similarity, Jaccard similarity coefficient, Pearson correlation coefficient, Tanimoto coefficient, Euclidean distance, Hamming distance, Minkowski distance, Chebyshev distance, and Manhattan distance—correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period.
[0107] It is understandable that a series of correlation factors that can be used in correlation analysis are listed here. In specific applications, one or more can be used. When multiple correlation factors are used, the corresponding weights pre-configured for each correlation factor can be combined to accumulate and obtain the final correlation (matching), thus completing the quantification of correlation. This provides relevant supporting solutions that can be used in specific applications of this application, and has good practical characteristics.
[0108] Furthermore, it is worth mentioning that in this application, the target product and the target seller can be pre-matched before processing. That is, the target product and the target seller are pre-matched, thus obtaining two objects for data processing in this application. Alternatively, the two may not be pre-matched. For example, when facing a large number of sellers, this application can carry out the corresponding product matching processing for each seller.
[0109] After taking into account various variables of the product and the seller through correlation analysis, and determining the product that best suits the target seller's specific situation, this application may also involve the corresponding product recommendation process.
[0110] Specifically, as another practical implementation method, after performing correlation analysis on the key attribute data of the target product and the key attribute data of the target seller within the target time period to obtain the products suitable for the target seller among the target products within the target time period, the product recommendation method of this application may also include:
[0111] Based on the products that the target seller matches in the target product category, the product selection recommendation objects corresponding to the target seller are obtained, and the source data of the products that the target seller matches in the target product category are obtained to obtain the product selection recommendation data.
[0112] Push product selection recommendation data to sellers.
[0113] As can be seen, in addition to identifying the products to be recommended, this application also directly determines the source of goods from a more convenient perspective, and recommends them in conjunction with the products themselves through product selection recommendation data. In this way, sellers can learn about the suitable products and the relevant source of goods, achieving better control and having greater practical value.
[0114] The specific push methods are quite flexible, and the product recommendation data file can be pushed through various means such as email, system messages, smart voice calls, SMS, and file transfer.
[0115] At the same time, it can also be seen from this that the product recommendation method provided in this application is applicable not only to providing product recommendation services for sellers, but also to different roles involved in different e-commerce scenarios such as e-commerce platforms, product supply platforms, or sellers, which corresponds to the different owners of the processing devices.
[0116] In summary, regarding the above solutions, this application, focusing on the target seller, separates the buyer's (user's) user information and specifically targets the seller. It constructs a model of the target seller by labeling product description data and seller description data with corresponding key attributes, thereby predicting their key attributes. Based on these key attributes, it performs convenient and high-precision matching with the seller among representative products in the vertical field to determine the product recommendation targets. This constructs a novel product recommendation mechanism that does not involve user privacy or rely on the application of natural language processing models such as ChatGPT. It can conveniently and accurately achieve the product recommendation goal, thus helping to ensure a better user shopping experience and ultimately guaranteeing the long-term development of the e-commerce model.
[0117] The above is an introduction to the product recommendation method provided in this application. To facilitate better implementation of the product recommendation method provided in this application, this application also provides a product recommendation device from the perspective of functional modules.
[0118] See Figure 2 , Figure 2 This is a schematic diagram of one possible structure of the product recommendation device of this application. In this application, the product recommendation device 200 may specifically include the following structure:
[0119] The first acquisition unit 201 is used to acquire product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products as annotations for the product description data of the target products.
[0120] The second acquisition unit 202 is used to acquire the seller description data of the target seller within the target time period, and extract the corresponding key attributes from the seller description data of the target seller to obtain the key attribute data of the target seller as the annotation of the seller description data of the target seller.
[0121] Training unit 203 is used to train an initial model to obtain a seller key attribute data prediction model using labeled product description data of target products and labeled seller description data of target sellers. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict key attribute data in the future time period.
[0122] Prediction unit 204 is used to predict the target key attribute data of the target seller within the target time period using a seller key attribute data prediction model;
[0123] Analysis unit 205 is used to perform correlation analysis on the key attribute data of the target product and the key attribute data of the target seller within the target time period, so as to obtain the products that are suitable for the target seller among the target products within the target time period, and use them as the corresponding product selection recommendation objects for the target seller.
[0124] In one exemplary implementation, the first acquisition unit 201 is specifically used for:
[0125] By employing an extraction strategy based on at least one of self-attention mechanism, positional encoding, multi-head attention, residual connection, and layer normalization, the corresponding key attributes are extracted from the product description data of the target product, thus obtaining the key attribute data of the target product.
[0126] In yet another exemplary implementation, key attributes include historical sales data, production processes, and market conditions.
[0127] In yet another exemplary implementation, training unit 203 is specifically used for:
[0128] Using the labeled product description data of the target products and the labeled seller description data of the target sellers, the initial model configured with the Llama model is trained in multiple modes to obtain a customized seller key attribute data prediction model.
[0129] In yet another exemplary implementation, training unit 203 is further configured to:
[0130] The embedding method is used to transform the labeled product description data and labeled seller description data from discrete data form into continuous vector form.
[0131] In yet another exemplary implementation, the analysis unit 205 is specifically used for:
[0132] Based on a correlation analysis strategy that employs at least one of cosine similarity, Jaccard similarity coefficient, Pearson correlation coefficient, Tanimoto coefficient, Euclidean distance, Hamming distance, Minkowski distance, Chebyshev distance, and Manhattan distance, correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period.
[0133] In yet another exemplary implementation, the apparatus further includes a recommendation unit 206, for:
[0134] Based on the products that are suitable for the target seller within the target product range during the target time period, the product selection recommendation objects corresponding to the target seller are selected, and the source data of the products that are suitable for the target seller within the target product range during the target time period are obtained to obtain the product selection recommendation data.
[0135] Push product selection recommendation data to sellers.
[0136] This application also provides a processing device from a hardware architecture perspective, see [link / reference]. Figure 3 , Figure 3 This diagram illustrates a structural schematic of the processing device of this application. Specifically, the processing device may include a processor 301, a memory 302, and an input / output device 303. The processor 301 executes the computer program stored in the memory 302 to implement, for example... Figure 1 The steps of the product recommendation method in the corresponding embodiment; or, when the processor 301 executes the computer program stored in the memory 302, it implements as follows: Figure 2 Corresponding to the functions of each unit in the embodiment, the memory 302 is used to store the functions executed by the processor 301 as described above. Figure 1 The computer program required for the product recommendation method in the corresponding embodiment.
[0137] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 302 and executed by processor 301 to complete this application. One or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in a computer device.
[0138] The processing device may include, but is not limited to, processor 301, memory 302, and input / output device 303. Those skilled in the art will understand that the illustrations are merely examples of the processing device and do not constitute a limitation on the processing device. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the processing device may also include network access devices, buses, etc., and processor 301, memory 302, input / output device 303, etc., are connected via a bus.
[0139] Processor 301 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the processing device, connecting various parts of the device through various interfaces and lines.
[0140] The memory 302 can be used to store computer programs and / or modules. The processor 301 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 302 and by calling data stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function, etc.; the data storage area may store data created according to the use of the processing device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0141] When processor 301 executes a computer program stored in memory 302, it can specifically perform the following functions:
[0142] Obtain product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products, which are used as annotations for the product description data of the target products.
[0143] Obtain the seller description data of the target seller, and extract the corresponding key attributes from the seller description data to obtain the key attribute data of the target seller, which will be used as the annotation of the seller description data of the target seller.
[0144] Using the labeled product description data of the target products and the labeled seller description data of the target sellers, an initial model is trained to obtain a seller key attribute data prediction model. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict key attribute data in the future time period.
[0145] Predict the target seller's key attribute data within a target time period using a seller key attribute data prediction model;
[0146] Correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period to obtain the products that are suitable for the target seller within the target product within the target time period, which are then used as the corresponding product selection and recommendation targets for the target seller.
[0147] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described product recommendation device, processing equipment, and their corresponding units can be found by referring to, for example... Figure 1 The description of the product recommendation method in the corresponding embodiment will not be repeated here.
[0148] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0149] Therefore, this application provides a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the present application. Figure 1 For details on the steps of the product recommendation method in the corresponding embodiment, please refer to the following: Figure 1 The description of the product recommendation method in the corresponding embodiment will not be repeated here.
[0150] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0151] Because of the instructions stored in the computer-readable storage medium, the present application can be executed as described above. Figure 1The steps of the product recommendation method in the corresponding embodiment can therefore be implemented as described in this application. Figure 1 The beneficial effects that the product recommendation method in the corresponding embodiments can achieve are detailed in the preceding description and will not be repeated here.
[0152] The above provides a detailed description of the product recommendation method, apparatus, processing device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A product recommendation method, characterized in that, The method includes: Obtain product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products, which are used as annotations for the product description data of the target products. Obtain the seller description data of the target seller within the target time period, and extract the corresponding key attributes from the seller description data of the target seller to obtain the key attribute data of the target seller, which serves as the annotation of the seller description data of the target seller. Using the labeled product description data of the target product and the labeled seller description data of the target seller, an initial model is trained to obtain a seller key attribute data prediction model. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict key attribute data in a future time period. The target key attribute data of the target seller within the target time period is predicted using the seller key attribute data prediction model. Correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period to obtain the products that the target seller is compatible with among the target products within the target time period, which are then used as the product selection recommendation objects corresponding to the target seller.
2. The method according to claim 1, characterized in that, The step of extracting corresponding key attributes from the product description data of the target product to obtain the key attribute data of the target product includes: By employing an extraction strategy based on at least one of self-attention mechanism, positional encoding, multi-head attention, residual connection, and layer normalization, the corresponding key attributes are extracted from the product description data of the target product to obtain the key attribute data of the target product.
3. The method according to claim 2, characterized in that, The key attributes include historical sales data, production processes, and market conditions.
4. The method according to claim 1, characterized in that, The process of training an initial model using the labeled product description data of the target product and the labeled seller description data of the target seller to obtain a seller key attribute data prediction model includes: Using the labeled product description data of the target product and the labeled seller description data of the target seller, the initial model configured with the Llama model is trained in multiple modes to obtain a customized seller key attribute data prediction model.
5. The method according to claim 4, characterized in that, Before training the initial model to obtain the seller key attribute data prediction model using the labeled product description data of the target product and the labeled seller description data of the target seller, the method further includes: The embedding method is used to transform the labeled product description data of the target product and the labeled seller description data of the target seller from discrete data form into continuous vector form.
6. The method according to claim 1, characterized in that, The correlation analysis processing of the key attribute data of the target product and the key attribute data of the target seller within the target time period includes: Based on a correlation analysis strategy that employs at least one of cosine similarity, Jaccard similarity coefficient, Pearson correlation coefficient, Tanimoto coefficient, Euclidean distance, Hamming distance, Minkowski distance, Chebyshev distance, and Manhattan distance, correlation analysis is performed on the key attribute data of the target product and the key attribute data of the target seller within the target time period.
7. The method according to claim 1, characterized in that, After performing correlation analysis on the key attribute data of the target product and the key attribute data of the target seller within the target time period to obtain the products suitable for the target seller among the target products within the target time period, the method further includes: Based on the products that the target seller is compatible with in the target products within the target time period, and using these products as the recommended products for the target seller, the source data of the products that the target seller is compatible with in the target products within the target time period is obtained to obtain the recommended products data. The product recommendation data is pushed to the seller.
8. A product recommendation device, characterized in that, The device includes: The first acquisition unit is used to acquire product description data of representative target products in the target vertical field within the target time period, and extract corresponding key attributes from the product description data of the target products to obtain key attribute data of the target products, which serves as annotation for the product description data of the target products. The second acquisition unit is used to acquire the seller description data of the target seller within the target time period, and extract the corresponding key attributes from the seller description data of the target seller to obtain the key attribute data of the target seller as the annotation of the seller description data of the target seller. The training unit is used to train an initial model to obtain a seller key attribute data prediction model using labeled product description data of the target product and labeled seller description data of the target seller. The seller key attribute data prediction model is used to combine the input product description data and the input seller description data to predict key attribute data in a future time period. The prediction unit is used to predict the target key attribute data of the target seller within a target time period using the seller key attribute data prediction model. The analysis unit is used to perform correlation analysis on the key attribute data of the target product and the target key attribute data of the target seller within the target time period, so as to obtain the products that the target seller is suitable for among the target products within the target time period, and use them as the product selection recommendation objects corresponding to the target seller.
9. A processing device, characterized in that, The method includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the method as described in any one of claims 1 to 7 when it invokes the computer program in the memory.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to perform the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Bulk commodity recommendation method and system based on Bayesian regression analysis
CN113409124A
KR20220162343A
