Cross-lingual Subjectivity Detection for Resource Lean Languages
Paper · 2019 · Ida Amini, Samane Karimi and Azadeh Shakery
Summary
A film review can recount the plot and pass judgment on it in the same paragraph. A plot description can use much of the same vocabulary while mainly telling the reader what happened. Finding writing that expresses a viewpoint is a preliminary step in sentiment analysis, where a subsequent question is whether the attitude expressed is favorable or unfavorable. The authors ask whether labeled material in English can help perform that first step in Persian, where they lacked a labeled movie collection suited to the task. They evaluate the resulting order of a collection of movie texts, giving credit when documents designated subjective appear early.
The paper compares a vocabulary-based score with a learned ranking procedure. The first builds separate word probability distributions for subjective and objective writing. It scores a document by comparing its vocabulary with each distribution, so that a word shared by reviews and plot descriptions can carry less weight than one that distinguishes them. The second borrows the setup of information retrieval. Words associated with opinions become queries, and the subjective training documents serve as relevant results. A ranking algorithm learns how to use features of those query–document pairs. Both methods cross the language boundary through machine translation, which can operate on the training evidence or on the material to be scored.
For the vocabulary-based method, the preferred translation direction changes with the size of the input sent for translation. Translating individual words from the Persian test documents into English yields a mean average precision, or MAP, of 0.849 on the Persian collection. Translating the English reference vocabulary into Persian yields 0.693. When the input consists of complete documents, the English-to-Persian configuration reaches 0.800 and the Persian-to-English configuration reaches 0.483. The authors report that the translation service failed on most of the Persian documents in the latter run. The two comparisons therefore give different answers about which direction works better.
The highest Persian test result, 0.929 MAP, comes from ADARank with English-to-Persian word transfer. It scores documents separately for each query term and then combines the scores. That query design beats the single large query in both directions tested, and the leading learned configuration also exceeds the strongest vocabulary-based baseline at 0.849. When the authors exchange the training and test collections, Coordinate Ascent leads the learners compared on the English test set. The experiments establish that English resources can support Persian subjectivity ranking in this movie domain. How much improvement each method yields depends on its setup, including the translation resources, which differ across the two methods, and the evidence covers only the English–Persian language pair.
Deep dive: Cross-lingual Subjectivity Detection for Resource Lean Languages
A study of how English training data can help rank Persian movie texts by subjectivity, and how translation and query design shape the results. · about 37 minutes to read
The problem and its context
Finding the viewpoint in movie writing
The authors start from a practical consequence of user-generated web content. Comments and reviews give people a place to express opinions, and the resulting material arrives in many languages. An analysis procedure has to recognize when a text expresses a judgment before it can interpret the direction of that judgment. The paper calls the first task subjectivity detection. A detector could, for example, bring a critic's assessment of a movie closer to the top of a collection that also contains accounts of the story and information about the cast.
The fact that all the texts are about movies makes the desired distinction clearer and the vocabulary problem harder. Topical relevance to movies would do little to separate the categories. Reviews and summaries can both mention characters, events, or performers. A review can also spend considerable space on what happened before giving an assessment. A word's contribution to subjectivity depends on how its occurrence distinguishes evaluative writing from the kind of description found in the comparison material. A detector that merely recognizes the topic could retrieve plenty of movie writing while making little progress on the question the authors pose.
The paper frames detection as an ordering problem. The training collection provides documents from each of the two categories, subjective and objective. At test time the procedure gives each document a score and uses that score to decide which documents appear earlier. This formulation lets the authors compare very different ways of calculating evidence. The quantity that matters for evaluation is where a document lands in the ordering, measured against the category it was assigned during collection.
Making training material useful across languages
The paper describes a resource imbalance in research on opinion and sentiment. Much of the preceding work used English, while the people writing reviews and comments used a much wider range of languages. A method that depends on a labeled collection may be practicable in one language and difficult to apply in another. In the case of low-resource languages, the authors see an opportunity to borrow supervision from a language where the relevant resources already exist. Their particular comparison uses English labels to help detect subjectivity in Persian documents.
The shortage is specific to what the task requires. The authors could find Persian movie material on the web and had access to a Persian sentiment lexicon. What they lacked was an existing Persian movie dataset with the two subjectivity categories needed for their study. They therefore assembled one for evaluation. This distinction between accessible raw text, a lexicon, and labeled documents helps explain the structure of the study. A lexicon supplies words associated with opinions. Labeled examples show how those words and other evidence occur across documents. Evaluation still requires a target collection in which the desired distinctions can be checked.
The paper treats the language boundary as part of the detection procedure. In one arrangement, the authors move evidence from the source language, in which the training labels are available, towards the target language, in which the documents are to be scored. In the other arrangement the evidence stays in the source language and material from the target is transferred back to it. The two routes use the same underlying distinction between subjective and objective writing. They assign the job of translation to different inputs, with consequences for what information survives.
The authors further distinguish the direction of transfer from the unit being translated. An isolated word offers little information about its intended sense. A passage gives the translator surrounding material that may resolve an ambiguity. The paper illustrates lexical ambiguity with the English words for milk and lion, which share a Persian rendering, and with the multiple uses of pretty in English. A mapping between word forms can merge meanings distinguished on one side of the language pair. Context may help, provided the translation service can process the larger input successfully.
The paper also points to grammatical differences that bear on this choice. It describes Persian as placing the verb at the end of the sentence, forming negative verbs with the prefix ne, and commonly placing adjectives after the words they describe. These are reasons to pay attention to the representation on which the detector operates. A comparison of independent word frequencies sees separate lexical items and their counts. The way those items express a judgment, including what a negative expression applies to, can depend on their arrangement. The paper's experiments ask how far lexical evidence can carry the task even with that simplification.
Earlier ways of transferring sentiment information
The authors describe earlier work in multilingual and cross-lingual NLP that moved several kinds of evidence across language boundaries. One strategy translated a lexical resource. In the Chinese opinion extraction work they discuss, the General Inquirer supplied the starting vocabulary for a Chinese sentiment lexicon. The paper also describes work on Spanish that used a translated lexicon to assign semantic orientation to Spanish words. In each case the lexical resource is adapted for use where the analysis will take place.
An approach discussed under the name triangulation began with sentiment dictionaries in English and Spanish. The procedure translated material from both into another language and used the overlap between the translations to construct a dictionary there. The paper also describes related research on the polarity of opinions about entities. That research used sentiment scores for words near mentions of such entities, with resources produced through triangulation. These examples show how transferring a vocabulary can support an analysis carried out on other text, from assigning word-level orientations to estimating the sentiment around a mention.
Other approaches translated the documents to be analyzed. In a news study discussed by the authors, articles from several languages were converted to English, after which an existing English sentiment system called Lydia assigned their labels. The analysis resources stayed where they were already available. The translated news was made compatible with them. This is the same general choice the Persian study faces when it considers transferring test material to English.
Earlier work on multilingual subjectivity examined automatic translation using labeled English resources and tests in Romanian and Spanish. The English resources in that study included the MPQA annotated collection and the OpinionFinder subjectivity tool. In the present paper's account, this work gave a precedent for examining what happens when a resource-rich training language and another evaluation language are connected by translation. The English–Persian study asks a more specific design question about where to translate and how to use the evidence after transfer. Banea and colleagues' multilingual subjectivity study
The review also describes methods in which the connection between languages takes a different form. Work using Structural Correspondence Learning sought a representation of documents that could be shared across languages. Research on aspect-level sentiment used constraints when translating opinion-bearing segments, in order to preserve their order. These choices put cross-language correspondence inside the representation or the handling of the parts of a text that carry opinions. They help explain why the authors examine translation as a design variable rather than treating it as a uniform mechanical step.
A further line of earlier work used several language versions as views of a dataset. The authors describe experiments that translated labeled English material into other languages and trained classifiers on combinations of the resulting views. They discuss a related co-training study that translated English reviews into Chinese. In both descriptions, the translated text participates in learning because its relationship to the original collection makes another view of the same material available. Wan's cross-lingual co-training study
The paper's survey also includes subjectivity detection through aligned word senses in English and Romanian, comparisons of translation services for multilingual sentiment classification, and an evaluation of how comparable several subjectivity systems were across languages. These strands put different demands on the evidence connecting the languages. A word-sense alignment supports a comparison at the level of meanings of words. Translation services can be compared through the downstream judgments made from their outputs. The English–Persian experiment draws from this broader set of problems while focusing its evaluation on the order of whole documents.
The method, step by step
Where translation enters the procedure
In the main experiment, the authors start with English movie documents divided into subjective and objective groups and aim to score Persian movie documents. The distribution method pools observations within each English group, producing two reference vocabularies with probabilities. It asks which reference better accounts for the words in a test document. The learned method starts with words selected for their association with subjectivity. It turns those words into retrieval queries, builds features connecting the queries with documents, and learns from the document labels which feature patterns favor a high ranking.
For either route, source translation means carrying the training-side information toward the language of evaluation. In the main experiment the source is English and the target is Persian. Target translation means moving evidence from the Persian side towards English. The distinction between the two is easiest to see in the distribution method. The method can use translated English reference distributions to read the vocabulary of a Persian document, or use the original English reference distributions to read a translated representation of that document.
The learned route makes the query the point of contact between the languages. The flow below shows the version that scores documents for each selected term and then combines the term scores. As the equations later in this section make explicit, translated alternatives can contribute to the feature values even when the query and the document are in different languages.
Learning a subjectivity ranking with separate term queries
The steps in order.
Counting the words that characterize each category
The distribution method starts from an earlier subjectivity procedure by Karimi and Shakery. Its representation is a unigram distribution, in which the items being counted are individual words. A training document contributes all of its counted words to the category to which it belongs. Each category reference describes the probability of drawing a particular word from that category's pooled text.
For the subjective reference the estimate is:
p(w | θₛ) = (Σ[d ∈ Dₛ] c(w, d)) / (Σ[d ∈ Dₛ] |d|)
Here p denotes a probability and the vertical bar inside p(w | θₛ) means that the estimate is taken under θₛ, the subjective reference. The symbol w is an English word, d is a training document, Dₛ is the set of subjective training documents, and ∈ means membership in that set. Each Σ adds a quantity across those documents. The function c(w, d) counts instances of w in d, and the bars in |d| give the length of d in words. The division expresses how much of the pooled subjective text consists of w.
The calculation pools counts before dividing. A document contributes according to how many words it supplies, and every occurrence contributes to the numerator for the corresponding word. This matters when interpreting the reference. It describes the vocabulary of the collection in aggregate. It can therefore reflect words that occur repeatedly in portions of that collection, even when those words have little evaluative meaning on their own.
The objective reference uses a separate pool:
p(w | θₒ) = (Σ[d ∈ Dₒ] c(w, d)) / (Σ[d ∈ Dₒ] |d|)
The symbol θₒ is the objective reference and Dₒ is the set of objective training documents. The probability p(w | θₒ) is the share of the objective pool occupied by English word w. Each Σ runs over documents d belonging to Dₒ. The numerator adds the counts c(w, d), while the denominator adds the lengths |d|.
The two distributions give the system comparative evidence. The authors use the word opinion as an example of a term that might occur more frequently in subjective writing. A term that occurs with similar probability in both categories will favor neither reference strongly. The procedure can therefore benefit from distinctions that emerge in the training collections, including distinctions that a static list of opinion words would leave out.
Transferring the reference vocabulary into Persian
The word-level source-translation route estimates the two references in English. It then uses a translation mapping to redistribute the English probabilities over Persian words. Consider a Persian word that can be reached from several English words. The translated distribution adds the contributions from all those starting points, accounting for the probability of each English word in the reference and for the weight linking it to the Persian word.
The subjective transfer takes this form:
p(f | θₛ) = Σ[w] p(f | w, θₛ) p(w | θₛ) ≈ Σ[w] p(f | w) p(w | θₛ)
The symbol f denotes a Persian word and w ranges over English words in the sums Σ[w]. The value p(w | θₛ) is the English probability contributed by the subjective reference θₛ. The first product uses p(f | w, θₛ), a conditional probability for f given the English word and the reference. The approximation sign ≈ marks the replacement of that conditional probability with p(f | w), a translation weight conditioned on the English word alone. The result p(f | θₛ) is the probability of f under the transferred subjective reference.
The formula's conditioning shows how the direction works. Probability starts with an English word and is passed to its Persian rendering. Dropping the category from the translation condition means that an English word uses the same translation weights in the subjective and objective calculations. Those calculations can still produce different Persian probabilities because they start with different English probabilities.
For the objective reference the paper writes the corresponding transfer:
p(f | θₒ) = Σ[w] p(f | w, θₒ) p(w | θₒ) ≈ Σ[w] p(f | w) p(w | θₒ)
Here θₒ designates the objective reference. The term p(w | θₒ) is the English probability for w in that reference. The quantity p(f | w, θₒ) conditions the probability of Persian word f on w and θₒ. To obtain the approximation, the authors substitute p(f | w), the category-independent translation weight. The sums add the contributions over English words, giving the Persian probability p(f | θₒ).
In this configuration the Persian test documents keep their original word forms for scoring. The representation that changes is the shared reference against which they will all be compared. A change to a word's probability in a reference can thus have consequences for any document using that word. Although the equations allow several weighted translations, the baseline experiments use the first alternative returned for a word by Google Translate. The paper treats its position in that output as an indication that it is the most probable choice.
Transferring Persian document vocabulary into English
Under word-level target translation the English reference estimates can be used as calculated. The authors translate the word probabilities of each Persian test document instead. The document's Persian word distribution is the starting point. The output is a distribution over English vocabulary, ready for the same comparisons against the category references.
p(w | θ_d) = Σ[f] p(w | f, θ_d) p(f | θ_d) ≈ Σ[f] p(w | f) p(f | θ_d)
Here θ_d is the distribution associated with document d. The probability p(f | θ_d) comes from the original Persian representation, f is a Persian word, and w is an English word. The term p(w | f, θ_d) conditions the English output on both the Persian input and the document distribution. In the approximation, p(w | f) depends only on the Persian word. Each Σ[f] gathers contributions over Persian words, and p(w | θ_d) is the resulting English probability for this document.
The translated word's weight reflects how much of the document was represented by the originating word and the translation weight attached to that mapping. If several source words have the same output, they can contribute to the same entry in the transferred distribution. The design thereby keeps the English characterization of reviews and plot summaries intact while allowing the representation of each test document to change.
The two word-level routes solve the same compatibility problem by modifying different evidence. Translating a reference affects a representation shared across tests. Translating a test distribution affects the vocabulary that reaches the score for that particular document. Even when the same service supplies the translations, the chance of producing a useful score depends on the words submitted and the role those words play in the procedure.
Comparing the document with both references
Once a document and the references are represented in the same language, the authors measure how far the document's distribution diverges from each reference. The measure is Kullback–Leibler divergence, which accumulates differences in probability as seen from the document's distribution. The paper takes the negative of that divergence so that a closer fit yields a higher similarity. The equations below use Persian notation, as in the source-translation case.
simₛ(d) = −Σ[f ∈ d] p(f | θ_d) log[p(f | θ_d) / p(f | θₛ)]
The value simₛ(d) is the subjective similarity for test document d. The sum Σ[f ∈ d] ranges over words f occurring in that document. The distribution θ_d gives the document probability p(f | θ_d), while the subjective reference θₛ gives p(f | θₛ). The function log takes the logarithm of their ratio. The document probability preceding log weights each contribution by the word's prominence in the text, and the minus sign converts divergence into similarity.
The objective comparison keeps the document probabilities and changes the reference:
simₒ(d) = −Σ[f ∈ d] p(f | θ_d) log[p(f | θ_d) / p(f | θₒ)]
Here simₒ(d) is similarity to the objective category and θₒ is that category's reference. For each f in d, the logarithm log compares the document probability given by θ_d with the probability under θₒ. The sum weights the comparison by p(f | θ_d) before the minus sign makes the value a similarity. In the word-transfer route that assesses translated test vocabulary, the same comparison is carried out over English words.
The final ranking quantity combines the two similarities:
score(d) = simₛ(d) − simₒ(d)
The quantity score(d) is the subjectivity ranking score of document d. The value simₛ(d) measures how closely the document fits the subjective reference and simₒ(d) measures how closely it fits the objective reference. Subtracting the latter makes the score higher when the subjective fit is stronger relative to the objective fit.
This relative comparison is why the procedure can accommodate movie vocabulary that both categories use. A document could resemble the subjective reference because its topic and words are common in reviews. If the same document also resembles the objective reference, that second comparison counterbalances the first. The evidence comes from the difference between the two explanations of the vocabulary. The formulas specify that calculation, while leaving practical choices such as handling missing reference probabilities open.
Translating complete documents before counting words
The other baseline route changes the order of translation and estimation. The translation service receives complete documents. The authors then use the returned text to carry out the distribution calculation in the common language. Word counting happens after translation for whichever collection crosses the language boundary.
In source translation, the English training texts are converted to Persian. The original subjective and objective labels carry over to the translated text, so the authors estimate their category references from the translated training material. The test documents are already Persian. In target translation, the English documents supply the original references and the Persian test documents are converted to English before their word distributions are estimated.
Whole-document translation thus gives the translation service access to surrounding language, even though what reaches the scoring procedure is still a distribution of individual words. The opportunity to use context belongs to the translation step. This helps explain why translating a whole text and then counting its words is a distinct alternative to counting its words first and mapping the resulting vocabulary. The methodology mentions the context available at sentence level, while the reported passage-based runs submit entire documents.
Turning subjective terms into search queries
The alternative approach uses machine learning to rank documents. In a conventional search setup, the learning procedure receives features of query–document pairs and evidence identifying which documents should be returned first for a query. The paper creates an analogous task out of the subjectivity labels. Terms that carry high subjectivity weights become queries, and a document designated subjective is treated as relevant. This makes the labeling usable by a ranking learner without requiring a separate topical relevance judgment for each term.
The query words come from sentiment lexicons. For Persian, the authors use a lexicon from earlier work by Dehdarbehbahani and colleagues. It contains 7491 terms. The authors take the highest-weighted tenth for their Persian queries. For English, the experimental account reports a query list of 156,581 terms from an English lexical resource. The Persian procedure gives an explicit selection fraction, while the English list is specified through its origin and reported size. SentiWordNet
In the list version, the selected vocabulary goes into a query as a single unit. Features for that query summarize the evidence from the whole list for each document. In the term version, each word supplies its own query. The learner then scores a document separately under each term, giving the procedure a set of scores to combine. The placement of that combination is a substantive difference. In the list version, the evidence is brought together during feature construction. In the term version, the combination comes after the learner has produced scores for the individual queries.
The paper combines term scores as follows:
score(d, q) = (Σ[qᵢ ∈ q] w(qᵢ) · score(d, qᵢ)) / |q|
Here d is the document, q is the collection of query terms, and qᵢ is a term indexed by i. The sum Σ[qᵢ ∈ q] runs over those terms. The function w(qᵢ) gives the subjectivity weight from the lexicon, and the dot multiplies it by score(d, qᵢ), the score the learner assigned to the document for that term. The expression |q| is the number of terms. The quotient score(d, q) is the combined score. The normalization in the displayed equation uses the term count.
That formula keeps the lexical weights relevant even after learning. A term with a greater weight can contribute more to the combined score at a given score value. The learner's input and the final combination therefore draw on different pieces of information. The retrieval features describe how a term relates to a document. The lexicon contributes the weight attached to that term as a cue for subjectivity.
Measuring occurrences across languages
The authors describe translated unigrams as query-independent evidence. In that option the training vocabulary is transferred directly. They also describe probabilistic retrieval features, for which the term in a query can be connected with several possible translations. The difference is visible in the way the latter features count words. An English query term can receive support from the occurrences of more than one Persian word, with each counted occurrence weighted according to the translation probability.
The starting point is an occurrence count:
TF(fᵢ, d_f) = c(fᵢ, d_f)
The symbol d_f denotes a Persian document, and fᵢ is a Persian word indexed by i. The function c(fᵢ, d_f) counts that word's appearances in the document. The expression TF(fᵢ, d_f) names the resulting term frequency.
The conditional translation weights turn those counts into cross-language term frequency:
CLTF(eⱼ, d_f) = Σ[fᵢ] p(fᵢ | eⱼ) · TF(fᵢ, d_f)
Here eⱼ is the English query term indexed by j. Each fᵢ in the sum Σ[fᵢ] is a Persian translation candidate for that term. The probability p(fᵢ | eⱼ) is the weight of the Persian candidate given the English word. The dot multiplies that probability by its term frequency TF(fᵢ, d_f) in the Persian document d_f. The output CLTF(eⱼ, d_f) is the translation-weighted occurrence measure for the English term.
This calculation can credit a translation that appears in the document even if the translation resource assigns more probability to another candidate. A candidate that occurs often can contribute through its count. A candidate considered a more likely translation can contribute through its weight. The feature delivered to the ranker then pools the logarithms of these frequencies over query terms:
CLFeat₁(d, e) = Σ[eⱼ ∈ e] log[CLTF(eⱼ, d)]
The symbol e is the English query and eⱼ ranges over its members in the sum. The symbol d is the document being scored. The function CLTF is the cross-language term frequency for the word and document, and log is its logarithm. The sum is CLFeat₁(d, e), the authors' feature for term-frequency evidence at query level. With a separate query for each term, the term used in this calculation is the term that defines that particular query.
Accounting for the collection and the document's length
A word can appear in the candidate document and still provide weak evidence of a match if it occurs throughout the collection. The authors' inverse document frequency uses the number of documents that contain a term to express this distinction. In the paper's definition, the initial quantity is a ratio. The logarithm is applied later, when the translated quantities are used in a feature.
IDF(eⱼ) = N / |{d ∈ D : eⱼ occurs in d}|
The function IDF(eⱼ) denotes inverse document frequency for the term eⱼ. The symbol D is the document collection and N is its size. The expression in braces is the set of documents d belonging to D that contain eⱼ. The colon inside the braces introduces the condition for inclusion, and the vertical bars around the set give its size. The quotient gives a larger value when the term occurs in fewer documents.
As in term frequency, translation carries the calculation from a query word to the vocabulary in which the observation can be made:
CLIDF(eⱼ) = Σ[fᵢ] p(fᵢ | eⱼ) · IDF(fᵢ)
The word eⱼ is the English query term, each fᵢ is a possible Persian rendering, and the sum Σ[fᵢ] ranges over those renderings. The probability p(fᵢ | eⱼ) weights the quantity IDF(fᵢ), the inverse document frequency of fᵢ. The sum of the weighted quantities is CLIDF(eⱼ), the cross-language inverse document frequency.
The second feature combines this evidence for a query:
CLFeat₂(e) = Σ[eⱼ ∈ e] log[CLIDF(eⱼ)]
Here e is the English query and eⱼ ranges over its terms. The function log takes the logarithm of each translated inverse document frequency CLIDF(eⱼ). The sum is CLFeat₂(e). Its argument is the query alone, since the document frequencies entering the calculation are collection statistics.
Where term frequency describes the appearances of a word in the candidate text, inverse document frequency describes the spread of that word across the reference collection for the feature. Both can help characterize a query match. The authors also include BM25, a retrieval feature that uses occurrence and collection evidence while taking document length into account. In the notation of the paper, its displayed formula is:
CLFeat₃(d, q) = Σ[qᵢ ∈ q] CLIDF(qᵢ) · [c(qᵢ, d) · (k₁ + 1)] / [c(qᵢ, d) + k₁ · (1 + b − b · |d| / avg(dl))]
The expression CLFeat₃(d, q) is the BM25 feature for document d and query q. Each qᵢ is a term of q, and the sum extends over those terms. The quantity CLIDF(qᵢ) is its cross-language inverse document frequency. The count c(qᵢ, d) is the query-term frequency in the document as written in the formula. The value |d| is document length and avg(dl) is average document length for the collection. The constants written as 1 belong to the frequency and length factors. The parameter k₁ controls the role of frequency and b controls length normalization. The authors report settings of 1.5 for the frequency parameter and 0.8 for b.
The authors name two further features. The first uses divergence to represent relevance, with the document distribution obtained from probabilistic translations. Their description points back to the equation for converting a document distribution. It thereby specifies the transfer of the document probabilities, while leaving the complete calculation of the query comparison implicit. The other feature is the length of the document itself. Document length consequently appears both within a retrieval feature and as an input in its own right.
For the probabilistic features, translation candidates come from Moses. The authors describe the translator as having been developed at the University of Tehran using Wikipedia material. It provides candidate translations and probabilities, and the ranking procedure can consider all the alternatives supplied. The authors name SVMrank and RankLib as implementation tools. The reported comparisons of query designs use ADARank through RankLib. The final document ordering comes from the learner's scores, combined with the lexicon weights when the queries are processed separately.
Experiments and results
The two movie collections
The main experiments use the English collection for training. It contains 5000 items from Rotten Tomatoes treated as subjective and 5000 descriptions from the Internet Movie Database treated as objective. Its reported average length is 11 words per document. The sources give the experiment an operational way to distinguish the categories. Review material supplies examples of evaluative writing, and movie summaries supply examples of narrative description.
The authors assemble Persian data for the target side. They collect the subjective material from film criticism websites and blogs, following selected URL patterns to locate the kinds of articles they seek. The procedure yields more than 7500 documents in the subjective category. These selections give the corpus the desired contrast without a prior labeled Persian movie dataset. The paper's description of the labels is grounded in the collection rules.
For the objective portion, Wikipedia supplies material from sections about performers, awards, and the movie's story. Text available under the chosen headings is put together as a document. The authors also include plot paragraphs from a film criticism site by selecting text under a story heading. This yields 3500 Persian objective documents. The Persian collection has a reported average document length of 83 words, so the test input in the main experiment is on a different scale from the English training input even though the domain is shared.
The authors view movies as a demanding domain because the vocabulary can vary with the particular story. For a method that counts words, a term from the story may appear repeatedly in both a review and a summary. For a method that searches by subjective words, the same term can receive a plausible translation whose use in the document is purely narrative. The collection gives both approaches an opportunity to succeed by recovering vocabulary that distinguishes the categories in spite of that topical variation.
The baseline and the evaluation measure
The baseline is the method that scores a document against subjective and objective reference distributions. This is a useful comparison because it already supplies a numerical score for every document. Both procedures can therefore be evaluated as rankers using the same category judgments. The authors also note that related distribution comparisons had been used for sentiment polarity and for subjectivity in earlier work.
The experiment reports mean average precision, abbreviated MAP. Average precision gives credit according to where relevant results occur in an ordered list. When a relevant item is encountered, the proportion of relevant items retrieved up to that position contributes to the measure. MAP averages average precision over the rankings included in an evaluation. Here the role of relevance is played by the subjective label, so MAP rewards placing subjective material early while keeping objective text from crowding the early ranks. The paper reports aggregate run values without a detailed account of how evaluation rankings are pooled for every configuration.
Translation is part of each evaluated configuration. Google Translate supplies the baseline with its first returned alternative for a word, or with the returned passage when the input is a document. The learned approach instead uses the candidate probabilities provided by Moses. The headline comparison is therefore between complete implementations. The ranking procedure, the information supplied by the translator, and the way that information is used all enter the score.
Which direction works for the vocabulary baseline?
In the word-level comparison, the English collections define the subjective and objective categories and the Persian documents make up the test collection. The variation is whether the English reference vocabulary moves to Persian or the Persian test vocabulary moves to English. In the document-level comparison, the same language roles are preserved, but the selected collection is translated before its distributions are estimated.
Vocabulary baseline MAP on Persian movie documents by translation direction and unit
The strongest translation direction changes when the input changes from isolated words to whole documents.
The numbers
| System or setting | MAP |
|---|---|
| English to Persian, words | 0.693 |
| Persian to English, words (this paper) | 0.849 |
| English to Persian, documents | 0.800 |
| Persian to English, documents | 0.483 |
With isolated-word translation, moving the Persian test vocabulary into English achieves 0.849 MAP. Moving the English reference vocabulary into Persian achieves 0.693 on the same Persian evaluation collection. The authors associate the advantage of the former with preservation of the references. The subjective and objective descriptions are shared across test documents, so mistranslations in the English reference vocabulary can alter the evidence against which many documents are judged.
The whole-document runs favor the other transfer direction. Translation of the English training documents to Persian reaches 0.800 MAP. Translation of the Persian test documents to English reaches 0.483 MAP. According to the authors, the translation service failed to translate most of the Persian documents in the latter run and produced more successful translations in the other direction. The result includes the effect of those failures as encountered by the pipeline.
The best of these configurations is the one that translates Persian words into English while preserving the original English category distributions. The English-to-Persian document run is a different way to make usable vocabulary evidence available and performs better than the word-level option in that same translation direction. The ordering across the runs makes the unit of translation necessary context for any statement about direction.
How the query is assembled affects ADARank
The ranking comparison retains English training and Persian testing, and translation operates at word level. With ADARank as the learner, the experiment crosses two query designs with the two transfer directions. A single query can contain all the selected subjective vocabulary, or each term can drive its own scoring before the outputs are combined.
ADARank MAP on Persian movie documents by query design and translation direction
Scoring separate terms gives the stronger ranking in each direction and leads the main experiment.
The numbers
| System or setting | MAP |
|---|---|
| English to Persian, list query | 0.675 |
| Persian to English, list query | 0.708 |
| English to Persian, term queries (this paper) | 0.929 |
| Persian to English, term queries | 0.764 |
The single-query approach gives 0.675 MAP with English-to-Persian word transfer and 0.708 with Persian-to-English word transfer. With separate term queries the corresponding Persian test results are 0.929 and 0.764. The term-query procedure thus leads when the direction is held fixed in either comparison. At the same time, changing the query design changes which translation direction gives the higher result within ADARank. The direction comparison answers a different question depending on how the query is constructed.
For their cross-method comparison, the authors take the best setting observed for each approach. The learned configuration with separate queries and English-to-Persian word transfer yields 0.929 MAP. The distribution baseline with Persian-to-English word transfer gives 0.849 MAP. Both are measured on Persian movie documents with English training material. The learned procedure has the stronger best observed result, while the individual runs show that its performance also depends substantially on the configuration.
Ranking English documents after exchanging the language roles
The final experiment trains on the Persian collection and evaluates on the English collection. The authors introduce this reversal to examine dependence on the datasets. It uses term queries, and the description specifies transfer from Persian to English in the reversed setup. That description explains the actual language roles even though the published run names retain the direction label from the main setup together with a reversal suffix.
Learner MAP on English movie documents with Persian training and term queries
Coordinate Ascent leads the learner comparison after the collections exchange roles.
The numbers
| System or setting | MAP |
|---|---|
| Random Forests | 0.811 |
| ADARank | 0.809 |
| Coordinate Ascent (this paper) | 0.860 |
Random Forests reaches 0.811 MAP on the English test collection and ADARank reaches 0.809. The authors describe their performances as similar. Coordinate Ascent gives the highest English test value at 0.860. The result demonstrates use of the ranking setup with Persian providing the labeled evidence and English supplying the documents to be recovered. The benchmark for this comparison is the other learners in the reversed setup. The distribution baseline is evaluated in the forward experiments, so the direct comparison between method families applies there.
What the ablations show
The paper reports configuration comparisons in place of component-removal ablations, examining translation direction and unit for the baseline, query design and direction for ADARank, and learner choice after reversing the language roles.
The same scoring rule receives different evidence
The baseline makes it possible to see what changes before the score is calculated. For the word-level runs, each direction leaves a different representation untouched. When the English references stay in English, their distributions still reflect the original English training words. When they are carried into Persian, translation is part of what determines which words distinguish the two categories. The authors' explanation for the word-level result rests on this location of the change. A translated test vocabulary serves an individual document, while a translated reference serves the collection.
The result supports the practical choice of preserving the reference vocabulary in the tested word-level setup. A direct account of the mechanism would require knowing which category probabilities changed through translation and how the changes propagated into the ordering. The comparison reports the final rankings instead of that intermediate evidence. Preservation of the references is therefore an explanation of the pattern offered by the authors, while the measured result is the difference in ordering quality between the two complete runs.
For documents, the translator sees the original passage before any probabilities are assigned. This changes what can go wrong. A successful passage translation can use the surrounding text to interpret a word. When translation fails at the document level, the subsequent procedure can be left with very little usable evidence for that item. The authors identify widespread failure on the Persian-to-English documents as the reason for the weak run. That observation concerns the translation service's handling of those inputs. The outcome of a comparison with consistently successful passage translations remains open.
The four-way comparison also shows why the experiment cannot be reduced to a general preference between words and documents. Each unit is coupled to what is being translated. English-to-Persian passage translation operates on training documents before their distributions are built, while English-to-Persian word transfer operates on the references after estimation. The ranking metric assesses the full path from the original text to the score. That is the level at which the dependence on direction and unit is demonstrated.
Separate queries change when errors and evidence are combined
In ADARank the authors can compare query organization without changing the learner. In each direction, they evaluate the selected vocabulary collected into a list and the same style of evidence presented through term queries. The favorable result for separate terms in both directions gives the query-design finding a firmer basis than a comparison involving only the leading setting.
The mechanism proposed by the authors concerns translation errors. In a long list, a mistranslated item participates in the features of the same query as all the correctly transferred items. Under term processing, its first effect is on the score for its own query. The eventual combination still includes that term's output, according to its subjectivity weight. The change is in where the error meets the rest of the evidence, which can matter when a learned rule scores the features jointly.
The configurations also change the examples seen by the learner and the way final scores are produced. With term queries the same document can be represented repeatedly, each time in relation to a different word. The separate scores then enter an explicit lexical weighting calculation. The results consequently support the combination of term-wise features, term-wise scoring, and weighted combination. They leave the contributions of those changes individually unresolved. The paper gives no corresponding run with the term structure unchanged and the lexical weights removed, and it reports no analysis of which translation errors drove the observed difference.
The feature definitions make another distinction possible. A statistic that depends on the query alone behaves differently from a statistic that changes across documents. When the query is the full list, the query-only statistic has the same value for each candidate presented with that list. When the query changes from term to term, its value can change with the query despite being shared among the documents for that term. This is a consequence of how the features are defined. The experiments leave open how much that distinction contributes to ADARank's performance.
What the learner comparison isolates
The reversed experiment varies the ranking algorithm while using the same assignment of the collections within that comparison. It therefore supplies a direct basis for comparing Random Forests, ADARank, and Coordinate Ascent on the English documents in that setup. Coordinate Ascent leads under those conditions. The result on its own says how the learners ordered those documents given Persian training, separate queries, and the reported translation arrangement.
Comparison with the main experiment has a broader scope. The roles of the corpora change at the same time as the transfer direction, and the two collections differ in their collection sources and typical document length. The forward query comparison centers on ADARank, whereas the reversed table compares several learners. The reversibility of the task and the relative performance of the learners in the reversed setting are supported. The effect of reversing language roles on the relative standing of all those learners remains unresolved without the corresponding forward comparison.
The comparison between the best forward settings also answers a configuration-level question. The authors establish which of the tested procedures gives the strongest ordering on the Persian documents. A feature-level explanation of the gap would need a separate comparison within a common translation setup, or results showing what happens when individual retrieval features are removed. The reported results establish the advantage of the evaluated combination without assigning that advantage to a particular input feature.
Limitations
Limits identified by the authors
The authors emphasize that translation accuracy affects both approaches. In the distribution method a lexical mapping can change which terms characterize a category or which vocabulary represents a test document. In the learned approach translation probabilities help construct the features linking the queries to documents. Each of these changes happens before the final score. The authors' discussion of ambiguity gives a reason to expect the consequences to depend on the language pair and on which direction the procedure uses.
They also identify a concrete weakness in the application of whole-document translation. The failures on Persian inputs affect the meaning of the lowest-scoring result. It measures the performance of a configuration in which obtaining a usable translated document was itself a problem. The paper leaves the detailed frequency and types of these failures, and the ranking quality conditional on successful translation, unspecified. Its proposal to investigate translation effects in other resource-lean languages acknowledges that the experiment covers one language pair.
Limits visible in how the documents were collected
The labels use a practical distinction based on document sources and sections. The Persian critic sites are searched using URL patterns expected to select opinionated writing. Wikipedia entries contribute material under headings expected to select factual or descriptive text. The English categories also correspond to different kinds of source material. These are reproducible descriptions of the intended contrast, while the paper gives no independent audit of how consistently the selected items express or avoid evaluation.
That distinction matters because a document can have mixed content. A review may include a narrative account before expressing a judgment. A plot-oriented passage can contain a phrase that expresses an attitude about what it describes. At collection level, the expected label can still be a reasonable operational choice. At the level of the text, the procedure could retrieve a review because of the portion that reports the plot, or assign a low score to a largely descriptive document with a brief subjective statement. Whole-document category labels leave the location of that evidence unobserved.
Source conventions can also create shortcuts. A corpus assembled from reviews and movie descriptions may encode differences in how those kinds of writing refer to performers, discuss events, or organize material. The baseline uses differences in word probabilities, whatever produced them. A ranking learner can likewise use the patterns its features expose, including patterns associated with the way the texts were gathered. The paper does not establish how much performance comes from viewpoint cues and how much comes from other properties correlated with the labels. Evaluation within tightly matched sources could ask a more focused question about that distinction.
The collections also differ in text length and come from different underlying documents. This matters to a procedure with counts and length-dependent features. A longer text can provide more chances for translated query words to occur, while a shorter text may depend on the treatment of a small number of observed words. Because the English and Persian inputs are different collections, the effects of text scale, collection design, and language travel together in the transfer experiment. Reversal exchanges their roles and provides another test of the procedure, while preserving those differences.
Limits of the reported scores and comparisons
The term subjectivity degree refers in the procedure to the numerical score used for ranking. The evaluation uses categories. It gives the authors evidence about how early the designated subjective documents occur and leaves the order within that category without an independent scale of intensity. One review appearing earlier than another in a successful ranking can reflect a closer fit to the system's lexical cues. The paper provides no human judgments establishing that position as a measure of how emphatic or personal the viewpoint is.
The same evaluation leaves score calibration and choice of a classification threshold unresolved. A ranking can be effective in a collection even when its scores lack a shared interpretation across different datasets or learners. The experiments also stop at identifying material likely to express a viewpoint. The motivating next task is to determine polarity, and the paper leaves the effect of its rankings on that subsequent analysis unmeasured.
The baseline and the learned ranker make different use of translation. The baseline takes one returned word translation, while the learned system can draw on the probabilities of several alternatives. Their leading configurations also use different directions. Thus the main comparison is evidence about the quality of two complete systems under the tested conditions. An estimate of the contribution of the ranking algorithm alone would require holding the lexical evidence, direction, and treatment of alternatives fixed across the methods.
There are also limits to what the aggregate MAP values say about stability. The paper reports point results, with no intervals or repeated-run summaries that would let a reader estimate variation. The best-setting comparison describes choices made from the configurations evaluated. The account leaves open how the direction, query design, and learner would be selected in advance for another corpus. The ordering of closely performing learners in the reversed experiment is especially dependent on the observed run values.
Limits of the implementation description
Some operations in the equations need conventions for corner cases. The negative-divergence calculation uses a reference probability in a denominator. The feature based on translated term frequency takes a logarithm of a value that can depend on whether any candidate translation occurs. The paper leaves the handling of absent vocabulary and zero values unspecified. This affects exact reconstruction because the chosen treatment can alter how much a missing word or query match contributes.
The descriptions of some learned features similarly specify part of the calculation. The divergence feature points to the probabilistic transfer of the document distribution. The BM25 equation shows the length normalization terms and the authors give parameter values, while the correspondence between that displayed expression and the executed feature calculation is left unstated. These details matter to reproducing individual feature values, even though the feature families and purpose of the ranking procedure are clear.
Finally, the term-query method creates a scoring instance for every combination of selected term and document. Increasing either input increases the number of such combinations. The paper reports the benefit in ranking quality but leaves runtime and memory requirements unmeasured. Its approach to scarce labels in the target language also depends on resources elsewhere, especially a translation mechanism capable of supplying the evidence needed by the chosen method. Its results describe what can be done in the presence of that support.
What came after
A citing paper from 2020 addresses resource-limited sentiment in short texts through a framework for articulation, annotation, and analysis. Its subject continues the resource question from a different point in the research process. The English–Persian study uses category labels as supervision and asks how to make that supervision work across collections in different languages. The later framework places the formulation and annotation of sentiment alongside its analysis, with short text as the unit. The citation connects their treatment of a resource-limited problem. Specific reuse of the translation procedure or the retrieval formulation is undocumented in the account of the later work. A versatile framework for resource-limited sentiment in short texts
A citing work from 2024 concerns a corpus for detecting subjectivity in sentences from English news. This changes both the unit of judgment and the genre. In the movie study the ranking score applies to a whole document, including material with potentially different functions within it. A sentence-level corpus takes the sentence as the item to be assessed. The news work also centers on building a corpus in English, while the movie study centers on making training evidence useful in another language. The citation documents a connection within subjectivity detection and leaves open whether the later corpus used any of the earlier scoring or translation choices. A corpus for sentence-level subjectivity detection in English news
Cite
Cite as Ida Amini, Samane Karimi and Azadeh Shakery. 2019. Cross-lingual Subjectivity Detection for Resource Lean Languages. Proceedings of the Tenth Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis.
@inproceedings{amini2019cross,
title = {{Cross-lingual Subjectivity Detection for Resource Lean Languages}},
author = {Ida Amini, Samane Karimi and Azadeh Shakery},
booktitle = {Proceedings of the Tenth Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis},
year = {2019},
doi = {10.18653/v1/w19-1310},
url = {https://doi.org/10.18653/v1/w19-1310}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/amini-2019-cross-lingual-subjectivity-detection-resource/