Unsupervised Sparse Vector Densification for Short Text Similarity
Paper · 2015 · Yangqiu Song and Dan Roth
Summary
Two short passages can discuss the same subject without using the same words. Representing each passage with Wikipedia topics can help, but the resulting topic lists can still differ enough to make the passages look unrelated. Song and Roth address this problem in semantic similarity by giving related Wikipedia concepts a way to contribute to a comparison. A concept associated with a kind of vehicle, for instance, can support a match with a broader concept about vehicles even when the encyclopedia assigns them different entries.
The method starts with explicit semantic analysis, or ESA, which describes a text through weighted Wikipedia concepts. The authors use word2vec word embeddings trained on Wikipedia to estimate how closely the titles of those concepts are related. They then try several ways of turning the title comparisons into a score for the texts. One averages the evidence across all pairs of concepts. Another lets each concept pick its closest counterpart, allowing a counterpart to be chosen repeatedly. A third finds an assignment in which each concept can be used only once. The original ESA weights still govern how much the selected relationships contribute.
The authors test the resulting approach, Dense-ESA, in different settings. In classification using category descriptions from 20-newsgroups, the reported gains are more pronounced for short document fragments and for the harder distinction between automobile and motorcycle discussions. On a short-document benchmark, all the Dense-ESA variants agree more closely with the human ranking of document pairs than ordinary ESA does. Spearman’s correlation is 0.5665 for ESA and reaches 0.6003 with the one-to-one assignment. For ACE2005 event classification, which uses class-specific decision thresholds selected through cross-validation, the highest mean F1 is 0.481 with greedy matching, compared with 0.469 for ESA. Averaging across all concept pairs gives 0.451 on that task.
The experiments show why the matching rule matters. Related titles can supply evidence that exact overlap misses, particularly when a short text offers few shared concepts. How that evidence is collected affects whether it helps. A single concept can be counted repeatedly under greedy matching, while an average can accumulate weak relationships that do little to distinguish the categories. The strongest setting depends on what the score is being used to decide.
Deep dive: Unsupervised Sparse Vector Densification for Short Text Similarity
Song and Roth compare short texts by matching related Wikipedia concepts, then test the method on human judgments and text classification. · about 31 minutes to read
The problem and its context
What disappears when a text gets shorter
A bag-of-words representation gives each item in a vocabulary its own coordinate. A document has a weight at a coordinate when the corresponding word contributes to its representation. Most entries are zero because any individual document uses a small part of the vocabulary. This way of representing documents had already been widely used in document classification and information retrieval.
The useful feature of a shared vocabulary is that any pair of documents can be compared in the same space. Cosine similarity takes account of the direction of the vectors, so the comparison depends on the distribution of their weights as well as on the words they share. The weakness is that a contribution to the dot product requires matching coordinates. A word used in one document contributes through its own entry. If the other document expresses the same idea with different vocabulary, the relationship between those words supplies no evidence to the dot product.
The problem becomes especially visible when a brief passage is compared with a category description. A long article can offer several clues about its subject. A fragment may contain only the name of a particular object or action, while the category description names the broader subject. Both can be informative to a reader. Their vocabulary overlap can still be small. The category comparison can then turn on a modest piece of shared wording even when more relevant evidence is present elsewhere in the representations.
Explicit semantic analysis changes the vocabulary of the comparison. ESA retrieves relevant Wikipedia concepts for each text and represents the text by its weights on those concepts. Think of each coordinate as the topic of an encyclopedia entry. A word in the passage can contribute to a concept even if the passage does not name that entry. Documents that use different surface vocabulary can therefore reach some of the same coordinates. This is the enrichment that makes ESA a sensible starting point for comparing documents with short descriptions of categories.
An ESA representation still chooses a set of entries from a much larger inventory. Related passages can retrieve related entries while sharing few entry identities. Ordinary ESA cosine treats an entry about a broad topic and an entry about an instance of that topic as different coordinates. Its calculation can register a shared article title, while the relationship between distinct entries lies outside that calculation. Encyclopedic expansion thus gives the comparison more opportunities for overlap, and the quality of those opportunities still depends on the length and wording of the text.
Different kinds of sparsity matter here. A vector can retain many concepts and remain sparse relative to the Wikipedia inventory. Two vectors can also each retain many concepts while intersecting at very few. The second issue is the immediate concern for cosine. The quantity that matters to the dot product is how many weighted coordinates are shared and how much those shared coordinates contribute. Enlarging each list gives the pair more chances to intersect, but the most relevant clue can still sit in different coordinates on the two sides.
Short inputs also create a distinction between evidence for relatedness and evidence for a particular decision. A passage about a road vehicle may be related to both an automobile description and a motorcycle description. In a classification task the useful question is which relationship is stronger. A method that makes every vaguely related concept count could raise both scores while leaving little additional separation. The paper consequently considers how to restrict the contribution of weak matches and how many times a concept should be allowed to support a score.
The representations the authors build on
The paper describes ESA and distributed word representations as ways to bring knowledge acquired outside the input text into a comparison. They store different kinds of information. An ESA coordinate corresponds to an identifiable Wikipedia topic. A distributed word representation describes a word through a dense vector learned from the contexts in which words occur. Two distinct words can have similar vectors because their contexts are similar. Related coordinate labels can therefore be compared even if the original sparse representation treats them as separate entries.
The particular source of contextual evidence in Dense-ESA is word2vec. The paper cites both the work on continuous-space linguistic regularities and the work on learning word and phrase representations. Its use of embeddings here is deliberately local. The vectors estimate similarity between the titles of individual ESA concepts. The text as a whole remains a weighted collection of concepts, and the authors compare those collections through an explicit matching rule. The source of the title vectors is Distributed Representations of Words and Phrases and their Compositionality.
The authors place this choice alongside earlier work extending distributed representations beyond single words. Those efforts include representations for sentences and documents and work on composing the meaning of longer expressions. For Song and Roth, the immediate question is how to compare two representations that are already available. ESA provides the text-level inventory, while the contextual vectors supply a way to measure relationships within that inventory. The paper cites, among other approaches to longer units, Distributed Representations of Sentences and Documents.
The paper also identifies a closer precedent in question answering. Yih and colleagues had used averaging and a different maximum-based comparison to get more out of a sparse representation. Their comparison worked with words. Song and Roth instead apply related ideas after a text has been expanded into encyclopedic concepts. That change affects the objects being aligned. A selected match can relate two retrieved encyclopedia topics, even when neither title is a phrase that occurs directly in the passage.
Another precedent comes from set similarities discussed in the paper’s account of computer vision research. The pertinent idea is that two collections can be compared through similarities between their members. An all-pairs calculation draws on this idea directly. The alternatives in Dense-ESA ask whether the comparison improves if it keeps only a best counterpart for each concept or imposes a one-to-one assignment for the collection as a whole.
The choice among those rules matters because the members carry weights. ESA has already indicated which concepts are more salient for each text. A title match brings separate evidence about whether concepts could correspond across the two texts. The method combines both kinds of evidence. Changing the alignment rule changes which products of those weights and title similarities enter the text score.
The method, step by step
Keep the concept lists and compare their entries
The method begins by representing each input text with ESA. For each passage, the authors have a list of Wikipedia entries and a weight for each retained entry. The weight belongs to the representation of that passage. An entry may have a different weight in another passage, even though its title is the same. This distinction matters because title similarity is a relationship between entries, while the ESA weights describe how much those entries have to do with their respective inputs.
Next the authors obtain a dense vector for each title. A title consisting of a single word can use its word vector directly. A title containing a phrase is represented by averaging the vectors for its words. This yields a common space for comparing titles with different wording. It also means that the component words supply all the evidence in that part of the method. Their arrangement in the title plays no role in the average.
A pair of texts can now be pictured as two lists, with a table of possible title comparisons between them. Each row corresponds to a retained concept from the first text and each column to one from the second. A cell gives the relatedness of the titles. The text score depends on which cells the matching rule uses and on the ESA weights attached to the row and column of each of those cells.
Consider what could happen when an automobile passage and a category description retrieve different but closely related vehicle concepts. Exact ESA cosine has an opportunity to count the concepts they retrieved in common. Dense-ESA also has an opportunity to use the relationship between the distinct titles. The ESA weights keep that relationship tied to the passages. If one of the entries is marginal in its own text, its match contributes less than it would if the entry had a large weight there.
From short texts to a Dense-ESA score
The steps in order.
Classification adds a step after this comparison. The other text can be a description of a label, and its similarity to the input can be used to make a category decision. For the document-pair experiment, the computed score is itself what the authors compare against human judgments. The same representation and alignment machinery supplies evidence for both uses, with different evaluation procedures after scoring.
Why ordinary cosine needs exact overlap
The authors start with two sparse vectors in a shared vocabulary. In ESA that vocabulary consists of concept identities. Conventional cosine is the dot product normalized by the lengths of the vectors.
cos(x, y) = (xᵀy) / (‖x‖ · ‖y‖)
Here x and y are the vectors of weights for the two texts. The expression xᵀy is their dot product, with ᵀ indicating transpose. The bars in ‖x‖ and ‖y‖ denote Euclidean norms, and the centered dot between them denotes multiplication. The notation cos names the resulting cosine similarity. The dot product multiplies weights at the same coordinate and adds the products. The norms describe the magnitudes of the original vectors.
To see where the restriction comes from, consider only the entries with non-zero weights. Write aᵢ for the identity of the concept at position i in the first text’s list, and bⱼ for the identity of the concept at position j in the second text’s list. The position in the list and the vocabulary identity are different things. To match the two concepts under cosine, their identities must agree, regardless of where each appears in its own list.
cos(x, y) = (∑ᵢ ∑ⱼ δ(aᵢ − bⱼ) x[aᵢ] y[bⱼ]) / (‖x‖ · ‖y‖)
The sum over i ranges across the nₓ non-zero entries of x, and the sum over j ranges across the nᵧ non-zero entries of y. The identities aᵢ and bⱼ are indices in the common vocabulary, whose size the paper calls V. The expressions x[aᵢ] and y[bⱼ] are the weights at those indices. The minus sign in the argument of δ takes the difference between the indices. The function δ returns 1 when the difference is zero and 0 otherwise. The denominator is the product of the same Euclidean norms used in ordinary cosine. Juxtaposition of factors in the numerator denotes multiplication.
This expression enumerates all potential pairs in the two lists, but the indicator gives only exact matches a non-zero contribution. If the texts retrieve disjoint sets of concepts, the numerator vanishes regardless of the direction or content of any semantic relationship a reader might see between the entries. Even when some concepts overlap, the score can depend mainly on those few shared entries. The reformulation pinpoints what Dense-ESA changes. It uses a graded term similarity, written φ, and considers different ways to decide which term pairs contribute.
How the titles get their scores
The authors train word2vec on a Wikipedia dump using the continuous bag-of-words approach, abbreviated CBOW, with default parameters and a context window of five. In the account given in the paper, the surrounding context provides the information used to learn a word’s representation. Training yields a vector with 200 dimensions for each word. The paper uses these learned vectors in the title comparison and uses the mean of a phrase title’s constituent word vectors as the vector for that title.
The comparison operates at the level of a complete title vector. For a phrase title, averaging takes place before any comparison with a title from the other text. It therefore differs from matching the individual words of two titles and then combining those word matches. Once a title vector has been built, the outer alignment operates on that vector and the ESA weight for the associated concept. An ESA weight belongs to a particular text. The title vector describes the concept’s name and can serve in comparisons involving different texts.
For average matching, the authors use a radial basis function, or RBF, to turn the separation of title vectors into a similarity. They use the following function throughout the experiments with that variant.
φ(aᵢ, bⱼ) = exp(−‖a − b‖² / (0.03 · ‖a‖ · ‖b‖))
The arguments aᵢ and bⱼ name the two concepts being compared, and a and b are their dense title vectors. The symbol φ denotes term similarity. The expression a − b is the vector difference, ‖a − b‖² is its squared Euclidean norm, and ‖a‖ and ‖b‖ are the separate Euclidean norms. The denominator uses 0.03 as its scale constant and multiplies by both norms. The minus sign before the fraction gives a negative exponent for a positive separation. The function exp takes the exponential of that exponent.
As the squared separation grows relative to the denominator, the similarity gets smaller. The authors use this property to reduce the effect of weak matches in a calculation that looks at every pair. A small similarity can still contribute if it is present in the sum. The kernel is therefore one part of how the averaging variant controls weak evidence, while the aggregation rule still gives it access to the entire comparison matrix.
For greedy and Hungarian matching, φ is based on the cosine between the two title vectors. The cosine formula already introduced applies here too, with the dense title vectors in place of the sparse text vectors. Moreover, the paper uses a cutoff, γ. Similarities below that threshold are set to zero. A title pair has to meet the cutoff to supply non-zero evidence in these variants. The reported cutoff depends on the evaluation, and in the short-document benchmark it also depends on which matching rule is used.
There are thus two levels at which cosine can appear. Ordinary ESA uses cosine to compare complete sparse text vectors with matching concept identities. The greedy and Hungarian variants use cosine inside the calculation to compare dense vectors for titles, including titles attached to different concept identities. The final Dense-ESA score aggregates those title comparisons, with ESA weights and text-vector norms. The cosine used for the titles and the resulting score for the texts play different roles.
Average matching lets every pair contribute
The average variant examines each retained concept in the first text against each retained concept in the second. It multiplies the title similarity by the two ESA weights, sums the products, and normalizes by both concept counts and both vector norms.
Sₐ(x, y) = (∑ᵢ ∑ⱼ x[aᵢ] y[bⱼ] φ(aᵢ, bⱼ)) / (nₓ ‖x‖ · nᵧ ‖y‖)
The symbol Sₐ names the average-matching score for texts with vectors x and y. The index i runs through the nₓ retained non-zero concepts of x, and j runs through the nᵧ retained non-zero concepts of y. The labels aᵢ and bⱼ are their vocabulary identities, and x[aᵢ] and y[bⱼ] are their weights. The factor φ(aᵢ, bⱼ) is their title similarity, supplied here by the RBF. The denominator multiplies each vector’s concept count by its Euclidean norm, then multiplies those quantities across the two texts. The two summation signs add contributions over all cross-text pairs.
This is a many-to-many comparison. A concept can contribute weakly or strongly through several different concepts in the other representation. That can be useful if two texts express related subjects through several partial correspondences. No individual pair has to carry the whole relationship. When most of the proposed correspondences are incidental, the same breadth can make an average less discriminating. The large number of weakly related pairs is the reason the authors also examine rules that admit fewer contributions.
The count normalization distinguishes this score from the two selective variants. It accounts for the number of candidate pairs through the two list sizes. A larger list can change both the pool of contributions and the factor by which they are divided. Adding a concept thus changes more than the set of relationships available for comparison. The norm factors further preserve the role of the ESA vectors’ magnitudes.
Greedy matching finds a counterpart for each concept
The greedy variant starts with a concept in the first text and selects the highest-scoring title in the second text. It repeats that search separately for every concept in the first list. The selection uses the title-level similarity. Once the choice has been made, the score uses the ESA weights of both selected entries.
jᵢ = argmaxⱼ φ(aᵢ, bⱼ)
Here jᵢ is the position selected in the second list for the concept at position i in the first list. The operation argmax returns an index j at which the title similarity φ reaches its maximum for that aᵢ. The symbol bⱼ is the vocabulary identity at the candidate position j. The search ranges over the nᵧ concepts of the second text. The paper specifies the maximizing criterion and leaves tie handling unspecified.
Sₘ(x, y) = (∑ᵢ x[aᵢ] y[bⱼᵢ] φ(aᵢ, bⱼᵢ)) / (‖x‖ · ‖y‖)
The symbol Sₘ names the directed greedy score from x to y. The sum runs over positions i in the first text’s list. For each position, bⱼᵢ denotes the vocabulary identity in the second list at the selected position jᵢ. The quantities x[aᵢ] and y[bⱼᵢ] are the corresponding ESA weights, and φ gives the similarity of that concept pair. The denominator is the product of the Euclidean norms of the original sparse vectors.
A concept in the second text can be selected more than once. For instance, several specific vehicle concepts could each find their best counterpart in the same broad vehicle entry. Each individual match can be reasonable. Their collective effect depends on whether repeated support from that broad entry reflects the relationship the task is meant to capture. From the direction in which the search runs, this is a many-to-one possibility.
The direction matters because the question changes on reversal. Finding the best concept in a short label description for every entry in a document can produce different matches from finding the best entry in that document for each concept in the label description. The authors explain how to make the score symmetric by averaging the two directed comparisons.
Sₘ,sym(x, y) = (Sₘ(x, y) + Sₘ(y, x)) / 2
The symbol Sₘ,sym denotes the symmetric form. The first score on the right uses x as the source list and y as the destination. The second reverses those roles. The plus sign adds the directed scores, and division by 2 takes their arithmetic mean. Symmetrizing the score leaves the underlying choices greedy. Within either directed calculation, the same destination entry can still be selected repeatedly.
Hungarian matching assigns counterparts jointly
The Hungarian variant connects the concepts under an exclusivity constraint. The paper describes the comparison as a bipartite assignment problem. The two sides of the graph are the retained concepts from the two texts. Possible matches run across the graph, and the assignment is chosen jointly so that a concept on one side is used once at most. A pairing can therefore depend on the other pairings the algorithm is able to make.
The distinction from greedy selection appears when two concepts both have the same favorite counterpart. The greedy rule can retain both connections. Under the one-to-one rule, assigning that counterpart to either concept makes it unavailable to the other. The algorithm can weigh the compatible pairings across the lists. A second-choice counterpart for an individual concept can be part of the preferred joint assignment.
The authors present the expression for equally sized lists. They explain that the shorter side can be padded with zero-weight terms when the sizes differ. Such entries allow the assignment to be expressed with equal sizes while contributing no weighted match to the resulting score. The assignment can also contain a real pair whose title similarity was cut to zero. The pairing structure and the evidence that survives in the score are distinct.
Sₕ(x, y) = (∑ᵢ x[aᵢ] y[h(aᵢ)] φ(aᵢ, h(aᵢ))) / (‖x‖ · ‖y‖)
The symbol Sₕ names the Hungarian score for texts represented by x and y. The sum ranges over the entries aᵢ of the first side of the assignment. The function h gives the vocabulary identity on the second side assigned to aᵢ. The expressions x[aᵢ] and y[h(aᵢ)] are the ESA weights of the assigned concepts, and φ supplies their title similarity. The norm factors refer to the input text vectors. A padding entry has zero weight, which makes its associated summand zero.
The formula is the scoring rule after the assignment has been obtained. The paper identifies the Hungarian algorithm as the way it gets the one-to-one pairing and presents the ESA-weighted sum for that pairing. This explains how to read an individual contribution. Its title similarity says how closely the paired entries are related, and the ESA weights say how strongly each of those entries represents the corresponding text. The one-to-one constraint governs which combinations of contributions can appear together.
Across the variants, densification changes which pairs can give evidence in a text comparison. The input still consists of sparse ESA lists. An all-pairs average makes broad use of potential connections, greedy matching keeps one connection from each source concept, and Hungarian matching imposes exclusivity on both sides. Seen this way, the method enriches a relationship between texts through the geometry of their concept titles.
Experiments and results
Classifying newsgroup texts from label descriptions
The 20-newsgroups experiment tests dataless text classification. A document is compared with a description of each candidate label in the ESA concept space. The description stands in for a set of labeled training documents. The authors use previously established label descriptions, with cars serving as the description in their illustration involving rec.autos. The baseline uses ordinary ESA cosine. The Dense-ESA variants change the comparison between document and label.
The paper selects two binary problems. The easier comparison is rec.autos versus sci.electronics, which belong to different broader categories. The harder comparison is rec.autos versus rec.motorcycles, which share a broader category. This second comparison tests whether the added relations help when the candidate descriptions are already close in subject. A good vehicle-related match may raise the score of either category, so the quality of the relative match matters.
The authors evaluate both full documents and fragments made by dividing each original document into 16 parts. Each part receives the category of its parent document. This creates a deliberate length comparison within the same classification setup. The fragments offer less context for ESA to retrieve concepts, while the task still asks for the same category decision. The authors also vary the number of concepts retained for representation and present a separate accuracy comparison at 500 concepts. They set γ empirically to 0.85 for greedy and Hungarian matching in this experiment.
Accuracy measures how frequently the procedure chooses the assigned category. The authors report that Dense-ESA improves the classification results, with the clearest gains on shorter fragments and on the closer category contrast. Greedy and Hungarian matching are generally the strongest choices in the reported comparisons. That pattern matters because the method has an opportunity to help in two different circumstances. Length reduces the number of cues that can be retrieved, while similarity between candidate categories makes the cues harder to use for a decision.
The newsgroup experiment also gives the authors a way to look beyond the final label. They examine how much more strongly an input matches one label description than the other. This lets them see whether the scores for the two true categories become easier to distinguish, even when the accuracy comparison alone gives little information about the positions of individual examples. The score-distribution analysis is discussed below.
Ranking short-document pairs against human judgments
The short-document benchmark from Lee and colleagues contains 50 documents, with an average length of 80.2 words. Several human judgments can apply to the same pair. The authors average the judgments for each pair to form its reference similarity, then compare the ordering induced by the computational scores with the ordering induced by those averaged judgments. In this experiment the object of evaluation is the ranking of pairs.
Spearman’s correlation measures the agreement between those rankings. A larger value means that pairs ranked as more similar by the method tend also to be ranked as more similar by the human judgments. The measure tells the reader about ordering. The size of a raw similarity score and the human scale used to produce the reference judgments need no direct correspondence for the rank comparison.
The paper describes the previous best word-level result on these data as close to 0.5. The direct comparison in this experiment uses ordinary ESA cosine and the Dense-ESA variants, all with 500 concepts. The authors use γ of 0.95 for greedy matching and 0.89 for Hungarian matching. This distinction in settings matters when reading the ordering among variants. The complete configurations are being compared, with the similarity cutoff allowed to differ.
ESA and Dense-ESA on the Lee short-document benchmark by Spearman’s correlation
Every Dense-ESA variant improves rank agreement with human judgments, and Hungarian matching ranks highest.
The numbers
| System or setting | Spearman’s correlation |
|---|---|
| ESA cosine | 0.5665 |
| Dense-ESA average | 0.5814 |
| Dense-ESA greedy | 0.5888 |
| Dense-ESA Hungarian (this paper) | 0.6003 |
Ordinary ESA obtains Spearman’s correlation of 0.5665. Averaging title similarities brings it to 0.5814, and greedy matching reaches 0.5888. The Hungarian variant gives the highest reported correlation, 0.6003. The consistent direction across variants is the strongest feature of this comparison. Even the all-pairs average gives a ranking closer to the averaged judgments than exact matching in the ESA space.
The best result here is consistent with an assignment that draws evidence from several distinct correspondences. This benchmark compares document with document, where both sides may offer several meaningful clues. The result does not identify the pairs on which exclusivity helped. Its direct contribution is a controlled task comparison using the same ESA concept count, with different ways of scoring the concept sets.
Recognizing event types in sentences
The event experiment uses ACE2005 and selects sentences that contain event information. Its inventory has eight event types, including life, movement, conflict and contact. An input sentence can belong to several types. The procedure compares the sentence with each type’s label description, then uses a threshold for that type to decide whether to assign it. Thus the test differs from the binary newsgroup comparisons, where the task is to choose between rival descriptions.
The authors report 3,644 unique sentences containing events, with mean sentence length of 23.71. To illustrate the presence of multiple labels, they report 2,712 sentences with only one event type, 421 with two types and 30 with three types. These listed counts do not give a complete breakdown of the stated total. They still establish that treating each sentence as having a single target label would miss part of the task as defined in the paper.
The class-specific decision thresholds are selected using five-fold cross-validation. They govern which sentence-to-description scores result in a label. They are separate from γ, which governs the evidence admitted when comparing concept titles. The authors set γ to 0.85 empirically for both greedy and Hungarian matching in this experiment. The representation uses 500 concepts, and the paper reports mean F1 and standard deviation over five runs.
ESA and Dense-ESA on ACE2005 event-bearing sentences by mean F1
Greedy matching has the highest mean F1, while average matching falls below ordinary ESA.
The numbers
| System or setting | Mean F1 |
|---|---|
| ESA cosine | 0.469 |
| Dense-ESA average | 0.451 |
| Dense-ESA greedy (this paper) | 0.481 |
| Dense-ESA Hungarian | 0.475 |
F1 combines precision and recall. In this setting those measures reflect how well the assigned event types agree with the labeled types, including both incorrect assignments and missed labels. The reported mean and standard deviation are 0.469±0.011 for ESA cosine, 0.451±0.010 for Dense-ESA average, 0.481±0.008 for Dense-ESA greedy, and 0.475±0.016 for Dense-ESA Hungarian.
The greedy and Hungarian variants raise mean F1 relative to ESA, while the average variant lowers it. The order of the selective variants also changes from the document-ranking experiment. Here the greedy score has the highest mean and the Hungarian score has the largest reported standard deviation. The results describe the behavior of the full sentence-to-label comparison and thresholding procedure. They apply to event type assignment in sentences selected for containing events.
What the ablations show
Concept overlap falls as the document is divided
The paper’s direct diagnostic for sparsity compares ESA representations of documents from rec.autos with the ESA representation of the label description cars. Both the document or fragment and the label description are represented by 500 concepts. The authors count how many concept identities are in both lists. This gives a measure of the opportunities for exact matching before any title-level similarities are introduced.
Exact ESA concept overlap with the cars label for rec.autos at different split counts
Shorter fragments share fewer retrieved concepts with the label even when the concept budget stays fixed.
The numbers
| System or setting | Mean shared concepts |
|---|---|
| Full document, 1 part (this paper) | 23.1 |
| Document split into 2 parts | 18.1 |
| Document split into 4 parts | 13.8 |
| Document split into 8 parts | 10.6 |
| Document split into 16 parts | 8.4 |
The average word counts in those conditions are 209.6, 104.8, 52.4, 26.2 and 13.1, respectively. The mean overlap begins at 23.1 shared concepts for full documents and reaches 8.4 for the fragments made by splitting the documents into 16 parts. Each representation keeps the same number of concepts. The diagnostic therefore holds the size of the retained lists fixed while changing how much original text there is to retrieve concepts from.
The count is an intersection measure. An overlapping entry counts the same whether its weight is large or small, and the count gives no credit when concept titles are related but refer to different entries. It establishes that there are fewer exact correspondences to draw on. The accuracy experiments address the further question of whether other correspondences can contribute evidence for a category decision.
This analysis is particularly informative for ESA because the expanded representations are already much larger than the fragment vocabulary. The retrieval step can supply many candidate concepts even when the fragment is very short. The falling intersection shows what that expansion buys and what still constrains cosine. A full list on both sides can coexist with few shared coordinates. The proposed title comparison addresses that remaining bottleneck directly.
Longer inputs and different concept budgets
The newsgroup classification figure varies the number of retrieved Wikipedia concepts and reports the outcomes separately for full documents and fragments. It does so for both the easier category contrast and the harder one. This separates the idea of providing more concepts from the idea of changing how concepts are compared. If the concept count is held at a given setting, ESA and Dense-ESA receive lists of the same size and use different scoring rules.
The authors report stronger improvements for the short fragments and the harder category distinction. The pattern fits the motivation for densification. A short fragment has fewer exact overlaps from which to build a decision. A difficult contrast makes each additional useful clue more consequential. The experiments vary these conditions across the selected tasks. They do not establish a universal input length or concept budget at which one comparison rule becomes preferable.
The two accuracy conditions also expose a feature of the label comparison. A concept that helps detect the broad subject of a passage can be of limited value when both labels fall within that subject. Dense-ESA has to make the relevant description stand out more clearly. Its usefulness in the closer newsgroup contrast is evidence about discrimination in that particular setup. A rise in raw pair similarity, on its own, would leave that question open.
Score differences show how the labels separate
The paper’s boxplots examine the difference between a document’s score against the first label and its score against the second. The first label is rec.autos in both comparisons. The authors calculate the margin for ordinary ESA and for greedy Dense-ESA, then group the margins by the known category of the document.
S(d) = S(d, l₁) − S(d, l₂)
The variable d is the document, and l₁ and l₂ are the two label descriptions. The notation S(d, l₁) and S(d, l₂) refers to the selected method’s pairwise score for the document and each description. The minus sign subtracts the second score from the first. The single-argument S(d) denotes the resulting margin. A positive margin favors the first label, and a negative margin favors the second.
The authors display the margin distributions for the documents in each true category, including outliers. They report that the distributions for the different labels differ under a t-test at 99%. The boxplots show the greedy Dense-ESA comparison pulling the label distributions farther apart, especially for rec.autos versus rec.motorcycles. For interpretation, the important distinction is between that observed separation and a test of the accuracy gain. The reported t-test is about the different label distributions.
The margin view helps distinguish two ways the score could change. If both descriptions receive more support to a similar extent, a document’s margin can remain nearly where it was. If the appropriate description benefits more, the margin can move towards the correct side of the decision boundary. The separation shown in the boxplots is consistent with the latter behavior across the document groups. The plot gives a view of the relative evidence, alongside the reported decisions.
The matching-rule comparisons
The paper compares complete scoring variants. The document benchmark favors the Hungarian variant, while the event experiment favors the greedy variant and shows a lower mean F1 for averaging than for exact ESA cosine. In the newsgroup comparisons the authors report that the selective variants generally do best. Taken together, the results support using title similarity in a selective way for classification, while showing that the effect of averaging depends on the task.
Several ingredients change across the configurations. The all-pairs score has count normalization and uses an RBF for title similarity. The selective variants use title cosine and a cutoff. Comparing the average with either selective rule therefore changes the admissible pairings and how their evidence is scored. The event result establishes that the tested average configuration performs worse than the ESA baseline. It gives limited leverage for isolating which part of that configuration caused the decline.
The closer comparison is between greedy and Hungarian matching. Both use title cosine, and in the newsgroup and event experiments they share the same γ. The change in how matches can be reused is then central to the contrast. The event result shows that imposing exclusivity does not yield the highest mean under that setup. In the document benchmark the variant with exclusivity has the highest correlation, and the cutoffs there also differ. The experiments give a practical comparison of the complete variants under their reported settings. They do not quantify how many repeated greedy matches were harmful or how frequently the Hungarian assignment repaired them.
Limitations
Qualifications the authors identify
The authors give a reason to be cautious about the broadest form of densification. All-pairs averaging can collect weak relationships between concepts that share little useful information. Their use of the RBF is intended to suppress weak title matches, but the rule still aggregates over all pairs. The event results illustrate the practical risk. The additional relationships admitted by the tested average score fail to improve mean F1 in that evaluation.
They also call attention to direction and reuse in greedy matching. The directed score can change when the texts switch roles. Averaging the two directions supplies a symmetric score, while allowing the same entry to be chosen several times within either direction. Hungarian matching addresses reuse by prescribing an exclusive assignment. That comes with a different constraint. Several related concepts on one side may have a legitimate relationship to the same concept on the other side, yet at most one can be paired with it. The two rules express different judgments about what counts as distinct evidence.
The authors describe the title-similarity thresholds in the classification experiments as empirically set, and report different values for the two selective variants on the short-document benchmark. The results concern the reported settings. The paper gives no threshold sweep showing how stable the ordering of variants is across alternative cutoffs. A cutoff changes which similarities can contribute even when the document, ESA weights and title vectors are identical.
What follows from the evaluation design
The newsgroup experiment covers selected contrasts with specific category descriptions. Its short inputs are produced by fragmenting full documents and inheriting their category. A fragment can legitimately contain little direct evidence for its parent’s label. This is a reasonable stress test for a method intended to help with limited context. The resulting accuracy measures performance on those inherited labels. Naturally brief texts whose labels are defined at the passage level are a different evaluation population.
The overlap diagnostic has a narrower scope than the classification experiment. It compares documents from the automobile group with cars and fixes the concept count at 500. It measures how exact overlap changes with text length in that setup. It gives no direct estimate of how large the overlap problem is for other domains or label descriptions. It also says little about cases in which a brief passage retrieves highly weighted shared concepts despite having a small intersection. The scores use the weights, while the diagnostic counts concept identities.
The label descriptions are an important source of the classification evidence. The paper uses existing descriptions in the newsgroup experiment and compares sentences against event descriptions in ACE2005. Changing a description could change which concepts are retrieved, the ESA weights on those concepts and the range of available title matches. The experiments do not vary descriptions to measure how sensitive Dense-ESA is to that choice. The observed gains belong to the tested descriptions and scoring procedures.
The event evaluation has a specific meaning of low training requirements. Computing ESA representations and learning word2vec vectors on Wikipedia do not require labeled event sentences. The final stage uses cross-validation to select class-specific decision thresholds, which introduces labeled information into the decision procedure. It is useful to distinguish the unsupervised construction of title-based similarity from the calibration of event predictions. Because the evaluation selects sentences with events, it also leaves open how the procedure would behave on a general sentence stream containing inputs with no event.
The numbers given for the event data leave part of the label-count distribution unspecified. The listed sentence counts support the description of a multilabel task, and the reported total is larger than that breakdown accounts for. The paper also gives mean F1 and standard deviations without spelling out every aggregation detail or reporting a significance test for the F1 changes. The score margins in the newsgroup experiment have their own distributional test. That test supplies no uncertainty measure for the event F1 comparisons or for the rank correlations.
The similarity benchmark uses the averaged human annotations for each document pair as a reference. This makes it possible to assess ranking agreement with a common target. It leaves the role of disagreement among annotators outside the reported analysis. The paper likewise gives a rank correlation instead of asking whether the raw scores are calibrated to something humans would interpret as an absolute degree of similarity. The evidence supports better agreement with a particular ranking target on that benchmark.
What a title can tell the comparison
A title vector is an economical way to establish a relationship between encyclopedia entries. It captures contextual evidence for the words in the title. The construction averages the word vectors for a phrase, so different word orders built from the same vectors receive the same title representation. It also supplies the same title vector whenever the concept appears in an ESA list. The text-specific step is the retrieval and weighting of the concept. Once the concept is selected, its title provides a fixed basis for matching.
Consequently, the method can improve the comparison when titles reflect relationships the task values, and can introduce unhelpful evidence when a title has a similar context for a different reason. The experiments evaluate the overall scores. They do not label concept pairs individually as correct or incorrect alignments. The method’s gains show that the added connections were useful in aggregate under several test conditions. They give limited evidence about which classes of title relationships caused the improvements.
The paper specifies the Wikipedia source, the training approach, the window setting and the vector dimensionality. It gives less detail about how the system handles a title word with an unavailable vector, exact tie breaking in greedy selection, or the full selection procedure for similarity cutoffs. Its Hungarian equation specifies the weighted score for an assignment, with less detail about the assignment implementation than about the final scoring formula. These omissions constrain exact reconstruction of the experimental runs.
The evaluations also focus on effectiveness. They give no runtime or memory comparisons across the matching variants. Evaluating possible title pairs and finding a joint assignment impose different kinds of work from finding the intersection of sparse concept indices. The paper’s results support the value of the added comparisons for the reported tasks. They leave the cost of those comparisons and the tradeoff at other representation sizes unmeasured.
What came after
The later research record for this paper is unspecified. Its adoption, modification or evaluation by subsequent studies therefore remains open. The paper itself establishes the immediate comparison between exact ESA overlap and weighted alignment of related Wikipedia concepts, including cases where selective matching improves the decision and a case where averaging weakens it.
Cite
Cite as Yangqiu Song and Dan Roth. 2015. Unsupervised Sparse Vector Densification for Short Text Similarity. Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
@inproceedings{song2015unsupervised,
title = {{Unsupervised Sparse Vector Densification for Short Text Similarity}},
author = {Yangqiu Song and Dan Roth},
booktitle = {Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
year = {2015},
doi = {10.3115/v1/n15-1138},
url = {https://doi.org/10.3115/v1/n15-1138}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/song-2015-unsupervised-sparse-vector-densification-short/