ReLaG: A Scalable Framework Generalizing Random Splits to Data with Latent Relations
Anthony Lavertu, Jacob Cote, Sophie Gobeil, Jacques Corbeil, Isabeau Premont-Schwarz, Pascal Germain
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
QuadML: A General-Purpose, Open-Source Executable Machine Learning Framework for Tabular Data
Shared title terminologycs.LGHamed Mirzakhani, Giovanni Baj, Pooya Mohammadi Kazaj et al.
A General Framework for Post-Hoc Predictive Distributions on Fixed Regression Models via Local Error Distributions
Shared title terminologycs.LGBreno Freitas, Youcef Msaid, Tiago A. Almeida
Anchoring Adversarial Trajectories to Data Manifolds: A Bilevel Transfer Optimization Framework
Shared title terminologycs.LGYaohua Liu, Yifan Guo, Jiaxin Gao
Scale-Split Neural Operator for Memory- and Data-Efficient 3D Turbulence Prediction
Shared title terminologycs.LGShaoxiang Qin, Yucheng Zhao, Zongyi Li et al.
World-as-Graph: Relational World Modeling Through Latent Space Graphs
Shared title terminologycs.LGYaqi Yang, Shuo Huang, Yujin Huang et al.
Synthesis Without Training: An Inference-Only Pipeline for Tabular, Temporal, and Relational Synthetic Data
Shared title terminologycs.LGZilong Zhao, Abdul Raheem, Jiayu Li et al.