Abstract
Aspect-based sentiment analysis (ABSA) deals with the determination of sentiments for opinion targets. While historically this research task has been addressed with pipeline approaches, more recent works use neural networks to jointly deal with the aspect term and opinion term extraction, as well as the polarity classification. Although learned together, most NN-based approaches and all pipeline approaches do not model correlations between the tasks. This is also based on the absence of adequate datasets which are annotated for all sub-tasks in a unified tagging scheme. We address this bottleneck and introduce the first purposely designed and annotated dataset for ABSA. The DAORA dataset covers 2,100 Tripadvisor reviews, and it is annotated on aspect terms, opinion terms, as well as aspect term polarity, using a unified tagging scheme. It was designed especially for end-to-end aspect-based sentiment analysis of real-world reviews and does not use any sentence repetition or removal. We evaluate the DAORA dataset in several experiments employing state-of-the-art models for ABSA. We set benchmarks and analyze the strengths as well as weaknesses of the data and approaches.
Keywords
Introduction
Aspect-based sentiment analysis (ABSA) deals with the determination of sentiments for opinion aspects (i.e. targets) [27]. ABSA is advantageous in a wide range of real-world applications where an overall sentiment score for a text is too coarse. For example,
The
contains one entity (
While discussing the task of aspect-based analysis, we recognize several sub-tasks: aspect term extraction (AE), opinion term extraction (OE), aspect term polarity classification (ATC), and aspect and opinion co-extraction (AOE). All those tasks deal with the extraction of aspect term expressions (ATE), opinion term expressions (OTE), and identification of aspect term polarity (ATP). Using the example above, ATE corresponds to
Until recently, ABSA approaches required the opinion targets (i.e. aspects) to be known in advance [17]. This bottleneck was targeted with a combination of individual approaches (i.e. pipelines) which, first, extract opinion targets followed by aspect-based sentiment analysis [51, 20]. Overall, recent works on ABSA are based on neural network methods [10, 46, 39]. While initially dealing with individual ABSA tasks such as aspect term extraction [50, 48] and aspect term polarity classification [39, 41], researchers have begun adopting these approaches for end-to-end (E2E) ABSA [27, 35] where a single model covers the AE, OE, and ATC sub-tasks. Recent works started to use a unified tagging scheme to create integrated models performing both tasks jointly [43, 26]. Recently, He et al. [18] identified that the correlation between two tasks is not modeled when only using unified tags. Thus, they introduced an interactive multi-task learning network that uses an opinion transmission mechanism. The opinion transmission mechanism unidirectionally passes the output from the aspect term extraction task to the aspect term polarity classification task, thus, providing it with additional information. Chen and Quian [6] build on this by modeling relationships between all sub-tasks; AE and OE, AE/OE and ATP, OE and ATP, as well as AE and ATP.
In previous years, there has been a significant effort spent on sentiment analysis on the aspect-level. However, to achieve better performing models, this task has degraded to sentence-level polarity classification [19]. Many models are designed to predict an overall sentiment for the whole sentence and neglect the fact that sentences can contain multiple aspects and different polarities. This problem was tackled by Jiang et al. [19] with a dataset that consists only of sentences with different polarities. By containing only a specific type of sentence, without a reference to the whole review, such dataset reduces the problem and creates a rather unrealistic scenario that is not to be found in real-world reviews. In addition, this setup omits the fact that some sentences come without explicitly expressed aspects and some without any aspects at all.
To alleviate this problem, we introduce DAORA, a novel and larger dataset for ABSA. DAORA is based on the dataset Arguana [42] and covers 2,100 Tripadvisor reviews with more than 24,000 sentences, and it is annotated on aspect terms, opinion terms, and aspect term polarity, using a unified tagging scheme (see Table 1). This dataset contains full reviews without repeating or removing any sentence and comes close to real-world applications of aspect-based sentiment analysis.
Example of an annotated review from the DAORA dataset. The aspect-term expression (ATE) and opinion-term expression (OTE) are highlighted in blue and red, respectively. The brackets surround the ATE while the subscript represents the aspect-term polarity (ATP) using neg as negative, pos as positive, neu as neutral, and conf as conflict
Example of an annotated review from the DAORA dataset. The aspect-term expression (ATE) and opinion-term expression (OTE) are highlighted in blue and red, respectively. The brackets surround the ATE while the subscript represents the aspect-term polarity (ATP) using neg as negative, pos as positive, neu as neutral, and conf as conflict
The major contributions of this paper lie in presenting a novel dataset for ABSA and the evaluation of the respective state-of-the-art models. Specifically, the contributions of this study are as follows:
DAORA allows for the evaluation of state-of-the-art models for aspect-based sentiment analysis on a large (i.e. 2,100) number of whole reviews; this provides insights on how such models perform in the real world. State-of-the-art datasets rather focus on covering only specific subtasks (e.g. a dataset contains only sentences relevant to ATP) or contain only a specific typology of sentences. DAORA is the first dataset purposely designed for AE, OE, and ATC altogether; current state-of-the-art datasets either do not contain OTE annotations or these were added in hindsight creating potential inconsistencies. In addition, this dataset is annotated with a unified tagging scheme that directly supports the research of integrated models. DAORA comes with a diverse set of challenges as no sentences were omitted from the dataset. Among others, the identification of opinions towards an entity in suggestions, factual sentences, and unrelated opinions are some of these challenges. Since DAORA preserves the mapping between sentences and reviews and the reviewed entity, it allows its application in various types of future work (e.g. Opinion Summarization [30]). We analyze the performance of state-of-the-art models on the DAORA dataset, hence, set benchmarks on multiple tasks for future research. We perform a detailed qualitative analysis on the performance of state-of-the-art models for ABSA and present findings that are supported by a detailed case study.
With the growing popularity of sentiment analysis, respective sub-fields of study such as aspect-based sentiment analysis (ABSA) also grabbed the attention of the research community [9]. While traditional ABSA relied on sequential cascading of partial methods (so-called pipeline approaches), the arrival of end-to-end models (E2E-ABSA) requiring a unified tagging scheme changed the ABSA landscape. However, there is still an absence of datasets designed and annotated specifically for E2E-ABSA. The majority of research resorted to adapt existing datasets which increased the dataset’s bias given the involvement of different annotators and annotation processes [44, 12]. Furthermore, current datasets focus on a subspace of the overall ABSA problem such as ATP prediction or contain only hand-picked sentences. Thus, they are not representative to address, for example, opinion term extraction. In this section, we present the currently available datasets used for ABSA and their details; with this information, we then specify how our dataset (DAORA) addressed the identified gaps. In addition, we review the recent literature for ABSA approaches and introduce a portion of the models used to test DAORA on a variety of ABSA sub-tasks.
Datasets
To address the need for larger datasets, we require quality sentiment analysis datasets annotated at the aspect-level. In regards to these, we highlight SemEval 2014 Task 4 [35], SemEval 2015 Task 12 [34], ArguAna [42], Brun & Nikoulina [3], and MAMS [19].
The SemEval 2014 dataset targets 3,041 restaurant review sentences from [14], with added annotations for the aspect term, aspect term polarity, and aspect category polarity; the authors later expand this with 800 new review sentences. Besides, the dataset contains 3,845 laptop review sentences annotated with aspect terms, reaching a total of 7,686 sentences. Following, the SemEval 2015 dataset covered 450 laptop, 350 restaurant, and 30 hotel reviews. Both SemEval datasets were later annotated for opinion term expression by [44], hence, allowing the learning of integrated models for AE, OE, and ATC. Fan et al. [12] further extended this dataset to enable learning triplets of ATE-OTE-ATP. However, their version contains only one ATE per sample and multiple ATE sentences are repeated. While the SemEval datasets remain state-of-the-art for aspect-based sentiment analysis, some authors modify it to enable ABSA in a fully end-to-end manner [18, 6]. However, the datasets remain small and only allow for a limited analysis of model performance for real-world applications.
The ArguAna dataset [42], the largest available, contains 2,100 hotel reviews from TripAdvisor, annotated for aspect terms, and segment polarities over text segments. In contrast to the SemEval 2014, the authors use complete reviews instead of isolated sentences, as correctly identifying entity-aspect pairs often requires the context provided by the whole review. However, ArguAna does not contain annotations for opinion term expression and aspect term polarities. While ArguAna remains a great source of subjective reviews, it was designed for argument analysis rather than aspect-based sentiment analysis.
Subsequently, Brun & Nikoulina [3] released a Foursquare dataset containing 586 reviews annotated for aspect term, aspect category, aspect term polarity, and aspect category polarity. Despite being purposely designed for ABSA, it does not contain annotations for opinion term expressions. In addition, this dataset is limited to 1,006 samples, which conditions its usage for state-of-the-art neural network-based methods. Similarly to the SemEval datasets, the recently introduced MAMS dataset [19] is also based on reviews from Ganu et al. [14]; it includes 5,297 restaurant review sentences and contains annotations for aspect term, aspect term polarity, aspect category, and aspect category polarity; thus, it lacks opinion term expressions. This dataset focuses on sentences with multiple aspect terms with different polarities and omits other types of sentences from reviews.
While we focus on datasets containing aspect term annotations in the review domain, other datasets exist. These either target a different domain or do not provide the required annotation granularity. For example, SentiHood [37] contains annotation for the aspect category, and SPOT segment-level polarity annotations [1]. There are also works with aspect-term annotations in the social media domain, for example, for Twitter [28, 10] where named entities are usually the sentiment targets.
Given this, we identified the need for a dataset covering a large number of whole reviews annotated in a way that would allow performing the ABSA tasks altogether (i.e. AE, OE, ATC). It is also essential that the dataset contains non-opinionated sentences to enable research on subjectivity detection as well as the exploitation of knowledge between this and the individual aspect-based sentiment analysis tasks [31].
Methods
The majority of existing methods decompose aspect-based sentiment analysis into stages and solve them in a pipeline manner [18]. While the first stage can incorporate either aspect extraction (AE) or opinion extraction (OE), the second stage performs aspect term polarity classification (ATC) for the aspect term expressions identified in the previous step. While, in the past, most common approaches included rule-based methods and traditional machine learning algorithms, such as LDA [29, 4], recent advances in neural networks allowed incorporating neural models also in ABSA [47, 38, 16, 11]. In this subsection, we focus mostly on recent advances in ABSA and the data requirements for training such models.
Aspect and opinion term extraction
In the past, aspect extraction was commonly performed by rule-based approaches [36]. However, recent work has shown that there is some potential for improvement in aspect extraction techniques. Xu et al. [48] proposed a double embedding mechanism where general and domain embeddings are combined. Wang et al. [45] utilized a multi-layer network where each layer contains aspect and opinion attention. Following the previous work, Li and Lam [25] employed a memory network to improve performance by memory interaction between AE and OE. Co-extraction of aspects and opinions was also performed by Dai and Song [7] where the authors enhanced the performance with mined rules as weak supervision. While all previous works deal with labeled data in supervised learning, several studies attempted to perform aspect extraction in an unsupervised manner utilizing auto-encoders [15] and weakly supervised with the help of seeded words [2].
Aspect term polarity classification
Recent works for aspect term polarity classification focus either on the research of brand-new methods or incorporate other data sources and transfer knowledge from other tasks. Xue and Li [49] point out the inefficiencies in the training time and parallelization of Long Short-Term Memory network (LSTM) architectures and propose gated convolutional networks that train faster and also outperform LSTMs. Li et al. [22] state that Convolutional Neural Networks (CNNs) are unable to fully explore the target information as done by Recursive Neural Networks (RNN)-based methods such as LSTM. Hence, the authors introduce transformation networks that combine both RNN and CNN. As one of the first works, He et al. [17] show the advantages of performing auxiliary tasks (i.e. document-level sentiment and domain classification) with a vanilla LSTM and attention. The study was followed by Du et al. [11], who use capsule networks with RNN and attention as an alternative to pooling. Similarly, Chen and Quian [5] also use transfer capsule networks to improve the exchange of information between the tasks. Another work utilized capsules both for aspect term polarity classification and aspect category polarity classification without the necessity of using auxiliary data [19]. This model tries to tackle the problem of predicting different polarities for multiple aspects in one sample.
E2E-ABSA and pipeline approaches
While previous models focused on either aspect term (opinion target) extraction or aspect term (opinion) polarity classification (or handled them in a pipeline manner), Li et al. [23] address both tasks with a unified model formulated as a sequence labeling problem using a unified tagging scheme. Expressing ABSA in such a way enables the exploitation of correlations among AOE and ATC tasks. Later, the authors also engaged a BERT encoder to improve the performance of their model [24]. Building on their previous work, He et al. [18] have recently introduced an interactive multi-task learning network (IMN) for E2E-ABSA based on two document-level auxiliary tasks, in addition to AE, ATC, and OT while dealing with AE and OE as an aspect and opinion term co-extraction task (AOE). In detail, the authors’ proposed model introduces a message passing mechanism that provides each classification task in step
Recent methods of aspect-based sentiment analysis focus on end-to-end solutions for ABSA while also incorporating additional sources of knowledge to deal with the unavailability of sufficiently large datasets. Thus, we target the addressed lack of data, stated as one of the reasons to introduce auxiliary tasks [17], and introduce a novel ABSA dataset annotated with a unified tagging scheme and 5x larger than the currently available datasets.
Finally, based on analysis of related work and availability of models, we selected works [18, 6, 24, 48, 45, 17, 5, 19] as state-of-the-art methods for evaluation of our novel dataset (see Section 4.2).
Dataset description
Despite multiple available datasets, none was annotated using a unified tagging scheme nor includes whole reviews with annotations for opinion term expressions, except for Wang et al. [44] who later annotated the SemEval 2014 and 2015 for OTE. However, this re-annotated dataset remains small. To address the need for larger word-level ABSA datasets, we present a new English Dataset for Aspect, and Opinion Review Analysis in short DAORA, which is based on the ArguAna hotel reviews [42]. The DAORA dataset is annotated for aspect term expressions, opinion term expressions, and aspect term polarity, using a unified tagging scheme to enable E2E-ABSA as a multi-task learning problem in a unified model. Dataset is available in multiple formats on GitHub.1
Table 2 shows a comparison of the presented datasets with our newly introduced dataset DAORA. We compare the number of reviews available in a dataset (# Reviews), number of sentences (# Sentences) with the number of sentences without explicit ATE (no ATE), single ATE in a sentence (single ATE), multiple ATE in a sentence (multiple ATE), and multiple ATE with different polarities (Different ATP). Union of Single ATE and Multiple ATE is represented as sentence with at least 1 ATE ATE. In addition, we compare token-level statistics as number of tokens (# Tokens), number of ATE (# Aspects) with unique ATE (unique), and number of OTE (# Opinions) with unique OTE (unique).
Comparison of state-of-the-art datasets for ABSA with DAORA where the number of reviews available in dataset (# Reviews), number of domains (# Domains), number of sentences (# Sentences) with the number of sentences without explicit ATE (no ATE), with exactly one explicit ATE (Single ATE), with at least one explicit ATE (ATE), multiple ATE in a sentence (Multiple ATE) and multiple ATE with different polarities (Different ATP), number of tokens (# Tokens), number of ATE (# Aspects) with unique ATE (Unique), number of OTE (# Opinions) with unique OTE (Unique). NA corresponds to not available
While DAORA comes with the advantage of being coherently designed and annotated as an E2E-ABSA dataset, Table 2 further shows that DAORA comes with other benefits over current state-of-the-art benchmarks. First, it is larger than other datasets except for ArguAna. Second, it is the only dataset annotated for ATE, OTE, and ATP while coming with a unique distribution of these expressions; for example, DAORA contains sentences with a single ATE, sentences with multiple ATE, and sentences with ATE with conflicting polarity. Third, it is substantially diverse; i.e., it comes with the largest variety in terms of opinion phrases, thus, potentially covering a wide vocabulary also applicable to other domains.
While DAORA comes with the largest diversity of opinion phrases, Table 3 further groups all OTE and ATE according to their length in terms of the number of tokens. In addition, aspect terms are shown according to their polarity label. As presented, aspects and opinions consisting of one or two tokens (96.5% and 92.2% respectively) are the most frequent ones, while ATE and OTE created with four or more tokens are rare. We can observe that ATEs rarely occur with the polarity labels neutral and conflict (5%) while negative and positive labels are more frequent (95%). On the one hand, this could be affected by the willingness of reviewers to report positive and negative experiences. On the other hand, the data is annotated as-is so in case of different phrases (e.g. synonyms) with different polarities refer to the same entity, this is not listed as conflict.
Statistics for the numbers of ATE, ATE with polarity, and OTE along with its length (number of ATE/OTE tokens)
Statistics for the numbers of ATE, ATE with polarity, and OTE along with its length (number of ATE/OTE tokens)
DAORA also covers sentences without any explicit ATE or OTE. In Table 4, we present the ten most frequent ATE and OTE in our dataset as well as the corresponding number of total occurrences. We can observe that some ATE and OTE have large differences between the number of labeled occurrences and the total occurrences. For example, the term room occurs 1,239 times within the labeled occurrences and 3,947 times in DAORA. For ATE, this occurs because DAORA contains factual sentences such as We stayed in the hotel for 2 days where the word room can occur without presenting an opinion. Regarding OTE, the unlabeled occurrences also contain cases of implicit ATE; according to the annotation guidelines, OTE are only labeled if they can be assigned to a specific explicit ATE.
The most frequent ATE and OTE in DAORA with the corresponding number of labeling and the number of total occurrences. Indicative information on the occurrence of the expressions in the test set is shown in columns with ‘in Test’ (see Section 4.3)
The DAORA dataset contains 2,100 hotel reviews spanning over 24,000 paragraphs. Given a review, the task was to identify the opinions, expressed in the text, towards entities and their attributes (i.e. aspect term expression (ATE), opinion term expression (OTE), and aspect term polarity (ATP)).2
The guidelines for the annotation, the dataset, as well as further information are available as supplementary materials and on
Sentence annotation example. AT, OT, and ATP correspond to aspect term, opinion term, and aspect term polarity, respectively
The dataset was manually annotated by one expert. For quality check of annotations, a random sentence of 50 reviews, totaling 500 sentences, was annotated by a second expert. To report on the inter-annotator agreement (IAA) we also consider the cases where the AT and OT do not fully match between the annotators (e.g annotator 1 labels natural yoghurt while annotator 2 labels yoghurt). With this consideration, in Table 6 we present the IAA measured in Fleiss’ kappa [13]. Following the work of Landis and Koch [21], the inter-annotator agreement for DAORA is substantial (substantial agreement is by in the range 0.61–0.80). Originally, the authors of ArguAna reported 0.67 of Fleiss’ kappa for the crowd-sourcing annotation of their dataset. However, the original dataset does not have annotations for OTE, and the polarity annotation was simplified. While we focus on the ternary sentiment annotation of each individual ATE, ArguAna only contains binary polarities for the whole segment resulting in a much less challenging annotation task.
Inter-annotator agreement in Fleiss’ kappa. ATE, OTE and ATP correspond to aspect term, opinion term, and aspect term polarity, respectively
We provide the dataset in a sentence-level and a review-level version as well as a version that ignores conflict labels due to the low number of sentences as proposed by several state-of-the-art research works [40, 46, 18, 6]. While the sentence-level version comes with reviews segmented into sentences because the state-of-the-art models can better leverage knowledge from sequences with limited length (similarly to datasets from SemEval 2014 [35]) and MAMS [19]), the review-level comes with complete reviews without any other segmentation because the larger context of the whole reviews can help models identify also opinions, such as irony or cynicism, that could be observed only from the larger context. In addition, DAORA exists in a third version that ignores conflict labels; conflict labels apply when multiple (different) sentiments are expressed about an aspect term [35].
Evaluation methodology
We evaluate DAORA in terms of three aspects: First, we want to measure its performance in state-of-the-art approaches to confirm it to be sufficiently challenging for the next generation models. Second and given its novelty containing ATP of multiple polarities and a high diversity of OTE, our aim is to compare various approaches to identify what techniques work better for which sub-task of E2E-ABSA (i.e. E2E-ABSA, AE/OE, ATP). Lastly, we set benchmarks scores as reference points for future research.
ABSA tasks and evaluation measures
DAORA is evaluated in three different tasks, utilizing five metrics. Namely, we employ the dataset in experiments on End-to-End Aspect-based Sentiment Analysis, Aspect Term extraction, Opinion Term Extraction, and Aspect Term Polarity Classification.
Following previous works of He et al. [18], and Chen and Quian [6], we evaluate the experiments using five different metrics. Two measures assess the aspect-opinion term co-extraction (AOE), namely the F1-score for the extraction of aspect terms as
The tasks and the respective evaluation metrics per task are as follows:
E2E-ABSA, evaluated on Aspect Term Extraction, evaluated on Opinion Term Extraction, evaluated on Aspect Term Polarity Classification, evaluated on
When evaluating DAORA, we aimed to show what performance is achieved by state-of-the-art approaches to ABSA. We selected 11 state-of-the-art (ranking among the best performing models in respective sentiment analysis (sub)task) models based on a literature review (Section 2). We also selected 8 pipeline approaches that were created by the combination of state-of-the-art models for aspect extraction (2 best performing models) and aspect term polarity classification (4 best performing models). Besides, we include 4 baselines to emphasize state-of-the-art models’ benefits to the overall performance.
E2E-ABSA
For the task of integrated end-to-end aspect-based sentiment analysis, the following four state-of-the-art models, including eight pipeline approaches, as well as two baselines are used for comparison:
pipeline approach as a combination of following models {
Aspect/opinion term extraction
For both tasks, aspect term extraction and opinion term extraction, we employ two state-of-the-art models as well as two baselines. All models are trained with fused ATE and OTE labels.
Aspect term polarity classification
We utilize both versions of the dataset (sentence-level and review-level) in the model evaluation; however, the evaluation of the ATP models and pipeline models on the review-level is not done due to the way the models for aspect term polarity classification are designed. This is because the original idea works with repetition; each sample is repeated for each aspect. While the number of aspects, hence repetitions, in sentences is usually limited, whole reviews typically contain much higher numbers. Originally, the models were not designed for this. In addition, we are not able to evaluate BERT-based models on the review-level dataset version since the maximum input length for BERT is 512 which is shorter than many reviews.
To provide further information on DAORA, we show detailed statistics of training (Train), development (Dev) and testing (Test) sets along with their overall numbers in Table 7. In addition to the previous comparison with different datasets, we present more detailed information about the polarity of the aspects (negative, neutral, positive, conflict).
Complete dataset statistics for training (Train), development (Dev) and testing (Test) along with overall statistics. We report the number of reviews available in the dataset (# Reviews), the number of hotel reviews corresponds to (# Hotels), number of samples (# Samples) with the number of samples without explicit ATE (No ATE), multiple ATE in a sample (Multiple ATE) and multiple ATE with different polarities (Different ATP), number of tokens (# Tokens), number of ATE # Aspects with unique ATE (Unique) and specific polarities (Negative, Neutral, Positive, Conflict), number of OTE (# Opinions) with unique OTE (Unique)
Complete dataset statistics for training (Train), development (Dev) and testing (Test) along with overall statistics. We report the number of reviews available in the dataset (# Reviews), the number of hotel reviews corresponds to (# Hotels), number of samples (# Samples) with the number of samples without explicit ATE (No ATE), multiple ATE in a sample (Multiple ATE) and multiple ATE with different polarities (Different ATP), number of tokens (# Tokens), number of ATE # Aspects with unique ATE (Unique) and specific polarities (Negative, Neutral, Positive, Conflict), number of OTE (# Opinions) with unique OTE (Unique)
All experiments were performed on an NVIDIA Titan RTX with hyper-parameters set as proposed in original papers. We only had to change the transformation of input data and evaluation measures. To ensure the comparability of the methods, we did not use any external data, such as document-level data for any of the experiments, as well as domain embeddings. The textual input has been fed into a word embedding layer which was either initialized using standard Glove embeddings [33] with 300 dimensions, or with uncased BERT [8]; the use of BERT large or BERT small depended on its use by the original papers. Moreover, the textual input was transformed to lowercase without any additional changes for all experiments.
Setting, embedding and hyper-parameter selections for the employed models
Setting, embedding and hyper-parameter selections for the employed models
This section presents the results of the experiments based on the previously outlined methodology for the end-to-end aspect-based sentiment analysis, as well as the partial sub-tasks. While the focus is on the end-to-end approach for aspect-based sentiment analysis, we provide a thorough case and error analysis to provide insights into the performance of selected models. We separate the results and analysis according to the performed tasks: E2E-ABSA, Aspect/Opinion Term Extraction (AE/OE), and Aspect Term Polarity Classification (ATC).
E2E-ABSA
Table 9 provides an overview of the model performances for end-to-end aspect-based sentiment analysis on the sentence-level. For the integrated models as well as selected pipeline models we conduct polarity classification with and without conflict polarity labels. The dataset version without conflict labels follows the work of He et al. [18] and only keeps the aspect annotation for the AOE task.
Model comparison for E2E-ABSA on the sentence-level dataset with and without conflict labels
Model comparison for E2E-ABSA on the sentence-level dataset with and without conflict labels
According to recent research works, it is common practice to omit conflict labels given their usually low number of samples in the data [40, 46]. In contrast, we perform experiments with and without conflict labels. However, the results show a minor impact. Comparing the results for the acc-s measure, we can even observe a higher accuracy for the versions with conflict labels. Integrated models bring advantages and generally outperform pipeline models; they can better model correlations between the individual sub-tasks and, hence, are able to share and exploit information. Analyzing the performance of CapsNet-BERT, we observe that it performs better than integrated models on the sentiment task, however, it suffers from a limited performance on the aspect extraction stage.
Table 10 shows the performance of the models for end-to-end aspect-based sentiment analysis on the review-level. Similarly to the previous table, polarity classification is conducted with and without the conflict polarity labels. For this comparison, only models compatible with such setup were selected (i.e. models using BERT were omitted as it does not process more than 512 words per input).
Model comparison for E2E-ABSA with and without ignoring conflict labels on the review-level dataset
All evaluated models perform better on the sentence-level dataset although the review-level dataset provides more context and the annotation was performed at the review-level. The differences in performance can relate to two causes: First, although providing more context, whole reviews might contain unrelated opinions towards other hotels or restaurants in the neighborhood. Second, there is a large difference in the sample length when considering whole reviews and sentences; sentence lengths are in the range of 2–90 words while reviews contain 2–50 sentences. This extensive length might lead to the loss of context in the network. In addition, many models have a limited length of the input sequence, however, we predict the label for each token when employing a unified tagging scheme.
Table 11 shows the performance of the models on aspect/opinion term extraction on the sentence-level and review-level. Across all approaches and on both evaluation metrics, we can see that the performance of the models trained on the sentence-level is superior to those trained on the review-level. We hypothesize this is related to the problem of keeping context in long sequences. Further, the CNN based models achieve higher F1 results on the review-level data, while the RNN is better on the sentence level. Comparing the aspect extraction with the opinion extraction, the latter seems to be a slightly easier task for the sentence-level approaches, however, this is not clear on the review-level dataset. On the one hand, it is possible that AE is, in general, easier to achieve than OE. On the other hand, having the characteristics of DAORA in mind, we know its advantage of coming with a high and diverse number of opinion phrases. Hence, models are provided with some rich information which can lead to an increased performance.
Model performance for aspect/opinion term extraction measured in F1-a and F1-o
Model performance for aspect/opinion term extraction measured in F1-a and F1-o
In Table 12, we can observe the performance of the aspect term polarity classification models on the sentence-level dataset, with and without consideration of the conflict labels. While the results, evaluated in accuracy, are comparable between the models, varying around 1 point, the differences in terms of F1-score are higher, varying between 10 and 14 points. In addition, we can observe the similarity between the models when it comes to the performance on runs with and without conflict labels; the ones doing well without conflict label also do well with conflict label. The best model, CapsNet-BERT, outperforms the other approaches across all set-ups and evaluation metrics. Generally, the results for this task are in line with previous research [17, 5, 19]. While the results are different for the particular state-of-the-art datasets (SemEval 2014 [35] and SemEval 2015 [34]), the rank of the models is the same as reported in the original works for sentiment accuracy (acc-s) and sentiment F1-score (F1-s).
Model performance for aspect term polarity classification measured in acc-s and F1-s with and without ignoring conflict labels
Model performance for aspect term polarity classification measured in acc-s and F1-s with and without ignoring conflict labels
DAORA consists of a variety of sentence typologies, namely No ATE, ATE, Single ATE, Multiple ATE, and Different ATP, which differ in the number of aspects and corresponding polarities. To provide insight into the models performance, we evaluated these separately for each typology except for No ATE. Table 13 presents the outcome of this evaluation. The results show a higher performance for the AE and OE tasks for sentences with Multiple ATE than for Single ATE sentences. Results are higher between 5–7 points and 3–5 points for the AE and OE prediction when sentences without ATE are not present in the dataset. With these findings, we can conclude that false predictions on ATE and OTE for No ATE sentences have a significant negative impact on the overall performance. The ATC models perform better for sentences with Multiple ATE than the Single ATE sentences. However, on Different ATP sentences the performance considerably drops by 7–20 points for the sentiment accuracy. We hypothesize this occurs since, on the one hand, the ATC models take into account the whole sentence for their prediction and, on the other hand, assign the same sentiment prediction to all aspects (irrespective of their polarity) in the sentence. Our evaluations confirm that model performance suffers from incorrect sentiment prediction on different ATP sentences (drop on acc-s) and incorrect aspect extraction on No ATE sentences (improvement on F1-a on ATE sentences). Assessing the sentences No ATE also showed that the overall performance is negatively affected when these samples are present in the dataset, thus, pointing at the models’ difficulty in sentiment classification in cases without ATE. We selected the best pipeline model (DE-CNN+CapsNet-BERT), the best joint model with glove embeddings (RACL-glove) and the best BERT-based model (RACL-BERT). In addition, we wanted to explore differences between IMN and RACL to see the actual contribution of such a model to specific cases with the original idea of relation modeling.
Model comparison for E2E-ABSA on the sentence-level dataset with conflict labels for specific sentence typology. In parentheses, we report difference with overall performance (see Table 9). Note: Different ATP is a special case of Multiple ATE
Model comparison for E2E-ABSA on the sentence-level dataset with conflict labels for specific sentence typology. In parentheses, we report difference with overall performance (see Table 9). Note: Different ATP is a special case of Multiple ATE
While DAORA is larger than the previous state-of-the-art datasets for aspect-based sentiment analysis, it comes also with terms that have much higher frequency than others. To provide an overview of this, we present its 10 most frequent ATE and OTE in Section 3. Given that terms can be labeled or unlabeled, depending on their occurrence in a review, the models have to learn to differentiate terms between unlabeled, ATE, and OTE. To assess the difficulty to distinguish terms, Table 14 provides an evaluation (in precision, recall, and F1-score) of the classification of the top ten terms.
Model performance on identification of the most frequent ATE and OTE in following measures: precision (P), recall (R), and F-score (F)
Model performance on identification of the most frequent ATE and OTE in following measures: precision (P), recall (R), and F-score (F)
Although the models can almost detect all the most frequent terms with high precision, we can observe several anomalies. The most problematic ATE for all models are the terms breakfast, view, and hotel. The term hotel can be considered as generic as it can represent an overall aspect or entity. However, it is common to appear in factual sentences (e.g. We stayed at this hotel […]) or as part of a named entity which is not annotated. In contrast, the term breakfast, appears in many suggestions and unrelated opinions (e.g. You can find good breakfast down the street.). While the term view is often used in factual sentences (e.g. We had a room with a bay view.).
Most frequent OTE in DAORA
Similarly to the most frequent ATE in DAORA, the models perform well for the most frequent OTEs. We observe that only two OTE have an F1-score below 80, while most are over 90. The more problematic OTEs are the terms no and small. Based on the lower precision than recall, we can see that it is more challenging to avoid false predictions. While no appears in many common phrases (e.g. First of all the location is good, no doubt about it.), the performance of the term small is potentially affected by the prediction of OTE in sentences with an implicit aspect term (e.g. It was small.). We observe that mis-predictions of the most frequent OTEs only have a marginal impact on the performance of the models. This type of error is not as critical for further tasks but it could be caused by statistical anomalies as such annotations are also present in the training sets.
Polarity prediction
Many datasets contain polarities that are not balanced. In DAORA, we consider positive and negative classes as the major ones while neutral and conflict are the minor classes. Table 15 shows the average number of polarity predictions by the selected models for each polarity class. While the models polarity predictions of the majority classes is close to the distribution in the test data, the same does not occur for the minority classes. In this case, all models under-perform. Further, this effect is the strongest for the conflict polarities which are not predicted at all by the DE-CNN and CapsNet-BERT models. Although the performance score does not allow us to determine the correctness (i.e. true positives) of the predictions, we can still infer that predicting the conflict polarity is challenging for most models. Despite this, we are not fully able to comprehend such behavior and some people could claim that conflict polarities were not sufficiently represented in the train set. In addition, we hypothesize another explanation for the models difficulty in predicting conflict polarities. While positive, negative, and neutral are single polarities, the conflict polarity is much more complex, consisting of combinations of single polarities. Given that the majority of the models use the arguments of the maxima (argmax) to obtain the most probable prediction, we assume that the models predict single polarities with a higher confidence, which in turn impedes the selection of the conflict polarity. Further, we hypothesize that predicting conflict polarities (i.e. the combination of single polarities) comes with a higher difficulty than predicting single polarities, hence, relative to the single polarity training samples, the models would need many more conflict polarity samples in the training set.
Number of predictions of specific polarities in comparison with overall number of polarities in test set. The number of predictions consists of the average of all model runs
Number of predictions of specific polarities in comparison with overall number of polarities in test set. The number of predictions consists of the average of all model runs
In this section we analyze the models predictions and explore the nature of the erroneous observations. In Tables 16–19, we present the results for selected samples. Similarly to previous error analysis, we selected the best pipeline model (DE-CNN
Incorrect sentiment prediction
The incorrect sentiment prediction category includes sentences where the prediction of the aspect polarity is not correct (Table 16). Additionally, this category includes cases in which the models failed to predict conflict polarity or have been unable to identify different sentiment polarities in one sentence. An example of incorrect polarity prediction is sentence 380 where two models predicted the polarity of the ATE room as negative. Another example is sentence 2208 which contains two different polarities for three ATE. Despite the fact that the ATE and OTE were correctly identified by all models, the sentiment polarity was correctly predicted only by the CapsNet-BERT and RACL-BERT models. The results on this example can been seen as exemplary for the performance of CapsNet-BERT and RACL-BERT; on different ATP sentences, these model have a higher performance, up to 15 points in sentiment accuracy.
Case Analysis of selected sentences and models: Incorrect Sentiment Prediction. The aspect-term expression (ATE) and opinion-term expression (OTE) are highlighted in blue and red, respectively. The brackets surround the ATE while the subscript represents the aspect-term polarity (ATP) using neg as negative, pos as positive, neu as neutral, and conf as conflict. Note all sentences are used with grammatical errors as written in reviews
Case Analysis of selected sentences and models: Incorrect Sentiment Prediction. The aspect-term expression (ATE) and opinion-term expression (OTE) are highlighted in blue and red, respectively. The brackets surround the ATE while the subscript represents the aspect-term polarity (ATP) using neg as negative, pos as positive, neu as neutral, and conf as conflict. Note all sentences are used with grammatical errors as written in reviews
Case Analysis of selected sentences and models: Incorrect ATE/OTE Prediction. The aspect-term expression (ATE) and opinion-term expression (OTE) are highlighted in blue and red, respectively. The brackets surround the ATE while the subscript represents the aspect-term polarity (ATP) using neg as negative, pos as positive, neu as neutral, and conf as conflict. Note all sentences are used with grammatical errors as written in reviews
| No. | Example | DE-CNN |
IMN-D | RACL-glove | RACL-BERT | ||||
|---|---|---|---|---|---|---|---|---|---|
| Aspect | Opinion | Aspect | Opinion | Aspect | Opinion | Aspect | Opinion | ||
| 58 | Our dealings with the hotel staff were minimal, so I can not fairly comment on the service. | [hotel staff]UNK | minimal | [hotel staff]neg, [service]neg | minimal | [hotel staff]neg, [service]neg | minimal | [staff]neg | minimal |
| 558 | Breakfast is available at a selection of nearby diners all a couple of minutes walk from the hotel. | [breakfast]UNK | [breakfast]pos | available | [breakfast]neu | available | [breakfast]neu | ||
| 1272 | It sounded like a great place to be for the occasion. | [place]UNK | great | [place]pos | great | [place]pos | great | [place]pos | great |
| 2554 | We used to stay in downtown San Francisco, then found a nice small motel place near the wharf, but the mattresses became too lumpy for our backs. | [place]UNK, [mattresses]UNK | nice small, too lumpy | [mattresses]neg | too lumpy | [motel place]pos, [mattresses]neg | nice small, too lumpy | [mattresses]neg | too lumpy |
Case Analysis of selected sentences and models: Special Sentence Structures. The aspect-term expression (ATE) and opinion-term expression (OTE) are highlighted in blue and red, respectively. The brackets surround the ATE while the subscript represents the aspect-term polarity (ATP) using neg as negative, pos as positive, neu as neutral, and conf as conflict. Note all sentences are used with grammatical errors as written in reviews
Sentences 550 and 732 point to the problem of predicting conflict polarity. While for sentence 732 all models predicted a negative polarity, for sentence 550 one model predicted neutral polarity, one model negative polarity, and two models positive polarity.
The second group refers to the problem of incorrect ATE/OTE predictions (Table 17). In the sentences 16 and 1096, a common problem is the absence of an explicit ATE which is a condition for OTE annotation. In both sentences, the ATE is represented by a pronoun (a common expression of implicit ATE). In sentence 1096, really helpful and nice is not annotated due to implicit ATE but fairly good is annotated since it could be assigned to the ATE location. Another issue is represented by the named entities C Named entities were anonymized in the examples.
Non-opinionated sentences represent the group of sentences where reviewers provide information other than opinions (i.e. factual sentences) as well as opinions unrelated to the classified aspect or entity. An example of a non-opinionated sentence is given in Table 19, sentence 58. In this case, the tested models miss-identified the ATE hotel staff with the OTE minimal, which does not represent the original sentence correctly as this is a factual sentence. In sentence 558, we have an example of an unrelated opinion; breakfast is available at diners (nearby), however, the reviewed hotel is not related to these locations. Hence, the sentence facilitates a suggestion rather than an opinionated sentence as it recommends breakfast at nearby restaurants which are a different entity than the reviewed hotel. Similarly, sentence 1272 is also non-opinionated as it presents an expectation. All models identified the ATE place and the OTE great, however, none was able to identify that this sentence was non-opinionated. The last sentence in this group (2554) represents a more challenging example since it is opinionated but not related to the reviewed hotel.
Miscellaneous sentence structures
The last group of examples represents special sentence structures that models are not capable to identify correctly (Table 19). An example is given in sentence 420, where the reviewer’s opinion towards the given aspect is present only at the end of the sentence. In this case, the models incorrectly identified the OTE small although this is not an OTE expressed by the reviewer, but rather a comment to past reviews targeting the same aspect. In contrast, in sentence 311 the reviewer negates his statement in the last sentence segment. Due to this negation, the OTE is not annotated.
Conclusions
In this paper, we described a dataset for multiple tasks related to aspect-based sentiment analysis. We denote this dataset as Dataset for Aspect and Opinion Review Analysis, in short DAORA. DAORA consists of complete reviews from TripAdvisor previously collected for an existing dataset for argument mining – ArguAna. DAORA can be used for multiple separate tasks – aspect extraction (AE), opinion extraction (OE) and aspect term polarity classification (ATC) and their combination. Furthermore, DAORA supports end-to-end aspect-based sentiment analysis (E2E-ABSA). To support the use of DAORA in future tasks, we presented a quantitative and qualitative analysis based on multiple benchmark results obtained from state-of-the-art models for aspect-based sentiment analysis.
The qualitative evaluation of state-of-the-art models on DAORA revealed several challenges. The first challenge refers to the high number of false-positive predictions in the AE and OE tasks, especially in sentences containing suggestions, unrelated opinions, factual sentences or opinionated sentences with present implicit aspects. The second issue corresponds to the incorrect sentiment assigned to sentences with multiple ATE; in detail, different polarities are predicted as the same polarity. Finally, the last challenge we identify is the inability of predicting the conflict polarity.
While DAORA is designed for E2E-ABSA, it comes with the means to enable other sentiment related research. For examples, DAORA allows for the evaluation of state-of-the-art models for aspect-based sentiment analysis on a large number of whole reviews; this provides us with insights on how such models perform in the real world. This dataset can also fuel research in integrated models for aspect-based analysis as it was designed directly for this task. Furthermore, DAORA can aid in the identification of non-opinionated sentences and implicit aspects since these can be evaluated separately.
Nevertheless, DAORA is a powerful resource for aspect-based sentiment analysis, thus, we identified several future work options on how DAORA could be extended. Some of these include:
Exploiting knowledge transfer of sentence typology and subjectivity of sentences in addition to the tasks of AE, OE, and ATC could help eliminate a high number of false positive predictions, especially for the AE and OE tasks. The annotations of ATE and OTE in DAORA do not create triplets with ATE-OTE-ATP annotations since such a setup would halt performing integrated E2E-ABSA. The mapping of OTE to ATE to create triplets of ATE-OTE-ATP will be essential for even more complex review analysis in a fully end-to-end manner. The annotation of DAORA for the aspect category and aspect category polarity could help towards more complex review analysis. With such annotations exploiting knowledge transfer between aspect term and aspect category would be possible. DAORA allows further research in opinion mining, especially opinion summarization, since DAORA contains whole reviews with the annotated aspect which can be easily mapped to the reviewed entity.
The described characteristics and attributes make DAORA an ideal candidate to foster future research in the area of aspect-based sentiment analysis and beyond. DAORA can also drive research towards a better performance and more comprehensive review analysis.
