SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.15235 · 2024

TAGCOS: Task-agnostic Gradient Clustered Coreset Selection for Instruction Tuning Data

arXiv · PDF · Open in the Atlas

Code that ran

9 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 7 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.15235.json · badge: /api/ran/2407.15235.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
2003pro/tagcos canonical (classifier label)
classifier basis: census
9 ran · 7 no recorded run
FunctionStatusWhere it lives
OrthogonalMP_REG_Parallel Ran
ran; our contract draft was wrong, not the code
2003pro/tagcos/utils/omp.py
pointer only (licence: NONE) · get_code("9156cc2e9bf4b792")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_bbh_dataset Ran
ran; our contract draft was wrong, not the code
2003pro/tagcos/data_selection/get_validation_dataset.py
pointer only (licence: NONE) · get_code("a0e56e68f27c8749")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_max_saved_index Ran
ran, honoured the contract we drafted
2003pro/tagcos/data_selection/collect_grad_reps.py
pointer only (licence: NONE); the stored copy get_code serves, from FanZT6/OptimSyn, is pointer only (licence: NONE) · get_code("ed43dd7816626e87")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_output Ran
ran; our contract draft was wrong, not the code
2003pro/tagcos/data_selection/collect_grad_reps.py
pointer only (licence: NONE); the stored copy get_code serves, from FanZT6/OptimSyn, is pointer only (licence: NONE) · get_code("808c09bce5840bb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_tydiqa_dataset Ran
ran; our contract draft was wrong, not the code
2003pro/tagcos/data_selection/get_validation_dataset.py
pointer only (licence: NONE) · get_code("d892e897cba5c5c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_embedding_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
2003pro/tagcos/utils/omp.py
pointer only (licence: NONE) · get_code("20318f8ce08c207c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_sample Ran
ran; our contract draft was wrong, not the code
2003pro/tagcos/script/split_sharegpt_conversations.py
pointer only (licence: NONE) · get_code("f548a6791aa8e216")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

should_be_filtered Ran
ran, violated the contract we drafted
2003pro/tagcos/utils/reformat_datasets.py
pointer only (licence: NONE) · get_code("08f4816632095bc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tokenize Ran
ran, honoured the contract we drafted
2003pro/tagcos/data_selection/get_validation_dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from FanZT6/OptimSyn, is pointer only (licence: NONE) · get_code("5d4f58c63866080e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

encode_data Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/data_selection/get_training_dataset.py
pointer only (licence: NONE) · get_code("25035506ff07d0a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_data_statistics Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/train/data_arguments.py
pointer only (licence: NONE); the stored copy get_code serves, from FanZT6/OptimSyn, is pointer only (licence: NONE) · get_code("fc5b455108e53a6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_training_dataset Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/data_selection/get_training_dataset.py
pointer only (licence: NONE) · get_code("60e79b646b63ed0d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_raw_dataset Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/data_selection/get_training_dataset.py
pointer only (licence: NONE) · get_code("312258b87e676409")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

none_or_str Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/train/data_arguments.py
pointer only (licence: NONE); the stored copy get_code serves, from FanZT6/OptimSyn, is pointer only (licence: NONE) · get_code("12b6473bde25b1dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

split_all Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/script/split_sharegpt_conversations.py
pointer only (licence: NONE) · get_code("7a3f5964eb76ddf3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

split_one_sample Not yet run
unverified (harvested, no recorded run)
2003pro/tagcos/script/split_sharegpt_conversations.py
pointer only (licence: NONE) · get_code("6e9bdd644dfa7113")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 2003pro/tagcos when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 7 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_max_saved_index 4 other papers
1 dated earlier, 3 later
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
2411.12882 (2024-11)
ProSec: Fortifying Code LLMs with Proactive Security Alignment
2602.08351 (2026-02)
The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs
and 1 more not named here
get_output 4 other papers
1 dated earlier, 3 later
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
2411.12882 (2024-11)
ProSec: Fortifying Code LLMs with Proactive Security Alignment
2602.08351 (2026-02)
The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs
and 1 more not named here
get_data_statistics 3 other papers
1 dated earlier, 2 later
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
2602.08351 (2026-02)
The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs
2604.00536 (2026-04)
Optimsyn: Influence-Guided Rubrics Optimization for Synthetic Data Generation
none_or_str 3 other papers
1 dated earlier, 2 later
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
2602.08351 (2026-02)
The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs
2604.00536 (2026-04)
Optimsyn: Influence-Guided Rubrics Optimization for Synthetic Data Generation
tokenize 3 other papers
1 dated earlier, 2 later
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
2602.08351 (2026-02)
The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs
2604.00536 (2026-04)
Optimsyn: Influence-Guided Rubrics Optimization for Synthetic Data Generation
encode_data 2 other papers
1 dated earlier, 1 later
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
2602.08351 (2026-02)
The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs
should_be_filtered 2 other papers
1 dated earlier, 1 later
2405.14394 (2024-05)
Instruction Tuning With Loss Over Instructions
2410.16208 (2024-10)
Compute-Constrained Data Selection
get_bbh_dataset 1 other paper
1 dated earlier
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
get_training_dataset 1 other paper
1 dated earlier
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning
load_raw_dataset 1 other paper
1 dated earlier
2402.04333 (2024-02)
LESS: Selecting Influential Data for Targeted Instruction Tuning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Instruction tuning has achieved unprecedented success in NLP, turning large language models into versatile chatbots. However, the increasing variety and volume of instruction datasets demand significant computational resources. To address this, it is essential to extract a small and highly informative subset (i.e., Coreset) that achieves comparable performance to the full dataset. Achieving this goal poses non-trivial challenges: 1) data selection requires accurate data representations that reflect the training samples' quality, 2) considering the diverse nature of instruction datasets, and 3) ensuring the efficiency of the coreset selection algorithm for large models. To address these challenges, we propose Task-Agnostic Gradient Clustered COreset Selection (TAGCOS). Specifically, we leverage sample gradients as the data representations, perform clustering to group similar data, and apply an efficient greedy algorithm for coreset selection. Experimental results show that our algorithm, selecting only 5% of the data, surpasses other unsupervised methods and achieves performance close to that of the full dataset.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.15235")
get_code_for_paper("2407.15235")
have("2407.15235")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.15235.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.15235.svg)](https://syntology.ai/paper/2407.15235)

Connect an agent — have() is free.