SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.06834 · 2026

On the Step Length Confounding in LLM Reasoning Data Selection

Jieping Ye, Bing Wang, Jun Zhang, Ximing Li, Xiaosong Yuan, Chen Shen, Shaotian Yan, Sinan Fan, Kaiyuan Liu, Rui Miao

arXiv · PDF · Open in the Atlas

Code that ran

15 of 18 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 14 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2604.06834.json · badge: /api/ran/2604.06834.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
wangbing1416/ASLEC canonical (classifier label)
classifier basis: census
15 ran · 3 no recorded run
FunctionStatusWhere it lives
call_model Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/data_syn_gptoss.py
pointer only (licence: NONE) · get_code("038676f8a60ba539")
How it ran

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

call_model Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/data_syn_qwen3_32b.py
pointer only (licence: NONE) · get_code("73a355b5b67882f5")
How it ran

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

call_model Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/data_syn_qwq_32b.py
pointer only (licence: NONE) · get_code("dd79b2a8e07e5a49")
How it ran

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

clean_gptoss Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/select_sft_data_ours.py
pointer only (licence: NONE) · get_code("aab24cbe461d62bb")
How it ran

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

group_by_field Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/data_syn_gptoss.py
pointer only (licence: NONE) · get_code("03413d65ed523d33")
How it ran

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

group_by_field Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/select_sft_data.py
pointer only (licence: NONE) · get_code("1f4de9002b68a31a")
How it ran

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

is_server_ready Ran
ran, violated the contract we drafted
wangbing1416/ASLEC/gpu_stress.py
pointer only (licence: NONE) · get_code("7341261b8f086da5")
How it ran

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

read_all_jsonl Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/merge_cal_limo_ours.py
pointer only (licence: NONE) · get_code("d70d5f73da46d74a")
How it ran

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

read_all_pkl Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/merge_cal_limo.py
pointer only (licence: NONE) · get_code("cfe5186bd6f748bb")
How it ran

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

read_json Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/batch_verify.py
pointer only (licence: NONE) · get_code("23fc7700a46c9d7a")
How it ran

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

read_jsonl Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/merge_cal_limo.py
pointer only (licence: NONE) · get_code("0a2bd131350902b8")
How it ran

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

read_jsonl Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/select_sft_data.py
pointer only (licence: NONE) · get_code("8de9a2e11d7d03fa")
How it ran

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

read_jsonl Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/select_sft_data_ours.py
pointer only (licence: NONE) · get_code("8fc83dfd8da40551")
How it ran

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

read_one_line_jsonl Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/output_logits.py
pointer only (licence: NONE) · get_code("7a49488afac8c2fc")
How it ran

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

select_by_random Ran
ran; our contract draft was wrong, not the code
wangbing1416/ASLEC/select_sft_data.py
pointer only (licence: NONE) · get_code("6b549bd9d82e335b")
How it ran

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

call_model_sglang Not yet run
unverified (harvested, no recorded run)
wangbing1416/ASLEC/output_logits.py
pointer only (licence: NONE) · get_code("d19d3c85e8d7c99b")
How it ran

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

process_single_file Not yet run
unverified (harvested, no recorded run)
wangbing1416/ASLEC/output_logits.py
pointer only (licence: NONE) · get_code("b341fef56bc6cd98")
How it ran

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

read_all_jsonl Not yet run
unverified (harvested, no recorded run)
wangbing1416/ASLEC/merge_cal_limo.py
pointer only (licence: NONE) · get_code("f041475ed860a1bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wangbing1416/ASLEC 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 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 18 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.

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

Large reasoning models have recently demonstrated strong performance on complex tasks that require long chain-of-thought reasoning, through supervised fine-tuning on large-scale and high-quality datasets. To construct such datasets, existing pipelines generate long reasoning data from more capable Large Language Models (LLMs) and apply manually heuristic or naturalness-based selection methods to filter high-quality samples. Despite the proven effectiveness of naturalness-based data selection, which ranks data by the average log probability assigned by LLMs, our analysis shows that, when applied to LLM reasoning datasets, it systematically prefers samples with longer reasoning steps (i.e., more tokens per step) rather than higher-quality ones, a phenomenon we term step length confounding. Through quantitative analysis, we attribute this phenomenon to low-probability first tokens in reasoning steps; longer steps dilute their influence, thereby inflating the average log probabilities. To address this issue, we propose two variant methods: ASLEC-DROP, which drops first-token probabilities when computing average log probability, and ASLEC-CASL, which applies a causal debiasing regression to remove the first tokens' confounding effect. Experiments across four LLMs and five evaluation benchmarks demonstrate the effectiveness of our approach in mitigating the step length confounding problem.

For agents

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

get_harvested_code_for_paper("2604.06834")
get_code_for_paper("2604.06834")
have("2604.06834")

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

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

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

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

Connect an agent — have() is free.