Learning from Multi-View Multi-Way Data via Structural Factorization Machines

Chun-Ta Lu, Lifang He, Hao Ding, Bokai Cao, Philip S. Yu

TL;DR

This paper introduces Structural Factorization Machines (SFMs), a novel multi-tensor framework for learning from multi-view, multi-way data. SFMs effectively capture complex interactions across different data perspectives by learning shared latent spaces and automatically weighting view importance, leading to improved prediction accuracy and computational efficiency on large-scale, sparse datasets.

What Problem Does This Paper Address?

Many real-world applications involve data that can be viewed from multiple perspectives or "views." For instance, predicting user behavior (like adopting a product) can depend on user profiles, item attributes, and reviews. These different views often exhibit complex, multi-way interactions that are crucial for accurate predictions. Traditional methods often flatten and concatenate these views into a single feature vector, losing valuable structural information and leading to computationally expensive and potentially overfitting models, especially with sparse data. Existing coupled factorization methods are often unsupervised and don't automatically learn the importance of each view. This paper aims to address these limitations by proposing a unified framework that preserves structural information, learns view importance, and remains computationally efficient.

Methods

The core contribution is the Structural Factorization Machine (SFM). SFMs build upon the idea of representing each view as a multi-way tensor, capturing higher-order interactions. Instead of directly learning weights for these large tensors, SFMs decompose them using CP factorization into shared latent spaces. This allows the model to:

  • Learn Common Latent Spaces: By factorizing the weight tensors for each view, SFMs learn shared representations across different perspectives, enabling better generalization from sparse data.
  • Automatically Adjust View Importance: An indicator vector is used to learn the contribution of each view to the final prediction, allowing the model to dynamically weigh the importance of different perspectives.
  • Efficient Computation with Relational Structures: To handle large-scale data with repeating patterns (e.g., user friends), SFMs leverage relational structure representations. This significantly reduces the computational complexity by avoiding redundant calculations on identical feature blocks, making the model scalable.

The learning process involves minimizing a regularized empirical risk using an optimization algorithm like Adam.

Datasets

The authors evaluated SFMs on eight real-world datasets:

  • Amazon: Multiple large-scale datasets from Amazon.com, categorized by product type (Game, Cloth, Sport, Health, Home, Elec). These datasets have five modes: users, items, review texts, categories, and linkage.
  • Yelp: A large dataset of venue reviews with five modes: users, venues, friends, categories, and cities.
  • BookCrossing (BX): A book review dataset with five modes: users, books, countries, ages, and authors.

These datasets are characterized by their multi-view and multi-way nature, often exhibiting significant sparsity.

Key Insights and Ideas

  • Structure Matters: Flattening multi-view, multi-way data into a single vector discards crucial relational information, hindering predictive performance. SFMs demonstrate the benefit of preserving this structure.
  • Shared Latent Spaces for Sparsity: By learning common latent representations across views, SFMs can effectively leverage complementary information and generalize better in sparse data scenarios where individual views might be insufficient.
  • Automatic View Weighting is Crucial: Not all views are equally important for every prediction. SFMs' ability to automatically learn and adjust the contribution of each view is a key advantage over methods that treat all views equally or require manual tuning.
  • Relational Structures for Scalability: The insight that repeating patterns in feature representations can be exploited via relational structures is critical for making complex models like SFMs practical for large-scale applications. This significantly reduces computational cost.
  • Higher-Order Interactions Aren't Always Better: The experiments showed that simply increasing the order of feature interactions (as in FM-3 and PolyNet-3) doesn't always improve performance and can even lead to overfitting in sparse settings.

Key Results

  • Superior Prediction Accuracy: SFMs consistently outperformed state-of-the-art methods (MF, FM, PolyNet, MVM) across all eight datasets in terms of Mean Squared Error (MSE). Average improvements were significant, e.g., ~5.87% over MVM and ~3.3% over FM.
  • Improved Performance on Sparse Data: SFMs showed particularly strong gains when users had very limited training data, highlighting their ability to leverage meta-information effectively.
  • Computational Efficiency: SFMs achieved significantly faster training times per epoch compared to other methods, especially on large datasets like Yelp. This is attributed to the efficient handling of relational structures. For example, Yelp training time was reduced to about 11% of FM-3's.
  • Robustness to Hyperparameter R: The performance of SFMs was relatively stable across different values of the latent dimension R, suggesting good generalization capabilities.

Limitations and Future Work

  • Limitations: The paper acknowledges that while SFMs are efficient, the complexity is still linear in the number of features. The performance can be sensitive to hyperparameter tuning, although the authors provide guidance. The paper focuses on supervised learning; extending to unsupervised or semi-supervised settings could be valuable.
  • Future Work: The authors suggest exploring SFMs for other machine learning tasks and investigating their application to more complex multi-view, multi-way data scenarios. Further research into more advanced relational structure representations and optimization techniques could also be beneficial.

Summary updated

BibTeX
@inproceedings{lu2018learning,
  author = {Chun-Ta Lu and Lifang He and Hao Ding and Bokai Cao and Philip S. Yu},
  title = {{Learning from Multi-View Multi-Way Data via Structural Factorization Machines}},
  booktitle = {The Web Conference},
  year = {2018},
  url = {https://openreview.net/forum?id=SJWRwzZdZS},
}
Figure