Task-Agnostic Contrastive Pretraining for Relational Deep Learning

Jakub Peleška, Gustav Šír
6/27/2025
cs.LGcs.DB
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Relational Deep Learning (RDL) is an emerging paradigm that leverages Graph Neural Network principles to learn directly from relational databases by representing them as heterogeneous graphs. However, existing RDL models typically rely on task-specific supervised learning, requiring training separate models for each predictive task, which may hamper scalability and reuse.

Show full abstract

In this work, we propose a novel task-agnostic contrastive pretraining approach for RDL that enables database-wide representation learning. For that aim, we introduce three levels of contrastive objectives$-$row-level, link-level, and context-level$-$designed to capture the structural and semantic heterogeneity inherent to relational data. We implement the respective pretraining approach through a modular RDL architecture and an efficient sampling strategy tailored to the heterogeneous database setting. Our preliminary results on standard RDL benchmarks demonstrate that fine-tuning the pretrained models measurably outperforms training from scratch, validating the promise of the proposed methodology in learning transferable representations for relational data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{peleka2025taskagnostic,
  title  = {Task-Agnostic Contrastive Pretraining for Relational Deep Learning},
  author = {Jakub Peleška and Gustav Šír},
  year   = {2025},
  eprint = {2506.22530},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.22530v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.22530.svg)](https://codeofpaper.com/paper/2506.22530)

Discussion