SyncAI.news, a Varaisys broadcasting
Splytters: A Python Library for Adversarial Data Splits
SL

Stefan Larson, Kirtan Shah

· 1 min read

ResearcharXiv cs.LG

Splytters: A Python Library for Adversarial Data Splits

arXiv:2611.40376v1 Announce Type: new Abstract: Random train/test splits are the default practice in machine learning and NLP evaluation, yet they tend to place similar examples in both splits, which can overstate generalization. Prior work has proposed non-random splits, including adversarial splits, which typically make the test set harder by making it dissimilar to the training set, but these methods are spread across papers and are rarely reusable across datasets or modalities. We present splytters, an open-source Python library that implements non-random data splitting with a single, embedding-agnostic, scikit-learn-compatible interface. The library provides 31 splitting algorithms for three objectives (adversarial, overlap, and balanced) and sorters that rank examples by difficulty, and it supports text, image, audio, and tabular data. On various text, image, and audio tasks, adversarial splits can yield harder test sets than random splits and can thus be used to test generalizability.

Original source

This story was published by arXiv cs.LG and written by Stefan Larson, Kirtan Shah. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News