Xin Geng, Xu Yang, Shi-Yu Xia, Wenxuan Zhu
3 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2404.16897.json · badge: /api/ran/2404.16897.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.
| Repository | Role | Ran |
|---|---|---|
| AlphaXia/SWS | community Papers with Code archive |
3 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| RepeatedModuleList | Ran ran on a synthesized input · constructed an object; no result was computed |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("64976ec8888722fc") How it ranRan 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 an instance of its own class, RepeatedModuleList: the run constructed the object and did not call it, so no result was computed. 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.
|
| RepeatedModuleList_norm | Ran ran on a synthesized input · constructed an object; no result was computed |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("29a374042377c6d7") How it ranRan 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 an instance of its own class, RepeatedModuleList_norm: the run constructed the object and did not call it, so no result was computed. 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.
|
| SWS_Attention | Ran ran on a synthesized input · constructed an object; no result was computed |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("0d6ecc7d0008b522") How it ranRan 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 an instance of its own class, SWS_Attention: the run constructed the object and did not call it, so no result was computed. 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.
|
| RepeatedLEBlock | Not yet run unverified (harvested, no recorded run) |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("5eabd45424bf9f22") How it ranno invocation recorded. |
| SWS_Block | Not yet run unverified (harvested, no recorded run) |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("18de19c2cb8d3fef") How it ranno invocation recorded. |
| SWS_Mlp | Not yet run unverified (harvested, no recorded run) |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("4c8baad6b19e7abd") How it ranno invocation recorded. |
| VisionTransformer | Not yet run unverified (harvested, no recorded run) |
AlphaXia/SWS/SWS_vit.py code served (permissive licence) · get_code("be0e5172207a25d4") How it ranno invocation recorded. |
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 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 7 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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In practice, we usually need to build variable-sized models adapting for diverse resource constraints in different application scenarios, where weight initialization is an important step prior to training. The Learngene framework, introduced recently, firstly learns one compact part termed as learngene from a large well-trained model, after which learngene is expanded to initialize variable-sized models. In this paper, we start from analysing the importance of guidance for the expansion of well-trained learngene layers, inspiring the design of a simple but highly effective Learngene approach termed SWS (Stage-wise Weight Sharing), where both learngene layers and their learning process critically contribute to providing knowledge and guidance for initializing models at varying scales. Specifically, to learn learngene layers, we build an auxiliary model comprising multiple stages where the layer weights in each stage are shared, after which we train it through distillation. Subsequently, we expand these learngene layers containing stage information at their corresponding stage to initialize models of variable depths. Extensive experiments on ImageNet-1K demonstrate that SWS achieves consistent better performance compared to many models trained from scratch, while reducing around 6.6× total training costs. In some cases, SWS performs better only after 1 epoch tuning. When initializing variable-sized models adapting for different resource constraints, SWS achieves better results while reducing around 20× parameters stored to initialize these models and around 10× pre-training costs, in contrast to the pre-training and fine-tuning approach.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2404.16897")
get_code_for_paper("2404.16897")
have("2404.16897")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2404.16897.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2404.16897)
Connect an agent — have() is free.