Augmenting Transfer Learning with Semantic Reasoning

Freddy Lécué, Jiaoyan Chen, Jeff Z. Pan, Huajun Chen

Introduction

Transfer learning (TL) has become a cornerstone of modern machine learning, particularly in scenarios where labeled data for a specific "target" task is scarce. By leveraging knowledge from a related "source" domain, researchers can build more robust models. However, traditional TL methods often rely solely on statistical similarity between raw data distributions. This approach frequently fails when encountering "negative transfer"—where transferring statistically similar but logically distinct data degrades performance—or when attempting inter-domain transfers between seemingly unrelated fields.

This paper presents a novel framework that utilizes semantic reasoning, specifically OWL ontologies, to provide a formal logical foundation for determining both when and what to transfer.

Proposed Methodology

The core of the proposed approach is the integration of Semantic Web technologies into the machine learning pipeline. The authors utilize the Description Logic $\mathcal{EL}^{++}$ to model the underlying semantics of the learning domains, allowing for a formal representation of concepts and their relationships.

The proposed semantic transfer framework, illustrating the decision process for 'When' and 'What' to transfer using semantic vectors.

As shown in the framework overview, the system generates three specialized semantic embeddings to guide the transfer process:

  1. Transferability Vector: Quantifies the potential improvement a piece of source knowledge offers the target task.
  2. Consistency Vector: Employs logical reasoning to ensure source knowledge does not contradict the target domain's established rules.
  3. Variability Vector: Measures the logical distance between source and target tasks.

These vectors are integrated into a new algorithm called Semantic Transfer AdaBoost (StAdaB). Unlike standard TrAdaBoost, which adjusts weights based on prediction error alone, StAdaB uses semantic embeddings to iteratively boost logically consistent knowledge while filtering out irrelevant or contradictory data.

Experimental Evaluation

The framework was rigorously tested across high-impact real-world scenarios:

  • Intra-domain Tasks: Air quality forecasting (Beijing to Hangzhou) and bus delay prediction (London to Dublin).
  • Inter-domain Tasks: A "stress test" transferring knowledge from London bus traffic data to Beijing air quality forecasting, identifying shared high-level concepts like "City" and "Weather."

Key Results and Insights

The experimental results demonstrate that logical consistency is often a superior predictor of transfer success compared to raw data similarity. The StAdaB model achieved an average accuracy improvement of 13.07% in intra-domain scenarios.

Performance comparison in inter-domain scenarios, showing StAdaB significantly outperforming baseline transfer learning methods.

In the more challenging inter-domain task (London-to-Beijing), the semantic approach provided a 20.03% accuracy boost over baseline models. The researchers found that increasing the number of "semantic axioms" (logical rules) significantly enhanced model robustness, particularly in these inter-domain cases where statistical cues are minimal.

Conclusion

By bridging the gap between formal logic and statistical learning, this framework addresses the critical challenge of negative transfer. While the current implementation relies on the availability of high-quality ontologies and faces some computational overhead during consistency checks, it paves the way for more interpretable and logically sound AI systems capable of cross-domain knowledge synthesis.

Summary updated

BibTeX
@inproceedings{lecue2019augmenting,
  author = {Freddy Lécué and Jiaoyan Chen and Jeff Z. Pan and Huajun Chen},
  title = {{Augmenting Transfer Learning with Semantic Reasoning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/246},
}
Figure