Abstract
Knowledge Graphs (KGs) serve as a foundational component for modern AI systems, yet they frequently inherit and propagate human prejudices present in their source data. Current debiasing strategies often rely on the manual, intuition-based selection of "sensitive" attributes, a process that is itself subject to human bias and may overlook subtle proxy variables. This paper presents a novel framework designed to automatically identify and quantify social biases within Knowledge Graph Embeddings (KGEs). By employing data-driven metrics—Demographic Parity Distance (DPD), Predictive Parity Distance (PPD), and Translational Likelihood Bias (TLB)—the authors provide a systematic method to rank biased relations, enabling more objective and prioritized debiasing efforts.
Introduction
As KGs power critical applications from recommendation engines to question-answering systems, the presence of inherent bias poses a significant challenge. While various debiasing techniques exist, practitioners face a "chicken and egg" problem: identifying which relations require debiasing without relying on subjective preconceptions. Manual selection is often limited by cognitive bias, fails to detect non-obvious proxies (e.g., given names acting as proxies for race), and lacks the numerical quantification necessary to prioritize the most damaging biases in a specific dataset.
Methods
The proposed framework evaluates pre-trained KGEs and generates bias scores for various relations using three distinct metrics:
- Demographic Parity Distance (DPD): Adapted from traditional fairness literature, DPD measures whether a model's prediction (e.g., profession) is statistically independent of a sensitive attribute (e.g., gender).
- Predictive Parity Distance (PPD): This metric assesses whether a model maintains equal accuracy across different demographic groups, identifying cases where a model may perform significantly better for one group over another.
- Translational Likelihood Bias (TLB): A KG-specific metric that utilizes the internal score functions of embedding models. It measures how "nudging" an entity's representation toward a sensitive attribute (e.g., shifting a person's vector toward "female") alters the likelihood of specific predicted relations.
Experimental Setup
The framework was validated using two major benchmarks: FB15k-237, a standard link prediction dataset, and Wikidata5m, a large-scale real-world dataset. The authors tested these against four prominent embedding algorithms: TransE, ComplEx, DistMult, and RotatE.
Key Results and Insights
Consistency Across Algorithms
A primary finding was that bias patterns remained remarkably consistent across different embedding models. This suggests that the bias is fundamentally rooted in the underlying graph data rather than being a byproduct of specific mathematical formulations in the embedding process.
Identifying Major Bias Sources
In the FB15k-237 dataset, the framework revealed that nationality consistently exhibited higher bias scores than gender or language. For instance, DPD scores for nationality reached as high as 0.361, significantly exceeding those for gender (approximately 0.182). This underscores the importance of data-driven detection, as manual selection might have prioritized gender while missing more significant regional biases.
Stereotypes in Latent Space
Qualitative analysis using the TLB metric uncovered deep-seated historical stereotypes within the embeddings. The model biased "England" toward scientific occupations such as Mathematician and Biologist, while the "U.S." was biased toward entertainment-related roles like Television Director and Actor.
The Proxy Problem and Validation
On the Wikidata5m dataset, the framework identified "given name" as a high-bias attribute, demonstrating how neutral-seeming data can serve as a proxy for sensitive information. Additionally, the highest DPD score was found for "position played on team/specialty," which served as a successful sanity check given its logical link to professional roles.
Conclusion and Future Work
While this framework provides a powerful tool for informing debiasing efforts, the authors emphasize that it is intended to augment, not replace, human judgment. Bias remains context-dependent; what is considered a harmful bias in a hiring tool may be essential data in a medical context. Future research will focus on refining the framework to better handle non-binary assumptions and developing statistical significance tests to establish clear thresholds for identifying biased relations.
Summary updated