MCPcopy Index your code
hub / github.com/DAMO-DI-ML/NeurIPS2022-FiLM

github.com/DAMO-DI-ML/NeurIPS2022-FiLM @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
742 symbols 1,880 edges 56 files 122 documented · 16% updated 3y ago★ 33
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FiLM

FiLM: Frequency improved Legendre Memory Model for Long-term Time Series Forecasting https://arxiv.org/abs/2205.08897

In long-term forecasting, FiLM achieves SOTA, with a 19% relative improvement on six benchmarks, covering five practical applications: energy, traffic, economics, weather and disease.

Figure1
Figure 1. Overall structure of FiLM
image image
Figure 2. Frequency Enhanced Layer (FEL) Figure 3. Legendre Projection Unit (LPU)

Main Results

image

Get Started

  1. Install Python 3.9, PyTorch 1.11.0.
  2. Download data. You can obtain all the six benchmarks from Tsinghua Cloud or Google Drive. All the datasets are well pre-processed and can be used easily.
  3. Train the model. We provide the experiment scripts of all benchmarks under the folder ./scripts. You can reproduce the Multivariate/Univariate experiment results by:
bash ./script/ETT_script/FiLM/FiLM_ETTm2.sh
bash ./script/ECL_script/FiLM/FiLM.sh
bash ./script/Exchange_script/FiLM/FiLM.sh
bash ./script/Traffic_script/FiLM/FiLM.sh
bash ./script/Weather_script/FiLM/FiLM.sh
bash ./script/ILI_script/FiLM/FiLM.sh


bash ./script/ETT_script/FiLM/FiLM_ETTm2_S.sh
bash ./script/ECL_script/FiLM/FiLM_S.sh
bash ./script/Exchange_script/FiLM/FiLM_S.sh
bash ./script/Traffic_script/FiLM/FiLM_S.sh
bash ./script/Weather_script/FiLM/FiLM_S.sh
bash ./script/ILI_script/FiLM/FiLM_S.sh

Acknowledgement

We appreciate the following github repos a lot for their valuable code base or datasets:

https://github.com/zhouhaoyi/Informer2020

https://github.com/zhouhaoyi/ETDataset

https://github.com/laiguokun/multivariate-time-series-data

https://github.com/thuml/Autoformer

Core symbols most depended-on inside this repo

Shape

Method 442
Class 171
Function 129

Languages

Python100%

Modules by API surface

models/reformer_pytorch/reformer_pytorch.py66 symbols
layers/mwt.py62 symbols
layers/S4.py45 symbols
models/pyraformer/Layers.py32 symbols
layers/utils.py29 symbols
layers/Autoformer_EncDec.py27 symbols
utils/unroll.py25 symbols
layers/Embed.py24 symbols
data_provider/data_loader_mzq.py24 symbols
data_provider/data_loader.py24 symbols
utils/op.py23 symbols
utils/timefeatures.py22 symbols

For agents

$ claude mcp add NeurIPS2022-FiLM \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page