Semantic Data Representation for Improving Tensor Factorization

Makoto Nakatsuji, Yasuhiro Fujiwara, Hiroyuki Toda, Hiroshi Sawada, Jinguang Zheng, James A. Hendler

Abstract

This paper introduces Semantic Data Representation for Tensor Factorization (SRTF), a framework designed to enhance the accuracy of recommender systems by integrating external ontological knowledge into the factorization process. By addressing semantic ambiguity and data sparsity through object disambiguation and "lifting" sparse entities to composite classes, SRTF achieves significant improvements in prediction accuracy—up to 10%—over traditional Bayesian Probabilistic Tensor Factorization (BPTF) methods.

Introduction

Tensor Factorization (TF) is a powerful tool for predicting multi-object relationships, such as which user will apply a specific tag to a particular movie. However, standard TF models face two critical hurdles: semantic ambiguity and data sparsity. Ambiguity occurs when different entities share the same label (e.g., two distinct movies titled "Rock"), leading to muddled data representations. Sparsity arises because most users interact with only a tiny fraction of available items, leaving the model with insufficient data to create accurate feature vectors for "long-tail" items.

While previous research has attempted to incorporate auxiliary information, these methods rarely leverage the hierarchical nature of taxonomies (how objects relate to broader classes) to solve these specific challenges. SRTF addresses this by linking sparse or ambiguous data points to structured ontologies like DBPedia and WordNet.

Methodology

The SRTF framework utilizes a three-step pipeline to refine tensor representations:

  1. Disambiguation: Raw data is linked to unique instances in external vocabularies (e.g., Freebase/DBPedia for items and WordNet for tags). This ensures that entities with identical names are correctly mapped to their specific metadata.
  2. Abstraction (Lifting): For sparse objects with few observations, SRTF "lifts" them to their parent classes. This involves creating composite classes (e.g., "Action movies directed by Michael Bay") and augmented tensors where sparse items are replaced by these classes, allowing the model to learn from shared group knowledge.
  3. Joint Factorization with Semantic Biases: The system factorizes the original and augmented tensors simultaneously using a Bayesian framework. By sharing parameters, the model transfers well-defined features from a class down to the individual sparse items within that class.
Conceptual overview of disambiguation and the process of lifting sparse objects to composite classes.

Experimental Evaluation

The researchers evaluated SRTF using two real-world datasets: MovieLens (ratings and tags enriched with Freebase and WordNet) and Yelp (restaurant reviews enriched with DBPedia’s food vocabulary).

Key Results

  • Accuracy Boost: SRTF achieved up to 10% higher accuracy in terms of Root Mean Square Error (RMSE) compared to standard BPTF.
  • Stability: The model demonstrated lower variance in predictions, providing more consistent results across different data subsets.
  • Efficiency: Computation time remained comparable to standard BPTF because the core bottleneck—the number of observations—did not increase drastically despite the added tensor complexity.
RMSE comparison between SRTF and the baseline BPTF over iterations, showing faster convergence and lower error for SRTF.

Discussion and Insights

A core insight of this work is that taxonomies serve as pre-existing "expert knowledge" that can guide machine learning. By using composite classes, the model captures specific user interests more effectively than rough-grained categories (like just "Drama"). Furthermore, SRTF employs selective bias, specifically targeting sparse objects for semantic lifting. This prevents the "over-smoothing" of data for items that already have sufficient observations, a common pitfall in other auxiliary-information methods like Generalized Coupled Tensor Factorization (GCTF).

Limitations and Future Work

The success of SRTF is inherently tied to the quality and coverage of external ontologies; items not present in the taxonomy cannot benefit from the framework. Future work aims to integrate the disambiguation process more tightly into the learning phase and apply these semantic principles to link prediction in social networks, where shared interests can be modeled through similar ontological structures.

Summary updated

BibTeX
@inproceedings{nakatsuji2014semantic,
  author = {Makoto Nakatsuji and Yasuhiro Fujiwara and Hiroyuki Toda and Hiroshi Sawada and Jinguang Zheng and James A. Hendler},
  title = {{Semantic Data Representation for Improving Tensor Factorization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.8991},
}
Figure