GithubHelp home page GithubHelp logo

qitianwu / fate Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 9.0 48 KB

Codes and datasets for NeurIPS21 paper “Towards Open-World Feature Extrapolation: An Inductive Graph Learning Approach”

Python 98.63% Shell 1.37%
graph-neural-networks out-of-distribution-generalization pytorch tabular-data

fate's Introduction

FeATure Extrapolation Networks (FATE)

Codes and datasets for Towards Open-World Feature Extrapolation: An Inductive Graph Learning Approach. This paper proposes a graph-based approach for handling new unseen features in test set. To verify the approach, we consider experiments on six small datasets from UCI repository and two large CTR prediction datasets.

Dependency

Python 3.8, Pytorch 1.7, Pytorch Geometric 1.6

Results

The experimental results on UCI datasets are shown below where our model FATE achieves superior testing performance.

image

The following table shows testing ROC-AUC results on two large-scale advertisement click-through rate prediction datasets Criteo and Avazu.

image

Datasets

One can directly use our preprocessed UCI and CTR datasets for experiments, which we provide in the following link (download to the data folder)

https://drive.google.com/drive/folders/1MlP5MiGeGNjb9GpWbI3HlUrpCFw2XqVA?usp=sharing

For each dataset of UCI, the instances are randomly splitted into 60/20/20% for train/valid/test and the 0-1 features are randomly divided into observed and unobserved ones. The ratios for observed features range from 30% to 80%. For example, the file "split_0.6_0.3.pkl" contains data splits with 60% training instances and 30% observed features. For more information above preprocessing, please refer to our paper.

For two CTR datasets, the instances are splitted according to time order. In specific, we split all the instances into 10 sets and use 1/1/8 sets for training/validation/testing. Such a splitting naturally introduce new unseen features in the validation and testing sets.

The original UCI datasets are collected from UCI Machine Learning Repository

For the CTR prediction datasets, the original data are downloaded from Kaggle website. Speficially,

Model Implementation

The model contains a GNN module (for extrapolation) and a feedforward backbone. For UCI, we consider a shallow neural network as the backbone. For CTR, we consider both neural network and DeepFM model as the backbone.

Run

To run the code, please refer to the bash script in each folder.

If you use the code or preprocessed datasets, please cite our paper:

    @inproceedings{wu2021fate,
    title = {Towards Open-World Feature Extrapolation: An Inductive Graph Learning Approach},
    author = {Qitian Wu and Chenxiao Yang and Junchi Yan},
    booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
    year = {2021}
    }

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.