SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.10110 · 2024

Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-Tuning

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 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/2402.10110.json · badge: /api/ran/2402.10110.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
mingliiii/reflection_tuning canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
dispatch_openai_requests Ran
ran; our contract draft was wrong, not the code
mingliiii/reflection_tuning/reflection_code/reflect_instruction.py
pointer only (licence: NONE) · get_code("5aaf82b7b95d5096")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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.

extract_ins Ran
ran; our contract draft was wrong, not the code
mingliiii/reflection_tuning/reflection_code/reflect_instruction_postprocess.py
pointer only (licence: NONE) · get_code("6c184f2b97205b84")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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.

extract_oup Ran
ran; our contract draft was wrong, not the code
mingliiii/reflection_tuning/reflection_code/reflect_instruction_postprocess.py
pointer only (licence: NONE) · get_code("fd6d362c841cc46b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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.

extract_segments Ran
ran; our contract draft was wrong, not the code
mingliiii/reflection_tuning/reflection_code/reflect_response_postprocess.py
pointer only (licence: NONE) · get_code("33d3bbd8f5723eac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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.

gen_prompt_input Ran
ran; our contract draft was wrong, not the code
mingliiii/reflection_tuning/reflection_code/reflect_response.py
pointer only (licence: NONE) · get_code("9718b8fd167c7bab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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.

gen_prompt_no_input Ran
ran; our contract draft was wrong, not the code
mingliiii/reflection_tuning/reflection_code/reflect_instruction.py
pointer only (licence: NONE); the stored copy get_code serves, from tianyi-lab/reflection_tuning, is pointer only (licence: NONE) · get_code("0acb012db8f3b45d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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_perplexity_and_embedding_part_text Ran
ran, honoured the contract we drafted
mingliiii/reflection_tuning/selection_code/data_analysis.py
pointer only (licence: NONE); the stored copy get_code serves, from tianyi-lab/reflection_tuning, is pointer only (licence: NONE) · get_code("906dab8ee3c01e55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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_perplexity_and_embedding_whole_text Ran
ran, honoured the contract we drafted
mingliiii/reflection_tuning/selection_code/data_analysis.py
pointer only (licence: NONE); the stored copy get_code serves, from tianyi-lab/reflection_tuning, is pointer only (licence: NONE) · get_code("3c94e259a4b7a436")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingliiii/reflection_tuning 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.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 0 later) and 4 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
dispatch_openai_requests 3 other papers
2 dated earlier, 1 same year, order not determinable
2306.13304 (2023-06)
ToolQA: A Dataset for LLM Question Answering with External Tools
2306.15895 (2023-06)
Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias
2024.findings-acl.916 (2024 (year only))
Knowledge-Infused Prompting: Assessing and Advancing Clinical Text Data Generation with Large Language Models
get_perplexity_and_embedding_part_text 2 other papers
1 dated earlier, 1 the same month
2310.11716 (2023-10)
Reflection-Tuning: Data Recycling Improves LLM Instruction-Tuning
2402.00530 (2024-02)
Superfiltering: Weak-to-Strong Data Filtering for Fast Instruction-Tuning
get_perplexity_and_embedding_whole_text 2 other papers
1 dated earlier, 1 the same month
2310.11716 (2023-10)
Reflection-Tuning: Data Recycling Improves LLM Instruction-Tuning
2402.00530 (2024-02)
Superfiltering: Weak-to-Strong Data Filtering for Fast Instruction-Tuning
gen_prompt_no_input 1 other paper
1 dated earlier
2310.11716 (2023-10)
Reflection-Tuning: Data Recycling Improves LLM 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 is critical to large language models (LLMs) for achieving better instruction following and task adaptation capabilities but its success heavily relies on the training data quality. Many recent methods focus on improving the data quality but often overlook the compatibility of the data with the student model being finetuned. This paper introduces Selective Reflection-Tuning, a novel paradigm that synergizes a teacher LLM's reflection and introspection for improving existing data quality with the data selection capability of the student LLM, to automatically refine existing instruction-tuning data. This teacher-student collaboration produces high-quality and student-compatible instruction-response pairs, resulting in sample-efficient instruction tuning and LLMs of superior performance. Selective Reflection-Tuning is a data augmentation and synthesis that generally improves LLM finetuning and self-improvement without collecting brand-new data. We apply our method to Alpaca and WizardLM data and achieve much stronger and top-tier 7B and 13B LLMs.

For agents

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

get_harvested_code_for_paper("2402.10110")
get_code_for_paper("2402.10110")
have("2402.10110")

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

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

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

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

Connect an agent — have() is free.