Coder Social home page Coder Social logo

rucaibox / macro-micro-fusion-network Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fancybian/macro-micro-fusion-network

1.0 2.0 0.0 288 KB

We presented a Macro-micro Fusion Network (MFN) for user representation learning on mobile apps.

Python 100.00%

macro-micro-fusion-network's Introduction

Macro-Micro-Fusion-Network

This is our Pytorch implementation for our WWW 2021 full paper:

Shuqing Bian, Wayne Xin Zhao, Kun Zhou, Xu Chen, Jing Cai, Yancheng He, Xinji Luo, and Ji-Rong Wen (2021). "A Novel Macro-Micro Fusion Network for User Representation Learning on Mobile Apps." In WWW 2021.

Overview

We presented a Macro-micro Fusion Network (MFN) for user representation learning on mobile apps. We proposed two major extensions for information fusion between macro and micro views. First, we designed a fusion network that is able to align the semantics of app categories with those of item categories. Second, we further utilized the mutual information maximization technique to improve the learning of the fusion network. Extensive experi- ments conducted on three downstream tasks have demonstrated the effectiveness of our proposed approach.

Requirements

  • Python 3.6
  • Pytorch >= 1.4

Notice: For sequencial recommendation models, we use the first version of RecBole v0.1.1 to do our experiments. The more details are on RecBole.

Parameter Settings

For user activity prediction and user attribute prediction, we adopt the evaluation metrics including AUC, Accuracy, Precision, Recall and F1. we split the dataset into train, validation, and test sets with an approximate ratio of 8:1:1. For item recommendation, we employ Top-k Hit Ratio (HR@k), Top-k Normalized Discounted Cumulative Gain (NDCG@k) to evaluate the performance. We report results on HR@{5, 10} and NDCG@{5, 10}, we apply the leave-one-out strategy for evaluation. Concretely, for each user interaction sequence, the last item is used as the test data, the item before the last one is used as the validation data, and the remaining data is used for training.

The dimensionality of embeddings (including items and apps) is set to 200. We set the number of Transformer layers is set as 2. We use the Adam optimizer with a learning rate of 0.001 on GPU (TITAN Xp), where the batch size is set as 256 and 512 in the training and the evaluation stage, respectively.

Acknowledgement

Any scientific publications that use our codes should cite the following paper as the reference:

@inproceedings{Bian-WWW-2021,
    title = "A Novel Macro-Micro Fusion Network for User Representation Learning on Mobile Apps",
    author = {Shuqing Bian and
              Wayne Xin Zhao and
              Kun Zhou and
              Xu Chen and
              Jing Cai and 
              Yancheng He and
              Xinji Luo and
              Ji{-}Rong Wen},
    booktitle = {{WWW}},
    year = {2021},
}

If you have any questions for our paper or codes, please send an email to [email protected].

macro-micro-fusion-network's People

Stargazers

 avatar

Watchers

 avatar  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.