A customer group screening system and method based on call big data analysis
Through the call big data analysis system, combined with speech text extraction and multi-modal feature calculation, the problem of inaccurate customer group screening in traditional methods is solved, and more accurate customer group classification and product recommendations are achieved.
Patent Information
- Application Number
- CN202410685041.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-30
AI Technical Summary
Traditional call data analysis methods are difficult to deeply explore the potential value of call data, resulting in inaccurate selection of customer groups and low success rate of product recommendation.
Adopt a customer group screening system based on call big data analysis, including a speech text extraction module, a multi-modal feature calculation module, a supplementary text calculation module, a text semantic feature calculation module and an intention classification module. Through voice frame merging, pause coding, text words Vector construction and global text graph construction, extraction of multi-modal and text semantic features, and intent classification.
It improves the accuracy of speech text extraction and the accuracy of customer group emotion classification, ensures the accuracy of text semantic features, and achieves more accurate classification and product recommendation of target customer groups.
Smart Images

Figure CN118278971B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data analysis technology, and in particular to a customer group screening system and method based on call big data analysis. Background Art
[0002] When companies promote their products, a common method is for customer service staff to promote products to customers over the phone based on the customer list. However, with the rapid development of communication technology, the amount of call data has exploded, and customer service departments and other institutions have accumulated a large amount of call record data. These data not only include basic information such as call duration, call time, and the numbers of both parties on the call, but also contain in-depth information such as user behavior patterns, preferences, and needs. However, traditional call data analysis methods are often limited to simple statistical analysis, making it difficult to deeply explore the potential value of call data, and it is even more difficult to effectively achieve accurate screening of customer groups, resulting in a low success rate for product recommendations. Therefore, how to effectively use users' call data to screen potential customers in order to achieve more accurate product recommendations has become an urgent problem to be solved. Summary of the invention
[0003] The present invention provides a customer group screening system and method based on call big data analysis, the main purpose of which is to solve the problem of poor accuracy of target customer groups when making product recommendations.
[0004] To achieve the above-mentioned purpose, the present invention provides a customer group screening system based on call big data analysis, the system comprising a speech text extraction module, a multimodal feature calculation module, a supplementary text calculation module, a text semantic feature calculation module and an intention classification module, wherein:
[0005] The speech text extraction module is used to obtain a call speech set corresponding to a target customer group, merge speech frames of each call speech in the call speech set to obtain a merged speech frame sequence, and extract the speech text of each call speech according to the merged speech frame sequence;
[0006] The multimodal feature calculation module is used to perform pause encoding on the speech text according to the call speech to obtain an encoded text, and calculate the multimodal features of each call speech according to the encoded text and the call speech;
[0007] The supplementary text calculation module is used to construct a text word vector of the speech text, and calculate the supplementary text of the speech text according to the text word vector;
[0008] The text semantic feature calculation module is used to construct a global text graph and a phrase text graph of the speech text and the supplementary text, and calculate the text semantic features of each of the call speech according to the global text graph and the phrase text graph;
[0009] The intention classification module is used to perform intention classification on the target customer group corresponding to the call voice set according to the multimodal features and the text semantic features to obtain the intended customer group.
[0010] Optionally, when the speech text extraction module merges the speech frames of each call speech in the call speech set to obtain a merged speech frame sequence, it is specifically used to:
[0011] Extracting an acoustic feature sequence of the call speech, and downsampling the acoustic feature sequence to obtain a sampled acoustic feature sequence;
[0012] Performing position coding on the sampled acoustic feature sequence to obtain a position coding feature sequence;
[0013] The sampled acoustic feature sequence is position-encoded using the following formula to obtain a position-encoded feature sequence: in, represents the first The sampled acoustic features The position encoding features of feature dimensions, The total number of feature dimensions representing the sampled acoustic features;
[0014] Linearly activating the position coding feature sequence to obtain a two-dimensional frame feature vector;
[0015] Multi-head self-attention calculation is performed on the two-dimensional frame feature vector to obtain a merged speech frame sequence.
[0016] Optionally, when the speech text extraction module extracts the speech text of each of the call speech according to the merged speech frame sequence, it is specifically used to:
[0017] Performing multi-scale feature extraction on the combined speech frame sequence to obtain a multi-scale convolution feature map;
[0018] Performing feature shrinkage on the convolution feature map to obtain a multi-scale shrinkage feature map;
[0019] The shrinkage feature map is subjected to feature fusion to obtain a target feature, and the speech text of each of the call speech is identified according to the target feature.
[0020] Optionally, when the multimodal feature calculation module performs pause encoding on the speech text according to the call voice to obtain the encoded text, it is specifically used to:
[0021] Performing standardization processing on the speech text to obtain a standard text;
[0022] Performing text and audio alignment on the standard text and the call voice to obtain text pause positions and pause times;
[0023] The speech text is encoded according to the text pause positions of the pause time set to obtain an encoded text.
[0024] Optionally, when the multimodal feature calculation module calculates the multimodal feature of each call speech according to the encoded text and the call speech, it is specifically used to:
[0025] Performing vector conversion on the encoded text to obtain a text vector, and performing linear mapping on the text vector to obtain a low-dimensional vector of the encoded text;
[0026] Performing semantic encoding on the low-dimensional vector to obtain text features of each of the call speech;
[0027] Extracting low-level descriptors of the call speech, performing high-dimensional mapping on the low-level descriptors, and obtaining speech modality features of the call speech;
[0028] The text features and the voice modal features are collected to obtain multimodal features of each of the call voices.
[0029] Optionally, when the supplementary text calculation module calculates the supplementary text of the speech text according to the text word vector, it is specifically used to:
[0030] Performing text segmentation on each supplementary text in the preset supplementary text set to obtain supplementary text segmentation;
[0031] Calculate the supplementary embedding vector and supplementary weight corresponding to each of the supplementary text segmentations;
[0032] Calculate the text vector distance between each of the supplementary text word segments and the text word vector according to the supplementary embedding vector and the supplementary weight;
[0033] The text vector distance between each of the supplementary text segmentation words and the text word vector is calculated using the following formula: in, Indicates The supplementary text segmentation and The text vector distance between text word vectors, Indicates The supplementary weights corresponding to the supplementary text segmentations are Indicates The supplementary embedding vectors corresponding to the supplementary text segmentation , Indicates text word vectors, represents the Euclidean norm;
[0034] A supplementary text of the speech text is selected from the supplementary text set according to the text vector distance.
[0035] Optionally, when constructing the global text graph and the phrase text graph of the speech text and the supplementary text, the text semantic feature calculation module is specifically used to:
[0036] Performing text segmentation on the speech text and the supplementary text respectively to obtain a text segmentation set;
[0037] Using a preset sliding window to segment the text word set, to obtain a sliding word set;
[0038] Determine the connection edges between the text segmentation sets according to the sliding segmentation sets, and construct a global text graph of the speech text and the supplementary text according to the connection edges;
[0039] Performing part-of-speech tagging on each text segmentation in the text segmentation set to obtain the segmentation part-of-speech, and extracting the part-of-speech phrases in the text segmentation set according to the segmentation part-of-speech using preset grammatical rules;
[0040] A phrase text graph of the speech text and the supplementary text is constructed according to the part-of-speech phrases and the sliding window.
[0041] Optionally, when calculating the text semantic feature of each of the call speech according to the global text graph and the phrase text graph, the text semantic feature calculation module is specifically used to:
[0042] Constructing a speech text graph and a supplementary text graph of the call speech according to the global text graph and the phrase text graph;
[0043] Performing graph convolution calculation on the speech-text graph and the supplementary text graph to obtain speech-text features and supplementary text features of the call speech;
[0044] The speech text features and the supplementary text features are subjected to feature fusion to obtain text semantic features of each of the call speech.
[0045] Optionally, when the intention classification module performs intention classification on the target customer group corresponding to the call voice set according to the multimodal feature and the text semantic feature to obtain the intended customer group, it is specifically used to:
[0046] Calculating feature weights of the multimodal features and the text semantic features;
[0047] The feature weights of the multimodal features and the text semantic features are calculated using the following formula: in, represents the feature weight, express Activation function, , represents the preset learnable parameters, Represents the multimodal features, Representing the semantic features of the text;
[0048] Performing feature fusion on the multimodal features and the text semantic features according to the feature weights to obtain prediction features;
[0049] The intention probability of each target customer in the target customer group is calculated according to the prediction feature, and the intended customer group is determined according to the intention probability.
[0050] In order to solve the above problems, the present invention also provides a customer group screening method based on call big data analysis, the method comprising:
[0051] Acquire a call voice set corresponding to the target customer group, merge voice frames of each call voice in the call voice set to obtain a merged voice frame sequence, and extract voice text of each call voice according to the merged voice frame sequence;
[0052] Performing pause encoding on the speech text according to the call speech to obtain an encoded text, and calculating a multimodal feature of each call speech according to the encoded text and the call speech;
[0053] Constructing a text word vector of the speech text, and calculating a supplementary text of the speech text according to the text word vector;
[0054] Constructing a global text graph and a phrase text graph of the speech text and the supplementary text, and calculating text semantic features of each of the call speech according to the global text graph and the phrase text graph;
[0055] The target customer group corresponding to the call voice set is classified according to the multimodal features and the text semantic features to obtain the intended customer group.
[0056] The embodiment of the present invention can fuse the high-dimensional representation vector of speech within the frame width by merging the speech frames of the call speech, thereby improving the accuracy of subsequent speech text extraction; extracting the multimodal features of the speech text can obtain feature information from multiple angles, thereby improving the accuracy of subsequent sentiment classification of customer groups; calculating the supplementary text of the speech text can increase the text integrity of the speech text, thereby ensuring the accuracy of subsequent text semantic feature extraction; according to the global text graph and phrase text graph of the speech text and the supplementary text, the semantic relationship between the context and the part of speech in the speech text and the supplementary text can be comprehensively considered to obtain more accurate text semantic features; and then the target customer group can be analyzed and classified from both the sentiment and text semantics aspects through intention classification, thereby avoiding ambiguity generated during the voice call, more accurately classifying potential customers in the target customer group, and achieving more accurate product recommendations. Therefore, the customer group screening system and method based on call big data analysis proposed by the present invention can more accurately classify potential customers in the target customer group, thereby achieving more accurate product recommendations. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A system architecture diagram of a customer group screening system based on call big data analysis provided by an embodiment of the present invention;
[0058] Figure 2 A system architecture diagram of a multimodal feature calculation module provided in an embodiment of the present invention when performing pause encoding on a speech text;
[0059] Figure 3 A system architecture diagram of a supplementary text calculation module provided in an embodiment of the present invention when calculating supplementary text of a speech text;
[0060] Figure 4 A schematic diagram of a process for screening customer groups based on call big data analysis provided by an embodiment of the present invention;
[0061] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0063] like Figure 11 is a system architecture diagram of a customer group screening system based on call big data analysis provided by an embodiment of the present invention.
[0064] The customer group screening system 100 based on call big data analysis of the present invention can be set in a cloud server. In terms of implementation, it can be used as one or more service devices, or it can be installed as an application on the cloud (such as a server, server cluster, etc. of a mobile service operator), or it can be developed as a website. According to the functions implemented, the customer group screening system 100 based on call big data analysis can include a speech text extraction module 101, a multimodal feature calculation module 102, a supplementary text calculation module 103, a text semantic feature calculation module 104 and an intention classification module 105. The module described in the present invention can also be called a unit, which is a series of computer program segments that can complete fixed functions and are stored in the memory of an electronic device.
[0065] In the following, in conjunction with specific embodiments, each component and specific workflow of the customer group screening system based on call big data analysis are described respectively:
[0066] The speech-to-text extraction module 101 is used to obtain a call speech set corresponding to a target customer group, merge speech frames of each call speech in the call speech set to obtain a merged speech frame sequence, and extract the speech text of each call speech according to the merged speech frame sequence.
[0067] In the embodiment of the present invention, the call voice set is the call data when the customer service staff sells to customers over the phone, and the voice frame merging is to merge the frame information of each call voice, fuse the high-dimensional representation vector of the voice within the frame width, and improve the accuracy of subsequent voice text extraction.
[0068] In the embodiment of the present invention, the step of merging voice frames of each call voice in the call voice set to obtain a merged voice frame sequence includes:
[0069] Extracting an acoustic feature sequence of the call speech, and downsampling the acoustic feature sequence to obtain a sampled acoustic feature sequence;
[0070] Performing position coding on the sampled acoustic feature sequence to obtain a position coding feature sequence;
[0071] Linearly activating the position coding feature sequence to obtain a two-dimensional frame feature vector;
[0072] Multi-head self-attention calculation is performed on the two-dimensional frame feature vector to obtain a merged speech frame sequence.
[0073] In the embodiment of the present invention, the acoustic feature sequence converts the speech waveform signal of the call speech into the F-Bank (filter bank feature) acoustic feature. The acoustic feature can effectively extract the key information in the speech signal and reduce the dimension of the original signal, which is conducive to more accurate recognition of the speech text. Specifically, the call speech can be short-time Fourier transformed and a series of triangular filters can be used to filter the speech signal to obtain a filtered signal, and then the filtered signal can be demeaned and discrete cosine transformed to obtain the acoustic feature.
[0074] In an embodiment of the present invention, the acoustic feature vector can be downsampled after a speech processing layer consisting of two layers of two-dimensional convolutional neural networks to reduce the sequence length and feature dimension of the acoustic feature vector, and each acoustic feature in the acoustic feature sequence can be positionally encoded using a trigonometric function, so that subsequent self-attention calculations can learn the relative relationship between features at different positions, thereby improving the accuracy of subsequent speech-to-text recognition.
[0075] Specifically, the sampled acoustic feature sequence is position-encoded using the following formula to obtain a position-encoded feature sequence: in, represents the first The sampled acoustic features The position encoding features of feature dimensions, Represents the total number of feature dimensions of the sampled acoustic features.
[0076] In an embodiment of the present invention, position encoding through trigonometric function position encoding can distinguish feature elements of different dimensions in the sampled acoustic features, thereby ensuring that the encoding of each dimension is unique, and the relative position of the sampled acoustic features can be identified through position encoding. Linear activation uses a pre-built fully connected linear layer and activation function to generate a two-dimensional frame feature vector containing call voice frame information. Finally, the two-dimensional frame feature vectors are merged through a multi-head self-attention network to effectively capture the time dependency and contextual information of the sampled acoustic feature sequence, thereby improving the accuracy of speech to text recognition.
[0077] In the embodiment of the present invention, the extracting the speech text of each of the call speech according to the merged speech frame sequence includes:
[0078] Performing multi-scale feature extraction on the combined speech frame sequence to obtain a multi-scale convolution feature map;
[0079] Performing feature shrinkage on the convolution feature map to obtain a multi-scale shrinkage feature map;
[0080] The shrinkage feature map is subjected to feature fusion to obtain a target feature, and the speech text of each of the call speech is identified according to the target feature.
[0081] In an embodiment of the present invention, two convolutional network branches with different convolutional sizes are used to perform multi-scale feature extraction. For example, one convolutional network branch uses a 3×3 convolution kernel to extract small-scale features of local detail information, and the other convolutional network branch uses a 5×5 convolution kernel to extract large-scale features of overall contour information, thereby obtaining a multi-scale convolutional feature map to more comprehensively extract feature information in the merged speech frame sequence.
[0082] In an embodiment of the present invention, after performing multi-scale feature extraction using convolutional network branches with different convolutional sizes, a lot of irrelevant feature information will be extracted, and it is necessary to perform feature shrinkage on the convolutional feature map, that is, to perform feature screening on the convolutional feature map. Specifically, a soft threshold nonlinear layer can be used to perform soft thresholding on the feature channels extracted by the convolutional network branches, and the redundant features in the convolutional feature map are set to 0 to obtain a multi-scale contraction feature map, wherein the soft threshold is to directly assign a feature value whose absolute value is less than a preset threshold to 0, and to shrink other feature values to a certain extent toward 0, so that the feature information in the convolutional feature map can be denoised to obtain a more accurate contraction feature map.
[0083] In an embodiment of the present invention, by sampling the shrunk feature maps of different scales to the same size and then superimposing them, a target feature containing both global information and detail information can be obtained, thereby improving the recognition accuracy of speech text. Specifically, a pre-built fully connected layer can be used to perform activation operations on the target feature to obtain the speech text corresponding to the target feature.
[0084] The multimodal feature calculation module 102 is used to perform pause encoding on the speech text according to the call speech to obtain the encoded text, and calculate the multimodal features of each call speech according to the encoded text and the call speech.
[0085] In the embodiment of the present invention, pause coding is to mark the pauses in the speech text according to the pauses in the call speech. For example, the pause time in the speech text can be identified according to the call speech, so as to mark the pauses in the speech text.
[0086] In the embodiment of the present invention, the multimodal feature calculation module 102 includes a standardization processing module 201 , a text-audio alignment module 202 and a pause encoding module 203 .
[0087] In the embodiment of the present invention, refer to Figure 2 As shown, the pause encoding of the voice text according to the call voice to obtain the encoded text includes:
[0088] The standardization processing module 201 is used to perform standardization processing on the speech text to obtain a standard text;
[0089] The text-audio alignment module 202 is used to perform text-audio alignment on the standard text and the call voice to obtain the text pause position and pause time;
[0090] The pause encoding module 203 is used to encode the speech text according to the pause positions of the text in the pause time set to obtain an encoded text.
[0091] In an embodiment of the present invention, the standardization process includes removing punctuation marks in the speech text, converting the words that appear into lowercase, and forcibly aligning the standard text and the call speech through a preset forced alignment tool such as (Penn pho-netics lab forced aligner, P2FA), so that the corresponding call pause time in the speech text and the position in the speech text can be determined according to the call speech, and different codes are added to the speech text according to the different pause times. For example, the pause time is divided into different time intervals: 0.05~0.1 s, 0.1~0.3 s, 0.3~0.6 s, 0.6~1.0 s, 1.0~2.0 s and greater than 2.0 s, and different time intervals are encoded using different coding symbols, such as: ".." "…" "…." "….." "…." "……" "……."; finally, "." is added to the end of the speech text as a sign of the end of the speech text to obtain the encoded text, so that the emotional characteristics of the call speech can be more accurately calculated according to the pauses in the encoded text.
[0092] Among them, when the call voice is in different emotional states, the frequency, duration and location of speaking pauses will be different, but the speech text lacks the emotion-related speaker pause information. Therefore, it is necessary to encode the pauses in the speech text and add the pause information in the call voice to the speech text to improve the accuracy of subsequent intention classification.
[0093] In the embodiment of the present invention, the multimodal features include the text modal features of the call corresponding to the encoded text and the voice modal features of the call corresponding to the call speech, so that the feature information of each call speech can be calculated more comprehensively.
[0094] In the embodiment of the present invention, the step of calculating the multimodal features of each call speech according to the encoded text and the call speech includes:
[0095] Performing vector conversion on the encoded text to obtain a text vector, and performing linear mapping on the text vector to obtain a low-dimensional vector of the encoded text;
[0096] Performing semantic encoding on the low-dimensional vector to obtain text features of each of the call speech;
[0097] Extracting low-level descriptors of the call speech, performing high-dimensional mapping on the low-level descriptors, and obtaining speech modality features of the call speech;
[0098] The text features and the voice modal features are collected to obtain multimodal features of each of the call voices.
[0099] Among them, linear mapping is to map the text vector to a low-dimensional vector space in order to retain more information in the encoded text and improve the accuracy of subsequent semantic extraction. Semantic encoding is to extract features using an encoder composed of an unsupervised neural network model. Semantic encoding can copy the input information to the output and output the potential representation as a valid attribute, thereby improving the accuracy of text feature extraction by learning the implicit features of the low-dimensional vector.
[0100] In the embodiment of the present invention, the low-level descriptor is used to describe a series of parameters of the basic characteristics of the speech signal, including but not limited to intensity, loudness, energy distribution, Mel-frequency cepstral coefficients, pitch, etc. The low-level descriptor can describe the shallow characteristics of the call speech, and the low-level descriptor can be mapped to a high dimension to further mine the deep feature information. Specifically, the encoder in the pre-built Transformer model can be used to perform high-dimensional mapping to extract deep features and obtain speech modal features.
[0101] In the embodiment of the present invention, multimodal features can be used to more comprehensively obtain characteristic information of customers in call voices, thereby improving the accuracy of subsequent intention classification of customer groups.
[0102] The supplementary text calculation module 103 is used to construct a text word vector of the speech text and calculate the supplementary text of the speech text according to the text word vector.
[0103] In an embodiment of the present invention, during a voice call with a customer, key information in the voice text may be missing due to problems such as the voice environment and the customer's answer. Therefore, it is necessary to further supplement the information in the voice text through supplementary text, which can improve the accuracy of subsequent text semantic feature extraction.
[0104] In the embodiment of the present invention, the text word vector maps the speech text into a word vector, and then the supplementary text can be calculated in the digital space of the word vector.
[0105] In the embodiment of the present invention, the step of constructing a text word vector of the speech text includes:
[0106] Performing text segmentation and stop word deletion on the speech text to obtain text segmentation;
[0107] Calculate the word embedding vector of the text word segmentation to obtain the text word vector of the speech text.
[0108] In an embodiment of the present invention, text segmentation is to separate words in a speech text. A hidden Markov model can be used to perform text segmentation on the speech text, and useless stop words can be deleted. Stop words can be deleted using a preset stop word list to remove noise in the speech text and obtain more accurate text segmentation. A Glove model is then used to generate a word embedding vector for each text segmentation to obtain a text word vector.
[0109] In the embodiment of the present invention, the supplementary text calculation module 103 includes a text segmentation module 301 , an embedding vector and weight calculation module 302 , a text vector distance calculation module 303 and a supplementary text selection module 304 .
[0110] In the embodiment of the present invention, the step of calculating the supplementary text of the speech text according to the text word vector includes:
[0111] The text segmentation module 301 is used to perform text segmentation on each supplementary text in the preset supplementary text set to obtain supplementary text segmentation;
[0112] The embedding vector and weight calculation module 302 is used to calculate the supplementary embedding vector and supplementary weight corresponding to each of the supplementary text segmentations;
[0113] The text vector distance calculation module 303 is used to calculate the text vector distance between each of the supplementary text word segments and the text word vector according to the supplementary embedding vector and the supplementary weight;
[0114] The supplementary text selection module 304 is used to select the supplementary text of the speech text from the supplementary text set according to the text vector distance.
[0115] In an embodiment of the present invention, the supplementary text set is a collection of supplementary texts set according to the semantics of historical calls with customers, and each supplementary text corresponds to a different scenario. The above-mentioned method of performing word segmentation and word embedding vector calculation on speech text can be used to perform word segmentation and word embedding vector calculation on the supplementary text to obtain a supplementary embedding vector of the supplementary text word segmentation.
[0116] In an embodiment of the present invention, the frequency of the supplementary text segmentation in the speech text can be used as the supplementary weight of the supplementary text segmentation, and the supplementary embedding vector and the supplementary weight are further used to calculate the text vector distance between each supplementary text segmentation and each text word vector.
[0117] In the embodiment of the present invention, the text vector distance between each of the supplementary text segmentation words and the text word vector is calculated using the following formula: in, Indicates The supplementary text segmentation and The text vector distance between text word vectors, Indicates The supplementary weights corresponding to the supplementary text segmentations are Indicates The supplementary embedding vectors corresponding to the supplementary text segmentation , Indicates text word vectors, represents the Euclidean norm.
[0118] In an embodiment of the present invention, the text correlation between each supplementary text and the speech text is obtained by calculating the sum of the text vector distances between each supplementary text segmentation and each text segmentation of the speech text, and then the supplementary text with the smallest sum of text vector distances can be selected as the supplementary text of the speech text, which can increase the text integrity of the extracted speech text and ensure the accuracy of subsequent text semantic feature extraction.
[0119] The text semantic feature calculation module 104 is used to construct a global text graph and a phrase text graph of the speech text and the supplementary text, and calculate the text semantic features of each of the call speech according to the global text graph and the phrase text graph.
[0120] In an embodiment of the present invention, a global text graph is constructed based on the relationship between adjacent words in the global text information of the spoken text and the supplementary text, so as to aggregate the information between words with similar distances and effectively capture the local context information of the words; a phrase text graph is constructed based on the grammatical information between each word in the spoken text and the supplementary text, so as to extract the semantic relationship between words of different parts of speech and obtain more accurate text semantic features.
[0121] In the embodiment of the present invention, the step of constructing a global text graph and a phrase text graph of the speech text and the supplementary text includes:
[0122] Performing text segmentation on the speech text and the supplementary text respectively to obtain a text segmentation set;
[0123] Using a preset sliding window to segment the text word set, to obtain a sliding word set;
[0124] Determine the connection edges between the text segmentation sets according to the sliding segmentation sets, and construct a global text graph of the speech text and the supplementary text according to the connection edges;
[0125] Performing part-of-speech tagging on each text segmentation in the text segmentation set to obtain the segmentation part-of-speech, and extracting the part-of-speech phrases in the text segmentation set according to the segmentation part-of-speech using preset grammatical rules;
[0126] A phrase text graph of the speech text and the supplementary text is constructed according to the part-of-speech phrases and the sliding window.
[0127] In an embodiment of the present invention, a sliding window with a window size of 3 and a sliding step size of 1 can be used to perform word segmentation in a text word segmentation set to obtain a sliding word segmentation set. A connecting edge is provided between text word segments that appear simultaneously in two adjacent sliding word segmentation sets. Each text word is used as a node, and the nodes are connected by connecting edges to obtain a global text graph.
[0128] In an embodiment of the present invention, Natural Language Toolkit (NLTK) can be used to perform part-of-speech tagging, for example, to tag nouns, verbs, and adjectives in text segmentation, and then to extract phrases according to the part-of-speech of the segmentation using preset grammatical rules. For example, part-of-speech phrases in the text segmentation set can be extracted according to multiple grammatical rules such as noun-verb-adjective, noun-verb-adverb, noun-noun, adverb-adjective-noun, etc.
[0129] Among them, according to the above method of constructing a global text graph, a phrase text graph of part-of-speech phrases can be constructed using a sliding window, so as to capture the semantic relationship between different part-of-speech segmentations, aggregate long-distance segmentation information, and improve the accuracy of subsequent text semantic feature calculations.
[0130] In the embodiment of the present invention, the calculating of the text semantic features of each of the call speech according to the global text graph and the phrase text graph includes:
[0131] Constructing a speech text graph and a supplementary text graph of the call speech according to the global text graph and the phrase text graph;
[0132] Performing graph convolution calculation on the speech-text graph and the supplementary text graph to obtain speech-text features and supplementary text features of the call speech;
[0133] The speech text features and the supplementary text features are subjected to feature fusion to obtain text semantic features of each of the call speech.
[0134] In an embodiment of the present invention, a speech text graph corresponding to the speech text and a supplementary text graph corresponding to the supplementary text can be constructed through a global text graph and a phrase text graph, wherein the connection relationship of each node in the global text graph and the phrase text graph can be merged, so that the connection edges between each node can be merged to obtain a speech text graph corresponding to the speech text and a supplementary text graph corresponding to the supplementary text. For example, text segmentation 1 and text segmentation 2 in the global text graph of the speech text have a connection edge, and text segmentation 1 and text segmentation 3 in the phrase text graph have a connection edge. Then, text segmentation 1 and text segmentation 2 and text segmentation 3 in the speech text graph corresponding to the speech text all have connection edges, so that the connection relationship between the nodes can be obtained to construct a speech text graph. Preferably, the connection edge between two nodes in the speech text graph and the supplementary text graph can be no less than one.
[0135] Specifically, graph convolution calculation uses pre-built graph convolutional neural networks (GCNs) to calculate the complex relationships between nodes in the text graph. The features of each node can be updated by aggregating the information of adjacent nodes, thereby realizing the propagation and transformation of features and obtaining the final text features. Among them, the adjacency matrix can be constructed according to the connection relationship between the nodes and the node feature matrix can be constructed according to the feature vector of each node. Graph convolution is performed based on the adjacency matrix and the node feature matrix to realize the aggregation and transformation of features and obtain speech text features and supplementary text features.
[0136] Specifically, the speech text features and the supplementary text features can be concatenated and then fused using the pooling layer and the nonlinear activation function in the graph convolutional neural network to obtain the text semantic features of the call speech.
[0137] In the embodiment of the present invention, by calculating the text semantic features through the global text graph and the phrase text graph, the semantic relationship between the word context and the part of speech in the voice text and the supplementary text can be comprehensively considered, the voice information of the text in the call voice can be more comprehensively aggregated, and more accurate text semantic features can be obtained.
[0138] The intention classification module 105 is used to perform intention classification on the target customer group corresponding to the call voice set according to the multimodal features and the text semantic features to obtain the intended customer group.
[0139] In an embodiment of the present invention, when conducting a voice call with a customer, different customers will have different emotions towards product promotion, and emotions will affect the final product promotion results. Therefore, classification can be performed from an emotional perspective based on multi-angle information in the multimodal features, and classification can be performed from the customer's semantic intention towards the product based on text semantic features. In this way, the target customer group can be comprehensively classified to obtain a group of intended customers who may be potential customers.
[0140] In the embodiment of the present invention, the method of performing intention classification on the target customer group corresponding to the call voice set according to the multimodal features and the text semantic features to obtain the intended customer group includes:
[0141] Calculating feature weights of the multimodal features and the text semantic features;
[0142] Performing feature fusion on the multimodal features and the text semantic features according to the feature weights to obtain prediction features;
[0143] The intention probability of each target customer in the target customer group is calculated according to the prediction feature, and the intended customer group is determined according to the intention probability.
[0144] In an embodiment of the present invention, a gating mechanism can be used to assign feature weights to multimodal features and text semantic features, and different importances can be assigned to multimodal features and text semantic features. The larger the feature weight, the more important the corresponding feature is, and it occupies a larger proportion in the subsequent intent classification.
[0145] Specifically, the feature weights of the multimodal feature and the text semantic feature are calculated using the following formula: in, represents the feature weight, express Activation function, , represents the preset learnable parameters, Represents the multimodal features, Represents the semantic features of the text.
[0146] In an embodiment of the present invention, the gating mechanism can control information transmission, and further control the feature weights of multimodal features and text semantic features during calculation, multiplying the multimodal features and text semantic features with the corresponding feature weights and then superimposing them to obtain predictive features for intention probability prediction.
[0147] In an embodiment of the present invention, a fully connected layer can be used to calculate the probability of each target customer in each target customer group becoming a potential customer, and target customers with an intention probability greater than a preset probability threshold are regarded as intended customers to obtain an intended customer group. For example, target customers with an intention probability greater than 85% are regarded as intended customers.
[0148] In an embodiment of the present invention, the target customer group can be analyzed and classified by comprehensively considering the target user's emotional intention and semantic intention through intent classification, thereby avoiding ambiguity in communicating with customers during voice calls and more accurately classifying potential customers in the target customer group.
[0149] Reference Figure 4 FIG. 1 is a flow chart of a method for screening customer groups based on call big data analysis according to an embodiment of the present invention. In this embodiment, the method for screening customer groups based on call big data analysis includes:
[0150] S1. Obtain a call voice set corresponding to a target customer group, merge voice frames of each call voice in the call voice set to obtain a merged voice frame sequence, and extract a voice text of each call voice according to the merged voice frame sequence;
[0151] S2, performing pause encoding on the speech text according to the call speech to obtain an encoded text, and calculating a multimodal feature of each call speech according to the encoded text and the call speech;
[0152] S3, constructing a text word vector of the speech text, and calculating a supplementary text of the speech text according to the text word vector;
[0153] S4, constructing a global text graph and a phrase text graph of the speech text and the supplementary text, and calculating the text semantic features of each of the call speech according to the global text graph and the phrase text graph;
[0154] S5. Performing intention classification on the target customer group corresponding to the call voice set according to the multimodal features and the text semantic features to obtain the intended customer group.
[0155] An embodiment of the present invention also provides an electronic device of a customer group screening system based on call big data analysis.
[0156] The electronic device may include a processor, a memory, a communication bus, and a communication interface, and may also include a computer program stored in the memory and executable on the processor, such as a customer group screening program based on call big data analysis.
[0157] In some embodiments, the processor may be composed of an integrated circuit, for example, it may be composed of a single packaged integrated circuit, or it may be composed of multiple packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips.
[0158] The memory includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device.
[0159] The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory and at least one processor, etc.
[0160] The communication interface is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used to establish a communication connection between the electronic device and other electronic devices.
[0161] In the several embodiments provided by the present invention, it should be understood that the disclosed electronic device, apparatus and method can be implemented in other ways. For example, the apparatus embodiment described above is only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0162] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0164] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A customer group screening system based on call big data analysis, characterized in that: The system includes a speech text extraction module, a multimodal feature calculation module, a supplementary text calculation module, a text semantic feature calculation module and an intention classification module, wherein: The speech text extraction module is used to obtain a call speech set corresponding to a target customer group, merge speech frames of each call speech in the call speech set to obtain a merged speech frame sequence, and extract the speech text of each call speech according to the merged speech frame sequence; The multimodal feature calculation module is used to perform pause encoding on the speech text according to the call speech to obtain an encoded text, and calculate the multimodal features of each call speech according to the encoded text and the call speech; The supplementary text calculation module is used to construct the text word vector of the speech text, and calculate the supplementary text of the speech text according to the text word vector; when the supplementary text calculation module calculates the supplementary text of the speech text according to the text word vector, it is specifically used to: perform text segmentation on each supplementary text in the preset supplementary text set to obtain supplementary text segmentation; calculate the supplementary embedding vector and supplementary weight corresponding to each supplementary text segmentation; calculate the text vector distance between each supplementary text segmentation and the text word vector according to the supplementary embedding vector and the supplementary weight; The text vector distance between each of the supplementary text segmentation words and the text word vector is calculated using the following formula: in, Indicates The supplementary text segmentation and The text vector distance between text word vectors, Indicates The supplementary weights corresponding to the supplementary text segmentations are Indicates The supplementary embedding vectors corresponding to the supplementary text segmentation , Indicates text word vectors, represents the Euclidean norm; Selecting a supplementary text of the speech text from the supplementary text set according to the text vector distance; The text semantic feature calculation module is used to construct a global text graph and a phrase text graph of the speech text and the supplementary text, and calculate the text semantic features of each of the call speech according to the global text graph and the phrase text graph; when constructing the global text graph and the phrase text graph of the speech text and the supplementary text, the text semantic feature calculation module is specifically used to: perform text segmentation on the speech text and the supplementary text respectively to obtain a text segmentation set; perform segmentation on the text segmentation set using a preset sliding window to obtain a sliding segmentation set; determine the connecting edges between the text segmentation sets according to the sliding segmentation set, and construct the global text graph of the speech text and the supplementary text according to the connecting edges; perform part of speech on each text segmentation in the text segmentation set Annotation, obtain the part-of-speech of the segmentation, extract the part-of-speech phrases in the text segmentation set according to the part-of-speech using preset grammatical rules; construct the phrase text graph of the speech text and the supplementary text according to the part-of-speech phrases and the sliding window; when the text semantic feature calculation module calculates the text semantic features of each of the call speech according to the global text graph and the phrase text graph, it is specifically used to: construct the speech text graph and the supplementary text graph of the call speech according to the global text graph and the phrase text graph; perform graph convolution calculation on the speech text graph and the supplementary text graph to obtain the speech text features and supplementary text features of the call speech; perform feature fusion on the speech text features and the supplementary text features to obtain the text semantic features of each of the call speech; The intention classification module is used to perform intention classification on the target customer group corresponding to the call voice set according to the multimodal features and the text semantic features to obtain the intended customer group.
2. The customer group screening system based on call big data analysis according to claim 1, characterized in that: When the speech text extraction module merges the speech frames of each call speech in the call speech set to obtain a merged speech frame sequence, it is specifically used to: Extracting an acoustic feature sequence of the call speech, and downsampling the acoustic feature sequence to obtain a sampled acoustic feature sequence; Performing position coding on the sampled acoustic feature sequence to obtain a position coding feature sequence; The sampled acoustic feature sequence is position-encoded using the following formula to obtain a position-encoded feature sequence: in, represents the first The sampled acoustic features The position encoding features of feature dimensions, The total number of feature dimensions representing the sampled acoustic features; Linearly activating the position coding feature sequence to obtain a two-dimensional frame feature vector; Multi-head self-attention calculation is performed on the two-dimensional frame feature vector to obtain a merged speech frame sequence.
3. The customer group screening system based on call big data analysis according to claim 1, characterized in that: When the speech text extraction module extracts the speech text of each of the call speech according to the merged speech frame sequence, it is specifically used to: Performing multi-scale feature extraction on the combined speech frame sequence to obtain a multi-scale convolution feature map; Performing feature shrinkage on the convolution feature map to obtain a multi-scale shrinkage feature map; The shrinkage feature map is subjected to feature fusion to obtain a target feature, and the speech text of each of the call speech is identified according to the target feature.
4. The customer group screening system based on call big data analysis according to claim 1, characterized in that: When the multimodal feature calculation module performs pause encoding on the speech text according to the call speech to obtain the encoded text, it is specifically used to: Performing standardization processing on the speech text to obtain a standard text; Performing text and audio alignment on the standard text and the call voice to obtain text pause positions and pause times; The speech text is encoded according to the pause time and the text pause position to obtain an encoded text.
5. The customer group screening system based on call big data analysis according to claim 1, characterized in that: When the multimodal feature calculation module calculates the multimodal feature of each call speech according to the encoded text and the call speech, it is specifically used to: Performing vector conversion on the encoded text to obtain a text vector, and performing linear mapping on the text vector to obtain a low-dimensional vector of the encoded text; Performing semantic encoding on the low-dimensional vector to obtain text features of each of the call speech; Extracting low-level descriptors of the call speech, performing high-dimensional mapping on the low-level descriptors, and obtaining speech modality features of the call speech; The text features and the voice modal features are collected to obtain multimodal features of each of the call voices.
6. The customer group screening system based on call big data analysis according to claim 1, characterized in that: When the intention classification module performs intention classification on the target customer group corresponding to the call voice set according to the multimodal features and the text semantic features to obtain the intended customer group, it is specifically used to: Calculating feature weights of the multimodal features and the text semantic features; The feature weights of the multimodal features and the text semantic features are calculated using the following formula: in, represents the feature weight, express Activation function, , represents the preset learnable parameters, Represents the multimodal features, Representing the semantic features of the text; Performing feature fusion on the multimodal features and the text semantic features according to the feature weights to obtain prediction features; The intention probability of each target customer in the target customer group is calculated according to the prediction feature, and the intended customer group is determined according to the intention probability.
7. A customer group screening method based on call big data analysis, characterized in that: The method comprises: Acquire a call voice set corresponding to the target customer group, merge voice frames of each call voice in the call voice set to obtain a merged voice frame sequence, and extract voice text of each call voice according to the merged voice frame sequence; Performing pause encoding on the speech text according to the call speech to obtain an encoded text, and calculating a multimodal feature of each call speech according to the encoded text and the call speech; Constructing a text word vector of the speech text, and calculating a supplementary text of the speech text according to the text word vector; the calculating the supplementary text of the speech text according to the text word vector includes: performing text segmentation on each supplementary text in a preset supplementary text set to obtain a supplementary text segmentation; calculating a supplementary embedding vector and a supplementary weight corresponding to each of the supplementary text segments; calculating a text vector distance between each of the supplementary text segments and the text word vector according to the supplementary embedding vector and the supplementary weight; The text vector distance between each of the supplementary text segmentation words and the text word vector is calculated using the following formula: in, Indicates The supplementary text segmentation and The text vector distance between text word vectors, Indicates The supplementary weights corresponding to the supplementary text segmentations are Indicates The supplementary embedding vectors corresponding to the supplementary text segmentation , Indicates text word vectors, represents the Euclidean norm; Constructing a global text graph and a phrase text graph of the speech text and the supplementary text, and calculating the text semantic features of each of the call speech according to the global text graph and the phrase text graph; constructing the global text graph and the phrase text graph of the speech text and the supplementary text, including: performing text segmentation on the speech text and the supplementary text respectively to obtain a text segmentation set; performing segmentation on the text segmentation set using a preset sliding window to obtain a sliding segmentation set; determining the connecting edges between the text segmentation sets according to the sliding segmentation set, and constructing a global text graph of the speech text and the supplementary text according to the connecting edges; performing part-of-speech tagging on each text segmentation in the text segmentation set to obtain a segmentation Part of speech, extracting part of speech phrases in the text segmentation set according to the part of speech using preset grammatical rules; constructing a phrase text graph of the speech text and the supplementary text according to the part of speech phrase and the sliding window; calculating the text semantic features of each of the call speech according to the global text graph and the phrase text graph, including: constructing a speech text graph and a supplementary text graph of the call speech according to the global text graph and the phrase text graph; performing graph convolution calculation on the speech text graph and the supplementary text graph to obtain speech text features and supplementary text features of the call speech; performing feature fusion on the speech text features and the supplementary text features to obtain text semantic features of each of the call speech; The target customer group corresponding to the call voice set is classified according to the multimodal features and the text semantic features to obtain the intended customer group.
