Papers › Rethinking Data Selection at Scale: Random Selection is Almost All You Need

Rethinking Data Selection at Scale: Random Selection is Almost All You Need

12 Oct 2024arXiv:2410.09335archive 2025-07-28

Tingyu Xia, Bowen Yu, Kai Dang, An Yang, Yuan Wu, Yuan Tian, Yi Chang, Junyang Lin

Supervised fine-tuning (SFT) is crucial for aligning Large Language Models (LLMs) with human instructions. The primary goal during SFT is to select a small yet representative subset of training data from the larger pool, such that fine-tuning with this subset achieves results comparable to or even exceeding those obtained using the entire dataset. However, most existing data selection techniques are designed for small-scale data pools, which fail to meet the demands of real-world SFT scenarios. In this paper, we replicated several self-scoring methods those that do not rely on external model assistance on two million scale datasets, and found that nearly all methods struggled to significantly outperform random selection when dealing with such large-scale data pools. Moreover, our comparisons suggest that, during SFT, diversity in data selection is more critical than simply focusing on high quality data. We also analyzed the limitations of several current approaches, explaining why they perform poorly on large-scale datasets and why they are unsuitable for such contexts. Finally, we found that filtering data by token length offers a stable and efficient method for improving results. This approach, particularly when training on long text data, proves highly beneficial for relatively weaker base models, such as Llama3.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.09335")

Code

Syntology Ran 6 of 10 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 6 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xiatingyu/sft-dataselection-at-scale officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran
4unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xiatingyu/sft-dataselection-at-scale. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

generate_and_tokenize_prompt xiatingyu/sft-dataselection-at-scale/diverse/utils.py official repository ran no licence file found · pointer only · ea8f24a160d0f3ed · report
get_compression_ratio xiatingyu/sft-dataselection-at-scale/zip/ZIP.py official repository ran fingerprinted no licence file found · pointer only · b2b37eed6f3f95fb · report
get_prompter xiatingyu/sft-dataselection-at-scale/diverse/utils.py official repository ran no licence file found · pointer only · a17d368b7f8d0697 · report
load_original_data_pool xiatingyu/sft-dataselection-at-scale/zip/ZIP.py official repository ran no licence file found · pointer only · be0b30b9715eb548 · report
load_sample xiatingyu/sft-dataselection-at-scale/token_length/embedding.py official repository ran no licence file found · pointer only · 265b01725b425d23 · report
tokenize xiatingyu/sft-dataselection-at-scale/diverse/utils.py official repository ran no licence file found · pointer only · e8d1298ca322021e · report
embed_texts_batched xiatingyu/sft-dataselection-at-scale/token_length/embedding.py official repository unverified no licence file found · pointer only · f11bec3a7dcaca3d · report
get_perplexity_and_embedding_part_text xiatingyu/sft-dataselection-at-scale/IFD/cherry_seletion/data_analysis.py official repository unverified no licence file found · pointer only · 48b1bd5978f1385e · report
get_perplexity_and_embedding_whole_text xiatingyu/sft-dataselection-at-scale/IFD/cherry_seletion/data_analysis.py official repository unverified no licence file found · pointer only · bafe0f8c61e7e6a9 · report
selec_data_from_corpus xiatingyu/sft-dataselection-at-scale/zip/ZIP.py official repository unverified no licence file found · pointer only · 86d72ce381c39d49 · report

Tasks

All

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASESFT

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections