EVE: Explainable Vector Based Embedding Technique Using Wikipedia
Introduction
Traditional word embedding models, such as Word2Vec, GloVe, and FastText, represent semantic meaning through dense vectors of real numbers. While these models are highly effective at capturing relationships between words, they operate as "black boxes." The individual dimensions within these vectors lack inherent human-readable meaning, making it difficult to explain why a model perceives two concepts as similar or why a specific algorithmic decision was made.
As AI is increasingly deployed in sensitive decision-making environments, the demand for Explainable AI (XAI) has grown. Regulatory frameworks, such as the EU’s "right to explanation," necessitate models that provide transparent logic. EVE (Explainable Vector Based Embedding) addresses this challenge by leveraging the structured knowledge of Wikipedia to create embeddings where every dimension corresponds to a specific, labeled concept.
Methodology: Mapping to Human-Readable Concepts
The EVE model constructs embeddings by mapping target words to specific Wikipedia articles ($A_{concept}$). The resulting vector space is defined by two primary types of dimensions derived from Wikipedia’s internal graph structure.
1. Article-based Dimensions
These dimensions quantify the association between a target concept and other Wikipedia articles. The score for each dimension is calculated based on the density of incoming and outgoing links between the target concept and related articles. This approach transforms the link graph into a numerical representation of semantic proximity.
2. Category-based Dimensions
Beyond direct links, EVE utilizes Wikipedia’s category hierarchy. Scores are propagated from an article to its parent categories and neighboring nodes. This propagation uses a "jump probability" ($jump_{prob}$) to determine how much weight is assigned to broader versus more specific categories.
By concatenating these normalized scores, EVE produces a sparse vector where each dimension has a clear label (e.g., "Mammals" or "Quantum Mechanics"). This allows the model to generate explanations by identifying which specific dimensions contributed most to a similarity score or a ranking decision.
Evaluation and Key Results
The authors evaluated EVE using a custom dataset derived from the 2015 English Wikipedia dump, organized into seven broad topical types (e.g., Nobel laureates, Movie genres). EVE was compared against standard baselines across three core tasks:
- Intruder Detection: EVE significantly outperformed all baselines, achieving an average accuracy of 0.85, whereas the best-performing baseline (FastText) reached only 0.58.
- Ranking: In tasks requiring the sorting of relevant items, EVE outperformed the second-best algorithm by 1.8x in Precision@20.
- Clustering: EVE showed strong performance in grouping related items, though it was occasionally matched by FastText in separating highly complex, overlapping clusters.
Insights and Future Directions
The core innovation of EVE is treating Wikipedia not just as a text corpus, but as a structured knowledge graph. By "baking in" the human effort used to categorize and link Wikipedia articles, EVE achieves high interpretability without sacrificing performance in semantic tasks.
However, the model faces challenges such as popularity bias, where well-documented concepts have denser embeddings than niche ones, and vector sparsity. Future research aims to explore hybrid models that combine EVE’s structured interpretability with the broad linguistic coverage of traditional unstructured models, as well as refining how these explanations are presented to end-users.
Summary updated