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:
- Data Sparsity: Questions and tags are typically very short, providing minimal context for standard NLP models.
- 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.
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).
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