Coder Social home page Coder Social logo

seongku-kang / ir-rrd_ins21 Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 56.11 MB

Item-side Ranking Regularized Distillation for Recommender System (Information Sciences 2021)

License: GNU General Public License v2.0

Python 31.50% Jupyter Notebook 68.50%
recommender-system knowledge-distillation item-side-ranking dual-side-ranking

ir-rrd_ins21's Introduction

Item-side Ranking Regularized Distillation for Recommender System

1. Overview

This repository provides the source code of our paper: Item-side Ranking Regularized Distillation for Recommender System, accepted in Information Sciences'21.

In the paper, we propose Item-side ranking Regularization (IR) method for ranking distillation in Recommender System. The proposed IR method utilizes item-side ranking information, effectively preventing the student model from being overfitted and enabling the student model to more accurately learn the teacher’s prediction results.

oveview

2. Evaluation

We evaluate the effectiveness of IR with the state-of-the-art ranking distillation method, RRD (CIKM'20).

2.1. Leave-One-Out (LOO) protocol

We provide the leave-one-out evaluation protocol used in the paper. The protocol is as follows:

  • For each test user
    1. randomly sample two positive (observed) items
      • each of them is used for test/validation purpose.
    2. randomly sample 499 negative (unobserved) items
    3. evaluate how well each method can rank the test item higher than these sampled negative items.

2.2. Metrics

We provide three ranking metrics broadly adopted in the recent papers: HR@N, NDCG@N, MRR@N. The hit ratio simply measures whether the test item is present in the top-N list, which is defined as follows:

Large

where δ is the indicator function, Utest is the set of the test users, pu is the hit ranking position of the test item for the user u. On the other hand, the normalized discounted cumulative gain and the mean reciprocal rank are ranking position-aware metrics that put higher scores to the hits at upper ranks. N@N and M@N are defined as follows:

Large

We also provide the training log and the learning curves of the proposed method. You can find them in /logs folder and the attached jupyter notebook.

Please note that the proposed IR method is for transferring knowledge from model's predictions. Topology Distillation (KDD'21), which is a follow-up study of DE and transfers the latent knowledge, is available in https://github.com/SeongKu-Kang/Topology_Distillation_KDD21.¶

ir-rrd_ins21's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.