jyansir / t2g-former

(AAAI 2023 oral) Original implementation and experiment results of T2G-FORMER
MIT License
31 stars 3 forks source link
kaggle machine-learning tabular-data

T2G-Former

This is the implementation and experiment results of the AAAI 2023 oral paper T2G-FORMER: Organizing Tabular Features into Relation Graphs Promotes Heterogeneous Feature Interaction (see Arxiv version for the full appendix)

Feel free to report any issues or questions.

The implementation of T2G-Former in the original paper is bin/t2g_former.py.

1. Experiment Results

Here are some directories for experiment results.

2. Runtime Environment

3. Datasets

LICENSE: by downloading our dataset you accept licenses of all its components. We do not impose any new restrictions in addition to those licenses. You can find the list of sources in the section "References" of our paper.

  1. Download the data from this link(~240M)
  2. Unpack the archive to the data directory: tar -zxvf data-t2g.tar.gz -C ./data (mkdir data if not exist)
  3. Configure your global path to the project folder (variable PROJ in lib/env.py)

4. Reproduce Experiments

You can modify the script, and execute it as follows:

CUDA_VISIBLE_DEVICES=XXX bash ./run_experiment/run_baselines.sh

# ignore system out
CUDA_VISIBLE_DEVICES=XXX nohup bash ./run_experiment/run_baselines.sh >/dev/null 2>&1 &

5. How to test your model

You can test your models by adding them to bin directory and bin/__init__.py. Keep the same API we used in other models, and execute your model with script run_baselines.py.

6. Acknowledgement

We sincerely appreciate the benchmark provided by Yura52‘s work1 and work2 for fair comparison and script implementation.

7. How to cite T2G-Former

@inproceedings{yan2023t2g,
  title={{T2G-FORMER:} Organizing Tabular Features into Relation Graphs Promotes Heterogeneous Feature Interaction},
  author={Yan, Jiahuan and Chen, Jintai and Wu, Yixuan and Chen, Danny Z. and Wu, Jian},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  year={2023}
}