ReLaG: A Scalable Framework Generalizing Random Splits to Data with Latent Relations
Not on the map. Why?
Abstract (arXiv)
Random splitting can yield non-independent train--test subsets when a dataset contains related samples, as is common in certain applications such as biochemical studies. This leads to overly optimistic generalization estimates. Here, we introduce ReLaG, a modality-agnostic framework that models sample relatedness through a hierarchical latent-variable process and infers groups of related samples using proximity graphs and community detection to produce independent train--test subsets. Across molecular and protein datasets, ReLaG matches existing relation-aware methods while scaling substantially better, enabling splits at previously impractical dataset sizes. We further introduce a label-free procedure that adapts the splitting resolution to production data, aligning evaluation with the intended deployment setting. ReLaG's inferred groups provide a cheap estimate of effective dataset size, enabling diversity-aware dataset scaling. ReLaG is open source and can be installed with pip install relag.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 63 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
11 of 63 references.
References · 11
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
- 2018From Louvain to Leiden: guaranteeing well-connected communitiescited by 385
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 337
- 2021Therapeutics Data Commons: Machine Learning Datasets and Tasks for Drug Discovery and Developmentcited by 264
- 2022PEER: A Comprehensive and Multi-Task Benchmark for Protein Sequence Understandingcited by 77
- 2024Scaffold Splits Overestimate Virtual Screening Performancecited by 7
- 2025Challenging reaction prediction models to generalize to novel chemistrycited by 6
- 2024SpanSeq: Similarity-based sequence data splitting method for improved development and assessment of deep learning projectscited by 5
- 2024Revealing data leakage in protein interaction benchmarkscited by 5
- 2026Beyond the Performance Illusion: Structure-Aware Stratified Partitioning and Curriculum Distributionally Robust Optimization for Spatially Correlated Domainscited by 1
Built on by
Not cited yet.