GILT: An LLM-Free, Tuning-Free Graph Foundational Model for In-Context Learning
Paper • 2510.04567 • Published
GILT is a novel Graph Foundational Model (GFM) that achieves LLM-free and tuning-free in-context learning on graphs. Unlike existing approaches that rely on Large Language Models or require costly per-graph tuning, GILT reframes few-shot graph learning as a token-based reasoning problem, enabling direct inference on new tasks without any parameter updates.
# Create conda environment
conda env create -f env.yml
conda activate gnn
To train GILT from scratch with the default configuration:
python train.py
GILT requires no tuning for new tasks. You can simply provide a few labeled examples at inference time. To evaluate using a pre-trained model:
# Download checkpoint (replace with local path if downloaded manually)
# Multi-task evaluation
python train.py --use_pretrained_model true --load_checkpoint checkpoints/gilt_model.pt
The model performs in-context learning without any parameter updates, directly inferring from few-shot examples.
GILT consists of two main components: