Method for identifying and quantifying user intent based on text and structured data
By constructing a user intention recognition method based on text and structured data, and combining static and dynamic intention classification models, the problem of user intention recognition and prediction is solved, enabling real-time qualitative and quantitative analysis of user intention, assisting real-time decision-making and expanding user profiles.
Patent Information
- Application Number
- CN202311152839.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-07
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-09-07
AI Technical Summary
Existing technologies cannot effectively identify and predict users' intention categories and levels of intent in voice or text service scenarios, resulting in an inability to accurately identify users' focus and level of intent.
By constructing a user intention recognition and quantification method based on text and structured data, and using static and dynamic intention classification models combined with deep learning neural networks, we can acquire user social data in real time and perform intention classification and intention degree grading, and combine user profiles for weighted prediction.
It enables real-time prediction and quantitative analysis of user intentions, assists in real-time decision-making, expands the dimensions of user profiles, and automatically identifies new potential intentions.
Smart Images

Figure CN117194627B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data mining technology, and in particular to a method for identifying and quantifying user intentions based on text and structured data. Background Technology
[0002] In various service scenarios involving voice or text, such as phone calls, voice messages, WeChat, and app chats, users may have different needs, including pre-sales, after-sales, purchasing, and complaints. More specifically, in phone or WeChat sales scenarios, users may have different purchasing needs for different products and services. Taking the sale of diverse products and services as an example, marketing requires a high level of business scenario capability in determining users' real-time needs and intentions to better facilitate transactions. However, most current phone sales scenarios cannot support user intention analysis and prediction, or accurately identify users' focus and intentions. Summary of the Invention
[0003] The purpose of this invention is to provide a solution for real-time determination of user intention categories and intention levels in voice or text service scenarios. Specifically, it involves real-time determination of a user's potential interests and providing a real-time prediction of the intention level within the corresponding intention category. This function not only more accurately grasps the qualitative prediction of customer needs and intentions, and provides a quantitative prediction of the probability of corresponding intentions, but also further forms a dynamic monitoring result of user behavioral tendencies.
[0004] To achieve the above objectives, the present invention is implemented through the following technical solutions.
[0005] A method for identifying and quantifying user intentions based on text and structured data includes the following steps:
[0006] Acquire text data from users' social interactions, as well as structured data that constitutes user profiles;
[0007] Based on the business scenario, extract potential user concerns, summarize and generalize them to form the initial intention category for that business scenario;
[0008] A static intention classification model is constructed using structured data, while a real-time dynamic intention classification model is constructed using text data. The two models are weighted together to obtain a qualitative initial intention classification.
[0009] If the initial intention recognition threshold after weighting the initial intention categories is greater than or equal to the set threshold, then an intention level judgment is performed;
[0010] A static intention grading model and a dynamic intention grading model were constructed using structured data and text data respectively. The two models were then weighted to obtain a quantitative intention grading result.
[0011] Preferably, the text data includes, but is not limited to, telephone recording data, voice data, and text data.
[0012] Preferably, it also includes the conversion of speech data, specifically: using segmentation processing, the speech is sequentially processed through framing, windowing, Fourier transform, segmentation and subsequent processing, so that it is converted into a frequency domain signal within a set frame length range, and after extracting the useful signal, the segments are converted into text to synthesize the whole text.
[0013] Preferably, it also includes the construction of a static intention classification model and a static intention degree grading model, specifically: using a decision tree model, dividing the data source formed by static data and user profile data into a training set and a validation set, and constructing a model to form a static intention classification model and a static intention degree grading model.
[0014] Preferably, it also includes the construction of a dynamic intention classification model and a dynamic intention degree grading model, specifically as follows:
[0015] A deep learning neural network model is selected to realize text vectorization and automatically extract data features from the text data. Finally, a text classification model is constructed to form a dynamic intention classification model and a dynamic intention degree grading model.
[0016] Preferably, in obtaining the initial intention classification and intention level results, the weighting ratio is 0-1.
[0017] Preferably, when the weighted prediction results of the static and dynamic intention category models are less than the set threshold, the sample will be stored and updated in the intention library. After being refined and determined by business personnel periodically, the model will be updated again to expand the intention categories to cover more comprehensively.
[0018] Preferably, the quantitative intention rating results include at least three intention ratings: high, medium, and low.
[0019] The beneficial effects of this invention are as follows:
[0020] 1) Real-time prediction of user intentions enables qualitative analysis of users; real-time prediction of the degree of intention under corresponding intentions enables quantitative analysis of users.
[0021] 2) Real-time dialogue scenarios enable accurate user analysis, which is beneficial for assisting real-time decision-making.
[0022] 3) Record user behavior trends to expand the dimensions of user profiles.
[0023] 4) Automated identification of new potential intentions, with manual assistance to expand the intention database. Attached Figure Description
[0024] Figure 1A flowchart of the user intent recognition and quantification method based on text and structured data provided by the present invention;
[0025] Figure 2 A block diagram illustrating the user intent recognition and quantification method based on text and structured data provided by this invention;
[0026] Figure 3 A module diagram for constructing the historical static model provided by this invention. Detailed Implementation
[0027] The present invention will now be described in detail with reference to the embodiments shown in the accompanying drawings. However, it should be noted that these embodiments are not intended to limit the present invention. Equivalent changes or substitutions in function, method, or structure made by those skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0028] See attached document Figure 1-2 As shown, the user intention identification and quantification method based on text and structured data in this invention includes the following steps:
[0029] Step 1: Acquire real-time recording data, voice data, and text data from users' social interactions to form text classification data;
[0030] Specifically, this includes acquiring real-time phone recordings (ASR text) or chat conversation text data, as well as user profile data (non-chat data). In this embodiment, user social interaction includes, but is not limited to, phone recordings, WeChat voice messages, and text messages.
[0031] In this embodiment, the acquired text data includes recordings, voice, and direct text.
[0032] In this embodiment, ASR technology is also needed to convert speech to text. The entire process is as follows:
[0033] 1) Introducing speech enhancement technology: By using techniques such as noise reduction and speech enhancement, speech quality is improved and the impact of noise on ASR technology is reduced. Noise reduction and speech enhancement reduce external noise in speech or recordings.
[0034] 2) Introduce speech preprocessing technology: preprocess the speech, such as removing accents and adjusting speech rate, to improve the accuracy and stability of ASR technology.
[0035] 3) To address issues such as dialects, a solution for multilingual support was introduced:
[0036] A multilingual model is introduced: a multilingual speech-to-text model is established to process and convert speech from different languages. In this embodiment, databases of English, Japanese, and local languages can be considered to ensure accuracy and reliability. Multilingual speech datasets are collected and labeled for training and optimizing the multilingual model.
[0037] 4) Solutions for long speech processing problems:
[0038] Introducing streaming processing technology: Long speech is segmented and processed to achieve streaming speech-to-text conversion, thereby improving processing efficiency and performance.
[0039] Segmented speech processing is characterized by dividing long speech signals into shorter segments for subsequent processing and analysis. Below are some possible speech segmentation methods:
[0040] Preprocessing: First, the raw speech signal undergoes preprocessing, including noise removal and volume normalization. This improves the accuracy and effectiveness of subsequent processing.
[0041] Framing: The preprocessed speech signal is divided into short frames. A typical frame length is 20-30 milliseconds, which can be achieved by sliding a fixed window. This allows continuous speech signals to be divided into multiple short frames.
[0042] Windowing: Applying a window function to each frame to reduce spectral leakage. Commonly used window functions include the Hamming window and the Hanning window.
[0043] Fast Fourier Transform (FFT): Performing an FFT on each windowed frame converts the time-domain signal into a frequency-domain signal. This allows us to obtain the spectral information for each frame.
[0044] Feature extraction: Extracting useful features from the spectrum of each frame. Common features include Mel-frequency coefficients (MFCC) and cepstral coefficients (LPCC).
[0045] Segmentation: Based on feature information, consecutive frames are segmented. Segmentation can be performed using methods such as thresholding, energy, and zero-crossing rate.
[0046] Post-processing: Each segment undergoes post-processing, such as speech recognition, speech synthesis, and speech enhancement. Incremental processing technology is introduced: Long speech segments are processed incrementally, meaning partial speech data is processed in real-time while subsequent processing continues, reducing processing time and system load. Solutions to real-time issues: Parallel processing technology is introduced: Parallel processing improves the speed of speech-to-text conversion to meet real-time requirements. Hardware acceleration technology is introduced: Hardware acceleration devices such as GPUs and FPGAs are used to accelerate the speech-to-text calculation process, improving real-time performance and response speed.
[0047] In this embodiment, to verify the effectiveness of the improved solution, the following improvements can be made:
[0048] Implementation case of speech quality issues: Using speech enhancement technology: The collected speech data is processed with speech enhancement techniques, such as noise reduction and speech enhancement. Then, the improved speech data is used to convert speech to text and compared with the original data to evaluate the impact of speech enhancement technology on the accuracy of ASR technology.
[0049] Using speech preprocessing techniques: Preprocessing operations such as accent removal and speech rate adjustment are performed on the collected speech data. Then, the preprocessed speech data is used for speech-to-text conversion, and the results are compared with the original data to evaluate the impact of preprocessing techniques on the accuracy of ASR (Automatic Speech Reduction) technology. Implementation case for multilingual support problems: Collecting multilingual speech datasets: Collecting and annotating speech datasets in different languages for training and optimizing multilingual models. Building multilingual models: Using the collected multilingual datasets, training and optimizing multilingual speech-to-text models. Then, using speech data from different languages for speech-to-text conversion, the accuracy and reliability of the multilingual models are evaluated. Implementation case for long speech processing problems:
[0050] Using streaming technology: Long speech is segmented and then converted to text using streaming. The impact of streaming technology on the efficiency and performance of long speech processing is evaluated.
[0051] Incremental processing techniques are used: Long speech data is processed incrementally, i.e., partial speech data is processed in real time while subsequent processing is performed simultaneously. The impact of incremental processing techniques on long speech processing time and system load is evaluated. Real-time performance case studies: Parallel processing techniques are used: Speech-to-text conversion is performed using parallel processing techniques. The improvement effect of parallel processing techniques on real-time performance is evaluated. Hardware acceleration techniques are used: Speech-to-text conversion is performed using hardware acceleration devices such as GPUs and FPGAs. The impact of hardware acceleration techniques on real-time performance and response speed is evaluated. Through the above implementation cases, the effectiveness of the improved solution can be verified, and the real-time judgment function of speech-to-text conversion can be further optimized and improved.
[0052] Real-time or historical data is used to acquire recording data, voice data, and text data from users' social interactions to form text data, which is then used to construct structured data using user profiles.
[0053] In this embodiment, the text data includes audio-formatted text and text-formatted text. The audio-formatted text can be converted into text using ASR technology. Furthermore, the structured data mainly consists of user registration information, which includes the user's approximate date of birth, contact information, and address. Of course, for accounts registered by new customers, this information can be updated and added in real time.
[0054] This embodiment simultaneously acquires structured data and text data, maximizing the acquisition of various data types to provide a foundation for final recognition. For example, in vehicle-related recognition, we can obtain data through chat logs between customers and sellers on car purchase platforms, as well as other records, and update the data in real time.
[0055] Step 2: Based on the business scenario, extract potential user concerns, summarize and generalize them to form the initial intention category for that business scenario;
[0056] In this step, data is observed manually to determine the initial intention identification. Then, multiple intention categories are grouped together to form an intention category library. At the same time, potential intention categories are collected and regularly updated to the intention category library to achieve system updates and continuous improvement of user descriptions.
[0057] Step 3: Utilize structured data to construct a static intention classification model, and simultaneously utilize text data to construct a real-time dynamic intention classification model. The two models are weighted together to obtain a qualitative initial intention classification.
[0058] If the initial intention recognition threshold after weighting the initial intention categories is greater than or equal to the set threshold, then an intention level judgment is performed;
[0059] A static intention grading model and a dynamic intention grading model were constructed using structured data and text data respectively. The two models were then weighted to obtain a quantitative intention grading result.
[0060] In this embodiment, historical information, such as historical shopping information including purchase information, after-sales information, complaint information, return information, browsing information, and favorites information, can be fully utilized. By extracting and processing features from the above information, static data with feature encoding is obtained. Then, a decision tree model is selected to divide the data source formed by the static data and user profile data into a training set and a validation set to form a historical static model. At this time, the historical static model can be used as the basis for initial intention classification as well as the basis for intention level classification.
[0061] In this embodiment, the data is not limited to historical shopping information as text data; it can also include other data such as chat logs, browsing activity, or favorites. Based on this historical data within the corresponding business scenario, potential user concerns are extracted, summarized, and used to form initial intention categories for that business scenario. These initial intention categories are then categorized into generalization levels, forming corresponding intention levels. A historical static model for identifying and classifying initial intention categories is constructed based on this. For example, through a user's WeChat voice messages and chat history, potential user concerns can be identified, leading to initial intention categories for that business scenario. For instance, if the initial concern is a car, further analysis reveals the initial intention category is purchasing a car or car maintenance. Further analysis of more voice messages and other information yields the current intention level, such as the preferred type of car to purchase or the specific type of car maintenance. In this embodiment, the initial intention category specifically represents the user's need category, and the intention level specifically represents the probability of that need category occurring.
[0062] In this embodiment, the intention category represents a "purpose", such as a specific intention to buy a car, repair, complain, or receive after-sales service; while the intention level classification represents the high, medium, and low levels under a specific intention. For example, user A has the intention to complain, and the model determines that this intention is high and the risk is very high; user B also has the intention to complain, but the model determines that this intention is low and the risk is low.
[0063] See attached document Figure 3 As shown, generally speaking, since chat messages contain many categories, obtaining a user's "intention"—that is, what the user wants to do—mainly depends on the segmentation of the business scenario, such as different needs like "buying a car," "repairing a car," and "maintenance." This can usually be summarized manually, equivalent to classifying customer intentions. In this embodiment, it's also possible to predict user intentions, such as whether the user's intention is "shopping," "repair," "pre-sales consultation," or "complaint," and thus know what the user wants to do. In this embodiment, an intention classification model is trained to pinpoint what the user wants to do.
[0064] When forming intention levels, a specific intention, such as a complaint, is further divided into levels, such as three levels (very likely to complain, moderately likely to complain, and low likely to complain). After grading, necessary intervention measures can be taken for users who are "very likely to complain." In this embodiment, multiple intention grading models are trained. For example, "complaint" can be divided into three levels: high, medium, and low, and "shopping" can also be divided into three levels: high, medium, and low. Different levels represent the probability under a specific intention category.
[0065] The detailed process includes:
[0066] In this embodiment, a user profile refers to a model or overview that provides a detailed description and characterization of a target user. It is based on a comprehensive analysis of multiple dimensions, including the user's personal information, behavioral data, and interests, to better understand and gain insights into the user's characteristics, needs, and behavioral patterns.
[0067] User profiles can include the following information:
[0068] 1) Personal information: This includes basic information such as the user's gender, age, geographical location, and occupation. This information can help understand the user's basic characteristics and background.
[0069] 2) Behavioral data: This includes users' browsing history, search history, purchase history, and other behavioral data on the platform, which can reveal users' preferences, interests, and purchasing behavior.
[0070] 3) Interests and hobbies: This includes users' interests and preferences for specific topics and fields, which can help to accurately recommend relevant content and products.
[0071] 4) Social relationships: This includes a user's social relationships and circle of friends on social media, which can help understand a user's social influence and social behavior.
[0072] 5) Psychological characteristics: These include users' values, attitudes, emotions, and other psychological characteristics, which can help understand users' psychological needs and behavioral motivations.
[0073] In this embodiment, by analyzing and mining user profiles, businesses can better understand their target users, provide personalized products and services, formulate more precise marketing strategies, and improve user experience and satisfaction. At the same time, user profiles must also comply with relevant privacy and data protection regulations to ensure the security and legal use of user information.
[0074] The acquisition of intention level grading results is specifically as follows:
[0075] 1) Data collection and processing
[0076] To ensure the comprehensiveness of data collection, in addition to purchase information, after-sales information, complaint information, and return information, information such as users' browsing history, favorites history, and review history should also be collected to fully understand users' shopping behavior and preferences.
[0077] Before building a model, historical information needs to be processed by feature extraction, data cleaning, and data normalization to improve the accuracy and stability of the model.
[0078] 2) Model Building
[0079] In this embodiment, a two-layer model is constructed. The first layer is used to identify intention categories, and the second layer is used to identify intention levels. First, a static intention classification model is constructed using structured data, while a real-time dynamic intention classification model is constructed using text data. The two models are weighted together to obtain a qualitative initial intention classification.
[0080] If the initial intention recognition threshold after weighting the initial intention categories is greater than or equal to the set threshold, then an intention level judgment is performed;
[0081] A static intention grading model and a dynamic intention grading model were constructed using structured data and text data respectively. The two models were then weighted to obtain a quantitative intention grading result.
[0082] Specifically, each layer of the model, such as the intention classification model in the first layer, includes a "user profile structured model" (historical static model) and a "text model" (real-time dynamic model). The comprehensive result can be obtained by multiplying the static model by 0.5 and the dynamic model by 0.5. The coefficient 0.5 needs to be determined based on actual experiments or experience and is between 0 and 1.
[0083] The construction of the static intention classification model and the static intention degree ranking model is as follows:
[0084] Decision trees are used to integrate static data and user profile data, and then classify them to form training and validation sets. The decision tree model is then validated to obtain two final static models.
[0085] The construction of the dynamic intention classification model and the dynamic intention degree grading model is as follows:
[0086] A deep learning neural network model is selected to realize text vectorization and automatically extract data features from the text data. Finally, a text classification model is constructed to form a dynamic intention classification model and a dynamic intention degree grading model.
[0087] Model update mechanism
[0088] To obtain a more accurate model, it is necessary to update it regularly. A suitable time interval can be set, such as daily, weekly, or monthly, to ensure the model's timeliness and accuracy. Incremental learning can also be used, fusing new user behavior data with historical data to update the model's parameters and adapt to changes and evolutions in user behavior.
[0089] In this invention, to achieve a better visual effect, the historical static model or the final weighted structure can be output through an interface display. For example, a user interface can be designed to present the intention prediction results to the user in an intuitive way, such as using bar charts or pie charts to represent the probability of different intentions. More importantly, since this solution describes a real-time prediction, it can predict the user's intention trend in real time, thereby grasping the user's intention status and guiding more accurate service decisions.
[0090] In this invention, personalized recommendations can also be used. Based on the prediction results of the user's intention, products, services or content that match the user's preferences can be recommended to improve the user's shopping experience and satisfaction.
[0091] Taking an e-commerce platform as an example, suppose users engage in shopping and browsing activities on the platform. According to the improvement plan, the following implementation steps can be taken:
[0092] First, data collection and processing: In addition to collecting purchase information, after-sales information, complaint information, and return information, we also collect users' browsing history, collection history, evaluation history, and other information, and perform feature extraction, data cleaning, and normalization on this information.
[0093] Secondly, model training and updating: Train the intention prediction model using historical data and update it regularly to adapt to changes in user behavior. Incremental learning can also be used, fusing new user behavior data with historical data to update the model's parameters.
[0094] Secondly, the output of the prediction results: display the intention prediction results on the user interface, for example, using a bar chart to represent the probability of different intentions, and recommend goods, services or content that match the user's preferences based on the prediction results.
[0095] In this invention, by implementing the above-mentioned improved solutions, the user experience can be enhanced, the personalized needs of users can be met, and more commercial value can be brought to the e-commerce platform.
[0096] This invention provides a solution for classifying and real-time grading user intentions in voice or text service scenarios. It involves real-time judgment of a user's potential interests and combining this with the user's historical information to generate a static, real-time prediction of the user's intention level for each corresponding interest. However, in practice, issues may arise such as incomplete data collection, insufficient processing of historical information, unclear model update mechanisms, and ambiguous output methods for intention prediction results. To address these issues, improvements can be made to data collection and processing, a clear model update mechanism can be established, and appropriate output methods for prediction results can be designed. Implementing these improvements can enhance user experience, meet users' personalized needs, and has significant application value.
[0097] In this step, for example, when used to construct a scenario, static data can include a user's age, gender, income, whether they own a car, marital status, etc., which can be used to build a classification model, such as a user's car purchases, car accessory purchases, etc. Therefore, the static data and user profile data will differ for different scenarios, and when there is some overlap between the static data and user profile data, the overlapping data can be removed through filtering.
[0098] The above model has the following characteristics:
[0099] 1) For structured data with relatively clear features, manual feature engineering is mainly used, combined with classic statistical machine learning algorithms such as LightGBM. Through model training and optimization, such as grid search and parameter tuning, the accuracy and robustness of intention classification or intention level model are improved.
[0100] 2) For text data, the main requirement is to build natural language processing (NLP) algorithm models. The current mainstream modeling approach is to use pre-trained models and fine-tune them on text datasets. Pre-trained models are obtained through unsupervised learning on large amounts of data, possessing rich knowledge. Therefore, when vectorizing text, they have a significant advantage in prior knowledge, better representing word vectors and sentence vectors. Combined with fine-tuning on the dataset, incorporating contextual language features specific to the scenario, this can significantly improve the model's accuracy and robustness in that scenario.
[0101] Specifically, this embodiment uses the pre-trained model BERT+Softmax. The BERT model allows for relatively accurate encoding of text sentences in chat sessions, facilitating model fine-tuning and rapid training for this scenario. Softmax is a commonly used classification function that converts each element of the input vector into a probability value, such that their sum equals 1, thus determining the actual meaning corresponding to the highest probability.
[0102] Further analysis reveals that the BERT model is primarily based on the multi-head attention mechanism of the Transformer architecture, and its core multi-head attention mechanism is expressed as follows:
[0103]
[0104] In the above expression, Q, K, and V all represent the input dialogue vector, which is obtained from the original dialogue content through text encoding technology. Further calculation of self-attention in the dialogue vector transforms the original dialogue vector into three branches, Q, K, and V, through linear operations.
[0105] 3) The machine learning model built from structured data and the deep learning model built from text data complement each other and are calculated in a weighted manner. The machine learning model built from structured data (historical static model) emphasizes the user's historical or relatively stable characteristics, representing the user's medium- to long-term basic features. The deep learning model built from text data (real-time dynamic model) emphasizes the user's short-term characteristics, representing the user's recent tendencies. The prediction results from these two different dimensions, after a certain weighted calculation, can better reflect the user's comprehensive characteristics and avoid some obvious misjudgments. For example, if a user bought a car three months ago, the historical static model predicts that the user's current "car buying intention" is very low. However, the user has recently expressed an intention to buy a car in conversations. Because this patent's solution evaluates the results of the historical static model and the real-time dynamic model in a weighted calculation, the overall calculation shows that the user's "car buying intention" is reduced, thus excluding the user's "car buying intention" and avoiding misjudgments due to a single dimension.
[0106] 5) The results of the historical static intention model and the dynamic intention model are weighted to obtain the user intention result, which is used as the intention recognition result. The weighting method is determined as follows:
[0107] First, regarding the determination of the weighting method: In the implementation process, a weighted average method can be used to weight the static intention classification model and the dynamic intention classification model, as well as the static intention leveling model and the dynamic intention leveling model. Specifically, the weights of the weighted average can be determined based on the accuracy and reliability of static and dynamic intentions. For example, in the implementation process, the weighting weights of the historical static intention model and the dynamic intention model can be determined based on the actual situation and needs. Specifically, the weighting weights can be determined based on the performance and effect of the historical static intention model and the dynamic intention model in practical applications. For example, the weighting weights of the historical static intention model and the dynamic intention model can be determined through experiments and tests. In this embodiment, when selecting samples to test weights, different weight coefficients will be tested, such as (0.8, 0.2), (0.7, 0.3), and (0.6, 0.4). Then, the weight coefficients are compared. For example, if it is found that the user intention prediction result is most accurate under the weight allocation of weight coefficient (0.7, 0.3), then the weight coefficient (0.7, 0.3) is determined. In addition, the weights of the weighted average can be determined based on the accuracy and recall of historical static intention models and dynamic intention models to improve the accuracy of the final results.
[0108] In this embodiment, the weighting can also be determined by combining set rules, experience, and experimental tests. For example, when performing weight analysis on a certain product, software or web pages with more than one year of historical static data of a user account can be considered as having a lower weight, while more active software or web pages can be considered as having a higher weight.
[0109] To evaluate the accuracy of the weighted results, user surveys, user feedback, and tests in real-world application scenarios were conducted. The accuracy of the weighted results was assessed by comparing and verifying them with actual user behavior. The results show that after adopting the improved scheme, the dynamic monitoring results of user behavior tendencies are more accurate, better capturing user behavior trends and improving user experience and the fulfillment of personalized needs.
[0110] In conclusion, by breaking down and supplementing the solution and adopting specific improvement measures, the existing problems can be solved, the accuracy of dynamic monitoring results of user behavior tendencies can be improved, users' personalized needs can be met, and it has significant application value.
[0111] In this embodiment, automobile sales are used as an example to introduce the detailed solution of the present invention.
[0112] 1) Obtain real-time phone recordings (ASR text) or chat conversation text data of a customer, as well as user profile data (structured data), all of which are related to car purchase and car sales.
[0113] In this embodiment, the customer's real-time phone recordings or chat conversation text data can be used as legitimate data for internal company use through WeChat and the company's app customer service data.
[0114] In this embodiment, user profile data mainly refers to the characteristics of some user attributes, such as user information, previous purchases, app registrations, website visits, etc., including age, gender, province, education, social security information, loan information, recently viewed items, followed items, shopping cart items, and similar user and behavioral data. This data is usually presented in tabular form and is generally not easily changed, so a historical static model is preferred to be constructed to represent a certain type of user with common attributes. The specific structured data table format is shown in Table 1.
[0115] Table 1
[0116]
[0117] 2) Construct possible initial intention categories, such as those related to automobiles, such as user purchase, after-sales service, complaints, and returns, as the user's initial intention categories. Define the intention level classification for each intention category as the probability of that intention, such as high, medium, and low intention to buy a car.
[0118] Specifically, for specific use cases, such as car sales, the first layer involves users' intentions, such as buying a car, seeking repair advice, or inquiring about promotional activities. The second layer corresponds to the probability of buying a car, the probability of repairing a car, etc. For example, if the probability (high, medium, low) of a certain intention category is manually defined, then manually labeled samples are used as training data during the training phase, and the model provides the predicted probabilities of high, medium, and low during the prediction phase, which is equivalent to a ranking result, without the need for manual intervention.
[0119] 1) For users with historical user profile information, construct an intention classification model as a "historical static intention model"; construct an intention classification model for real-time dialogue as a "real-time dynamic intention model"; and combine the two models with weights to predict the user's focus and behavior.
[0120] For example, if the intention categories are set as [buying a car, repairing a car, maintaining a car, buying parts, selling a car], the prediction results based on the "historical static model" are [0.3, 0.1, 0.3, 0.2, 0.1]. User A has a probability of 0.3 for "buying a car," and user A's recent chat history mentions content related to "buying a car." The final prediction result from the "real-time static model" is [0.5, 0.1, 0.1, 0.2, 0.1]. One weighted calculation method uses a weighting coefficient (historical static model: 0.5, real-time dynamic model: 0.5). After weighted calculation, the final prediction result is [0.4, 0.1, 0.2, 0.2, 0.1]. Based on this prediction result, it can be determined that the user belongs to the intention category of "buying a car," thus qualitatively defining the user's basic intention classification.
[0121] User profiles, including information such as age, gender, income, car ownership, and marital status, can be used to build classification models, such as those for car purchases and car accessories. This is to construct a user's "historical static intention model."
[0122] By weighting the two models, we can obtain the overall intention prediction result for the user.
[0123] A threshold is set for the intention model. Model predictions below this threshold are collected as new user intentions, reviewed by business personnel, and updated as new intention categories. Specifically, the threshold can be set based on experience or determined through testing with a small sample size. For example, if testing with 100 samples reveals a threshold of approximately 0.6 to be a good result, then the threshold of 0.6 measured in these 100 samples is used as the overall threshold.
[0124] If the probability of a user's intention prediction is low, it means that the user's current behavioral intention is not in the currently defined intention category. Therefore, this sample can be recorded and analyzed by business personnel to expand and regularly update the intention categories, maintaining an intention database. In this embodiment, the intention database is specifically a database. At this time, multiple intentions can be added to form a series of data to form a database.
[0125] For model predictions exceeding the intention threshold, further intention degree predictions are made for that intention. For users with historical user profile information, an intention degree classification model is constructed as the "historical static intention degree model"; a real-time dialogue intention degree classification model is constructed as the "real-time dynamic intention degree model"; the two models are weighted and merged to predict the likelihood of a user under a specific intention (focus).
[0126] In this embodiment, the user profile includes the user's age, gender, income, whether they own a car, whether they are married, etc. Based on step 5, a classification model can be built, such as the probability of a user buying a car.
[0127] The user's factual dialogue data is mainly used to build a real-time intention probability model, in order to focus on the "short-term dynamic probability model" and to focus on the possible changes and fluctuations of a user's intention.
[0128] By weighting the two models, we can obtain the probability of the user having a certain intention.
[0129] Real-time intent and intent level can serve as a reference for service personnel's real-time decision-making. Furthermore, it can record dynamic monitoring results of users' historical intent behaviors, expanding the dimensions of user profiles.
[0130] In this embodiment, intentions are continuously obtained, and then weighted calculations are performed on the intentions in combination with static or dynamic models to obtain the final intention level. Then, the intention level is classified into grades to obtain the final intention score.
[0131] Furthermore, by obtaining real-time predictions of user behavior tendencies and corresponding possibilities, it can assist service personnel in making decisions; it can also be combined with continuous adjustments to user behavior trends to serve as a new dimension for user profiling.
[0132] The detailed descriptions listed above are merely specific descriptions of feasible embodiments of the present invention, and are not intended to limit the scope of protection of the present invention. All equivalent embodiments or modifications made without departing from the spirit of the present invention should be included within the scope of protection of the present invention.
[0133] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0134] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A method for user intention identification and quantification based on text and structured data, characterized in that, Includes the following steps: Acquire text data from users' social interactions, as well as structured data that constitutes user profiles; Based on the business scenario, extract potential user concerns, summarize and generalize them, and form initial intention categories for the business scenario by observing data manually. A static intention classification model is constructed using structured data, while a real-time dynamic intention classification model is constructed using text data. The two models are weighted together to obtain a qualitative initial intention classification. If the initial intention recognition threshold after weighting the initial intention categories is greater than or equal to the set threshold, then an intention level judgment is performed; A static intention grading model and a dynamic intention grading model were constructed using structured data and text data respectively, and the two were weighted to obtain a quantitative intention grading result. The acquisition of intention level grading results is specifically as follows: 1) Data collection and processing; 2) Model building; A two-layer model is constructed: the first layer is used to identify intention categories, and the second layer is used to identify intention levels. First, a static intention classification model is constructed using structured data, while a real-time dynamic intention classification model is constructed using text data. The two models are weighted together to obtain a qualitative initial intention classification. If the initial intention recognition threshold after weighting the initial intention categories is greater than or equal to the set threshold, then an intention level judgment is performed; A static intention grading model and a dynamic intention grading model were constructed using structured data and text data respectively. The two models were then weighted to obtain a quantitative intention grading result.
2. The method for user intention identification and quantification based on text and structured data according to claim 1, characterized in that, The text data includes, but is not limited to, voice data and text data.
3. The method for user intention identification and quantification based on text and structured data according to claim 2, characterized in that, It also includes the conversion of speech data, specifically: using segmented processing, the speech is sequentially processed through framing, windowing, Fourier transform, segmentation and subsequent processing, so that it is converted into a frequency domain signal within a set frame length range. After extracting the useful signal, the segments are converted into text to synthesize the whole text.
4. The method for user intention identification and quantification based on text and structured data according to claim 1, characterized in that, It also includes the construction of a static intention classification model and a static intention degree grading model. Specifically, a decision tree model is selected, and the data sources formed by static data and user profile data are divided into training set and validation set to build a model to form a static intention classification model and a static intention degree grading model.
5. The method for user intention identification and quantification based on text and structured data according to claim 1, characterized in that, It also includes the construction of dynamic intention classification models and dynamic intention degree grading models. Specifically, deep learning neural networks are selected to build models to realize text vectorization and automatically extract data features from text data. Finally, a text classification model is constructed to form dynamic intention classification models and dynamic intention degree grading models.
6. The method for user intention identification and quantification based on text and structured data according to claim 1, characterized in that, In obtaining the initial intention classification and intention level results, the weighting ratio is 0-1.
7. The method for user intention identification and quantification based on text and structured data according to claim 1, characterized in that, After the static and dynamic intention classification model prediction results are weighted, if the threshold is less than the set threshold, the sample will be stored and updated in the intention library. After being refined and confirmed by business personnel periodically, the model will be updated again to expand the intention categories to cover more comprehensively.
8. The method for user intention identification and quantification based on text and structured data according to claim 1, characterized in that, The quantitative intention rating results include at least three intention ratings: high, medium, and low.
Citation Information
Patent Citations
Automobile industry big data customer obtaining method
CN110335126A
User intention prediction method and device, computer equipment and storage medium
CN110389970A
Application user behavior data processing method and device, equipment and storage medium
CN113190599A
Speech recognition and model training method and device
CN114360511A
Method and system for judging potential customer intention level based on enterprise WeChat
CN116204635A
