Toward Implicit Sample Noise Modeling: Deviation-driven Matrix Factorization

Guang-He Lee, Shao-Wen Yang, Shou-De LinarXiv 2016

TL;DR

This paper introduces Deviation-driven Matrix Factorization (DMF), a novel approach that explicitly models and learns the implicit noise present in data. By dynamically weighting data points based on their estimated noise levels, DMF achieves more accurate predictions and faster convergence, outperforming existing methods on both recommendation and sensor data imputation tasks.

What Problem Does This Paper Address?

Traditional matrix factorization models typically aim to minimize the average regression error across all data points. However, real-world data is often noisy, and each data point can have a different level of contamination. This means that simply averaging errors can lead to the model overfitting to noisy instances, hindering its overall performance. Existing methods for handling noise, like outlier detection, often assume a small number of outliers, whereas this paper tackles the more pervasive issue of ubiquitous, implicit noise that is not directly observable. The core problem is how to effectively learn from data when individual data points have varying degrees of trustworthiness due to inherent noise.

Methods

The authors propose a Deviation-driven Matrix Factorization (DMF) framework. The key innovation lies in modeling the variance of the noise for each data point, a concept they term "deviation." This deviation is learned using a low-rank structure, similar to how the main matrix factorization learns the underlying data. Specifically, they introduce a deviation latent factor model, $P_i$ and $Q_j$, to predict the variance $\sigma_{ij}^2 = P_i Q_j + \Delta\sigma^2$ for each element $R_{ij}$ in the matrix. This deviation term is then incorporated into the objective function, effectively down-weighting data points with higher estimated noise during training. This approach is theoretically grounded in optimal weighting under heteroscedastic noise distributions. The learning process uses stochastic gradient ascent with a projected gradient method to handle the non-negativity constraint on the deviation latent factors.

Datasets

The paper evaluates DMF on two types of datasets:

  • Recommendation System (RS) Datasets: MovieLens 1M, MovieLens 10M, and Netflix. These are presented as "clean" datasets, used to demonstrate the effectiveness of implicit noise modeling even when explicit noise isn't obvious.
  • Internet of Things (IoT) Datasets: London and Berkeley sensor datasets. These are naturally noisy datasets, used to test the model's performance in scenarios with explicit measurement errors.

Key Insights and Ideas

  • Implicit Noise is Ubiquitous: The paper argues that even in datasets considered "clean," there's an implicit noise that affects data point trustworthiness. DMF's superior performance on these datasets supports this hypothesis.
  • Dynamic Weighting is Crucial: Instead of fixed weights or outlier removal, DMF dynamically learns and applies weights based on estimated noise, allowing the model to adapt to varying data quality during training.
  • Low-Rank Variance Modeling: Using a low-rank structure for modeling variance is an effective way to capture per-instance noise without incurring excessive computational cost or overfitting.
  • Joint Learning of Mean and Deviation: DMF simultaneously learns the underlying data patterns (mean) and the noise characteristics (deviation), leading to a more robust and accurate model.
  • Faster Convergence: By down-weighting noisy instances, DMF avoids spending computational effort on fitting noise, resulting in faster convergence to a better solution.

Key Results

  • Recommendation Systems: DMF consistently outperformed state-of-the-art factorization and deep learning models (RBM, Biased MF, RCF, RBMF, LLORMA, AutoRec) in terms of RMSE on MovieLens 10M and Netflix datasets. It also showed competitive results on MovieLens 1M.
  • IoT Data Imputation: DMF (generalized to Deviation-driven Tensor Factorization - DTF) outperformed classic imputation models like kNN, IDW, and PTF on London and Berkeley IoT datasets, especially when data was sparse.
  • Efficiency: DMF achieved its best results in the shortest total running time, despite having a longer running time per epoch than some competitors, due to requiring fewer epochs to converge.

Limitations and Future Work

  • Overfitting on Small Datasets: The authors note that DMF might overfit on very small datasets due to insufficient data for robust deviation estimation.
  • Generalization to Other Tasks: While successful in recommendation and imputation, the authors suggest exploring the deviation-driven concept for other learning tasks like classification and clustering.
  • Computational Cost: While efficient overall, the running time per epoch for DMF is longer than some simpler models, though this is offset by faster convergence.

Summary updated

Abstract

The objective function of a matrix factorization model usually aims to minimize the average of a regression error contributed by each element. However, given the existence of stochastic noises, the implicit deviations of sample data from their true values are almost surely diverse, which makes each data point not equally suitable for fitting a model. In this case, simply averaging the cost among data in the objective function is not ideal. Intuitively we would like to emphasize more on the reliable instances (i.e., those contain smaller noise) while training a model. Motivated by such observation, we derive our formula from a theoretical framework for optimal weighting under heteroscedastic noise distribution. Specifically, by modeling and learning the deviation of data, we design a novel matrix factorization model. Our model has two advantages. First, it jointly learns the deviation and conducts dynamic reweighting of instances, allowing the model to converge to a better solution. Second, during learning the deviated instances are assigned lower weights, which leads to faster convergence since the model does not need to overfit the noise. The experiments are conducted in clean recommendation and noisy sensor datasets to test the effectiveness of the model in various scenarios. The results show that our model outperforms the state-of-the-art factorization and deep learning models in both accuracy and efficiency.
BibTeX
@misc{lee2016toward,
  author = {Guang-He Lee and Shao-Wen Yang and Shou-De Lin},
  title = {{Toward Implicit Sample Noise Modeling: Deviation-driven Matrix Factorization}},
  year = {2016},
  eprint = {1610.09274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.09274},
}
Figure