Create a virtual python environment with e.g. conda:
conda create --name isubgvqa python=3.11Activate the environment
conda activate isubgvqaPlease install PyTorch
pip install torch torchvision torchaudioPlease install PyG
pip install torch_geometricInstall optional packages:
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.2.0+cu121.htmlInstall spacy and download en_core_web_sm
pip install -U pip setuptools wheel
pip install -U spacy
python -m spacy download en_core_web_sm@inproceedings{tilli-vu-2025-discrete,
    title = "Discrete Subgraph Sampling for Interpretable Graph based Visual Question Answering",
    author = "Tilli, Pascal  and Vu, Ngoc Thang",
    booktitle = "Proceedings of the 31st International Conference on Computational Linguistics",
    month = jan,
    year = "2025",
    address = "Abu Dhabi, UAE",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.coling-main.167/",
    pages = "2445--2455"
}
@inproceedings{tilli-vu-2024-intrinsic-subgraph,
    title = "Intrinsic Subgraph Generation for Interpretable Graph Based Visual Question Answering",
    author = "Tilli, Pascal  and Vu, Ngoc Thang",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italy",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.806",
    pages = "9204--9223",
}IMLE 
https://github.com/uclnlp/torch-imle
AIMLE 
https://github.com/EdinburghNLP/torch-adaptive-imle
Gumbel / Simple 
https://github.com/chendiqian/PR-MPNN/

