AI & Computational Science

RelPrism: Multi-Faceted Self-Supervised Learning on Relational Databases

How the science connects

Representation lea…Self-supervised le…Relational databases

AI Insight

RelPrism is a novel self-supervised learning framework designed for relational databases that learns representations from multiple perspectives (intrinsic attributes, relational structures, and hybrid features) at different granularity levels. The framework constructs pseudo-task pools through multi-granularity clustering on these diverse attribute perspectives, enabling pre-trained models to better adapt to downstream tasks. Experiments across 14 tasks on 5 real-world datasets demonstrate that RelPrism improves classification performance by 4.15% in ROC-AUC and reduces regression error by 10.75% in MAE compared to existing methods.


This work addresses a critical challenge in machine learning applications for relational databases, which remain the dominant data storage system in industry. By providing a more comprehensive pre-training approach, RelPrism could improve predictive tasks in business applications such as customer churn prediction, recommendation systems, and value estimation, potentially reducing the need for extensive labeled data.


Understand the Science

Representation learning Concept coming soon Self-supervised learning Concept coming soon Relational databases Concept coming soon

⚠️ Preprint – Noch nicht peer-reviewed

Dieser Artikel wurde noch nicht von unabhängigen Experten begutachtet. Die Ergebnisse sind vorläufig und sollten mit Vorsicht interpretiert werden.

Abstract: Relational databases (RDBs) remain the backbone of modern data systems and support a broad spectrum of predictive tasks that require multi-faceted information from different perspectives and granularities. For example, user churn prediction is often formulated as a binary classification task that relies more on user interaction patterns reflecting activity levels, whereas consumption value estimation is a fine-grained regression task that may require composite evidence from both user attributes and user–item interaction behaviors. Therefore, a central challenge is to learn representations with comprehensive coverage of the information underlying RDB tasks. A natural solution is to leverage self-supervised learning (SSL) for pre-training. However, existing SSL methods typically derive supervision from a single facet, such as node-level intrinsic attributes or subgraph-level relational structures. Consequently, their pre-training objectives provide limited support for adaptation. To this end, we propose RelPrism, a multi-faceted self-supervised learning framework for RDBs. Concretely, RelPrism first constructs intrinsic, relational, and hybrid attributes from distinct perspectives. It then applies multi-granularity clustering to each attribute perspective to form corresponding pseudo-task pools. Pre-training over these task pools exposes representations to comprehensive attribute perspectives and granularity levels, providing a stronger basis for downstream adaptation. Extensive experiments on 14 tasks across 5 real-world datasets show that RelPrism improves ROC-AUC by 4.15% on classification tasks and reduces MAE by 10.75% on regression tasks over state-of-the-art baselines. Our code is available at https://github.com/BUPT-GAMMA/RelPrism.

Source: RelPrism: Multi-Faceted Self-Supervised Learning on Relational Databases