Skip to content

Latest commit

Β 

History

History
87 lines (59 loc) Β· 2.16 KB

File metadata and controls

87 lines (59 loc) Β· 2.16 KB

🐸 FROG: Full-Resolution and Optimizable Graph Structure Learning Framework for RDL

Official implementation of the paper:

[ICML 2026] Is Fixing Schema Graphs Necessary? Full-Resolution Graph Structure Learning for Relational Deep Learning


πŸ“– Overview

FROG is a Full-Resolution and Optimizable Graph Structure Learning Framework for Relational Deep Learning (RDL).

Instead of relying on fixed schema graphs, FROG enables full-resolution graph structure learning and jointly optimizes relational graph construction with downstream GNN training.


πŸš€ Installation

FROG uses the same environment as RelBench.

Install dependencies with:

pip install relbench[full]

⚑ Quick Start

1. Entity Classification / Regression

Run entity classification or regression tasks:

python -u gnn_entity.py \
    --dataset {DATASET} \
    --task {TASK} \
    --load_para

2. Entity Recommendation

Run recommendation tasks:

python -u gnn_recommendation.py \
    --dataset {DATASET} \
    --task {TASK} \
    --load_para

πŸ“‚ Project Structure

FROG/
β”œβ”€β”€ log/                           # Training logs
β”‚   └── rel-comp.py               # Statistical analysis of Table-as-Node/Edge behaviors
β”œβ”€β”€ exp_model.py                  # REG structure + GNN optimization framework
β”œβ”€β”€ gnn_entity.py                 # Entity classification & regression training
β”œβ”€β”€ gnn_recommendation.py         # Entity recommendation training
β”œβ”€β”€ graph.py                      # Graph construction utilities
β”œβ”€β”€ hop_mode.py                   # Co-occurrence & completion implementation
β”œβ”€β”€ load_train_args.py            # Hyperparameter configuration
β”œβ”€β”€ model.py                      # Core FROG model
β”œβ”€β”€ text_embedder.py              # Text embedding module
β”œβ”€β”€ utils.py                      # Utility functions
└── README.md

πŸ§ͺ Supported Tasks

  • Entity Classification
  • Entity Regression
  • Entity Recommendation

πŸ”— Resources