TL;DR
This paper introduces Match², a novel model for identifying similar questions in Community Question Answering (CQA) systems. Instead of just comparing questions, Match² leverages archived answers as a "bridge" to compare how each question "matches" with parts of the answer, leading to significantly improved accuracy over existing methods.
What Problem Does This Paper Address?
Community Question Answering (CQA) platforms like StackExchange and Quora are invaluable for knowledge sharing. A key challenge is efficiently helping users find existing answers by identifying their new questions with similar, already-asked questions. However, natural language's inherent variability makes this difficult: the same question can be phrased in many ways, and different questions can use similar wording. Traditional approaches often use answers to enrich question representations, but this can introduce noise from lengthy and diverse answers. The paper tackles the problem of accurately measuring question similarity by proposing a new way to utilize archived answers.
Methods
The core innovation is the Match² (Matching over Matching) model. It operates on three main modules:
- Representation-based Similarity Module: This module uses a pre-trained BERT model to generate a similarity vector between the two questions, similar to existing methods.
- Matching Pattern-based Similarity Module: This is the novel component. It uses a Siamese network structure to learn "matching patterns" between each question and its corresponding archived answer. The key idea is that similar questions will have similar patterns of interaction with the same answer. This module then compares these matching patterns to produce a second similarity vector.
- Aggregation Module: This module combines the similarity vectors from the first two modules using a GRU-inspired gate mechanism. This allows the model to dynamically weigh the contributions of the question-only similarity and the answer-bridged matching pattern similarity, treating the former as primary and the latter as complementary.
The model is trained using a multi-task learning strategy, combining the primary similar question identification task with an auxiliary question-answer matching task.
Datasets
The authors evaluate their model on two datasets:
- CQADupStack: A widely used CQA benchmark derived from twelve StackExchange subforums.
- QuoraQP-a: An answer-expanded version of the QuoraQP dataset. The original QuoraQP lacks archived answers, so the authors crawled answers to create this new benchmark.
Key Insights and Ideas
- Answers as Bridges, Not Just Extensions: The paper argues that answers shouldn't just be concatenated to questions as extra text. Instead, they act as a crucial "bridge" to understand how questions relate to each other. Similar questions might "point to" similar parts of an answer, even if their wording is different.
- Matching Patterns Matter: The core insight is that comparing how questions interact with an answer (their "matching patterns") is more robust than simply using the answer as an expanded representation. This helps filter out noise and focus on semantic relevance.
- Complementary Strengths: The representation-based and matching-pattern-based modules are complementary. The former captures direct question similarity, while the latter leverages the answer to find deeper semantic connections. The aggregation module effectively combines these strengths.
Key Results
Match² significantly outperforms state-of-the-art methods on both CQADupStack and QuoraQP-a. For instance, on CQADupStack, Match² achieved an F1 score of 56.49, compared to the best baseline (Bert) at 50.41. On QuoraQP-a, Match² achieved an F1 score of 86.25, outperforming the best baseline (Bert) at 84.16. Ablation studies showed that both the representation-based and matching-pattern-based modules are effective, and their combination via the aggregation module is crucial. The dot product similarity function was found to be the most effective for comparing matching patterns.
Limitations and Future Work
The authors acknowledge that the model's performance can be affected by the quality and relevance of the archived answers. They suggest future work could involve leveraging a variable number of answers and incorporating answer quality into the model. Additionally, exploring how to extend the model to handle different numbers of answers and to account for answer quality are promising directions.
Summary updated