Customer evaluation-oriented deep semantic understanding and intelligent reply generation method and system

By combining large models and sentiment analysis algorithms, the problems of inaccurate customer evaluation text analysis and lack of personalized reply content are solved, personalized intelligent reply generation is realized, and customer evaluation processing efficiency and satisfaction are improved.

CN120492604APending Publication Date: 2025-08-15SHANDONG OLIVE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510414831.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The existing technology is difficult to efficiently analyze and reply to customer review texts, lack personalization, and cannot accurately understand deep semantics and emotional tendencies, resulting in the same content of the reply.

Method used

The pre-trained large model is used to combine sentiment analysis algorithms to generate personalized intelligent reply content through preprocessing, feature extraction, emotional tendency and key appeal point recognition, and introduce a feedback learning mechanism optimization system.

Benefits of technology

It realizes in-depth semantic understanding and personalized responses of customer evaluation, improves analysis accuracy and processing efficiency, reduces corporate costs, and improves customer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492604A_ABST
    Figure CN120492604A_ABST
Patent Text Reader

Abstract

The invention provides a customer evaluation-oriented deep semantic understanding and intelligent reply generation method and system, and the method comprises the steps: receiving customer evaluation text data; based on a preset first text processing module, preprocessing the client evaluation text data to obtain a preprocessed evaluation text; inputting the preprocessed evaluation text into a pre-trained large model, and extracting a multi-dimensional feature vector of the evaluation text; on the basis of the multi-dimensional feature vector, an emotion analysis algorithm is adopted to determine emotion tendency and key appeal points of the evaluation text; selecting a corresponding reply template from a preset reply template library according to the emotional tendency and the key appeal point; calling a large model to generate personalized intelligent reply content according to the characteristics of the evaluation text and the reply template; and outputting the personalized intelligent reply content to a reply interface. By combining a large model technology and a traditional text analysis method, deep understanding of customer evaluation and personalized reply generation are realized, customer evaluation processing efficiency and reply quality are improved, and enterprise customer service cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and system for deep semantic understanding and intelligent reply generation for customer evaluations. Background Art

[0002] With the rapid development of e-commerce and social media, businesses are faced with the challenge of processing massive amounts of customer review texts daily. These texts contain rich customer feedback and are crucial for optimizing their products and services. However, due to the sheer volume and complexity of these texts, manual analysis and response are difficult to perform efficiently.

[0003] Traditional methods for analyzing and responding to review text rely primarily on keyword matching and pre-set rules, often failing to accurately understand the deeper semantics and sentiment of review text. This results in repetitive responses that lack personalization and fail to effectively address real customer needs. While some machine learning-based methods have attempted to address this issue in recent years, these methods typically have limited processing capabilities and struggle to understand complex language expressions and implicit customer emotions.

[0004] With the development of large-scale model technology, pre-trained language models based on the Transformer architecture have demonstrated powerful language understanding and generation capabilities. Pre-trained on massive amounts of text data, these models are able to capture the deep semantics and contextual relationships of language, providing a new technical path for analyzing customer review text and providing intelligent responses. However, effectively integrating large models with customer review analysis systems to achieve accurate sentiment understanding and personalized intelligent responses remains an urgent challenge. Summary of the Invention

[0005] The purpose of the present invention is to provide a method and system for deep semantic understanding and intelligent reply generation for customer reviews, so as to solve the technical problems in the prior art of inaccurate customer review text analysis and lack of personalization in reply content.

[0006] To achieve the above objectives, the present invention provides a method for deep semantic understanding and intelligent reply generation for customer reviews, comprising: Receive customer evaluation text data; Preprocessing the customer evaluation text data based on a preset first text processing module to obtain a preprocessed evaluation text; Inputting the pre-processed evaluation text into a pre-trained large model to extract a multi-dimensional feature vector of the evaluation text; Based on the multidimensional feature vector, a sentiment analysis algorithm is used to determine the sentiment tendency and key appeal points of the evaluation text; Select a corresponding response template from a preset response template library based on the emotional tendency and key appeal points; Calling the big model to generate personalized intelligent reply content according to the characteristics of the evaluation text and the reply template; The personalized intelligent reply content is output to the reply interface.

[0007] Preferably, the pre-processing of the customer evaluation text data includes: Perform word segmentation, stop word removal, and text normalization on the customer evaluation text data; Identifying and extracting product feature words, sentiment words, and behavior words from the customer evaluation text data; Construct a semantic map of the evaluation text and establish the relationship between words; Generate structured preprocessed evaluation text data.

[0008] Preferably, extracting a multidimensional feature vector of the evaluation text includes: Inputting the preprocessed evaluation text into the encoder of the pre-trained large model; Get the text embedding representation of the encoder output; Performing dimensionality reduction processing on the text embedding representation to generate a multi-dimensional feature vector; The multi-dimensional feature vector is normalized.

[0009] Preferably, the sentiment analysis algorithm is used to determine the sentiment tendency and key appeal points of the evaluation text, including: Based on the multidimensional feature vector, a multi-classification sentiment analysis model is used to calculate the sentiment polarity score of the evaluation text; Determining the sentiment tendency category of the evaluation text according to the sentiment polarity score; Using a keyword extraction algorithm to identify key appeal points from the review text; Based on a preset demand classification rule library, the key demand points are classified and labeled.

[0010] Preferably, the selecting a corresponding reply template from a preset reply template library includes: Constructing a query vector based on the sentiment tendency and key appeal points; Calculating the similarity between the query vector and each template in the response template library; Select the top N reply templates with the highest similarity; Based on a preset template screening rule, the best reply template is determined from the first N reply templates.

[0011] Preferably, calling the large model to generate personalized intelligent reply content includes: Construct prompt information that includes evaluation text features, emotional tendencies, key appeal points, and response templates; Inputting the prompt information into the macro model; Controlling the large model to generate initial response content based on the prompt information; Evaluate the content of the initial response, including relevance rating, politeness rating, and effectiveness rating; If the evaluation result is lower than the preset threshold, the prompt information is adjusted and the reply content is regenerated; When the evaluation result reaches or exceeds a preset threshold, the final personalized intelligent reply content is determined.

[0012] Preferably, the method further comprises: Recording the personalized intelligent reply content and customer feedback on the reply; Based on the feedback information, updating the parameters of the sentiment analysis model and the reply template library; The prompt engineering strategy of the large model is optimized in real time to improve the quality of the reply content.

[0013] The present invention also provides a deep semantic understanding and intelligent reply generation system for customer evaluation, comprising: A data receiving module is used to receive customer evaluation text data; A text preprocessing module, used to preprocess the customer evaluation text data to obtain the preprocessed evaluation text; A feature extraction module is used to input the pre-processed evaluation text into a pre-trained large model to extract a multi-dimensional feature vector of the evaluation text; A sentiment analysis module, configured to determine the sentiment tendency and key appeal points of the evaluation text using a sentiment analysis algorithm based on the multidimensional feature vector; A template selection module is used to select a corresponding reply template from a preset reply template library based on the emotional tendency and key appeal points; A reply generation module is used to call the large model to generate personalized intelligent reply content according to the characteristics of the evaluation text and the reply template; The output module is used to output the personalized intelligent reply content to the reply interface.

[0014] The present invention also provides a deep semantic understanding and intelligent reply generation device for customer evaluation, including a processor and a memory, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0015] The beneficial effects of the present invention are: 1. By combining big model technology with customer evaluation text analysis, the present invention can deeply understand the semantic content and emotional tendencies of customer evaluations, accurately identify the key appeals of customers, and improve the accuracy of customer evaluation text analysis.

[0016] 2. The present invention adopts a personalized reply generation method based on a large model, which can generate personalized reply content that meets customer needs based on the characteristics and emotional tendencies of customer evaluations, avoiding the problem of stereotyped reply content in traditional methods.

[0017] 3. The present invention introduces a feedback learning mechanism, which can continuously optimize the sentiment analysis model, reply template library and prompt engineering strategy based on customer feedback on the reply content, thereby achieving adaptive improvement of system performance.

[0018] 4. The present invention realizes the automation of the entire process from receiving customer reviews to generating intelligent replies, greatly improving the efficiency of customer review processing, reducing the company's labor costs, and improving customer satisfaction.

[0019] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purposes and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0020] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A flowchart of the method for deep semantic understanding and intelligent reply generation for customer reviews provided in an embodiment of the present invention; an overall flowchart is shown, which includes 6 main steps from receiving customer review text data to generating personalized intelligent reply content.

[0022] Figure 2 A system structure block diagram provided for an embodiment of the present invention; it shows the composition and interrelationships of seven functional modules, including a data receiving module, a text preprocessing module, a feature extraction module, a sentiment analysis module, a template selection module, a reply generation module, and an output module.

[0023] Figure 3 The flowchart of evaluation text preprocessing provided by the embodiment of the present invention shows the detailed process of evaluation text preprocessing, including four sub-steps: word segmentation, feature word extraction, semantic graph construction and structured data generation.

[0024] Figure 4A flow chart of feature extraction based on a large model is provided for an embodiment of the present invention; the flow chart of feature extraction based on a large model shows the complete process from preprocessing text input to standardization processing.

[0025] Figure 5 The sentiment analysis and key appeal point identification flow chart provided for the embodiment of the present invention shows the sentiment analysis and key appeal point identification process, including four sub-steps: sentiment polarity calculation, sentiment tendency category determination, key appeal point identification and classification labeling.

[0026] Figure 6 This is a flowchart for generating personalized smart replies according to an embodiment of the present invention. The flowchart details the entire process from constructing prompt information to finalizing the reply content, including evaluation and feedback adjustment. DETAILED DESCRIPTION

[0027] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0028] The embodiment of the present invention provides a method and system for deep semantic understanding and intelligent reply generation, such as Figure 1 Shown, including: 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 specific embodiments and with reference to the accompanying drawings.

[0029] like Figure 1 As shown, the embodiment of the present invention provides a method and system for deep semantic understanding and intelligent reply generation for customer evaluation, including the following steps: Step S101: receiving customer evaluation text data.

[0030] In this embodiment, customer evaluation text data from e-commerce platforms, social media, customer service systems, and other channels can be received through various methods such as web interfaces, mobile applications, API calls, etc. This data may include various forms, such as product reviews, service feedback, complaints and suggestions, etc.

[0031] Step S102: pre-process the customer evaluation text data to obtain the pre-processed evaluation text.

[0032] Step S103: input the pre-processed evaluation text into the pre-trained large model to extract the multi-dimensional feature vector of the evaluation text.

[0033] Step S104: Based on the multidimensional feature vector, a sentiment analysis algorithm is used to determine the sentiment tendency and key appeal points of the evaluation text.

[0034] Step S105: Select the corresponding reply template from the preset reply template library according to the sentiment tendency and key appeal points.

[0035] Specifically, according to the sentiment tendency and key appeal points, construct a query vector; calculate the similarity between the query vector and each template in the reply template library, and similarity calculation methods such as cosine similarity and Euclidean distance can be used; select the top N reply templates with the highest similarity; based on the preset template screening rules, determine the best reply template from the top N reply templates.

[0036] Step S106: Call the large model to generate personalized intelligent reply content according to the characteristics of the evaluation text and the reply template.

[0037] As Figure 3 shown, the text preprocessing includes the following sub-steps: Step S201: Perform word segmentation, stop word removal, and text normalization on the customer evaluation text data.

[0038] Specifically, use natural language processing tools to perform word segmentation on the text and identify each word in the sentence; remove stop words that have no substantial meaning for analysis, such as "de", "le", "shi", etc.; perform text normalization, including case conversion, punctuation processing, special character processing, etc.

[0039] Step S202: Identify and extract product feature words, sentiment words, and behavior words from the customer evaluation text data.

[0040] Use a词性标注 tool to identify nouns, adjectives, verbs, etc. in the text, and classify them into product feature words (such as "screen", "battery", etc.), sentiment words (such as "satisfied", "disappointed", etc.), and behavior words (such as "purchase", "use", etc.) according to the preset dictionary.

[0041] Step S203: Construct a semantic graph of the evaluation text and establish the association relationship between words.

[0042] Based on dependency syntactic analysis, construct a semantic graph of the evaluation text, determine the modification, qualification, subject-predicate, etc. relationships between words, and form a structured semantic network.

[0043] Step S204: Generate structured preprocessed evaluation text data.

[0044] Integrate the above processing results into structured preprocessed text data, including word segmentation results,词性标注, feature word extraction, semantic relationships, etc.

[0045] As Figure 4 shown, the feature extraction includes the following sub-steps: It should be noted that the term "词性标注" in the original text seems to be a Chinese term that may need to be replaced with the correct English term for "词性标注" in the actual translation. Here, it is left as "词性标注" for the purpose of showing the translation process. You can adjust it according to the correct English expression.Step S301: Input the preprocessed evaluation text into the encoder of the pre-trained large model.

[0046] This embodiment uses the encoder part of a pre-trained Transformer architecture model (such as BERT, RoBERTa, etc.) to convert the pre-processed review text into a deep semantic representation.

[0047] Step S302: Obtain the text embedding representation output by the encoder.

[0048] Obtain word embedding representations from a specific layer (usually the last or second-to-last layer) of the large model encoder. These representations contain the semantic information and contextual relationships of the words.

[0049] Step S303: Perform dimensionality reduction processing on the text embedding representation to generate a multi-dimensional feature vector.

[0050] Specifically, dimensionality reduction algorithms such as principal component analysis (PCA) and t-SNE can be used to reduce the high-dimensional text embedding representation to an appropriate dimension and retain key information.

[0051] Step S304: performing normalization processing on the multi-dimensional feature vector.

[0052] The eigenvectors after dimensionality reduction are normalized so that the eigenvalues are distributed within an appropriate range, which is beneficial for subsequent analysis and calculation.

[0053] like Figure 5 As shown in the figure, sentiment analysis and key appeal point identification include the following sub-steps: Step S401: Based on the multi-dimensional feature vector, a multi-classification sentiment analysis model is used to calculate the sentiment polarity score of the evaluation text.

[0054] Use deep learning-based sentiment analysis models (such as TextCNN, LSTM, etc.) to process multi-dimensional feature vectors and calculate the probability distribution of different sentiment categories such as positive, negative, and neutral.

[0055] Step S402: Determine the sentiment tendency category of the evaluation text according to the sentiment polarity score.

[0056] The sentiment polarity score is compared with the preset threshold, and the review text is classified into different sentiment tendency categories such as "strongly positive", "mildly positive", "neutral", "mildly negative", and "strongly negative".

[0057] Step S403: Using a keyword extraction algorithm, identify key appeal points from the review text.

[0058] Using algorithms such as TextRank and TFIDF, combined with a preset demand dictionary, we extract key customer demands from the review text, such as "refund request," "product quality issues," and "delivery delays."

[0059] Step S404: Classify and label key appeal points based on a preset appeal classification rule library.

[0060] Match the identified key demand points with the preset demand classification rule library, and classify and label the demands, such as "pre-sales consultation", "after-sales service", "product function", "logistics and distribution", etc.

[0061] like Figure 6 As shown, the generation of personalized smart replies includes the following sub-steps: Step S501: Construct prompt information including evaluation text features, emotional tendencies, key appeal points and reply templates.

[0062] The evaluation text features, sentiment analysis results, key appeal points and selected reply templates are combined into structured prompt information (Prompt) to guide the large model to generate reply content.

[0063] Step S502: Input prompt information into the macro model.

[0064] Input the constructed prompt information into the pre-trained generative large model (such as the Deepseek series, LLaMA series, etc.).

[0065] Step S503: Control the large model to generate initial reply content based on the prompt information.

[0066] The large model generates initial response content based on the input prompt information and uses its language generation capabilities.

[0067] Step S504: Evaluate the initial reply content.

[0068] Using a preset evaluation model, the generated initial response content is evaluated on multiple dimensions, including relevance score (whether the response addresses the customer's core needs), politeness score (whether the tone of the response is polite and appropriate), and effectiveness score (whether the response provides effective solutions or suggestions).

[0069] Step S505: Determine whether the evaluation result reaches a preset threshold.

[0070] The evaluation score is compared with the preset threshold to determine whether the quality of the response content meets the requirements.

[0071] Step S506: If the evaluation result is lower than the preset threshold Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A method for deep semantic understanding and intelligent reply generation for customer reviews, characterized by: include: Receive customer evaluation text data; Preprocessing the customer evaluation text data based on a preset first text processing module to obtain a preprocessed evaluation text; Inputting the pre-processed evaluation text into a pre-trained large model to extract a multi-dimensional feature vector of the evaluation text; Based on the multidimensional feature vector, a sentiment analysis algorithm is used to determine the emotional tendency and key appeal points of the evaluation text; based on the emotional tendency and key appeal points, a corresponding reply template is selected from a preset reply template library; and a large model is used to generate personalized intelligent reply content based on the characteristics of the evaluation text and the reply template; The personalized intelligent reply content is output to the reply interface.

2. The method for deep semantic understanding and intelligent reply generation for customer evaluation according to claim 1, characterized in that: The preprocessing of the customer evaluation text data includes: performing word segmentation, stop word removal, and text normalization on the customer evaluation text data; identifying and extracting product feature words, sentiment words, and behavior words in the customer evaluation text data; constructing a semantic graph of the evaluation text and establishing associations between words; and generating structured preprocessed evaluation text data.

3. The method for deep semantic understanding and intelligent reply generation for customer evaluation according to claim 1, characterized in that: The method of extracting a multidimensional feature vector of the evaluation text includes: inputting the preprocessed evaluation text into the encoder of the pre-trained large model; obtaining the text embedding representation output by the encoder; performing dimensionality reduction processing on the text embedding representation to generate a multidimensional feature vector; and performing standardization processing on the multidimensional feature vector.

4. The method for deep semantic understanding and intelligent reply generation for customer evaluation according to claim 1, characterized in that: The method of using a sentiment analysis algorithm to determine the sentiment tendency and key appeal points of an evaluation text includes: calculating the sentiment polarity score of the evaluation text based on the multi-dimensional feature vector using a multi-classification sentiment analysis model; determining the sentiment tendency category of the evaluation text based on the sentiment polarity score; identifying key appeal points from the evaluation text using a keyword extraction algorithm; and classifying and labeling the key appeal points based on a preset appeal classification rule library.

5. The method for deep semantic understanding and intelligent reply generation for customer evaluation according to claim 1, characterized in that: The selecting of a corresponding reply template from a preset reply template library includes: constructing a query vector based on the emotional tendency and key appeal points; calculating the similarity between the query vector and each template in the reply template library; selecting the top N reply templates with the highest similarity; and determining the best reply template from the top N reply templates based on preset template screening rules.

6. The method for deep semantic understanding and intelligent reply generation for customer evaluation according to claim 1, characterized in that: The calling of the big model to generate personalized intelligent reply content includes: constructing prompt information containing evaluation text features, emotional tendencies, key appeal points and reply templates; inputting the prompt information into the big model; controlling the big model to generate initial reply content based on the prompt information; evaluating the initial reply content, including relevance score, politeness score and effectiveness score; if the evaluation result is lower than the preset threshold, adjusting the prompt information and regenerating the reply content; when the evaluation result reaches or exceeds the preset threshold, determining the final personalized intelligent reply content.

7. The method for deep semantic understanding and intelligent reply generation for customer evaluation according to claim 1, characterized in that: Also includes: Recording the personalized intelligent reply content and customer feedback on the reply; Based on the feedback information, updating the parameters of the sentiment analysis model and the reply template library; The prompt engineering strategy of the large model is optimized in real time to improve the quality of the reply content.

8. A deep semantic understanding and intelligent reply generation system for customer evaluation, characterized by: include: A data receiving module for receiving customer evaluation text data; a text preprocessing module for preprocessing the customer evaluation text data to obtain the preprocessed evaluation text; A feature extraction module is used to input the pre-processed evaluation text into a pre-trained large model to extract a multi-dimensional feature vector of the evaluation text; A sentiment analysis module, configured to determine the sentiment tendency and key appeal points of the evaluation text using a sentiment analysis algorithm based on the multidimensional feature vector; A template selection module is used to select a corresponding reply template from a preset reply template library based on the emotional tendency and key appeal points; A reply generation module is used to call the large model to generate personalized intelligent reply content according to the characteristics of the evaluation text and the reply template; The output module is used to output the personalized intelligent reply content to the reply interface.

9. The deep semantic understanding and intelligent reply generation system for customer evaluation according to claim 8, characterized in that: The steps of preprocessing performed by the text preprocessing module include: segmenting the customer evaluation text data, removing stop words, and normalizing the text; identifying and extracting product feature words, sentiment words, and behavior words in the customer evaluation text data; constructing a semantic map of the evaluation text and establishing associations between words; and generating structured preprocessed evaluation text data.

10. The deep semantic understanding and intelligent reply generation system for customer evaluation according to claim 8, characterized in that: The steps of the reply generation module calling the big model to generate personalized intelligent reply content include: constructing prompt information containing evaluation text features, emotional tendencies, key appeal points and reply templates; inputting the prompt information into the big model; controlling the big model to generate initial reply content based on the prompt information; evaluating the initial reply content, including relevance score, politeness score and effectiveness score; if the evaluation result is lower than the preset threshold, adjusting the prompt information and regenerating the reply content; when the evaluation result reaches or exceeds the preset threshold, determining the final personalized intelligent reply content.

11. The deep semantic understanding and intelligent reply generation system for customer evaluation according to claim 8, characterized in that: Also includes: A feedback processing module, used to record the personalized intelligent reply content and the customer's feedback information on the reply; The optimization and update module is used to update the parameters of the sentiment analysis model and the reply template library based on the feedback information, and to optimize the prompt engineering strategy of the large model in real time to improve the quality of the reply content.

12. A deep semantic understanding and intelligent reply generation device for customer evaluation, characterized by: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.