Automatic Labelling of Topics with Neural Embeddings
Paper · 2016 · Shraey Bhatia, Jey Han Lau and Timothy Baldwin
Summary
A list containing student, teacher, university, and college gives a reader clues about a subject that the single word education can convey immediately. That difference matters when someone has to make sense of many topics discovered in a collection of documents. The paper treats naming as a separate problem from discovering the topics. Its input is a topic’s highest-probability words, and its output is a short label drawn from Wikipedia. The aim is to make the results of topic modeling easier to read while preserving the subject those words collectively suggest.
The authors first search for promising titles using learned numerical representations. One representation describes a title through the contents of its Wikipedia article. The other learns from the words that surround occurrences of the title phrase in Wikipedia text. Each representation gets its own relevance score, based on how close the title is to the individual topic words. Combining the scores brings together candidates that can differ in specificity. The authors then reorder a shortlist using character overlap, overlap in whole words, label length, and the importance of the corresponding article in Wikipedia’s hyperlink graph. Character overlap also gives them a way to order the candidates without collecting training judgments.
Human ratings across BLOGS, BOOKS, NEWS, and PUBMED show the clearest improvements over Lau and colleagues’ earlier system for BOOKS and PUBMED. With supervised training and testing within PUBMED, the new system’s first-choice labels averaged 1.99 on the 0–3 rating scale, compared with 1.79 for the earlier system. The in-domain NEWS result went the other way on a measure that credits a first choice relative to the best available candidate. The broader comparison therefore depends on whether the reader cares about the absolute quality of the displayed label or how effectively the system orders the options it found.
The paper examines those two stages separately. The candidates from the new approach generally received higher ratings, and its ranking features also performed better when both systems had to order the same candidates. Feature removal showed different patterns across domains. Wikipedia link importance mattered most clearly for BLOGS, while character overlap was especially helpful for PUBMED. A reranker trained on other domains often performed close to one trained on the target domain, giving the authors a way to test deployment without judgments from the collection being labeled.
Deep dive: Automatic Labelling of Topics with Neural Embeddings
How neural embeddings turn lists of topic words into short Wikipedia labels, and what human ratings reveal about the resulting choices. · about 39 minutes to read
The problem and its context
Turning a distribution into something a reader can scan
A collection of documents may contain recurring subjects that are difficult to see by opening files one at a time. Topic modeling represents these patterns through distributions over words. Each discovered topic assigns probabilities to terms in the collection, and each document has a distribution describing how strongly it is associated with the different topics. The paper identifies Latent Dirichlet Allocation and its extensions as established ways to obtain these outputs.
The two distributions serve different purposes. A document’s distribution tells a reader which topics are prominent in that document. A topic’s distribution supplies the words from which the reader can infer what the topic is about. The labeling task starts from the latter. It asks for a compact description of a topic that may recur across many documents. A label can then help a reader recognize the same theme wherever it appears in the collection.
A conventional display shows the 10 words with the highest probabilities for a topic. The probabilities give a principled way to choose which words deserve space. The list still leaves the reader to decide what connects them and how broadly to describe that connection. In the paper’s education example, class, program, and high can each suggest several things by themselves. Alongside words such as university and teacher, they become easier to interpret. The label education states the interpretation that a reader would otherwise have to assemble from the list.
A similar issue arises when a topic contains evidence at several levels of specificity. Terms might point to a general activity, the organizations that conduct it, or particular tools used to carry it out. Those clues can support more than one plausible name. A broad label risks losing the detail that distinguishes the topic from its neighbors. A highly specific label can pick out a single part of the theme and make it sound as if that part accounts for the entire topic. The paper’s task is to choose a workable description in the presence of that ambiguity.
The applications cited by the authors help explain why this is worth doing. A researcher studying the development of a field can use topics to follow changing interests across publications. Topics can also provide a way to navigate search results, assist people labeling documents, or reveal emerging subjects in streams of text. These applications ask readers to move among several topics and form judgments about them. The study of changing research interests is represented by Studying the History of Ideas.
Textual labels were already one of several ways to reduce this reading burden. Earlier work discussed in the paper also considered visual presentations of topic words and the use of images. The authors cite a timed information retrieval study in which people found automatically produced textual labels easier to interpret than word lists and reached relevance judgments of equivalent quality. That earlier result motivates using a short phrase as the display. The present paper asks how to improve the phrase that appears there.
Where earlier methods found their labels
The paper traces automatic labeling for probabilistic topics to Mei and colleagues. Their approach searches the same collection from which the topics were discovered. It first finds pairs of words that occur together strongly enough to count as meaningful candidates. It then orders those candidates using Kullback–Leibler divergence, a measure of how one probability distribution differs from another. The procedure requires no human ratings for training. Its candidates come from the language of the collection itself, so the choice of label begins with the phrases that the collection contains.
Lau and colleagues moved the search for labels to English Wikipedia. They queried Wikipedia’s own search interface and Google with the page search restricted to Wikipedia. In both cases the query consisted of the topic’s highest-ranked words. The top-8 titles from each source were pooled as initial candidates. The process then looked inside those titles for shorter sequences of words that could also serve as labels. Wikipedia categories supplied evidence for filtering out secondary candidates that were insufficiently related to the initial titles.
That earlier system separated finding candidates from ranking them. Once it had gathered the titles and shorter phrases, it used measures of lexical association to score them. It could use those measures directly or fit a support vector regression system, which learns to predict a numerical target from features. The earlier study compared its method with Mei and colleagues’ approach and reported stronger performance with and without supervision. Bhatia and colleagues adopt the distinction between finding candidates and ranking them, and use the Lau system as the main comparison for both stages.
Wikipedia makes sense as a place to look because an article title already gives a short name to something substantial enough to have an article. A title can supply a concept absent from the visible topic words. It can also use the same words in a phrase that makes their relationship clearer. The search procedure matters because Wikipedia offers names at many levels of detail. A topic can be close to a general concept, an individual product, and a family of related techniques at the same time. Searching Wikipedia can give the labeler access to all of those possibilities, with the ranking left to decide which fits best.
The practical difficulty with the Lau approach was its reliance on external search services. The paper reports that one of the search interfaces was no longer publicly available. The new method keeps Wikipedia as the source of candidate names and derives the search scores from representations trained on Wikipedia text. The article corpus can be processed before a topic arrives. When a new topic is supplied, its words can be compared with those stored representations.
Graphs, keyphrases, and learned representations
Other approaches in the paper use relationships between concepts more explicitly. Hulpus and colleagues begin with DBpedia concepts related to the topic words. They construct a graph around these concepts and use connectivity to filter away material that is poorly integrated with the rest. The premise is that the relevant senses of words from the same topic should connect to one another. The candidate label is then selected using measures of centrality within the graph. This approach addresses a problem familiar from word-sense disambiguation. A word can point to several concepts, and its neighbors in a topic provide evidence for deciding which concept belongs.
The authors also discuss Zhao and colleagues’ work on extracting topical keyphrases from Twitter. That procedure first ranks keywords, then uses them to propose phrases, and finally ranks those phrases. Its keyword stage adapts PageRank to take the topic into account. At the phrase stage, the scoring considers relevance, length, and an estimate of interestingness. The paper treats this as a related way of solving part of the same problem. It shows how a collection’s own text can furnish short expressions of a theme.
Kou and colleagues supply the immediate precedent for bringing learned word representations into topic labeling. They extracted potential labels with a chunk parser, which identifies short grammatical units in text associated with a topic. Their ranking compared candidates with topic words using learned representations and features based on letter trigrams, which are overlapping sequences of three characters. In their tests, the letter trigrams were the most reliable ranking signal. Bhatia and colleagues retain that kind of character evidence for ordering candidates, drawing the candidates themselves from Wikipedia titles.
Underlying the new approach are word embeddings, numerical vectors learned from patterns of word use. A vector provides coordinates for comparing a word with other items represented in the same space. The paper draws on word2vec for words and title phrases and on doc2vec for whole articles. This gives it two ways to judge whether the idea named by a title belongs near a set of topic words. Those judgments furnish the candidates that the subsequent ranking stage can inspect more closely.
The method, step by step
What goes in and what comes out
The system starts with a topic and a prepared Wikipedia collection. In the experiments, the topic is represented by its 10 highest-probability words. The Wikipedia collection supplies possible names and the text from which the authors learn their representations. The task is to put suitable names at the top of an ordered list. For a reader shown a single name, the first position is what matters. For the system that produces it, a strong first choice depends on finding a good candidate and then recognizing it among the other possibilities.
The original topic probabilities help explain this division of labor. The distribution from which the topic words are selected can be written as follows.
Pr(wⱼ ∣ tᵢ)
Pr denotes probability. wⱼ is the vocabulary term indexed by j, and tᵢ is the topic indexed by i. The vertical bar means that the probability on its left is taken conditional on the topic on its right. Ordering the terms by this probability gives the input list used for labeling.
The corresponding distribution for a document takes the following form.
Pr(tᵢ ∣ dₖ)
Pr again denotes probability, tᵢ is the topic indexed by i, and dₖ is the document indexed by k. The bar now conditions the probability of the topic on a particular document. This distribution expresses the connection between documents and topics. The labeler works on the words from the preceding distribution, so a name assigned to a topic can apply wherever that topic occurs.
From topic words to ranked Wikipedia labels
The steps in order.
Preparing Wikipedia and defining a candidate
The authors use the English Wikipedia dump dated 2015-12-01. They extract and clean articles with Wiki Extractor, then split the text into words with Stanford CoreNLP and convert the words to lower-case. Splitting the text into units for processing is tokenization. It matters at this stage because the two representations use the same article collection while assigning different meanings to a unit associated with a title. The paper cites Accurate Unlexicalized Parsing for the Stanford software.
The authors exclude disambiguation pages and articles whose bodies contain fewer than 40 words. The body length gate ensures that the article-based representation has some text from which to learn. The title length gate serves the labeling task directly. Titles longer than 4 words are removed because the authors find that such titles can be excessively specific or otherwise unsuitable as compact topic descriptions. A Wikipedia title may work well as the heading for a detailed entry while conveying the wrong scope when placed above an entire topic.
The phrase-based route also strips parenthetical material from titles. For instance, Democratic Party (United States) becomes Democratic Party. The shorter phrase is the form the authors expect to encounter verbatim in running text. This preprocessing trades some precision about the referenced article for a phrase whose use is easier to observe. Several articles can share the same shortened form even though their subjects are distinct. Running text can then supply a single broadly applicable phrase representation to titles that each have their own article representation.
The authors consider the shorter form a broader candidate that can still be appropriate. Their example also shows why the treatment of titles is part of the method, rather than clerical preparation. If the shortened title is a strong match to the topic, several specific articles can inherit that evidence. If the qualifier is useful to a reader, removing it from the phrase representation leaves the contextual evidence less able to distinguish among those articles. The combination procedure has to work with precisely this asymmetry.
These choices define the space the ranker can operate in. The initial titles are names of eligible Wikipedia articles. A candidate’s words may coincide with part of the topic list, but that coincidence is a property to measure later. The idea of candidate generation is to bring possible descriptions into consideration even if the topic’s highest-probability words fail to express them as a ready-made phrase.
Representing titles through their articles
In the doc2vec route, each title takes its vector from the text of its corresponding Wikipedia article. An article about a particular technical subject may use many of the terms that also characterize a topic. Those words can help place its vector near the topic words, even if the title itself would give little evidence of the connection when examined as a string.
The authors train the distributed bag-of-words variant, called dbow. During training, a document vector is used to predict words found in its document. In this application, the document is a Wikipedia article. Through that prediction task, the vector comes to represent information useful for anticipating the article’s vocabulary. Doc2vec training also produces word vectors, which the candidate generator uses for the individual topic terms. An article and a topic word can therefore be compared within the representation learned by this route.
The paper describes another doc2vec variant, dmpv, for context. It predicts a document word using both the document vector and surrounding words from a small window. The input includes the word vectors and document vector joined together, which lets it take local word order into account and adds parameters. The authors choose dbow based on a prior evaluation in which it had fewer parameters, trained faster, and performed better on several downstream tasks. Their experiment uses dbow for the article representations throughout.
The authors use Gensim’s doc2vec implementation. For this training run, they report a vector size of 300, a window size of 15, a negative sample size of 5, a sub-sampling threshold of 10⁻⁵, and 20 training epochs. Vector size is the number of coordinates in a representation. The window setting governs the span used in context processing, and negative sampling supplies alternatives to observed items during training. Sub-sampling limits the influence of very frequent items, and each epoch is a pass through the training data. These settings describe how the Wikipedia representations are learned before the authors score the experimental topics.
Representing titles through their use in running text
The word2vec route learns a vector for the title phrase itself. To make this possible, the authors treat an expression such as financial crisis as a single token when it occurs in the article text. They tokenize the Wikipedia collection greedily with the title phrases available as units. The result allows the training procedure to encounter a recurring title phrase much as it encounters a recurring single word.
The paper uses the skip-gram variant of word2vec. Skip-gram uses an item to predict nearby items. When the item is a title token, the neighboring words offer evidence about where and how that phrase is used. The paper also describes the continuous bag-of-words variant, cbow, which combines surrounding word vectors to help predict the word in the middle. For the phrase-based title representations, the authors use skip-gram throughout.
A title token’s vector learns from surrounding words wherever the phrase occurs in the processed text. Its internal words have already been grouped into a unit for this purpose. The phrase financial crisis consequently receives a representation tied to contexts in which the phrase occurs as a whole. The article-based representation, by comparison, depends on the content of the particular entry associated with the title. These sources of evidence can give distinct relevance scores even when they refer to the same displayed label.
The word2vec training also uses Gensim. The paper gives a vector size of 300, a window size of 5, a negative sample size of 5, a sub-sampling threshold of 10⁻⁵, and 100 training epochs. The vector size and sampling settings match those reported for doc2vec. The context window and number of passes differ. The resulting word2vec topic-word vectors are used with word2vec title vectors. Likewise, topic-word vectors from the doc2vec training are used with the article vectors from that training. Each comparison is made within its own learned space.
Scoring a title against the topic words
To see whether a title fits a topic, the authors compare it separately with each selected topic word. They use cosine similarity, which measures how closely two vectors point in the same direction. This is a way to turn their learned coordinates into a score for semantic similarity. A candidate associated with many of the topic words can score well across the comparisons. A candidate strongly associated with a narrow part of the topic has to contend with the scores from the remaining words.
The score is an arithmetic mean of the individual similarities. The authors present the doc2vec relevance calculation as follows.
rel_d2v(a, T) = (1/|T|) Σᵥ∈T cos(Eᵈ_d2v(a), Eʷ_d2v(v))
rel_d2v is the relevance score from the doc2vec route. a is the Wikipedia title being considered, T is the set of selected topic terms, and v is an individual term in T. The notation |T| gives the number of terms, which is 10 in the main experiments. The summation Σᵥ∈T visits each term in that set, and the multiplier 1/|T| turns the sum into a mean. Eᵈ_d2v(a) is the document vector for the article named by a, while Eʷ_d2v(v) is the word vector for v learned in the same training. The superscripts d and w distinguish document vectors from word vectors. cos computes the cosine similarity between its two vector arguments.
The word2vec calculation keeps the averaging procedure and changes where the vectors come from.
rel_w2v(a, T) = (1/|T|) Σᵥ∈T cos(Eʷ_w2v(a), Eʷ_w2v(v))
rel_w2v is the relevance score from the word2vec route. a is the candidate title, T is the set of selected topic terms, and v is a term in that set. |T| is the number of terms. The summation Σᵥ∈T adds the similarities over those terms, and 1/|T| divides the sum by the number of comparisons. Eʷ_w2v(a) is the vector for the title treated as a token, and Eʷ_w2v(v) is the vector for the topic word. Both use the superscript w because both are token representations from word2vec. cos is again cosine similarity.
In these equations the topic probabilities have already done their work by determining which words enter the list. The average gives the selected words equal influence. A word with the highest probability and a word near the bottom of the selected list each contribute a similarity score with the same weight. The paper also tries weighting terms by their probabilities, which makes it possible to assess whether extra emphasis on the highest-probability words improves the outcome.
Bringing the candidate lists together
The authors illustrate the difference between the representations with a topic containing VMware, Oracle, and words about servers and virtualization. Among the candidates from word2vec are software, operating system, and middleware. Candidates from doc2vec include desktop virtualization, cloud computing, and Microsoft Visual Studio. The phrase-based representation offers several general names in this example. The article-based representation reaches more specific technologies and named products.
The example helps explain what each comparison can contribute. The vocabulary of a Wikipedia article about a named product may match several words in the topic, even when few occurrences of the product’s full name are needed for that connection. A familiar general phrase can earn a strong phrase score because it occurs in a wide range of relevant contexts. Either kind of candidate can be useful. The choice between them depends on whether the topic calls for a general heading or a more specific description.
The combined ranking draws from the top-100 candidates of each route. The relevance score is defined as a sum.
rel_d2v+w2v(a, T) = rel_d2v(a, T) + rel_w2v(a, T)
rel_d2v+w2v denotes combined relevance for title a and topic T. rel_d2v(a, T) is the average similarity score based on the article representation, and rel_w2v(a, T) is the average similarity score based on the title token. The plus sign adds those contributions. The equation gives the two scores the same role in the combination.
In preliminary experiments, restricting the combination to the high-ranked candidates from each route worked better than combining scores across all candidates. The authors connect this to the shortened title phrases. When Democratic Party receives a high phrase score, it can raise the score of entries about parties in several countries at once. A candidate list crowded with such variations gives the next stage fewer distinct interpretations to choose among. The shortlist restriction is part of the practical procedure the authors adopted after observing this behavior.
Ordering the candidates
The next stage looks at properties of each candidate that differ from its embedding relevance. The paper’s first ranking feature, LetterTrigram, uses sequences of three adjacent characters. The authors count these sequences for a candidate label and for the topic words. Each topic word is handled as a separate string when extracting the sequences. This prevents the end of one topic word and the beginning of the next from forming a sequence merely because the words happen to sit next to each other in the input list.
The counts are converted into distributions by maximum likelihood estimation. In this case, the estimate for a letter trigram reflects its share of the observed counts in the corresponding representation. The authors compare the candidate’s distribution with the topic’s distribution using cosine similarity. This gives credit to shared portions of words and can therefore pick up relationships between forms that differ at one end. It can also reward matching character sequences in phrases containing a topic word.
For supervised ranking, LetterTrigram is the candidate’s position in the ordering produced by that comparison. The ordering itself is also the system’s unsupervised ranking. It provides a full way to sort the generated candidates using only the topic words and the candidate strings. The human judgments used in the paper cover the top-19 candidates from that ordering, so the supervised stage is evaluated on its ability to rearrange that shortlist.
The second feature uses article importance according to PageRank. The authors build a directed graph from hyperlinks inside Wikipedia articles. An article is a node, and a link from one article to another supplies a path in the indicated direction. PageRank gives each article a score based on the chance that a hypothetical visitor reaches it by following links or jumping to another page. Ranking features can then make use of how prominent the candidate’s article is in Wikipedia as a whole. The feature is computed from the article graph before it is used to help with any particular topic.
The remaining features measure properties of the label string as a sequence of words. NumWords counts the words in the candidate. For example, operating system has 2. TopicOverlap counts lexical overlap with the top-10 topic terms. In the virtualization example, desktop virtualization has a TopicOverlap of 1. Character overlap and whole-word overlap can carry different information. A candidate may share part of a word with the topic while having little exact overlap, and a phrase containing an exact topic word can differ substantially depending on its added words.
For each annotated topic, the authors average the human ratings of each candidate and use those averages to establish the desired ordering. They fit a support vector regression reranker using LetterTrigram, PageRank, NumWords, and TopicOverlap. Its supervision concerns which shortlisted candidates people preferred. The Wikipedia training concerns how to represent words, titles, and articles before any of those preferences are known. The paper calls the full approach NETL, for neural embedding topic labelling, and reports releasing an open-source implementation and a new dataset for evaluating label ranking.
Experiments and results
The collections and topics being labeled
The paper uses the topics from Lau and colleagues’ earlier benchmark to make the comparisons interpretable. Lau and colleagues applied Latent Dirichlet Allocation to each collection and initially produced 100 topics per domain. The final benchmark keeps topics that passed an automated screening for coherence, which asks whether the terms of a topic fit together well enough to support a recognizable interpretation. The screening follows Automatic Evaluation of Topic Coherence.
BLOGS comes from the Spinn3r collection of 120k blog articles. It supplies 45 topics after the coherence screen. BOOKS draws on 1k books from the American Libraries collection of the Internet Archive, with 38 topics retained. NEWS uses 29k articles from The New York Times in English Gigaword and has 60 retained topics. PUBMED comes from 77k biomedical abstracts and has 85 topics in the benchmark. The collection sizes describe the documents used to discover the topics. The retained topic counts describe the units on which the labels are evaluated.
The collections differ in breadth and vocabulary. The authors describe BLOGS, BOOKS, and NEWS as spanning subjects such as religion, finance, consumer reviews, and entertainment. PUBMED consists of biomedical writing. A method using English Wikipedia consequently faces different relationships between its store of possible labels and the text that produced each topic. The cross-domain tests make use of those differences by training the reranker on judgments from one collection or group of collections and applying it to another.
The displayed examples put this variation into concrete terms. In BLOGS, terms about servers and virtual infrastructure receive the label virtualisation. The BOOKS example brings together words such as gothic, nave, and archway under church architecture. In NEWS, a topic featuring words about investigators, agents, and evidence is labeled criminal investigation. The PUBMED example includes mortality, prevalence, and incidence and receives mortality rate. Some labels include a word already visible in the topic, while others make the connection clearer by introducing a new word.
How people judged the candidates
The authors use CrowdFlower to obtain linguistic annotation in the form of ratings for topic–label pairs. A worker sees the topic and a proposed label and judges how appropriate the label is. The rating scale runs from 0–3. A 0 stands for a completely unsuitable candidate, and a 3 stands for a very good one. This setup lets several different labels for a topic receive favorable ratings if they express the theme in ways the judges find appropriate.
A task presents 10 pairs for rating and also contains a control pair. To create the controls, the authors use judgments released with the earlier benchmark. Candidates with prior mean ratings of at least 2.5 serve as good controls, and those with means of at most 0.5 serve as bad controls. The controls are randomly selected without replacement and placed at random within tasks. This makes the position of a control unavailable as a cue while a worker is rating the pairs.
On a bad control, a rating of 1.0 or lower passes. On a good control, a rating of 2.0 or higher passes. The authors discard a worker’s judgments when the worker’s proportion of passed controls is below 0.75. Each candidate was assigned to 10 workers for rating, and the reported average after filtering was 6.4 annotations per candidate. Candidates left with fewer than 3 annotations were posted again to gather additional judgments.
The mean rating of a candidate serves two roles. It gives an absolute score for the label, and it determines where that label sits in the human-derived ordering of the options for its topic. The researchers can compare the automatic ordering with this human one even when the judges gave useful scores to several labels. Since the annotation covers the top-19 candidates from NETL’s unsupervised ranking, the measured ordering and its ideal counterpart both depend on the candidates included in that pool.
What the measures reward
The paper measures the quality of the label shown first through Top-1 Avg., the mean human rating of the first-ranked labels across the topics evaluated. This measure retains the original rating scale. A score near 2.00 is directly a statement about how the displayed labels were judged. The measure fits a display that has room for one label per topic, because a good alternative lower in the list has no effect on what the reader sees there.
The paper also uses normalized discounted cumulative gain, written nDCG. It compares an automatic ranking with the ordering based on human ratings, giving greater importance to highly placed candidates. Normalization calibrates the result against the ideal ordering available for that topic. The paper reports nDCG-1, nDCG-3, and nDCG-5 to evaluate the first position and the first few positions. These cutoffs let the reader see whether a result is specific to the single label at the top or extends to a short list of alternatives.
An absolute rating and a normalized ranking score can move differently. The available candidate set may contain a particularly good label. If the system places another plausible label first, its absolute rating can still be respectable, while the normalized score registers the missed opportunity. Conversely, a system can do very well at recognizing the best item in a less promising pool. The paper’s comparisons therefore use both measures, along with the rating that would be achievable by putting the judged candidates in their ideal order.
The experimental table gives an upper bound for each system’s candidate pool. On Top-1 Avg., this is the average rating obtained by always putting the highest-rated available candidate first. For the reported nDCG cutoffs, the ideal ordering produces 1.00. The upper bound uses human ratings to choose the ordering, so it serves as a diagnostic of the available candidates. The automatic systems in the other rows receive credit only for the orderings their procedures produce.
Baselines, supervision, and transfer
NETL’s baseline ranks by letter-trigram similarity. The earlier system, called LGNB in the paper, uses Pearson’s chi-squared association measure for its unsupervised baseline. This difference is important when comparing baseline rows. Each system is applying its own unsupervised ranking method to its own candidates. Bhatia and colleagues take the principal LGNB results directly from the earlier study. They also run a separate comparison that gives the ranking approaches the same NETL candidates.
In the in-domain experiments, the training judgments and evaluation topics come from the same domain. The paper uses 10-fold cross-validation, with results averaged over 10 runs that use different partitions. Each fold allows evaluation on a held-out part of the domain while other parts supply training judgments. Repeating the partitioning reduces dependence on a particular grouping of topics. For BOOKS, for instance, the arrangement measures how well ranking preferences learned from BOOKS topics apply to other topics in that collection.
Cross-domain experiments use judgments from a different collection. Each possible single training domain is evaluated against the corresponding held-out domain. The authors also train a reranker on the other domains together and evaluate on the remaining one. For a BLOGS test, this pooled training setting combines BOOKS, NEWS, and PUBMED. The authors regard cross-domain training as closer to a likely application, where a new collection can supply topics while its candidate labels have yet to receive human ratings.
How good was the first label?
The first-label ratings show the clearest separation in PUBMED and BOOKS. For unsupervised PUBMED, NETL’s Top-1 Avg. is 1.94 and LGNB’s is 1.73. With in-domain supervision, the respective values are 1.99 and 1.79. The paper notes that the earlier authors had attributed difficulty on PUBMED to the specialized domain and the fit with Wikipedia. NETL’s PUBMED ratings are comparable to its scores in the other test domains, giving a different picture of how much difficulty this collection poses for a Wikipedia-based method.
On BOOKS, the NETL unsupervised first label averages 1.97, compared with 1.75 for LGNB. The in-domain rerankers yield 1.99 for NETL and 1.91 for LGNB. Much of the visible improvement is already present in the comparison of unsupervised pipelines. That comparison includes both the candidate generator and the ordering signal, so the baseline scores alone leave their individual contributions open. The controlled ranking experiment addresses that question separately.
First-label ratings on the PUBMED benchmark
NETL receives higher first-label ratings in the unsupervised and in-domain settings.
The numbers
| System or setting | Top-1 average rating |
|---|---|
| LGNB unsupervised | 1.73 |
| NETL unsupervised (this paper) | 1.94 |
| LGNB in-domain | 1.79 |
| NETL in-domain | 1.99 |
BLOGS and NEWS show smaller separations. On BLOGS, the unsupervised first-label averages are 1.91 for NETL and 1.84 for LGNB. The in-domain averages are 2.00 and 1.98 respectively. On NEWS, NETL’s unsupervised baseline reaches 2.04 and LGNB’s reaches 1.96. Both in-domain rerankers score 2.02. This also gives NEWS a distinctive within-system result. The supervised version of NETL has a slightly lower first-label average than its own unsupervised version in that domain.
These results give different practical meanings to supervision across the collections. For BLOGS, it raises the first-label rating relative to the letter-trigram order. For BOOKS and PUBMED, it adds to a baseline that already performs strongly in the system comparison. For NEWS, the letter-trigram order yields the highest NETL first-label rating among the baseline and in-domain settings. On that set of topics, learning from the human ordering with the chosen features offers more favorable results at some evaluation cutoffs than at the single-label display decision.
How well were the lists ordered?
For nDCG-1, NETL’s clearest advantage appears in PUBMED. Its unsupervised score is 0.79 compared with 0.75 for LGNB, and the in-domain scores are 0.81 for NETL and 0.77 for LGNB. BOOKS illustrates how the normalized and absolute measures can differ. With in-domain supervision, NETL’s first-label rating is higher, while its nDCG-1 is 0.82 and LGNB’s is 0.84. NETL’s pool in BOOKS also has a higher attainable first-label average, which gives context to the stronger absolute score alongside the lower normalized result.
On NEWS, NETL has nDCG-1 of 0.82 without supervision and 0.80 with in-domain supervision. LGNB has 0.80 and 0.82 in those settings respectively. The in-domain NETL and LGNB first labels both average 2.02, yet the normalized first-position measure favors LGNB. That can happen because the human ratings of the best available candidates enter the normalized measure. NETL’s candidate pool gives it a higher ceiling in this domain.
At the longer cutoffs, the authors describe the overall performance of the two methods as close. Some settings still show differences worth specifying. In-domain NETL achieves 0.85 on BLOGS nDCG-3, and LGNB achieves 0.82. In NEWS the in-domain nDCG-5 values are 0.85 for NETL and 0.84 for LGNB. On PUBMED, the in-domain NETL scores at nDCG-3 and nDCG-5 are 0.81 and 0.82. The corresponding LGNB values are 0.82 and 0.84. A system comparison based on the first displayed label can thus differ from one concerned with a list of alternatives.
What happened with training from other domains?
Training on all the other domains gives NETL a Top-1 Avg. of 1.92 for BLOGS, 2.03 for BOOKS, 1.99 for NEWS, and 2.01 for PUBMED. The in-domain scores are 2.00, 1.99, 2.02, and 1.99 respectively. The pooled cross-domain approach therefore has different outcomes on different targets. It gives the highest reported NETL supervised first-label average for BOOKS and PUBMED, while the in-domain setting retains the higher score for BLOGS and NEWS.
The individual training domains show why the paper treats the pooled results as useful evidence about transfer. With BOOKS as the target, NETL reaches a first-label average of 2.02 when trained on BLOGS, 1.99 when trained on NEWS, and 1.97 when trained on PUBMED. The pooled setting reaches 2.03. With PUBMED as the target, each individual source gives 1.98, and the pooled setting gives 2.01. These rows describe experiments that change the source of the supervision while keeping the target domain fixed.
BLOGS gives a different pattern. Training on BOOKS yields 1.91, training on NEWS yields 1.92, and training on PUBMED yields 1.90. The pooled setting gives 1.92, close to these values. NEWS also shows why a statement about transfer needs to name the metric. Training on BLOGS yields a NEWS Top-1 Avg. of 2.03 and nDCG-1 of 0.81, both higher than NETL’s NEWS in-domain values of 2.02 and 0.80. The pooled training scores for NEWS are 1.99 and 0.79 on those measures.
On normalized measures, the pooled cross-domain NETL scores are often near the in-domain ones. Its BOOKS nDCG-3 is 0.83 with pooled training and 0.82 with in-domain training. For PUBMED, pooled training and in-domain training both yield 0.81 on nDCG-1 and 0.82 on nDCG-5. The authors conclude that the gap between in-domain and cross-domain performance is generally small for NETL. The individual cases show the extent of that stability and which targets benefit most from access to judgments pooled across collections.
The ceiling set by the candidate pool
The upper-bound first-label ratings are higher for NETL in every domain. In BLOGS, the values are 2.48 for NETL and 2.45 for LGNB. In BOOKS, they are 2.49 and 2.29. For NEWS, they are 2.56 and 2.45, and for PUBMED they are 2.51 and 2.31. Each pair compares ideal selection within the candidates produced by the corresponding system. The values show that the candidates available to the two rankers differ in quality before the rankers make any choice.
Upper-bound first-label ratings on BOOKS and PUBMED
The best judged candidates give NETL a higher attainable rating in both collections.
The numbers
| System or setting | Top-1 average rating |
|---|---|
| BOOKS LGNB candidate pool | 2.29 |
| BOOKS NETL candidate pool (this paper) | 2.49 |
| PUBMED LGNB candidate pool | 2.31 |
| PUBMED NETL candidate pool | 2.51 |
The gap between the ideal and automatic choices also shows what remains difficult. On BOOKS, a pooled training set produces NETL’s best supervised first-label average of 2.03, while perfect selection within its candidates would give 2.49. On PUBMED those values are 2.01 and 2.51. The benchmark supplies cases where the generator has made a good label available and the ranking process still has room to recognize it more consistently. The paper’s next comparisons examine how much evidence there is for stronger generation and stronger ranking separately.
What the ablations show
Comparing candidate quality before final ranking
The end-to-end comparisons combine several design choices. The methods search for labels differently, use different evidence to order them, and can finish with pools that contain different names. The paper first examines the human judgments on the candidates themselves. For each topic and system, the authors record the mean rating, the maximum rating, and the minimum rating. They compare distributions of these topic-level summaries within each domain.
The maximum measures the quality of the strongest available option. The mean describes the pool as a whole, which matters when the reranker is likely to consider several plausible choices. The minimum indicates how poor the least suitable judged option can be. Looking at the three statistics together helps distinguish a method that finds an occasional excellent name from one that also tends to surround that name with reasonable alternatives.
NETL generally produces higher values on all three summaries. The authors observe this even though the LGNB candidate pools average 25 labels and the NETL evaluation covers 19. They test the topic-level differences using one-sided paired t-tests, with each comparison pairing the summaries for the same topics. At the paper’s threshold of p < 0.05, the maximum rating in BLOGS is the sole comparison that fails to reach significance. In that domain, the evidence from mean and minimum ratings supports stronger overall candidates even though the comparison of the best available candidates is less decisive.
The result applies to the candidates the paper can compare. In particular, the NETL candidates have gone through the unsupervised ordering that supplies the top-19 shortlist for judgment. Within that set, the higher mean and minimum ratings matter independently of the maximum. The approach can help by making the usual options stronger, by supplying a better best option, and by leaving fewer poor options near the point at which judgments are collected. Those aspects of candidate quality have different consequences for a reranker that makes occasional mistakes.
Comparing rankers on the same candidates
The authors then ask whether the choice of ranking features makes a difference when every ranker gets the same options. They take the candidates produced by NETL and build support vector regression rerankers with the two feature sets. This comparison holds the candidate pool fixed, so differences in the final order can be attributed to how the feature sets represent those candidates within the experiment.
The LGNB feature set in this comparison retains measures of lexical association and the length and word-overlap features shared with NETL. The association measures draw on quantities such as joint occurrence, conditional probability, and how strongly words are linked in the Wikipedia corpus. The authors reproduce those features by processing English Wikipedia. They exclude LGNB’s Zettair search score, citing the earlier finding that it was an unimportant feature. NETL uses the letter-trigram rank, Wikipedia PageRank, length, and word overlap.
On BLOGS, the shared-candidate Top-1 Avg. is 2.00 with NETL features and 1.92 with LGNB features. On BOOKS the corresponding scores are 1.99 and 1.86, and on NEWS they are 2.02 and 1.87. On PUBMED the scores are 1.99 and 1.89. This comparison gives the NETL feature set the higher first-label average in all the test domains. The NEWS result is especially informative alongside the main experiment, where the in-domain first-label averages are equal. The controlled experiment measures ranking on the same material, while the end-to-end result includes each system’s own retrieval and scoring choices.
The normalized results on the common pool also favor NETL. On NEWS, nDCG-1 is 0.80 with NETL features and 0.75 with LGNB features. For BOOKS, nDCG-5 is 0.84 with NETL features and 0.80 with LGNB features. On PUBMED, nDCG-3 is 0.81 and 0.79 respectively. These comparisons show that the features do more than select a stronger first result in absolute terms. They can also bring the ordering closer to what the human ratings support when the available candidates are fixed.
The controlled comparison concerns the feature sets used together. Both incorporate length and exact topic overlap, and each has other signals that can interact with those shared features. To tell which NETL features carry information that the others fail to recover under the same training setup, the authors remove one feature at a time.
Removing one feature at a time
The feature removal tests report in-domain Top-1 Avg. The reference point is the full NETL reranker. The comparison for a given feature asks how first-label quality changes when the reranker has access to the other features. Its result therefore depends on both the information carried by the removed feature and the information still available from the rest.
For BLOGS, the clearest dependence is on PageRank. The complete reranker reaches 2.00, and removing PageRank gives 1.93. Removing NumWords gives 1.97, and removing LetterTrigram gives 1.99. Removing TopicOverlap leaves the score at 2.00. The hyperlink signal is the most consequential omission there. The result shows that a feature summarizing article prominence supplies something useful beyond the character and word properties of the shortlisted labels in BLOGS.
PUBMED displays a different pattern. Its score with all features is 1.99. Removing LetterTrigram gives 1.93, while removing TopicOverlap gives 1.95. Removing PageRank or NumWords gives 2.00 in each case. The candidates in a biomedical topic can be judged in part through correspondence with the specialized vocabulary in the topic words. The ablation supports the contribution of character and word correspondence in this domain. The aggregate results leave open which particular terms, endings, or phrases account for that contribution.
Feature removal on in-domain PUBMED first-label ratings
Removing letter-trigram evidence produces the lowest first-label rating.
The numbers
| System or setting | Top-1 average rating |
|---|---|
| All NETL features (this paper) | 1.99 |
| Without LetterTrigram | 1.93 |
| Without TopicOverlap | 1.95 |
| Without PageRank | 2.00 |
| Without NumWords | 2.00 |
In BOOKS, the full reranker earns 1.99, and removing LetterTrigram takes the score to 1.96. With PageRank removed, the reported score is 1.980. The score with TopicOverlap removed is 2.03, and the score with NumWords removed is 2.02. These settings show that a feature can be helpful on one target and dispensable or counterproductive in a particular setting on another. In BOOKS, the best first-label rating among these removals is obtained when the ranker has access to character overlap but exact word overlap is omitted.
On NEWS, all features together give 2.02. Removing LetterTrigram or NumWords leaves the score at 2.02, removing PageRank gives 2.00, and removing TopicOverlap gives 2.04. The authors characterize feature removal as making little difference on NEWS. The direction of the result for TopicOverlap, together with BOOKS, is a reason to read the full feature set as a way to cover several domains. The in-domain results allow different feature subsets to do best for particular collections.
The ablations also clarify the relationship between two kinds of lexical evidence. LetterTrigram converts character similarity into a rank, while TopicOverlap counts matching words. They can reward some of the same candidates, such as a phrase containing a topic word. They can also reward different ones, such as a label that shares a recognizable string with an inflected form. In PUBMED, removing either signal lowers the first-label average. In BOOKS, the character rank still helps even though removing exact overlap raises the average. The evidence for using both depends on the collection and on the other features the reranker can use.
Changing how the topic words contribute
The paper also tests the number of topic words used in the relevance calculation. The settings use top-5, top-10, top-15, and top-20 terms. The authors report a general decline as more terms are included. In the main score, every included word contributes equally to the mean, so expanding the list gives lower-ranked terms influence alongside the strongest ones. This is consistent with the additional terms sometimes supplying weaker or less focused evidence. The paper gives the direction of the result and leaves the individual scores unreported.
A related experiment weights each term by its word probability. That change gives the terms that are more probable under the topic a larger role in relevance. The authors observe an improvement and describe it as marginal enough to leave the numerical results out of the paper. The outcome establishes the reported direction for the tested setup, while the available evidence about the size or consistency of the effect remains qualitative.
The final relevance variant first forms a centroid from the topic word vectors and then compares the title with that centroid. A centroid is a central point obtained by combining the vectors before the comparison. In the main equations, the title is compared with each word vector before averaging the separate cosine scores. The centroid variant asks whether an aggregate direction for the topic is sufficient or advantageous for this decision. The authors report little gain from the alternative. The published evidence favors retaining the simple pairwise approach for the main experiments, with both alternatives evaluated only in the qualitative terms the authors give.
Limitations
Limits the authors identify
The authors explicitly identify annotation cost as a constraint. They would have preferred judgments for more candidates, but the available budget limited them to the top-19 from the unsupervised ordering. The supervised reranker is therefore evaluated on a shortlist that has already been screened by character overlap. Candidate-level figures and ideal-order scores also reflect the labels that those judgments cover.
The paper identifies ambiguity from stripping parentheses out of title phrases. A shortened name can refer to several entries, and multiple specific candidates can benefit from the same broad phrase match. The authors describe this as a source of skew when combining relevance scores and use high-ranked candidates from each representation for the combination. They also acknowledge that the longer and more specific form can be an appropriate label in some cases. The preprocessing choice favors phrases the authors can expect to encounter in running text, with some loss of distinguishing information at that stage.
The authors leave some sources of evidence for later investigation. They propose exploring connectivity in Wikipedia’s category structure or a related graph. The PageRank feature they test measures article prominence in the hyperlink graph. Category connectivity could supply a different kind of information about how concepts relate to one another. Keyphrase extraction is another direction they discuss, with the role of an attribute such as interestingness left open for this particular task.
The authors also limit what can be read from their auxiliary experiments by reporting some of them only qualitatively. Changes to term count, probability weighting, and centroid scoring are described through the general outcomes. The size of an effect on a particular domain or metric remains unspecified where scores are omitted. The most detailed numerical evidence comes from the benchmark comparisons, the controlled reranking experiment, and the feature removal tests.
Limits that follow from the setup
The starting point is an English Wikipedia snapshot and a filtered set of topics from the earlier benchmark. The candidate rules favor short article titles, and the topics retained for evaluation have already passed an automated coherence screen. Evidence about labeling carries these conditions with it. A diffuse topic can offer less agreement among its highest-probability words, while a theme lacking a suitable eligible article title can be difficult to express through the candidate source. The results describe performance on the retained topics and judged labels.
The Wikipedia snapshot also sets a boundary on which concepts can appear as article candidates and which usages contribute to their vectors. In the article-based route, a candidate depends on having eligible article text. In the phrase-based route, what can be learned about a title depends on its occurrence as a phrase in the processed text. Domains whose vocabulary, preferred level of specificity, or naming conventions differ from Wikipedia could pose different challenges. The PUBMED results show strong transfer within the tested biomedical benchmark, with the scope set by the particular topics and judgments used there.
The rating task asks how suitable an isolated label is for a visible topic. It does not measure whether the particular output improves a person’s speed or accuracy when exploring an interface, nor whether it helps the person understand distinctions among related topics in the same collection. The authors cite earlier research in which textual labels aided interpretation in a timed retrieval task. Their own evaluation establishes the judged quality of proposed labels. A timed user task with NETL would address a different outcome.
Judgments are collected through a common ordinal scale and then averaged to establish an order. That order is a practical benchmark for choosing labels among alternatives. It compresses disagreement among annotators into a single value and does not directly distinguish different reasons for preferring a label. An annotator might favor a broad term because it covers several topic words, or prefer a narrower term because the combination seems specific to that concept. The same mean can summarize different patterns of opinion. The paper’s quality controls help screen judgments while leaving those questions of interpretation outside the reported metrics.
Cross-domain training tests transfer among the collections in the experiment. It is particularly relevant given that obtaining candidate ratings for each new application may be impractical. Each held-out collection is nonetheless represented by previously discovered and screened topics, and the evaluation still uses human ratings from those topics to judge the outcome. The evidence shows how a scorer trained elsewhere performs under that arrangement. Performance on topics in other languages or with other sources of candidate names remains open.
The experiment that shares a pool of candidates provides a direct test of ranking features under common conditions. Its pool comes from NETL’s generation and shortlisting process, and the reproduced LGNB feature set excludes the Zettair score. The observed ranking advantage applies to those implementations on that shared pool. Giving both feature sets candidates selected by another generator could change the distribution of features and of human ratings. Similarly, the removal results establish what happens when one feature is dropped from the tested combination. They leave interactions between other subsets mostly unexplored.
The authors describe the approach as simpler and more efficient than the prior system. The design comparison provides concrete reasons for simplicity. The new candidate generator uses precomputed representations, its supervised ranker uses a smaller feature set, and it avoids dependence on the earlier external search services. The benchmark reports quality scores and training settings. It supplies no end-to-end timing, memory comparison, or accounting that combines Wikipedia preprocessing, vector training, candidate retrieval, and reranking. The measured improvement is clearest in label quality, while the magnitude of the efficiency advantage remains unspecified.
What came after
Efficient Topic Extraction via Graph-Based Labeling is a 2026 work that cites the paper. It presents graph-based labeling as a lightweight approach to topic extraction. That framing carries forward the question of how to turn evidence about a topic into a usable name and places graph relationships at the center of the labeling approach.
Graph evidence in Bhatia and colleagues’ method has a narrower role. Wikipedia hyperlinks supply an article importance feature for the final ordering, after the embedding comparisons have found candidate titles. The authors also identify concept connectivity as a possible direction for further work. The later title places graph-based labeling in the foreground, but the citation establishes the connection at the level of the research problem. Whether it reuses the Wikipedia candidate source, the embedding comparisons, or the benchmark is unspecified.
Cite
Cite as Shraey Bhatia, Jey Han Lau and Timothy Baldwin. 2016. Automatic Labelling of Topics with Neural Embeddings. Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers.
@inproceedings{bhatia2016automatic,
title = {{Automatic Labelling of Topics with Neural Embeddings}},
author = {Shraey Bhatia, Jey Han Lau and Timothy Baldwin},
booktitle = {Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers},
year = {2016},
url = {https://aclanthology.org/C16-1091/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bhatia-2016-automatic-labelling-topics-neural-embeddings/