Deep Learning Brasil at ABSAPT 2022: Portuguese Transformer Ensemble Approaches
Paper · 2023 · Juliana Resplande Sant'Anna Gomes, Eduardo Augusto Santos Garcia, Adalberto Ferreira Barbosa Junior et al.
Summary
A hotel review can praise the room while criticizing another part of the stay. A single sentiment label for the review would hide that distinction. Deep Learning Brasil’s entry to ABSAPT 2022, a shared task at IberLEF 2022, treats sentiment analysis as a pair of more specific problems. Aspect Term Extraction, or ATE, asks which stretches of text name things the reviewer evaluates. Sentiment Orientation Extraction, or SOE, supplies those terms and asks whether the reviewer’s opinion of each is positive, negative, or neutral. The competition data came from Portuguese TripAdvisor reviews of hotels and rooms.
For extraction, the authors grouped entries with the same review text so that every annotated aspect could be shown in a single training example. They converted the annotations into labels marking the beginning of an aspect, the rest of its span, and the words outside any span. They then trained several Transformers to predict those labels. Their final entry combined Portuguese RoBERTa and mDeBERTa systems trained with different data configurations. For every token, the ensemble took the median of the systems’ probabilities for each label.
For polarity, the authors compared assigning a class directly with generating the name of a class as text. They also compared using the whole review with using just the sentence containing the aspect. The strongest systems generally did better with the full review. PTT5 Large, using conditional generation and the competition data alone for task training, led on the random internal split and on the split designed to preserve the distribution of both polarities and aspect terms. An mDeBERTa base configuration led on the split designed to preserve the polarity distribution. The authors chose PTT5 Large for the final entry and combined the labels from several fine-tuned runs by majority vote.
The authors report that their entries ranked first in both shared-task subtasks. The two rankings establish success under distinct evaluation conditions. The extraction entry found annotated spans, while the polarity entry judged terms supplied by the task. In particular, the polarity result measures how well the system reads a review when it already knows which aspect to judge. The paper’s comparison of whole reviews and individual sentences makes that reading problem especially clear. The term identifies the subject of the judgment, while the surrounding review can supply evidence that the term and its immediate sentence leave unresolved.
Deep dive: Deep Learning Brasil at ABSAPT 2022: Portuguese Transformer Ensemble Approaches
Deep Learning Brasil’s ABSAPT entry finds aspect terms in Portuguese hotel reviews and uses PTT5 to judge sentiment toward each one. · about 33 minutes to read
The problem and its context
A review can contain several judgments
The distinction between a review’s overall tone and its opinion of a particular aspect determines what a sentiment system is expected to return. A reader looking for opinions about rooms may care little about the review’s general recommendation if the only discussion of the room is negative. A reader comparing the issues raised in several reviews needs to know both what each person discussed and what they said about it. A single label assigned to each review keeps the overall direction of the judgment and loses its relationship to the things being judged.
Aspect-based sentiment analysis makes that relationship explicit. In the version studied here, an aspect term is a stretch of the review text associated with a judgment. A term can cover a single token or extend over several. The task gives the extracted text a concrete location through its start and end positions. The sentiment label belongs to the aspect at that location. This organization matters when several opinions occur in one review, since predictions have to remain attached to the corresponding targets.
Extraction and polarity each expose a different source of difficulty. An extraction system has to decide where an annotated term begins and ends in a sequence containing plenty of ordinary text. Knowing that the passage expresses a complaint may give it a clue, but it still has to locate the phrase to which the complaint applies. A polarity system starts with that phrase already identified. It can concentrate on interpreting the reviewer’s attitude, although the presence of a target still leaves open which words provide the relevant evidence.
A polarity prediction is therefore conditional on the named aspect. If a review discusses several aspects, its text can be held constant while the question changes with each aspect. The desired label can change with it. Any method that reads the overall tone without distinguishing targets risks applying the strongest sentiment in the review to every aspect. Conversely, a method that reads too narrow a window around the target risks missing the part of the review that explains how the author felt about it.
The authors trace the shared task’s format to SemEval-2014 Task 4. That format gives the location and the interpretation of an aspect separate roles. In ATE the input is the review text and the desired output is the set of aspect terms. In SOE the annotations already identify the relevant terms and the desired output is a polarity for each. The paper also notes that earlier work uses the names aspect term polarity classification and aspect sentiment analysis for the polarity problem. Those names describe the same role in this study’s task setup.
These separate inputs shape how to interpret an error. A correct polarity prediction with a supplied aspect shows that the system can interpret that target under the benchmark conditions. A missed aspect during extraction is a different failure. In an application that passed extracted terms to a polarity system, an omitted term would never reach the next stage. By scoring the problems separately, the shared task can evaluate interpretation without making its score depend on the extractor’s coverage.
Earlier work gave the subtasks different forms
For the span problem, the authors take their main precedent from the ATE ABSITA shared task at EVALITA 2020. The teams ranked first and second there treated aspect extraction as named entity recognition. Named entity recognition supplies a way to mark which adjacent pieces of text belong to a recognized span. In the adaptation to aspect extraction, the span is a phrase selected by the sentiment task’s annotation. The same machinery can learn boundaries even though the target is an aspect term instead of an entity type such as a name.
Those teams adapted pretrained Transformers to labeled examples from the task. This procedure is called fine-tuning. It starts with a system that already has a learned representation of text and adjusts it for a particular prediction problem. Here the prediction problem is to place a boundary label on each token. The use of pretrained systems gave Deep Learning Brasil a practical way to study which starting point and which collection of examples worked well on Portuguese aspect spans while keeping the tagging problem recognizable.
For sentiment orientation, the first-ranked ATE ABSITA team supplied a precedent based on text classification. Its approach relied on the idea that the sentiment of the text around a target would reflect the sentiment directed at that target. Selecting nearby text makes the classification problem more focused. It also makes a substantive assumption about reviews. A sentence can mention the relevant aspect before the writer explains the opinion elsewhere, and nearby wording can express a reaction to another aspect. How much text the system sees is consequently part of the method.
The paper describes an alternative in the work of Zhang and colleagues and of Chebolu and colleagues. Their line of research treats aspect-based sentiment as text generation. A system receives a written input identifying the review and the target, then produces text naming a sentiment category. The tasks in Deep Learning Brasil’s study still have fixed answers. A generated sentiment word has to correspond to the same kind of category that a classifier would select directly. What changes is the interface through which the system makes the decision and, for the fine-tuned generator, the form of its training examples.
These precedents motivate a comparison at the level of inputs and outputs. The span system has to attach information to individual positions in the review. The polarity system has to express a judgment about an aspect whose position has already been annotated. Within the polarity task, the earlier local-context approach and the generation approach leave a further choice about how much of the review to use. Deep Learning Brasil tests both the prediction format and the amount of context available to it.
The annotations define the object of study
The hospitality domain makes the distinction between finding a term and interpreting it concrete. A reference to a room can be recognizable as a possible target even when the words giving the reviewer’s opinion are elsewhere. Whether that occurrence belongs in the extraction output depends on the task’s annotations. Once a term is supplied for SOE, the system has to read its context and assign the category associated with that occurrence.
The data also determine what counts as a useful comparison. A review can contribute several aspect annotations. For extraction, learning from the review means seeing them together as spans. For polarity, learning from the same review means attending to the designated target in each example. An example format that is convenient for one objective can obscure the other. A list of individual aspect records is suitable for asking separate polarity questions, whereas a fully labeled sequence makes clearer which tokens belong to any of the aspects in the review.
The work is thus a study of Portuguese hospitality reviews under a particular annotation scheme as well as a shared-task submission. The earlier research supplies ways of representing the two tasks, and the competition supplies the examples and evaluation. The paper’s methods connect those parts by changing the representation of the data to suit each prediction objective.
The method, step by step
The same review supports two kinds of example
The starting records contain a review identifier, the review text, the aspect term, the term’s start and end positions, and its polarity. The same text can occur in several records because each record concerns an individual aspect. The positions identify the annotated occurrence in its original context. The polarity belongs to that aspect, even when another entry for the review has a different label.
The extraction procedure collects the aspects into one representation of the review. This produces an example in which a system learns where each annotated span occurs among the other tokens. The polarity procedure instead constructs an input centered on the aspect supplied for that example. The review text can appear repeatedly in this representation, with the named aspect directing the system to the judgment it should make.
The final systems also combine their predictions at different levels. Extraction combines confidence values at individual token positions. Orientation combines completed decisions for individual supplied aspects. The flow therefore branches after reading the original annotations and remains separate through the competition outputs.
From Portuguese review annotations to shared-task predictions
The steps in order.
Turning aspect offsets into a tagging problem
For ATE, the authors first group all entries that have the same review text. Each distinct review becomes a training example containing its collected aspect annotations. Grouping matters because the original records expose one aspect at a time. If a record were independently turned into exhaustive token labels, another annotated term in that same text could be treated as background in that example. Putting the annotations together makes the background label refer to tokens outside the assembled spans.
Next comes tokenization, the division of text into the units to be labeled. The authors use NLTK to prepare the tokenized review and its annotation. The start and end positions from the original data supply the locations to be represented as token labels. A system trained in this form sees the tokens in context and learns to attach a tag to each position.
The label scheme is BIO, also called IOB in the paper. B marks the beginning of an aspect span. I marks a later token within a span that has already begun. O marks a token outside the spans. A single-token aspect begins with B and requires no continuation. A multi-token aspect starts with B and extends through its I labels. Since the beginning has a separate tag, adjacent aspects can be represented with separate starts.
The boundary information is as important as the decision that a token belongs to an aspect. If an extractor recognizes the first token of an annotated phrase and leaves the rest outside, it has found part of the term. If it extends the phrase too far, it has included text that the annotation leaves out. BIO turns both cases into sequences of observable decisions. The tags themselves carry no positive, negative, or neutral value, so disagreements about the sentiment are handled by the other subtask.
The authors train the extractors with the Hugging Face Transformers library. They consider BERTimbau base, mDeBERTa v3 base, and a Portuguese RoBERTa base they trained on BrWaC and the Portuguese part of OSCAR. They also try an mDeBERTa variant that has already been trained on external aspect-based sentiment data. Its earlier training uses Evalita, MAMs, and SemEval. That variant gives the study a way to consider previous experience with aspect annotations as well as the choice of architecture.
Changing the extraction training data
The paper distinguishes a Portuguese training condition from a multilingual one. The Portuguese subset contains the 70% portion of the original competition training set assigned to internal training. The multilingual subset adds external aspect-based sentiment examples to that Portuguese portion. The external sources include Evalita, MAMs, and the SemEval tasks from 2014, 2015, and 2016.
Adding external examples at this stage is distinct from starting with an mDeBERTa system that has already been trained on external aspect data. In the first case the authors change the material used for task fine-tuning in the experiment. In the second they change the system’s starting point. Both can expose an extractor to annotated aspects beyond the Portuguese competition set. They do so at different points in training, so the paper identifies the previously trained version separately.
The internal evaluation reserves 30% of the original competition training material as a pseudo-test set. The authors arrange this division so that the same sentence does not occur in both partitions. A split drawn independently over aspect records could leave one aspect annotation for a piece of text in training and another annotation for the same text in evaluation. Splitting by distinct text helps make the evaluation a test on different sentences. The external data augment the internal training condition, while the pseudo-test examples come from the Portuguese competition data.
Fine-tuning uses a batch size of 8 and runs for 8 epochs. A batch is a group of examples used together for a training update, and an epoch is a pass through the training data. The learning rate controls the size of the updates. The authors set it to 3e-5 for BERTimbau and RoBERTa and to 4e-5 for mDeBERTa. These settings describe the extraction runs. The polarity ensemble uses a different fine-tuning setup.
Combining extraction probabilities
The final extraction entry uses the 3 systems the authors selected as the strongest in their internal comparisons. The conclusion identifies the ensemble as drawing on Portuguese RoBERTa and mDeBERTa, with Portuguese and multilingual training data used for those respective families. Each system provides probabilities for the possible tags at each token position.
The authors combine these values by taking a median separately for each label at each token. With 3 values for a label, the median is the middle value after ordering them. The operation uses the probability given to that label by every component. An exceptionally high or low probability from one component has less direct influence on the middle value than it would have on an average. The procedure described here combines the probability values themselves, so a label can receive support even from a component that favors some other label at that position.
Since the operation is repeated across positions, the ensemble assembles evidence for the beginning and continuation of spans within the review. The paper describes the combination in terms of probabilities per token. The definition of the submission therefore centers on how those local predictions are pooled. Details such as any later correction of inconsistent tag sequences are left unspecified.
Turning polarity into a question about a supplied term
For SOE, the input already identifies the aspect. The authors can construct a separate prediction example for each designated term in a review. This preserves the distinction among the review’s judgments. The shared categories are positive, negative, and neutral, and the system is evaluated on the category associated with the current target.
The first strategy treats the review and the aspect as a pair for classification. The authors join the review text and the aspect text using the special separator [SEP]. The separator marks the transition between the passage being read and the term to be judged. A system based on a masked language model processes this joined input and assigns a polarity. In this use of the architecture, the answer is a class decision over the paired input.
The other strategy gives the system a written prompt. Its fields identify the review and the aspect, followed by an invitation to complete the polarity field. The desired completion is the word naming the reference category. The paper uses an autoregressive generation setup, in which the output is produced as text. The sequence-to-sequence PTT5 systems learn to go from the written review-and-aspect input to the label text through fine-tuning on examples of that transformation.
This generation formulation changes the form of the prediction while leaving the target categories fixed. PTT5 can use the sort of input-to-output training for which its architecture is designed. The review and the aspect provide the conditions for producing the label, which is why the paper calls this conditional generation. Evaluating the answer still means judging a polarity decision. The experiment does not require an explanation of the sentiment, a reproduction of its supporting words, or an overall summary of the review.
GPT-3 supplies a zero-shot comparison for the generation strategy. Zero-shot here means that the authors ask it to complete the polarity prompt without fine-tuning it on their data. The reviews remain in Portuguese when passed to the text completion API. This establishes a comparison with prompted generation under a different training condition. It also makes the distinction between the generation format and task-specific adaptation visible, even though the two configurations differ in other ways.
The authors consider both base and large variants of BERTimbau and PTT5 as part of the polarity investigation. The other candidates include mDeBERTa base and XLM-RoBERTa base, alongside LaBSE, Canine-c, and RemBERT. This range is relevant to interpreting the outcome. The project compares complete configurations in which the underlying system, the output format, the input context, and the training data can differ. The chosen entry comes from that search across configurations.
Deciding how much of the review to read
The context experiment asks what text should accompany the supplied aspect. In the full-review condition, the system receives the entire review and the aspect term. In the narrower condition, the system receives the sentence containing the aspect and the aspect term. The authors use the sentence as a practical approximation of the passage relevant to the target, following the earlier approach they discuss.
Restricting the input changes the evidence available to the classifier or generator. If the opinion is expressed in the same sentence as the target, the local input may retain what is needed and remove unrelated opinions. If the opinion is clarified later, the restriction removes the clarification. The experiment changes the available text while preserving the fact that the target is named. This makes it possible to ask whether access to the wider review helps with the same kind of conditional judgment.
A full review can also be more difficult to read because it contains competing sentiment cues. The extra words may support an interpretation of the supplied aspect, but they may concern other aspects. Successful use of the longer input depends on using the target to interpret those cues. The comparison therefore tests a tradeoff between making more evidence available and limiting the input to text close to the target. The narrow condition operationalizes closeness through sentence membership.
Varying the polarity data and internal splits
The authors also investigate other data sources in the polarity experiments. They try extending the internal training subsets with B2W and with additional aspect-based sentiment data. The latter include Evalita and MAMs, as well as the SemEval collections from 2014, 2015, and 2016. They also evaluate an mDeBERTa variant already trained on MNLI and XNLI. As in extraction, prior training and adding examples during the current experimental procedure are different settings.
Another experiment attempts to enlarge the competition training data by swapping aspect terms. The approach, drawn from work by Liesting and colleagues, replaces an aspect with another from the same category to form a synthetic example. That principle depends on having categories that make the substitutions sensible. The ABSAPT data do not provide category annotations for this procedure, so the authors try topic modeling to approximate such groups.
The motivation for grouping becomes apparent from the structure of the classification problem. A replacement should leave the example usable as evidence about the intended polarity. If the substitute changes what the surrounding review is likely to mean, keeping the original label can produce a misleading example. Topic modeling gives the authors a way to propose categories from the data, but the task does not supply category labels against which to check those assignments. The target-swap experiment consequently includes a grouping problem as well as a data augmentation problem.
For internal SOE evaluation, the authors form new training and validation partitions from the shared-task training set. All of the split designs allocate 70% of the reviews to training and 30% to validation. Subset 1 is formed randomly. Subset 2 tries to preserve the proportions associated with the polarity labels. Subset 3 also tries to preserve the relative occurrence of aspect terms. The purpose of changing the split is to see how candidate systems perform under different ways of distributing examples between training and validation.
A proportional allocation does not make the polarity classes equally common. It aims to give both partitions a similar class distribution. Likewise, preserving aspect proportions seeks comparable representation across the partitions. It does not set aside a collection of unfamiliar terms as a dedicated test. The split designs control which distributions are preserved while leaving the overall train-to-validation allocation fixed.
Voting over the polarity predictions
For the final SOE submission, the authors use PTT5 Large with the full review and the supplied aspect. Task fine-tuning uses the competition data alone. This choice reflects the internal comparison of complete configurations, where conditional generation with this input and training setup was the authors’ preferred option.
They vary the learning rate and random seed across fine-tuning runs. A seed determines the starting state for random choices made during a run. The paper describes a four-run ensemble, but gives the settings for the following configurations.
{3e-4, 7}
The braces group the settings for a run. The value 3e-4 is its learning rate, and 7 is its random seed.
{1e-4, 5}
The braces again identify a pair of settings. The learning rate is 1e-4 and the random seed is 5.
{5e-5, 8}
The learning rate in this pair is 5e-5, and the seed is 8. The paper supplies no corresponding pair for the remaining run in the stated ensemble.
Each fine-tuned system generates a polarity for the current review and aspect. The final submission combines those categorical predictions with majority voting. The unit being combined is already a proposed answer for the entire aspect, whereas the extraction ensemble combines label probabilities for every token position. The voting procedure uses the agreement among the PTT5 runs on the polarity category. The authors make the ensemble training code available in the dlb_absapt2022 repository.
Experiments and results
What was in the reviews
The TripAdvisor data give the systems Portuguese text from the hospitality domain. The paper analyzes the training material to see whether some labels and aspect terms occur much more frequently than others. Positive polarity, encoded as 1 in the data, represents about 68% of the examples in the authors’ description. Their aspect-by-polarity visualization also shows that the mix of sentiment classes varies across frequent aspects. The overall preponderance of positive labels is therefore only part of the distribution the polarity system encounters.
Aspect terms themselves are concentrated among common entries. The authors count 77 unique aspects and report that the top 15 account for 79% of the data. Their location analysis shows that terms occur more often near the beginning of a review. These observations describe different ways in which the training data can provide shortcuts. A system might learn something about which words tend to be targets or where targets tend to occur. The distributions alone do not show whether the trained systems actually use those cues.
For ATE, the authors report a mean of 3.7 aspects per review and a standard deviation of 1.7 in the training data. For the number of words per review, they give a mean of 68 and a standard deviation of 21. The standard deviations describe how much the review counts vary around their respective averages. Since an aspect can span more than one word, the average aspect count does not directly give the number of labeled aspect tokens. The paper uses the figures to explain why background text takes up much of a typical extraction example.
The polarity and extraction problems therefore have different imbalances. For polarity, eligible examples already have targets, and the positive category occupies a large share. For extraction, a review is full of tokens that lie outside annotated aspects. Frequent aspect terms add a further concentration at the vocabulary level. These properties matter when reading the metric names, because a high aggregate success rate can arise while difficult categories or uncommon targets still present problems.
The paper reports using two V100 GPUs with 32 GB, assigning one GPU to each task. Internal comparisons are based on partitions of the competition training material. The shared-task rankings come from the separate evaluation of the submitted entries. The two settings serve different purposes. Internal evaluation supports the authors’ choices among experimental configurations. The official evaluation places the resulting submissions alongside those of other teams.
How extraction was scored
The ATE internal evaluation reports accuracy, macro precision, macro recall, and macro F1. Accuracy measures the overall frequency of correct predictions. Precision concerns how often predictions for a category are correct when the system makes them. Recall concerns how much of the annotated material for that category the system recovers. F1 combines precision and recall, so a strong score depends on recovering relevant material without producing too many incorrect predictions.
Macro averaging gives the categories being averaged equal influence over the reported result. This matters in a tagging task because the abundant outside positions can otherwise dominate a measure based on individual decisions. The exact categories included in averaging and the unit used for scoring affect how to compare a reported value with other work. In particular, a measure of correct token labels answers a different question from a measure requiring the entire aspect boundary to match.
The authors compare extraction systems trained under different data conditions on the pseudo-test partition, which accounts for 30% of the original competition training material. The alternatives include Portuguese BERTimbau and the authors’ Portuguese RoBERTa, alongside mDeBERTa configurations. The comparison considers Portuguese-only training, training augmented with multilingual examples, and previous exposure to external aspect data for the relevant mDeBERTa variant. Those alternatives are the paper’s main internal reference points for choosing an extraction entry.
The paper identifies the final system as a median-probability ensemble of the 3 strongest candidates from the internal evaluation. It says it ranked first in the official extraction subtask and calls the result a new benchmark for the competition. The reported ordering gives the outcome of the shared task. It leaves the size of the score margin and the individual numerical contributions of the ensemble members unspecified in the discussion of the result.
Why the polarity experiments use several measures
For SOE, the paper reports accuracy, macro F1, and separate F1 measures for positive, neutral, and negative polarity. Overall accuracy measures the share of correct aspect-level polarity decisions. That share is influenced by the distribution of reference labels, since an error on a common class arises from a larger pool of examples. A system can therefore do relatively well in accuracy by being effective on the frequent class while having difficulty when the reviewer is neutral or negative.
Macro F1 gives each class its own contribution to the overall measure. The individual F1 results then make it possible to see which category contributes to a system’s strengths or weaknesses. Together, these measures can distinguish an improvement spread across polarities from an improvement concentrated in the dominant class. The reported positive share of about 68% makes that distinction relevant to the authors’ analysis.
The comparison includes a direct classification strategy and the fine-tuned generation strategy. It also includes the zero-shot GPT-3 run, which receives the prompt with the Portuguese review and the aspect. Because of time constraints, that run covers a subset of 391 reviews. The number refers to reviews used for the zero-shot evaluation. A review can supply more than one aspect, so it cannot be read as a count of aspect-level judgments made in that experiment.
The paper presents the leading configurations for each internal split and highlights the best results by metric. These splits change how the original shared-task training material is divided. Subset 1 is random, subset 2 preserves the proportions of polarities, and subset 3 also tries to preserve aspect-term proportions. The fixed training share means that the split comparison varies the allocation of examples by composition while keeping the reported share assigned to training constant.
Training share across ABSAPT polarity development split settings
The split settings keep the training share fixed while changing how reviews are allocated.
The numbers
| System or setting | % of reviews assigned to training |
|---|---|
| Subset 1, random allocation | 70 |
| Subset 2, polarity proportions preserved | 70 |
| Subset 3, polarity and aspect proportions targeted (this paper) | 70 |
The chart measures training allocation. The marked row is a split on which the configuration selected for submission led the internal comparison. Every split reserves 30% of the reviews for validation, and the bars carry no information about accuracy or F1. Because the split sizes are constant in proportion, the differences in which configuration leads cannot be attributed to a different stated percentage of reviews available for training.
How the polarity configurations ranked
PTT5 Large trained on the competition data alone leads on subset 1 and subset 3 in the authors’ account. The configuration uses the whole review along with the aspect and generates the polarity word. An mDeBERTa base configuration surpasses it on subset 2. Thus the leadership reported for PTT5 Large includes both the random split and the split that tries to preserve the distribution of aspects along with polarity. The split that preserves polarity proportions alone yields a different leading system.
Across the strongest configurations they tried, the authors obtain their best results by retaining the full review. This observation favors the wider-context setting over the sentence-only setting as implemented in their experiments. It also helps explain the input chosen for the entry. The full review keeps evidence that can lie beyond the aspect sentence, with the aspect term explicitly identifying which judgment should be predicted.
The authors submit a majority-vote ensemble of the selected PTT5 Large configuration. Its components share the conditional generation strategy and use the original competition data for task training. Variation among the runs comes from their fine-tuning settings. The authors say the entry set a new performance benchmark for the shared task after the official evaluation ranked it first on SOE.
The numerical results reported in the surrounding discussion principally describe the data, split proportions, and sizes of particular experimental settings. The paper gives the internal and official outcomes in terms of which configurations led. Exact score margins for the reported rankings, per-class F1 values, and an isolated score gain from voting are unavailable from those statements. The ranking conclusions are therefore firmer than any claim about the size or source of an improvement.
What the official results establish
The shared-task rankings show that the extraction and polarity submissions each performed best among the entries they faced in the corresponding evaluation. For extraction, the winning object is the heterogeneous ensemble that combines tag probabilities. For polarity, it is the ensemble of fine-tuned generators that vote on labels for supplied aspects. Each is the end product of a search among data and training conditions.
This makes a distinction between the competition result and the internal configuration comparisons useful. The official rank compares submissions assembled by different teams. An internal result can provide narrower evidence about choices such as the context window or which candidate led on a particular split. The official outcome does not by itself identify why the winning submission succeeded, because an entire configuration changes from entry to entry.
The input assumed by the polarity result also remains important at the point of interpretation. The test asks whether a supplied target receives the right polarity. The extraction result separately asks how well targets are located. Both first-place finishes support the authors’ shared-task claim. A joint assessment of the sentiment attached to automatically detected terms would require an evaluation in which the polarity system actually consumes the extractor’s output.
What the ablations show
The context comparison addresses a particular preprocessing choice
The paper offers comparisons among experimental configurations, with the whole-review and aspect-sentence conditions providing a focused test of how the polarity input is prepared. In both conditions the system is given the aspect. The change is the passage presented alongside it. The authors report that their strongest configurations do best when that passage is the full review.
This result gives a practical answer for the tested setup. Restricting evidence to the target sentence was less effective than allowing the selected systems to read the entire review. A plausible interpretation is that some of the relevant sentiment evidence occurs outside the sentence that names the aspect. The paper’s result is at the level of predictive performance, however. It does not trace particular successful decisions to specific words elsewhere in the review. The explanation remains an interpretation of what the larger input makes possible.
The comparison is also specific to the way narrower context was chosen. The local condition takes the sentence containing the aspect. A different method could choose relevant material from several locations, including sentences that do not repeat the aspect term. The tested result supports retaining the full review over the particular sentence-selection strategy. It gives no direct measurement of a system that selects evidence across sentences in some other way.
Since reviews can express different attitudes about different things, winning with a full review also suggests that the presence of additional text was tolerable for the selected configurations. That is compatible with the system using its supplied aspect to filter relevant information. The aggregate comparison cannot reveal how consistently that happens or whether failures arise from applying another aspect’s sentiment to the current target. A review-by-review analysis would be needed to assign those mechanisms to specific predictions.
The choice of validation split affects the leading configuration
The split comparison shows that the identity of the leading polarity configuration depends on how examples are assigned to training and validation. PTT5 Large leads on subset 1 and subset 3, while mDeBERTa base surpasses it on subset 2. The allocation stays at 70% for training and 30% for validation, so the comparison keeps the overall proportions fixed. It changes which reviews the partitions contain and which distributions the split construction tries to preserve.
The reversal gives the authors a reason to consider more than one internal result before selecting the submitted system. PTT5 Large performs strongly under the random procedure and under the procedure that takes both polarity and aspect terms into account. That pattern supports their decision to submit it. The result on subset 2 shows that there is still a reasonable experimental condition in which an alternative leads.
The association between split design and system ranking has several possible sources. Setting a target distribution changes which examples can fall into a partition, and the resulting examples may vary in difficulty or in the clues they provide. The paper does not isolate one property of those examples as the explanation. In particular, the reversal alone cannot establish that preserving polarity proportions is what favors mDeBERTa. The split comparison demonstrates a change in ranking under a different allocation of data.
The generation and classification experiments also vary underlying systems. The strongest reported generative configuration uses PTT5 Large. The mDeBERTa comparison brings a different starting point and training configuration to the task. As a consequence, the results support a choice between the evaluated setups more directly than they support a conclusion about the output format alone. To isolate generation as a cause, the comparison would need to hold the other relevant choices fixed as far as possible.
The data comparisons support choices among complete setups
The authors try training conditions that introduce external data at different stages. In extraction, the selected ensemble draws on systems trained under Portuguese and multilingual configurations. In polarity, the chosen generator is fine-tuned on the shared-task data alone. These outcomes show which choices the authors judged strong enough for the submissions. They provide different answers for two tasks with different output structures.
For ATE, selecting components from different configurations leaves open which differences make their predictions complementary. The chosen extractors can differ in architecture, in earlier training, or in the examples made available during task fine-tuning. The ensemble result is compatible with useful contributions from different data sources, but it does not assign a separate gain to multilingual training. Comparisons that removed one component at a time while keeping the rest of the ensemble would address that narrower question.
For SOE, winning with a configuration trained on the competition examples shows that additional task data were unnecessary for the submitted result. It leaves open whether a different system or method of incorporating external data could benefit from them. The paper’s target-swap attempt likewise documents an experimental direction, without giving a numerical gain that would establish its value. The split by aspect terms tests distribution preservation and does not itself test the use of swapped targets.
Neither official result isolates the effect of the aggregation rule. Median probabilities are a defined part of the extraction entry, and voting is a defined part of the polarity entry. Their use tells the reader how the submitted predictions were constructed. To measure how much an aggregation choice adds, the comparison would need the same component systems evaluated individually and together under the same test conditions, with separate scores for any alternative combination being tested.
The data analyses complement these comparisons by showing where errors could concentrate. The positive majority makes accuracy sensitive to performance on that class. Frequent aspects can dominate observations about the vocabulary. The relatively small number of aspect spans per review makes it possible to perform well on many background positions while missing terms. These distributions explain what to look for in the evaluation. They do not by themselves demonstrate that any particular class, term, or position accounted for the lead of either submission.
Limitations
Limits the authors identify
The authors state that time constraints limited the GPT-3 experiment to 391 reviews. The result describes zero-shot predictions for that subset. Its usefulness as a comparison with systems evaluated on a broader set depends on how the reviewed examples were chosen and how closely those examples resemble the rest. The comparison also combines a change in task training with a change in system, since the authors fine-tuned PTT5 but did not fine-tune GPT-3 on their data.
The target-swap experiment faces a limitation in the annotations. The procedure calls for aspect categories, while ABSAPT supplies terms without the category labels needed for the substitutions. Topic modeling serves as an approximation. The quality of that approximation matters because a swap can preserve the wording around an aspect and change how the new target fits the opinion expressed there. The paper does not establish the reliability of the inferred categories as a substitute for annotated ones.
The authors also identify directions left for future work. They propose investigating coreference resolution before extraction to reduce ambiguity in reviews. Coreference resolution associates expressions that refer to the same thing, which could matter if a review names an aspect and subsequently refers to it indirectly. They also suggest fine-tuning a system on both subtasks through multitask learning. These directions identify possible extensions of the submitted systems. Their effects remain unmeasured by this study.
Limits visible in the evaluation design
The competition data consist of Portuguese TripAdvisor hospitality reviews. The resulting claims apply most directly to the extraction and classification problems defined for that material. Other review domains can differ in the aspects people mention, the words used to express opinions, and the balance among polarity categories. The official rankings do not measure transfer to those domains. External training sources expand some training configurations, while the reported target evaluation remains the Portuguese competition task.
The frequency distribution also limits what can be inferred about rare aspects. The top 15 terms account for 79% of the data described by the authors, which leaves a long set of less frequent terms among the 77 unique aspects. The paper does not report a dedicated score over rare aspect terms or a test partition built around unseen ones. Macro averaging over polarity categories addresses variation between positive, neutral, and negative performance. It does not give every distinct aspect term equal influence.
Keeping sentences separate in the extraction pseudo-test split addresses the direct risk of the same text entering both partitions. It does not establish that the evaluation contains unfamiliar aspect vocabulary or unfamiliar styles of review. The SOE splits are also drawn from the same underlying competition training material, and the aspect-aware split actively tries to preserve aspect proportions. These are reasonable designs for comparing candidate entries within a benchmark. A test of generalization to unfamiliar targets would require a different division of examples.
The two-task structure leaves end-to-end performance open. In the SOE evaluation, an extractor’s missed term or inaccurate boundary cannot propagate into the input because the annotations supply the aspects. This separation is useful when the goal is to compare sentiment systems on their interpretation of specified targets. For a system expected to return aspect and polarity together from an unannotated review, it leaves unanswered how the stages interact. A first-place extractor and a first-place polarity system do not supply a measured joint score.
Limits on explanation and reproduction
A shared-task rank gives an ordering among entries under a particular evaluation. The paper’s discussion does not supply the numerical margin needed to judge whether the lead was narrow or large. The reported internal ordering similarly leaves the size of the advantage on each split unspecified. The subset 2 reversal makes the dependency on data allocation visible, but it gives no estimate of how often the ranking would reverse under repeated random draws.
Changes across the experimental configurations also limit causal interpretation. The PTT5 Large setup differs from its alternatives in architecture, training, and the use of generated labels. The extraction components differ in training configurations as well as in the underlying systems. The authors demonstrate the performance of the combinations they actually selected. Quantifying the separate effect of generation, external examples, or an ensemble rule would require comparisons that hold the other factors fixed.
The whole-review comparison gives a more localized result because it changes the passage accompanying a supplied aspect. Even here, interpreting the improvement as evidence for a particular mechanism requires more information. A complete review might clarify the target’s sentiment, disambiguate what the target refers to, or change how an ambiguous passage is understood. Without looking at individual errors or marking the passages that carry the decisive evidence, the improvement supports the context setting instead of any single account of how it works.
Finally, the description of the polarity ensemble contains a discrepancy relevant to reproducing the submission. It says the authors combine four fine-tuned systems, while specifying learning-rate and seed pairs for only three runs. It also leaves tie handling unstated. Those details can affect a majority-vote system when predictions disagree. The stated settings and the existence of the code identify the approach, but the method description alone does not fully determine the final vote for every aspect.
What came after
Pereira’s 2026 study applies aspect-based sentiment analysis to the accommodation domain using BERTimbau. It cites the Deep Learning Brasil paper and returns to the same broad setting of Portuguese sentiment about individual aspects of a stay. Its named system also connects to an experimental candidate in the earlier paper, which considered BERTimbau for polarity as well as extraction. Análise de Sentimento Baseada em Aspectos no Domínio de Acomodações Utilizando o modelo BERTimbau
The connection is clearest at the level of the research problem and the choice to use a Transformer with Portuguese support. Deep Learning Brasil used the competition to compare several ways of finding terms and assigning polarity, ultimately submitting systems based on RoBERTa and mDeBERTa for extraction and PTT5 Large for polarity. Pereira’s title places BERTimbau at the center of a later accommodation-domain study. That establishes a different focus within the same application area.
The citation and title establish the topical continuity and identify the later study’s named system. They leave the details of the relationship open, including whether Pereira reused the TripAdvisor reviews, followed the same split design, or adopted any part of the ensemble procedure. The documented continuation is the use of a Portuguese Transformer for aspect-based sentiment in accommodation text.
Cite
Cite as Juliana Resplande Sant'Anna Gomes, Eduardo Augusto Santos Garcia, Adalberto Ferreira Barbosa Junior, Ruan Chaves Rodrigues, Diogo Fernandes Costa Silva, Dyonnatan Ferreira Maia, Nádia Félix Felipe da Silva, Arlindo Rodrigues Galvão Filho and Anderson da Silva Soares. 2023. Deep Learning Brasil at ABSAPT 2022: Portuguese Transformer Ensemble Approaches. arXiv (Cornell University).
@misc{gomes2023deep,
title = {{Deep Learning Brasil at ABSAPT 2022: Portuguese Transformer Ensemble Approaches}},
author = {Juliana Resplande Sant'Anna Gomes, Eduardo Augusto Santos Garcia, Adalberto Ferreira Barbosa Junior, Ruan Chaves Rodrigues, Diogo Fernandes Costa Silva, Dyonnatan Ferreira Maia, Nádia Félix Felipe {da Silva}, Arlindo Rodrigues Galvão Filho and Anderson {da Silva Soares}},
year = {2023},
doi = {10.48550/arxiv.2311.05051},
eprint = {2311.05051},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2311.05051}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/gomes-2023-deep-learning-brasil-absapt-2022/
References
- authorM. Pontiki, authorD. Galanis, authorJ. Pavlopoulos, authorH. Papageorgiou, authorI. Androutsopoulos, authorS. Manandhar, titleSemEval-2014 task 4: Aspect based sentiment analysis, in: booktitleProceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014), publisherAssociation for Computational Linguistics, addressDublin, Ireland, year2014, pp. pages27–35. https://aclanthology.org/S14-2004. . our card
- authorZ. Toh, authorW. Wang, titleDlirec: Aspect term extraction and term polarity classification system., in: booktitleSemEval@ COLING, year2014, pp. pages235–240. OpenAlex ↗ · Scholar ↗
- authorA. Nazir, authorY. Rao, authorL. Wu, authorL. Sun, titleIssues and challenges of aspect-based sentiment analysis: A comprehensive survey, journalIEEE Transactions on Affective Computing volume13 (year2022) pages845–863. . OpenAlex ↗ · Scholar ↗
- authorL. De Mattei, authorG. De Martino, authorA. Iovine, authorA. Miaschi, authorM. Polignano, authorG. Rambelli, titleAte absita@ evalita2020: Overview of the aspect term extraction and aspect-based sentiment analysis task, journal7th evaluation campaign of Natural Language Processing and Speech tools for Italian (EVALITA 2020), (year2020). OpenAlex ↗ · Scholar ↗
- authorV. Basile, authorM. Di Maro, authorD. Croce, authorL. Passaro, titleEvalita 2020: Overview of the 7th evaluation campaign of natural language processing and speech tools for italian, in: booktitle7th Evaluation Campaign of Natural Language Processing and Speech Tools for Italian. Final Workshop, EVALITA 2020, volume volume2765, organizationCEUR-ws, year2020. our card
- authorE. Di Rosa, authorA. Durante, titleApp2check@ ate absita 2020: Aspect term extraction and aspect-based sentiment analysis, journalProceedings of the 7th evaluation campaign of Natural Language Processing and Speech tools for Italian (EVALITA 2020), Online. CEUR. org (year2020). OpenAlex ↗ · Scholar ↗
- authorM. Bennici, titleghostwriter19@ ate_absita: Zero-shot and onnx to speed up bert on sentiment analysis tasks at evalita 2020, journalEVALITA Evaluation of NLP and Speech Tools for Italian-December 17th, 2020 (year2020) pages80. OpenAlex ↗ · Scholar ↗
- authorW. Zhang, authorX. Li, authorY. Deng, authorL. Bing, authorW. Lam, titleTowards generative aspect-based sentiment analysis, in: booktitleProceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), year2021, pp. pages504–510. OpenAlex ↗ · Scholar ↗
- authorS. U. S. Chebolu, authorF. Dernoncourt, authorN. Lipka, authorT. Solorio, titleExploring conditional text generation for aspect-based sentiment analysis, journalarXiv preprint arXiv:2110.02334 (year2021). OpenAlex ↗ · Scholar ↗
- authorJ. Devlin, authorM.-W. Chang, authorK. Lee, authorK. Toutanova, titleBert: Pre-training of deep bidirectional transformers for language understanding, year2018. https://arxiv.org/abs/1810.04805. . our card
- authorT. Wolf, authorL. Debut, authorV. Sanh, authorJ. Chaumond, authorC. Delangue, authorA. Moi, authorP. Cistac, authorT. Rault, authorR. Louf, authorM. Funtowicz, authorJ. Brew, titleHuggingface's transformers: State-of-the-art natural language processing, journalCoRR volumeabs/1910.03771 (year2019). http://arxiv.org/abs/1910.03771. arXiv:1910.03771 (http://arxiv.org/abs/1910.03771). our card
- authorE. Loper, authorS. Bird, titleNltk: The natural language toolkit, journalarXiv preprint cs/0205028 (year2002). our card
- authorD. Carmo, authorM. Piau, authorI. Campiotti, authorR. Nogueira, authorR. Lotufo, titlePtt5: Pretraining and validating the t5 model on brazilian portuguese data, year2020. https://arxiv.org/abs/2008.09144. . our card
- authorT. Liesting, authorF. Frasincar, authorM. M. Trusca, titleData augmentation in a hybrid approach for aspect-based sentiment analysis, year2021. https://arxiv.org/abs/2103.15912. . OpenAlex ↗ · Scholar ↗
- authorT. B. Brown, authorB. Mann, authorN. Ryder, authorM. Subbiah, authorJ. Kaplan, authorP. Dhariwal, authorA. Neelakantan, authorP. Shyam, authorG. Sastry, authorA. Askell, authorS. Agarwal, authorA. Herbert-Voss, authorG. Krueger, authorT. Henighan, authorR. Child, authorA. Ramesh, authorD. M. Ziegler, authorJ. Wu, authorC. Winter, authorC. Hesse, authorM. Chen, authorE. Sigler, authorM. Litwin, authorS. Gray, authorB. Chess, authorJ. Clark, authorC. Berner, authorS. McCandlish, authorA. Radford, authorI. Sutskever, authorD. Amodei, titleLanguage models are few-shot learners, year2020. https://arxiv.org/abs/2005.14165. . our card
- authorG. S. Chauhan, authorY. K. Meena, authorD. Gopalani, authorR. Nahta, titleA mixed unsupervised method for aspect extraction using bert, journalMultimedia Tools and Applications (year2022) pages1–26. OpenAlex ↗ · Scholar ↗
- authorM. Schmitt, authorS. Steinheber, authorK. Schreiber, authorB. Roth, titleJoint aspect and polarity classification for aspect-based sentiment analysis with end-to-end neural networks, year2018. https://arxiv.org/abs/1808.09238. . OpenAlex ↗ · Scholar ↗