Repository for work on Transversal Pooling Neural Networks (TraPNets) by Emily J. King, Dustin Mixon, Michael Perlmutter, and Lander Ver Hoef. Prior versions of this work used the "Group Lipschitz Pooling" or "GLP" name and acronym, but to be more accurate (and avoid an acronym now commonly used outside of mathematics) we are now using TraPNet. However, the acronym GLP is used often within this package and should be viewed as synonymous with TraPNet wherever it occurs.
The glp_rotation_stack followed by a 3D convolution with a glp_rotation_pool custom layer.
This repository is organized into three main folders.
- The
verifying_continuityfolder contains code, scripts, and experimental results relating to verifying that the$\Psi$ and$\Xi$ operators are well-behaved. - Second, the
synthetic_datafolder contains everything necessary to show that the TraPNet performs better than TraPNet on smaller datasets, including synthetic data generation scripts, model definition and training code, and experimental scripts and results. - Finally, the
glp_rifolder contains the relevant code for training the TraPNet and CNN networks on tropical cyclone (TC) rapid intensification (RI) data, as well as the trained model files and results. More data on those data can be found in this paper.
environment.yml contains a listing of all the packages needed for this repo.
Installation was generally performed via pip, and the majority of the work was performed using PyTorch version 2.11.0 with CUDA version 13.3.
Feedback from a ChatGPT review was used to make minor corrections to the validation loops and sampling procedures in the synthetic data section.