Phrase-Based Translation Model for Question Retrieval in Community Question Answer Archives

Guangyou Zhou, Li Cai, Jun Zhao, Kang Liu

Introduction: The Lexical Gap in CQA

Community Question Answering (CQA) platforms like Yahoo! Answers and Stack Overflow contain vast repositories of human knowledge. The core challenge in leveraging these archives is question retrieval: finding existing questions that are semantically equivalent to a new user query to reuse high-quality answers.

The primary obstacle is the lexical gap (or lexical chasm). Users often describe the same problem using entirely different terminology. For example, a user asking about a "stuffy nose" might find the most relevant answer in a thread titled "What is the best way to prevent a cold?" Traditional Information Retrieval (IR) models based on keyword overlap often fail to bridge this gap because they lack the semantic context to link disparate terms.

Illustration of the lexical gap: a query about a 'stuffy nose' should ideally retrieve questions about 'colds' rather than literal 'stuffy rooms'.

Moving Beyond Word-for-Word Translation

Previous state-of-the-art approaches utilized word-based Statistical Machine Translation (SMT) models to "translate" queries into the language of the archive. However, these models are context-independent; they translate words in isolation, missing the nuanced meaning found in word sequences. For instance, "stuffy nose" is a single medical concept, not just the sum of "stuffy" and "nose."

This paper introduces P-Trans, a phrase-based translation model designed to capture local context. By treating word sequences as single units, the model learns more accurate semantic mappings than word-based models could achieve.

Key Innovations of P-Trans

  1. Contextual Modeling: By treating phrases as units, the model captures local context. It learns that "internet explorer" as a phrase might translate to "browser," whereas "explorer" alone might translate to "scout."
  2. Linear Ranking Framework: The authors use a linear combination of eight distinct features, including phrase translation probabilities, lexical weighting to handle data sparsity, and phrase alignment penalties to ensure coherent retrieval.
  3. TextRank Denoising: CQA data is notoriously noisy. The authors use a variant of the TextRank algorithm to identify and eliminate "unimportant" words from the training corpus, reducing the average number of translations per word from 69 down to 24 and improving overall performance.

Experimental Results

The researchers evaluated P-Trans using data from Yahoo! Answers, specifically the "Computers & Internet" category. The model was tested against a repository of over 500,000 resolved questions, with performance measured using Mean Average Precision (MAP).

A key finding was the impact of phrase length on retrieval quality. As the maximum allowed phrase length ($l$) increased, the model's ability to capture context improved, leading to significantly higher MAP scores compared to word-based baselines.

Retrieval performance (MAP) improves as the maximum phrase length ($l$) increases, reaching a plateau around $l=5$.

As shown in the data, increasing the phrase length from $l=1$ (equivalent to a word-based model) to $l=5$ results in a substantial performance gain, moving from 0.352 to 0.391 MAP. This represents a significant jump over previous methods, proving that capturing phrase-level context is a superior way to bridge the lexical gap in short-text retrieval.

Conclusion

The P-Trans model effectively bridges the lexical gap in CQA archives by leveraging phrase-level context. By moving beyond word-for-word translation and incorporating robust denoising techniques, it sets a new benchmark for question retrieval. Future work may involve incorporating syntactic structures and testing the model across diverse domains like legal or medical archives.

Summary updated

BibTeX
@inproceedings{zhou2011phrase,
  author = {Guangyou Zhou and Li Cai and Jun Zhao and Kang Liu},
  title = {{Phrase-Based Translation Model for Question Retrieval in Community Question Answer Archives}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure