Integrating Community Question and Answer Archives

Wei Wei, Gao Cong, Xiaoli Li, See-Kiong Ng, Guohui Li

Abstract

Community Question Answering (CQA) services like Yahoo! Answers and WikiAnswers serve as vast repositories of human knowledge but remain isolated "information silos" due to disparate hierarchical taxonomies. This paper introduces CQai, a framework that leverages the internal structure of source taxonomies—including parent, child, and sibling relationships—to improve the accuracy of mapping questions into a target structure. Experimental results demonstrate that CQai significantly outperforms traditional flat classification methods.

The Challenge of Taxonomy Integration

Each CQA service organizes its content using a unique taxonomy. For instance, a category like "Dental Health" might be nested under "Health" in one system and "Personal Care" in another. Integrating these archives is difficult because semantic mappings are rarely one-to-one.

Taxonomy mapping between source (T) and target (F)

Previous integration attempts typically treated this as a standard text classification task, ignoring the rich metadata embedded in the source hierarchy. If two questions belong to sibling categories in the source, they likely share contextual similarities that can aid classification in the target system.

The CQai Methodology

The authors propose the CQai (CQA Integration) algorithm, which extends the Naive Bayes (NB) classifier by incorporating hierarchical context through three primary mechanisms:

  1. Hierarchical Priors: CQai calculates prior probabilities that account for the influence of a category’s entire subtree, its direct children, and its parents or siblings.
  2. Similarity & Dissimilarity Re-weighting: This core innovation adjusts mapping weights based on source relationships. If "Football" and "Basketball" (siblings) frequently map to "Team Sports," the model reinforces this connection. Conversely, it uses source-level distinctions to prevent misclassification into the same target category.
  3. Likelihood Estimation with EM: The model employs an Expectation-Maximization (EM) approach to refine word probabilities using unlabeled data from the source archive, effectively "smoothing" the classification model.

Experimental Evaluation

The researchers evaluated CQai using real-world data from two major platforms:

  • Target Taxonomy: Yahoo! Answers (351 categories across the first two levels).
  • Source Taxonomy: WikiAnswers, specifically the "Health" (732 subcategories) and "Sports" (734 subcategories) hierarchies.
  • Ground Truth: A manually labeled set of 500 questions per test set served as the gold standard.

Key Results

CQai demonstrated superior performance across all metrics compared to standard Naive Bayes (NB), Enhanced Naive Bayes (ENB), and EM-based approaches.

Performance comparison of CQai against baseline methods

As shown in the results table, CQai achieved a Macro-F score of 0.5793 on the Health dataset, a significant leap over ENB (0.4747) and the baseline NB (0.3176). Similar gains were observed in the Sports dataset, confirming the robustness of the hierarchical approach.

Key Insights

  • Structure as Signal: The hierarchical position of a question is a powerful feature. Leaf nodes are specific, while higher-level nodes represent mixed topics. CQai explicitly models this hierarchy.
  • The Importance of Siblings: While most research focuses on parent-child links, this study highlights that sibling relationships provide critical context for disambiguation.
  • Answer Text Matters: Including answer text significantly boosts accuracy. While questions are often brief and ambiguous, answers provide the rich vocabulary necessary for precise mapping.

Limitations and Future Directions

While effective, the current model assumes taxonomies are tree structures, whereas some real-world systems use Directed Acyclic Graphs (DAGs). Additionally, the experiments focused on mapping to a relatively "flat" target taxonomy (top two levels). Future research could explore deeper hierarchical mapping and optimize the computational overhead required for real-time, web-scale integration.

Summary updated

BibTeX
@inproceedings{wei2011integrating,
  author = {Wei Wei and Gao Cong and Xiaoli Li and See-Kiong Ng and Guohui Li},
  title = {{Integrating Community Question and Answer Archives}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2011},
  doi = {10.1609/aaai.v25i1.8086},
}
Figure