LOGIN

June 4, 2026 · View on GitHub

Implementation of LOGIN: Large Language Model-Graph Oriented Interaction for Node Classification (WSDM 2025).

Setup

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Place graph data, node prompts, LM embeddings, and LLM outputs under data/ (see data/README.md), or point to an existing tree:

export LOGIN_DATA_ROOT=/path/to/your/assets

Training

Run from the repository root:

python3 -m core.train_lcgnn_with_ucscore dataset cora gnn.model.name GCN gnn.train.feature_type TA seed 0

Common options (YACS opts):

OptionDefaultDescription
datasetcoraDataset name
gnn.model.nameGCNGNN backbone
gnn.train.feature_typeTANode features (ogb, TA, llm, …)
gnn.train.pl_rate0.1Fraction of train nodes for LLM pseudo-labels
gnn.train.dropout0.6Dropout (MC ensemble uses fixed ratio)
llm.namevicunaLLM for consultation
seedrandomRandom seed

Layout

LOGIN/
├── core/                 # training code
│   ├── train_lcgnn_with_ucscore.py
│   ├── pipelines/
│   ├── GNNs/
│   ├── LLMs/
│   └── data_utils/
├── data/                 # assets (not shipped; see data/README.md)
└── requirements.txt

Citation

@inproceedings{qiao2025login,
  title={Login: A large language model consulted graph neural network training framework},
  author={Qiao, Yiran and Ao, Xiang and Liu, Yang and Xu, Jiarong and Sun, Xiaoqian and He, Qing},
  booktitle={Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining},
  pages={232--241},
  year={2025}
}