WO2022159446A1 - Aspect-aware sentiment analysis of user reviews - Google Patents

Aspect-aware sentiment analysis of user reviews Download PDF

Info

Publication number
WO2022159446A1
WO2022159446A1 PCT/US2022/012913 US2022012913W WO2022159446A1 WO 2022159446 A1 WO2022159446 A1 WO 2022159446A1 US 2022012913 W US2022012913 W US 2022012913W WO 2022159446 A1 WO2022159446 A1 WO 2022159446A1
Authority
WO
WIPO (PCT)
Prior art keywords
sentiment
rating
user
pairs
attention
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2022/012913
Other languages
French (fr)
Inventor
Wei Cheng
Wenchao YU
Haifeng Chen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Laboratories America Inc
Original Assignee
NEC Laboratories America Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Laboratories America Inc filed Critical NEC Laboratories America Inc
Publication of WO2022159446A1 publication Critical patent/WO2022159446A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0281Customer communication at a business location, e.g. providing product or service information, consulting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Recommending goods or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/216Parsing using statistical methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates

Definitions

  • the present invention relates to sentiment analysis, and, more particularly, to automated analysis of user reviews.
  • a rating -prediction method includes extracting aspect- sentiment pairs from an input text.
  • An attention-property-aware rating is estimated for the input text using the extracted aspect- sentiment pairs with a neural network that captures implicit and explicit features of the text.
  • a response to the input text is performed based on the estimated rating.
  • a rating prediction system includes a hardware processor and a memory that stores a computer program. When executed by the hardware processor, the computer program causes the hardware processor to extract aspect-sentiment pairs from an input text, to estimate an attention-property-aware rating for the input text using the extracted aspect- sentiment pairs with a neural network that captures implicit and explicit features of the text, and to perform a response to the input text based on the estimated rating.
  • FIG. 1 is a block/flow diagram of a method for predicting ratings based on written text and responding to such predictions, in accordance with an embodiment of the present invention
  • FIG. 2 is a block/flow diagram of a method for predicting ratings based on aspect- sentiment pair extraction, in accordance with an embodiment of the present invention
  • FIG. 3 is a block diagram illustrating a process pipeline for aspect-sentiment pair extraction that uses multiple sources for sentiment extraction, in accordance with an embodiment of the present invention
  • FIG. 4 is a block diagram illustrating a process pipeline for rating estimation that includes explicit and implicit sentiment recognition, in accordance with an embodiment of the present invention
  • FIG. 5 is a pseudo-code segment of a process for generating a set of sentiment terms from a variety of sources, in accordance with an embodiment of the present invention
  • FIG. 6 is a pseudo-code segment of a process for extracting sentiment aspectsentiment pairs from an input text, in accordance with an embodiment of the present invention
  • FIG. 7 is a block diagram of a computer system that is configured to perform sentiment extraction and review scoring, in accordance with an embodiment of the present invention
  • FIG. 8 is a block diagram of an exemplary neural network architecture that can be used to perform natural language processing, in accordance with an embodiment of the present invention
  • FIG. 9 is a block diagram of an exemplary deep neural network architecture that can be used to perform natural language processing, in accordance with an embodiment of the present invention.
  • FIG. 10 is a block diagram illustrating how reviews of various products may be used to generate recommendations, in accordance with an embodiment of the present invention.
  • Rating prediction can be performed using written review information, generating a numerical rating value based on an input review of a product or service. This can be performed in a two-step process that uses unsupervised aspect- sentiment pair extraction (ASPE) that extracts (aspect, sentiment) pairs from raw review data, followed by attention-property-aware rating estimation (APRE), which uses the (aspect, sentiment) pairs as user attention and item property indicators by jointly considering frequency and sentiment of aspect mentions.
  • APE unsupervised aspect- sentiment pair extraction
  • API attention-property-aware rating estimation
  • APRE may encode text by a contextualized language encoder and processes implicit text features in addition to the annotated terms, forming a dual-channel rating regression.
  • the joint efforts of APRE and ASPE can extract explicit aspect-based attention and property information and provide rating predictions with good performance.
  • Aspect- level user attitude differs from user preference in that the user attitude produced by the interaction of user attention and item properties are sophisticated and granular attitude sentiments. Preferences, meanwhile, are coarse sentiments such as, “like,” “dislike,” or “neutral.” Whereas preference-based models may infer that a first and second reviewers like headsets based on their high ratings for a headset, an attitudebased approach can further identify that it is headset comfort that matters to one of the users, rather than simply that the item is a headset. Aspect-level attitude modeling signifies a more accurate and informative personalization than preference-based modeling.
  • the respective sentiment is classified to determine how the user feels about the aspect. For example, the first reviewer is satisfied with the microphone and praises the sound quality, whereas the third reviewer is unsatisfied with the microphone and enjoys the comfort of the product.
  • This table illustrates the impact of users’ attitudes.
  • the microphone quality is controversial, since the second and third reviewers criticize it, but the first reviewer praises it.
  • the first and second reviewers disagree regarding the microphone, which is the second reviewers major concern, resulting in a divergence in the ratings.
  • the third reviewer neglects that disadvantages and rates the product highly for its superior comfort.
  • a granular understanding of the users’ differing sentiments toward different aspects of the product/service can be based on a clear and definitive identification of the aspects.
  • sentiment term extraction may instead take advantage of unsupervised neural network processing to identify aspect information from existing corpuses.
  • Block 102 trains a recommendation system based on a corpus of review text and associated user ratings for one or more goods or services.
  • This recommendation system may be implemented using neural networks, for example to perform APRE.
  • the APRE model may be trained to extract aspect/sentiment pairs from textual rating information and to generate numerical ratings from the extracted pairs.
  • ASPE need not have specific training and testing, since it is used for preprocessing to extract the (aspect, sentiment) pairs.
  • Block 104 thus predicts numerical ratings based on an input textual review.
  • the trained ASPE model identifies (aspect, sentiment) information from the textual review, which is used as input to the APRE model.
  • the APRE model uses information about the user’s attention to predict a numerical rating for the input textual review.
  • Block 106 uses the generated rating to perform a responsive action. For example, block 106 may make a recommendation to the user who wrote the input textual review. The numerical rating helps to identify other products/services that the user might be interested in, so that the user is likely to purchase those goods/services. For example, if a first user gives high ratings to a first product, and said it was because the product has good battery life, then other users’ reviews of a second product that mention good battery life may be used to determine that the first user would also rate the second product highly. Block 106 could therefore recommend the second product to the first user.
  • the term R u denotes all reviews made by a user u
  • the term R f denotes all reviews received by an item /.
  • a rating regressor function T takes as input a tuple that describes a review-and-rate event of (it, t) and corresponding review sets R u and R f and outputs a rating score s u t by:
  • the rating regressor function T may be expressed as a pipeline of two tightly coupled sub-functions, including ASPE and APRE.
  • ASPE unsupervised ASPE label (aspect, sentiment) pairs are used by APRE to capture user attention and item properties and to predict rating scores.
  • ASPE model 202 processes the input recommendation text to generate (aspect, sentiment) pairs.
  • APRE model 204 Given the reviews and the corresponding (aspect, sentiment) pairs, APRE model 204 generates a numerical rating using a score regression.
  • the sentiment extraction of APSE 202 may integrate multiple approaches to identifying sentiment terms. For example, pointwise mutual information may be used to measure statistical word associations within a text corpus.
  • the sentiment polarity (e.g., positive vs negative) of words may be measured with the help of a small number of sentiment seed words.
  • Candidate sentiment terms that satisfy part-of-speech patterns may be extracted and the polarity of each candidate term w may be measured by: where s + represents positive sentiment seed words and s represents negative sentiment seed words.
  • Another approach may include the use of a coextraction model to label (aspect, similarity) pairs in the domain of training data. For sentiment terms with consistent semantics in different domains, such as “good” and “great,” neural network models can provide robust extraction recall.
  • a stochastic deep resilient network (SDRN) may be used to generate ST NN .
  • a sentiment lexicon can be integrated to provide another source of sentiment terms, ST knowiedge .
  • Pair candidates may be labeled using dependency parsing, and non- sentimentcarrying candidates may then be filtered out using the extracted sentiment set ST .
  • Dependency parsing extracts grammatical dependency relations between the words in a sentence.
  • Some nouns which may be considered potential aspects, are modified by adjectives with two types of dependency relations, such as amod and nsubj+acomp. Pairs of nouns and corresponding adjectives may be extracted as (aspect, sentiment) pairs.
  • the amod relation may identify when an adjective modifies a noun
  • the nsubj+acomp may identify a verb’s subject as an aspect and may identify a comparative word as the sentiment.
  • the pair candidates may be noisy, as not all adjectives that are temporarily labeled as sentiment candidates have sentiment inclination.
  • the set ST may be used to filter out non-sentiment-carrying candidates having adjectives that are not in ST, producing an output (aspect, sentiment) pair set for review.
  • a special aspect token may be used for the nsubj+acomp rule, where nsubj maybe a pronoun of the item (e.g., “it” or “they”).
  • the numerical rank generation of APRE model 204 may accept reviews and (aspect, sentiment) pairs and may output ratings associated with respective reviews. Language may be encoded into vectorized representations, with explicit and implicit features being analyzed to compute a score regression. APRE model 204 uses aspect information by incorporating a d a -dimensional aspect representation E R da in each side of the substructures for review encoding.
  • the k aspect embeddings for the users may be denoted as A u and aspect embedding for items be denoted as A f , where d a is a number of dimensions of aspect representations.
  • Reviews may be encoded into a low-dimensional token embedding, for example using a transformer-based contextualized language encoder.
  • the resulting encoding H° 6 jjEI+2xd e ma y include (
  • a trainable linear transformation may be used to adapt raw token representations from H° to the task as is a transformed dimension of internal features.
  • the transformer-based contextualized language encoder encodes the token semantics based on the context, which resolve the polysemy of certain sentiment terms. For example, the term “cheap” is a positive sentiment when related to price, but is a negative sentiment when related to quality.
  • Some emotions may be conveyed without explicit sentiment word mentions.
  • the phrase, “But this one feels like a pillow,” does not include any overt sentiment tokens, but nonetheless expresses a strong sentiment of satisfaction with respect to comfort. This sentiment may be missed by annotation-based ASPE.
  • implicit semantic modeling may be used to capture such sentiments.
  • a global feature may be combined with a local context feature that is learned by a convolutional neural network (CNN) with an output channel of size n c , a kernel size n k with max pooling, and two token-level features.
  • the token-level features may include average and max pooling of H 1 to build a comprehensive multi-granularity review representation: where ReLU (•) represents a rectified linear unit activation function.
  • the implicit features v u and v t and the explicit features G u and G t can be combined to provide the input for rating predictor to estimate scores s u t by: where b u and b t are biases, v t ]): IR 2d f -> IR is an explicit feature, and ) is an implicit feature, with T im ⁇ ]R 2d im xk -> ]R k .
  • the feature terms represent multi-layer, fully-connected neural networks with rectified linear unit activation functions and with dropout to avoid overfitting. These neural networks model user attention and item property interactions of explicit and implicit channels, respectively.
  • the operator (•,•) indicates an inner product, while y 6 R k and ⁇ b u , b t ] ⁇ R are trainable parameters.
  • the optimization function may use an Li regularization term of the trainable parameter set 0 and may be expressed as:
  • the optimization function may be optimization using back-propagation, as described in greater detail below.
  • FIG. 3 a pipeline for ASPE 202 is shown. Multiple different models for generating sentiment terms are used, including a lexicon 304, neural network extraction 306, and pointwise mutual information extraction 308, the latter two of which use input review text 302 to identify likely sentiment terms. The different sets of sentiment terms are combined at union 312 to provide a full set of sentiment terms 314.
  • Dependency parsing 310 uses one or more dependency rules to parse the language of the input review text 302 and to identify pairs of words that have an aspectsentiment relationship. This generates AS-pair candidates 316 from the input review text 302. Using the combined sentiment term set 314 to filer the candidates 316, a final set of aspect-similarity pairs can be extracted in block 318.
  • An item review encoder 402 generates embeddings of reviews for a given item
  • a user review encoder 412 generates embeddings of reviews from a given user.
  • Each has a respective implicit path and explicit path, including implicit item channel 404, explicit item channel 406, implicit user channel 414, and explicit user channel 416.
  • the implicit paths are used as input for implicit features 420 and the explicit paths are used as input for explicit features T ex 430.
  • the implicit features and explicit features are both used to perform scoring 440, generating a score that corresponds to an input review.
  • Each of the item review encoder 402 and the user review encoder 412 may include a contextualized language encoder to process input text, as well as a variety of pooling and neural network processing operations.
  • pseudo-code is shown for extracting sentiment terms from a variety of sources.
  • the code determines sets of sentiment words from multiple sources, using different methodologies.
  • the code outputs a unified set of sentiment terms from the different sources.
  • pseudo-code is shown for implementing ASPE 202.
  • the code takes as input the set of sentiment terms and outputs (aspect, sentiment) pairs, using a dependency parser to identify candidates within input text.
  • FIG. 7 an exemplary computing device 700 is shown, in accordance with an embodiment of the present invention.
  • the computing device 700 is configured to perform sentiment extraction and review scoring.
  • the computing device 700 may be embodied as any type of computation or computer device capable of performing the functions described herein, including, without limitation, a computer, a server, a rack based server, a blade server, a workstation, a desktop computer, a laptop computer, a notebook computer, a tablet computer, a mobile computing device, a wearable computing device, a network appliance, a web appliance, a distributed computing system, a processor- based system, and/or a consumer electronic device. Additionally or alternatively, the computing device 700 may be embodied as a one or more compute sleds, memory sleds, or other racks, sleds, computing chassis, or other components of a physically disaggregated computing device.
  • the computing device 700 illustratively includes the processor 710, an input/output subsystem 720, a memory 730, a data storage device 740, and a communication subsystem 750, and/or other components and devices commonly found in a server or similar computing device.
  • the computing device 700 may include other or additional components, such as those commonly found in a server computer (e.g., various input/output devices), in other embodiments.
  • one or more of the illustrative components may be incorporated in, or otherwise form a portion of, another component.
  • the memory 730, or portions thereof, may be incorporated in the processor 710 in some embodiments.
  • the processor 710 may be embodied as any type of processor capable of performing the functions described herein.
  • the processor 710 may be embodied as a single processor, multiple processors, a Central Processing Unit(s) (CPU(s)), a Graphics Processing Unit(s) (GPU(s)), a single or multi-core processor(s), a digital signal processor(s), a microcontroller(s), or other processor(s) or proces sing/controlling circuit(s) .
  • the memory 730 may be embodied as any type of volatile or non-volatile memory or data storage capable of performing the functions described herein.
  • the memory 730 may store various data and software used during operation of the computing device 700, such as operating systems, applications, programs, libraries, and drivers.
  • the memory 730 is communicatively coupled to the processor 710 via the I/O subsystem 720, which may be embodied as circuitry and/or components to facilitate input/output operations with the processor 710, the memory 730, and other components of the computing device 700.
  • the VO subsystem 720 may be embodied as, or otherwise include, memory controller hubs, input/output control hubs, platform controller hubs, integrated control circuitry, firmware devices, communication links (e.g., point-to-point links, bus links, wires, cables, light guides, printed circuit board traces, etc.), and/or other components and subsystems to facilitate the input/output operations.
  • the VO subsystem 720 may form a portion of a system-on-a-chip (SOC) and be incorporated, along with the processor 710, the memory 730, and other components of the computing device 700, on a single integrated circuit chip.
  • SOC system-on-a-chip
  • the data storage device 740 may be embodied as any type of device or devices configured for short-term or long-term storage of data such as, for example, memory devices and circuits, memory cards, hard disk drives, solid state drives, or other data storage devices.
  • the data storage device 740 can store program code 740A for sentiment extraction and review scoring.
  • the communication subsystem 750 of the computing device 700 may be embodied as any network interface controller or other communication circuit, device, or collection thereof, capable of enabling communications between the computing device 700 and other remote devices over a network.
  • the communication subsystem 750 may be configured to use any one or more communication technology (e.g., wired or wireless communications) and associated protocols (e.g., Ethernet, InfiniBand®, Bluetooth®, Wi-Fi®, WiMAX, etc.) to effect such communication.
  • communication technology e.g., wired or wireless communications
  • protocols e.g., Ethernet, InfiniBand®, Bluetooth®, Wi-Fi®, WiMAX, etc.
  • the computing device 700 may also include one or more peripheral devices 760.
  • the peripheral devices 760 may include any number of additional input/output devices, interface devices, and/or other peripheral devices.
  • the peripheral devices 760 may include a display, touch screen, graphics circuitry, keyboard, mouse, speaker system, microphone, network interface, and/or other input/output devices, interface devices, and/or peripheral devices.
  • the computing device 700 may also include other elements (not shown), as readily contemplated by one of skill in the art, as well as omit certain elements.
  • various other sensors, input devices, and/or output devices can be included in computing device 700, depending upon the particular implementation of the same, as readily understood by one of ordinary skill in the art.
  • various types of wireless and/or wired input and/or output devices can be used.
  • additional processors, controllers, memories, and so forth, in various configurations can also be utilized.
  • the term “hardware processor subsystem” or “hardware processor” can refer to a processor, memory (including RAM, cache(s), and so forth), software (including memory management software) or combinations thereof that cooperate to perform one or more specific tasks.
  • the hardware processor subsystem can include one or more data processing elements (e.g., logic circuits, processing circuits, instruction execution devices, etc.).
  • the one or more data processing elements can be included in a central processing unit, a graphics processing unit, and/or a separate processor- or computing element-based controller (e.g., logic gates, etc.).
  • the hardware processor subsystem can include one or more on-board memories (e.g., caches, dedicated memory arrays, read only memory, etc.).
  • the hardware processor subsystem can include one or more memories that can be on or off board or that can be dedicated for use by the hardware processor subsystem (e.g., ROM, RAM, basic input/output system (BIOS), etc.).
  • the hardware processor subsystem can include and execute one or more software elements.
  • the one or more software elements can include an operating system and/or one or more applications and/or specific code to achieve a specified result.
  • the hardware processor subsystem can include dedicated, specialized circuitry that performs one or more electronic processing functions to achieve a specified result.
  • Such circuitry can include one or more application-specific integrated circuits (ASICs), FPGAs, and/or PLAs.
  • a neural network is a generalized system that improves its functioning and accuracy through exposure to additional empirical data.
  • the neural network becomes trained by exposure to the empirical data.
  • the neural network stores and adjusts a plurality of weights that are applied to the incoming empirical data. By applying the adjusted weights to the data, the data can be identified as belonging to a particular predefined class from a set of classes or a probability that the inputted data belongs to each of the classes can be outputted.
  • the empirical data, also known as training data, from a set of examples can be formatted as a string of values and fed into the input of the neural network.
  • Each example may be associated with a known result or output.
  • Each example can be represented as a pair, (x, y), where x represents the input data and y represents the known output.
  • the input data may include a variety of different data types, and may include multiple distinct values.
  • the network can have one input node for each value making up the example’s input data, and a separate weight can be applied to each input value.
  • the input data can, for example, be formatted as a vector, an array, or a string depending on the architecture of the neural network being constructed and trained.
  • the neural network “learns” by comparing the neural network output generated from the input data to the known values of the examples, and adjusting the stored weights to minimize the differences between the output values and the known values.
  • the adjustments may be made to the stored weights through back propagation, where the effect of the weights on the output values may be determined by calculating the mathematical gradient and adjusting the weights in a manner that shifts the output towards a minimum difference.
  • This optimization referred to as a gradient descent approach, is a non-limiting example of how training may be performed.
  • a subset of examples with known values that were not used for training can be used to test and validate the accuracy of the neural network.
  • the trained neural network can be used on new data that was not previously used in training or validation through generalization.
  • the adjusted weights of the neural network can be applied to the new data, where the weights estimate a function developed from the training examples.
  • the parameters of the estimated function which are captured by the weights are based on statistical inference.
  • nodes are arranged in the form of layers.
  • An exemplary simple neural network has an input layer 820 of source nodes 822, and a single computation layer 830 having one or more computation nodes 832 that also act as output nodes, where there is a single computation node 832 for each possible category into which the input example could be classified.
  • An input layer 820 can have a number of source nodes 822 equal to the number of data values 812 in the input data 810.
  • the data values 812 in the input data 810 can be represented as a column vector.
  • Each computation node 832 in the computation layer 830 generates a linear combination of weighted values from the input data 810 fed into input nodes 820, and applies a non-linear activation function that is differentiable to the sum.
  • the exemplary simple neural network can preform classification on linearly separable examples (e.g., patterns).
  • a deep neural network such as a multilayer perceptron, can have an input layer 820 of source nodes 822, one or more computation layer(s) 830 having one or more computation nodes 832, and an output layer 840, where there is a single output node 842 for each possible category into which the input example could be classified.
  • An input layer 820 can have a number of source nodes 822 equal to the number of data values 812 in the input data 810.
  • the computation nodes 832 in the computation layer(s) 830 can also be referred to as hidden layers, because they are between the source nodes 822 and output node(s) 842 and are not directly observed.
  • Each node 832, 842 in a computation layer generates a linear combination of weighted values from the values output from the nodes in a previous layer, and applies a non-linear activation function that is differentiable over the range of the linear combination.
  • the weights applied to the value from each previous node can be denoted, for example, by wi, W2,
  • the output layer provides the overall response of the network to the inputted data.
  • a deep neural network can be fully connected, where each node in a computational layer is connected to all other nodes in the previous layer, or may have other configurations of connections between layers. If links between nodes are missing, the network is referred to as partially connected.
  • Training a deep neural network can involve two phases, a forward phase where the weights of each node are fixed and the input propagates through the network, and a backwards phase where an error value is propagated backwards through the network and weight values are updated.
  • the computation nodes 832 in the one or more computation (hidden) layer(s) 830 perform a nonlinear transformation on the input data 812 that generates a feature space.
  • the classes or categories may be more easily separated in the feature space than in the original data space.
  • first product 1002 has been reviewed by a number of different users, providing respective first product reviews 1004.
  • the second product 1012 has been reviewed by a user of interest, generating second product review 1006.
  • the rating estimator 1008 accepts the first product reviews 1004 and the second product review 1006. Aspect-sentiment pairs are identified from the second product review 1006 to determine which features of the second product were considered to be important by the user of interest. Aspect- sentiment pairs of the first product reviews 1004 are similarity identified to identify features of the first product that are relevant to the priorities of the user of interest. [0075] Based on this, the rating estimator 1008 estimates the rating that the user of interest would provide for the first product 1002 if the user of interest were to review the first product 1002. Based on this rating, a recommendation 1010 for the first product 1002 may be generated. For example, if the estimated rating is above a threshold value, the recommendation 1010 may recommend that the user try the first product.
  • Embodiments described herein may be entirely hardware, entirely software or including both hardware and software elements.
  • the present invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
  • Embodiments may include a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system.
  • a computer-usable or computer readable medium may include any apparatus that stores, communicates, propagates, or transports the program for use by or in connection with the instruction execution system, apparatus, or device.
  • the medium can be magnetic, optical, electronic, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium.
  • the medium may include a computer-readable storage medium such as a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk, etc.
  • Each computer program may be tangibly stored in a machine-readable storage media or device (e.g., program memory or magnetic disk) readable by a general or special purpose programmable computer, for configuring and controlling operation of a computer when the storage media or device is read by the computer to perform the procedures described herein.
  • the inventive system may also be considered to be embodied in a computer-readable storage medium, configured with a computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner to perform the functions described herein.
  • a data processing system suitable for storing and/or executing program code may include at least one processor coupled directly or indirectly to memory elements through a system bus.
  • the memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code to reduce the number of times code is retrieved from bulk storage during execution.
  • I/O devices including but not limited to keyboards, displays, pointing devices, etc. may be coupled to the system either directly or through intervening I/O controllers.
  • Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks.
  • Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
  • the term “hardware processor subsystem” or “hardware processor” can refer to a processor, memory, software or combinations thereof that cooperate to perform one or more specific tasks.
  • the hardware processor subsystem can include one or more data processing elements (e.g., logic circuits, processing circuits, instruction execution devices, etc.).
  • the one or more data processing elements can be included in a central processing unit, a graphics processing unit, and/or a separate processor- or computing element-based controller (e.g., logic gates, etc.).
  • the hardware processor subsystem can include one or more on-board memories (e.g., caches, dedicated memory arrays, read only memory, etc.).
  • the hardware processor subsystem can include one or more memories that can be on or off board or that can be dedicated for use by the hardware processor subsystem (e.g., ROM, RAM, basic input/output system (BIOS), etc.).
  • the hardware processor subsystem can include and execute one or more software elements.
  • the one or more software elements can include an operating system and/or one or more applications and/or specific code to achieve a specified result.
  • the hardware processor subsystem can include dedicated, specialized circuitry that performs one or more electronic processing functions to achieve a specified result.
  • Such circuitry can include one or more application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), and/or programmable logic arrays (PLAs).
  • ASICs application-specific integrated circuits
  • FPGAs field-programmable gate arrays
  • PDAs programmable logic arrays
  • such phrasing is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of the third listed option (C) only, or the selection of the first and the second listed options (A and B) only, or the selection of the first and third listed options (A and C) only, or the selection of the second and third listed options (B and C) only, or the selection of all three options (A and B and C).
  • This may be extended for as many items listed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Machine Translation (AREA)

Abstract

Rating prediction systems and methods include extracting (202) aspect-sentiment pairs from an input text. An attention-property-aware rating is estimated (204) for the input text using the extracted aspect-sentiment pairs with a neural network that captures implicit and explicit features of the text. A response to the input text is performed (106) based on the estimated rating.

Description

ASPECT-AWARE SENTIMENT ANALYSIS OF USER REVIEWS
RELATED APPLICATION INFORMATION
[0001] This application claims priority to U.S. Patent Application No. 17/577,745, filed on January 18, 2022 and U.S. Provisional Patent Application No. 63/140,272, filed on January 22, 2021, both incorporated herein by reference in their entirety.
BACKGROUND
Technical Field
[0002] The present invention relates to sentiment analysis, and, more particularly, to automated analysis of user reviews.
Description of the Related Art
[0003] User reviews of products and services provide information about users’ subjective feelings. Learning user preferences from such feedback can help to guide marketing and other decision-making. However, existing sentiment analysis approaches dismiss user attention toward the different properties of goods or services. Thus, such sentiment analysis fails to extract the strength of users’ attention to certain properties, which can dominate a user’s attitude and affect the generosity of their rating.
SUMMARY
[0004] A rating -prediction method includes extracting aspect- sentiment pairs from an input text. An attention-property-aware rating is estimated for the input text using the extracted aspect- sentiment pairs with a neural network that captures implicit and explicit features of the text. A response to the input text is performed based on the estimated rating. [0005] A rating prediction system includes a hardware processor and a memory that stores a computer program. When executed by the hardware processor, the computer program causes the hardware processor to extract aspect-sentiment pairs from an input text, to estimate an attention-property-aware rating for the input text using the extracted aspect- sentiment pairs with a neural network that captures implicit and explicit features of the text, and to perform a response to the input text based on the estimated rating.
[0006] These and other features and advantages will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.
BRIEF DESCRIPTION OF DRAWINGS
[0007] The disclosure will provide details in the following description of preferred embodiments with reference to the following figures wherein:
[0008] FIG. 1 is a block/flow diagram of a method for predicting ratings based on written text and responding to such predictions, in accordance with an embodiment of the present invention;
[0009] FIG. 2 is a block/flow diagram of a method for predicting ratings based on aspect- sentiment pair extraction, in accordance with an embodiment of the present invention;
[0010] FIG. 3 is a block diagram illustrating a process pipeline for aspect-sentiment pair extraction that uses multiple sources for sentiment extraction, in accordance with an embodiment of the present invention;
[0011] FIG. 4 is a block diagram illustrating a process pipeline for rating estimation that includes explicit and implicit sentiment recognition, in accordance with an embodiment of the present invention; [0012] FIG. 5 is a pseudo-code segment of a process for generating a set of sentiment terms from a variety of sources, in accordance with an embodiment of the present invention;
[0013] FIG. 6 is a pseudo-code segment of a process for extracting sentiment aspectsentiment pairs from an input text, in accordance with an embodiment of the present invention;
[0014] FIG. 7 is a block diagram of a computer system that is configured to perform sentiment extraction and review scoring, in accordance with an embodiment of the present invention;
[0015] FIG. 8 is a block diagram of an exemplary neural network architecture that can be used to perform natural language processing, in accordance with an embodiment of the present invention;
[0016] FIG. 9 is a block diagram of an exemplary deep neural network architecture that can be used to perform natural language processing, in accordance with an embodiment of the present invention; and
[0017] FIG. 10 is a block diagram illustrating how reviews of various products may be used to generate recommendations, in accordance with an embodiment of the present invention.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
[0018] Rating prediction can be performed using written review information, generating a numerical rating value based on an input review of a product or service. This can be performed in a two-step process that uses unsupervised aspect- sentiment pair extraction (ASPE) that extracts (aspect, sentiment) pairs from raw review data, followed by attention-property-aware rating estimation (APRE), which uses the (aspect, sentiment) pairs as user attention and item property indicators by jointly considering frequency and sentiment of aspect mentions.
[0019] APRE may encode text by a contextualized language encoder and processes implicit text features in addition to the annotated terms, forming a dual-channel rating regression. The joint efforts of APRE and ASPE can extract explicit aspect-based attention and property information and provide rating predictions with good performance.
[0020] Aspect- level user attitude differs from user preference in that the user attitude produced by the interaction of user attention and item properties are sophisticated and granular attitude sentiments. Preferences, meanwhile, are coarse sentiments such as, “like,” “dislike,” or “neutral.” Whereas preference-based models may infer that a first and second reviewers like headsets based on their high ratings for a headset, an attitudebased approach can further identify that it is headset comfort that matters to one of the users, rather than simply that the item is a headset. Aspect-level attitude modeling signifies a more accurate and informative personalization than preference-based modeling.
[0021] Consider the following example reviews:
[0022] Review 1: 5 stars. “Comfortable. Very high quality sound. ... Mic is good too. There is a switch to mute your mic... I wear glasses and these are comfortable with my glasses on.
[0023] Review 2: 3 stars. “I love the comfort, sound, and style, but the mic is complete junk!”
[0024] Review 3: 5 start. “This one feels like a pillow, there’s nothing wrong with the audio and it does the job. The only con is that the included microphone is pretty bad.” [0025] Table 1 below shows how these reviews can be broken up into different aspects, with respective sentiments being expressed.
Figure imgf000006_0001
Table 1
[0026] In some cases, the respective sentiment is classified to determine how the user feels about the aspect. For example, the first reviewer is satisfied with the microphone and praises the sound quality, whereas the third reviewer is unsatisfied with the microphone and enjoys the comfort of the product. This table illustrates the impact of users’ attitudes. The microphone quality is controversial, since the second and third reviewers criticize it, but the first reviewer praises it. The first and second reviewers disagree regarding the microphone, which is the second reviewers major concern, resulting in a divergence in the ratings. However, the third reviewer neglects that disadvantages and rates the product highly for its superior comfort.
[0027] A granular understanding of the users’ differing sentiments toward different aspects of the product/service can be based on a clear and definitive identification of the aspects. Rather than using latent or implicit aspects, where there may be no real or justifiable semantic understanding of the aspects, and where different aspects may have semantic overlap that may undermine their effectiveness, sentiment term extraction may instead take advantage of unsupervised neural network processing to identify aspect information from existing corpuses.
[0028] Referring now to FIG. 1, a method for predicting and responding to user ratings is shown. Block 102 trains a recommendation system based on a corpus of review text and associated user ratings for one or more goods or services. This recommendation system may be implemented using neural networks, for example to perform APRE. As will be described in greater detail below, the APRE model may be trained to extract aspect/sentiment pairs from textual rating information and to generate numerical ratings from the extracted pairs. ASPE need not have specific training and testing, since it is used for preprocessing to extract the (aspect, sentiment) pairs.
[0029] Block 104 thus predicts numerical ratings based on an input textual review. The trained ASPE model identifies (aspect, sentiment) information from the textual review, which is used as input to the APRE model. The APRE model uses information about the user’s attention to predict a numerical rating for the input textual review.
[0030] Block 106 uses the generated rating to perform a responsive action. For example, block 106 may make a recommendation to the user who wrote the input textual review. The numerical rating helps to identify other products/services that the user might be interested in, so that the user is likely to purchase those goods/services. For example, if a first user gives high ratings to a first product, and said it was because the product has good battery life, then other users’ reviews of a second product that mention good battery life may be used to determine that the first user would also rate the second product highly. Block 106 could therefore recommend the second product to the first user.
[0031] Although the present examples are described with specific attention to the use case of recommending products to users, other uses are also contemplated. For example, recommendations for online dating may be made in a similar fashion, where a user’s messages can help to determine what qualities they look for in a partner.
[0032] Review-based rating prediction involves two kinds of entities: users U = {ult and items T = {t1( tn}. A user u writes a review for an item / in R = providing a corresponding rating score S =
Figure imgf000008_0001
. The term Ru denotes all reviews made by a user u, and the term Rf denotes all reviews received by an item /. A rating regressor function T takes as input a tuple that describes a review-and-rate event of (it, t) and corresponding review sets Ru and Rf and outputs a rating score su t by:
Figure imgf000008_0002
[0033] The rating regressor function T may be expressed as a pipeline of two tightly coupled sub-functions, including ASPE and APRE. The unsupervised ASPE label (aspect, sentiment) pairs are used by APRE to capture user attention and item properties and to predict rating scores.
[0034] Referring now to FIG. 2, additional detail on the prediction of ratings based on a new review 104 is shown. ASPE model 202 processes the input recommendation text to generate (aspect, sentiment) pairs. Given the reviews and the corresponding (aspect, sentiment) pairs, APRE model 204 generates a numerical rating using a score regression.
[0035] The sentiment extraction of APSE 202 may integrate multiple approaches to identifying sentiment terms. For example, pointwise mutual information may be used to measure statistical word associations within a text corpus. The sentiment polarity (e.g., positive vs negative) of words may be measured with the help of a small number of sentiment seed words. Candidate sentiment terms that satisfy part-of-speech patterns may be extracted and the polarity of each candidate term w may be measured by:
Figure imgf000009_0001
where s+ represents positive sentiment seed words and s represents negative sentiment seed words.
[0036] Given a sliding window-based word context sampler ctx, the PMI(-,-) between words may be defined as:
Figure imgf000009_0002
where p(-) is a probability estimated by token counts, p(w1, vv2) = „ . Sentiment tokens with strong &
Figure imgf000009_0003
polarities, both positive and negative, may be collected as STPM!.
[0037] Another approach may include the use of a coextraction model to label (aspect, similarity) pairs in the domain of training data. For sentiment terms with consistent semantics in different domains, such as “good” and “great,” neural network models can provide robust extraction recall. A stochastic deep resilient network (SDRN) may be used to generate STNN . A sentiment lexicon can be integrated to provide another source of sentiment terms, STknowiedge.
[0038] These three sets of sentiment terms, STPM! , STNN , and STknowiedge , are joined to build an overall set as ST = STPMI U STNN U STknowiedge. The three different approaches to generating sentiment terms reinforce one another. For example, sentiment terms with low polarity scores can be captured by the neural network using a learned pattern, and terms that are out of the domain of the training data for the neural network may be captured by the lexicon.
[0039] Pair candidates may be labeled using dependency parsing, and non- sentimentcarrying candidates may then be filtered out using the extracted sentiment set ST . Dependency parsing extracts grammatical dependency relations between the words in a sentence. Some nouns, which may be considered potential aspects, are modified by adjectives with two types of dependency relations, such as amod and nsubj+acomp. Pairs of nouns and corresponding adjectives may be extracted as (aspect, sentiment) pairs. For example, the amod relation may identify when an adjective modifies a noun, and the nsubj+acomp may identify a verb’s subject as an aspect and may identify a comparative word as the sentiment.
[0040] The pair candidates may be noisy, as not all adjectives that are temporarily labeled as sentiment candidates have sentiment inclination. The set ST may be used to filter out non-sentiment-carrying candidates having adjectives that are not in ST, producing an output (aspect, sentiment) pair set for review. A special aspect token may be used for the nsubj+acomp rule, where nsubj maybe a pronoun of the item (e.g., “it” or “they”).
[0041] The numerical rank generation of APRE model 204 may accept reviews and (aspect, sentiment) pairs and may output ratings associated with respective reviews. Language may be encoded into vectorized representations, with explicit and implicit features being analyzed to compute a score regression. APRE model 204 uses aspect information by incorporating a da-dimensional aspect representation
Figure imgf000010_0001
E Rda in each side of the substructures for review encoding. The k aspect embeddings for the users may be denoted as Au
Figure imgf000010_0002
and aspect embedding for items be denoted as Af, where da is a number of dimensions of aspect representations.
[0042] Reviews may be encoded into a low-dimensional token embedding, for example using a transformer-based contextualized language encoder. For each review r in Ru or Rf , the resulting encoding H° 6 jjEI+2xde may include (|r| + 2) de - dimensional contextualized vectors: ,, where [CLS]
Figure imgf000010_0003
and [SEP] are tokens that indicate starts and separators of sentences, where de is a number of dimensions of contextualized vectors.
[0043] A trainable linear transformation may be used to adapt raw token representations from H° to the task as
Figure imgf000011_0006
Figure imgf000011_0001
is a transformed dimension of internal features. The transformer-based contextualized language encoder encodes the token semantics based on the context, which resolve the polysemy of certain sentiment terms. For example, the term “cheap” is a positive sentiment when related to price, but is a negative sentiment when related to quality.
[0044] For an aspect a from the k total aspects, all contextualized representations of the sentiment words that modify aspect a may be pulled and their representations may be aggregated to a single representation of a in
Figure imgf000011_0005
modifies a. Users tend to use semantically consistent words for the same aspect in reviews. Therefore, sum-pooling aggregation handles both sentiments and frequencies of term mentions. All reviews Ru from the user u may be aggregated using review-wise aggregation that is weighted by a^, which indicates the significance of each review’s contribution to the overall understanding of u attention to aspect a:
Figure imgf000011_0002
where [•;•] denotes a concatenation of tensors and wex E
Figure imgf000011_0003
is a tensor of trainable weights. With the usefulness distribution a^, the terms h^. of Ru may be aggregated by weighted average pooling:
Figure imgf000011_0004
The term is a user attention representation for the aspect a. The term Gu
Figure imgf000012_0002
the matrix of
Figure imgf000012_0009
Figure imgf000012_0003
[0045] Some emotions may be conveyed without explicit sentiment word mentions. For example, in the third review example above, the phrase, “But this one feels like a pillow,” does not include any overt sentiment tokens, but nonetheless expresses a strong sentiment of satisfaction with respect to comfort. This sentiment may be missed by annotation-based ASPE. However, implicit semantic modeling may be used to capture such sentiments. A global feature may be combined with a local context feature
Figure imgf000012_0005
that is learned by a convolutional neural network (CNN) with an output
Figure imgf000012_0004
channel of size nc, a kernel size nk with max pooling, and two token-level features. The token-level features may include average and max pooling of H1 to build a comprehensive multi-granularity review representation:
Figure imgf000012_0008
where ReLU (•) represents a rectified linear unit activation function.
[0046] Review-wise aggregation may be applied without aspects for latent review embedding vM:
Figure imgf000012_0007
where (3u r is a counterpart
Figure imgf000012_0001
in an implicit channel, is a trainable
Figure imgf000012_0006
parameter, and dim = 3df + nc. Using similar steps, item implicit embeddings vt may also be determined. [0047] The implicit features vu and vt and the explicit features Gu and Gt can be combined to provide the input for rating predictor to estimate scores su t by:
Figure imgf000013_0003
where bu and bt are biases,
Figure imgf000013_0001
vt]): IR2df -> IR is an explicit feature, and ) is an implicit feature, with Tim\ ]R2dimxk -> ]Rk. The feature terms
Figure imgf000013_0002
represent multi-layer, fully-connected neural networks with rectified linear unit activation functions and with dropout to avoid overfitting. These neural networks model user attention and item property interactions of explicit and implicit channels, respectively. The operator (•,•) indicates an inner product, while y 6 Rk and {bu, bt] ∈ R are trainable parameters. The optimization function may use an Li regularization term of the trainable parameter set 0 and may be expressed as:
Figure imgf000013_0004
The optimization function may be optimization using back-propagation, as described in greater detail below.
[0048] Referring now to FIG. 3, a pipeline for ASPE 202 is shown. Multiple different models for generating sentiment terms are used, including a lexicon 304, neural network extraction 306, and pointwise mutual information extraction 308, the latter two of which use input review text 302 to identify likely sentiment terms. The different sets of sentiment terms are combined at union 312 to provide a full set of sentiment terms 314.
[0049] Dependency parsing 310 uses one or more dependency rules to parse the language of the input review text 302 and to identify pairs of words that have an aspectsentiment relationship. This generates AS-pair candidates 316 from the input review text 302. Using the combined sentiment term set 314 to filer the candidates 316, a final set of aspect-similarity pairs can be extracted in block 318.
[0050] Referring now to FIG. 4, a pipeline for APRE 204 is shown. An item review encoder 402 generates embeddings of reviews for a given item, while a user review encoder 412 generates embeddings of reviews from a given user. Each has a respective implicit path and explicit path, including implicit item channel 404, explicit item channel 406, implicit user channel 414, and explicit user channel 416. The implicit paths are used as input for implicit features
Figure imgf000014_0001
420 and the explicit paths are used as input for explicit features Tex 430. The implicit features and explicit features are both used to perform scoring 440, generating a score that corresponds to an input review. Each of the item review encoder 402 and the user review encoder 412 may include a contextualized language encoder to process input text, as well as a variety of pooling and neural network processing operations.
[0051] Referring now to FIG. 5, pseudo-code is shown for extracting sentiment terms from a variety of sources. The code determines sets of sentiment words from multiple sources, using different methodologies. The code outputs a unified set of sentiment terms from the different sources.
[0052] Referring now to FIG. 6, pseudo-code is shown for implementing ASPE 202. The code takes as input the set of sentiment terms and outputs (aspect, sentiment) pairs, using a dependency parser to identify candidates within input text.
[0053] Referring now to FIG. 7, an exemplary computing device 700 is shown, in accordance with an embodiment of the present invention. The computing device 700 is configured to perform sentiment extraction and review scoring.
[0054] The computing device 700 may be embodied as any type of computation or computer device capable of performing the functions described herein, including, without limitation, a computer, a server, a rack based server, a blade server, a workstation, a desktop computer, a laptop computer, a notebook computer, a tablet computer, a mobile computing device, a wearable computing device, a network appliance, a web appliance, a distributed computing system, a processor- based system, and/or a consumer electronic device. Additionally or alternatively, the computing device 700 may be embodied as a one or more compute sleds, memory sleds, or other racks, sleds, computing chassis, or other components of a physically disaggregated computing device.
[0055] As shown in FIG. 7, the computing device 700 illustratively includes the processor 710, an input/output subsystem 720, a memory 730, a data storage device 740, and a communication subsystem 750, and/or other components and devices commonly found in a server or similar computing device. The computing device 700 may include other or additional components, such as those commonly found in a server computer (e.g., various input/output devices), in other embodiments.
Additionally, in some embodiments, one or more of the illustrative components may be incorporated in, or otherwise form a portion of, another component. For example, the memory 730, or portions thereof, may be incorporated in the processor 710 in some embodiments.
[0056] The processor 710 may be embodied as any type of processor capable of performing the functions described herein. The processor 710 may be embodied as a single processor, multiple processors, a Central Processing Unit(s) (CPU(s)), a Graphics Processing Unit(s) (GPU(s)), a single or multi-core processor(s), a digital signal processor(s), a microcontroller(s), or other processor(s) or proces sing/controlling circuit(s) . [0057] The memory 730 may be embodied as any type of volatile or non-volatile memory or data storage capable of performing the functions described herein. In operation, the memory 730 may store various data and software used during operation of the computing device 700, such as operating systems, applications, programs, libraries, and drivers. The memory 730 is communicatively coupled to the processor 710 via the I/O subsystem 720, which may be embodied as circuitry and/or components to facilitate input/output operations with the processor 710, the memory 730, and other components of the computing device 700. For example, the VO subsystem 720 may be embodied as, or otherwise include, memory controller hubs, input/output control hubs, platform controller hubs, integrated control circuitry, firmware devices, communication links (e.g., point-to-point links, bus links, wires, cables, light guides, printed circuit board traces, etc.), and/or other components and subsystems to facilitate the input/output operations. In some embodiments, the VO subsystem 720 may form a portion of a system-on-a-chip (SOC) and be incorporated, along with the processor 710, the memory 730, and other components of the computing device 700, on a single integrated circuit chip.
[0058] The data storage device 740 may be embodied as any type of device or devices configured for short-term or long-term storage of data such as, for example, memory devices and circuits, memory cards, hard disk drives, solid state drives, or other data storage devices. The data storage device 740 can store program code 740A for sentiment extraction and review scoring. The communication subsystem 750 of the computing device 700 may be embodied as any network interface controller or other communication circuit, device, or collection thereof, capable of enabling communications between the computing device 700 and other remote devices over a network. The communication subsystem 750 may be configured to use any one or more communication technology (e.g., wired or wireless communications) and associated protocols (e.g., Ethernet, InfiniBand®, Bluetooth®, Wi-Fi®, WiMAX, etc.) to effect such communication.
[0059] As shown, the computing device 700 may also include one or more peripheral devices 760. The peripheral devices 760 may include any number of additional input/output devices, interface devices, and/or other peripheral devices. For example, in some embodiments, the peripheral devices 760 may include a display, touch screen, graphics circuitry, keyboard, mouse, speaker system, microphone, network interface, and/or other input/output devices, interface devices, and/or peripheral devices.
[0060] Of course, the computing device 700 may also include other elements (not shown), as readily contemplated by one of skill in the art, as well as omit certain elements. For example, various other sensors, input devices, and/or output devices can be included in computing device 700, depending upon the particular implementation of the same, as readily understood by one of ordinary skill in the art. For example, various types of wireless and/or wired input and/or output devices can be used. Moreover, additional processors, controllers, memories, and so forth, in various configurations can also be utilized. These and other variations of the processing system 700 are readily contemplated by one of ordinary skill in the art given the teachings of the present invention provided herein.
[0061] As employed herein, the term “hardware processor subsystem” or “hardware processor” can refer to a processor, memory (including RAM, cache(s), and so forth), software (including memory management software) or combinations thereof that cooperate to perform one or more specific tasks. In useful embodiments, the hardware processor subsystem can include one or more data processing elements (e.g., logic circuits, processing circuits, instruction execution devices, etc.). The one or more data processing elements can be included in a central processing unit, a graphics processing unit, and/or a separate processor- or computing element-based controller (e.g., logic gates, etc.). The hardware processor subsystem can include one or more on-board memories (e.g., caches, dedicated memory arrays, read only memory, etc.). In some embodiments, the hardware processor subsystem can include one or more memories that can be on or off board or that can be dedicated for use by the hardware processor subsystem (e.g., ROM, RAM, basic input/output system (BIOS), etc.).
[0062] In some embodiments, the hardware processor subsystem can include and execute one or more software elements. The one or more software elements can include an operating system and/or one or more applications and/or specific code to achieve a specified result.
[0063] In other embodiments, the hardware processor subsystem can include dedicated, specialized circuitry that performs one or more electronic processing functions to achieve a specified result. Such circuitry can include one or more application-specific integrated circuits (ASICs), FPGAs, and/or PLAs.
[0064] These and other variations of a hardware processor subsystem are also contemplated in accordance with embodiments of the present invention.
[0065] Referring now to FIGs. 8 and 9, exemplary neural network architectures are shown, which may be used to implement parts of the present models. A neural network is a generalized system that improves its functioning and accuracy through exposure to additional empirical data. The neural network becomes trained by exposure to the empirical data. During training, the neural network stores and adjusts a plurality of weights that are applied to the incoming empirical data. By applying the adjusted weights to the data, the data can be identified as belonging to a particular predefined class from a set of classes or a probability that the inputted data belongs to each of the classes can be outputted.
[0066] The empirical data, also known as training data, from a set of examples can be formatted as a string of values and fed into the input of the neural network. Each example may be associated with a known result or output. Each example can be represented as a pair, (x, y), where x represents the input data and y represents the known output. The input data may include a variety of different data types, and may include multiple distinct values. The network can have one input node for each value making up the example’s input data, and a separate weight can be applied to each input value. The input data can, for example, be formatted as a vector, an array, or a string depending on the architecture of the neural network being constructed and trained.
[0067] The neural network “learns” by comparing the neural network output generated from the input data to the known values of the examples, and adjusting the stored weights to minimize the differences between the output values and the known values. The adjustments may be made to the stored weights through back propagation, where the effect of the weights on the output values may be determined by calculating the mathematical gradient and adjusting the weights in a manner that shifts the output towards a minimum difference. This optimization, referred to as a gradient descent approach, is a non-limiting example of how training may be performed. A subset of examples with known values that were not used for training can be used to test and validate the accuracy of the neural network.
[0068] During operation, the trained neural network can be used on new data that was not previously used in training or validation through generalization. The adjusted weights of the neural network can be applied to the new data, where the weights estimate a function developed from the training examples. The parameters of the estimated function which are captured by the weights are based on statistical inference. [0069] In layered neural networks, nodes are arranged in the form of layers. An exemplary simple neural network has an input layer 820 of source nodes 822, and a single computation layer 830 having one or more computation nodes 832 that also act as output nodes, where there is a single computation node 832 for each possible category into which the input example could be classified. An input layer 820 can have a number of source nodes 822 equal to the number of data values 812 in the input data 810. The data values 812 in the input data 810 can be represented as a column vector. Each computation node 832 in the computation layer 830 generates a linear combination of weighted values from the input data 810 fed into input nodes 820, and applies a non-linear activation function that is differentiable to the sum. The exemplary simple neural network can preform classification on linearly separable examples (e.g., patterns).
[0070] A deep neural network, such as a multilayer perceptron, can have an input layer 820 of source nodes 822, one or more computation layer(s) 830 having one or more computation nodes 832, and an output layer 840, where there is a single output node 842 for each possible category into which the input example could be classified. An input layer 820 can have a number of source nodes 822 equal to the number of data values 812 in the input data 810. The computation nodes 832 in the computation layer(s) 830 can also be referred to as hidden layers, because they are between the source nodes 822 and output node(s) 842 and are not directly observed. Each node 832, 842 in a computation layer generates a linear combination of weighted values from the values output from the nodes in a previous layer, and applies a non-linear activation function that is differentiable over the range of the linear combination. The weights applied to the value from each previous node can be denoted, for example, by wi, W2,
... Wn-i, wn. The output layer provides the overall response of the network to the inputted data. A deep neural network can be fully connected, where each node in a computational layer is connected to all other nodes in the previous layer, or may have other configurations of connections between layers. If links between nodes are missing, the network is referred to as partially connected.
[0071] Training a deep neural network can involve two phases, a forward phase where the weights of each node are fixed and the input propagates through the network, and a backwards phase where an error value is propagated backwards through the network and weight values are updated.
[0072] The computation nodes 832 in the one or more computation (hidden) layer(s) 830 perform a nonlinear transformation on the input data 812 that generates a feature space. The classes or categories may be more easily separated in the feature space than in the original data space.
[0073] Referring now to FIG. 10, an example of product recommendation is shown. Two products, including first product 1002 and second product 1012, are shown. The first product 1002 has been reviewed by a number of different users, providing respective first product reviews 1004. The second product 1012 has been reviewed by a user of interest, generating second product review 1006.
[0074] The rating estimator 1008 accepts the first product reviews 1004 and the second product review 1006. Aspect-sentiment pairs are identified from the second product review 1006 to determine which features of the second product were considered to be important by the user of interest. Aspect- sentiment pairs of the first product reviews 1004 are similarity identified to identify features of the first product that are relevant to the priorities of the user of interest. [0075] Based on this, the rating estimator 1008 estimates the rating that the user of interest would provide for the first product 1002 if the user of interest were to review the first product 1002. Based on this rating, a recommendation 1010 for the first product 1002 may be generated. For example, if the estimated rating is above a threshold value, the recommendation 1010 may recommend that the user try the first product.
[0076] Embodiments described herein may be entirely hardware, entirely software or including both hardware and software elements. In a preferred embodiment, the present invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
[0077] Embodiments may include a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. A computer-usable or computer readable medium may include any apparatus that stores, communicates, propagates, or transports the program for use by or in connection with the instruction execution system, apparatus, or device. The medium can be magnetic, optical, electronic, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. The medium may include a computer-readable storage medium such as a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk, etc.
[0078] Each computer program may be tangibly stored in a machine-readable storage media or device (e.g., program memory or magnetic disk) readable by a general or special purpose programmable computer, for configuring and controlling operation of a computer when the storage media or device is read by the computer to perform the procedures described herein. The inventive system may also be considered to be embodied in a computer-readable storage medium, configured with a computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner to perform the functions described herein.
[0079] A data processing system suitable for storing and/or executing program code may include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code to reduce the number of times code is retrieved from bulk storage during execution. Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) may be coupled to the system either directly or through intervening I/O controllers.
[0080] Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
[0081] As employed herein, the term “hardware processor subsystem” or “hardware processor” can refer to a processor, memory, software or combinations thereof that cooperate to perform one or more specific tasks. In useful embodiments, the hardware processor subsystem can include one or more data processing elements (e.g., logic circuits, processing circuits, instruction execution devices, etc.). The one or more data processing elements can be included in a central processing unit, a graphics processing unit, and/or a separate processor- or computing element-based controller (e.g., logic gates, etc.). The hardware processor subsystem can include one or more on-board memories (e.g., caches, dedicated memory arrays, read only memory, etc.). In some embodiments, the hardware processor subsystem can include one or more memories that can be on or off board or that can be dedicated for use by the hardware processor subsystem (e.g., ROM, RAM, basic input/output system (BIOS), etc.).
[0082] In some embodiments, the hardware processor subsystem can include and execute one or more software elements. The one or more software elements can include an operating system and/or one or more applications and/or specific code to achieve a specified result.
[0083] In other embodiments, the hardware processor subsystem can include dedicated, specialized circuitry that performs one or more electronic processing functions to achieve a specified result. Such circuitry can include one or more application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), and/or programmable logic arrays (PLAs).
[0084] These and other variations of a hardware processor subsystem are also contemplated in accordance with embodiments of the present invention.
[0085] Reference in the specification to “one embodiment” or “an embodiment” of the present invention, as well as other variations thereof, means that a particular feature, structure, characteristic, and so forth described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase “in one embodiment” or “in an embodiment”, as well any other variations, appearing in various places throughout the specification are not necessarily all referring to the same embodiment. However, it is to be appreciated that features of one or more embodiments can be combined given the teachings of the present invention provided herein.
[0086] It is to be appreciated that the use of any of the following “/”, “and/or”, and “at least one of’, for example, in the cases of “A/B”, “A and/or B” and “at least one of A and B”, is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of both options (A and B). As a further example, in the cases of “A, B, and/or C” and “at least one of A, B, and C”, such phrasing is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of the third listed option (C) only, or the selection of the first and the second listed options (A and B) only, or the selection of the first and third listed options (A and C) only, or the selection of the second and third listed options (B and C) only, or the selection of all three options (A and B and C). This may be extended for as many items listed.
[0087] The foregoing is to be understood as being in every respect illustrative and exemplary, but not restrictive, and the scope of the invention disclosed herein is not to be determined from the Detailed Description, but rather from the claims as interpreted according to the full breadth permitted by the patent laws. It is to be understood that the embodiments shown and described herein are only illustrative of the present invention and that those skilled in the art may implement various modifications without departing from the scope and spirit of the invention. Those skilled in the art could implement various other feature combinations without departing from the scope and spirit of the invention. Having thus described aspects of the invention, with the details and particularity required by the patent laws, what is claimed and desired protected by
Letters Patent is set forth in the appended claims.

Claims

WHAT IS CLAIMED IS:
1. A computer-implemented rating prediction method, comprising: extracting (202) aspect-sentiment pairs from an input text; estimating (204) an attention-property-aware rating for the input text using the extracted aspect- sentiment pairs with a neural network that captures implicit and explicit features of the text; and performing (106) a response to the input text based on the estimated rating.
2. The method of claim 1, wherein extracting aspect- sentiment pairs includes determining a set of sentiment terms using a plurality of different sources.
3. The method of claim 2, wherein the plurality of different sources include a sentiment lexicon, a pointwise mutual information measurement of statistical word associations within a text corpus, and a coextraction model.
4. The method of claim 1, wherein extracting aspect- sentiment pairs includes identifying grammatical dependency relationships between words in the input text to generate candidate aspect-sentiment pairs.
5. The method of claim 4, wherein extracting aspect-sentiment pairs further includes filtering the candidate aspect-sentiment pairs to exclude pairs that do not include an aspect from a predetermined set of sentiment terms.
6. The method of claim 1, wherein estimating an attention-property-aware rating includes encoding item reviews and user reviews into respective explicit and implicit features.
7. The method of claim 6, wherein explicit features characterize mentions of sentiment words and wherein implicit features characterize sentiment expressions that do not use sentiment words.
8. The method of claim 6, wherein estimating an attention-property-aware rating includes generating the rating as:
Figure imgf000027_0001
where bu is a user bias, bt is an item bias, T (•) is an explicit channel model, T (•) is an implicit channel model, vu and vr are respective user- and review-based token-level features, Gu is a matrix of a user attention representation of an aspect, and Gt is a matrix of an item attention representation of the aspect.
9. The method of claim 1, further comprising training the neural network using a training dataset that includes a set of written reviews and corresponding numerical ratings.
10. The method of claim 1, wherein performing the response includes identifying a product that a user would rate highly, based on the attention-property- aware rating, and recommending the product to the user.
11. A rating prediction system, comprising: a hardware processor (710); and a memory (740) that stores a computer program (740 A), which, when executed by the hardware processor, causes the hardware processor to: extract (202) aspect-sentiment pairs from an input text; estimate (204) an attention-property-aware rating for the input text using the extracted aspect- sentiment pairs with a neural network that captures implicit and explicit features of the text; and perform (106) a response to the input text based on the estimated rating.
12. The system of claim 11, wherein the computer program further causes the hardware processor to determine a set of sentiment terms using a plurality of different sources.
13. The system of claim 12, wherein the plurality of different sources include a sentiment lexicon, a pointwise mutual information measurement of statistical word associations within a text corpus, and a coextraction model.
14. The system of claim 11, wherein the computer program further causes the hardware processor to identify grammatical dependency relationships between words in the input text to generate candidate aspect- sentiment pairs.
15. The system of claim 14, wherein the computer program further causes the hardware processor to filter the candidate aspect-sentiment pairs to exclude pairs that do not include an aspect from a predetermined set of sentiment terms.
16. The system of claim 11, wherein the computer program further causes the hardware processor to encode item reviews and user reviews into respective explicit and implicit features.
17. The system of claim 16, wherein explicit features characterize mentions of sentiment words and wherein implicit features characterize sentiment expressions that do not use sentiment words.
18. The system of claim 16, wherein the computer program further causes the hardware processor to generate the attention-property-aware rating as:
Figure imgf000029_0001
where bu is a user bias, bt is an item bias, T (•) is an explicit channel model, T (•) is an implicit channel model, vu and vr are respective user- and review-based token-level features, Gu is a matrix of a user attention representation of an aspect, and Gt is a matrix of an item attention representation of the aspect.
19. The system of claim 11, wherein the computer program further causes the hardware processor to train the neural network using a training dataset that includes a set of written reviews and corresponding numerical ratings.
20. The system of claim 11, wherein the computer program further causes the hardware processor to identify a product that a user would rate highly, based on the attention-property-aware rating, and recommending the product to the user.
PCT/US2022/012913 2021-01-22 2022-01-19 Aspect-aware sentiment analysis of user reviews Ceased WO2022159446A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US202163140272P 2021-01-22 2021-01-22
US63/140,272 2021-01-22
US17/577,745 US12406152B2 (en) 2021-01-22 2022-01-18 Aspect-aware sentiment analysis of user reviews supporting AI-based decision making
US17/577,745 2022-01-18

Publications (1)

Publication Number Publication Date
WO2022159446A1 true WO2022159446A1 (en) 2022-07-28

Family

ID=82495572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2022/012913 Ceased WO2022159446A1 (en) 2021-01-22 2022-01-19 Aspect-aware sentiment analysis of user reviews

Country Status (2)

Country Link
US (1) US12406152B2 (en)
WO (1) WO2022159446A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220284485A1 (en) * 2021-03-02 2022-09-08 International Business Machines Corporation Stratified social review recommendation
US12118316B2 (en) * 2022-01-20 2024-10-15 Zoom Video Communications, Inc. Sentiment scoring for remote communication sessions
CN115146607B (en) * 2022-09-05 2022-11-04 北京智源人工智能研究院 Review information emotion preference recognition model training method, recognition method and device
US12131367B2 (en) * 2022-10-18 2024-10-29 Wesco Distribution, Inc. Intelligent product matching based on a natural language query
CN115757920A (en) * 2022-11-22 2023-03-07 北京百度网讯科技有限公司 Method and device for extracting attention points of internet users
US12367338B2 (en) * 2022-11-28 2025-07-22 Genpact Usa, Inc. Aspect based sentiment analysis with contextual grouping of aspects
CN115659995B (en) * 2022-12-30 2023-05-23 荣耀终端有限公司 Text emotion analysis method and device
CN116244436B (en) * 2023-02-24 2025-11-07 南京大学 Implicit emotion triplet extraction method based on ring structure grid mark
CN116561316A (en) * 2023-05-17 2023-08-08 安徽理工大学 A Sentiment Analysis Method in the Financial Field Based on Sentiment Strength and Bi-GRU Dual Channels
US20250191048A1 (en) * 2023-12-11 2025-06-12 Ebay Inc. Generative artificial intelligence recommendation engine in an item listing system
CN117390141B (en) * 2023-12-11 2024-03-08 江西农业大学 Agricultural socialization service quality user evaluation data analysis method
CN118133844B (en) * 2024-05-07 2024-07-16 浙江大学 Assessment method and device for latent semantic recognition capability of large language model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090193328A1 (en) * 2008-01-25 2009-07-30 George Reis Aspect-Based Sentiment Summarization
KR20140053717A (en) * 2012-10-26 2014-05-08 고려대학교 산학협력단 Sentiment-based query processing system and method
US9633007B1 (en) * 2016-03-24 2017-04-25 Xerox Corporation Loose term-centric representation for term classification in aspect-based sentiment analysis
US20180321931A1 (en) * 2015-03-04 2018-11-08 International Business Machines Corporation Software patch management incorporating sentiment analysis
US20190005027A1 (en) * 2017-06-29 2019-01-03 Robert Bosch Gmbh System and Method For Domain-Independent Aspect Level Sentiment Detection

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11010559B2 (en) * 2018-08-30 2021-05-18 International Business Machines Corporation Multi-aspect sentiment analysis by collaborative attention allocation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090193328A1 (en) * 2008-01-25 2009-07-30 George Reis Aspect-Based Sentiment Summarization
KR20140053717A (en) * 2012-10-26 2014-05-08 고려대학교 산학협력단 Sentiment-based query processing system and method
US20180321931A1 (en) * 2015-03-04 2018-11-08 International Business Machines Corporation Software patch management incorporating sentiment analysis
US9633007B1 (en) * 2016-03-24 2017-04-25 Xerox Corporation Loose term-centric representation for term classification in aspect-based sentiment analysis
US20190005027A1 (en) * 2017-06-29 2019-01-03 Robert Bosch Gmbh System and Method For Domain-Independent Aspect Level Sentiment Detection

Also Published As

Publication number Publication date
US20220237386A1 (en) 2022-07-28
US12406152B2 (en) 2025-09-02

Similar Documents

Publication Publication Date Title
US12406152B2 (en) Aspect-aware sentiment analysis of user reviews supporting AI-based decision making
Bilquise et al. Emotionally intelligent chatbots: A systematic literature review
US20250193462A1 (en) Method of and system for structuring and analyzing multimodal, unstructured data
US12141697B2 (en) Annotating customer data
US11580307B2 (en) Word attribution prediction from subject data
Ghafoor et al. TERMS: textual emotion recognition in multidimensional space
US20210034963A1 (en) Identifying friction points in customer data
Jlifi et al. Beyond the use of a novel Ensemble based Random Forest-BERT Model (Ens-RF-BERT) for the Sentiment Analysis of the hashtag COVID19 tweets
KR20200041199A (en) Method, apparatus and computer-readable medium for operating chatbot
US20250335713A1 (en) System and method for generating dynamic conversational ai experiences using large language models and decisioning systems
Shukla et al. The study of the effect of preprocessing techniques for emotion detection on Amazon product review dataset
Talukder et al. A hybrid deep learning model for sentiment analysis of COVID-19 tweets with class balancing
CN117235264A (en) Text processing method, apparatus, device and computer readable storage medium
Feizi-Derakhshi et al. The state-of-the-art in text-based automatic personality prediction
WO2025071985A1 (en) Using large language models to generate view-based accessibility information
Wandabwa et al. Multi-interest semantic changes over time in short-text microblogs
Dirash et al. LSTM based sentiment analysis
Sarkar Sentiment analysis
Yan et al. Microblog emotion analysis method using deep learning in spark big data environment
Sarkar et al. Analyzing movie reviews sentiment
Tverdokhlib et al. Intelligent Processing Censoring Inappropriate Content in Images, News, Messages and Articles on Web Pages Based on Machine Learning
Bi et al. Analysis of the fusion of multimodal sentiment perception and physiological signals in Chinese-English cross-cultural communication: Transformer approach incorporating self-attention enhancement
Wang et al. A recurrent stick breaking topic model for argument stance detection
US20260111498A1 (en) Training artificial intelligence (ai) engines for custom object description generation
Merabti A Recommendation System Based On Sentiment Analysis

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22743074

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22743074

Country of ref document: EP

Kind code of ref document: A1