System and method for finetuning automated sentiment analysis
Abstract
A method and system for finetuning automated sentiment classification by at least one processor may include: receiving a first machine learning (ML) model M 0 , pretrained to perform automated sentiment classification of utterances, based on a first annotated training dataset; associating one or more instances of model M 0 to one or more corresponding sites; and for one or more (e.g., each) ML model M 0 instance and/or site: receiving at least one utterance via the corresponding site; obtaining at least one data element of annotated feedback, corresponding to the at least one utterance; retraining the ML model M 0 , to produce a second ML model M 1 , based on a second annotated training dataset, wherein the second annotated training dataset may include the first annotated training dataset and the at least one annotated feedback data element; and using the second ML model M 1 , to classify utterances according to one or more sentiment classes.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method of finetuning automated sentiment classification by a computing system to handle new vocabularies introduced by domains of new deployments, the method comprising: receiving a base machine learning (ML) model M 0, pretrained to perform automated sentiment classification of utterances, based on a first annotated training dataset; deploying a respective instance of the base ML model M 0 to each of one or more respective instantiation environments; for each deployed ML model M 0 instance: receiving at least one respective utterance via a contact center application of the respective instantiation environment; obtaining at least one respective data element of annotated feedback, wherein the at least one respective data element of annotated feedback corresponds to the at least one respective utterance and to a respective prediction, determined by the deployed ML model M 0 instance, of a sentiment class of the at least one respective utterance and includes a user determined classifica
- Claim 2Depends on #1
The method of claim 1, wherein obtaining the at least one respective data element of annotated feedback is done interactively, via a user interface (UI) associated with the respective instantiation environment.
- Claim 3Depends on #1
The method of claim 1, wherein the user determined classification of the at least one respective utterance comprises classification of the at least one respective utterance according to two or more sentiment classes.
- Claim 4Depends on #1
The method of claim 1, further comprising: receiving an annotated validation dataset, comprising a plurality of utterances, and computing a corresponding plurality of confidence scores, wherein each confidence score represents a certainty level of classification of an utterance to a sentiment class; sorting the utterances of the validation dataset in an ordered list, according to the computed confidence scores; for one or more entries of the ordered list, computing a value of classification precision; identifying an index of the ordered list that corresponds to a required classification precision value; and determining the confidence score of the identified index as a prediction threshold for classifying utterances as belonging to the sentiment class.
- Claim 5Independent Claim
A method of finetuning automated sentiment classification by a computing system to handle new vocabularies introduced by domains of new deployments, the method comprising: receiving a base ML model M 0, pretrained to perform automated sentiment classification of utterances, wherein the base model M 0 is associated with at least one prediction threshold; deploying a respective instance of the base model M 0 to each of one or more respective instantiation environments; for each deployed ML model M 0 instance: receiving at least one respective utterance via a contact center application of the respective instantiation environment; obtaining at least one respective data element of annotated feedback, wherein the at least one respective data element of annotated feedback corresponds to the at least one respective utterance and to a respective prediction, determined by the deployed ML model M 0, of a sentiment class of the at least one respective utterance and includes a user determined class
- Claim 6Depends on #5
The method of claim 5 wherein obtaining the at least one respective data element of annotated feedback comprises: presenting one or more utterances to a user, via a UI; and obtaining the at least one respective data element of annotated feedback from the user via the UI, wherein the annotated feedback comprises classification of the presented one or more utterances according to two or more sentiment classes.
- Claim 7Depends on #6
The method of claim 6, wherein presenting one or more utterances comprises: calculating a plurality of confidence scores to a corresponding plurality of utterances, according to each utterance's pertinence to a sentiment class; selecting a subset of utterances of the plurality of utterances for feedback based on their respective confidence scores; and presenting the selected subset of utterances via the UI.
- Claim 8Depends on #7
The method of claim 7, wherein selecting one or more utterances for feedback comprises, for each sentiment class: selecting a first subset of utterances that surpass a selection threshold from the plurality of utterances; and randomly selecting a second subset of utterances from the first subset; and presenting the second subset of utterances via the UI.
Technical Overview & Description
FIELD OF THE INVENTION The present invention relates generally to the field of automated natural language processing. More specifically, the present invention relates to finetuning automated sentiment classification. BACKGROUND OF THE INVENTION Sentiment analysis is the task of detecting sentiments in written text or verbal utterances, including for example, sentiments such as happiness, anger, surprise, and sarcasm. Currently available methods for performing sentiment analysis may include, for example, training a machine learning (ML) model to differentiate sentimental sentences from neutral sentences. For an input sentence, such a ML model may return a sentiment class and a score which may reflect its confidence level in the prediction. One commercial aspect of employing sentiment analysis may be found in the domain of contact centers. In this domain, sentiment analysis is mainly used for detecting sentiments that are expressed by customers during their interactions with a company's agent. Such interactions can take the form of chats, emails, social media, voice calls and the like. In the latter case, the term sentiment analysis may refer to analysis of text that is generated from the voice call by an automated speech recognition engine. Naturally, any sentiment classification model may produce incorrect predictions, which can be either total and objective, or subjective per the perception of the call center analyst. Inherent difficulties in deployment of sentiment analysis models or systems may arise when the system encounters a new domain, which was not included in the training material, and meets new vocabulary or words that may have a specific meaning in the new domain. SUMMARY OF THE INVENTION Embodiments of the invention may address this challenge, by implementing an interactive process, by which users may be allowed to provide feedback on predictions made by the application, and thus affect its future predictions. Embodiments of the invention may leverage t
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (1)
- PCT International Search Report and Written Opinion regarding co-pending PCT application No. PCT/US2021/031991 mailed on Feb. 7, 2022.