English

Predicting Pairwise Relations with Neural Similarity Encoders

Machine Learning 2019-01-11 v2 Machine Learning

Abstract

Matrix factorization is at the heart of many machine learning algorithms, for example, dimensionality reduction (e.g. kernel PCA) or recommender systems relying on collaborative filtering. Understanding a singular value decomposition (SVD) of a matrix as a neural network optimization problem enables us to decompose large matrices efficiently while dealing naturally with missing values in the given matrix. But most importantly, it allows us to learn the connection between data points' feature vectors and the matrix containing information about their pairwise relations. In this paper we introduce a novel neural network architecture termed Similarity Encoder (SimEc), which is designed to simultaneously factorize a given target matrix while also learning the mapping to project the data points' feature vectors into a similarity preserving embedding space. This makes it possible to, for example, easily compute out-of-sample solutions for new data points. Additionally, we demonstrate that SimEc can preserve non-metric similarities and even predict multiple pairwise relations between data points at once.

Keywords

Cite

@article{arxiv.1702.01824,
  title  = {Predicting Pairwise Relations with Neural Similarity Encoders},
  author = {Franziska Horn and Klaus-Robert Müller},
  journal= {arXiv preprint arXiv:1702.01824},
  year   = {2019}
}

Comments

find code here: https://github.com/cod3licious/simec

R2 v1 2026-06-22T18:10:58.139Z