This repository contains the implementation and report for the Graph Deep Learning group project on Linear Transformer Topological Masking (TopoMasking), based on the ICLR 2025 paper “Linear Transformer Topological Masking with Graph Random Features”.
To get started, clone this repository locally:
git clone https://github.com/USI-Projects-Collection/GDL_Project.git
cd GDL_ProjectWe use Conda to manage dependencies and ensure reproducibility
conda env create -f environment.yaml
conda activate topo_maskingIf the environment file changes (e.g., someone added new dependencies) see Section 5:
conda env update -f env/environment.yaml --pruneUse a Makefile to build the final PDF.
brew install --cask mactexsudo apt install texlive-fullFrom inside the Template_GDL_Report/ folder:
make # Compiles the LaTeX report
make clean # Removes temporary LaTeX filesWhen adding new dependencies:
-
Install the package in your Conda environment:
conda install nome_pacchetto
-
Add the package manually to the dependencies section of
environment.yaml:dependencies: - pytorch - pyg - numpy - package_you_installed # newly added package
-
Commit and push the updated file so everyone can sync with:
conda env update -f environment.yaml --prune
© 2025 — Università della Svizzera italiana (USI), Master in Artificial Intelligence.
Developed by the Graph Deep Learning project group.