SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.05185 · 2025

Concise Reasoning via Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 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; 1 honoured the contract we drafted, 5 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2504.05185.json · badge: /api/ran/2504.05185.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
ai-wand/concise-reasoning canonical (classifier label)
classifier basis not recorded on the link
11 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
choice_answer_clean Ran
ran; our contract draft was wrong, not the code
ai-wand/concise-reasoning/eval/grader.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("809c0178a7ae90ff")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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.

compare_numerical_ans Ran
ran, violated the contract we drafted
ai-wand/concise-reasoning/eval/math_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("81082f28e1440f9d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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_multi_choice_answer Ran
ran; our contract draft was wrong, not the code
ai-wand/concise-reasoning/eval/parser.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("ed2f4689128f9885")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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.

generate_completions Ran
ran; our contract draft was wrong, not the code
ai-wand/concise-reasoning/eval/model_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from fanqiwan/FuseAI, is pointer only (licence: NONE) · get_code("1525d8bc0fc8d5a0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from fanqiwan/FuseAI, and GitHub detected no licence in that repository 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_digit Ran
ran, violated the contract we drafted
ai-wand/concise-reasoning/eval/grader.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("fb37d3c84b18e368")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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_execution_success Ran
ran, violated the contract we drafted
ai-wand/concise-reasoning/eval/trajectory.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("581f3949cfdcffa2")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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_multi_choice Ran
ran, violated the contract we drafted
ai-wand/concise-reasoning/eval/math_eval.py
code served (permissive licence) · get_code("d338a8cb44aeb6b4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def is_multi_choice(answer):
    for c in answer:
        if c not in ['A', 'B', 'C', 'D', 'E']:
            return False
    return True

# Test case 1: Valid multi-choice answer
answer_valid = "ABCDE"

# Test case 2: Invalid multi-choice answer (contains invalid character)
answer_invalid = "ABCF"

ARGS = {
    "answer": answer_valid
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_number Ran
ran, violated the contract we drafted
ai-wand/concise-reasoning/eval/math_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("1c1060f6e43d5dfa")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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.

parse_digits Ran
ran, honoured the contract we drafted
ai-wand/concise-reasoning/eval/grader.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("7d4b7f8c3875b126")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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.

reward_fn Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from miaoyuchun/inform
pointer only; the stored copy get_code serves, from miaoyuchun/inform, is pointer only (licence: NONE) · get_code("18ed61dcfadbbdf0")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

text_to_trajectory Ran
ran; our contract draft was wrong, not the code
ai-wand/concise-reasoning/eval/trajectory.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("7e48538d19cc0d8f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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.

trajectory_to_text Ran
ran; our contract draft was wrong, not the code
ai-wand/concise-reasoning/eval/trajectory.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("0d7ae684ec6c7537")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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_hf_lm_and_tokenizer Not yet run
unverified (harvested, no recorded run)
ai-wand/concise-reasoning/eval/model_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from YangLing0818/SuperCorrect-llm, is pointer only (licence: NONE) · get_code("ee71a94d9dd1b8e9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from YangLing0818/SuperCorrect-llm, and GitHub detected no licence in that repository 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.

my_parse_latex Not yet run
unverified (harvested, no recorded run)
ai-wand/concise-reasoning/eval/math_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from QwenLM/Qwen2.5-Math, is pointer only (licence: NONE) · get_code("73925940858a62b3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from QwenLM/Qwen2.5-Math, and GitHub detected no licence in that repository 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 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 14 are also present in other papers whose code we hold (14 with at least one paper dated earlier, 11 the same month, 14 later) and 0 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
is_digit 18 other papers
6 dated earlier, 1 the same month, 10 later, 1 undated
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06703 (2025-02)
Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
and 15 more not named here
load_hf_lm_and_tokenizer 18 other papers
7 dated earlier, 2 the same month, 9 later
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2408.07471 (2024-08)
Bridging and Modeling Correlations in Pairwise Data for Direct Preference Optimization
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
and 15 more not named here
parse_digits 18 other papers
6 dated earlier, 1 the same month, 10 later, 1 undated
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06703 (2025-02)
Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
and 15 more not named here
generate_completions 17 other papers
6 dated earlier, 2 the same month, 9 later
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2408.07471 (2024-08)
Bridging and Modeling Correlations in Pairwise Data for Direct Preference Optimization
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
and 14 more not named here
choice_answer_clean 15 other papers
5 dated earlier, 1 the same month, 8 later, 1 undated
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06703 (2025-02)
Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
2502.06773 (2025-02)
On the Emergence of Thinking in LLMs I: Searching for the Right Intuition
and 12 more not named here
extract_multi_choice_answer 12 other papers
4 dated earlier, 1 the same month, 6 later, 1 undated
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2408.03314 (2024-08)
Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
and 9 more not named here
is_multi_choice 8 other papers
4 dated earlier, 1 the same month, 3 later
2309.00071 (2023-09)
YaRN: Efficient Context Window Extension of Large Language Models
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06773 (2025-02)
On the Emergence of Thinking in LLMs I: Searching for the Right Intuition
and 5 more not named here
compare_numerical_ans 6 other papers
2 dated earlier, 1 the same month, 3 later
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2504.20571 (2025-04)
Reinforcement Learning for Reasoning in Large Language Models with One Training Example
and 3 more not named here
is_number 6 other papers
2 dated earlier, 1 the same month, 3 later
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2504.20571 (2025-04)
Reinforcement Learning for Reasoning in Large Language Models with One Training Example
and 3 more not named here
my_parse_latex 6 other papers
2 dated earlier, 1 the same month, 3 later
2405.14365 (2024-05)
JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2504.20571 (2025-04)
Reinforcement Learning for Reasoning in Large Language Models with One Training Example
and 3 more not named here
reward_fn 4 other papers
2 dated earlier, 1 the same month, 1 later
2204.05862 (2022-04)
Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback
2503.22828 (2025-03)
Learning to Reason for Long-Form Story Generation
2504.08837 (2025-04)
VL-Rethinker: Incentivizing Self-Reflection of Vision-Language Models with Reinforcement Learning
and 1 more not named here
is_execution_success 3 other papers
2 dated earlier, 1 later
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06773 (2025-02)
On the Emergence of Thinking in LLMs I: Searching for the Right Intuition
2604.11056 (2026-04)
Where Hindsight Credit Can Reside: A Signed-Capacity View of Token Updates in RLVR
text_to_trajectory 3 other papers
2 dated earlier, 1 later
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06773 (2025-02)
On the Emergence of Thinking in LLMs I: Searching for the Right Intuition
2604.11056 (2026-04)
Where Hindsight Credit Can Reside: A Signed-Capacity View of Token Updates in RLVR
trajectory_to_text 3 other papers
2 dated earlier, 1 later
2410.07985 (2024-10)
Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models
2502.06773 (2025-02)
On the Emergence of Thinking in LLMs I: Searching for the Right Intuition
2604.11056 (2026-04)
Where Hindsight Credit Can Reside: A Signed-Capacity View of Token Updates in RLVR

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-24.

Repositories linked to this paper

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

Abstract

A major drawback of reasoning models is their excessive token usage, inflating computational cost, resource demand, and latency. We show this verbosity stems not from deeper reasoning but from reinforcement learning loss minimization when models produce incorrect answers. With unsolvable problems dominating training, this effect compounds into a systematic tendency toward longer outputs. Through theoretical analysis of PPO and GRPO, we prove that incorrect answers inherently drive policies toward verbosity \textit{even when} $γ=1$, reframing response lengthening as an optimization artifact. We further uncover a consistent correlation between conciseness and correctness across reasoning and non-reasoning models. Building on these insights, we propose a two-phase RL procedure where a brief secondary stage, trained on a small set of solvable problems, significantly reduces response length while preserving or improving accuracy. Finally, we show that while GRPO shares properties with PPO, it exhibits collapse modes, limiting its reliability for concise reasoning. Our claims are supported by extensive experiments.

For agents

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

get_harvested_code_for_paper("2504.05185")
get_code_for_paper("2504.05185")
have("2504.05185")

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

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

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

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

Connect an agent — have() is free.