SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.12143 · 2025

Small Models Struggle to Learn from Strong Reasoners

arXiv · PDF · Open in the Atlas

Code that ran

2 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 6 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/2502.12143.json · badge: /api/ran/2502.12143.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
Small-Model-Gap/Small-Model-Learnability-Gap community (classifier label)
classifier basis not recorded on the link
2 ran · 6 no recorded run
FunctionStatusWhere it lives
get_custom_gradient_checkpointing_func Ran
ran on a synthesized input
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/model_utils/checkpointing.py
code served (permissive licence) · get_code("30c7c5d6b0c5a0b1")
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 function. The image it ran in was not recorded. If your copy returns the same type 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
import torch.nn as nn
from functools import wraps, WRAPPER_ASSIGNMENTS

torch.manual_seed(0)

# Create a simple module with trainable parameters
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create a mock gradient checkpointing function
def mock_gradient_checkpointing_func(func, *args, **kwargs):
    """Mock implementation of a gradient checkpointing function."""
    return func(*args, **kwargs)

# Create test inputs
module = SimpleModule()
test_tensor = torch.randn(2, 4, requires_grad=False)

# Bind the forward method to the module so func.__self__ works
bound_func = module.forward

ARGS = {
    'gradient_checkpointing_func': mock_gradient_checkpointing_func
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
hash_args Ran
ran; our contract draft was wrong, not the code
Small-Model-Gap/Small-Model-Learnability-Gap/lm-evaluation-harness/lm_eval/api/model.py
code served (permissive licence) · get_code("20a7cc804eb22661")
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) and returned str. The image it ran in was not recorded. If your copy returns the same type 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 hashlib
import json

# Construct valid arguments for hash_args function
# The function takes attr (attribute name) and args (tuple/list of arguments)
# and creates a JSON string to hash

attr = "test_attribute"
args = ("value1", 42, [1, 2, 3], {"key": "value"})

ARGS = {
    "attr": attr,
    "args": args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
apply_liger_kernel_to_qwen2_5_vl Not yet run
unverified (harvested, no recorded run)
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/model_utils/liger_kernel.py
code served (permissive licence) · get_code("f39c1ddb182ba813")
How it ran

no invocation recorded.

llama_attention_forward Not yet run
unverified (harvested, no recorded run)
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/model_utils/longlora.py
code served (permissive licence) · get_code("a3a4aba09f5afb8b")
How it ran

no invocation recorded.

llama_flash_attention_2_forward Not yet run
unverified (harvested, no recorded run)
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/model_utils/longlora.py
code served (permissive licence) · get_code("638d2764440f23dc")
How it ran

no invocation recorded.

llama_sdpa_attention_forward Not yet run
unverified (harvested, no recorded run)
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/model_utils/longlora.py
code served (permissive licence) · get_code("897cfc7be8a5bfd1")
How it ran

no invocation recorded.

load_config Not yet run
unverified (harvested, no recorded run)
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/loader.py
code served (permissive licence) · get_code("03670fe07fee5b3f")
How it ran

no invocation recorded.

patch_valuehead_model Not yet run
unverified (harvested, no recorded run)
Small-Model-Gap/Small-Model-Learnability-Gap/LLaMA-Factory/src/llamafactory/model/patcher.py
code served (permissive licence) · get_code("9dcc10d9409f0809")
How it ran

no invocation 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, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 5 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
hash_args 44 other papers
27 dated earlier, 2 the same month, 12 later, 2 same year, order not determinable, 1 undated
2005.14165 (2020-05)
Language Models are Few-Shot Learners
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 41 more not named here
load_config 1 other paper
1 same year, order not determinable
2025.findings-emnlp.582 (2025 (year only))
KaeDe: Progressive Generation of Logical Forms via Knowledge-Aware Question Decomposition for Improved KBQA
patch_valuehead_model 1 other paper
1 same year, order not determinable
2025.findings-emnlp.582 (2025 (year only))
KaeDe: Progressive Generation of Logical Forms via Knowledge-Aware Question Decomposition for Improved KBQA

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 language models (LLMs) excel in complex reasoning tasks, and distilling their reasoning capabilities into smaller models has shown promise. However, we uncover an interesting phenomenon, which we term the Small Model Learnability Gap: small models ($\leq$3B parameters) do not consistently benefit from long chain-of-thought (CoT) reasoning or distillation from larger models. Instead, they perform better when fine-tuned on shorter, simpler reasoning chains that better align with their intrinsic learning capacity. To address this, we propose Mix Distillation, a simple yet effective strategy that balances reasoning complexity by combining long and short CoT examples or reasoning from both larger and smaller models. Our experiments demonstrate that Mix Distillation significantly improves small model reasoning performance compared to training on either data alone. These findings highlight the limitations of direct strong model distillation and underscore the importance of adapting reasoning complexity for effective reasoning capability transfer.

For agents

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

get_harvested_code_for_paper("2502.12143")
get_code_for_paper("2502.12143")
have("2502.12143")

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

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

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

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

Connect an agent — have() is free.