---
title: "Optimizing Annotation Effort Using Active Learning Strategies: A"
description: "This study tests how active learning uses topic coverage and prediction uncertainty to reduce the labeling needed for Persian sentiment analysis."
canonical: "https://research.elamur.ai/free/en/papers/asli-2020-optimizing-annotation-effort-active-learning/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/asli-2020-optimizing-annotation-effort-active-learning/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / Optimizing Annotation Effort Using Active Learning Strategies: A Sentiment Analysis Case Study in Persian

# Optimizing Annotation Effort Using Active Learning Strategies: A Sentiment Analysis Case Study in Persian

Paper · 2020 · Seyed Arad Ashrafi Asli, Behnam Sabeti, Zahra Majdabadi et al.

**Authors:** Seyed Arad Ashrafi Asli, Behnam Sabeti, Zahra Majdabadi, [Preni Golazizian](https://md.research.elamur.ai/free/en/authors/preni-golazizian/), Reza Fahmi and Omid Momenzadeh · **Year:** 2020 · **Venue:** Proceedings of the Twelfth Language Resources and Evaluation Conference · **Licence:** [CC BY-NC 4.0 (ELRA, LREC proceedings)](https://creativecommons.org/licenses/by-nc/4.0/)

Proceedings of the Twelfth Language Resources and Evaluation Conference · [licence](https://creativecommons.org/licenses/by-nc/4.0/)

- [Publisher's page](https://aclanthology.org/2020.lrec-1.348/)
- [PDF](https://aclanthology.org/2020.lrec-1.348.pdf)

## Summary

A collection of customer reviews can be large enough to train a sentiment classifier while still being expensive to label. Someone has to read each selected comment and decide whether it is positive, negative, or neutral. The authors ask how much of that [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) is needed to match the performance of a classifier trained on the full training set. They investigate the question through [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) in Persian, using MirasOpinion, a collection they assembled from comments on the Digikala e-commerce site. The reported labeled collection contains 93,868 comments, with positive comments forming the largest category and negative comments the smallest.

The experiments use pool-based active learning. A classifier learns from a small random sample, scores the remaining comments, and requests labels for a new batch. The simplest strategies favor comments whose sentiment is hardest for the classifier to predict. The authors’ proposed strategy, LDA sampling, first groups comments by their most probable topic using [Latent Dirichlet Allocation](https://md.research.elamur.ai/free/en/papers/blei-2003-latent-dirichlet-allocation/). Each group receives a share of the next batch proportional to the number of unlabeled comments it contains. Within each group, the strategy picks the comments with the highest entropy, meaning that the predicted sentiment probabilities are spread across the possible labels.

The authors tested a convolutional network and a long short-term memory network. They report that LDA sampling first matched the full-data accuracy baseline with 14 percent of the labeled data. Their separate F1 comparison records a baseline of 78% at 100% of the data, a first match of 78% F1 at 14%, and a peak of 80% F1 at 39%. The uncertainty-only strategies also reached baseline accuracy on the convolutional network with less than 16 percent of the data. LDA sampling was competitive, especially early in training, while the uncertainty-only approaches performed close to one another. The results establish that selection can substantially reduce the number of labels needed to reach a benchmark on MirasOpinion. The authors identify evaluation on other datasets and tasks as the next test of the approach.

## Deep dive: Optimizing Annotation Effort Using Active Learning Strategies: A Sentiment Analysis Case Study in Persian

This study tests how active learning uses topic coverage and prediction uncertainty to reduce the labeling needed for Persian sentiment analysis. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A text collection and a training resource

The paper starts from a practical divide between acquiring text and acquiring labels. A source such as a retailer’s comment section supplies text at scale. Training a supervised sentiment classifier calls for a further decision about every example used in training. An annotator has to interpret the writing and choose from the permitted categories. Where labeling depends on specialist judgment, as in the medical example the authors mention, access to raw material can leave much of the cost of preparing training data unresolved.

The authors place this problem in the context of [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/), focusing on Persian. They describe earlier work on MirasText, a corpus constructed automatically, with more than 1.4 billion tokens and over 2.8 million documents. A collection of that kind expands the supply of Persian text available for research. For the authors’ experiment, the needed resource also had to associate each training comment with a sentiment judgment. The availability of a large general corpus and the availability of a task-specific labeled collection address different stages of that work.

Persian sentiment research also had resources directed specifically at polarity. The paper discusses LexiPers, PerSent, Senti-Fars, and HesNegar as efforts to improve Persian sentiment lexicons. A lexicon gives information about the sentiment associated with vocabulary. The authors describe these resources as serving mainly unsupervised methods. Their own experiment works at the level of whole comments, with a person assigning each comment to one of the sentiment categories. A comment-level label is the unit that the classifier learns to predict and the unit that the active learner requests.

MirasOpinion serves both as a response to this resource gap and as a way to study it. The authors label enough comments to train a full-data reference classifier. With that reference in place, they can investigate how quickly a classifier improves when the labels become available in the order determined by a selection rule. The reference therefore gives the study a concrete target. Its performance is the standard a smaller selected training set is asked to meet.

#### Why choose what to label?

In pool-based active learning, the researcher starts with a collection of examples available to be labeled. A small part has labels, and a classifier trained on that part helps decide which examples to label next. The remaining documents form the pool. A query identifies a comment whose label should be obtained, and the label becomes available for the next round of training. Earlier work in the paper’s account had developed several ways to make this decision.

Uncertainty sampling bases the decision on the classifier’s own predictions. If a classifier already assigns a very high probability to a sentiment category for a comment, acquiring that comment’s label may teach it relatively little. If its probabilities are divided, the judgment of an annotator may be more valuable. The authors emphasize the convenience of this family of methods. A classifier that already produces probabilities for its classes supplies the information that the selection rule needs, and the literature the paper reviews had found simple uncertainty rules competitive in some settings.

Different acquisition methods give different meanings to a valuable example. Query by committee emphasizes disagreement among predictors. Expected change gives priority to examples whose labels could have a large effect on what the system has learned. Expected error reduction asks how acquiring a label might improve later predictions. The paper also refers to variance reduction and approaches based on clustering. It places these families in a broader account of how researchers have used active learning with different classifiers, including the research discussed in [Deep Bayesian Active Learning for Natural Language Processing](https://md.research.elamur.ai/free/en/papers/siddhant-2018-deep-bayesian-active-learning-natural/).

The paper identifies earlier use of active learning for Persian as well. Ghayoomi and Kuhn had investigated entropy sampling and query by committee in work on [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) and the creation of [treebanks](https://md.research.elamur.ai/free/en/topics/treebanks/). For the authors of the MirasOpinion study, that precedent establishes that Persian is already part of the active learning literature. Their experiment examines a different annotation decision, with a single sentiment category assigned to a customer comment.

#### Informativeness and representation

The authors organize much of the earlier work by the kind of evidence used in selection. Informativeness concerns what the learner could gain from acquiring a label. Prediction uncertainty is one way to estimate that gain. Representativeness concerns how an example or a set of examples relates to the distribution of available data. Methods that use density or clustering can take the location of an example among other examples into account. The paper also discusses studies that combine both considerations, placing LDA sampling within an existing line of research.

The distinction matters when the selection unit is a batch. A rule may be good at picking individual comments that a classifier finds hard while returning a batch concentrated in a particular part of the collection. The motivation for including representativeness is that each example occupies a place in the pool as well as receiving a prediction. Comments about different subject matter can supply different linguistic contexts for the same sentiment judgment. A selection procedure can let the composition of the pool influence which of those contexts are present in the batch.

That idea leaves an implementation question. To use a collection’s structure during selection, the system needs some representation of how documents belong together. To use uncertainty, it needs the current classifier’s probabilities. If both sources of information come from the classifier, updating it can change both. Alternatively, the collection can be grouped using the text itself, once, with the classifier supplying the information that changes over time. The authors’ design follows the latter route. Its representation of the collection comes from topics, and its estimate of the value of a label comes from sentiment predictions.

### The method, step by step

#### From a comment pool to a learning cycle

The acquisition procedure assumes a pool of comments whose labels are available on request. In active learning terminology, the source of those labels is the oracle. The relevant annotation task here is the one carried out to construct MirasOpinion. A reader sees a comment and assigns positive, negative, or neutral sentiment. In the experiment, the learner starts with only its initial labeled subset and expands that subset as individual comments are selected.

The source of the comments was Digikala. The authors crawled 2.5 million comments and reduced the collection through preprocessing to one million comments before crowdsourced labeling. They used a Telegram bot to send comments to users and collect category judgments. The dataset statistics reported for the study describe the resulting labeled resource. The pool-based experiment then treats the labels of candidates outside the current labeled training set as information to be obtained by query.

In the proposed method, the authors organize the candidate documents by topic before the acquisition rounds. Every document receives a topic assignment derived from its text. Once a classifier has been trained on the seed labels, it predicts sentiment probabilities for the candidates. The number of unlabeled documents assigned to a topic governs how many places that topic gets in the next batch. The current probabilities govern which of its comments fill those places. Labels for the combined batch are then added to the training set, and the cycle repeats.

How LDA sampling selects a batch of comments The steps in order.

The topic assignment and sentiment prediction answer separate questions about a comment. A topic describes associations among the words used in documents. A sentiment prediction describes the classifier’s estimate of how the annotator would categorize the comment. A group of comments concerned with similar subject matter can contain favorable, unfavorable, and neutral opinions. LDA sampling uses topic membership to distribute opportunities for labeling, while the classifier’s sentiment probabilities distinguish candidates for the same opportunity.

#### The classifiers that supply the probabilities

The authors use two kinds of sentiment classifier. One uses long short-term memory, abbreviated LSTM, a recurrent architecture that processes a sequence and carries information forward through its state. The other uses a convolutional neural network, abbreviated CNN, which applies learned filters to the sequence and pools the resulting features. Both have a trainable layer for [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/). Those embeddings are learned during training on the task. The paper specifies that the authors started without pretrained word representations.

Both architectures use a sequence length setting of 128 and an embedding size of 100. For the LSTM, the recurrent layer has 128 units. Its listed activation is tanh and its recurrent activation is hard sigmoid. The recurrent initializer is Orthogonal and the kernel initializer is Glorot Uniform. The recurrent dropout setting is 0.3. These settings describe the classifier used to produce the sentiment predictions. The acquisition policy consumes those predictions after training.

The CNN also has a sequence length of 128 and an embedding size of 100. Its convolution settings list a kernel size of 128 and strides of 10. The listed activation is ReLU and the kernel initializer is Glorot Uniform. The authors also examined a bidirectional LSTM and a gated recurrent unit while considering sequential architectures. The bidirectional version processes the document from both directions, and the gated recurrent unit was tried to reduce the number of parameters. The main acquisition experiments use the LSTM and CNN.

The classifier ends with a softmax output, meaning that it supplies a probability distribution over the sentiment categories. Active learning in this paper uses that distribution rather than only the winning label. Two comments could both be predicted positive, yet have markedly different distributions of probability among the categories. Their predicted classes would be identical for an accuracy calculation. Their acquisition scores could be different, since the uncertainty rules take into account information the winning label alone leaves out.

#### Three ways to read uncertainty

For each unlabeled comment, the paper orders the sentiment predictions from highest to lowest probability. The symbols in the uncertainty formulas refer to positions in this ordering. The highest-scoring category for one comment may be positive, and for another it may be neutral or negative. The uncertainty scores compare the distribution over these positions for each comment.

```
U_entropy(x) = −∑ᵢ₌₁³ p(yᵢ) log(p(yᵢ))
```

Here `U_entropy(x)` is the entropy score of the unlabeled comment `x`. The symbol `∑` adds the terms indexed by `i`, starting at `1` and ending at `3` because the classifier predicts the three sentiment categories. The symbol `yᵢ` denotes the category at position `i` in the ordered predictions for `x`, and `p(yᵢ)` is its predicted probability. The function `log` is the logarithm, whose base the paper leaves unspecified. The initial minus sign makes the summed quantity non-negative. Entropy rises as the probability is spread more evenly, so the comments ranked highest by this rule have the most dispersed sentiment predictions.

Entropy uses every class probability. A comment whose predicted probabilities are concentrated on a single category has a low score. For a comment with support distributed across the possible labels, the score is higher. This is the rule used both as a stand-alone selection policy and within each topic in LDA sampling. Its inputs are the probabilities of positive, negative, and neutral sentiment, independently of the probabilities used earlier to assign a topic.

```
U_margin(x) = 1 − (p(y₁) − p(y₂))
```

Here `U_margin(x)` is the margin-based uncertainty score for comment `x`. The categories `y₁` and `y₂` occupy the first and second positions in the probability ranking, and `p(y₁)` and `p(y₂)` are their predicted probabilities. The inner subtraction gives the gap between the leading and runner-up categories. Subtracting that gap from `1` gives a higher uncertainty score to comments for which the leading alternatives are closer. The remaining probability is outside the explicit comparison. The rule asks how decisively one contender wins against its nearest rival.

```
U_LC(x) = 1 − p(y₁)
```

Here `U_LC(x)` is the least-confident score for comment `x`, and `LC` names that scoring rule. The symbol `y₁` is the category at the top of the probability ranking, and `p(y₁)` is the probability assigned to it. The constant `1` represents the full probability mass. Subtracting the leading probability produces a higher acquisition score as confidence in the most likely sentiment falls. Once the leading probability is known, the distribution of the remaining probability among the other categories has no further effect on this score.

The formulas express closely related judgments. Least confidence asks how much probability the leading class has. Margin asks how far that class is ahead. Entropy asks how concentrated the full distribution is. A prediction with a clear favorite is likely to rank low for uncertainty under any of the rules. When the leading probabilities or the distribution of the remaining mass differ between comments, the scores can rank those comments differently. That possibility motivates testing them separately in the same acquisition procedure.

In a stand-alone uncertainty strategy, the learner scores the entire unlabeled pool and queries the comments with the highest values according to that rule. At the next round the probabilities can change because the classifier has learned from the latest batch. A comment that ranked near the top earlier can move down after labels for other comments have been added. The classifier is therefore involved anew in each round even though the mathematical rule used to turn its predictions into scores stays fixed.

#### A fixed picture of what the comments discuss

[Topic modeling](https://md.research.elamur.ai/free/en/concepts/topic-modeling/) supplies the groups for LDA sampling. The paper explains Latent Dirichlet Allocation through two kinds of distributions. A topic associates probabilities with words. A document associates probabilities with topics. The topic descriptions therefore arise from patterns of word use across the collection, and a document can contain vocabulary associated with several topics. The method uses a bag-of-words representation, in which word counts describe the document and the order of the words is outside the representation used for topic inference.

The acquisition algorithm needs a group for each document so that it can distribute the next batch among groups. The authors take the topic with the highest probability for each comment and use it as that comment’s assignment. The underlying topic distribution can be mixed, but the query procedure maintains one group membership per comment. The probability that won the assignment does not become the comment’s acquisition score. All still-unlabeled comments assigned to a group are candidates for the share that goes to that group.

The reported LDA run uses 10 topics, a maximum iteration setting of 5, and the Online learning method. The learning offset is 50, the random state is 0, and the learning decay is 0.7. The authors say they chose the topic count through trial and error. They filtered the topic-modeling vocabulary using Persian stopwords. That filtering is described specifically for topic inference, whose input is based on counts and co-occurrence in the comments.

Once fitted, the topic representation is available across active learning rounds. Its use does not require recalculating topics every time a new sentiment classifier is trained. What changes in the group lists is the set of eligible comments. As labels are acquired, selected documents leave their unlabeled groups. The proportions used for future allocation therefore follow the remaining pool, while the assignment of a comment to a topic stays fixed.

A comment’s highest-probability topic provides membership. The paper points out that the resulting groups have no explicit document distances of the kind that could support rules based on a group center or boundary. The authors had considered how to choose examples within those groups and settled on sentiment entropy. That choice makes the classifier’s uncertainty the basis of the within-group ordering, with the topic representation governing which comments compete with one another for queries.

#### Dividing the batch among the topics

The pseudocode computes a share for each topic using the size of its current unlabeled group and the size of the full unlabeled pool. The equation below expresses that allocation with compact notation.

```
Qₜ = (Nₜ / N) × B
```

Here `Qₜ` is the share of the requested batch allocated to topic `t`. The subscript `t` identifies that topic. The quantity `Nₜ` is the number of still-unlabeled comments assigned to it, and `N` is the number of comments still unlabeled across all topics. The division sign `/` gives the topic’s fraction of the pool. The multiplication sign `×` scales that fraction by `B`, the total number of comments the learner intends to query in the round. The paper gives the proportional rule and leaves the conversion of fractional shares into whole query counts unspecified.

A large topic receives a larger share under this rule. The learner sorts the available comments within each topic by entropy and selects as many of the top candidates as the topic’s share allows. It then combines the selections into the batch to be labeled. A highly uncertain document can be left behind in one topic while a less uncertain document elsewhere is selected. This follows directly from having separate allocations and rankings. Under global entropy sampling, the two documents would compete in a single ordering.

The representation built into the allocation is proportional. A small topic has a smaller claim on the batch than a large one. Within a topic, the very hardest cases can be selected first, regardless of whether their wording is typical of that group. Thus the proportional rule describes the intended composition of the batch at the topic level, while selection within each group still favors uncertainty. The method does not rely on an annotator identifying or naming topics.

The pseudocode removes the selected items from the available lists, obtains their labels, and adds them to the current labeled collection. The seed also comes from the starting collection and is randomly chosen. In the experiment the reported seed consists of 1000 examples, and the budget for each newly acquired batch is 1000 comments. Each round can therefore be understood as applying the chosen acquisition policy under the same stated batch size, with the training set accumulating the results of previous queries.

#### Restarting training after each selection

Before training, the authors filtered the classifier vocabulary. They discarded words appearing fewer than five times and words found in more than 40 percent of documents. The training settings list 10 epochs, a batch size of 512, dropout of 0.3, and a train ratio of 0.8. Those are settings for training the sentiment classifier. The query batch size determines how many labels are acquired between training rounds, whereas the training batch size is the number of examples processed together during updates.

The authors saved the classifier’s initial state and returned to it before each new training run. Each round trains on the accumulated labeled set from that initial state. Labels acquired earlier remain available because the data are retained. The parameter values learned in the previous round are replaced by the saved starting values. This procedure makes the reported curve an account of what the growing selected training sets yield under repeated training from the same start.

The paper also specifies how newly queried comments were placed in the labeled data. The authors put them at the beginning of the labeled collection. Their rationale was that the latest acquisitions would influence the later training batches. They report a slight improvement for this choice. The precise link between array position and training order is left unclear, so the placement is a reproducible description of the intended data preparation only to the extent that the software’s ordering behavior is also known.

#### Why the paper uses topics for grouping

Before settling on LDA, the authors tried deriving a document representation from the sentiment classifier itself. For the LSTM, that representation was the last unit’s hidden state. For the CNN, it came from the pooling output. In each case a comment became a vector reflecting how the current classifier represented it. The authors then tried grouping those vectors with methods such as DBSCAN, which forms groups based on density.

These vectors have a practical consequence for the acquisition loop. Once a classifier is retrained, its hidden representations may change. The authors describe regenerating the document vectors and grouping them again as a costly process in a high-dimensional space. The topic strategy separates that operation from the classifier updates. Topics are inferred initially from the text, and the new round needs fresh sentiment probabilities for ranking but can reuse the earlier grouping. The resulting procedure still takes account of both the spread of documents across topics and the classifier’s uncertainty about individual candidates.

### Experiments and results

#### What goes into the evaluation

MirasOpinion contains 93,868 labeled documents. The dataset table reports 49,515 positive comments, 14,882 negative comments, and 29,471 neutral comments. The positive category is the largest, and the negative category is the smallest. Accuracy on the collection consequently summarizes decisions across classes that appear with different frequencies. The paper also reports precision, recall, and F1 for the neural classifiers so that the comparison can be read through more than the fraction of all decisions that were correct.

The collection’s document lengths vary. The dataset table gives a maximum length of 1434, a minimum of 3, and a mean of 38.15. Those are descriptive figures for MirasOpinion. The sequence length of 128 specified for the classifiers is a training input setting. The presence of both figures matters when interpreting what the architecture comparison covers. The comments in the source collection vary more in length than the fixed size specified for classifier input, and the paper leaves the exact handling of that difference unstated.

The training configuration lists a train ratio of 0.8. The authors call the reference condition training on the whole dataset. In the reported label-budget comparison, the baseline is the 100% condition, and the selected runs use smaller amounts of labeled data. The paper gives the train ratio and these budget fractions without describing in detail how the data split and acquisition pool were constructed. The fractions can therefore be read as the paper’s reported budgets for its comparisons, with the 100% condition as their reference.

The evaluation has two related parts. The authors first fit the CNN and LSTM in the full-data condition and compare their predictive performance. This provides a baseline for each architecture. They then ask how many labels acquired by each selection policy are needed to reach the relevant baseline, and how performance develops as the labeled set grows. The first comparison concerns the classifiers under full training. The second concerns the ordering in which comments are acquired.

#### Performance with the full training budget

Accuracy counts the fraction of evaluated comments whose predicted sentiments agree with their labels. Precision concerns the reliability of predictions for a class, and recall concerns how completely the examples of a class are recovered. F1 combines precision and recall through their harmonic mean. In a multiclass evaluation, the way scores are combined across classes affects how they should be interpreted. The paper gives the aggregated precision, recall, and F1 figures without specifying their averaging scheme.

Under the full-data condition on MirasOpinion, the CNN records accuracy of 78.2, precision of 78.4, recall of 78.2, and F1 of 78.3. The LSTM records accuracy of 78.7, precision of 79.1, recall of 78.7, and F1 of 78.9 on the same reported comparison. The LSTM has the higher value on each metric. These are the architecture results from the full-data table, which reports to a different precision from the later summary of LDA sampling.

Full-data sentiment classifier accuracy on MirasOpinion The LSTM has a slightly higher full-data accuracy than the CNN.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| CNN | 78.2 |
| LSTM (this paper) | 78.7 |

The timing comparison points in the other direction. In the conclusion, the CNN’s training time is reported as approximately 25 percent of the LSTM’s. The authors explain why training time matters for this particular workflow. If annotators are waiting for the next batch, the interval includes the time required to train the classifier and select the comments. Because the classifiers are trained again as labels accumulate, the faster architecture can matter even when the predictive results are close. The reported timing concerns training, with no absolute end-to-end duration for the annotation cycle.

The authors show the main uncertainty comparison for the CNN. They describe the LSTM results as similar. Consequently, the detailed presentation of acquisition trajectories is centered on the convolutional architecture, and the paper’s statements about the LSTM in those comparisons are qualitative or appear in the joint account of reaching the full-data baseline.

#### Comparing uncertainty policies

The tested uncertainty policies are least confidence, margin, and entropy. Each has access to the same kind of sentiment output, begins with a small random labeled sample, and queries more comments according to its own ranking. The baseline is the accuracy of the corresponding full-data classifier. Reaching it answers how soon the selected training set can match that classifier’s reference performance. It leaves open how a randomly expanded training set of the same size would have done.

The authors report that every strategy based solely on uncertainty matches the CNN’s baseline accuracy using under 16 percent of the data. In the nearby comparison with LDA sampling, they describe the uncertainty approaches as reaching the baseline with 16 percent of labeled data. Those wordings give the same broad scale for the label budget, with no separate exact crossing reported for every rule. The authors describe the curves as close and judge entropy to be slightly ahead at most. They select it as the representative uncertainty-only policy for comparison with their proposed method.

This comparison shows why the most relevant baseline for LDA sampling is global entropy. Both use the same uncertainty score for ranking comments. One sorts all the candidates together. The other splits the ranking by topic and assigns each topic a share. The resulting learning curves test what happens when this allocation is added to entropy-based selection in the reported setup. Their similarity is part of the result, since a simple uncertainty score already takes the classifier close to the benchmark with a small labeled subset.

#### Matching the baseline and reaching the reported peak

The authors report that LDA sampling reached the full-data accuracy reference with 14 percent of the data. They describe this result for the sentiment classifiers using the proposed acquisition rule and characterize the rule as especially competitive early in the learning process. The comparison concerns when the selected set reaches a particular performance level. A policy can arrive at that level sooner and still trade places with another policy as more batches are acquired.

The results also include a compact F1 summary for LDA sampling on MirasOpinion. Its full-data entry is 78% F1 using 100% of the data. The first baseline match shown there is 78% F1 with 14%. The best point reported in that summary is 80% F1 with 39%. These are the values in the F1 comparison. The nearby statement about reaching baseline accuracy at 14 percent refers to accuracy, while the tabulated baseline match uses F1.

Reported F1 for LDA sampling and the full-data baseline on MirasOpinion LDA sampling matches the reported full-data F1 early and peaks at a later stage.

**The numbers**

| System or setting | F1 % |
| --- | --- |
| Full-data baseline | 78 |
| LDA sampling, first baseline match | 78 |
| LDA sampling, reported peak (this paper) | 80 |

The chart puts the reported scores on a common metric. The data amounts associated with its entries give them their meaning. The full-data reference is the outcome of training with all labels available to that condition. The first selected point is the earliest baseline match identified by the authors. The peak is a later point along the LDA acquisition run. Both selected points describe a budget on a learning trajectory, so the peak value is best read alongside the amount of data used to obtain it.

The full-data F1 summary does not reproduce the decimal figures of the architecture table. The latter gives F1 of 78.3 for CNN and 78.9 for LSTM. The LDA summary reports a full-data comparator of 78%. Keeping these numbers in their respective comparisons preserves the distinctions made by the paper. The F1 summary is also separate from the timing comparison, which addresses how long training takes for the two architectures.

#### Performance after the peak

After the 39% point, the authors report that performance began to decline. They interpret the decline as the result of the learner acquiring less valuable comments and of overfitting. The observed trajectory is the empirical result. The explanation about why accuracy or F1 fell is the authors’ interpretation of it. A run can reach the reference with a small budget and show a later high point while still producing weaker results after further acquisitions.

This observation motivates the paper’s discussion of a stopping criterion. The authors suggest looking for increased variation in successive F1 scores as they fluctuate. Such a criterion would use the trajectory to decide when further querying is no longer paying off. The peak F1 reported in the study is known from looking at the completed run. Choosing a stopping point while acquiring labels would require a rule whose decisions can be assessed with only the scores available at that time.

Together, the reported accuracy crossing and the F1 trajectory answer different practical questions. The crossing says how much of the training budget was used when a reference level was first reached. The peak indicates the strongest observed F1 along the selected-data run. The decline shows that the score did not improve steadily with the growing training set. Each observation is useful under its own conditions, and the reported numbers belong to MirasOpinion and the authors’ training procedure.

### What the ablations show

#### What changes when topics enter selection

The closest comparison to an ablation is LDA sampling against global entropy. Both methods score informativeness from the same kind of class probabilities, using the same entropy formula. The proposed strategy changes how those scores turn into a batch. It allocates queries among topics and then uses separate entropy orderings within the allocated groups. The authors’ early advantage for LDA sampling therefore belongs to the addition of this topic-constrained selection procedure as a whole.

The comparison shows that the added allocation can be competitive with a strong uncertainty-only rule. It also gives some evidence that structure in the unlabeled pool can help early under this setup. The authors regard the methods as close over the reported run. The comparison leaves the individual contributions of topic inference, hard assignment to the most probable topic, and proportional allocation unresolved, since those choices enter the method together.

The paper discusses sampling from topics alone as a possible baseline. The reported comparison does not give a separate trajectory for a topic-only policy. A result for that condition would help examine what entropy adds after the topic groups are already in place. The existing comparison instead examines the reverse question, starting with entropy and adding topic-based allocation. That makes global entropy the useful point of reference for explaining what was tested.

#### How much the uncertainty score matters

The comparison of least confidence, margin, and entropy changes the score while retaining uncertainty-based acquisition. Each rule reads the sentiment probabilities differently, but their reported results are close. This indicates that the choice among these scores had a smaller apparent effect in the reported CNN comparison than one might infer from their mathematical differences. The authors find entropy slightly preferable and use it as the single uncertainty comparison with LDA sampling.

The small differences also shape what can be claimed about the design. The entropy comparison shows how the topic procedure behaves with entropy inside it. A version that ranks within topics by margin or least confidence could behave similarly or differently. The experiment does not track those variants. Entropy is supported as a practical choice from the reported uncertainty curves, while its interaction with the topic quotas remains specific to the variant the authors evaluated.

The paper describes the differences between the uncertainty curves as negligible or not substantial. It presents this as an interpretation of the plotted results. With the learning-curve comparison reported at this level, a reader can judge the methods to be close in this experiment. The account does not establish a precise ordering of the underlying methods across possible training samples.

#### What the grouping and architecture trials add

The density-based trial explores another way to introduce representativeness. It uses document vectors derived from the sentiment classifier and tests clustering on a limited portion of the data. The authors report high computational demands and no notable contribution in that trial, so they did not extend it. This explains part of the design choice for LDA. A fixed grouping from word counts avoids repeating that particular clustering operation as the sentiment classifier changes.

Evidence from the density trial concerns practicality in the tested configuration. The paper provides no matched resource and performance comparison for full-scale density clustering and LDA. The recorded observation is that repeatedly grouping high-dimensional classifier representations was costly and yielded little apparent benefit on the portion tried. That observation motivated changing the source and timing of the representation used for sampling.

The bidirectional LSTM and gated recurrent unit trials address the choice of sentiment classifier, a different part of the system. The authors found their behavior similar to that of the LSTM on MirasOpinion. That finding supports the use of an LSTM as the recurrent architecture in the main experiments. The paper provides the quantitative full-data comparison for the LSTM and CNN and describes acquisition results for the recurrent architecture as similar to the CNN results shown.

The authors also report a slight improvement from their handling of newly labeled comments in the training order. They give neither paired scores nor a separate curve for this change. The observation identifies a training choice that accompanied the main evaluation, and its size remains unspecified. Likewise, the topic count is described as chosen by trial and error. The reported experiments leave open how acquisition performance changes when that count changes.

Finally, the later decline along the LDA curve is a change over acquisition rounds rather than a controlled test of the authors’ explanation for it. As the run progresses, the amount and composition of labeled data both change. The observed pattern is that the best F1 occurs before the pool has been exhausted. The relative roles of sample value, training dynamics, and overfitting remain unresolved by the comparison.

### Limitations

#### Limits the authors state

The authors explicitly restrict the empirical evaluation to sentiment analysis. They call for testing LDA sampling on other tasks and datasets. The experiments use customer comments from a single source and a particular positive, negative, or neutral decision. The paper’s motivation includes costly labeling in other domains and limited resources in Persian. The evaluation of the proposed method supports conclusions about this task and collection. Transfer to different annotation decisions or sources of text remains an empirical question.

The authors also qualify the ranking of acquisition approaches. They describe LDA sampling as especially competitive early in learning and say the strategies do not yield a single policy that wins in all cases. The uncertainty-only approaches already reach the reference with a small labeled budget. The topic-based method’s early crossing and later peak provide distinct benefits under the reported conditions, with comparable behavior in parts of the learning curves.

The work focuses on cases with one label per document. The related-work discussion places multi-label active learning outside its scope. That boundary matters for the uncertainty formulas because the sentiment output assigns probabilities across alternative categories for a single judgment. A document with multiple simultaneous labels would present a different acquisition problem. The published setup leaves that case for other evaluation.

The authors acknowledge the limited extent of the density-based experiments. They explored these approaches on a portion of the data, found the resource requirements high, and chose to stop that line of comparison. Their discussion supports the decision to pursue a simpler fixed representation in their setting. It leaves differences between alternative clustering methods and their eventual accuracy open.

#### Limits apparent from the evaluation

The main performance comparison is between classifiers trained with selected labels and classifiers trained with the full available label budget. That comparison establishes a benchmark for label efficiency within the reported procedure. A random expansion policy with matched batch sizes would answer an additional question about how much of the observed efficiency comes from acquisition decisions. The paper specifies a random seed sample and reports no corresponding random learning curve for continued acquisition through the same budgets.

The evaluation also gives no repeated-run spread for the label-budget crossings. Starting with a different random seed sample can change the classifier’s initial predictions. Those predictions guide the next batch, whose labels influence all later rankings. Reporting performance across starting samples would indicate how stable the reported 14 percent crossing is. The paper records the crossing and gives close qualitative comparisons, leaving the amount of run-to-run variation unmeasured.

The data division is another source of uncertainty about reproduction. The training table gives a ratio of 0.8, while the baseline and budget discussion refers to the whole dataset and to percentages of the data. The paper does not specify in detail which split supplies candidates, where each reported result is evaluated, or how the documents used to infer topics and filter the vocabulary relate to the split. The placement of those operations matters when reproducing a fixed-pool evaluation and when assessing performance on documents outside that pool.

Precision, recall, and F1 are supplied as aggregate values. The averaging scheme and per-class results are unspecified. This matters because MirasOpinion has many more positive comments than negative ones. A useful overall score can coexist with considerably different performance by class, and the aggregate figures alone cannot show which categories benefit from selected-label training. The topic rule also apportions labels by subject matter, so the study does not establish that this procedure improves coverage of rare sentiment labels.

There are unreported details in the annotation process as well. The paper explains that the Telegram bot sent comments to people and collected positive, negative, or neutral labels. It does not give the distribution of judgments per comment, agreement among annotators, or a procedure for resolving disagreements. A comment with a high acquisition score could be a useful case for training or a case that human readers also find ambiguous. The experiment measures classifier performance against the assembled labels, with the relationship between prediction uncertainty and annotation difficulty left open.

#### Limits of topics as a sampling representation

LDA infers groups through word use. The construction gives each comment a distribution over topics, and the sampling procedure reduces that distribution to a single membership. That simplification makes it easy to maintain separate group lists. It also means that a comment that draws on several topics uses only the allocation of the topic with the highest inferred probability. The evaluation does not compare hard membership with ways of distributing a mixed comment across several topics.

Proportional allocation reflects the sizes of the remaining groups. The method gives a large group a larger share, and comments in that group compete with one another by entropy. This is a specific sense of representativeness. It tracks group proportions and leaves other forms of coverage, such as rare linguistic constructions or minority sentiment labels, outside the allocation rule. The paper reports no direct measure of how fully the selected batches represent such phenomena.

The role of topic quality is also unclear. The paper specifies the topic count and LDA settings and explains that the count was found through trial and error. It gives no sensitivity analysis over topic counts, no quantitative evaluation of the resulting topics, and no documented example tracing a particular comment through its topic assignment and acquisition. The reported comparison shows how the procedure behaved with the chosen grouping. It leaves open whether the early gains depend on that particular configuration.

There are implementation details that matter for small topics and ties. The pseudocode gives a proportional share, which can call for a fractional number of queries, and an entropy ranking, which can contain equal scores. It does not specify the rounding or tie-breaking procedure. Those decisions can affect which documents enter a batch. They matter especially when repeated acquisitions change group sizes and small groups receive small shares. The allocation formula describes the intended behavior at the level of proportions.

#### Annotation effort and stopping in practice

The outcome measured directly for annotation effort is the amount of labeled data used. A smaller set is a potential saving in human work, but the paper gives no annotation times or costs for selected batches. Comments chosen for uncertain sentiment might take annotators more time to judge. The bot workflow and the count of acquired labels establish the task and budget unit. Those measurements leave total human time and cost to be determined in a deployment.

The CNN timing result also has a defined scope. The paper compares time spent training the classifiers and discusses the implication for annotators awaiting queries. It does not report total time for preparing the pool, inferring topics, scoring the remaining documents, delivering annotations, and updating training. The architecture result supports the claim that CNN training was faster in the authors’ experiment. The time savings for a complete acquisition cycle remain unmeasured.

The proposed stopping signal is similarly provisional. The authors suggest monitoring fluctuations in F1 to recognize a decline. A usable stopping procedure would have to specify where those scores come from, how their variability is measured, and when a decision is triggered. The paper reports a retrospective peak at 39% of the data. It does not show that an acquisition process running forward would identify that point reliably. The result supports close attention to the learning trajectory and leaves the stopping decision itself unvalidated.

### What came after

The later work linked to this study is [ParsiNLU: A Suite of Language Understanding Challenges for Persian](https://md.research.elamur.ai/free/en/papers/khashabi-2021-parsinlu-suite-language-understanding-challenges/). It cites the paper and, as its title indicates, concerns a suite of language understanding challenges for Persian. That gives the citation a broader task context. The MirasOpinion study concentrates on how to allocate labels for a single sentiment task, while ParsiNLU’s stated scope is a suite of challenges.

The citation establishes a connection between the studies. The role of MirasOpinion or LDA sampling in ParsiNLU remains unspecified. Whether the later work used the comments, adopted the query policy, or cited the study as background is therefore open. The evidence for the topic-and-entropy procedure remains the acquisition comparison on MirasOpinion.

## Cite

Cite as Seyed Arad Ashrafi Asli, Behnam Sabeti, Zahra Majdabadi, Preni Golazizian, Reza Fahmi and Omid Momenzadeh. 2020. Optimizing Annotation Effort Using Active Learning Strategies: A Sentiment Analysis Case Study in Persian. Proceedings of the Twelfth Language Resources and Evaluation Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{asli2020optimizing,
  title = {{Optimizing Annotation Effort Using Active Learning Strategies: A Sentiment Analysis Case Study in Persian}},
  author = {Seyed Arad Ashrafi Asli, Behnam Sabeti, Zahra Majdabadi, Preni Golazizian, Reza Fahmi and Omid Momenzadeh},
  booktitle = {Proceedings of the Twelfth Language Resources and Evaluation Conference},
  year = {2020},
  url = {https://aclanthology.org/2020.lrec-1.348/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
