Elamur Research

Graph Ranking for Sentiment Transfer

Paper · 2009 · Qiong Wu, Songbo Tan and Xueqi Cheng

Summary

A sentiment classifier can learn to recognize praise and criticism in one collection of reviews and struggle when the subject changes. The labels still mean positive and negative, but the expressions that help identify them can change with the subject. Graph Ranking for Sentiment Transfer asks whether a classifier trained on labeled reviews from another domain can improve its predictions by comparing the new reviews with one another. The study addresses a transfer setting in which the new reviews are available as text and their human-assigned labels are reserved for evaluation. The task belongs to the study of sentiment and emotion.

The authors begin by using a conventional classifier to give each new review a provisional label. They also represent each review by the words it contains, weighted by their frequency in the review and their rarity across documents. Those representations let the authors find similar reviews in the labeled collection and in the new collection. Each new review receives a score from both sets of neighbors. The labeled reviews contribute fixed scores based on their known polarity, while the new reviews contribute scores that can change from one round to the next. After each round the authors rescale the positive and negative scores separately. They repeat the update until the scores stabilize and use the final sign to assign a label.

The experiments transfer between Chinese reviews of electronics, stocks, and hotels. Averaged across the transfer directions, the original prototype classifier has an accuracy of 0.6786, and the graph procedure initialized with its predictions reaches 0.7866. With a linear support vector machine implemented in LibSVM, the corresponding accuracies are 0.6674 and 0.7870. Each graph-assisted version improves on the classifier that supplies its initial predictions in every reported direction. Structural Correspondence Learning, a competing method designed for transfer, averages 0.7520. It leads when the source is electronics and when the transfer is from stocks to hotels. Graph ranking leads in the other directions, with its largest advantages over that competitor appearing when hotels supply the labeled reviews.

The comparisons establish that the complete graph procedure can improve predictions in this setting. They also show that two different initial classifiers can yield very similar final accuracies after graph scoring. The experiments leave open how much of the improvement comes from the new reviews influencing one another, how much comes from retrieving labeled neighbors, and how much comes from rescaling the scores. The authors also identify a weakness in how the graph is built. Reviews can have similar wording because they discuss the same subject, even when their judgments differ.

Deep dive: Graph Ranking for Sentiment Transfer

Graph Ranking for Sentiment Transfer uses labeled reviews and similarities among unlabeled reviews to classify sentiment in a new domain. · about 32 minutes to read

The problem and its context

What changes when a classifier moves to a new subject

Review classification assigns a category to a document on the basis of its text. In this paper the category is the review’s overall polarity, represented by a positive or negative label. The rise of online review sites gave researchers more reason to automate this judgment. The paper places sentiment classification within the broader problem of text classification.

A conventional supervised experiment uses examples with known categories to learn a rule, then measures how frequently that rule labels unseen examples correctly. The paper cites early work as evidence that supervised techniques can perform well at sentiment classification. The difficulty arises when the examples that teach the rule and the documents that receive its predictions come from different subject areas. A rule learned from the first collection may depend on words that play a smaller role in the second. The evidence the paper cites for the supervised setting includes Thumbs up? Sentiment Classification using Machine Learning Techniques.

The authors call the collection with labeled training reviews the old domain and the collection to be classified the new domain. Source and target give those domains their roles more directly. If electronics reviews supply the training labels and stock reviews receive the predictions, electronics is the source. Switching the direction gives the classifier a different labeled collection and a different collection to predict. Success in one direction therefore answers a different question from success in the reverse direction.

The task keeps the categories fixed. A positive stock review and a positive electronics review both belong to the positive class, even though the writer may have used different criteria and vocabulary to reach that judgment. This distinction is what makes transfer possible and what makes it difficult. The researcher can reuse the category definitions, but first has to determine which textual evidence still supports them after the topic changes.

Some words may provide evidence in both domains. Others may describe properties particular to a subject. Even when a word occurs in both collections, shared use establishes a basis for comparison before it establishes anything about sentiment. The method depends on the presence of shared vocabulary and on the possibility that the text around a judgment carries enough information to help recognize that judgment elsewhere. The authors express the vocabulary condition explicitly and treat the usefulness of similar reviews as the reasoning behind the graph.

What supervision is available in the new domain

The paper divides earlier sentiment-transfer research according to whether it needs labeled target examples. One branch can use a small set of reviews annotated in the new domain. Those examples let the researcher observe how people express the categories in that setting. The other branch works without target labels. The authors put their method in that branch and cite several studies that likewise address transfer without labeled examples from the domain to be predicted.

Having access to target text matters even when nobody supplies its category. A collection of new reviews shows which documents use similar terms and which reviews are poorly connected to the labeled collection. A classifier that predicts each target review independently has no occasion to use those relationships at prediction time. The graph procedure makes relations within the target collection part of the calculation.

That choice defines the role of the initial classifier. It can give every target review a provisional decision using what it learned from the source. The proposed procedure then revises those decisions with evidence about where the reviews sit relative to other documents. Human supervision still enters through the source reviews. The labels associated with the target reviews during the calculation come from the classifier and from subsequent revisions.

The paper cites a particular alternative that also tries to bridge different domains without relying on target labels. Structural Correspondence Learning identifies features that behave similarly for discriminative learning across domains and uses their associations with other features to infer correspondences. A feature here is a variable used to represent text. The shared features that organize the correspondences are called pivots. The intended bridge is between ways of representing the documents across domains. The graph method instead makes individual documents the units that pass evidence to one another. The earlier study is Biographies, Bollywood, Boom-boxes and Blenders.

What graph ranking contributes

In the graph-ranking approach the paper draws on, a node’s score depends on scores at connected nodes and on the strengths of those connections. A link to a highly scored node can increase the score of its neighbor, and the neighbor’s revised score can in turn affect other nodes. The authors place this principle in a line of work that had already used relationships among documents for text summarization and relationships among terms to study properties associated with opinions.

Here the graph’s nodes stand for reviews, and link strength measures resemblance in word use. A review with close positive neighbors receives evidence in the positive direction. Negative neighbors supply evidence in the opposite direction. A score can move towards neutrality when the two kinds of evidence cancel. It can also reverse sign if the evidence from the neighbors outweighs the provisional polarity.

The authors distinguish the reviews whose sentiment is known from the ones whose sentiment is being inferred. A target review connected to a source review receives evidence grounded in a human judgment. A target review connected to another target review receives a score grounded initially in a prediction and subsequently in the evidence reaching that neighbor. These connections give the method a route for using the target collection without granting its provisional decisions the status of human labels.

This application of graph ranking therefore ties the classification of each target review to the wider prediction task. A review’s nearest labeled examples can provide direct evidence, while its unlabeled neighbors can supply evidence about how similar reviews in the new domain should be treated together. The rationale is that both kinds of relationship contain useful information, even though they have different origins and can disagree.

The method, step by step

From reviews to final labels

The graph stage begins with a tentative answer for each target document. In the prototype variant, a conventional classifier trained on the labeled domain supplies those answers. The experiments also use a support vector machine for the same purpose. A positive prediction starts with a positive score and a negative prediction with a negative score. Source reviews start with signs obtained from their known labels. The initial scores are then rescaled within each domain.

The authors compare each target review with the source reviews and with the other target reviews in a representation based on word use. They rank the candidate neighbors separately for the two collections. Consequently, a review can have labeled neighbors from the source and provisionally scored neighbors from its own domain. Each selected neighbor contributes an amount that depends on the strength of its connection and its current score.

The contributions from the two neighborhoods are added using separate weights. The calculation updates the entire target collection from the previous round’s scores, then rescales the positive side and the negative side separately. Rounds continue until the change in each target score is small enough. The last step interprets the sign of each final score as a polarity decision.

From review text and source labels to target predictions

The steps in order.

From review text and source labels to target predictionsStep 1: Represent reviews with weighted word vectors1. Represent reviews with weighted word vectorsStep 2: Find source and target neighbors separately2. Find source and target neighbors separatelyStep 3: Predict initial labels for target reviews3. Predict initial labels for target reviewsStep 4: Initialize and rescale signed scores4. Initialize and rescale signed scoresStep 5: Combine weighted evidence from both neighborhoods5. Combine weighted evidence from both neighborhoodsStep 6: Rescale and repeat until target scores stabilize6. Rescale and repeat until target scores stabilizeStep 7: Assign polarity from each final score7. Assign polarity from each final score

The document collections and the shared vocabulary

The authors index the target reviews first and the source reviews after them. The following notation shows what each collection contains.

Dᵁ = {d₁, …, dₙ}

Dᵁ is the collection of target reviews treated as unlabeled. Each d is a review represented as a vector of term weights. Its subscript identifies the review. The ellipsis stands for the intervening documents in the same collection, and n is the number of target reviews.

Dᴸ = {dₙ₊₁, …, dₙ₊ₘ}

Dᴸ is the labeled source collection. The symbol d again denotes a review vector, n is still the target collection size, and m is the number of source reviews. The indices begin at n plus 1 because the source indices continue from the last target index. The ellipsis covers the source reviews between the first and last members shown.

C = {negative, positive}

C is the set of possible labels. Its members represent the polarity categories used in both domains. The classifier’s task is to assign a member of C to each review in Dᵁ using information from Dᴸ and the text of Dᵁ.

Wᴸ ∩ Wᵁ ≠ ∅

Wᴸ is the source vocabulary and Wᵁ is the target vocabulary. The intersection symbol ∩ selects terms that belong to both vocabularies. The symbol ≠ means unequal, and ∅ denotes an empty set. The condition requires the domains to share some vocabulary. It makes a cross-domain comparison possible for documents with overlapping terms while allowing individual pairs of reviews to share no terms at all.

How the words become coordinates

The experiments use Chinese online reviews. Before building the vectors, the authors use ICTCLAS to segment the review text into words. Segmentation provides the units to be counted and compared. Each review is then represented in a vector space in which a coordinate corresponds to a term and its value reflects the importance assigned to that term in the review. This preprocessing step is an instance of tokenization and segmentation.

The weighting distinguishes a term’s occurrence in a particular document from its prevalence across documents. A word can be frequent in one review and rare elsewhere, or appear in many reviews with little help in distinguishing one from another. The authors use TF-IDF.

idfₜ = 1 + log(N ∕ nₜ)

The symbol t identifies a term. The quantity idfₜ is its inverse document frequency. N is the total number of documents in the dataset used for these counts, and nₜ is the number of those documents containing t. The division operator ∕ gives the ratio of the two counts. The function log takes its logarithm, and the formula adds the constant 1. A term that occurs in fewer documents receives a larger inverse document frequency, other things being equal.

wₜ = tfₜ × idfₜ

Here wₜ is the coordinate value for term t in a particular review. The quantity tfₜ counts occurrences of t in that review, and idfₜ is the inverse document frequency for the same term. The multiplication sign × combines the document-specific count with the collection-level weight.

This representation makes the comparison about the pattern of term weights. Two long reviews can have similar patterns, just as a short and a long review can have similar patterns if they emphasize much the same terms. Reviews of the same item may also have similar patterns when their conclusions disagree. The next step extracts a numerical measure of resemblance from the vectors. Its use as sentiment evidence depends on which documents it places near each other.

How the graph measures resemblance

The first adjacency matrix, U, holds the similarities between target and source documents. An adjacency matrix gives the weight of a connection for each pair represented by a row and a column. With U, the rows correspond to unlabeled target reviews, and the columns correspond to labeled source reviews. The authors use cosine similarity for the entries.

Uᵢⱼ = (dᵢ · dⱼ) ∕ (‖dᵢ‖ × ‖dⱼ‖)

Uᵢⱼ is the similarity between target review dᵢ and source review dⱼ. The subscripts i and j identify those reviews, with i in the target range and j in the source range. The dot operator · multiplies matching coordinates and sums the products. The double bars ‖ ‖ give a vector’s length. The denominator multiplies the two lengths, so the comparison reflects the vectors’ alignment. An entry with similarity 0 represents an absent edge. A non-zero entry gives the weight of the connection.

A second adjacency matrix, V, compares target reviews with each other. Both its rows and its columns correspond to Dᵁ. For distinct target reviews each V entry is obtained with the same cosine calculation, now with both document indices in the target range. The paper describes these edges between different documents. This gives each review a set of possible incoming contributions from its peers in the target domain.

The two matrices cover different kinds of evidence. U tells the calculation where to seek known polarity scores for a given review. V tells it where to seek scores that are themselves under revision. A high cosine value in either case measures resemblance from the word vectors. The neighbor’s label or score determines which direction that edge will move the receiving review’s sentiment score.

Row normalization and neighbor selection

The authors normalize the similarities in each row before selecting neighbors. This divides the available weight among the links of a given review. A row with a non-zero total is rescaled to sum to 1. A row with zero total stays at 0. The operation can be written with one rule for both matrices.

Âᵢⱼ = ⎧ Aᵢⱼ ∕ ∑ₗ Aᵢₗ   if ∑ₗ Aᵢₗ ≠ 0
      ⎩ 0                 otherwise

A stands for U or V, and  stands for its row-normalized counterpart. The indices i and j identify the row and the entry in that row. The index ℓ runs over all columns of the chosen matrix. The summation symbol ∑ adds those entries, and ∕ divides the current entry by that sum. The inequality ≠ 0 tests whether the total is non-zero. When the total is 0, the rule assigns 0 to the normalized entry.

Normalization preserves the order of the similarities within a row with positive total. It changes how much a link counts in the later score update by expressing its weight as a share of the row total. A set of raw similarities that adds up to a large value consequently does not, by that fact alone, give the receiving review a larger update than a set with a small total.

For each target review, the procedure sorts the normalized U entries in descending order and selects the K best-ranked source reviews. It performs the same selection on V for the target neighbors. The paper uses N as a neighbor matrix in this part of its notation, distinct from the document count N in the inverse document frequency. Each row of the neighbor matrix records the identities of the selected source reviews. The corresponding matrix M records the selected target reviews. Both have a row for every target document and K slots in each row.

The scoring formulas use the selected review identities to look up their weights in the normalized matrices. In the order the paper gives, row normalization happens before the neighborhood is cut down to K entries. The paper gives no additional row normalization after selection. As a result, when the omitted entries include non-zero similarities, the weights actually used can sum to less than 1. The same setting of K can retain a large share of one review’s similarity weight and a smaller share of another’s because the rows can have different patterns of connections.

How hard predictions become starting scores

A source review receives a raw starting score of 1 for a positive label and -1 for a negative label. A target review receives the same raw values according to its provisional classification. Assigning equal raw magnitudes to the two polarities lets the initialization carry a class decision without attaching a separate confidence to each review. It also means that two classifiers that agree on a review’s provisional label give it the same raw starting score.

Within each domain, the authors rescale scores so the positive scores sum to 1 and the negative scores sum to -1. The denominators differ between the positive and negative groups. Dividing a negative score by the sum of the magnitudes on the negative side keeps it negative. Dividing a positive score by the sum of the positives keeps it positive. The rescaling changes the magnitude of each starting value while preserving its provisional class.

The following is the paper’s normalization written with separate symbols for the incoming and rescaled scores. It applies to the starting scores in each domain and is also the form used to rescale the target scores after an update.

sᵢ = ⎧ rᵢ ∕ ∑ⱼ∈D₋ (−rⱼ)   if rᵢ < 0
     ⎩ rᵢ ∕ ∑ⱼ∈D₊ rⱼ      if rᵢ > 0

The symbol rᵢ is the score of document i before rescaling, and sᵢ is its score afterwards. D₋ and D₊ denote the negative and positive groups used for the normalization within the domain being rescaled. The index j runs over the documents in the relevant group. The membership symbol ∈ restricts the sum to that group, and ∑ adds its scores or score magnitudes. The minus sign on rⱼ makes each negative contribution to the denominator positive. The tests < 0 and > 0 select the branch. At initialization the groups come from known source labels and provisional target labels, respectively. The update formula uses the same group notation, without explicitly redefining membership in the algorithm description.

This step matters for how much influence a group can have. At initialization all members of a group have the same raw magnitude. A polarity represented by many reviews divides its total starting weight among more documents. A polarity represented by fewer reviews has the same total magnitude distributed among fewer documents. For a given target review, the actual balance of the evidence then depends on which neighbors it selects and how strongly it is connected to them.

The initial score vector S⁽⁰⁾ collects the rescaled scores across both collections. Its target entries depend on the initializer’s decisions. Its source entries depend on the given labels and on the normalization within the source. During iteration only the target entries are updated. The source entries can keep influencing the target through U because the labeled collection gives the calculation its fixed polarity evidence.

How the target scores change

The paper first describes the source and target contributions individually. Its source-only expression weighs the preceding scores of the chosen source neighbors.

sᵢ⁽ᵏ⁾ = ∑ⱼ∈Nᵢ• Ûᵢⱼ × sⱼ⁽ᵏ⁻¹⁾

The value sᵢ⁽ᵏ⁾ is the score being computed for target review i at iteration k using the source term alone. The symbol ∑ sums over the source indices j in Nᵢ•, the row of the source neighbor matrix for target review i. The dot • indicates that the row supplies the selected indices. The value Ûᵢⱼ is the normalized similarity from that target review to source review j, and × multiplies it by the score sⱼ⁽ᵏ⁻¹⁾ at the preceding iteration. Since the source scores stay fixed, their iteration index does not imply that the procedure revises them.

The target-only expression performs the corresponding operation using the selected peers in the target collection.

sᵢ⁽ᵏ⁾ = ∑ⱼ∈Mᵢ• V̂ᵢⱼ × sⱼ⁽ᵏ⁻¹⁾

The symbols i and k again identify the receiving target review and the current iteration. The sum runs over the indices j in Mᵢ•, the selected target neighbors in row i. The value V̂ᵢⱼ is the row-normalized similarity between the two target reviews. The product multiplies that weight by sⱼ⁽ᵏ⁻¹⁾, the target neighbor’s score from the preceding iteration. In this matrix the relevant scores can change, so the target term can change even though the similarities and selected neighbors stay in place.

The actual update uses both sums. The distinction between the raw update and the rescaled score is useful here. The paper uses the same symbol at both stages, while the expression below uses r for the result before rescaling.

rᵢ⁽ᵏ⁾ = α × ∑ⱼ∈Nᵢ• (Ûᵢⱼ × sⱼ⁽ᵏ⁻¹⁾) + β × ∑ₕ∈Mᵢ• (V̂ᵢₕ × sₕ⁽ᵏ⁻¹⁾)

The quantity rᵢ⁽ᵏ⁾ is the unnormalized score of target review i at iteration k. The source sum uses j to index the selected neighbors in Nᵢ•, and the target sum uses h to index those in Mᵢ•. The symbols Ûᵢⱼ and V̂ᵢₕ give their normalized similarities to review i. The scores sⱼ⁽ᵏ⁻¹⁾ and sₕ⁽ᵏ⁻¹⁾ are the available scores from the preceding round. Each summation adds its weighted scores. The coefficients α and β scale the source and target sums, and the plus sign adds the two resulting contributions.

α + β = 1

The source coefficient is α, the target coefficient is β, and together they sum to 1. The paper sets α to 0.7 in the experiments, giving the source sum the larger coefficient. A larger coefficient gives that sum greater weight for a given value of the sum. The effective influence on any review also depends on the retained similarities, the signs of the neighbors, and the values of their scores.

The target contribution gives the calculation a way to carry evidence beyond a review’s immediate labeled neighbors. A source neighbor may raise the score of one target review in one round. That revised score can reach another target review during the next round if their target connection is among those selected. Opposing evidence can travel in the same way. The earlier decisions are starting conditions and can be revised as those influences are combined.

Rescaling, stopping, and assigning a category

Once the raw scores have been calculated for the target collection, they are rescaled using the positive and negative denominators. The normalized result is the target portion of S⁽ᵏ⁾, the collection of scores after round k. It supplies the target scores for the next round. This stage operates across the collection. If the total magnitude of the positive scores changes, the rescaling factor applied to positive scores changes along with it. Thus the chosen V neighbors are the direct routes between target reviews in the weighted sum, and the rescaling also couples their score magnitudes at the collection level.

The practical stopping rule compares each target document’s score in successive rounds. The authors stop when all of those changes fall below the threshold. They set that threshold to 0.00001. A score change serves as the stopping criterion because it can be measured using the text, the given source labels, and the scores produced by the calculation itself. Human judgments from the target collection are used to assess the resulting classifications.

At the end, a score on the positive side yields a positive decision, while a score on the negative side yields a negative decision. Magnitude indicates how far the score lies toward the corresponding polarity within the rescaled representation. The two starting values, 1 and -1, define the directions. The paper describes the final categories using intervals that meet at 0 and leaves the exact tie case ambiguous. For scores with a strict sign, the decision rule is unambiguous.

Experiments and results

The review collections and transfer directions

The documents are drawn from Chinese online reviews in electronics, stocks, and hotels. The authors manually assign positive or negative labels in each collection. A collection can then play the source role in one experiment and the target role in another. Its labels are usable supervision in the first role. In the second, the graph procedure uses review text and provisional predictions, and the manual labels supply the judgments against which accuracy is calculated.

The electronics data, called Elec, contain 554 negative and 1,054 positive reviews. The paper reports an average review length of 121 and a vocabulary of 6,200 different words for this collection. The stock data, called Stock, contain 683 negative and 364 positive reviews, with an average length of 460 and a vocabulary of 13,012 words. The hotel data, called Hotel, contain 2,000 negative and 2,000 positive reviews, with an average length of 181 and a vocabulary of 11,336 words. The paper reports the length figures as average review lengths without specifying their unit in the data table.

These collections differ in their balance of labels as well as their subject matter. Positive reviews are more numerous in Elec, negative reviews are more numerous in Stock, and Hotel has equal positive and negative counts. Documents in Stock have the greatest reported average length, and the collection also has the largest reported vocabulary. Changes in direction therefore exchange more than the topics of the documents. They exchange the collection from which known sentiment is drawn, the collection used to form the target graph, and the distribution against which predictions are graded.

The reported test covers each ordered pairing of different domains. For instance, Elec to Hotel treats electronics as the labeled domain and hotel reviews as the target. Hotel to Elec instead draws known labels from hotels and predicts electronics. The two rows are informative together because they show what changes when the direction is reversed while the pair of domains remains the same.

What is compared and what stays fixed

Prototype classification serves as a direct transfer baseline and as a source of initial target judgments. A prototype classifier uses representative information learned for each category to classify documents. In the direct baseline, its first set of target predictions goes to evaluation. In the corresponding graph run, those predictions become initial score signs and the final decisions come from the graph procedure.

The other direct baseline uses a support vector machine, or SVM. The authors run LibSVM with a linear kernel and default options. A linear classifier uses a weighted combination of the document features to make its decision. The comparison with the corresponding graph run follows the same logic as for Prototype. Both versions start with LibSVM’s predictions, and the graph version adds document similarities, fixed source scores, repeated target updates, and normalization.

The transfer-specific comparison is Structural Correspondence Learning, abbreviated SCL. It looks for correspondences through the relations between features and pivots. The authors use 100 pivot features in their SCL experiment. SCL addresses the same difficulty with differing vocabularies from another direction. Its result shows how the graph system compares with a method explicitly intended for transfer, in addition to how refinement compares with applying a source classifier directly.

For both graph runs the authors set the neighborhood size K to 150. That setting applies separately to the lists of source and target neighbors. The source coefficient α is 0.7, and the target coefficient is determined by the rule that the two coefficients add to 1. The convergence threshold is 0.00001 for the change in every target score between rounds. These settings allow the comparison between the graph runs to focus on which classifier supplies the initial signs.

The overall accuracy comparison

The paper reports accuracy, the share of target reviews whose predicted polarity matches the manual label. The table gives that share for each transfer direction and an average across directions. The values below use the paper’s decimal accuracy scale, where a larger value indicates that a greater fraction of predictions agree with the annotations.

Average accuracy across Chinese review transfer directions

Both graph runs lead the average, with closely similar results from the two initial classifiers.

Average accuracy across Chinese review transfer directionsPrototype: 0.6786Prototype0.6786LibSVM: 0.6674LibSVM0.6674Structural Correspondence Learning: 0.7520Structural Correspondence Learning0.7520Graph ranking initialized with Prototype (this paper): 0.7866Graph ranking initialized with Prototype(this paper)0.7866Graph ranking initialized with LibSVM: 0.7870Graph ranking initialized with LibSVM0.7870
The numbers
System or settingaccuracy
Prototype0.6786
LibSVM0.6674
Structural Correspondence Learning0.7520
Graph ranking initialized with Prototype (this paper)0.7866
Graph ranking initialized with LibSVM0.7870

Comparing each graph variant with its own initializer helps identify what the refinement accomplishes as a whole. For Prototype, the average moves from 0.6786 to 0.7866. For LibSVM, it moves from 0.6674 to 0.7870. The authors express the respective average increases as 10.8% over Prototype and 11.9% over LibSVM across the transfer problems. The accuracy values themselves show the starting points and the results of adding the proposed procedure.

SCL averages 0.7520 and exceeds both direct baselines on each transfer direction. The authors describe the graph approach’s average advantage over SCL as about 3.5 %. The averages capture the overall ordering, while the direction-specific results below show where it came from. In particular, the large advantages with Hotel as the source matter to how the average should be interpreted.

Transfers where SCL leads

In Elec to Stock, direct Prototype has an accuracy of 0.6652, and direct LibSVM has an accuracy of 0.6478. With graph scoring, the Prototype initialization reaches 0.7326 and the LibSVM initialization reaches 0.7304. SCL records 0.7507. As a consequence, this transfer exhibits both of the patterns that can coexist in the experiments. Using the graph after the initial classifier helps, while the strongest transfer method for that direction is SCL.

The same ordering between the transfer methods appears when electronics supplies the labels and hotels supplies the evaluated reviews. The graph runs reach the same accuracy with either initializer. SCL has the highest score on that transfer, and the direct LibSVM classifier starts fairly close to the graph runs.

Accuracy for transfer from electronics reviews to hotel reviews

SCL leads this transfer, while graph ranking reaches the same accuracy with either initializer.

Accuracy for transfer from electronics reviews to hotel reviewsPrototype: 0.7304Prototype0.7304LibSVM: 0.7522LibSVM0.7522Structural Correspondence Learning: 0.7750Structural Correspondence Learning0.7750Graph ranking initialized with Prototype (this paper): 0.7543Graph ranking initialized with Prototype(this paper)0.7543Graph ranking initialized with LibSVM: 0.7543Graph ranking initialized with LibSVM0.7543
The numbers
System or settingaccuracy
Prototype0.7304
LibSVM0.7522
Structural Correspondence Learning0.7750
Graph ranking initialized with Prototype (this paper)0.7543
Graph ranking initialized with LibSVM0.7543

In Stock to Hotel, Prototype gives an accuracy of 0.6848 and LibSVM gives 0.6957. Graph scoring raises the corresponding accuracies to 0.7435 and 0.7457. SCL attains 0.7683, the best accuracy on that pairing. Thus SCL leads on both reported transfers into Hotel, regardless of which source supplies the training reviews. These results also show that the benefit of graph refinement over its own starting predictions can survive in directions where another transfer method performs better.

Transfers where graph ranking leads

In Stock to Elec, direct Prototype has an accuracy of 0.7043, direct LibSVM has an accuracy of 0.6696, and SCL reaches 0.8340. The graph starts from each of the two direct classifiers and ends at 0.8435 with Prototype and 0.8457 with LibSVM. SCL and the graph variants all make substantial gains over the direct classifiers in this direction. The graph runs have the higher reported accuracies, with the two initializers again producing nearby results.

In Hotel to Stock, Prototype records 0.6196 and LibSVM records 0.5978. SCL reaches 0.6571. Graph ranking scores 0.7848 with either initializer. This result helps explain why the full procedure can average above SCL despite losing to it when electronics supplies the labels. Where Hotel supplies the labels and Stock is evaluated, both graph runs move well above their starting classifiers and above the dedicated transfer comparison.

The other transfer from Hotel has the highest accuracies in the graph columns. It also illustrates the effect of the direction using the same two collections as the Elec-to-Hotel comparison. Both graph variants again give the same reported accuracy, and this time they lead the other systems.

Accuracy for transfer from hotel reviews to electronics reviews

Both graph runs lead this transfer and reach the same reported accuracy.

Accuracy for transfer from hotel reviews to electronics reviewsPrototype: 0.6674Prototype0.6674LibSVM: 0.6413LibSVM0.6413Structural Correspondence Learning: 0.7270Structural Correspondence Learning0.7270Graph ranking initialized with Prototype (this paper): 0.8609Graph ranking initialized with Prototype(this paper)0.8609Graph ranking initialized with LibSVM: 0.8609Graph ranking initialized with LibSVM0.8609
The numbers
System or settingaccuracy
Prototype0.6674
LibSVM0.6413
Structural Correspondence Learning0.7270
Graph ranking initialized with Prototype (this paper)0.8609
Graph ranking initialized with LibSVM0.8609

Taken by direction, the results support a consistent improvement when the graph is added to either initializer and a direction-dependent advantage over SCL. Reversing the Hotel and Elec roles changes which transfer method leads, even though those names still identify the same collections. The aggregate result summarizes performance over the paper’s collection of transfer tasks. The individual directions show how differently a method can behave depending on which reviews supply labels and which reviews receive them.

What the ablations show

What the experiment varies

The paper reports no component ablation. Its controlled comparisons add the complete graph procedure to each initial classifier and vary the classifier that provides the initial predictions. It also compares all systems across transfer directions and offers an explanation for the average difference from SCL. Those comparisons give evidence about the procedure as a whole and about the influence of initialization under the tested settings.

The most direct comparison starts with the same classifier and the same source and target collections. Prototype provides a set of predictions that can be evaluated immediately, and those predictions also initialize a graph run. LibSVM provides another instance of the same design. Since both comparisons show improvements in all the reported directions, the benefit of the complete procedure appears with both ways of obtaining the initial labels. The comparison includes access to labeled nearest neighbors, access to target neighbors, repeated propagation, and score normalization together.

The result is informative about what is gained by revisiting the provisional predictions. It leaves the internal mechanism underdetermined. A target review might be corrected because its most similar source documents have the right label. It might be corrected after evidence travels through several target reviews. It might also move toward a new decision because the balance of positive and negative score magnitudes changes during rescaling. The accuracy comparison grades the final decision after all these operations have taken place.

How much the initial classifier appears to matter

The direct classifiers differ in accuracy, yet the two graph runs finish close to each other across the transfer directions. In some directions they have identical reported accuracies. Each initialization starts from the categories supplied by its classifier, while the shared similarity matrices and fixed source evidence guide the updates. These common inputs give a plausible reason for convergence in aggregate performance even where the preliminary judgments differ.

Equal accuracies allow for different review-level outcomes. Each run can get the same share of reviews right while the identities of the errors differ. The paper reports no agreement analysis between the final outputs and no paired account of which preliminary decisions were changed. The initializer comparison therefore addresses final accuracy for these two ways of starting the procedure. It leaves open whether their final predictions agree review by review.

The direct accuracy of an initializer also provides little basis for identifying which graph variant will finish ahead. Prototype has the higher direct accuracy in the Stock-to-Elec transfer, while the LibSVM-initialized run finishes with the higher graph accuracy. The initial signs interact with neighborhood connections and fixed source labels during refinement. The accuracy of the initial signs, considered as a single summary of their quality, cannot describe those relationships.

What remains mixed together

The separate equations for source and target neighbors give a clear description of where the two contributions enter the method. The overall results use both terms. The paper does not give a reported accuracy for a system retaining only the labeled neighbors, or for one using the initial target predictions and the target graph alone. The coefficient 0.7 tells the reader how the authors weighted the source sum. It supplies no measurement of how much performance would change if that weight changed or the target term were removed.

The same distinction applies to repeated scoring. A graph run with a single update would show how far the initial predictions could be improved with immediate neighborhood evidence. The reported results use the stopping rule after iterative updates. Accuracy from a single update and results without the per-round score rescaling would help distinguish the value of those operations, but the paper gives the complete run. It also gives no neighborhood-size sweep, alternate similarity comparison, or result under different coefficient settings.

Changing transfer directions gives another view of sensitivity. The two directions between Elec and Hotel produce different leading systems. In each direction, the graph variant improves on its starting classifiers. Across directions, the labeled collection, the target vocabulary, and the structure of the target neighborhoods all change roles. The reversal shows the importance of direction for these data. It does not isolate which collection property accounts for the different ordering.

How to read the comparison with SCL

The authors attribute part of the average advantage over SCL to the use of word co-occurrence in SCL. In their account, whole-document co-occurrence can be sensitive to infrequent words and to the amount of data. They also argue that the choice of pivots can affect the quality of the correspondences inferred by SCL. These explanations are plausible mechanisms within the descriptions of the methods. The experiment uses a single reported pivot count and gives no controlled comparison that varies pivot quality, word frequency, or data size.

SCL’s wins make the direction-specific evidence especially useful. A transfer method based on feature correspondences can lead on some pairs, while a method that relates individual reviews can lead on others. The mean accuracy favors graph ranking for the tested combination of directions. The controlled initializer comparisons more directly establish the paper’s central experimental result. Adding the full graph procedure improves the predictions of both conventional classifiers on every direction evaluated.

Limitations

Limits identified by the authors

The authors’ clearest reservation concerns cosine similarity as a measure for finding sentiment neighbors. It compares general document content. A review’s polarity is only one property that might account for resemblance in that representation. Two reviews may discuss the same object and emphasize the same attributes while disagreeing over whether those attributes are good. The graph can link them strongly on the basis of that shared content.

This matters because the sign carried through a connection belongs to the entire neighboring document. The edge itself has a weight based on the word vectors and carries no separate test of polarity agreement. When the connection joins reviews with different judgments, a strong similarity can make contrary sentiment evidence count heavily. The authors identify alternative similarity measures as a direction for future work. They also mention applying the approach to multitask learning as a possibility beyond the experiments.

The related-domain assumptions also delimit the study. The vocabulary has to overlap, and the labels have to carry the same meaning. Both conditions make the transfer intelligible. Shared categories give a source label a possible interpretation for a target review. Shared words give the cosine measure a way to register resemblance across domains. The existence of some shared vocabulary, however, can coexist with many weakly connected target reviews. For those reviews, useful source neighbors may be difficult to find even when the collections satisfy the condition in aggregate.

Limits of the evaluation

The evidence comes from Chinese online reviews and the specified transfers among electronics, stocks, and hotels. Reversing each domain pairing makes the experiments broader than choosing a single source and target, while keeping them within the same collections, language, and binary labeling task. The results therefore describe document polarity in these settings. Transfers to other languages, disjoint vocabularies, or category sets that include neutral or mixed sentiment are outside the evaluation.

The paper gives collection sizes, accuracy by direction, and several key algorithm settings. It gives limited detail about any additional partitioning or sampling of the reviews for training and testing within those collections. The roles of source and target are clear from the transfer direction. Further details about the exact evaluated subsets, if subsets were used, are unavailable from the experimental account. The text also gives no validation procedure for choosing the neighborhood size and source coefficient. The reported accuracies attach to the chosen settings, with sensitivity to those choices left open.

Accuracy combines positive and negative classification outcomes into a single fraction. The collection counts show that the class balance varies. A system can improve its overall accuracy through better performance on the more common class while gaining little on the other one. The paper gives no per-class accuracies or confusion counts to distinguish those possibilities. This also limits interpretation of the normalization that assigns equal total score magnitude to the two polarities. The results grade that choice as part of the full procedure, without showing separately what it does for either class.

The averages and the per-direction accuracies are point estimates. The paper gives no uncertainty estimates or tests for the differences between systems. Small gaps between the two graph initializers describe the reported outcomes at the table’s precision. Whether those gaps would recur under different reviews or evaluation choices remains an open question. The same issue applies to closely spaced results in the comparison with SCL.

Limits of the prediction setting

The procedure forms its target graph from the reviews being classified. This is a batch prediction setting. Each target review can use other target reviews that are present in the collection, and its magnitude after rescaling depends on scores elsewhere in the batch. This setting makes sense when a group of unlabeled reviews is already available. A stream that supplies new reviews individually would require a choice about which target neighbors are available and whether previous scores are recomputed. The experiments establish accuracy for the batch procedure described in the paper.

Dependence on the target collection can help when similar reviews reinforce a sound provisional judgment or bring source evidence to a weakly connected review. It can also spread incorrect evidence when the grouping reflects shared subject matter and the provisional labels in that group are wrong. The table measures the net effect after both possibilities have played out. It gives no breakdown by degree of overlap, reliability of target neighborhoods, or initial prediction quality within those neighborhoods.

The document representation also restricts what the graph can observe. It sees weighted terms and similarities between their vectors. Sentiment cues that depend on the order of those terms or on which expression modifies which part of a review have no dedicated representation in the similarity calculation. Readers can therefore understand the authors’ concern about better neighbors as a question about what kind of resemblance the similarity function detects. Improvement in these experiments shows that the existing resemblance measure is useful on balance for the full procedure.

Limits of the algorithm specification

The authors motivate row normalization and per-round score normalization in terms of convergence and give a numerical criterion for stopping. The paper supplies neither a general proof of convergence nor iteration counts for the reported runs. The specified stopping test tells a reader how a stable set of scores is recognized during a run. It leaves open how the iteration behaves under other graph structures, parameter choices, or initial predictions.

Some edge cases also remain implicit. The normalization rule gives branches for strictly positive and strictly negative scores. Exact zero has no separate branch, and the category intervals meet at zero. The iterative normalization uses names for positive and negative groups that were introduced during initialization. The paper does not spell out whether those groups are reformed from the current signs at every round, even though the branch conditions test the current scores. A reproducible implementation needs to settle these details, especially if a score changes sign or if a polarity group supplies no scores.

The similarity rule describes what happens when a row of edge weights has zero total. The paper gives less detail about other implementation choices that can affect neighborhood selection, such as tie handling at the cutoff. It also defines the inverse document frequency using the size of a dataset without fully specifying the counting scope in each transfer direction. These issues matter to a close reconstruction. The main logic is explicit: represent the reviews, use separately ranked source and target neighborhoods, update signed scores, and evaluate the final target labels. The comparisons establish the performance of that logic as a complete procedure under the reported conditions.

What came after

The later work Extraction of Russian Sentiment Lexicon for Product Meta-Domain cites the graph-ranking study. Its subject is a lexicon of Russian sentiment expressions for a product meta-domain. The title identifies the unit of interest as a lexical entry, whereas the graph-ranking paper assigns polarity to complete reviews. The two tasks share an interest in sentiment associated with a domain, but a connection by citation gives no basis for attributing a particular algorithmic transfer. The citation establishes that the later lexicon study referred to the earlier paper. How it used the earlier work’s neighbor graph, score updates, or transfer setup is unspecified.

Cite

Cite as Qiong Wu, Songbo Tan and Xueqi Cheng. 2009. Graph Ranking for Sentiment Transfer. Proceedings of the ACL-IJCNLP 2009 Conference Short Papers.

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

@inproceedings{wu2009graph,
  title = {{Graph Ranking for Sentiment Transfer}},
  author = {Qiong Wu, Songbo Tan and Xueqi Cheng},
  booktitle = {Proceedings of the ACL-IJCNLP 2009 Conference Short Papers},
  year = {2009},
  doi = {10.3115/1667583.1667681},
  url = {https://doi.org/10.3115/1667583.1667681}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wu-2009-graph-ranking-sentiment-transfer/