Abstract
Transfer learning has become a cornerstone of modern artificial intelligence, enabling models to leverage knowledge from data-rich source domains to solve tasks in data-scarce target domains. However, the underlying mechanisms of this transfer remain largely opaque, often operating as "black boxes." This paper proposes a framework that utilizes Knowledge Graphs (KGs) to provide human-centric explanations for transfer learning. By linking abstract neural features to structured real-world concepts and ontologies, the authors demonstrate how to justify model successes and failures in terms understandable to non-experts.
Introduction: The Transparency Gap in Transfer Learning
In contemporary machine learning, transfer learning is essential for efficiency and performance. Yet, the lack of transparency in how knowledge is moved between domains poses significant risks. Practitioners often struggle to understand why a model transfers effectively or why "negative transfer" occurs—a phenomenon where applying prior knowledge actually degrades performance on a new task.
For non-ML experts, this opacity hinders trust and the ability to optimize systems. To bridge this gap, the authors advocate for human-centric explanations. Rather than presenting raw mathematical weights, the goal is to provide justifications rooted in common sense and background knowledge. For instance, explaining a successful transfer by noting that "both tasks involve airlines located on the East Coast" is far more actionable than citing a high correlation coefficient between latent vectors.
Methodology: Two Frameworks for Interpretability
The authors introduce two distinct frameworks that leverage Knowledge Graphs—structured databases of facts and relationships—to illuminate the transfer process.
1. Feature Transferability Explanation
This framework specifically targets Convolutional Neural Networks (CNNs). It employs OWL ontologies to formally represent the background knowledge of different domains. The system identifies "explanatory evidences"—specific facts or axioms within the KG—that correlate with high transfer performance.
The core innovation here is "correlative reasoning." By analyzing which combinations of real-world facts (e.g., "is a listed carrier" and "is located in the East") align with the statistical success of feature transfer, the system can pinpoint the semantic reasons behind a model's behavior.
2. Zero-shot Learning (ZSL) Justification
Zero-shot learning aims to recognize objects the model has never encountered during training by transferring attributes from known categories. The authors utilize a Graph Attention Network (GAT) to map the complex relationships between seen and unseen classes.
By analyzing the "attention weights" within the GAT, the system identifies "impressive seen classes"—the specific known categories that contributed most significantly to a prediction. It then uses SPARQL queries to extract human-readable descriptions and shared properties from external KGs like DBpedia. For example, a model might justify identifying a "Serval" by explaining that it shares "sharp ears" with a "Cat" and a "golden yellow coat" with a "Cheetah."
Datasets and Implementation
The research utilizes diverse datasets to validate these frameworks:
- Flight Departure Delay Data: Used to demonstrate feature transferability between different airlines and airports, showing how geographic and operational properties influence model performance.
- DBpedia: Serves as the primary external Knowledge Graph, providing a rich repository of real-world context and "common sense" axioms for both animal classification and airline data.
Key Insights: Knowledge Graphs as a Semantic Bridge
The central contribution of this work is the realization that Knowledge Graphs can serve as a translation layer between high-dimensional latent features in a neural network and human-readable concepts.
In the context of Zero-shot learning, the approach moves beyond simple class labels. By incorporating anonymous entities and granular properties (such as ear shape or coat pattern), the justifications become much more convincing. Furthermore, by isolating "impressive" classes through attention mechanisms, the system can filter out noise and focus the explanation on the most relevant semantic comparisons.
Qualitative Results and Actionable Insights
The paper successfully demonstrates qualitative justifications. For instance, a complex prediction for a "Serval" is broken down into a logical argument: "The seen classes Cat and Cheetah play an important role... they share the same ancestors Felinae... and share properties like 'Sharp' ears and 'Golden yellow' coats."
These explanations provide more than just peace of mind; they offer actionable insights for experts. By identifying exactly when to transfer (at which layer) and which source domains are most compatible based on semantic similarity, developers can more effectively tune their models.
Limitations and Future Directions
Despite the promise of KG-based explanations, several challenges remain:
- The Matching Problem: Correctly linking raw machine learning data to the corresponding entity in a Knowledge Graph is a non-trivial task known as "knowledge matching."
- Evaluation Metrics: Objectively measuring the "quality" of an explanation is an open research problem. Determining what makes one explanation more useful or generalizable than another requires further study.
- Human-in-the-loop: Future iterations could allow humans to not only receive explanations but also feed knowledge back into the KG, creating a virtuous cycle that improves the model's future transfer capabilities.
Summary updated