Product description generation method and system based on LLM and text similarity analysis

Through LLM and text similarity analysis, the problems of low efficiency and poor accuracy of traditional product description methods are solved, and efficient and accurate product descriptions are generated, which are suitable for multiple e-commerce platforms and reduce the interference of manual adjustments and repeated descriptions.

CN118656548BActive Publication Date: 2024-10-22CHENGDU BIG DATA GRP CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411154930.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-10-22
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

The traditional product description method requires manual intervention, resulting in low generation efficiency and may contain duplicate or wrong keywords, interfering with search results, especially in batch product scenarios.

Method used

Using a method based on LLM and text similarity analysis, preprocessing is performed by obtaining product description sentences from different platforms, inputting the trained LLM model to generate a set of predicted description words, removing deep-sea description words, reorganizing product keywords, and performing text similarity Degree analysis and deduplication processing to generate efficient and accurate product descriptions.

Benefits of technology

It reduces manual adjustment work, improves the efficiency and accuracy of product description generation, ensures the accuracy and universal applicability of descriptions, and avoids the interference of repeated descriptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656548B_ABST
    Figure CN118656548B_ABST
Patent Text Reader

Abstract

The invention discloses a product description generation method and system based on LLM and text similarity analysis, and relates to the technical field of product information generation. The invention improves the traditional product description generation technology in terms of method, and based on the LLM model (large language model) and the text similarity analysis method, on the one hand, the pre-processed product description sentences are input into the trained LLM model to determine the product keywords, and the product keywords are reorganized to obtain multiple groups of new product description sentences, thereby reducing the manual adjustment work and improving the efficiency and accuracy of product description generation; on the other hand, the scheme also performs text similarity analysis on all new product description sentences in combination with the flow of each product description keyword, screens out repeated new product description sentences, and improves the accuracy of product description.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product information generation, and in particular to a product description generation method and system based on LLM and text similarity analysis. Background Art

[0002] The Internet and handheld smart terminals have experienced explosive growth, which has greatly enriched people's access to information and changed people's lifestyles. More and more people choose to complete their shopping through e-commerce. With the help of detailed product information on various domestic and international e-commerce websites and other buyers' comments on the products, people can make better shopping choices. In order to enable consumers to find the desired products faster and more accurately, each e-commerce merchant constructs product keyword descriptions according to the attributes of their respective products. When consumers search on the e-commerce platform by keywords, they can quickly present relevant product information to consumers through keyword descriptions.

[0003] When constructing product keyword descriptions according to product attributes, the generated product descriptions are required to be able to characterize the attributes of the product while also having high popularity. Traditional product description methods not only require manual participation in the early keyword collection and sorting process, but also require manual adjustment and improvement after the product descriptions are generated. For batch product scenarios, not only is the generation efficiency low, but what is worse is that some repeated or incorrect keywords in the product descriptions may interfere with the search results. Summary of the invention

[0004] The technical problem to be solved by the present invention is that the traditional product description method not only requires manual participation in the early process of keyword collection and collation, but also needs to rely on manual adjustment and improvement after the product description is generated in the later stage. For batch product scenarios, not only the generation efficiency is low, but what is worse is that some repeated or incorrect keywords in the product description may interfere with the search results; the purpose of the present invention is to provide a product description generation method and system based on LLM and text similarity analysis. The traditional product description method not only requires manual participation in the early process of keyword collection and collation, but also needs to rely on manual adjustment and improvement after the product description is generated in the later stage. For batch product scenarios, not only the generation efficiency is low, but what is worse is that some incorrect keywords in the product description may interfere with the search results.

[0005] The present invention is achieved through the following technical solutions:

[0006] This solution provides a product description generation method based on LLM and text similarity analysis, including:

[0007] Obtaining product description statements of different platforms, and preprocessing the product description statements;

[0008] Input the preprocessed product description sentences into the trained LLM model to generate a predicted description word set, remove the deep-sea description words in the predicted description word set to determine the product keywords, and reorganize the product keywords to output multiple groups of new product description sentences;

[0009] Perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis results and the popularity of each product description keyword;

[0010] Output the new product description sentences after deduplication.

[0011] Working principle of this solution: Traditional product description generation methods have inaccurate description generation, and manual adjustments are required during and after the description generation process, which is inefficient and inaccurate. This solution provides a product description generation method based on LLM and text similarity analysis, and makes methodological improvements on the traditional product description generation technology. Based on the LLM model (large language model) and text similarity analysis method, on the one hand, the pre-processed product description sentences are input into the trained LLM model to determine the product keywords, and the product keywords are reorganized to obtain multiple groups of new product description sentences, which reduces manual adjustment work and improves the efficiency and accuracy of product description generation. On the other hand, this solution also combines the traffic of each product description keyword to perform text similarity analysis on all new product description sentences, screens out duplicate new product description sentences, and improves the accuracy of product descriptions.

[0012] A further optimization scheme is that the product description statements of different platforms are obtained and the product description statements are preprocessed, including the following method:

[0013] Get the product name or key name of the product to be described; the key name is composed of the product name and the product attribute feature description; the product attribute feature description includes one or more feature descriptors, and the feature descriptors include the product's trademark (such as Lanzhou ramen, Hami melon), product functions (such as waterproof watches), product target groups (such as child seats), product transportation methods (such as cold chain transportation), product manufacturers, and other descriptors that best reflect the product characteristics. Of course, the fewer product attribute feature descriptions, the better.

[0014] Based on the product name or key name, all product description sentences containing the product name or key name are searched and screened out on different platforms, ranked according to relevance, and the top N product description sentences on each platform are screened out; the different platforms are mainly platforms for online sales of the described products, such as Taobao, Amazon, JD.com, ebey and other domestic and foreign e-commerce platforms.

[0015] All the screened product description sentences are split into multiple description words, and the popularity of each description word in each product description sentence is recorded;

[0016] The description words of all product description sentences are collected to form a total description word set, repeated description words in the total description word set are deleted, and the number of occurrences of each description word is recorded.

[0017] A further optimization scheme is that the preprocessed product description sentences are input into the trained LLM model to generate a predicted description word set, deep-sea description words in the predicted description word set are removed to determine product keywords, and the product keywords are reorganized to output multiple groups of new product description sentences; including the method:

[0018] The total set of description words is input into the trained LLM model, and the LLM model generates a predicted description word set according to the description words in the total set of description words; specifically, according to the product name or the key name, each description word in the total set of description words is expanded and predicted, and n replacement description words are generated to form a corresponding replacement description word set; n is a natural number;

[0019] The total set of description words and all replacement description word sets are combined to generate a predicted description word set.

[0020] Remove the deep-sea description words in the predicted description word set, and use the remaining description words in the predicted description word set as product keywords;

[0021] Reorganize product keywords to output multiple sets of new product description sentences.

[0022] A further optimization scheme is that the deep sea description words in the predicted description word set are removed, including the method:

[0023] B1, determining whether the number n of replacement description words in each replacement description word set is less than a first preset threshold n e1 If yes, go to step B2; otherwise go to step B3;

[0024] B2, judging whether the number of occurrences of the description words corresponding to the current replacement description word set is less than a preset number threshold H, if so, deleting the current replacement description word set and the description words corresponding to the current replacement description word set; otherwise, only deleting the current replacement description word set;

[0025] B3, determining whether the number n of replacement description words in the current replacement description word set is within a first preset threshold n e1 and the second preset threshold n e2 If so, delete the current replacement description word set; the first preset threshold n e1 Less than the second preset threshold n e2 .

[0026] The LLM model is a large language model. The LLM model can expand and predict each descriptive word in the total set of descriptive words according to the product name or key name to generate synonymous descriptive words, same attribute descriptive words, same function descriptive words and other replacement descriptive words associated with the product name or key name. For deep-sea descriptive words or weakly associated descriptive words that are not associated with the product name or key name, the predicted descriptive word set expanded and predicted by the LLM model is an empty set or a set of only a few descriptive words. In order to reduce the interference of deep-sea descriptive words and weakly associated descriptive words on the product description generation result, this scheme sets a preset first preset threshold n e1 and the second preset threshold n e2 The replacement description word set and deep-sea description words generated by the weakly associated description words are eliminated, and only the weakly associated description words themselves are retained to improve the accuracy of the product description generation results. The replacement description words associated with the product name or key name here need to be implemented by training the LLM model based on multiple sets of associated data in advance.

[0027] A further optimization scheme is that the removal of deep sea description words in the predicted description word set also includes a method:

[0028] The correlation P between each descriptive word and the product name is calculated according to the following formula;

[0029] Set the first correlation threshold P e1 , for correlation P less than the first correlation threshold P e1 Descriptive words, delete the descriptive words and the corresponding replacement descriptive word set;

[0030] Set the second correlation threshold P e2 , for the correlation P at the first correlation threshold P e1 With the second correlation threshold P e2 The description words between the description words are deleted, and the replacement description word set corresponding to the description words is deleted;

[0031] in:

[0032]

[0033] In the formula, B represents the number of replacement description words in replacement description word set c that are the same as those in replacement description word set m; Dm represents the total number of replacement description words in replacement description word set m, and Dc represents the total number of replacement description words in replacement description word set c; where replacement description word set c is the corresponding replacement description word set of the product name.

[0034] A further optimization scheme is that the reorganized product keywords output multiple groups of new product description sentences, including the method:

[0035] The total number of words in the new product description is set to M, and the combination rule is: each new product description sentence contains at least M / 3 first description words; the number of the first description words is greater than the second preset threshold n e2 The description words corresponding to the replacement description word set;

[0036] Under the requirement of total word count M and combination rules, product keywords are randomly combined to generate multiple groups of new product description sentences.

[0037] A further optimization scheme is to perform text similarity analysis on each new product description sentence, and perform deduplication processing on the new product description sentence based on the text similarity analysis result combined with the popularity of each product description keyword; including the method:

[0038] Obtain the combination data and popularity data of each new product description sentence;

[0039] Calculate the similarity S between every two new product description sentences based on the combined data;

[0040] Set a preset threshold S1 to filter out suspicious new product description sentence groups with similarity S≥preset threshold S1;

[0041] Delete the new product description statement with the smallest heat data in the group of suspicious new product description statements.

[0042] A further optimization scheme is that the method of obtaining the combined data and popularity data of each new product description statement includes:

[0043] The product keywords in the new product description sentence i are arranged in the following order: 1, 2, 3, ..., Z i Number them; N is the total number of new product description sentences;

[0044] Get the popularity of each product keyword in the new product description sentence i, and take the sum of the popularity of each product keyword as the popularity data of the new product description sentence i. (The popularity here mainly refers to the popularity of the description words.)

[0045] A further optimization scheme is that the similarity S between every two new product description sentences is calculated based on the combined data, including the method:

[0046] Obtaining replacement description words of new product description sentence i and replacement description words of new product description sentence j respectively;

[0047] Count the total number of replacement description words K in the new product description sentence i that belong to the same replacement description word set as the replacement description words in the new product description sentence j ij ;

[0048] The similarity S between new product description sentence i and new product description sentence j is calculated according to the following formula ij :

[0049]

[0050] Where N is the total number of new product description sentences; M i is the total number of descriptive words in the new product description sentence i; is the total number of descriptive words in new product description sentence j; Z ixa The number of the replacement description word a in the new product description sentence i, Z jxb Represents the number of the replacement description word b in the new product description sentence j, where the replacement description word a and the replacement description word b belong to the same replacement description word set x.

[0051] This solution also provides a product description generation system based on LLM and text similarity analysis, which is used to implement the above-mentioned product description generation method based on LLM and text similarity analysis. The system includes:

[0052] A collection module, used to obtain product description statements of different platforms and pre-process the product description statements;

[0053] A description sentence generation module is used to input the preprocessed product description sentence into the trained LLM model to generate a predicted description word set, remove the deep-sea description words in the predicted description word set to determine the product keywords, and reorganize the product keywords to output multiple groups of new product description sentences;

[0054] An analysis module is used to perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis results combined with the popularity of each product description keyword;

[0055] The output module is used to output the new product description sentences after deduplication processing.

[0056] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0057] The present invention provides a method and system for generating product descriptions based on LLM and text similarity analysis. The method improves on the traditional product description generation technology. Based on the LLM model (large language model) and the text similarity analysis method, on the one hand, the pre-processed product description sentences are input into the trained LLM model to determine the product keywords, and the product keywords are reorganized to obtain multiple groups of new product description sentences, thereby reducing manual adjustment work and improving the efficiency and accuracy of product description generation. On the other hand, the solution also performs text similarity analysis on all new product description sentences in combination with the flow of each product description keyword, screens out repeated new product description sentences, and improves the accuracy of product descriptions. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative work. In the drawings:

[0059] Figure 1 A flowchart of the product description generation method based on LLM and text similarity analysis;

[0060] Figure 2 A schematic diagram of the system architecture for generating product descriptions based on LLM and text similarity analysis. DETAILED DESCRIPTION

[0061] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0062] The traditional product description generation method has the problem of inaccurate description generation, and the description generation process and the description generation post-generation require human participation and adjustment, which is inefficient and inaccurate. In view of this, the present invention provides the following embodiments to solve the above technical problems.

[0063] Embodiment 1: This embodiment provides a method for generating product descriptions based on LLM and text similarity analysis, such as Figure 1 As shown, including:

[0064] Step 1: Obtain product description statements of different platforms and preprocess the product description statements; this step specifically includes the following methods:

[0065] Get the product name or key name of the product to be described; the key name is composed of the product name and the product attribute feature description; the product attribute feature description includes one or more feature descriptors, and the feature descriptors include the product's trademark (such as Korla pear, Lanzhou ramen), product functions (such as waterproof watches, myopic swimming goggles), product target groups (such as child seats, cribs), product transportation methods (such as cold chain transportation), product manufacturers, and other descriptors that best reflect the product characteristics. The fewer product attribute feature descriptions, the better. As a preferred method, only the product name is used.

[0066] Based on the product name or key name, all product description sentences containing the product name or key name are searched and screened out on different platforms, ranked according to relevance, and the top N product description sentences on each platform are screened out; the different platforms are mainly platforms for online sales of the described products, such as Taobao, Amazon, JD.com, ebey and other domestic and foreign e-commerce platforms.

[0067] When traditional methods generate product description sentences for a certain platform, they are mainly based on the data of that platform. This solution collects product description sentences from multiple platforms as the basic data for generating product keywords. The data source is wide, and the generated product description sentences can be applied to multiple e-commerce platforms and are generally applicable.

[0068] All the screened product description sentences are split into multiple description words, and the popularity of each description word in each product description sentence is recorded;

[0069] The description words of all product description sentences are collected to form a total description word set, repeated description words in the total description word set are deleted, and the number of occurrences of each description word is recorded.

[0070] Step 2: Input the preprocessed product description sentences into the trained LLM model to generate a predicted description word set, remove the deep-sea description words in the predicted description word set to determine the product keywords, and reorganize the product keywords to output multiple groups of new product description sentences; this step specifically includes the following methods:

[0071] S21, inputting the total set of description words into the trained LLM model, wherein the LLM model generates a predicted description word set according to the description words in the total set of description words; this step includes the following method:

[0072] According to the product name or key name, each description word in the total description word set is expanded and predicted, and n replacement description words are generated to form a corresponding replacement description word set; n is a natural number;

[0073] The total set of description words and all replacement description word sets are combined to generate a predicted description word set.

[0074] S22, removing deep sea description words in the predicted description word set, and using the remaining description words in the predicted description word set as product keywords; this step specifically includes the following method:

[0075] B1, determining whether the number n of replacement description words in each replacement description word set is less than a first preset threshold n e1 If yes, go to step B2; otherwise go to step B3;

[0076] B2, judging whether the number of occurrences of the description words corresponding to the current replacement description word set is less than a preset number threshold H, if so, deleting the current replacement description word set and the description words corresponding to the current replacement description word set; otherwise, only deleting the current replacement description word set;

[0077] B3, determining whether the number n of replacement description words in the current replacement description word set is within a first preset threshold n e1 and the second preset threshold n e2 If so, delete the current replacement description word set; the first preset threshold n e1 Less than the second preset threshold n e2 .

[0078] The LLM model can expand and predict each descriptive word in the total set of descriptive words according to the product name or key name to generate replacement descriptive words such as synonymous descriptive words, same attribute descriptive words, same function descriptive words, etc. that are associated with the product name or key name. For deep-sea descriptive words or weakly associated descriptive words that are not associated with the product name or key name, the predicted descriptive word set expanded and predicted by the LLM model is an empty set or a set of only a few descriptive words. In order to reduce the interference of deep-sea descriptive words and weakly associated descriptive words on the product description generation result, this scheme sets a preset first preset threshold n e1 and the second preset threshold n e2 The replacement description word set and deep-sea description words generated by the weakly associated description words are eliminated, and only the weakly associated description words themselves are retained to improve the accuracy of the product description generation results. The replacement description words associated with the product name or key name here need to be implemented by training the LLM model in advance based on multiple sets of related data. The deep-sea description words in this scheme represent store-specific description words for the product. For example, a clothing store’s specific description of a short-sleeved suit is “fashionable nerd”. Although this type of deep-sea description word describes the short-sleeved suit, the description has no indirect or direct connection with the short-sleeved suit. The deep-sea description word will interfere with the accuracy of the new product description statement. In view of this, this scheme sets a preset first preset threshold value n e1 and the second preset threshold n e2The replacement description word set and deep-sea description words generated by the weakly associated description words are eliminated, and only the weakly associated description words themselves are retained to improve the accuracy of the product description generation results.

[0079] The method of removing deep sea description words from the predicted description word set also includes:

[0080] The correlation P between each descriptive word and the product name is calculated according to the following formula;

[0081] Set the first correlation threshold P e1 , for correlation P less than the first correlation threshold P e1 Descriptive words, delete the descriptive words and the corresponding replacement descriptive word set;

[0082] Set the second correlation threshold P e2 , for the correlation P at the first correlation threshold P e1 With the second correlation threshold P e2 The description words between the description words are deleted and the replacement description word set corresponding to the description words is deleted.

[0083] The specific correlation P calculation method includes:

[0084]

[0085] In the formula, B represents the number of replacement description words in replacement description word set c that are the same as those in replacement description word set m; Dm represents the total number of replacement description words in replacement description word set m, and Dc represents the total number of replacement description words in replacement description word set c; where replacement description word set c is the corresponding replacement description word set of the product name.

[0086] S23, reorganize product keywords to output multiple sets of new product description sentences. The specific method includes:

[0087] The total number of words in the new product description is set to M, and the combination rule is: each new product description sentence contains at least M / 3 first description words; the number of the first description words is greater than the second preset threshold n e2 The description words corresponding to the replacement description word set;

[0088] Under the requirement of total word count M and combination rules, product keywords are randomly combined to generate multiple groups of new product description sentences.

[0089] Step 3: Perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis result and the popularity of each product description keyword;

[0090] This step specifically includes the following methods:

[0091] S31, obtaining the combination data and popularity data of each new product description sentence;

[0092] The product keywords in the new product description sentence i are arranged in the following order: 1, 2, 3, ..., Z i Number them; N is the total number of new product description sentences;

[0093] Get the popularity of each product keyword in the new product description sentence i, and take the sum of the popularity of each product keyword as the popularity data of the new product description sentence i. The popularity here mainly refers to the popularity of the description words.

[0094] S32, calculating the similarity S between every two new product description sentences based on the combined data; specifically including the method:

[0095] Obtaining replacement description words of new product description sentence i and replacement description words of new product description sentence j respectively;

[0096] Count the total number of replacement description words K in the new product description sentence i that belong to the same replacement description word set as the replacement description words in the new product description sentence j ij ;

[0097] The similarity S between new product description sentence i and new product description sentence j is calculated according to the following formula ij :

[0098]

[0099] Where N is the total number of new product description sentences; M i is the total number of descriptive words in the new product description sentence i; is the total number of descriptive words in new product description sentence j; Z ixa The number of the replacement description word a in the new product description sentence i, Z jxb Represents the number of the replacement description word b in the new product description sentence j, where the replacement description word a and the replacement description word b belong to the same replacement description word set x.

[0100] S33, setting a preset threshold S1, and screening out suspicious new product description sentences with similarity S≥preset threshold S1;

[0101] S34, deleting the suspicious new product description statement with the smallest heat data among the two suspicious new product description statements.

[0102] Step 4: Output the new product description sentences after deduplication.

[0103] The product description generation method based on LLM and text similarity analysis provided in this embodiment improves the traditional product description generation technology in terms of method. Based on the LLM model (large language model) and the text similarity analysis method, on the one hand, the preprocessed product description sentences are input into the trained LLM model to determine the product keywords, and the product keywords are reorganized to obtain multiple groups of new product description sentences, thereby reducing manual adjustment work and improving the efficiency and accuracy of product description generation; on the other hand, this solution also performs text similarity analysis on all new product description sentences in combination with the traffic of each product description keyword, screens out duplicate new product description sentences, and improves the accuracy of product descriptions.

[0104] Embodiment 2: This embodiment provides a product description generation system based on LLM and text similarity analysis, such as Figure 2 As shown, the system for implementing the product description generation method based on LLM and text similarity analysis of Example 1 includes:

[0105] A collection module, used to obtain product description statements of different platforms and pre-process the product description statements;

[0106] A description sentence generation module is used to input the preprocessed product description sentence into the trained LLM model to generate a predicted description word set, remove the deep-sea description words in the predicted description word set to determine the product keywords, and reorganize the product keywords to output multiple groups of new product description sentences;

[0107] An analysis module is used to perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis results combined with the popularity of each product description keyword;

[0108] The output module is used to output the new product description sentences after deduplication processing.

[0109] Embodiment 3: This embodiment provides a computer-readable medium on which a computer program is stored. The computer program is executed by a processor to implement the method for generating product descriptions based on LLM and text similarity analysis as described in Embodiment 1, specifically performing the following steps:

[0110] Step 1: Obtain product description statements of different platforms, and pre-process the product description statements;

[0111] Step 2: Input the preprocessed product description sentences into the trained LLM model to generate a predicted description word set, remove the deep-sea description words in the predicted description word set to determine the product keywords, and reorganize the product keywords to output multiple groups of new product description sentences;

[0112] Step 3: Perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis result and the popularity of each product description keyword;

[0113] Step 4: Output the new product description sentences after deduplication.

[0114] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. Product description generation method based on LLM and text similarity analysis, It is characterized in that include: Obtaining product description statements of different platforms, and preprocessing the product description statements; The method includes: obtaining a product name or a key name of a product to be described; the key name is composed of a combination of a product name and a description of a product attribute feature; Based on the product name or key name, search on different platforms to filter out all product description sentences containing the product name or key name, rank them according to relevance, and filter out the top N product description sentences on each platform; All the screened product description sentences are split into multiple description words, and the popularity of each description word in each product description sentence is recorded; The description words of all product description sentences are collected to form a total description word set, duplicate description words in the total description word set are deleted, and the number of occurrences of each description word is recorded; Inputting the preprocessed product description sentences into the trained LLM model to generate a predicted description word set, removing the deep-sea description words in the predicted description word set to determine product keywords, and reorganizing the product keywords to output multiple groups of new product description sentences; including method: The total set of description words is input into the trained LLM model, and the LLM model generates a predicted description word set according to the description words in the total set of description words; specifically: according to the product name or the key name, each description word in the total set of description words is expanded and predicted, and n replacement description words are generated to form a corresponding replacement description word set; n is a natural number; the total set of description words and all replacement description word sets are combined to generate a predicted description word set; The deep sea description words in the predicted description word set are eliminated, and the remaining description words in the predicted description word set are used as product keywords; the method of eliminating the deep sea description words in the predicted description word set also includes: The correlation P between each descriptive word and the product name is calculated according to the following formula; Set the first correlation threshold P e1 , for correlation P less than the first correlation threshold P e1 Descriptive words, delete the descriptive words and the corresponding replacement descriptive word set; Set the second correlation threshold P e2 , for the correlation P at the first correlation threshold P e1 With the second correlation threshold P e2 The description words between the description words are deleted, and the replacement description word set corresponding to the description words is deleted; in: ; In the formula, B represents the number of replacement description words in replacement description word set c that are the same as those in replacement description word set m; Dm represents the total number of replacement description words in replacement description word set m, and Dc represents the total number of replacement description words in replacement description word set c; wherein replacement description word set c is the corresponding replacement description word set of the product name; Reorganize product keywords to output multiple sets of new product description sentences; Perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis results and the popularity of each product description keyword; Output the new product description sentences after deduplication.

2. The method for generating product description based on LLM and text similarity analysis according to claim 1, It is characterized in that The method of removing deep sea description words from the predicted description word set includes: B1, determining whether the number n of replacement description words in each replacement description word set is less than a first preset threshold n e1 , if yes, go to step B2; Otherwise, go to step B3; B2, determining whether the number of occurrences of the description words corresponding to the current replacement description word set is less than a preset number threshold H, and if so, deleting the current replacement description word set and the description words corresponding to the current replacement description word set; Otherwise, just delete the current set of replacement words; B3, determining whether the number n of replacement description words in the current replacement description word set is within a first preset threshold n e1 and the second preset threshold n e2 If so, delete the current replacement description word set; the first preset threshold n e1 Less than the second preset threshold n e2 .

3. The method for generating product description based on LLM and text similarity analysis according to claim 1, It is characterized in that The method of reorganizing product keywords to output multiple groups of new product description sentences includes: The total number of words in the new product description is set to M, and the combination rule is: each new product description sentence contains at least M / 3 first description words; the number of the first description words is greater than the second preset threshold n e2 The description words corresponding to the replacement description word set; Under the requirement of total word count M and combination rules, product keywords are randomly combined to generate multiple groups of new product description sentences.

4. The method for generating product description based on LLM and text similarity analysis according to claim 3, It is characterized in that The text similarity analysis is performed on each new product description sentence, and based on the text similarity analysis result and the popularity of each product description keyword, the new product description sentence is deduplicated; Included methods: Obtain the combination data and popularity data of each new product description sentence; Calculate the similarity S between every two new product description sentences based on the combined data; Set a preset threshold S1 to filter out suspicious new product description sentence groups with similarity S≥preset threshold S1; Delete the new product description statement with the smallest heat data in the group of suspicious new product description statements.

5. The method for generating product description based on LLM and text similarity analysis according to claim 4, It is characterized in that The method of obtaining the combined data and popularity data of each new product description sentence includes: The product keywords in the new product description sentence i are arranged in the following order: 1, 2, 3, ..., Z i Number them; N is the total number of new product description sentences; Get the popularity of each product keyword in new product description sentence i, and take the sum of the popularity of each product keyword as the popularity data of new product description sentence i.

6. The method for generating product description based on LLM and text similarity analysis according to claim 5, It is characterized in that The method of calculating the similarity S between each two new product description sentences based on the combined data includes: Obtaining replacement description words of new product description sentence i and replacement description words of new product description sentence j respectively; Count the total number of replacement description words K in the new product description sentence i that belong to the same replacement description word set as the replacement description words in the new product description sentence j ij ; The similarity S between new product description sentence i and new product description sentence j is calculated according to the following formula ij : ; Where N is the total number of new product description sentences; M i is the total number of descriptive words in the new product description sentence i; is the total number of descriptive words in new product description sentence j; Z ixa The number of the replacement description word a in the new product description sentence i, Z jxb Represents the number of the replacement description word b in the new product description sentence j, where the replacement description word a and the replacement description word b belong to the same replacement description word set x.

7. Product description generation system based on LLM and text similarity analysis, It is characterized in that The system is used to implement the product description generation method based on LLM and text similarity analysis according to any one of claims 1 to 6, comprising: A collection module, used to obtain product description statements of different platforms and pre-process the product description statements; A description sentence generation module is used to input the preprocessed product description sentence into the trained LLM model to generate a predicted description word set, remove the deep-sea description words in the predicted description word set to determine the product keywords, and reorganize the product keywords to output multiple groups of new product description sentences; An analysis module is used to perform text similarity analysis on each new product description sentence, and remove duplicates from the new product description sentence based on the text similarity analysis results combined with the popularity of each product description keyword; The output module is used to output the new product description sentences after deduplication processing.

Citation Information

Patent Citations

  • Function point generation method and device based on agile user story

    CN115238037A

  • E-commerce order inventory ERP management method and system

    CN115456500A

  • Commodity description content generation method and device, equipment and medium

    CN117057873A

  • Commodity title SPU keyword extraction method based on large language model

    CN117151082A

  • Cross-language title generation method and device, equipment and medium

    CN118296139A