Home

Awesome

FOIL (ICML2024)

This is an offical implementation of FOIL: Time-Series Forecasting for Out-of-Distribution Generalization Using Invariant Learning.

<div align="center"> <img src="https://github.com/AdityaLab/FOIL/blob/main/Framework.png" width="500"> </div>

Requirements

Dependencies can be installed using the following file: newtimelib_environment.yml

Dataset

You can obtain the well pre-processed datasets from [Google Drive] or [Baidu Drive], Then place the downloaded data in the folder./dataset

Try out FOIL

Usecase Run Raw Informer on ILI dataset with Pred_Len=4:

cd Informer-Raw
python ILI-Pred4.py 

Run Informer with FOIL on ILI dataset with Pred_Len=4:

cd Informer+FOIL
python ILI-Pred4-0.py 
python ILI-Pred4-1.py 

Citation

If you find this repo useful, please cite our paper.

@inproceedings{
liu2024timeseries,
title={Time-Series Forecasting for Out-of-Distribution Generalization Using Invariant Learning},
author={haoxin liu and Harshavardhan Kamarthi and Lingkai Kong and Zhiyuan Zhao and Chao Zhang and B. Aditya Prakash},
booktitle={Forty-first International Conference on Machine Learning},
year={2024},
url={https://openreview.net/forum?id=SMUXPVKUBg}
}

Contact

If you have any questions or suggestions, feel free to contact: hliu763@gatech.edu

Acknowledgement

This library is constructed based on the following repos:

https://github.com/zhouhaoyi/Informer2020/

https://github.com/thuml/Time-Series-Library/

https://github.com/ts-kim/RevIN