Learning Continuous Word Embedding with Metadata for Question Retrieval in Community Question Answering

Guangyou Zhou, Tingting He, Jun Zhao, Po Hu

Introduction

Community Question Answering (cQA) platforms like Yahoo! Answers and Baidu Zhidao serve as vast repositories of human knowledge. However, retrieving relevant questions from these archives is hindered by the lexical gap: users often describe the same problem using different terminology. For instance, "removing knots from cat fur" and "detangling a cat's coat" are semantically identical but share little keyword overlap. Traditional models relying on keyword matching (like BM25) struggle in these scenarios.

The M-NET Framework

To address this, the authors propose M-NET, a framework that leverages category metadata to learn more semantically rich word embeddings and aggregates them efficiently for retrieval.

Metadata-Powered Word Embedding

Standard models like Skip-gram learn embeddings based on local context. M-NET extends this by incorporating cQA category metadata (e.g., "Pets -> Cats") into the objective function. By regularizing the embeddings such that words appearing in the same category are pulled closer together in the vector space, the model uses human-curated hierarchies as a semantic anchor to bridge the lexical gap.

The M-NET architecture integrates category metadata into the word embedding objective.

Fisher Vector Aggregation

To handle variable-length questions, the model employs the Fisher Kernel (FK) framework. Individual word embeddings are aggregated into a fixed-length Fisher Vector, representing the "gradient" of the question relative to a universal Gaussian Mixture Model (GMM). This allows for efficient, large-scale similarity computation via simple dot products, making the system viable for production environments.

Experimental Results

The model was evaluated on two massive datasets: 10 million resolved questions from Yahoo! Answers (English) and 8 million from Baidu Zhidao (Chinese).

Comparative performance metrics for M-NET + FV against state-of-the-art baselines.

As shown in the results, M-NET + FV significantly outperforms traditional Language Models (LM) and state-of-the-art translation and topic-based models across all metrics, including Mean Average Precision (MAP) and Mean Reciprocal Rank (MRR). Notably, performance consistently scales with embedding dimensionality, reaching a MAP of 0.571 on the Yahoo! dataset at 300 dimensions. The model's success across both English and Chinese datasets proves it is effectively language-agnostic.

Conclusion

M-NET demonstrates that metadata is a powerful, "free" supervisory signal for bridging the lexical gap in cQA. By combining metadata-aware embeddings with the efficiency of Fisher Vectors, the authors provide a scalable solution for high-accuracy question retrieval that is robust to the messiness of user-generated text. Future work may explore incorporating additional metadata types, such as user ratings or "Best Answer" flags, to further refine semantic representations.

Summary updated

BibTeX
@inproceedings{zhou2015learning,
  author = {Guangyou Zhou and Tingting He and Jun Zhao and Po Hu},
  title = {{Learning Continuous Word Embedding with Metadata for Question Retrieval in Community Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1025},
}
Figure