Bidirectional Attentional LSTM for Aspect Based Sentiment Analysis on Italian
Paper · 2018 · Giancarlo Nicola
Summary
A traveler may be satisfied with a room’s comfort while finding its location inconvenient. An overall sentiment label would tell a reader little about which part of the stay went well. At EVALITA 2018, the ABSITA challenge asked systems to draw finer distinctions within individual sentences in Italian reviews of accommodations. Aspect Category Detection, or ACD, asks which aspects of the accommodation the sentence brings up. Aspect Category Polarity, or ACP, asks what opinion the sentence conveys about those aspects. The paper presents SentITA, which uses a common architecture and preparation procedure for both tasks. Sentiment and emotion
SentITA builds an input for each word from several sources. A pretrained vector represents general information about the word. A sentiment dictionary supplies a polarity value and its associated confidence. Tags contribute information about grammatical category and named entities. A separate, smaller set of vectors can distinguish words in the task’s training vocabulary even when they share the same fallback in the pretrained lookup. Stacked bidirectional long short-term memory layers read the word sequence in both directions. An attention mechanism then combines their contextual states into a sentence representation, giving some positions more influence than others. Word embeddings
The submission averages scores from networks fitted on different partitions of the labeled examples, then applies a threshold to decide which labels to return. SentITA placed fifth in detection with a micro F1 of 0.8035, the same value reported for the entry immediately above it. It placed second in polarity with a micro F1 of 0.7449. To compute micro F1, first pool the decisions for all evaluated labels, then combine the resulting precision and recall. In polarity, a larger share of SentITA’s predictions was correct than the winner’s, while the winner recovered more of the expected labels and achieved the higher combined score.
The rankings measure the performance of the complete submission. The authors also describe a training comparison in which freezing the additional embeddings yielded comparable results with a slight advantage over updating them. The paper gives that comparison qualitatively and leaves the separate contributions of the lexicon, tags, attention, and averaging unmeasured. The authors identify recall as a weakness and propose using more unlabeled Italian text to extend the range of vocabulary and subject matter the system can handle.
Deep dive: Bidirectional Attentional LSTM for Aspect Based Sentiment Analysis on Italian
SentITA uses bidirectional LSTMs, attention, and an Italian sentiment lexicon to identify aspects and their polarity in accommodation reviews. · about 31 minutes to read
The problem and its context
From the tone of a sentence to what it evaluates
The sentences in ABSITA come from accommodation reviews on Booking.com. The task treats each one as a self-contained input. Categories such as comfort, cleanliness, and location describe dimensions of a stay that a reviewer can mention or evaluate. A reader interested in a particular dimension needs to know whether the sentence concerns it and, for an opinion, how the reviewer judges it. Those needs correspond to the competition’s detection and polarity subtasks.
Detection requires recognizing the subject matter of an expression and mapping it to a category used by the challenge. An explicit reference to cleanliness can provide fairly direct evidence. A remark about the condition in which the traveler found a room can also be relevant to cleanliness. The category is a standardized answer that can apply across different wording. A word-level representation helps the system read those expressions, while the prediction is made at the sentence level. Text classification
A polarity assignment has to preserve the relationship between the thing being discussed and the evaluation of it. Consider a sentence that presents comfort as an advantage and location as a drawback. The detection task can be satisfied by identifying both topics. The polarity task calls for the favorable judgment to be associated with comfort and the unfavorable judgment with location. This distinction also matters when the evaluations agree. Knowing that the traveler approves of something still leaves the practical question of what earned that approval.
The relevant clues can serve different purposes. A word that points to an accommodation feature may say little about the reviewer’s attitude. An adjective may express a judgment whose target appears in another part of the sentence. Negation and intensification can change how evaluative words should be interpreted. The paper singles out negations, intensifiers, and adjectives when explaining why a system for brief texts should be able to give extra weight to particular parts of its input.
The sentence boundary defines the evidence available for these decisions. In a complete review, a writer can introduce a subject in one sentence and evaluate it in the next. ABSITA supplies an isolated sentence as the unit to classify. The paper compares that setting with other brief texts, including tweets, where the available wording frequently offers little scope for exploiting links across long passages. The challenge is to use the relationships available within the input, including clues that may occur on either side of the word they help explain.
Representing words and composing a sentence
The paper situates SentITA in a line of work that represents words by dense numerical vectors. In a sparse representation focused on word identity, each distinct entry can occupy its own coordinate in a large vocabulary. A dense representation describes each word with a shared set of coordinates. The values learned from text can place words with related uses near one another and encode regularities connected to meaning and grammar. The paper discusses these properties through earlier work on word vectors, including Efficient Estimation of Word Representations in Vector Space and GloVe.
Those vectors matter here because they can be learned before the labels for the review task enter the process. A network fitted to the competition data can draw on patterns acquired from other text when it encounters a word in a review. The paper also describes earlier work that extends distributed representations to sentences and documents. It presents an approach in which sentences can be placed in a dense space, with proximity reflecting related content. SentITA also needs a vector at sentence level. It builds that vector by assembling evidence from the word sequence during classification. Distributed Representations of Sentences and Documents
An embedding supplies a representation of a word. A sentence task also needs a way to combine representations in context. The introduction points to recursive approaches in work on semantic composition, where the meaning of larger expressions is built from smaller parts. It also mentions the use of convolutional networks for sentiment and sentence representation. These examples establish the broader setting in which learned word vectors can be paired with different ways of reading multiple words. Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank and A Convolutional Neural Network for Modelling Sentences
The approach selected for SentITA belongs to the recurrent family. A recurrent layer processes a sequence by passing along a state, a numerical representation that changes as each position is read. Long short-term memory, or LSTM, provides a way to regulate what information the layer carries forward. The paper describes its use in earlier work on relationships that extend across word or character sequences. In SentITA, the units passed to the layer are words, and the main rationale is to combine the useful parts of a brief input. Earlier work cited in the discussion includes Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation.
Why the system uses outside lexical and grammatical information
The paper describes task-specific dictionaries and other features as an established complement to embeddings in short-text sentiment systems. The examples it cites include prior work on sentiment in tweets. Its motivation applies to reviews in two ways. A dictionary can supply a direct clue about conventional polarity. Furthermore, the vocabulary and usage of user-written text can differ from the text used to learn general word vectors. A system that draws on several kinds of input can still obtain some information at a position where the general vocabulary provides only a fallback. SemEval-2016 Task 4
The particular contribution of a dictionary is easiest to see by separating a word’s ordinary evaluative character from its use in a sentence. A lexical entry can convey that a word tends to have a favorable meaning. A word vector can encode patterns of usage that also relate the word to others in the vocabulary. The task depends on how such clues interact with the current sentence, including qualifications and the expression that supplies the target of an opinion. SentITA makes the dictionary signal available to a sequence encoder that can learn those interactions from labeled examples.
The same design provides grammatical and entity information through part-of-speech tagging and named-entity recognition. A part-of-speech tag describes a word’s grammatical category in context. An entity tag indicates whether a position belongs to a mention recognized by the tagger and can characterize the type of entity. Both tags give the classification network categories whose values can recur across different words. The signal from these categories is available alongside the lexical features for the position.
The labeled data also shape the proposed design. The paper describes the task dataset as small relative to many English sentiment datasets. Features supplied by pretrained vectors, a dictionary, and taggers bring in information created outside the task’s labeling process. The supervised part of the project then concerns how to combine that information for the aspect categories and opinions found in accommodation reviews. This division of work is central to the paper’s account of why the system can be trained with the data at hand.
The method, step by step
How information moves through SentITA
The basic input is a review sentence together with its supervision during training. Each word position acquires a bundle of features. SentITA compresses the large pretrained vector before joining it with the other features belonging to that position. The resulting sequence passes through recurrent layers that read in both directions. A pooling operation then assembles the contextual states into a fixed-size vector, which the final layers use to score the labels. For the competition submission, the system combines scores from its separately trained networks before deciding which labels to return.
How SentITA turns a review sentence into labels
The steps in order.
The sequence of operations gives SentITA two distinct places to combine evidence. The first is inside a network, where word features and their contexts contribute to the representation of one sentence. The second is at submission time, where the networks supply several scores for the same potential label. The attention mechanism governs the contribution of sequence positions. The score average combines the results of training on different partitions. After the average, the threshold governs whether a label appears in the final submission.
Normalizing the text and setting the input length
The paper describes lowercasing as the text normalization step. The additional preparation produces features aligned to word positions. SentITA represents each sentence as an ordered sequence and sets the input length to 35 positions. A shorter sentence receives padding at the beginning. A sentence above the cap is shortened to that length. The paper leaves open which portion of an overlength sequence is kept.
Padding lets sentences of unequal length occupy the same input shape. The positions supplied by padding have a different role from positions occupied by review words. An implementation needs a way to handle them during sequence processing and pooling, and the architecture description leaves that handling open. Truncation imposes a different constraint. It determines which words are available to the system at all, so the information lost can include either a clue to the category or a qualification that changes the evaluation.
The sequence structure persists through the next stages. SentITA gathers features for each word and preserves the order of the positions at which those features were found. A feature describing one position can therefore interact with features at other positions after the recurrent layers begin to process the input. This organization is important for a polarity task in which an evaluative word and the expression that identifies its target can be separated by intervening material.
The two representations of word identity
The main embedding table contains Italian fastText vectors. Each word vector from it has 300 dimensions. The paper identifies skip-gram with its default settings as the method behind the vectors. For SentITA, the important property is that a direct lookup supplies information learned from earlier text, before optimization on the labeled review sentences. The work cited for these resources is Learning Word Vectors for 157 Languages and Enriching Word Vectors with Subword Information.
The size of the table is constrained by the memory of the graphics processor used for training. The system keeps the first 150,000 words in the pretrained list. That list follows decreasing frequency in the corpus that produced the vectors. The retained entries are thus the most frequent in that source ordering. A review word can be familiar in the task data and still fall outside the retained set if its use is less frequent in the fastText source corpus.
A word outside the cap receives the shared out-of-vocabulary representation in the pretrained feature stream. The consequences are local to that stream. Its lookup yields the same fallback as for other excluded words, even though differences may remain in their dictionary or tag features. The design also provides a way to preserve word identity for this situation. SentITA assigns a small custom vector to every word in the training vocabulary, including words with an ordinary fastText entry.
The custom embeddings start from random values. Their purpose in the submitted design is to give the network a distinguishable input for words that the large lookup groups together. A random vector is an identifier expressed through coordinates. A later layer can learn a different response when those coordinates recur in different training examples. The association then comes from the supervised layers that use the vector and the examples in which it was observed.
The paper discusses an alternative in which those custom vectors are adjusted through training. Updating an embedding would let its coordinates adapt to how the word is used in the task. Freezing it gives the rest of the network a stable representation to work with. The authors discuss this choice together with the decision to freeze the tag embeddings, and they report a qualitative preference for the fixed setting in the data available to them.
The coverage guarantee for the custom lookup concerns the training vocabulary. For a word first appearing after training, the paper leaves the behavior of that lookup unspecified. It also leaves open how much the smaller embeddings contribute for words that already have a distinct fastText vector. The feature is present for those words as well, so including it could affect more cases than the missing-vector problem that motivated it.
The sentiment dictionary and the tag features
SentITA obtains lexical polarity from the OpeNER Sentiment Lexicon Italian. The paper gives its size as 24.293 lexical entries, annotated for positive, negative, or neutral polarity. The resource was developed with a propagation method starting from seed words and with manual inspection of the most frequent items. The system therefore uses judgments and patterns assembled before the review task as inputs to its own classifier.
For each lookup, the described feature is a vector of length 2. It contains the word’s polarity and the confidence associated with that polarity. This confidence belongs to the lexical entry. A high-confidence dictionary cue can occur in an input whose interpretation depends heavily on nearby words. The recurrent layers receive both the lexical feature and the other positions, so they have access to context when deciding how that cue should influence the representation.
The authors specify the contents of the polarity vector while leaving details of its numeric coding open. They also leave open how the system fills the feature when a dictionary lookup yields no entry. The distinction matters because a neutral lexical annotation and the absence of lexical information have different meanings. The description establishes that polarity and confidence are available as separate inputs wherever the system obtains the dictionary information.
The tag features come from spaCy’s Italian components, with version 2.0.11 identified in the paper. Each word position can receive a part-of-speech tag and a named-entity tag from this preparation. The tags enter the classifier through small lookup tables. A named-entity tag is mapped to a vector with 2 dimensions. The representation for a part-of-speech tag has 4 dimensions. Both lookup tables start with randomly initialized vectors, which stay fixed during training for the submission.
A fixed tag vector represents a recurring discrete value in a form the classification network can use. For example, words marked with the same grammatical category can share that part of their input while retaining different word vectors. The network can then learn responses that depend on the shared category, the lexical identity, or a combination of the two. Entity information works through the same general arrangement of tag lookup followed by contextual processing. The review categories themselves are supplied by the classification task.
Taken together, the feature channels describe different properties of a position. The pretrained and custom tables contribute information about the word, the dictionary contributes a sentiment cue, and the taggers describe properties of its occurrence in text. The authors emphasize that these inputs are obtained through existing resources and automatic processing. The human effort required for preparing the review sentences is consequently limited in their account.
Combining features before reading the sentence
The first stage of the network reduces the dimensionality of the fastText representation. The other features join that reduced representation at each position. This is concatenation. The coordinates of each feature vector are placed next to those of the others to form a single input vector for the position. The recurrent stack can then learn to respond to information drawn from any part of that vector.
The reduction applies to the large pretrained stream before concatenation. The paper gives the original dimensionality of the embeddings while leaving the size of the reduced representation unspecified. The feature descriptions still establish the layout of the computation. A compact representation derived from the pretrained vector reaches the recurrent stack alongside the dictionary values, the tag vectors, and the custom word representation.
SentITA uses dropout after this dimensionality reduction, with a rate of 0.5. Dropout introduces random omissions during training to reduce dependence on particular activations. The paper also reports dropout between timesteps in both recurrent layers at 0.5 and on the recurrent output at 0.3. These settings place regularization at the input transformation, within sequence processing, and at its output. The paper specifies their placement and rates as part of the submission’s training configuration.
The paper reports 45,233,366 total parameters, of which 61,368 are trainable. The fastText embedding matrix accounts for 45,000,300 of the total. These figures distinguish the amount of information stored in the network from the number of adjustable values fitted on the task. The authors present the small trainable count as a way to reduce the risk of overfitting. The fixed resources give the adjustable layers input information whose acquisition did not depend on fitting the task’s labeled sentences.
Reading from either end
A recurrent layer processes positions in order and updates its state as it goes. The state summarizes information that the layer has carried from earlier positions in its reading direction. An LSTM has a memory mechanism with controls for keeping or updating information as new inputs arrive. In SentITA, one update receives the combined features for a word. An aspect cue or part of an evaluation can influence later updates through the information carried in the state.
Bidirectionality lets a layer build context by reading the sequence in its ordinary order and in reverse. The forward computation has access to earlier positions when it reaches a given word. The reverse computation can convey material that appears later in the sentence. A state associated with an adjective can therefore reflect a potential target on either side. An aspect cue can likewise be represented in context that includes an evaluation appearing before or after it.
SentITA stacks two such bidirectional LSTM layers. The first reads the sequence of word feature bundles. The next reads the contextual sequence delivered by the first. In the first layer, the material being combined across positions includes the supplied lexical, grammatical, and entity features. In the next, those combinations have already been placed in a sentence context, and the layer can build on them. The output remains a sequence of states tied to positions.
The paper identifies hyperbolic tangent, also called tanh, as the activation used in the recurrent layers. This bounded nonlinear transformation is part of how the layers represent changing inputs and context. The description focuses on the arrangement of the recurrent layers and the flow of their outputs. The individual state-update equations and the sizes of the recurrent states are left unspecified.
Pooling the sequence through attention
The recurrent stack produces several vectors for a sentence, one associated with each position in its output sequence. The dense classification layers need a single vector as their input. The paper uses an attention mechanism to compute an adaptive weighted average of the recurrent states. The resulting vector has a size that depends on the state representation. The number of positions affects which states go into the average. Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems
A uniform average would give every included state an equal share. With attention, some states can contribute more strongly. A compact way to express the weighted average described in the paper is:
s = ∑ₜ αₜ hₜ
Here t identifies a sequence position, and hₜ is the recurrent state at that position. The symbol αₜ is the position’s normalized attention weight. Writing αₜ beside hₜ denotes multiplication of the state vector by that scalar weight. The sum sign ∑ₜ combines the weighted states across positions. The equals sign defines s, the pooled vector for the sentence. This expression describes the averaging operation. The paper identifies the attention approach it adopts and leaves the scoring equation for the weights unstated.
Attention is applied to contextual states, which already incorporate the recurrent processing. The contribution from a heavily weighted state can include information passed to it from elsewhere in the sequence. A favorable dictionary cue and nearby negation, for instance, can interact while the network constructs its states. The average operates on the resulting representations. It gives the classifier access to a combination of context-dependent information from multiple positions.
The authors relate this mechanism to temporal pooling. Here, time corresponds to steps through the words, and pooling reduces that sequence axis to a single representation. SentITA’s description gives one pooled vector to the downstream classifier. Several output decisions can draw on it. If a sentence concerns more than one aspect, useful information about those aspects can reach the dense layers through different states or through a state that already combines them.
The distinction between pooling and prediction helps explain where the aspect-specific decisions occur. The pooled vector is a representation of the input available to the output layers. The final units each use that representation to score an output. The description leaves any aspect-specific weighting to what the full architecture learns from its targets and gives no separate attention rule conditioned on an aspect category.
From sentence representation to training loss
The dense layers receive the pooled representation. A dense layer combines coordinates from its input using learned weights. The internal dense layers use rectified linear units, or ReLUs, which pass positive inputs through and map negative inputs to zero. The final layer uses a sigmoid, which maps a score into the range used for thresholding. This gives the system a separate score for each output, so a sentence can yield several positive decisions.
The description connects the output to the detection and polarity signals required by ABSITA. It establishes a shared network design and text preparation for the tasks. It leaves the precise arrangement of the output labels and the relationship between the fitted networks for the two submissions unspecified. In particular, the architecture description alone gives limited grounds for reconstructing how category and polarity targets were encoded or whether one decision was explicitly used to gate another.
The training objective is cross-entropy over classes. Cross-entropy penalizes predictions that assign little support to expected labels or excessive support to labels that should be absent. Its continuous values guide parameter updates. The final threshold is applied to predictions for the submission. The paper gives the objective family without specifying the full loss expression or how its contributions from the different classes are combined.
For optimization, SentITA uses Nesterov Adam, abbreviated Nadam. The authors explain it by reference to Adam, which uses momentum to incorporate the direction of past updates and adapts the size of updates across parameters. Nadam uses the Nesterov variant of momentum in this arrangement. The paper presents this as a way of improving the stability of updates and reports using the optimizer’s defaults. Adam
λ = 0.002
The symbol λ denotes the learning-rate setting for Nadam. The equals sign assigns that setting the reported value.
β₁ = 0.9
The symbol β₁ denotes the decay coefficient for the first running moment of the gradient, which tracks its direction and magnitude through a moving average. The subscript identifies the first moment, and the equals sign specifies its setting.
β₂ = 0.999
The symbol β₂ denotes the decay coefficient for the second running moment, which tracks squared gradients and contributes to the adaptation of step sizes. The subscript identifies the second moment, and the equals sign specifies its setting.
schedule decay = 0.004
The phrase schedule decay names the optimizer’s schedule parameter as reported by the paper. The equals sign specifies the value used for it.
Choosing checkpoints and submitting an average
The labeled data are divided into 5 folds, or portions used in rotation. In each run, 4 folds supply the training examples and a different fold supplies validation examples. The paper describes the per-run split as 80% training and 20% validation. Each network uses the same architecture. What changes across runs is the assignment of examples to training and validation.
The training portion supplies the examples from which parameter updates are calculated. The validation portion supplies a separate loss by which the authors monitor progress and select a saved state. They use early stopping with a patience of 7. Patience allows a run to continue through a period without improvement before it stops. When the run finishes, the state with the best validation loss is restored. The checkpoint used for prediction is thus selected according to its performance on the fold assigned that role.
The paper trains 5 instances in this way. A sentence that serves as part of the validation material in one run can supply training information in the other runs. Each particular network’s checkpoint is selected using its own validation fold. The authors motivate averaging as a way to make the submission less dependent on the selection made using any one of those folds.
For each evaluated sentence, the system takes the average of the scores from the 5 retained networks. It then applies a threshold of 0.5 to the averaged predictions. This order gives the strength of the individual scores a role in the decision. A score just below the cutoff can be outweighed by stronger support elsewhere in the ensemble. The submission thus reflects the scores of the retained checkpoints before the labels are made discrete.
The fold procedure produces the networks whose outputs go into the competition submission. The metrics reported in the results are the organizers’ evaluations of that submission. The paper leaves the individual networks’ challenge scores and the spread of their validation outcomes unspecified. The fold design describes the fitting and selection of the ensemble members and supplies the motivation for combining them.
Experiments and results
The evaluated data and the meaning of the scores
The evaluation is the ABSITA shared task at EVALITA 2018. Its inputs are individual Italian sentences from accommodation reviews. The paper gives 6,337 as the size of the labeled dataset discussed in its training rationale. The rotating training and validation splits are drawn from the data used to develop the submission. The ranking tables summarize the official challenge evaluation. The paper leaves the size and label distribution of the challenge evaluation set unspecified.
In ACD, an evaluated decision concerns whether the sentence evokes a category. Precision measures the share of proposed categories that agree with the reference labels. Recall measures the share of reference categories the system recovered. For ACP, these measures apply to the aspect polarity outputs evaluated by the challenge. Correct polarity predictions have to agree with the evaluation associated with the relevant category.
The difference between precision and recall comes from what each treats as its starting set. Precision starts from the labels the system has returned and asks how many were correct. Recall starts from the expected labels and asks how many were recovered. An omitted expected label directly affects recall. An extra predicted label directly affects precision. Assigning an opinion to an incorrect category can create both kinds of error if the expected assignment is left missing and the extra one is counted as a prediction.
The paper reports micro-averaged measures. In this calculation, the counts of matching, extra, and missed decisions are pooled across labels before the scores are calculated. A category with many evaluated instances can therefore have a greater influence than a category with few. Micro F1 uses the harmonic mean of micro precision and micro recall, so the lower of the two measures constrains the combined result. The organizers order the competition entries by F1.
Each table also includes the task baseline. The paper supplies its measured performance while leaving its prediction rule unspecified. The baseline offers a common point of comparison within a task. The other ranked entries describe the submissions of different participants. Their scores establish positions on the benchmark, and the tables provide no common training or architecture conditions under which to compare particular components.
Aspect Category Detection
SentITA placed fifth in ACD. Its micro F1 on the challenge evaluation was 0.8035. The fourth-ranked submission has the same displayed score, and the winning submission has 0.8108. The baseline’s micro F1 was 0.3377. The tie in the displayed figures establishes equality at the precision the paper reports. The score values at finer precision and the rule used to order the two entries are unspecified.
ABSITA aspect detection submissions by micro F1
SentITA shares its displayed score with the preceding entry and finishes below the winner.
The numbers
| System or setting | Micro F1 |
|---|---|
| Winning entry | 0.8108 |
| Second-ranked entry | 0.8063 |
| Third-ranked entry | 0.8043 |
| Fourth-ranked entry | 0.8035 |
| SentITA (this paper) | 0.8035 |
| Sixth-ranked entry | 0.7827 |
| Task baseline | 0.3377 |
The component measures explain how SentITA and the fourth-ranked submission reached the same displayed F1. SentITA recorded micro precision of 0.8819 and micro recall of 0.7378. The fourth-ranked entry recorded micro precision of 0.8626 and micro recall of 0.7519. SentITA had a larger share of correct decisions among its outputs. The entry above it returned a larger share of the categories called for by the reference labels.
The winner of the ACD task recorded micro precision of 0.8397 and micro recall of 0.7837. Its advantage in F1 came with greater recovery of the expected categories and a smaller share of correctness among the labels it returned. The sixth-ranked submission shows another combination. It recorded micro precision of 0.898, higher than SentITA’s, together with micro recall of 0.6937. This puts a concrete interpretation on the order in the chart. The F1 ranking depends on how both measures come together for each submission.
The ACD baseline scored 0.4111 for micro precision and 0.2866 for micro recall. SentITA’s advantage over the baseline accordingly appears in both measures. At the top of the ranking, where several entries show closely grouped F1 scores, the component measures reveal differences in the kinds of decisions their results reward. This is particularly useful in interpreting SentITA’s fifth place. Its displayed F1 resembles the scores of several entries above it, and its comparatively high precision accounts for part of that position.
Aspect Category Polarity
In ACP, SentITA took second place, achieving micro F1 of 0.7449 on the challenge evaluation. The winner scored 0.7673, and the third-ranked entry scored 0.7326. The baseline’s micro F1 was 0.1994. The detailed results and the Italian abstract establish the task assignment of the two placements. The English abstract repeats the detection abbreviation when describing them.
ABSITA aspect polarity submissions by micro F1
SentITA finishes behind the winning entry and ahead of the other displayed submissions.
The numbers
| System or setting | Micro F1 |
|---|---|
| Winning entry | 0.7673 |
| SentITA (this paper) | 0.7449 |
| Third-ranked entry | 0.7326 |
| Fourth-ranked entry | 0.7295 |
| Fifth-ranked entry | 0.6861 |
| Task baseline | 0.1994 |
SentITA’s polarity predictions attained micro precision of 0.8612 and micro recall of 0.6562. The winning entry attained micro precision of 0.8264 and micro recall of 0.7161. The winner recovered more of the evaluated labels and gained enough from that coverage to have the higher F1. SentITA had greater precision, which means that a larger share of the labels it supplied agreed with the evaluation.
The entries immediately below SentITA help show how it held second place. The third-ranked system had micro precision of 0.7472 and micro recall of 0.7186. The fourth-ranked system had micro precision of 0.7387 and micro recall of 0.7206. Each recovered a greater share of the expected labels than SentITA did. SentITA’s advantage on precision combined with its recall to give it the higher F1.
The fifth-ranked entry presents the reverse pattern. Its micro precision of 0.8735 was the highest in the reported ACP table, while its micro recall was 0.5649. SentITA was second on precision as well as second on F1, with different entries leading those two orderings. The ACP baseline recorded micro precision of 0.2451 and micro recall of 0.1681. The submission exceeded the baseline on both components of the official score.
What the rankings reveal about the submitted system
A common pattern emerges when SentITA is compared with the winner of each task. Its predicted labels are relatively reliable, and its coverage of the expected labels is lower. The same balance explains its position near several other high-ranking entries. For a reader deciding what to investigate next, this points towards the decisions the submission missed. It gives a more specific description of the system’s performance than its rank alone.
The paper describes SentITA as more oriented toward polarity because its features include the sentiment dictionary. A lexical polarity and confidence feature supplies information directly related to the evaluation attached to an aspect. Identifying which aspect is involved can call for different kinds of evidence, such as a word that evokes one of the review topics. The ACP placement is consistent with the authors’ account of the design. The two rankings involve different prediction targets and fields of competitors, and the dictionary’s contribution has no separate numerical estimate.
The reported precision and recall come from averaged predictions thresholded at 0.5. This threshold selects one operating point for the submission. In principle, admitting additional predictions can recover expected labels and can also add errors. The paper supplies scores for the setting used in the challenge. The shape of the precision and recall tradeoff at other settings is left open.
Finally, the pooled scores tell how the submission fared across the evaluated labels as a whole. A result driven by reliable predictions on often occurring categories can look similar to a result distributed more evenly across categories. The ranking tables provide a clear comparison by the official metric. They leave the coverage of particular aspects and the handling of mixed evaluations to finer-grained analysis.
What the ablations show
Freezing the additional embeddings
The paper reports a qualitative comparison between keeping the additional embeddings fixed and letting training update them. For the available dataset, the authors describe comparable outcomes with a slight advantage for leaving them fixed. The text explicitly says that the tag vectors were fixed for submission and discusses the custom word vectors together with them when considering a larger dataset. No per-task scores or further breakdown are given for the comparison.
This comparison changes which inputs are adjustable. A frozen vector can still carry information into the network. The part-of-speech coordinates still identify a grammatical category, the entity coordinates still represent a tag, and a distinct custom word vector can still distinguish a training word. The downstream layers can learn how to respond to those coordinates even when the lookup entries themselves stay the same.
The evidence therefore concerns the choice of whether to adapt the vectors to the labeled data. It leaves open how predictions would change if any of the corresponding feature channels were removed. The authors suggest that with more data the extra embeddings might benefit from training. The comparison on the current dataset cannot determine at what point additional supervision would change the balance or whether each of the small embedding tables would respond in the same way.
Evidence about the other design choices
The most detailed comparisons are between complete submissions. The detection table shows that SentITA and the entry just above it obtained the same displayed micro F1 with different component scores. The polarity table shows that SentITA was competitive while missing more expected labels than several entries close to it. These comparisons locate the system’s strengths and weaknesses at its submitted operating point. The individual contributions of design choices remain open because the comparison systems differ in ways beyond any single component.
The paper’s explanation of the polarity placement emphasizes the sentiment dictionary. That resource offers a route for explicit lexical knowledge to reach the output. The results show high precision for the full system, and the paper gives no matching run with the dictionary feature removed. The observed performance is also compatible with contributions from the recurrent encoding, the general word vectors, the tags, and the training procedure. Their relative roles cannot be inferred from the leaderboard.
The case for attention has the same distinction between architectural rationale and experimental evidence. Adaptive pooling can give more influence to some contextual states. To estimate its independent contribution, otherwise comparable runs would need to vary how those states are pooled. The paper presents the chosen attention mechanism and the performance of the submission that uses it. Its analysis leaves open which positions receive large weights in particular examples and how the resulting predictions depend on those weights.
For the ensemble, the rationale is to average networks whose checkpoints were selected using different validation folds. That rationale concerns dependence on the validation examples in any particular run. The performance tables contain the averaged submission’s numbers. Individual checkpoint scores, changes from averaging, and the variation across fold assignments are unspecified. The empirical evidence consists of the qualitative embedding update comparison and the benchmark behavior of the system with its features, pooling, and ensemble in place.
Limitations
Limits identified by the authors
The authors identify recall as the principal weakness visible in the results. SentITA’s predictions have high precision in both tasks, but several competing submissions retrieve a larger share of the reference labels. The comparisons with the winners give a concrete example for each task. Recovering more of the expected labels while preserving precision is the motivation for the improvement discussed at the end of the paper.
The proposed extension is to learn more from unlabeled Italian text. The paper describes the existing use of unsupervised learning through the pretrained word vectors. Its proposed direction is to add features learned from broader text, for example through a language prediction objective or an encoder–decoder network. The authors expect that such representations could give the system wider coverage of Italian vocabulary and subject matter. That is a hypothesis about improved generalization and recall. Its effect on the challenge metrics remains untested in the paper.
The pretrained vocabulary cap is another practical constraint the authors identify. The hardware used for training limited the lookup to 150,000 words. Its fallback lets the system process positions outside the retained vocabulary. The small custom lookup preserves distinctions for words known from the training set. The decision to freeze the additional embeddings is also tied to the amount of labeled material available. The authors leave open how well those vectors could be adapted with more supervision.
Limits visible in the evaluation
The results describe a particular review domain and language. The paper’s references to tweets and other user-generated material motivate its design, while the performance figures come from Italian accommodation reviews. A different domain could change the subject categories, the usual meaning of evaluative expressions, or the coverage of the feature resources. Transfer across these conditions remains outside the reported evaluation.
Sentence isolation and the cap of 35 positions also set boundaries on the evidence the system can use. An aspect named elsewhere in a review is outside its input. An overlength example can lose words that identify a topic or alter an evaluation. The paper leaves the frequency of truncation and its effect on results unspecified. The pooled scores therefore provide limited evidence about performance on longer constructions or examples whose interpretation depends on omitted context.
Some missed labels could be associated with vocabulary coverage. The paper documents the fallback in the pretrained table and the custom lookup’s coverage of training words. It gives no benchmark breakdown showing how frequently each path is used or how frequently the dictionary supplies a feature. Accuracy for words beyond the pretrained cap, sensitivity to tagging errors, and the behavior of the custom lookup for new test words remain open. These gaps limit how precisely a reader can connect the reported recall to the proposed remedy of learning from larger amounts of text.
The measures also leave the types of label errors unresolved. A low recall value can include missed categories, missed evaluations, and errors in linking an evaluation to the right category. The ACP table gives performance on the challenge’s evaluated outputs. The paper reports no separate experiment with reference aspects supplied to the system to isolate the difficulty of polarity assignment. Similarly, the pooled figures leave open which categories and sentiment labels account for most of the errors, and whether sentences with conflicting evaluations are especially difficult.
The leaderboard compares submissions at the settings their participants chose. The paper gives an operating threshold for SentITA and a single performance result for each submitted task. Other thresholds might produce different balances, and the evidence supplies no estimate of that variation. It also leaves statistical uncertainty and run-to-run variation unspecified. The exact ordering among entries with closely clustered scores is consequently best read as the ordering of the submitted results on this evaluation.
Limits of the implementation description
The architecture and training account specify the major components, several input dimensions, optimizer settings, the fold rotation, and the rule for combining predictions. Reconstructing the system would also involve choices about the numeric encoding and fallback for lexical polarity, the handling of padding in the recurrent and attention stages, the width of the reduced representation, and the detailed encoding of the task outputs. The paper leaves those choices open.
These details affect different stages of the computation. A fallback determines what evidence a missing feature contributes. Padding treatment can affect which states enter the pooled representation. Target encoding determines what the final units are trained to predict. The broad sequence from features to contextual states to thresholded labels is clear, and reproducing the exact submitted scores would require information beyond that outline.
What came after
The documented follow-up ends with the authors’ proposal to exploit more unlabeled Italian text. They suggest learning representations that could capture more of the language’s vocabulary and subject matter than the existing lexical feature stream alone. The connection to the benchmark is recall. A broader source of information might help the system recover aspect or polarity labels for sentences whose wording provides weak evidence under its current representations.
The proposed extension would have to be evaluated on the same distinction the results make visible. Recovering more expected labels would improve recall, and the precision figures would show whether those additional outputs remain reliable. The paper leaves that follow-up as future work. No subsequent study building on SentITA is documented.
Cite
Cite as Giancarlo Nicola. 2018. Bidirectional Attentional LSTM for Aspect Based Sentiment Analysis on Italian. Proceedings of the Sixth Evaluation Campaign of Natural Language Processing and Speech Tools for Italian. Final Workshop (EVALITA 2018).
@inproceedings{giancarlo2018bidirectional,
title = {{Bidirectional Attentional LSTM for Aspect Based Sentiment Analysis on Italian}},
author = {Giancarlo Nicola},
booktitle = {Proceedings of the Sixth Evaluation Campaign of Natural Language Processing and Speech Tools for Italian. Final Workshop (EVALITA 2018)},
year = {2018},
url = {https://aclanthology.org/2018.evalita-1.17/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/nicola-2018-bidirectional-attentional-lstm-aspect-based/