Code Monkey home page Code Monkey logo

one_epoch_phenomenon's Introduction

Towards Understanding the Overfitting Phenomenon of Deep Click-Through Rate Models

This is an implementation of the Towards Understanding the Overfitting Phenomenon of Deep Click-Through Rate Models, which is accpete by CIKM2022. The codes are developed with Python2.7 and TensorFlow1.4.

About the codes and results

Here, we provide the results on Amazon book data set for reproducibility. In summary, the experiment results of Amazon book data set are consistent with that of production data set. But we recommend the readers to focus on the results of the production data set in the paper, which are more robust to the hyper-parameters and much closer to the online industrial recommender systems.

Prepare data

You can get the data and process it using the script

sh prepare_data.sh

Get the statistics of the data set

python script/cal_occurrence.py

Experiments of the analysis of the one epoch phenomenon

python script/train.py --model_type DNN --epochs 10 

You can change the default parameters to get the results of different experiments:

  • model structure
    • --model_type [DNN,LR]
  • corruption percent, which varies from 0.0 (no corruption) to 1.0 (complete random labels).
    • --corruption_percent
  • number of parameters
    • --embed_dim
    • --neuron
    • --nlayers
  • batch size
    • --batch_size
  • activation function
    • --activation [dice,relu,prelu,sigmoid]
  • optimizer
    • --optimizer [Adam,sgd,rmsprop]
  • techniques to alleviate overfitting
    • --weight_decay
    • --dropout

Experiments of the hypothesis

calculate the A-distance

python script/train_hypothesis.py --model_type DNN --epochs 3

obtain the parameter changes of embedding and MLP layers

python script/train.py --model_type DNN --epochs 3 --print_grad 1

one_epoch_phenomenon's People

Contributors

z-y-zhang 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.