GithubHelp home page GithubHelp logo

recommendation-system's Introduction

Recommendation System Using Deep Auto Encoder

In this project we created a recommendation system for the rating prediction task. We used the Netflix Prize dataset, where users' ratings are given per movie between 1 to 5.
Our model is a Deep Auto Encoder and based on the one in Training Deep AutoEncoders for Collaborative Filtering by Kuchaiev & Ginsburg 2017.
A typical auto encoder architecture:

Typical auto encoder architecure


Our model has 6 layers and is trained without any layer-wise pre-training. We used the SELU activation function, and high dropout in the middle layer as suggested in the original paper.
In our analysis we empirically argue that:

  1. Using the same weights in the encoder and the decoder (tied networks) achieve almost the same results with half the amount of parameters.
  2. The network without batch-norm achieves better results than the one with batch norm. We also demonstrate that there is a connection between the norm of the weights to the chosen learning rate, this is also discussed in Norm Matters by Hoffer et al.
  3. The newly proposed training algorithm which re-feeds the outputs of the model back to the input (in order to overcome the natural sparseness of the rating prediction task), does not improve results. The same results are obtained with re-feeding and without. This is probably since the network already learns that the output is a fixed point by itself.
  4. Dropping some of the inputs in order to let the network learn from unknown inputs, does not improve results.
  5. Requirements

    Python 3.6
    Pytorch
    Numpy

    Netflix Prize data:

    The Netflix Prize data can be downloaded here.

    In order to create the pytorch supported dataset, we provided 4 different functions in the file utils/data_utils.py:

    neflix_full()
    netflix_3months()
    neftlix_6months()
    netlix_1year()
    

    These functions create the different datasets we ran our experiments on. Each dataset corresponds to a different time interval of ratings (e.g. 3 months corresponds to September - November 2005, as they describe in the original paper).

    Running experiments

    We provided the file run.sh which is a BASH script for running all the required experiments. This script first creates the relevant datasets (as described above), and then runs the model using its different variations - Input dropout, refeeding iterations, batchnorm, output clipping and tied networks as we described in the introduction.

recommendation-system's People

Contributors

orilinial avatar

Watchers

paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.