SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.31048 · 2026

Knowledge Distillation from Large Reasoning Models to Compact Student Models: A Case Study on the John O'Bryan Mathematics Competition

Gaurab Baral, Aaditya Khanal, Yangyang Tao, Junxiu Zhou

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 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; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 6 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/2606.31048.json · badge: /api/ran/2606.31048.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
TempGaurab/Distillation.John-O-Bryan canonical (classifier label)
classifier basis: census
9 ran · 6 no recorded run
FunctionStatusWhere it lives
accuracy Ran
ran, honoured the contract we drafted
TempGaurab/Distillation.John-O-Bryan/tatata.py
pointer only (licence: NONE) · get_code("52f7f35d1d4816d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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_deepseek Ran
ran; our contract draft was wrong, not the code
TempGaurab/Distillation.John-O-Bryan/reduce_reasoning.py
pointer only (licence: NONE) · get_code("7eed778e3d54861d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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_boxed Ran
ran; our contract draft was wrong, not the code
TempGaurab/Distillation.John-O-Bryan/rab.py
pointer only (licence: NONE) · get_code("2d4f6ee4beb234ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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_final_answer Ran
ran; our contract draft was wrong, not the code
TempGaurab/Distillation.John-O-Bryan/rab.py
pointer only (licence: NONE) · get_code("e58cca20690182df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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_reasoning_1 Ran
ran; our contract draft was wrong, not the code
TempGaurab/Distillation.John-O-Bryan/reduce_reasoning.py
pointer only (licence: NONE) · get_code("09abfe0bca3658ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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_difficulty_from_deepseek Ran
ran, honoured the contract we drafted
TempGaurab/Distillation.John-O-Bryan/categorize_difficulty.py
pointer only (licence: NONE) · get_code("46f8a5f590b964e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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_level Ran
ran, honoured the contract we drafted
TempGaurab/Distillation.John-O-Bryan/tatata.py
pointer only (licence: NONE) · get_code("40b24cfba62f0cc5")
How it ran

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

reduce_reasoning Ran
ran; our contract draft was wrong, not the code
TempGaurab/Distillation.John-O-Bryan/reduce_reasoning.py
pointer only (licence: NONE) · get_code("5f20153e2525c3b3")
How it ran

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

word_count Ran
ran, honoured the contract we drafted
TempGaurab/Distillation.John-O-Bryan/average_words.py
pointer only (licence: NONE) · get_code("747f4d0d010adab8")
How it ran

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

analyze_level Not yet run
unverified (harvested, no recorded run)
TempGaurab/Distillation.John-O-Bryan/average_words.py
pointer only (licence: NONE) · get_code("62850f5141bbd737")
How it ran

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

call_qwen Not yet run
unverified (harvested, no recorded run)
TempGaurab/Distillation.John-O-Bryan/qwen2.5base.py
pointer only (licence: NONE) · get_code("4a2930a1d4d99e94")
How it ran

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

call_with_retry Not yet run
unverified (harvested, no recorded run)
TempGaurab/Distillation.John-O-Bryan/fine-tune-math-500.py
pointer only (licence: NONE) · get_code("c62c4edd22254bdb")
How it ran

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

call_with_retry Not yet run
unverified (harvested, no recorded run)
TempGaurab/Distillation.John-O-Bryan/qwen2.5base.py
pointer only (licence: NONE) · get_code("8b82a5b6d827bb61")
How it ran

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

call_with_retry Not yet run
unverified (harvested, no recorded run)
TempGaurab/Distillation.John-O-Bryan/rab.py
pointer only (licence: NONE) · get_code("bab09c28bffd6077")
How it ran

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

print_breakdown_table Not yet run
unverified (harvested, no recorded run)
TempGaurab/Distillation.John-O-Bryan/tatata.py
pointer only (licence: NONE) · get_code("88b7820b22f2f23f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TempGaurab/Distillation.John-O-Bryan 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 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 14 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 14 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

This paper investigates knowledge distillation from a large reasoning model (DeepSeek-R1) to a compact student model (Qwen2.5-7B). Using historical problems from the John O'Bryan Mathematics Competition at Northern Kentucky University (2011-2025), we build a Chain-of-Thought (CoT) training corpus through a dual-agent framework. The dataset is used to fine-tune the student model with Low-Rank Adaptation (LoRA) on Apple Silicon hardware using the MLX framework [1]. The base Qwen2.5-7B model achieves 64.67% accuracy on competition problems, while the DeepSeek-R1 teacher achieves 91.40%. An initial 1,000-iteration training run revealed severe overfitting, with validation loss reaching a minimum at iteration 200 before rising steadily. Based on this finding, we ran five independent training runs each limited to 200 iterations with varied random seeds to assess result stability. Across these five runs, the fine-tuned student model achieves a mean accuracy of 69.43% ± 0.17% on the competition dataset, a 4.76 percentage-point improvement over the base model, and generalizes to 73.1% ± 0.18% on the MATH-500 benchmark. We further study how response length affects answer quality across six reasoning levels (R1-R6): accuracy declines consistently from 69.43% at R1 (mean 220 words) to 41.9% at R6 (mean 31.2 words), with the two-person speed section most sensitive to token reduction. These results demonstrate that CoT distillation improves compact student models and that response length is a critical factor in mathematical reasoning quality.

For agents

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

get_harvested_code_for_paper("2606.31048")
get_code_for_paper("2606.31048")
have("2606.31048")

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

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

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

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

Connect an agent — have() is free.