Information processing method and device, electronic equipment and storage medium
By acquiring user identifiers and user profiles, and using neural network models to predict user inquiries and responses, the problem of low response efficiency in existing technologies is solved, enabling timely and accurate responses to user inquiries.
Patent Information
- Application Number
- CN202410542663.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-04-30
AI Technical Summary
Existing technologies cannot predict user inquiries in a timely manner and are affected by the user's ability to express themselves, resulting in low response efficiency.
By acquiring user identifiers and user profiles, a neural network model is used to predict user inquiries and responses, including training the first and second model branches, and combining user behavior and inquiry information for prediction.
It improved the timeliness and accuracy of responses to user inquiries, reduced reliance on users' expressive abilities, and increased response efficiency.
Smart Images

Figure CN118277536B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of artificial intelligence and financial technology, and more specifically, to an information processing method, apparatus, electronic device, and storage medium. Background Technology
[0002] In existing technologies, key question information is typically extracted from user inquiry information (e.g., user's incoming call voice messages), and then the corresponding response information is retrieved from a knowledge base.
[0003] However, the above method requires receiving complete user inquiry information before extracting key question information. It is impossible to predict the questions a user might want to ask when they first call.
[0004] In addition, due to limitations in users' ability to express themselves, the key questions they extract are sometimes not accurate. For example, some users have strong communication skills and can express their questions clearly enough, while others lack such skills and express their questions more vaguely. As a result, the questions that users want to ask are not accurately understood.
[0005] It should be noted that whether it is failing to promptly obtain the questions users want to ask or failing to accurately refine the questions, both will ultimately affect the efficiency of responding to user information.
[0006] There is currently no effective solution to the above problems. Summary of the Invention
[0007] This application provides an information processing method, apparatus, electronic device, and storage medium to at least solve the technical problem of low response efficiency for user inquiries in the prior art.
[0008] According to one aspect of this application, an information processing method is provided, comprising: upon receiving consultation information input by a user, obtaining a user identifier; with the user's authorization, obtaining a user profile based on the user identifier, wherein the user profile includes at least information on the user's operational behavior regarding any financial product; predicting the user's consultation question based on the user profile, and determining response information regarding the consultation question.
[0009] Optionally, the information processing method further includes: extracting target information from the user's consultation information, wherein the target information includes information containing preset question keywords; predicting the user's consultation questions based on the user profile and the target information, and determining the response information regarding the consultation questions.
[0010] Optionally, the information processing method further includes: inputting a user profile into a first model branch, extracting a first feature vector from the user profile through the first model branch, and predicting the user's consultation question based on the first feature vector, wherein the first model branch is a neural network model branch trained based on the user profiles of historical users and the historical consultation questions of historical users as training samples; inputting the user's consultation question into a second model branch connected to the first model branch, converting the consultation question into a second feature vector through the second model branch, and predicting the response information about the consultation question based on the second feature vector, wherein the second model branch is a neural network model branch trained based on the historical consultation questions and consultation response information of historical users.
[0011] Optionally, the information processing method further includes: inputting the user profile of historical users into the first encoder, extracting feature vectors from the user profile of historical users through the first encoder, wherein the feature vectors are used to characterize the operational behavior characteristics of historical users regarding financial products; generating prediction results based on the feature vectors through a first decoder connected to the first encoder, wherein the prediction results characterize the consultation questions predicted by the first decoder from historical users; detecting the semantic difference value between the prediction results and the historical consultation questions of historical users; performing multiple iterations to update the first encoder and the first decoder based on the semantic difference value, and connecting the updated first encoder and the first decoder to form a first model branch.
[0012] Optionally, the information processing method further includes: iteratively updating the first encoder and the first decoder multiple times based on the semantic difference value, extracting new feature vectors from the user profiles of historical users through the first encoder after each update, and regenerating the prediction result by the first decoder based on the latest feature vector extracted by the first encoder after each update, until the first encoder inputs the feature vectors extracted from the user profiles of historical users N consecutive times into the first decoder, and the semantic difference value between the prediction result generated by the first decoder based on the extracted feature vectors and the historical consultation question is less than a preset threshold, and then stopping the update of the first encoder and the first decoder, where N is an integer greater than or equal to 1; and connecting the first encoder after the last update and the first decoder after the last update to form a first model branch.
[0013] Optionally, the information processing method further includes: inputting historical user consultation questions into a second encoder, extracting word feature vectors from the historical user consultation questions through the second encoder, wherein the word feature vectors are used to represent the keyword information of the historical consultation questions; determining predicted response information from a knowledge base based on the word feature vectors through a second decoder connected to the second encoder, wherein the predicted response information represents the response information predicted by the second decoder regarding the historical consultation questions; detecting the information semantic difference value between the predicted response information and the consultation response information of historical users; performing multiple iterative updates on the second encoder and the second decoder based on the information semantic difference value, and connecting the updated second encoder and the second decoder to form a second model branch.
[0014] Optionally, the information processing method further includes: iteratively updating the second encoder and the second decoder multiple times based on the semantic difference value, extracting new word feature vectors from historical consultation questions through the second encoder after each update, and regenerating predicted response information by the second decoder based on the latest extracted word feature vectors from the second encoder after each update, until the second encoder inputs the word feature vectors extracted from historical consultation questions M consecutively into the second decoder, and the semantic difference value between the predicted response information generated by the second decoder based on each extracted word feature vector and the consultation response information of historical users is less than a preset threshold, and then stopping the update of the second encoder and the second decoder, where M is an integer greater than or equal to 1; connecting the second encoder after the last update and the second decoder after the last update to form a second model branch.
[0015] Optionally, the information processing method further includes: obtaining the semantic vector of each of the K preset user questions in the knowledge base, where K is an integer greater than 1; calculating the similarity between the semantic vector and the word feature vector of each preset user question; obtaining the semantic vector of the preset response information of each preset user question; determining the relevance vector based on the semantic vector and the word feature vector of the preset response information of each preset user question, where the relevance vector is used to characterize the contextual relevance between the preset response information of each preset user question and the historical consultation questions of historical users; and determining the predicted response information from the preset response information of the K preset user questions based on the relevance vector and the similarity between the semantic vector and the word feature vector of each preset user question.
[0016] According to another aspect of this application, an information processing apparatus is also provided, comprising: a first acquisition unit, configured to acquire a user identifier when receiving user-input consultation information; a second acquisition unit, configured to acquire a user profile of the user based on the user identifier with the user's authorization, wherein the user profile includes at least information on the user's operational behavior towards any financial product; and a processing unit, configured to predict the user's consultation question based on the user profile and determine response information regarding the consultation question.
[0017] According to another aspect of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the information processing method of any of the above-mentioned methods at runtime.
[0018] According to another aspect of this application, an electronic device is also provided, wherein the electronic device includes one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement an information processing method for running the programs, wherein the programs are configured to execute any of the above-mentioned information processing methods during runtime.
[0019] In this application, a method is adopted to predict user inquiries based on user profiles. Upon receiving user-input inquiry information, the user's user identifier is obtained. Then, with the user's authorization, a user profile is obtained based on the user identifier. The user profile includes at least information on the user's operational behavior related to any financial product. Finally, the user's inquiry is predicted based on the user profile, and the response information for the inquiry is determined.
[0020] As can be seen from the above, when this application receives a user's inquiry information, it immediately obtains the user's user identifier and then obtains the user's user profile based on the user's user identifier. It should be noted that during this period, the user may have just begun to express themselves. Subsequently, this application predicts the user's inquiry question based on the user profile and determines the response information for the inquiry question. In other words, through the technical solution of this application, the user's inquiry question and corresponding response information can be predicted even before the user has finished expressing themselves (e.g., just beginning to express themselves or in the process of expressing themselves). Compared with the prior art, the solution of this application can greatly improve the timeliness and efficiency of responding to user inquiry information.
[0021] Furthermore, the technical solution of this application is not affected by the user's ability to express themselves. Instead, it predicts the user's questions and responses based on the user's actual operational behavior information regarding any financial product, thereby improving the accuracy of the prediction of questions and responses.
[0022] Therefore, the technical solution of this application can not only improve the timeliness of responding to user inquiries, but also improve the accuracy of predicting user inquiries and response information, thereby solving the technical problem of low response efficiency to user inquiries in the prior art. Attached Figure Description
[0023] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0024] Figure 1 This is a flowchart of an optional information processing method according to an embodiment of this application;
[0025] Figure 2 This is a schematic diagram of an optional neural network model according to an embodiment of this application;
[0026] Figure 3 This is a training flowchart of an optional first model branch according to an embodiment of this application;
[0027] Figure 4 This is a schematic diagram of the training process of an optional first model branch according to an embodiment of this application;
[0028] Figure 5 This is a training flowchart of an optional second model branch according to an embodiment of this application;
[0029] Figure 6 This is a schematic diagram of the training process of an optional second model branch according to an embodiment of this application;
[0030] Figure 7 This is a schematic diagram of an optional information processing apparatus according to an embodiment of this application. Detailed Implementation
[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] It should also be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, and displayed data) collected in this application are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with the relevant laws, regulations, and standards of the relevant regions, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding operation entry points are provided for users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.
[0034] In addition, this application collects and analyzes customer information, provides users with corresponding operation entry points, and allows users to choose to agree to or reject the automated decision results; if the user chooses to reject, the process proceeds to the expert decision-making process.
[0035] According to an embodiment of this application, an embodiment of an information processing method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0036] Figure 1 This is a flowchart of an optional information processing method according to an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:
[0037] Step S101: Upon receiving the user's input consultation information, obtain the user's user identifier.
[0038] Optionally, an intelligent customer service system can be used as the execution subject of the information processing method in the embodiments of this application. The intelligent customer service system can be a software system or an embedded system that combines software and hardware.
[0039] Optionally, users can connect to a wireless communication network via a mobile terminal and send inquiry information to the intelligent customer service system through an application.
[0040] Optionally, the consultation information entered by the user includes, but is not limited to, various types of consultation information such as voice consultation information made by the user through telephone calls, voice information, text information, and video information left by the user on social software.
[0041] Optionally, the user's identifier includes, but is not limited to, the user's mobile phone number, the network address of the user's terminal device, the network location, the user's ID card number, name, and other identifying information that can characterize the user's identity.
[0042] Step S102: With user authorization, obtain the user profile based on the user's user identifier.
[0043] In step S102, the user profile includes at least the user's operational behavior information for any financial product.
[0044] Optionally, user behavior information for any financial product includes, but is not limited to: browsing, purchasing, selling, switching, and rating behavior of any financial product within a preset time period.
[0045] In one optional embodiment, with user authorization, the intelligent customer service system can build a user profile for each user based on each user's user identifier. The user profile for each user includes at least the user's basic information, behavioral information, social information, location information, transaction information, product information, risk information, and evaluation information.
[0046] Optionally, the user's basic information includes, but is not limited to, the user's name, gender, age, etc.; the user's behavioral information includes, but is not limited to, the user's inquiry and complaint information submitted to financial institutions at bank branches or through mobile banking and other software systems; the user's transaction information includes, but is not limited to, the financial products that the user is currently being recommended to purchase; the user's product information includes, but is not limited to, the product information of the financial products that the user currently holds; the risk information includes, but is not limited to, the user's historical financial risk behavior information; and the user's evaluation information includes, but is not limited to, the user's recent comments on various financial products on social media.
[0047] Step S103: Predict the user's inquiry questions based on the user profile, and determine the response information for the inquiry questions.
[0048] Optionally, the intelligent customer service system can directly predict a user's inquiry based on their profile. For example, if the user profile indicates that the user has frequently browsed information about a particular credit card recently, the intelligent customer service system can predict that the user may be asking about the application process for that credit card. Alternatively, if the user profile indicates that the user has frequently browsed information related to early loan repayment recently, the intelligent customer service system can predict that the user may be asking about how to repay a loan early.
[0049] Optionally, after predicting the user's inquiry question, the intelligent customer service system can also determine the response information for the inquiry question from the knowledge base. Then, the intelligent customer service system can display the predicted inquiry question and the corresponding response information on the display page to assist customer service personnel in being able to promptly and accurately determine the user's inquiry question and provide a response.
[0050] Optionally, Table 1 is an example of an optional consultation question and response information according to an embodiment of this application.
[0051] Table 1
[0052]
[0053] Based on the above steps S101 to S103, this application employs a method of predicting user inquiries based on user profiles. Upon receiving user-inputted inquiry information, the user's identifier is obtained. Then, with user authorization, the user's user profile is obtained based on the user identifier. The user profile includes at least information about the user's operational behavior regarding any financial product. Finally, the user's inquiry is predicted based on the user profile, and the response information for the inquiry is determined.
[0054] As can be seen from the above, when this application receives a user's inquiry information, it immediately obtains the user's user identifier and then obtains the user's user profile based on the user's user identifier. It should be noted that during this period, the user may have just begun to express themselves. Subsequently, this application predicts the user's inquiry question based on the user profile and determines the response information for the inquiry question. In other words, through the technical solution of this application, the user's inquiry question and corresponding response information can be predicted even before the user has finished expressing themselves (e.g., just beginning to express themselves or in the process of expressing themselves). Compared with the prior art, the solution of this application can greatly improve the timeliness and efficiency of responding to user inquiry information.
[0055] Furthermore, the technical solution of this application is not affected by the user's ability to express themselves. Instead, it predicts the user's questions and responses based on the user's actual operational behavior information regarding any financial product, thereby improving the accuracy of the prediction of questions and responses.
[0056] Therefore, the technical solution of this application can not only improve the timeliness of responding to user inquiries, but also improve the accuracy of predicting user inquiries and response information, thereby solving the technical problem of low response efficiency to user inquiries in the prior art.
[0057] In one optional embodiment, the intelligent customer service system can also extract target information from the user's inquiry information, wherein the target information includes preset question keywords. Subsequently, the intelligent customer service system can predict the user's inquiry questions based on the user profile and the target information, and determine the response information regarding the inquiry questions.
[0058] Optionally, in this embodiment of the application, in addition to directly predicting the user's inquiry questions based on the user profile, preset question keywords can also be extracted from the user's inquiry information, thereby combining the user profile with the extracted preset question keywords to more accurately determine the questions the user wants to inquire about.
[0059] For example, when a user calls to inquire, the intelligent customer service system can directly obtain the user's profile based on the caller ID. Then, based on the user profile, it can predict at least one question the user might want to ask. For instance, in this case, the intelligent customer service system predicts the three questions listed in Table 1 above. Furthermore, during the voice communication between the customer service representative and the user, the intelligent customer service system extracts pre-defined question keywords from the user's voice inquiry. For example, if the intelligent customer service system extracts the keywords "credit card" and "application process," it can then filter the three questions in Table 1 based on these two keywords, ultimately determining that the user's inquiry should be "credit card application process."
[0060] It should be noted that although the embodiments of this application can directly predict users' inquiry questions and determine the response information based on user profiles, the embodiments of this application also support predicting users' inquiry questions based on user profiles and target information. The target information refers to information about preset question keywords included in the user's inquiry information. By combining user profiles with target information to predict users' inquiry questions, the accuracy of predicting users' inquiry questions can be improved.
[0061] In one optional embodiment, the intelligent customer service system can input a user profile into a first model branch, extract a first feature vector from the user profile through the first model branch, and predict the user's inquiry question based on the first feature vector. The first model branch is a neural network model branch trained using historical user profiles and historical inquiry questions as training samples. Subsequently, the intelligent customer service system can also input the user's inquiry question into a second model branch connected to the first model branch, convert the inquiry question into a second feature vector through the second model branch, and predict the response information regarding the inquiry question based on the second feature vector. The second model branch is a neural network model branch trained using historical user inquiry questions and response information.
[0062] Optionally, the intelligent customer service system deploys a neural network model, in which, for example... Figure 2 As shown, the neural network model includes a first model branch and a second model branch. After obtaining the user profile, the intelligent customer service system can input the user profile into the first model branch. The first model branch is used to extract a first feature vector from the user profile, which represents the user's operational behavior characteristics related to financial products. Furthermore, the first model branch also predicts the user's inquiry questions based on the first feature vector, using prior knowledge learned during model training.
[0063] Optionally, such as Figure 2 As shown, the second model branch is connected to the first model branch, where the output of the first model branch (i.e., the user's consultation question predicted by the first model branch) serves as the input to the second model branch. After receiving the user's consultation question predicted by the first model branch, the second model branch converts the consultation question into a second feature vector, which represents the semantic information of the consultation question. Furthermore, the second model branch can also predict response information about the consultation question based on the second feature vector.
[0064] As shown above, through the two branches of the neural network model, the intelligent customer service system can quickly handle a large number of user inquiries, significantly improving processing efficiency compared to traditional human customer service. Furthermore, through the training and prediction of the neural network model, the system can accurately predict user inquiries, reducing the possibility of misjudgments.
[0065] In one alternative embodiment, Figure 3 This is a training flowchart of an optional first model branch according to an embodiment of this application, such as... Figure 3 As shown, it includes the following steps:
[0066] Step S301: Input the user profile of the historical user into the first encoder, and extract the feature vector from the user profile of the historical user through the first encoder.
[0067] In step S301, the feature vector is used to characterize the operational behavior characteristics of historical users regarding financial products.
[0068] Step S302: The first decoder connected to the first encoder generates a prediction result based on the feature vector.
[0069] In step S302, the prediction result represents the historical consultation questions proposed by users as predicted by the first decoder.
[0070] Step S303: Detect the semantic difference between the prediction results and the historical consultation questions of historical users.
[0071] Step S304: The first encoder and the first decoder are iteratively updated multiple times based on the semantic difference value, and the first encoder and the first decoder after multiple iterations are connected to form the first model branch.
[0072] Optionally, in step S304, the first encoder and the first decoder can be iteratively updated multiple times based on the semantic difference value. The first encoder extracts new feature vectors from the user profiles of historical users after each update, and the first decoder regenerates the prediction results based on the latest feature vectors extracted by the first encoder after each update. This continues until the first encoder inputs the feature vectors extracted from the user profiles of historical users N times consecutively into the first decoder. The first decoder stops updating the first encoder and the first decoder when the semantic difference value between the prediction results generated by each extracted feature vector and the historical consultation questions is less than a preset threshold. Here, N is an integer greater than or equal to 1.
[0073] Finally, the first encoder and the first decoder after the last update are connected to form the first model branch.
[0074] Optionally, Figure 4 This is a schematic diagram of the training process of an optional first model branch according to an embodiment of this application, as shown below. Figure 4 As shown:
[0075] Step 1: Input the user profile of the historical user into the first encoder. The first encoder uses the built-in neural function to perform feature extraction operation, extract the operational behavior features of the historical user for at least one financial product, and convert the extracted operational behavior features into feature vectors.
[0076] Step 2: The first encoder inputs the feature vector into the first decoder. The first decoder uses its built-in neuron function to calculate the feature vector and obtain the prediction result. The prediction result represents the historical consultation question predicted by the first decoder (this question may be the same as or different from the consultation question proposed by the historical user).
[0077] Step 3: Detect the semantic difference value between the prediction result and the historical consultation questions of historical users. The semantic difference value essentially represents the degree of semantic difference between the consultation questions predicted by the first decoder and the actual historical consultation questions proposed by the historical users.
[0078] Step 4: Update the neuron functions in the first encoder and the first decoder based on the semantic difference values, including but not limited to weight updates, gradient value updates, etc.
[0079] Step 5: Repeat the above steps 1 to 4 until the first encoder inputs the feature vectors extracted from the user profile of the historical user into the first decoder, and the semantic difference between the prediction result generated by the first decoder based on each extracted feature vector and the historical consultation question is less than a preset threshold, then stop updating the first encoder and the first decoder.
[0080] For example, if the first encoder performs feature extraction operations three times in a row (assuming N is 3), and each feature operation extracts feature vectors from the user profiles of historical users, and the semantic difference between the prediction results generated by the first decoder and the historical consultation questions is less than a preset threshold after each extracted feature vector is input to the first decoder, it indicates that the first encoder and the first decoder have entered the convergence state. At this time, the updates of the first encoder and the first decoder can be stopped, and the first encoder after the last update and the first decoder after the last update are connected to form the first model branch.
[0081] As can be seen from the above, by iteratively training the first encoder and the first decoder, a neural network model branch with sufficient fitting ability can be trained. This neural network model branch not only has good feature extraction ability, but also good feature processing ability and prediction ability.
[0082] In one alternative embodiment, Figure 5 This is a training flowchart of an optional second model branch according to an embodiment of this application, such as... Figure 5 As shown, it includes the following steps:
[0083] Step S501: Input the historical consultation questions of historical users into the second encoder, and extract word feature vectors from the historical consultation questions of historical users through the second encoder.
[0084] In step S501, the word feature vector is used to characterize the keyword information of historical consultation questions.
[0085] Step S502: The predicted response information is determined from the knowledge base based on the word feature vector by the second decoder connected to the second encoder.
[0086] In step S502, the predicted response information represents the response information about historical consultation questions predicted by the second decoder.
[0087] Step S503: Detect the semantic difference between the predicted response information and the historical user's consultation response information.
[0088] Step S504: The second encoder and the second decoder are iteratively updated multiple times based on the semantic difference value of the information, and the updated second encoder and the second decoder are connected to form the second model branch.
[0089] Optionally, in step S504, the second encoder and the second decoder can be iteratively updated multiple times based on the semantic difference value. The second encoder extracts new word feature vectors from historical consultation questions after each update, and the second decoder regenerates the predicted response information based on the latest word feature vector extracted by the second encoder after each update. This continues until the second encoder inputs the word feature vectors extracted from historical consultation questions M times consecutively into the second decoder. In this case, the semantic difference value between the predicted response information generated by the second decoder based on each extracted word feature vector and the consultation response information of historical users is less than a preset threshold, and the updating of the second encoder and the second decoder stops. Here, M is an integer greater than or equal to 1.
[0090] Finally, the second encoder and the second decoder after the last update are connected to form the second model branch.
[0091] Optionally, Figure 6 This is a schematic diagram of the training process of an optional second model branch according to an embodiment of this application, as shown below. Figure 6 As shown:
[0092] Step 1: Input the historical consultation questions of historical users into the second encoder. The second encoder uses the built-in neuron function to extract keywords and convert the extracted keywords into word vectors (i.e. word feature vectors).
[0093] Step 2: The second encoder inputs the word feature vector into the second decoder. The second decoder uses its built-in neuron function to compare the word feature vector with the semantic vector of related knowledge in the knowledge base (such as preset consultation questions and preset response information). Based on the comparison result, the predicted response information is determined from the knowledge base. The predicted response information represents the response information predicted by the second decoder for historical consultation questions.
[0094] Step 3: Detect the semantic difference value between the predicted response information and the actual consultation response information. The semantic difference value essentially represents the degree of semantic difference between the response information predicted by the second decoder and the actual response information.
[0095] Step 4: Update the neuron functions in the second encoder and the second decoder according to the semantic difference values of the information, including but not limited to weight updates, gradient value updates, etc.
[0096] Step 5: Repeat the above steps 1 to 4 until the second encoder inputs the word feature vectors extracted from the historical consultation questions M times consecutively into the second decoder, and the semantic difference between the predicted response information generated by the second decoder based on each extracted word feature vector and the historical user's consultation response information is less than a preset threshold, then stop updating the second encoder and the second decoder.
[0097] For example, if the second encoder performs two consecutive word vector extraction operations (assuming M is 2), each word vector extraction operation extracts word feature vectors from historical user queries, and the semantic difference between the predicted response information generated by the second decoder and the actual response information is less than a preset threshold after each extracted word feature vector is input to the second decoder, it indicates that the second encoder and the second decoder have entered a convergent state. At this time, the updates of the second encoder and the second decoder can be stopped, and the second encoder after the last update and the second decoder after the last update can be connected to form the second model branch.
[0098] As can be seen from the above, by iteratively training the second encoder and the second decoder, a second model branch with sufficient fitting ability can be trained. This model branch not only has good feature extraction ability, but also good feature processing ability and prediction ability.
[0099] In one optional embodiment, the intelligent customer service system can further obtain the semantic vector of each of the K preset user questions in the knowledge base, where K is an integer greater than 1. Then, the intelligent customer service system calculates the similarity between the semantic vector and the word feature vector of each preset user question, obtains the semantic vector of the preset response information for each preset user question, and determines a correlation vector based on the semantic vector and word feature vector of the preset response information for each preset user question. The correlation vector is used to characterize the contextual correlation between the preset response information of each preset user question and the historical consultation questions of historical users.
[0100] Finally, the intelligent customer service system determines the predicted response information from the preset response information of K preset user questions based on the similarity between the relevance vector and the semantic vector and word feature vector of each preset user question.
[0101] Optionally, the semantic vectors of preset user questions are first obtained: K preset user questions in the knowledge base are preprocessed, including word segmentation, removal of stop words, etc., and then each preset user question is converted into a semantic vector using Word2Vec, GloVe or other word embedding methods.
[0102] Secondly, the similarity between the word feature vector and the semantic vector of the preset user question is calculated. For example, the cosine similarity between the semantic vector of each preset user question and the word feature vector is calculated to measure the similarity between them.
[0103] Optionally, obtain the semantic vector of the preset response information: similar to the preset user questions, the preset response information of each preset user question needs to be preprocessed and converted into a semantic vector using the same word embedding method.
[0104] Optionally, the relevance vector is determined: the relevance vector is determined based on the semantic vector of the preset response information and the feature vector of the input word. This can be achieved by calculating the cosine similarity between the semantic vector of the preset response information and the feature vector of the input word. Each element in the relevance vector represents the similarity between a preset response information and the feature vector of the input word.
[0105] Optionally, the predicted response information is determined by comparing the similarity between the relevance vector and the semantic vector of each predefined user question with the feature vector of the input words. This can be achieved through the following steps:
[0106] a. For each preset user question, multiply its similarity to the input word feature vector by the relevance vector of the corresponding preset response information to obtain a weight vector.
[0107] b. Normalize the weight vector so that the sum of all elements is 1, so that it can be regarded as a probability distribution.
[0108] c. From the K preset response information, select the most likely response information as the predicted response information according to the probability distribution of the weight vector.
[0109] As can be seen from the above, this application comprehensively judges the contextual relevance between the preset response information of each preset user question and the historical consultation questions of historical users, and the similarity between the semantic vector and word feature vector of each preset user question, and determines the predicted response information from the preset response information of K preset user questions, thereby achieving the technical effect of improving the accuracy of predicting response information.
[0110] According to an embodiment of this application, an embodiment of an information processing apparatus is also provided. Figure 7 This is a schematic diagram of an optional information processing apparatus according to an embodiment of this application, such as... Figure 7 As shown, the information processing device includes: a first acquisition unit 701, a second acquisition unit 702, and a processing unit 703.
[0111] Optionally, the first acquisition unit 701 is used to acquire the user's user identifier when receiving the user's input consultation information; the second acquisition unit 702 is used to acquire the user's user profile based on the user's user identifier with the user's authorization, wherein the user profile includes at least the user's operational behavior information for any financial product; and the processing unit 703 is used to predict the user's consultation question based on the user profile and determine the response information for the consultation question.
[0112] As can be seen from the above, when this application receives a user's inquiry information, it immediately obtains the user's user identifier and then obtains the user's user profile based on the user's user identifier. It should be noted that during this period, the user may have just begun to express themselves. Subsequently, this application predicts the user's inquiry question based on the user profile and determines the response information for the inquiry question. In other words, through the technical solution of this application, the user's inquiry question and corresponding response information can be predicted even before the user has finished expressing themselves (e.g., just beginning to express themselves or in the process of expressing themselves). Compared with the prior art, the solution of this application can greatly improve the timeliness and efficiency of responding to user inquiry information.
[0113] Furthermore, the technical solution of this application is not affected by the user's ability to express themselves. Instead, it predicts the user's questions and responses based on the user's actual operational behavior information regarding any financial product, thereby improving the accuracy of the prediction of questions and responses.
[0114] Optionally, the processing unit 703 includes: a first processing subunit and a second processing subunit. The first processing subunit is used to extract target information from the user's inquiry information, wherein the target information includes preset question keywords; the second processing subunit is used to predict the user's inquiry question based on the user profile and the target information, and determine the response information regarding the inquiry question.
[0115] Optionally, the processing unit 703 includes a third processing subunit and a fourth processing subunit. The third processing subunit is used to input the user profile into a first model branch, extract a first feature vector from the user profile through the first model branch, and predict the user's consultation question based on the first feature vector. The first model branch is a neural network model branch trained using historical user profiles and historical consultation questions as training samples. The fourth processing subunit is used to input the user's consultation question into a second model branch connected to the first model branch, convert the consultation question into a second feature vector through the second model branch, and predict the response information regarding the consultation question based on the second feature vector. The second model branch is a neural network model branch trained using historical user consultation questions and consultation response information.
[0116] Optionally, the information processing device includes: a first input unit, a first generation unit, a first detection unit, and a first training unit. The first input unit is used to input the user profile of historical users into a first encoder, and extract feature vectors from the user profiles of historical users through the first encoder. The feature vectors characterize the operational behavior characteristics of historical users regarding financial products. The first generation unit is used to generate a prediction result based on the feature vectors through a first decoder connected to the first encoder. The prediction result characterizes the consultation questions predicted by the first decoder from historical users. The first detection unit is used to detect the semantic difference value between the prediction result and the historical consultation questions of historical users. The first training unit is used to iteratively update the first encoder and the first decoder multiple times based on the semantic difference value, and connect the iteratively updated first encoder and first decoder to form a first model branch.
[0117] Optionally, the first training unit includes: a first training subunit and a first determining subunit. The first training subunit is used to iteratively update the first encoder and the first decoder multiple times based on semantic difference values. It extracts new feature vectors from the user profiles of historical users using the updated first encoder each time, and regenerates prediction results using the latest feature vectors extracted by the first decoder each time, until the first encoder inputs the feature vectors extracted from the user profiles of historical users N consecutive times into the first decoder. Then, the first decoder stops updating the first encoder and the first decoder when the semantic difference value between the prediction results generated by each extracted feature vector and the historical consultation question is less than a preset threshold, where N is an integer greater than or equal to 1. The first determining subunit is used to connect the last updated first encoder and the last updated first decoder to form a first model branch.
[0118] Optionally, the information processing device includes: a second input unit, a second generation unit, a second detection unit, and a second training unit. The second input unit is used to input historical user queries into a second encoder, which extracts word feature vectors from the historical user queries, where the word feature vectors represent keyword information of the historical query. The second generation unit is used to determine predicted response information from a knowledge base based on the word feature vectors using a second decoder connected to the second encoder, where the predicted response information represents the response information predicted by the second decoder regarding the historical query. The second detection unit is used to detect the semantic difference between the predicted response information and the historical user's query response information. The second training unit is used to iteratively update the second encoder and the second decoder multiple times based on the semantic difference, and connect the iteratively updated second encoder and second decoder to form a second model branch.
[0119] Optionally, the second training unit includes: a second training subunit and a second determining subunit. The second training subunit is used to iteratively update the second encoder and the second decoder multiple times based on the semantic difference value. Each updated second encoder extracts new word feature vectors from historical consultation questions, and each updated second decoder regenerates predicted response information based on the latest extracted word feature vectors from the second encoder. This continues until the second encoder inputs word feature vectors extracted from historical consultation questions M consecutively into the second decoder, and the semantic difference value between the predicted response information generated by the second decoder based on each extracted word feature vector and the historical user's consultation response information is less than a preset threshold, at which point the updating of the second encoder and the second decoder stops. Here, M is an integer greater than or equal to 1. The second determining subunit is used to connect the last updated second encoder and the last updated second decoder to form a second model branch.
[0120] Optionally, the second generation unit includes: a first acquisition subunit, a calculation subunit, a second acquisition subunit, a third determination subunit, and a fourth determination subunit. The first acquisition subunit is used to acquire the semantic vector of each of the K preset user questions in the knowledge base, where K is an integer greater than 1; the calculation subunit is used to calculate the similarity between the semantic vector and the word feature vector of each preset user question; the second acquisition subunit is used to acquire the semantic vector of the preset response information of each preset user question; the third determination subunit is used to determine a correlation vector based on the semantic vector and the word feature vector of the preset response information of each preset user question, where the correlation vector represents the contextual correlation between the preset response information of each preset user question and the historical consultation questions of historical users; the fourth determination subunit is used to determine predicted response information from the preset response information of the K preset user questions based on the correlation vector and the similarity between the semantic vector and the word feature vector of each preset user question.
[0121] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the information processing method of any one of the above-mentioned methods when running.
[0122] According to another aspect of the embodiments of this application, an electronic device is also provided, wherein the electronic device includes one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement an information processing method for running the programs, wherein the programs are configured to execute any of the above-mentioned information processing methods during runtime.
[0123] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0124] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0125] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0126] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0127] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0128] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0129] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. An information processing method, characterized in that, include: Upon receiving a user's input inquiry information, obtain the user's user identifier; With the user's authorization, a user profile of the user is obtained based on the user's user identifier, wherein the user profile includes at least the user's operational behavior information for any financial product; The process of predicting a user's inquiry based on the user profile and determining response information for the inquiry includes: inputting the user profile into a first model branch, extracting a first feature vector from the user profile through the first model branch, and predicting the user's inquiry based on the first feature vector; inputting the user's inquiry into a second model branch connected to the first model branch, converting the inquiry into a second feature vector through the second model branch, and predicting the response information for the inquiry based on the second feature vector. The first model branch is trained through the following steps: The user profiles of historical users are input into the first encoder, which extracts feature vectors from these profiles. These feature vectors characterize the historical users' operational behavior regarding financial products. A first decoder connected to the first encoder generates a prediction result based on the feature vectors. This prediction result characterizes the consultation questions predicted by the first decoder from the historical users. The semantic difference between the prediction result and the historical consultation questions is detected. The first encoder and the first decoder are iteratively updated multiple times based on the semantic difference, and the updated encoder and decoder are connected to form the first model branch. The second model branch is trained through the following steps: The historical consultation questions of the historical users are input into the second encoder, which extracts word feature vectors from the historical consultation questions. The word feature vectors are used to represent the keyword information of the historical consultation questions. The second decoder, connected to the second encoder, determines the predicted response information from the knowledge base based on the word feature vectors. The predicted response information represents the response information predicted by the second decoder regarding the historical consultation questions. The semantic difference value between the predicted response information and the consultation response information of the historical users is detected. The second encoder and the second decoder are iteratively updated multiple times based on the semantic difference value, and the updated second encoder and the second decoder are connected to form the second model branch.
2. The information processing method according to claim 1, characterized in that, Based on the user profile, predict the user's inquiry questions and determine the response information regarding the inquiry questions, including: Extract target information from the user's consultation information, wherein the target information includes information containing preset question keywords; Based on the user profile and the target information, predict the user's inquiry questions and determine the response information for the inquiry questions.
3. The information processing method according to claim 1, characterized in that, The first encoder and the first decoder are iteratively updated multiple times based on the semantic difference value, and the updated first encoder and the first decoder are connected to form the first model branch, including: The first encoder and the first decoder are iteratively updated multiple times based on the semantic difference value. The first encoder extracts new feature vectors from the user profile of the historical user after each update, and the first decoder regenerates the prediction result based on the latest feature vector extracted by the first encoder after each update. The update continues until the first encoder inputs the feature vectors extracted from the user profile of the historical user N times consecutively into the first decoder. The first decoder stops updating the first encoder and the first decoder when the semantic difference value between the prediction result generated by the first decoder based on each extracted feature vector and the historical consultation question is less than a preset threshold. Here, N is an integer greater than or equal to 1. The first encoder and the first decoder after the last update are connected to form the first model branch.
4. The information processing method according to claim 3, characterized in that, The second encoder and the second decoder are iteratively updated multiple times based on the semantic difference value, and the updated second encoder and the second decoder are connected to form the second model branch, including: The second encoder and the second decoder are iteratively updated multiple times based on the semantic difference value. The second encoder extracts new word feature vectors from the historical consultation questions after each update, and the second decoder regenerates the predicted response information based on the latest word feature vector extracted by the second encoder after each update. The updates continue until the second encoder inputs the word feature vectors extracted from the historical consultation questions M times consecutively into the second decoder. The semantic difference value between the predicted response information generated by the second decoder based on each extracted word feature vector and the consultation response information of the historical user is less than a preset threshold. The updates to the second encoder and the second decoder are then stopped. Here, M is an integer greater than or equal to 1. The second encoder and the second decoder after the last update are connected to form the second model branch.
5. The information processing method according to claim 4, characterized in that, The predicted response information is determined from the knowledge base by a second decoder connected to the second encoder based on the word feature vector, including: Obtain the semantic vector of each of the K preset user questions in the knowledge base, where K is an integer greater than 1; Calculate the similarity between the semantic vector of each preset user question and the word feature vector; Obtain the semantic vector of the preset response information for each preset user question; A correlation vector is determined based on the semantic vector of the preset response information for each preset user question and the word feature vector, wherein the correlation vector is used to characterize the contextual correlation between the preset response information for each preset user question and the historical consultation questions of the historical users; The predicted response information is determined from the preset response information of the K preset user questions based on the similarity between the correlation vector and the semantic vector of each preset user question and the word feature vector.
6. An information processing device, characterized in that, include: The first acquisition unit is used to acquire the user's user identifier when it receives the consultation information input by the user; The second acquisition unit is used to acquire a user profile of the user based on the user identifier when authorized by the user, wherein the user profile includes at least the user's operational behavior information for any financial product; The processing unit is configured to predict the user's inquiry questions based on the user profile and determine the response information regarding the inquiry questions; The processing unit includes a third processing subunit and a fourth processing subunit. The third processing subunit is configured to input the user profile into a first model branch, extract a first feature vector from the user profile through the first model branch, and predict the user's inquiry based on the first feature vector. The fourth processing subunit is configured to input the user's inquiry into a second model branch connected to the first model branch, convert the inquiry into a second feature vector through the second model branch, and predict the response information regarding the inquiry based on the second feature vector. The information processing device further includes: a first input unit, configured to input a user profile of a historical user into a first encoder, and extract a feature vector from the user profile of the historical user through the first encoder, wherein the feature vector is used to characterize the operational behavior characteristics of the historical user regarding financial products; a first generation unit, configured to generate a prediction result based on the feature vector through a first decoder connected to the first encoder, wherein the prediction result characterizes the consultation question predicted by the first decoder from the historical user; a first detection unit, configured to detect the semantic difference value between the prediction result and the historical consultation question of the historical user; and a first training unit, configured to perform multiple iterative updates on the first encoder and the first decoder based on the semantic difference value, and connect the updated first encoder and the first decoder to form the first model branch; The information processing device further includes: a second input unit, configured to input the historical consultation questions of the historical user into a second encoder, and extract word feature vectors from the historical consultation questions of the historical user through the second encoder, wherein the word feature vectors are used to represent the keyword information of the historical consultation questions; a second generation unit, configured to determine predicted response information from a knowledge base based on the word feature vectors through a second decoder connected to the second encoder, wherein the predicted response information represents the response information predicted by the second decoder regarding the historical consultation questions; a second detection unit, configured to detect the information semantic difference value between the predicted response information and the consultation response information of the historical user; and a second training unit, configured to perform multiple iterative updates on the second encoder and the second decoder based on the information semantic difference value, and connect the updated second encoder and the second decoder to form the second model branch.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the information processing method according to any one of claims 1 to 5 when it is run.
8. An electronic device, characterized in that, The electronic device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to perform the program, wherein the program is configured to execute the information processing method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Consultation question prediction method, electronic equipment and computer readable storage medium
CN117708558A
Method and apparatus for constructing user portrait on the basis of inquiry session, device, and medium
WO2023029502A1
