Abstract
This research investigates the causal relationships between intrinsic evaluation metrics (such as word analogies) and extrinsic downstream NLP task performance. By utilizing Partial Least Squares Path Modeling (PLS-PM), the authors demonstrate that while linguistic knowledge drives downstream performance, the relationship is complex and significantly mediated by training hyperparameters.
Introduction
In Natural Language Processing (NLP), word embeddings are typically evaluated through two lenses: intrinsic evaluation, which tests linguistic relationships (e.g., analogies), and extrinsic evaluation, which measures performance on downstream tasks like sentiment analysis. While a correlation between these two is often assumed, correlation does not imply causation. This paper seeks to establish a formal causal model to determine if intrinsic linguistic knowledge actually explains success in practical applications, accounting for confounding variables like training corpora and algorithms.
Methodology: Structural Equation Modeling
The authors employ Structural Equation Modeling (SEM), specifically Partial Least Squares Path Modeling (PLS-PM). This approach allows for the definition of latent variables—abstract concepts inferred from "observed variables" (actual test scores).
In this framework, the researchers designed causal diagrams where:
- Hyperparameters (Algorithm, Corpus, Dimension, Window) influence...
- Intrinsic Knowledge (Inflectional/Derivational Morphology, Lexicography, Encyclopedia) which in turn influences...
- Extrinsic Task Performance (Syntactic/Semantic properties, Sentiment, etc.).
To provide the data necessary to fit these models, the authors trained 600 different word embeddings by systematically varying hyperparameters.
Experimental Setup
Datasets
- Intrinsic Evaluation: The BATS (Bigger Analogy Test Set), covering inflectional morphology, derivational morphology, lexicography, and encyclopedic knowledge.
- Extrinsic Evaluation:
- VecEval: Focuses on syntactic and semantic properties (e.g., POS tagging, NLI).
- SentEval: A suite of complex downstream tasks including sentiment classification and paraphrase detection.
- Training: Embeddings were generated using CBOW, Skipgram, and Fasttext on Wikipedia and New York Times corpora.
Results and Causal Analysis
Key Insights
- The Inflectional Morphology Mystery: Surprisingly, knowledge of inflectional morphology (e.g., verb tenses) showed little to no significant causal effect on downstream tasks in VecEval. This suggests that current intrinsic tests may not accurately reflect how this knowledge is utilized by models.
- Algorithms are the Primary Driver: The choice of training algorithm was the most powerful causal factor for intrinsic task success, far outweighing vector dimension or context window size.
- Task-Dependent Causality: The model for simpler tasks (VecEval) was well-explained by intrinsic scores ($R^2$ of 0.656 for syntactic tasks). However, for complex tasks (SentEval), the link was weaker, suggesting hyperparameters affect these tasks through channels other than the linguistic knowledge captured by analogy tests.
- Robustness of Encyclopedic Knowledge: Knowledge of facts (e.g., capitals, nations) proved to be a robust predictor of quality across nearly all downstream tasks.
Model Performance
The models achieved "Goodness-of-Fit" (GoF) scores between 0.64 and 0.75. In the context of PLS-PM, a GoF over 0.7 indicates a strong model. Furthermore, accounting for training hyperparameters improved the GoF from 0.6484 to 0.7445, confirming that training conditions are vital for understanding embedding utility.
Conclusion and Future Work
The findings suggest that the standard "vector offset" method for measuring intrinsic knowledge may be limited. Future research should extend this causal analysis to contextualized embeddings (like BERT or GPT) and refine intrinsic benchmarks to better capture the functional linguistic information used in downstream NLP applications.
Summary updated