Abstract
A common model for question answering (QA) is that a good answer is one that is closely related to the question, where relatedness is often determined using general-purpose lexical models such as word embeddings. We argue that a better approach is to look for answers that are related to the question in a relevant way, according to the information need of the question, which may be determined through task-specific embeddings. With causality as a use case, we implement this insight in three steps. First, we generate causal embeddings cost-effectively by bootstrapping cause-effect pairs extracted from free text using a small set of seed patterns. Second, we train dedicated embeddings over this data, by using task-specific contexts, i.e., the context of a cause is its effect. Finally, we extend a state-of-the-art reranking approach for QA to incorporate these causal embeddings. We evaluate the causal embedding models both directly with a causal implication task, and indirectly, in a downstream causal QA task using data from Yahoo! Answers. We show that explicitly modeling causality improves performance in both tasks. In the QA task our best model achieves 37.3% P@1, significantly outperforming a strong baseline by 7.7% (relative).
Introduction
Most modern QA systems rely on general semantic "relatedness." For instance, if a question asks about "rain," a system might look for answers containing "umbrellas" or "clouds" because these terms frequently co-occur. However, for causal questions (e.g., "What causes X?"), simple relatedness is insufficient. A system must distinguish between a word that is merely topically related and one that stands in a specific causal relationship. General-purpose embeddings, such as standard word2vec, treat all nearby words as context, which blurs these specific relational lines. Furthermore, creating large-scale, manually labeled datasets for causality is expensive. This work addresses the challenge of building high-quality causal representations with minimal supervision.
Methods
The proposed approach follows a three-step pipeline:
- Causal Extraction (Bootstrapping): Using the rule-based information extraction framework Odin, the authors extracted over 815,000 cause-effect tuples from raw text (Annotated Gigaword and Simple English Wikipedia) using 13 seed patterns like "X leads to Y" or "X causes Y."
- Specialized Causal Models: Several models were developed to represent these links:
- cEmbed: A skip-gram variant where the "target" is the cause and the "context" is the effect.
- cEmbedBiNoise: A bidirectional version (learning cause $\to$ effect and vice versa) that is noise-aware, using Pointwise Mutual Information (PMI) to down-weight potentially erroneous extractions.
- cAlign: A monolingual alignment model treating causal prediction as a translation task.
- cCNN: A Convolutional Neural Network designed for complex, multi-word causal phrases.
- QA Reranking: These causal scores were integrated into a state-of-the-art reranking framework to select the best answer from candidate pools.
Evaluation and Results
The models were evaluated both directly on a causal implication task and indirectly on a downstream QA task using 3,031 causal questions from Yahoo! Answers.
Direct Evaluation
In the direct evaluation task, specialized causal models significantly outperformed vanilla word2vec at ranking causal word pairs. The noise-aware model (cEmbedBiNoise) was particularly effective at the low-recall end of the spectrum, demonstrating high precision when dealing with less frequent terms, as illustrated in the precision-recall curves below.
Downstream QA Task
The "aha moment" of this research is that the definition of "context" should be task-specific. By forcing the model to predict an effect given a cause, the vector space organizes itself around causality. Crucially, causal embeddings were found to be additive; they complemented rather than replaced vanilla embeddings.
The best combined model achieved 37.3% P@1 on the Yahoo! Answers task, representing a 7.7% relative improvement over a strong baseline using only general-purpose embeddings. The table below details the performance of various model combinations, showing that the integration of causal signals consistently improves precision.
Discussion and Future Work
While the noise-aware models improved performance, the initial bootstrapping process still captured significant noise (approximately 44% of tuples). Most models also rely on bag-of-words representations, which may miss nuances in complex sentence structures. Future work could extend this framework to other relations (e.g., "purpose") and incorporate syntactic dependencies to further refine phrasal understanding.
Summary updated