NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving Recommendation of Tail Tags for Questions in Community Question Answering

Yu Wu, Wei Wu, Zhoujun Li, Ming Zhou

Abstract

Community Question Answering (CQA) platforms like Quora and Zhihu rely on tags to categorize content and route questions to appropriate experts. However, automated tag recommendation is hindered by extreme data sparsity and the "long tail" distribution of tags. This paper proposes a novel framework that leverages a supervised random walk to bridge the gap between short questions and infrequent "tail tags." By incorporating question-tag similarities and tag importance within a unified learning framework, the model significantly improves recommendation accuracy, particularly for the most descriptive labels.

Introduction

In CQA ecosystems, tags are essential for organizing content and improving searchability. Despite their importance, two major hurdles complicate automated recommendation:

  1. Data Sparsity: Questions and tags are typically very short, providing minimal context for standard NLP models.
  2. The Long Tail: Tag distributions follow a Zipfian curve. As shown in the statistics of the crawled data, the vast majority of tags are "tail tags" that appear very infrequently.
Distribution of tag frequencies in Quora and Zhihu datasets, highlighting the dominance of tail tags appearing fewer than 500 times.

While generic "head tags" (e.g., Machine Learning) are easier to predict, "tail tags" (e.g., Markov Chain Monte Carlo) are often more descriptive and useful for routing questions to niche experts.

Proposed Methodology

The authors introduce a model that calculates question-tag similarity $s(q, t)$ through a "bridge" approach. Rather than relying solely on direct content matching, the similarity score is a linear combination of:

  • Direct similarity between the question and the tag.
  • Similarity between the question and similar questions already associated with that tag.
  • Similarity between the tag and similar tags associated with that question.

To prioritize informative tags, the model calculates tag importance ($π$) using a Random Walk with Restart (RWR) on a tag graph. The entire system is optimized using a Supervised Random Walk framework, which learns weights for various features—including TF-IDF, topic distributions (Twitter LDA), and word embeddings—by maximizing the margin between correct and incorrect tags.

Experimental Evaluation

The model was evaluated on two large-scale datasets: Quora (English) and Zhihu (Chinese). In the Quora test set, 76.8% of candidate tags were identified as tail tags.

The proposed model was compared against several baselines, including Naive Bayes (NB), Translation Models (TM), and the Hypergraph Based Model (HGM).

Performance comparison of various models on the Quora dataset, showing significant improvements in precision for both general (P@n) and tail tags (Pt@n).

As demonstrated in the results, the model achieved a P@1 of 0.553 on Quora, significantly outperforming HGM. Crucially, the precision for tail tags ($P_t@1$) reached 0.165 on Quora and 0.176 on Zhihu, nearly doubling the performance of simpler models.

Conclusion

Tail tags provide high-signal information necessary for the health of CQA platforms. By using similarity as a proxy for frequency, the proposed framework effectively "borrows" signal from head tags to support the recommendation of related tail tags. While the model currently relies on a retrieval-based similarity component, future work could integrate deep learning architectures to further enhance performance and scalability.

Summary updated

BibTeX
@inproceedings{wu2016improving,
  author = {Yu Wu and Wei Wu and Zhoujun Li and Ming Zhou},
  title = {{Improving Recommendation of Tail Tags for Questions in Community Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10367},
}
Figure