SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.17842 · 2026

SNLP: Layer-Parallel Inference via Structured Newton Corrections

Hao Wang, Ligong Han, Akash Srivastava, Kai Xu

arXiv · PDF · Open in the Atlas

Code that ran

13 of 18 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, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 5 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/2605.17842.json · badge: /api/ran/2605.17842.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
phymhan/nanochat-snlp canonical (classifier label)
classifier basis: census
13 ran · 5 no recorded run
FunctionStatusWhere it lives
compute_init Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/common.py
code served (permissive licence) · get_code("b2bd5fa8c03a6428")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'device_type': 'cpu'
}
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 tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
eval_with_timeout Ran
ran, honoured the contract we drafted
phymhan/nanochat-snlp/nanochat/engine.py
code served (permissive licence) · get_code("92fc8302af99cbbc")
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 int, ndim 0, dtype family int, 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 signal
import warnings

# Analyze the function:
# - eval_with_timeout takes two parameters: formula (string), max_time (int, default=3)
# - formula: a string that will be passed to eval()
# - max_time: an integer representing seconds for timeout
# - The function evaluates the formula in a restricted environment with no builtins
# - It should return the result of evaluating the formula, or None if it times out/errors

# Simple test formula that evaluates successfully
formula = "1 + 2"

# Max time in seconds (reasonable value)
max_time = 3

ARGS = {
    "formula": formula,
    "max_time": max_time,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 int, ndim 0, dtype family int, 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
find_largest_model Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/checkpoint_manager.py
code served (permissive licence) · get_code("9e3da799c83cef94")
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 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 os
import tempfile
import shutil

# Create a temporary directory with checkpoint subdirectories
temp_dir = tempfile.mkdtemp()

# Create some model checkpoint directories with names matching the pattern d<number>
checkpoint_dir_d50 = os.path.join(temp_dir, 'd50')
checkpoint_dir_d30 = os.path.join(temp_dir, 'd30')
checkpoint_dir_d100 = os.path.join(temp_dir, 'd100')

os.makedirs(checkpoint_dir_d50, exist_ok=True)
os.makedirs(checkpoint_dir_d30, exist_ok=True)
os.makedirs(checkpoint_dir_d100, exist_ok=True)

# Create some dummy files in these directories so os.path.isdir works correctly
with open(os.path.join(checkpoint_dir_d50, 'model.pt'), 'w') as f:
    f.write('dummy')
with open(os.path.join(checkpoint_dir_d30, 'model.pt'), 'w') as f:
    f.write('dummy')
with open(os.path.join(checkpoint_dir_d100, 'model.pt'), 'w') as f:
    f.write('dummy')

ARGS = {
    'checkpoints_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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
get_peak_flops Ran
ran, honoured the contract we drafted
phymhan/nanochat-snlp/nanochat/common.py
code served (permissive licence) · get_code("205ad125bcdc5c79")
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 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.

import torch
import logging

logger = logging.getLogger(__name__)

torch.manual_seed(0)

# The function takes a single parameter: device_name (str)
# It performs string operations on it (lower(), checking if patterns are in name)
# and may call torch.xpu.get_device_properties for specific device names
# We'll provide common device name strings that will match entries in the table

ARGS = {
    "device_name": "H100"
}
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 float, 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
has_ve Ran
ran, violated the contract we drafted
phymhan/nanochat-snlp/nanochat/gpt.py
code served (permissive licence) · get_code("5eb5385406dd05c3")
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
import torch.nn as nn

torch.manual_seed(0)

# The function has_ve takes two parameters:
# - layer_idx: an integer representing the current layer index
# - n_layer: an integer representing the total number of layers

# Based on the function body, it performs modulo operations on both parameters
# and compares them for equality. No special objects or models are needed.

# Example with a reasonable configuration:
# Let's use layer_idx=1 and n_layer=4 as a test case
ARGS = {
    "layer_idx": 1,
    "n_layer": 4
}
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
load_checkpoint Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/checkpoint_manager.py
code served (permissive licence) · get_code("1c6b637f7f44ab80")
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 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.

import os
import json
import torch
import tempfile

torch.manual_seed(0)

# Create a temporary directory for checkpoint files
tmpdir = tempfile.mkdtemp()

# Create mock checkpoint files
step = 42
rank = 0

# Create a small model state dict
model_state = {
    'layer1.weight': torch.randn(4, 3),
    'layer1.bias': torch.randn(4),
}
model_path = os.path.join(tmpdir, f'model_{step:06d}.pt')
torch.save(model_state, model_path)

# Create an optimizer state dict
optimizer_state = {
    'state': {0: {'step': 100}},
    'param_groups': [{'lr': 0.001}],
}
optimizer_path = os.path.join(tmpdir, f'optim_{step:06d}_rank{rank:d}.pt')
torch.save(optimizer_state, optimizer_path)

# Create a metadata JSON file
meta_data = {
    'epoch': 5,
    'loss': 0.123,
    'accuracy': 0.95,
}
meta_path = os.path.join(tmpdir, f'meta_{step:06d}.json')
with open(meta_path, 'w', encoding='utf-8') as f:
    json.dump(meta_data, f)

ARGS = {
    'checkpoint_dir': tmpdir,
    'step': step,
    'device': 'cpu',
    'load_optimizer': True,
    'rank': rank,
}
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 tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
norm Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/gpt.py
code served (permissive licence) · get_code("4e63e6195b90a817")
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 Tensor, ndim 2, dtype family float, shape (2, 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.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# The function norm takes a single parameter x
# It calls F.rms_norm(x, (x.size(-1),))
# So x must be a tensor with at least 1 dimension

# Create a small tensor with batch size 2 and feature dimension 4
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
render_prompts_lm Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/core_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from serdardoesml/recursive-lm, is pointer only (licence: NONE) · get_code("6519cb0a9ba0f137")
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 serdardoesml/recursive-lm, 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.

render_prompts_mc Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/core_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from serdardoesml/recursive-lm, is pointer only (licence: NONE) · get_code("038adb078ed905c9")
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 serdardoesml/recursive-lm, 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.

render_prompts_schema Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/core_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from serdardoesml/recursive-lm, is pointer only (licence: NONE) · get_code("d72ac88289f6e9aa")
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 serdardoesml/recursive-lm, 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.

sample_next_token Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
phymhan/nanochat-snlp/nanochat/engine.py
code served (permissive licence) · get_code("3a4ba6fb51f58a00")
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 Tensor, ndim 2, dtype family int, shape (2, 1) 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
import torch.nn.functional as F

torch.manual_seed(0)

# Create logits tensor of shape (B=2, vocab_size=4)
logits = torch.randn(2, 4)

# Create a random number generator
rng = torch.Generator()
rng.manual_seed(42)

# Define arguments dict
ARGS = {
    "logits": logits,
    "rng": rng,
    "temperature": 1.0,
    "top_k": None
}
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 Tensor, ndim 2, dtype family int, shape (2, 1) — shape (2, 1) 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
sinkhorn_log Ran
ran; our contract draft was wrong, not the code
phymhan/nanochat-snlp/nanochat/gpt.py
code served (permissive licence) · get_code("646932e0f69786cd")
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 Tensor, ndim 3, dtype family float, shape (2, 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.

import torch

torch.manual_seed(0)

# Construct logits tensor: batch_size=2, n=4 (doubly stochastic matrix dimension)
logits = torch.randn(2, 4, 4, dtype=torch.float32)

# Define arguments
ARGS = {
    "logits": logits,
    "num_iters": 10,
    "tau": 0.05,
}
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
use_calculator Ran
ran, honoured the contract we drafted
phymhan/nanochat-snlp/nanochat/engine.py
code served (permissive licence) · get_code("421f97f36be56d23")
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 int, ndim 0, dtype family int, 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 signal
import warnings

# Setup for use_calculator function
# The function takes a single parameter: expr (a string expression)

ARGS = {
    'expr': '"hello world".count("l")'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 int, ndim 0, dtype family int, 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
download_file_with_lock Not yet run
unverified (harvested, no recorded run)
phymhan/nanochat-snlp/nanochat/common.py
code served (permissive licence) · get_code("09f5482fc32be226")
How it ran

no invocation recorded.

evaluate_bpb Not yet run
unverified (harvested, no recorded run)
phymhan/nanochat-snlp/nanochat/loss_eval.py
code served (permissive licence) · get_code("1605019d7ca32d10")
How it ran

no invocation recorded.

execute_code Not yet run
unverified (harvested, no recorded run)
phymhan/nanochat-snlp/nanochat/execution.py
code served (permissive licence) · get_code("686a4f93a88bb3d2")
How it ran

no invocation recorded.

flash_attn_func Not yet run
unverified (harvested, no recorded run)
phymhan/nanochat-snlp/nanochat/flash_attention.py
code served (permissive licence) · get_code("cece41e34913bcb8")
How it ran

no invocation recorded.

flash_attn_with_kvcache Not yet run
unverified (harvested, no recorded run)
phymhan/nanochat-snlp/nanochat/flash_attention.py
code served (permissive licence) · get_code("683d5f02142b51c7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 17 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 16 later) and 1 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
render_prompts_lm 3 other papers
1 dated earlier, 2 later
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
2608.26973 (2026-08)
Squeezing More from Limited Data with Recursive Transformers
render_prompts_mc 3 other papers
1 dated earlier, 2 later
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
2608.26973 (2026-08)
Squeezing More from Limited Data with Recursive Transformers
render_prompts_schema 3 other papers
1 dated earlier, 2 later
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
2608.26973 (2026-08)
Squeezing More from Limited Data with Recursive Transformers
norm 2 other papers
1 dated earlier, 1 later
2604.01472 (2026-04)
The Newton-Muon Optimizer
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
compute_init 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
download_file_with_lock 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
eval_with_timeout 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
evaluate_bpb 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
execute_code 1 other paper
1 dated earlier
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
find_largest_model 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
flash_attn_func 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
flash_attn_with_kvcache 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
get_peak_flops 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
has_ve 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
load_checkpoint 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
sample_next_token 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts
use_calculator 1 other paper
1 later
2606.00761 (2026-06)
Confidence-Adaptive SwiGLU for Mixture-of-Experts

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

Autoregressive language models execute Transformer layers sequentially, creating a latency bottleneck that is not removed by conventional tensor or pipeline parallelism. We study whether this layerwise dependency can be relaxed by treating the hidden-state trace across layers as the solution of a nonlinear residual equation and solving it with parallel Newton-style updates. While this view is principled, exact Newton corrections require expensive Jacobian-vector products and naive fixedpoint iterations are unstable on trained Transformers. We introduce Structured Newton Layer Parallelism (SNLP), a training and inference framework that replaces exact layer Jacobians with cheap architecture-induced surrogate dynamics. In residual Transformers, this yields Identity Newton (IDN), where the correction reduces to a prefix-sum-like update; in mHC-style architectures, HC Newton (HCN) uses the model's residual mixing matrix. We also study SNLP-aware training, including pretraining regularization and direct SNLP-forward SFT. Experiments on Nanochatscale Transformers show that SNLP exposes a practical speed-quality frontier: on 0.5B models, it reaches up to 2.58× wall-clock speedup, and a less aggressive configuration reaches 1.40× speedup without increasing PPL. The useful tradeoff comes from the biased finite-iteration computation induced by IDN/HCN rather than exact recovery of the sequential trace. We further show that SNLP-forward SFT can preserve downstream task accuracy, and that SNLP can serve as a drafter for self-speculative decoding while a sequential verifier preserves output correctness. 1 Code is available at https://github.com/phymhan/nanochat-snlp.

For agents

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

get_harvested_code_for_paper("2605.17842")
get_code_for_paper("2605.17842")
have("2605.17842")

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

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

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

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

Connect an agent — have() is free.