Views
No views yet
RGCNConv)Controlled experiment: identical data, seed, and hyperparameters
Only the GNN operator changes
| Model | Type | Params | User AUC | User F1 | User AP | Role AUC | Role F1 | Role AP |
|---|---|---|---|---|---|---|---|---|
| RGCN | ⭐ PRIMARY | 8,515,599 | 0.5 | 0.0 | 0.5 | 0.5 | 0.0 | 0.5 |
| GCN | Baseline | 5,219,855 | 0.5 | 0.0 | 0.5 | 0.5 | 0.0 | 0.5 |
| GAT | Baseline | 5,320,207 | 0.5 | 0.0 | 0.5 | 0.5 | 0.0 | 0.5 |
| SAGE | Baseline | 5,383,695 | 0.5 | 0.0 | 0.5 | 0.5 | 0.0 | 0.5 |
| Property | Value |
|---|---|
| MAX_FDIM | 1024 |
| Hidden Dim | 256 |
| Output Dim | 128 |
| Relations | 20 |
| Layers | 3 |
| Adapter Rank | 16 |
1import torch
2from huggingface_hub import hf_hub_download
3
4ckpt = torch.load(
5 hf_hub_download(
6 repo_id="adarsh-aur/stage6-rgcn-security",
7 filename="model_RGCN.pt"
8 )
9)
10
11model = HeteroRGCN()
12model.load_state_dict(ckpt['model_state_dict'])
13model.eval()
14
15with torch.no_grad():
16 h_v, offsets, logits = model(graph_snapshot)
17
18# h_v: [total_nodes, 128]
19# → Feed into Stage 7 (GRU / temporal model)This stage establishes the structural backbone of the pipeline:
A flexible, relation-aware GNN that can scale to real-world cloud security graphs.