Andrew Wilson, Sanae Lotfi, Andres Potapczynski, Yilun Kuang, Shikai Qiu, Noah Amsel, Bilinear Btt, Bilinear Mlr
10 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 4 no recorded run), measured 2026-11-24; 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/2509.07963.json · badge: /api/ran/2509.07963.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 |
|---|---|---|
| YilunKuang/structured-attention | canonical (classifier label) classifier basis: census |
10 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| basic_plot | Ran ran; our contract draft was wrong, not the code |
YilunKuang/structured-attention/in_context_regression/plot_utils.py code served (permissive licence) · get_code("e472ab225b88777b") 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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| build_model | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
YilunKuang/structured-attention/in_context_regression/models.py code served (permissive licence) · get_code("d9639c68861b1f12") 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 TransformerModel. 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.
|
| build_model_full_args | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
YilunKuang/structured-attention/in_context_regression/models.py code served (permissive licence) · get_code("e4331e222bcd1532") 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 TransformerModel. 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.
|
| compute_muP_lr | Ran ran, honoured the contract we drafted |
YilunKuang/structured-attention/src/muP.py code served (permissive licence) · get_code("9de527edc2e83a42") 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 float, 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.
|
| eval_step | Ran ran; our contract draft was wrong, not the code |
YilunKuang/structured-attention/train_ICL.py code served (permissive licence) · get_code("53782f15c39fa389") 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 tuple. 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.
|
| get_data_sampler | Ran ran; our contract draft was wrong, not the code |
YilunKuang/structured-attention/in_context_regression/samplers.py code served (permissive licence) · get_code("bbce67230d64cc0f") 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 GaussianSampler. 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.
|
| get_final_var | Ran ran, honoured the contract we drafted |
YilunKuang/structured-attention/in_context_regression/curriculum.py code served (permissive licence) · get_code("3c24ac252fef0868") 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 float, 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.
|
| get_lr_mult | Ran ran, honoured the contract we drafted |
YilunKuang/structured-attention/src/lr_schedule.py code served (permissive licence) · get_code("ffa291b28a675c06") 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 float, 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.
|
| sample_transformation | Ran ran; our contract draft was wrong, not the code |
YilunKuang/structured-attention/in_context_regression/samplers.py code served (permissive licence) · get_code("7f92ad21604fa243") 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 Tensor, ndim 2, dtype family float, shape (4, 4) 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.
|
| train_step | Ran ran; our contract draft was wrong, not the code |
YilunKuang/structured-attention/train_ICL.py code served (permissive licence) · get_code("6d19d7bf19c36fb9") 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 tuple. 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.
|
| btt_flop_count | Not yet run unverified (harvested, no recorded run) |
YilunKuang/structured-attention/src/utils.py code served (permissive licence) · get_code("26f5e4a132d63531") How it ranno invocation recorded. |
| generate_out_dir | Not yet run unverified (harvested, no recorded run) |
YilunKuang/structured-attention/src/utils.py code served (permissive licence) · get_code("2f7cc0b6631e5caa") How it ranno invocation recorded. |
| muPify | Not yet run unverified (harvested, no recorded run) |
YilunKuang/structured-attention/src/muP.py code served (permissive licence) · get_code("02d9b1c54bc79169") How it ranno invocation recorded. |
| sample_seeds | Not yet run unverified (harvested, no recorded run) |
YilunKuang/structured-attention/train_ICL.py code served (permissive licence) · get_code("4d49c710f74c99c4") How it ranno invocation recorded. |
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, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| get_final_var | 8 other papers 8 dated earlier |
2306.04891 (2023-06) In-Context Learning through the Bayesian Prism |
2310.17086 (2023-10) Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regression 2402.03170 (2024-02) Is Mamba Capable of In-Context Learning? and 5 more not named here |
| sample_transformation | 3 other papers 3 dated earlier |
2402.03170 (2024-02) Is Mamba Capable of In-Context Learning? |
2402.04248 (2024-02) Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks 2404.18191 (2024-04) Published at ICLR 2024 Workshop on Reliable and Responsible Foundation Models EXPLORING THE ROBUSTNESS OF IN-CONTEXT LEARNING WITH NOISY LABELS |
| sample_seeds | 2 other papers 2 dated earlier |
2310.17086 (2023-10) Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regression |
2402.04248 (2024-02) Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks |
| basic_plot | 1 other paper 1 dated earlier |
2404.18191 (2024-04) Published at ICLR 2024 Workshop on Reliable and Responsible Foundation Models EXPLORING THE ROBUSTNESS OF IN-CONTEXT LEARNING WITH NOISY LABELS |
|
| build_model | 1 other paper 1 dated earlier |
2404.18191 (2024-04) Published at ICLR 2024 Workshop on Reliable and Responsible Foundation Models EXPLORING THE ROBUSTNESS OF IN-CONTEXT LEARNING WITH NOISY LABELS |
|
| get_data_sampler | 1 other paper 1 dated earlier |
2404.18191 (2024-04) Published at ICLR 2024 Workshop on Reliable and Responsible Foundation Models EXPLORING THE ROBUSTNESS OF IN-CONTEXT LEARNING WITH NOISY LABELS |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
The core component of attention is the scoring function, which transforms the inputs into lowdimensional queries and keys and takes the dot product of each pair. While the low-dimensional projection improves efficiency, it causes information loss for certain tasks that have intrinsically high-dimensional inputs. Additionally, attention uses the same scoring function for all input pairs, without imposing a distance-dependent compute bias for neighboring tokens in the sequence. In this work, we address these shortcomings by proposing new scoring functions based on computationally efficient structured matrices with high ranks, including Block Tensor-Train (BTT) and contiguous Multi-Level Low Rank (MLR) matrices. On in-context regression tasks with high-dimensional inputs, our proposed scoring functions outperform standard attention for any fixed compute budget. On language modeling, a task that exhibits locality patterns, our MLRbased attention method achieves improved scaling laws compared to both standard attention and variants of sliding window attention. Additionally, we show that both BTT and MLR fall under a broader family of efficient structured matrices capable of encoding either full-rank or distance-dependent compute biases, thereby addressing significant shortcomings of standard attention. Finally, we show that MLR attention has promising results for long-range time-series forecasting.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2509.07963")
get_code_for_paper("2509.07963")
have("2509.07963")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2509.07963.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2509.07963)
Connect an agent — have() is free.