Skip to content
Back to skills

Relbench Eval

ASecurity

Evaluates the ability of graph neural networks to learn from relational databases by predicting entity attributes (classification and regression) and discovering relationships between entities (link prediction) using primary-foreign key graph structures. Use when the user wants to benchmark on RELBENCH, or asks about evaluating this task. Reports AUROC.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongonodegitdatabaseperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill relbench-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Relbench Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Relbench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-relbench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-relbench-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: relbench-eval
description: Evaluates the ability of graph neural networks to learn from relational databases by predicting entity attributes (classification and regression) and discovering relationships between entities (link prediction) using primary-foreign key graph structures. Use when the user wants to benchmark on RELBENCH, or asks about evaluating this task. Reports AUROC.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2407.20060
  bibtex_key: [REDACTED]
  confidence: high
---

# relbench-eval

> RelBench: A Benchmark for Deep Learning on Relational Databases — Robinson et al. (2024) (arXiv:2407.20060, 2024)

## What this evaluates

Evaluates the ability of graph neural networks to learn from relational databases by predicting entity attributes (classification and regression) and discovering relationships between entities (link prediction) using primary-foreign key graph structures.

## Datasets

- **RELBENCH** — total ?; splits: train (-1), val (-1), test (-1); repo https://github.com/snap-stanford/relbench

## Metrics

- `AUROC` **(primary)** — range: [0, 1]
  - Area Under the Receiver Operating Characteristic curve. Computed by varying the classification threshold and plotting the true positive rate against the false positive rate.
- `MAE` — range: other
  - Mean Absolute Error: (1/N) * Σ|y_true - y_pred|.
- `MAP` — range: [0, 1]
  - Mean Average Precision: average of precision values at each rank where a relevant item is retrieved, averaged over all queries.

## Input / output format

**Input**: Relational database tables represented as a heterogeneous graph where entities are nodes and primary-foreign key relationships are edges. Node features include categorical/numerical attributes and text embeddings (GloVe/BERT), along with temporal information relative to a query time.

**Output**: For classification: predicted class probabilities or labels. For regression: predicted continuous values. For link prediction: ranked list of candidate linked entities.

## Scoring recipe

```python
def score(predictions, golds, task_type):
    if task_type == 'classification':
        return roc_auc_score(golds, predictions)
    elif task_type == 'regression':
        return mean_absolute_error(golds, predictions)
    elif task_type == 'link_prediction':
        return mean_average_precision(golds, predictions)
```

## Common pitfalls

- Using randomly permuted edges instead of primary-foreign key relationships severely degrades performance.
- Ignoring temporal information (time embeddings) leads to significant performance drops across tasks.
- Masking node features or text embeddings results in much worse GNN performance compared to using rich features.

## Evidence (verbatim from paper)

> Tables 6, 7 and 8 show mean and standard deviations over 5 runs for the entity classification, entity regression and link prediction results respectively. Table 6: Entity classification results (AUROC mean±std over 5 runs, higher is better) on RELBENCH.

## Citation

```bibtex
@misc{robinson2024relbench,
  title={RelBench: A Benchmark for Deep Learning on Relational Databases},
  author={Robinson et al. (2024)},
  year={2024},
  note={arXiv:2407.20060}
}
```

- arXiv: 2407.20060

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.